Zoltan Varga [Thu, 12 Dec 2013 21:49:54 +0000 (13:49 -0800)]
Merge pull request #836 from madewokherd/buildfixes
various build fixes
Miguel de Icaza [Thu, 12 Dec 2013 17:31:57 +0000 (12:31 -0500)]
Update 2012 changes to sgen license
Marek Safar [Thu, 12 Dec 2013 10:32:00 +0000 (11:32 +0100)]
[corlib] Mark ConcurrentDictionary serializable. Fixes #16730
Marek Safar [Thu, 12 Dec 2013 07:44:27 +0000 (23:44 -0800)]
Merge pull request #834 from OttoG/master
Stub implementation of EndGetRequestStream overload in HttpWebRequest.cs
Vincent Povirk [Wed, 11 Dec 2013 23:23:26 +0000 (17:23 -0600)]
Add HAVE_DECL_INTERLOCKED* symbols to winconfig.h.
This commit licensed as MIT/X11.
Vincent Povirk [Wed, 11 Dec 2013 23:23:01 +0000 (17:23 -0600)]
Update file listinigs in msvc projects.
Vincent Povirk [Wed, 11 Dec 2013 23:22:23 +0000 (17:22 -0600)]
Include config.h in mono-tls.c.
This commit licensed as MIT/X11.
Vincent Povirk [Wed, 11 Dec 2013 23:21:26 +0000 (17:21 -0600)]
Check for InterlockedDecrement64 in configure.
We already have code looking for the corresponding symbol.
This commit licensed as MIT/X11.
Rodrigo Kumpera [Wed, 11 Dec 2013 22:13:56 +0000 (17:13 -0500)]
[bcl] When finalizing a Process object, don't touch the streams as they are finalized on their own. Fixes #10883.
OttoG [Wed, 11 Dec 2013 21:03:18 +0000 (22:03 +0100)]
Changed compiler directive according to documentation
EndGetRequestStream with TransportContext parameter was introduced in .NET 3.5. Also added "using" statement for System.Net (namespace for TransportContext).
Marek Safar [Wed, 11 Dec 2013 19:02:05 +0000 (20:02 +0100)]
[system] Make TransportContext 3.5 api
Marek Safar [Wed, 11 Dec 2013 16:51:16 +0000 (17:51 +0100)]
[mcs] Clone labeled statements cache in probing mode. Fixes #16376
Zoltan Varga [Wed, 11 Dec 2013 18:20:14 +0000 (19:20 +0100)]
Make a test work in the presence of llvm optimizations.
Zoltan Varga [Wed, 11 Dec 2013 18:19:53 +0000 (19:19 +0100)]
[jit] Fix a problem in the liveness pass, where the variable which was only used in the first instruction of the first bblock was incorrectly marked as dead.
Rodrigo Kumpera [Wed, 11 Dec 2013 16:15:17 +0000 (11:15 -0500)]
[jit]Reenable int/long/double -> float rounding tests.
Rodrigo Kumpera [Wed, 11 Dec 2013 16:14:44 +0000 (11:14 -0500)]
[jit]Emit explicit float rounding on amd64. Fixes #15987
Rodrigo Kumpera [Wed, 11 Dec 2013 16:13:14 +0000 (11:13 -0500)]
[arch]Add cvtsi2ss to amd64 codegen.
OttoG [Wed, 11 Dec 2013 11:35:57 +0000 (12:35 +0100)]
Stub implementation of EndGetRequestStream overload in HttpWebRequest.cs
I am not sure if a "do-nothing" implementation like this is acceptable in the Mono code base, but it does solve the problem described in https://bugzilla.xamarin.com/show_bug.cgi?id=12875 (successfully executing simple requests using the Google API .NET client library).
Sebastien Pouliot [Wed, 11 Dec 2013 02:48:00 +0000 (21:48 -0500)]
[tests] Fix some corlib unit tests to run successfully on iOS
Martin Baulig [Wed, 11 Dec 2013 00:56:00 +0000 (01:56 +0100)]
[corlib]: Add stubs for the remaining `System.Runtime.InteropServices.WindowsRuntime' APIs.
Martin Baulig [Tue, 10 Dec 2013 23:59:19 +0000 (00:59 +0100)]
[PCL]: Add new 'System.Runtime.InteropServices.WindowsRuntime' Facade Assembly.
FIXME: This is only a stub, the only type currently present is
`System.Runtime.InteropServices.WindowsRuntime.EventRegistrationToken',
which is only a stub.
Martin Baulig [Tue, 10 Dec 2013 23:52:32 +0000 (00:52 +0100)]
[corlib]: Add 'System.Runtime.InteropServices.WindowsRuntime.EventRegistrationToken' stub.
Martin Baulig [Tue, 10 Dec 2013 23:36:52 +0000 (00:36 +0100)]
[PCL]: Add "System.Dynamic.Runtime.dll" Facade Assembly to MonoTouch.
Added the type-forwarder for `ConditionalWeakTable<T,V>', put all the
others inside a `!FULL_AOT_RUNTIME' conditional, then enabled this in
the MonoTouch build.
Rodrigo Kumpera [Tue, 10 Dec 2013 20:10:35 +0000 (15:10 -0500)]
[jit] Use mini_type_get_underlying in a few missing places in the jit.
Rodrigo Kumpera [Tue, 10 Dec 2013 16:41:56 +0000 (11:41 -0500)]
[jit] Use mini_type_get_underlying in a few missing places in the jit.
Rodrigo Kumpera [Tue, 10 Dec 2013 01:09:25 +0000 (20:09 -0500)]
[jit] Use mini_type_get_underlying type in a few missing places in the x86 port.
Rodrigo Kumpera [Tue, 10 Dec 2013 00:39:21 +0000 (19:39 -0500)]
[jit] Use mini_type_get_underlying type in a few missing places int the amd64 port.
Zoltan Varga [Tue, 10 Dec 2013 17:33:41 +0000 (18:33 +0100)]
[jit] Disable the optimized lmf push/pop code even if the arch specific code enables if it is not supported.
Mark Probst [Tue, 10 Dec 2013 17:19:02 +0000 (18:19 +0100)]
[sgen] Explain a FIXME.
Mark Probst [Tue, 10 Dec 2013 17:18:35 +0000 (18:18 +0100)]
[sgen] Our bzero()/memmove() must store “volatile”, lest LLVM screw us.
Mark Probst [Thu, 5 Dec 2013 11:50:28 +0000 (12:50 +0100)]
[sgen] Reverse the free-list after sweeping to be in address-order.
Mark Probst [Thu, 5 Dec 2013 11:49:41 +0000 (12:49 +0100)]
[sgen] Only enqueue LOS objects if they contain references.
Marek Safar [Tue, 10 Dec 2013 10:11:02 +0000 (11:11 +0100)]
[mcs] Update populated member cache of dynamic containers manually for additional entries. Fixes #16659
Zoltan Varga [Tue, 10 Dec 2013 02:35:36 +0000 (03:35 +0100)]
[jit] Implement the delegate ctor optimization in AOT mode too.
Alex Rønne Petersen [Mon, 9 Dec 2013 23:02:27 +0000 (15:02 -0800)]
Merge pull request #831 from madewokherd/win64-warnings
fix various warnings in win64 exception code
Vincent Povirk [Mon, 9 Dec 2013 21:53:35 +0000 (15:53 -0600)]
Fix MonoW32ExceptionHandler type on win64.
This commit licensed as MIT/X11.
Vincent Povirk [Mon, 9 Dec 2013 21:52:59 +0000 (15:52 -0600)]
Move a variable declaration to the start of a block.
This commit licensed as MIT/X11.
Vincent Povirk [Mon, 9 Dec 2013 21:52:36 +0000 (15:52 -0600)]
Mark some functions as static.
This commit licensed as MIT/X11.
Vincent Povirk [Mon, 9 Dec 2013 21:51:28 +0000 (15:51 -0600)]
Adjust type of mono_win_vectored_exception_handle to match its use.
This commit licensed as MIT/X11.
Zoltan Varga [Mon, 9 Dec 2013 18:56:26 +0000 (19:56 +0100)]
[corlib] Disable a test which causes a wapi_unref_full () warning.
Marek Safar [Mon, 9 Dec 2013 18:12:34 +0000 (19:12 +0100)]
[corlib] Update current LogicalCallContext from empty context
Marek Safar [Mon, 9 Dec 2013 13:37:47 +0000 (14:37 +0100)]
[mcs] Show correct #line location for files in other than current location referenced as relative files. Fixes #16576
Marek Safar [Mon, 9 Dec 2013 13:16:42 +0000 (14:16 +0100)]
[system] Redirect of put requests was converted to get. Fixes #16670
Atsushi Eno [Mon, 9 Dec 2013 03:32:21 +0000 (19:32 -0800)]
Merge pull request #830 from akoeplinger/fix-net40-build
Fix NET_4_0 tests build by correcting accessibility of properties/classes...
Marek Safar [Sun, 8 Dec 2013 20:24:32 +0000 (21:24 +0100)]
[corlib] Ignore awaited default synchronization context.
Alexander Köplinger [Sun, 8 Dec 2013 16:46:16 +0000 (17:46 +0100)]
Fix NET_4_0 tests build by correcting accessibility of properties/classes
that should be public according to MSDN, but were internal:
http://msdn.microsoft.com/en-us/library/microsoft.build.evaluation.project.targets(v=vs.100).aspx
http://msdn.microsoft.com/en-us/library/microsoft.build.execution.projectinstance.targets(v=vs.100).aspx
http://msdn.microsoft.com/en-us/library/microsoft.build.execution.projecttargetinstance(v=vs.100).aspx
Marek Safar [Sun, 8 Dec 2013 09:40:08 +0000 (10:40 +0100)]
[corlib] Not continue on awaited source context should also ignore user task schedulers
Marek Safar [Sun, 8 Dec 2013 08:17:53 +0000 (09:17 +0100)]
[corlib] Keep original cancellation exception from awaited task
Marek Safar [Sun, 8 Dec 2013 07:42:23 +0000 (08:42 +0100)]
Add new test
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.