Marek Safar [Sun, 8 Dec 2013 09:39:27 +0000 (01:39 -0800)]
Merge pull request #817 from desdesdes/master
[Bug 14664] LogicalSet/GetData implementation in CallContext
Marek Safar [Sat, 7 Dec 2013 18:51:02 +0000 (19:51 +0100)]
[corlib] Block configurable task awaiter until task completes.
Marek Safar [Sat, 7 Dec 2013 17:58:37 +0000 (18:58 +0100)]
[corlib] Better handling of awaiter continuation on finished task
Marek Safar [Sat, 7 Dec 2013 14:40:52 +0000 (15:40 +0100)]
[corlib] Add check for launching cancelled task to all overloads
Rodrigo Kumpera [Fri, 6 Dec 2013 20:23:02 +0000 (15:23 -0500)]
[sgen]Fix a deadlock when the GC try to free a JI during world restart. Fixes #15759
This is deadlock prone as the GC lock is a leaf lock while the domain
lock required to free a JI is not.
There are plenty of places where we alloc memory while holding the
domain lock, so we cannot do it the other way.
Zoltan Varga [Fri, 6 Dec 2013 18:39:53 +0000 (19:39 +0100)]
[bcl] Invoke assembly resolve hooks even if the assembly name has a parse error. Fixes #16487.
Marek Safar [Fri, 6 Dec 2013 18:30:48 +0000 (19:30 +0100)]
[corlib] Optimize one string Join<T> overload. Fixes #16647
Rodrigo Kumpera [Fri, 6 Dec 2013 16:13:29 +0000 (11:13 -0500)]
[bcl] Handle BigInt -> long conversions that should overflow but dont. Fixes #16526
Rodrigo Kumpera [Fri, 6 Dec 2013 15:38:52 +0000 (07:38 -0800)]
Merge pull request #828 from mateusz-holenko/master
Fix build.
Marek Safar [Fri, 6 Dec 2013 15:32:48 +0000 (16:32 +0100)]
[System.Net.Http] Don't throw on invalid input in TryGetValues. Fixes #16634
Marek Safar [Fri, 6 Dec 2013 14:44:56 +0000 (15:44 +0100)]
[mcs] Don't stop type inference when a unique construction of the generic interface cannot be found. Fixes #16567
Mateusz Hołenko [Fri, 6 Dec 2013 15:18:44 +0000 (16:18 +0100)]
Fix build.
Zoltan Varga [Fri, 6 Dec 2013 14:20:04 +0000 (15:20 +0100)]
[aot] Avoid emitting two debug_line sections when using the GAS .file and .loc directives.
Marek Safar [Fri, 6 Dec 2013 13:33:31 +0000 (14:33 +0100)]
[mcs] Add better type conversion to unary mutators. Fixes #16578
Marek Safar [Fri, 6 Dec 2013 08:50:21 +0000 (09:50 +0100)]
Bump mscorlib version for monolite to work correctly
Marek Safar [Fri, 6 Dec 2013 08:40:26 +0000 (09:40 +0100)]
Marek Safar [Fri, 6 Dec 2013 08:39:30 +0000 (09:39 +0100)]
Improve test failure check
Zoltan Varga [Fri, 6 Dec 2013 02:50:33 +0000 (03:50 +0100)]
Fix the arm build with xcode 5.1.
Atsushi Eno [Fri, 6 Dec 2013 01:11:23 +0000 (10:11 +0900)]
Fix build.
Sebastien Pouliot [Thu, 5 Dec 2013 22:52:53 +0000 (17:52 -0500)]
[Test] Fix build of System.Core unit tests
Jonathan Pryor [Thu, 5 Dec 2013 20:39:05 +0000 (15:39 -0500)]
[Mono.Options] Improve error message for badly bundled args.
mono(1) supports a "joined" verbose flag, `mono -v-v-v-v`, which
Mono.Options doesn't support. Attempting to use it, however, resulted
in a "weird" error message:
$ csharp -r:Mono.Options.dll
csharp> using Mono.Options;
csharp> var p = new OptionSet { { "v", v => {} } };
csharp> p.Parse (new[]{"-v-v-v"});
Mono.Options.OptionException: Cannot bundle unregistered option '--'.
...
This looks very weird to users because they never used a "--" option,
and if they had then `--` would have disabled further option
processing (as documented and implemented in OptionSet.Parse()).
Confusion all around.
Improve the error message so that it instead generates:
Mono.Options.OptionException: Cannot use unregistered option '-' in bundle '-v-v-v'.
That way the user gets the full context of where this "unregistered
option" came from.
Miguel de Icaza [Thu, 5 Dec 2013 19:43:53 +0000 (14:43 -0500)]
Comment style; Wrap at 100
Miguel de Icaza [Thu, 5 Dec 2013 19:42:48 +0000 (14:42 -0500)]
Comment style
Sebastien Pouliot [Thu, 5 Dec 2013 19:35:34 +0000 (14:35 -0500)]
[Test] Ignore a test case if executed on the main thread
Rodrigo Kumpera [Thu, 5 Dec 2013 16:50:46 +0000 (11:50 -0500)]
[lock-tracer]Update the decoder to handle the current runtime and OSX.
Rodrigo Kumpera [Thu, 5 Dec 2013 16:46:55 +0000 (11:46 -0500)]
[lock-tracer]Workaround ASLR on OSX by recording offsets to the main binary base address.
Rodrigo Kumpera [Wed, 4 Dec 2013 23:56:25 +0000 (18:56 -0500)]
[runtime]Fix deregister_reflection_info_roots_from_list to avoid full type resolution during unload.
Rodrigo Kumpera [Wed, 4 Dec 2013 19:38:26 +0000 (14:38 -0500)]
[runtime]Add the marshal lock to the lock tracer.
Rodrigo Kumpera [Wed, 4 Dec 2013 19:21:48 +0000 (14:21 -0500)]
[runtime]Replace the loader lock with the marshal lock in mono_marshal_load_type_info.
In order to make this possible, we now construct the marshal information without holding
any locks and then double-check on publication.
Rodrigo Kumpera [Wed, 4 Dec 2013 17:34:36 +0000 (12:34 -0500)]
[runtime] Don't hold the loader lock when calling mono_mb_create_method.
mono_mb_create_method no longer requires the loader lock. All use sites
replace the loader lock with simpler locks.
Those new locks cannot be held while we're building the methods themselves
as that piece of code does type resolution - thus taking the loader lock.
Rodrigo Kumpera [Wed, 27 Nov 2013 00:32:34 +0000 (19:32 -0500)]
[runtime] The assembly bindings are now protected by a separate lock instead of the loader lock.
Rodrigo Kumpera [Wed, 27 Nov 2013 00:06:30 +0000 (19:06 -0500)]
[runtime] Change deregister_reflection_info_roots to not take the loader lock.
We should not need the loader lock here as this only deals with dynamic images
that belong to the current domain that is been shutdown.
To ensure this is the case, added an assert to mono_image_append_class_to_reflection_info_set.
Rodrigo Kumpera [Tue, 26 Nov 2013 23:28:14 +0000 (18:28 -0500)]
[runtime] Cleanup usage of reflection_info_unregister_classes. Move it under the image lock and use image memory.
Rodrigo Kumpera [Tue, 26 Nov 2013 21:51:31 +0000 (16:51 -0500)]
[runtime] mono_metadata_clean_for_image no longer needs to return a free list of classes.
Rodrigo Kumpera [Tue, 26 Nov 2013 21:19:58 +0000 (16:19 -0500)]
[runtime] Protect mono_create_icall_signature with the corlib image lock.
Rodrigo Kumpera [Tue, 26 Nov 2013 20:40:46 +0000 (15:40 -0500)]
[runtime] Protect MonoImage::generic_def_objects with the image lock and not the loader lock.
Rodrigo Kumpera [Tue, 26 Nov 2013 20:10:44 +0000 (15:10 -0500)]
[runtime] Introduce the icall lock to be used when looking up icall related information.
Rodrigo Kumpera [Tue, 26 Nov 2013 19:51:53 +0000 (14:51 -0500)]
[runtime] Ensure mono_class_setup_supertypes is atomic and drop the loader lock around it.
Marek Safar [Thu, 5 Dec 2013 19:09:11 +0000 (11:09 -0800)]
Merge pull request #827 from Blewzman/master
Support IReadOnlyList in System.Linq.Enumerable.ElementAt and ElementAtOrDefault
Marek Safar [Thu, 5 Dec 2013 19:04:38 +0000 (20:04 +0100)]
[mcs] Convert dotted paths to full path
Blewzman [Thu, 5 Dec 2013 18:49:04 +0000 (19:49 +0100)]
Small coding style fixes.
Blewzman [Thu, 5 Dec 2013 18:35:35 +0000 (19:35 +0100)]
Support IReadOnlyList in System.Linq.Enumerable.ElementAt and ElementAtOrDefault - with additional unit tests.
Marek Safar [Thu, 5 Dec 2013 12:05:23 +0000 (13:05 +0100)]
[sle] Implement DynamicExpressionVisitor.
Marek Safar [Thu, 5 Dec 2013 10:58:06 +0000 (11:58 +0100)]
Bump ikvm-reflection
Atsushi Eno [Thu, 5 Dec 2013 09:08:29 +0000 (18:08 +0900)]
In ConsoleLogger, add workaround for bogus use of EventSource senders in MS.Build.Engine.
See comments for details.
Marek Safar [Thu, 5 Dec 2013 08:45:26 +0000 (09:45 +0100)]
[corlib] Implement task awaiters running on custom task scheduler. Fixes #16587
Alex Rønne Petersen [Wed, 4 Dec 2013 23:27:51 +0000 (00:27 +0100)]
Fix monograph to build under various --disable-boehm/--disable-libraries configurations.
Zoltan Varga [Wed, 4 Dec 2013 23:13:05 +0000 (00:13 +0100)]
Fix the pp64 build.
Zoltan Varga [Wed, 4 Dec 2013 22:07:40 +0000 (23:07 +0100)]
Fix the windows build.
Alex Rønne Petersen [Wed, 4 Dec 2013 19:54:50 +0000 (20:54 +0100)]
Also use __builtin_extract_return_addr in these files.
Alex Rønne Petersen [Wed, 4 Dec 2013 19:48:44 +0000 (20:48 +0100)]
Apply __builtin_extract_return_addr to the result of __builtin_return_address.
Alex Rønne Petersen [Wed, 4 Dec 2013 19:41:49 +0000 (20:41 +0100)]
Fix some warnings in mini-arm.c.
Martin Baulig [Wed, 4 Dec 2013 19:32:48 +0000 (20:32 +0100)]
[xbuild]: Fix the tests.
'TestMessageLogger.Count' should not be used in tests to check for the
number of logged messages because it would also includes diagnostic messages.
Extra diagnostic messages should not be considered an error condition; in
fact, we have too few diagnostic messages, not too many.
Use 'TestMessageLogger.NormalMessageCount' and 'TestMessageLogger.WarningMessageCount'
instead.
Alex Rønne Petersen [Wed, 4 Dec 2013 16:31:47 +0000 (17:31 +0100)]
Fix some pointer/integer size issues in unwind.c on 32-bit systems.
Alex Rønne Petersen [Wed, 4 Dec 2013 16:26:08 +0000 (17:26 +0100)]
Add a dummy assignment to shut GCC up.
Alex Rønne Petersen [Wed, 4 Dec 2013 15:57:42 +0000 (16:57 +0100)]
Fix some warnings caused by always_inline functions not being marked inline.
Marek Safar [Wed, 4 Dec 2013 15:46:00 +0000 (16:46 +0100)]
[corlib] Better conversion betwen system locale and CultureInfo. Fixes #15875
Alex Rønne Petersen [Wed, 4 Dec 2013 14:27:54 +0000 (15:27 +0100)]
Fix some warnings in mini-amd64.c.
Alex Rønne Petersen [Wed, 4 Dec 2013 14:19:31 +0000 (15:19 +0100)]
Fix a couple of warnings in mini-exceptions.c.
Alex Rønne Petersen [Wed, 4 Dec 2013 14:19:18 +0000 (15:19 +0100)]
Fix more PPC warnings.
Alex Rønne Petersen [Wed, 4 Dec 2013 14:08:30 +0000 (15:08 +0100)]
Fix a warning on PPC.
Zoltan Varga [Wed, 4 Dec 2013 12:18:44 +0000 (04:18 -0800)]
Merge pull request #824 from hanswolff/patch-1
Fixed missing pointer conversion tests in sizes.c
Alex Rønne Petersen [Wed, 4 Dec 2013 11:56:44 +0000 (12:56 +0100)]
Unbreak libgc.
Marek Safar [Wed, 4 Dec 2013 11:17:27 +0000 (12:17 +0100)]
[corlib] CreateSpecificCulture without exception retry
Alex Rønne Petersen [Wed, 4 Dec 2013 10:37:33 +0000 (11:37 +0100)]
Remove some more mdb bits.
Marek Safar [Wed, 4 Dec 2013 09:46:10 +0000 (10:46 +0100)]
[corlib] Update CurrentRegion to work with DefaultThreadCurrentCulture
Mark Probst [Wed, 4 Dec 2013 09:32:26 +0000 (10:32 +0100)]
[sgen] Link unit test programs with all libs.
Should fix the build for monodroid.
Hans Wolff [Wed, 4 Dec 2013 09:09:11 +0000 (10:09 +0100)]
Fixed missing pointer conversion tests in sizes.c
Unsigned pointer conversion was not tested at all (looks like a copy & paste mistake)
Martin Baulig [Wed, 4 Dec 2013 00:42:10 +0000 (01:42 +0100)]
[xbuild]: Check a <Target>'s "Returns" first, then fall-back to "Outputs".
This fixes a problem with the "Microsoft.Bcl.Build" NuGet package, which
overrides the "GetTargetPath" target in a custom .targets file and uses
"Returns" instead of "Outputs".
Martin Baulig [Tue, 3 Dec 2013 22:35:28 +0000 (23:35 +0100)]
[xbuild]: Provide diagnostic logging of all executed targets.
Martin Baulig [Tue, 3 Dec 2013 19:49:31 +0000 (20:49 +0100)]
[xbuild]: Allow expressions inside a dynamic <ItemGroup>'s metadata.
Fixes #14661.
Zoltan Varga [Tue, 3 Dec 2013 19:06:27 +0000 (20:06 +0100)]
Fix the build.
Alex Rønne Petersen [Tue, 3 Dec 2013 18:40:37 +0000 (19:40 +0100)]
[sdb] Support a setpgid=y/n option to --debugger-agent.
Mark Probst [Tue, 3 Dec 2013 18:16:28 +0000 (19:16 +0100)]
[sgen] Never invoke libc’s memmove() or bzero().
Those two functions are not guaranteed to do word-atomic copying or
zeroing under any circumstances. memmove() on OSX, for instance,
has an SSE optimized variant that, if source and destination are 8-byte,
but not 16-byte aligned, will copy the first 8 bytes byte-wise, which can
crash SGen.
Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=16449.
Marek Safar [Tue, 3 Dec 2013 18:19:38 +0000 (19:19 +0100)]
[mcs] Report nice error instead of crash for cyclic type forwarders. Fixes #16385
Marek Safar [Tue, 3 Dec 2013 17:36:47 +0000 (18:36 +0100)]
[mcs] Report all failure errors in lambda conversions. Fixes #16513
Marek Safar [Tue, 3 Dec 2013 16:53:31 +0000 (17:53 +0100)]
[corlib] Replace manual array resize with Resize call
Atsushi Eno [Tue, 3 Dec 2013 16:37:38 +0000 (01:37 +0900)]
Fix android-specific build (use of unassigned variable).
Alex Rønne Petersen [Tue, 3 Dec 2013 12:37:27 +0000 (13:37 +0100)]
Sanitize the kqueue check in configure.in.
Mark Probst [Tue, 3 Dec 2013 10:24:04 +0000 (02:24 -0800)]
[sgen] Fix build on Linux.
Alex Rønne Petersen [Tue, 3 Dec 2013 09:04:58 +0000 (10:04 +0100)]
Merge branch 'armhf' of github.com:alexrp/mono
Atsushi Eno [Tue, 3 Dec 2013 07:55:47 +0000 (16:55 +0900)]
Remove private sln/csproj files.
Atsushi Eno [Mon, 2 Dec 2013 19:55:17 +0000 (04:55 +0900)]
update .csproj.
Atsushi Eno [Mon, 2 Dec 2013 19:55:03 +0000 (04:55 +0900)]
Add missing exception types.
Atsushi Eno [Mon, 2 Dec 2013 19:54:31 +0000 (04:54 +0900)]
ProjectCollection.DefaultToolsVersion is settable.
Atsushi Eno [Mon, 2 Dec 2013 10:05:12 +0000 (19:05 +0900)]
Some parser error message got source string for Condition evaluation.
Atsushi Eno [Mon, 2 Dec 2013 10:04:20 +0000 (19:04 +0900)]
Target items related fixes - give diagnostic outputs for initial items. Evaluate item condition.
Atsushi Eno [Fri, 29 Nov 2013 15:44:57 +0000 (00:44 +0900)]
Fix some default properties: OutputType has default to Exe. AssemblyName defaults to the project file name, not RootNamespace.
Atsushi Eno [Fri, 29 Nov 2013 14:41:09 +0000 (23:41 +0900)]
Enable parallel build test, with successful command, now that ConsoleLogger is now parallel ready.
Atsushi Eno [Fri, 29 Nov 2013 14:40:46 +0000 (23:40 +0900)]
ConsoleLogger is now parallel build ready.
Atsushi Eno [Fri, 29 Nov 2013 11:02:09 +0000 (20:02 +0900)]
Fixed Task output item string result creator and fixed test expectation.
Item output task parameters don't show up on TargetResult Items. Instead
those items can be retrieved via ProjectInstance after builds.
Atsushi Eno [Fri, 29 Nov 2013 09:55:54 +0000 (18:55 +0900)]
Empty items could still slipped in when converting string to array.
ResolveAssemblyReferences was hit with empty SearchPaths because of this.
Atsushi Eno [Fri, 29 Nov 2013 08:42:25 +0000 (17:42 +0900)]
Make sure to raise matching TaskFinished event.
Atsushi Eno [Fri, 29 Nov 2013 07:55:12 +0000 (16:55 +0900)]
While converting string to array, trim each element before converting.
ResolveAssemblyReferences should work now.
Atsushi Eno [Fri, 29 Nov 2013 07:08:24 +0000 (16:08 +0900)]
implement "skip target due to previous success" feature.
Atsushi Eno [Fri, 29 Nov 2013 06:37:59 +0000 (15:37 +0900)]
Improve item evaluation whitespace handling.
Atsushi Eno [Fri, 29 Nov 2013 06:37:40 +0000 (15:37 +0900)]
disable parallel build test because it is ConsoleLogger which does not work fine.
Atsushi Eno [Fri, 29 Nov 2013 06:14:29 +0000 (15:14 +0900)]
ProjectTaskOutputPropertyInstance was not appropriately created.
Atsushi Eno [Thu, 28 Nov 2013 16:00:52 +0000 (01:00 +0900)]
Make sure to use BuildNodeManager in any build run, and corrected error handling to somewhat better state.
Also, now EndBuild() won't finish until all callbacks are done.
Atsushi Eno [Thu, 28 Nov 2013 10:51:37 +0000 (19:51 +0900)]
LoadProject() should add the loaded project to the collection.