Miguel de Icaza [Thu, 23 Jul 2015 21:45:35 +0000 (16:45 -0500)]
Merge pull request #1937 from lewurm/master
mono: Use the relocated directory for finding support libraries in data/config
Bernhard Urban [Thu, 23 Jul 2015 21:32:24 +0000 (14:32 -0700)]
mono: Use the relocated directory for finding support libraries in data/config
Marek Safar [Thu, 23 Jul 2015 13:57:01 +0000 (15:57 +0200)]
Bump reference sources
Marek Safar [Thu, 23 Jul 2015 13:04:58 +0000 (15:04 +0200)]
[corlib] ToUpper/ToLower have different rules for invariant culture. Fixes #31900.
Updated missing unicode to-upper/to-lower mappings and move all code to managed.
Zoltan Varga [Thu, 23 Jul 2015 00:28:13 +0000 (20:28 -0400)]
[gsharedvt] Set exception_message when disabling LLVM.
Zoltan Varga [Thu, 23 Jul 2015 00:27:17 +0000 (20:27 -0400)]
[arm] Enable support for a few more calling conventions for LLVM.
Zoltan Varga [Wed, 22 Jul 2015 20:56:49 +0000 (16:56 -0400)]
Merge pull request #1935 from alexanderkyte/xdebug-refix
[runtime] Disable functions that call functions which require the bin writer if the bin writer is disabled.
Alexander Kyte [Wed, 22 Jul 2015 20:54:42 +0000 (16:54 -0400)]
[runtime] Disable functions that call functions which require the bin writer if the bin writer is disabled.
Marek Safar [Wed, 22 Jul 2015 08:36:07 +0000 (10:36 +0200)]
[xbuild] Add 14.0 toolsets path
Marek Safar [Wed, 22 Jul 2015 08:34:08 +0000 (10:34 +0200)]
[System.Configuration] Update default profile and remove old profiles files
Marek Safar [Wed, 22 Jul 2015 08:31:34 +0000 (10:31 +0200)]
[System.Data] Fixes make dist
Marek Safar [Wed, 22 Jul 2015 08:20:49 +0000 (10:20 +0200)]
[System.Web.Extensions] Update default profile and remove old profiles files
Marek Safar [Wed, 22 Jul 2015 08:06:50 +0000 (10:06 +0200)]
[System.Web] Update encoded profile name
Marek Safar [Wed, 22 Jul 2015 07:45:38 +0000 (09:45 +0200)]
[System.Web.DynamicData] Update default profile and remove old profiles
Marek Safar [Wed, 22 Jul 2015 07:01:39 +0000 (09:01 +0200)]
[System.Xaml] Update default profile and remove old profiles
Marek Safar [Wed, 22 Jul 2015 06:55:21 +0000 (08:55 +0200)]
[build] Use DEFAULT_PROFILE from configure to avoid problems with RUNTIME redefinition
Marek Safar [Wed, 22 Jul 2015 05:58:25 +0000 (07:58 +0200)]
[xbuild] Update tests default profile
Zoltan Varga [Wed, 22 Jul 2015 00:47:31 +0000 (20:47 -0400)]
[arm64] Add a test for passing HFA arguments on the stack.
Marek Habersack [Tue, 21 Jul 2015 22:12:57 +0000 (00:12 +0200)]
[tests] Android 4.4.4 doesn't have signal(2)
Marek Habersack [Tue, 21 Jul 2015 22:12:24 +0000 (00:12 +0200)]
[tests] Fix path used by the test so that it works on Android 4.4.4
Marek Habersack [Tue, 21 Jul 2015 21:38:42 +0000 (23:38 +0200)]
[tests] Disable on Android, getpwnam_r doesn't exist there
Marek Habersack [Tue, 21 Jul 2015 21:37:38 +0000 (23:37 +0200)]
[tests] Don't assume CWD is writable
Use temporary path instead. CWD is / on Android and is not writable
Marek Habersack [Tue, 21 Jul 2015 21:37:08 +0000 (23:37 +0200)]
[tests] Nunit syntax helpers don't exist in Xamarin.Android
Zoltan Varga [Tue, 21 Jul 2015 22:11:31 +0000 (18:11 -0400)]
[llvm] Fix a problem introduced by
4a685f44c8dec120ad71efa873c9255b062fccc9, the size of the return type was computed incorrectly.
Rodrigo Kumpera [Tue, 21 Jul 2015 21:51:25 +0000 (17:51 -0400)]
[profiler] Correct the profiler format.
Rodrigo Kumpera [Tue, 21 Jul 2015 21:37:41 +0000 (17:37 -0400)]
[profiler] Use version 11 for the 4.2 profiler changes plus fix docs on format.
Rodrigo Kumpera [Tue, 21 Jul 2015 20:38:35 +0000 (16:38 -0400)]
Merge pull request #1926 from alexrp/profiler-improvements
More profiler improvements
Zoltan Varga [Tue, 21 Jul 2015 19:59:04 +0000 (15:59 -0400)]
[runtime] Avoid including mcs/build/config.make into mini/Makefile.am, it can overwrite all kinds of make variables. Pass DEFAULT_PROFILE normally as an autoconf variable.
Rodrigo Kumpera [Tue, 21 Jul 2015 19:49:58 +0000 (15:49 -0400)]
Merge pull request #1933 from alexrp/master
[runtime] Remove lock in context_adjust_static_data ().
Zoltan Varga [Tue, 21 Jul 2015 01:12:04 +0000 (21:12 -0400)]
[runtime] Rename mono_arch_find_jit_info () -> mono_arch_unwind_frame ().
João Matos [Tue, 21 Jul 2015 17:15:46 +0000 (18:15 +0100)]
[aot] Rewrite the options parser to properly handle arguments.
Basically our previous behaviour was just splitting strings by "," which did not behave as expected when passing strings.
Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=31996.
Marek Safar [Tue, 21 Jul 2015 16:10:16 +0000 (18:10 +0200)]
[xbuild] Adjust tests profile path
Ludovic Henry [Tue, 21 Jul 2015 15:17:07 +0000 (12:17 -0300)]
[runtime] Make sure EPOLLONESHOT is defined
Marek Safar [Tue, 21 Jul 2015 14:44:31 +0000 (16:44 +0200)]
[System.Web] Update InternalsVisibleTo to active test profiles only
Marek Safar [Tue, 21 Jul 2015 14:14:29 +0000 (16:14 +0200)]
[System.Data] Rename default profile config file
Marek Safar [Tue, 21 Jul 2015 11:12:29 +0000 (13:12 +0200)]
[corlib] Use better names for predefined encodings. Fixes #32137
Marek Habersack [Tue, 21 Jul 2015 09:14:21 +0000 (11:14 +0200)]
[test] Fix test on Android
On Android application runs with its CWD set to / and so the path
test modified in this commit expects to find a path of the //one form
which is not what the combine operation returns.
Marek Habersack [Tue, 21 Jul 2015 09:09:35 +0000 (11:09 +0200)]
[tests] Disable some tests on Android due to missing APIs
bionic doesn't have the following entries:
setgrent
getgrnam_r
setpwent
API 21 in the NDK conditionally declares some of those but they are absent
from either libc.so or libc.a.
Marek Safar [Tue, 21 Jul 2015 09:10:38 +0000 (11:10 +0200)]
[mcs] Set builder for partial method definition attributes. Fixes #31948
Alex Rønne Petersen [Tue, 21 Jul 2015 03:55:05 +0000 (05:55 +0200)]
[runtime] Remove lock in context_adjust_static_data ().
The threads lock is already held when this function is called. Document this
fact and remove the harmless (but pointless) recursive locking.
Zoltan Varga [Tue, 21 Jul 2015 00:55:27 +0000 (20:55 -0400)]
[jit] Remove usage of MonoGenericSharingContext from most of the JIT.
Zoltan Varga [Tue, 21 Jul 2015 00:30:26 +0000 (20:30 -0400)]
Fix the build.
Rodrigo Kumpera [Mon, 20 Jul 2015 22:42:10 +0000 (18:42 -0400)]
[lock-tracer] Small improvements to the decoder.
Rodrigo Kumpera [Mon, 20 Jul 2015 22:39:00 +0000 (18:39 -0400)]
[mini] Fix locking order violation in mono_get_seq_points.
mono_get_seq_points takes the domain lock then calls mini_get_shared_method.
mini_get_shared_method then calls into general metadata code that eventually take
the loader lock.
The loader lock has precedence over the domain lock.
Rodrigo Kumpera [Mon, 20 Jul 2015 22:37:06 +0000 (18:37 -0400)]
[build] Rename RUNTIME variable to avoid clash with make.config's version
Starting with
62c86e2243ef677ce060515dc584599fd559a3f4 mono/mini/Makefile now includes mcs/build/config.make.
Both files define RUNTIME, but with different values. The mini one requires the usage of MONO_PATH while the one in
mcs don't.
To fix that we rename the mini var to MINI_RUNTIME.
Rodrigo Kumpera [Mon, 20 Jul 2015 21:16:14 +0000 (17:16 -0400)]
[runtime] Fix locking in mono_image_file_for_image.
Zoltan Varga [Mon, 20 Jul 2015 22:48:55 +0000 (18:48 -0400)]
Fix the build.
Zoltan Varga [Mon, 20 Jul 2015 22:25:26 +0000 (18:25 -0400)]
[jit] Remove the usage of MonoGenericSharingContext from the back-ends, its no longer needed.
Zoltan Varga [Mon, 20 Jul 2015 21:55:28 +0000 (17:55 -0400)]
[jit] Remove mini_replace_type (), use mini_get_underlying_type () instead.
Zoltan Varga [Mon, 20 Jul 2015 21:50:00 +0000 (17:50 -0400)]
[jit] Remove the MonoGenericContext/MonoCompile arguments from the various mini_type_is/mini_is_gsharedvt etc. functions, the types are now self-describing, i.e. its possible to determine whenever they are gshared, gsharedvt, etc. without consulting a MonoGenericContext. Remove mini_type_get_underlying_type (), use mini_get_underlying_type () instead.
Zoltan Varga [Mon, 20 Jul 2015 19:33:25 +0000 (15:33 -0400)]
[jit] Remove class init trampolines, use the same code for generic and non generic class inits, implement the slowpath using a JIT icall.
Ludovic Henry [Mon, 20 Jul 2015 15:35:52 +0000 (12:35 -0300)]
[threadpool-ms-io] Factor update removing
Ludovic Henry [Fri, 17 Jul 2015 23:15:54 +0000 (20:15 -0300)]
[threadpool-ms-io] Remove socket synchronously from backend when closing socket
To achieve this, we need to wait for the update to be applied to the backend.
This is mainly for the epoll backend, as we do not need to remove the fd from the backend when using kqueue.
Zoltan Varga [Mon, 20 Jul 2015 19:14:43 +0000 (15:14 -0400)]
[gshared] Fix constrained partial calls to Object:GetType ().
Rodrigo Kumpera [Mon, 20 Jul 2015 18:22:57 +0000 (14:22 -0400)]
[lock-decoder] Update it to include the threads lock.
Rodrigo Kumpera [Mon, 20 Jul 2015 17:20:56 +0000 (13:20 -0400)]
[runtime] Safe publish MonoImage::name_cache and exploit that around the runtime. Fix ImageLock nested use.
Marek Safar [Mon, 20 Jul 2015 17:33:02 +0000 (19:33 +0200)]
[mcs] Add missing interpolated string segmnent clone. Fixes #32135
Marek Safar [Mon, 20 Jul 2015 16:41:06 +0000 (18:41 +0200)]
[mcs] Parentheses expression can act as conditional access receiver. Fixes #32130
Marek Safar [Mon, 20 Jul 2015 13:26:07 +0000 (15:26 +0200)]
[build] Clean up cross referenced files
Marek Safar [Mon, 20 Jul 2015 12:07:20 +0000 (14:07 +0200)]
[mcs] Resolve nullable expression before unwrapping. Fixes #32054
Alexander Köplinger [Mon, 20 Jul 2015 11:21:00 +0000 (13:21 +0200)]
[System.ServiceModel.Web] Fix tarball generated by "make dist"
System.Runtime.Serialization.Json/JavaScriptReader.cs is needed by the System.Json assembly, but in
d44898a2308b06a1b51b646e519da1ac3daaf6b4 it was removed from net_2_0_System.ServiceModel.Web.dll.sources
which means it wasn't included in the tarball anymore and building it failed.
Fixing the tarball by including the file in EXTRA_DISTFILES.
Marek Safar [Mon, 20 Jul 2015 08:27:49 +0000 (10:27 +0200)]
Merge pull request #1931 from kasthack/system.web-fixes
[System.web] Reference source imports + HttpApplication fix
Zoltan Varga [Mon, 20 Jul 2015 03:26:16 +0000 (23:26 -0400)]
[jit] Remove the support for MONO_ARCH_NOTIFY_PENDING_EXC, it only works on amd64, and its not worth the complexity.
Zoltan Varga [Mon, 20 Jul 2015 02:24:13 +0000 (22:24 -0400)]
[jit] Use mini_type_get_underlying_type () instead of mini_get_basic_type_from_generic (), make the latter static.
Radek Doulik [Fri, 5 Jun 2015 11:42:03 +0000 (13:42 +0200)]
[linker] Instead of preserving every method with a [Register] attribute...
[merged from monodroid by rodo]
part of
commit
0b9c100b60fc2502a0d6347d50cac444bb82b285
Author: Jonathan Pobst <monkey@jpobst.com>
Date: Wed Sep 28 15:50:39 2011 -0500
Instead of preserving every method with a [Register] attribute on it in Mono.Android.dll, only save the things that the user actually uses. Reduces HelloWorld release apk by ~1.3MB.
Radek Doulik [Thu, 4 Jun 2015 20:07:33 +0000 (22:07 +0200)]
[linker] return count of marked methods
[merged from monodroid by rodo]
- part of
commit
216f75038afee2105182fc6af329f1fc83c4298f
Author: Radek Doulik <rodo@xamarin.com>
Date: Sun Nov 23 11:40:42 2014 +0100
[linker] mark methods (from Register attr) in base type when needed
- fixes #10268
- methods from these Register attributes were not marked:
https://github.com/xamarin/monodroid/blob/master/src/Mono.Android/src/Android.Widget/AdapterView.cs#L132-135
because the app used class derived from BaseAdapter class and the methods
existed only in the base class and were not marked
Radek Doulik [Thu, 4 Jun 2015 11:06:17 +0000 (13:06 +0200)]
[linker] fix Linking for assemblies with type forwarders (like PCL)
[merged from monodroid by rodo]
commit
840487dd904a5552f77dcc7388b27c37ca09169f
Author: Radek Doulik <rodo@xamarin.com>
Date: Thu Oct 16 20:03:58 2014 +0200
- sometime the assemblies with action set to Copy still might
contain type references to forwarders and thus point to
Delete assemblies, which are removed during linking, resulting
in unresolvable type references
- fixes https://bugzilla.xamarin.com/show_bug.cgi?id=23617
XA forms template now builds and works OK
XA app template builds and works OK
Radek Doulik [Wed, 3 Jun 2015 15:21:28 +0000 (17:21 +0200)]
[linker] process only .xml files, catch xml exceptions
[merged from monodroid by rodo]
commit
f51f044e30b822f191777a395563ef9d46f8b69d
Author: Radek Doulik <rodo@xamarin.com>
Date: Wed Mar 4 18:28:59 2015 +0100
- fixes #27620
- in this case we were trying to process Application.java
as linker an assembly XML linker description, which led
to uncaught XmlException
Radek Doulik [Wed, 3 Jun 2015 15:19:21 +0000 (17:19 +0200)]
[linker] In ResolveFromXmlStep, bail if no <linker> element is found.
[merged from monodroid by rodo]
commit
2edecdc39ca55c65de4f57557e5e31b5d432eaa4
Author: Alex Rønne Petersen <alexrp@xamarin.com>
Date: Mon Jul 1 15:35:59 2013 +0200
The BlacklistStep pass will feed the ResolveFromXmlStep pass XML files
that may not necessarily *be* linker descriptor files. This can happen
if an embedded file happens to be named "Foo.Bar.xml" and an assembly
called Foo.Bar is referenced in a project. The chances of this happening
are probably very low, but better safe than sorry.
Radek Doulik [Thu, 28 May 2015 19:35:34 +0000 (21:35 +0200)]
[linker] Fortify the BlacklistStep.
[merged from monodroid by rodo]
commit
3001f693c52be0da673446179daf498265024867
Author: Alex Rønne Petersen <alexrp@xamarin.com>
Date: Tue Jul 30 20:06:21 2013 +0200
1. Catch XmlExceptions in case of broken XML files.
2. Only process files that actually end in ".xml".
Radek Doulik [Thu, 28 May 2015 19:30:41 +0000 (21:30 +0200)]
[linker] Support linker descriptor files embedded in the assemblies being linked.
[merged from monodroid by rodo]
commit
3e19b22eb24ff9faeebe1ace7461d8f91f807041
Author: Alex Rønne Petersen <alexrp@xamarin.com>
Date: Mon Jul 1 15:34:26 2013 +0200
This is in addition to those files that are already embedded in the linker assembly
itself (such as mscorlib.xml). People can use this feature to tell the linker that
certain methods/fields/types must be kept if a particular assembly is being referenced
by embedding a descriptor file in it.
kasthack [Sat, 18 Jul 2015 15:30:15 +0000 (18:30 +0300)]
[System.Web] Imported some interfaces, attributes and enums from reference source:
ISubscriptionToken, IModelNameProvider, BindingBehaviorAttribute, BindingBehavior, BindNeverAttribute, BindRequiredAttribute, ExtensibleModelBinderAttribute, ModelBinderProviderOptionsAttribute, CodeCharts, WebBrowsableAttribute, WebDescriptionAttribute, WebDisplayNameAttribute, AspNetWebSocketOptions
kasthack [Sat, 18 Jul 2015 14:39:05 +0000 (17:39 +0300)]
[System.Web] Made HttpApplication method parameters match reference version
Marek Safar [Sat, 18 Jul 2015 05:37:02 +0000 (07:37 +0200)]
[System.Web] Fixes make dist
Marek Safar [Fri, 17 Jul 2015 20:17:29 +0000 (22:17 +0200)]
[mcs] Update to latest mscorlib
Marek Safar [Fri, 17 Jul 2015 14:38:40 +0000 (16:38 +0200)]
[build] Update facades to mobile profiles
Marek Safar [Fri, 17 Jul 2015 12:51:22 +0000 (14:51 +0200)]
[Facades] Add partial facades with missing (unknown) types
Marek Safar [Fri, 17 Jul 2015 07:34:17 +0000 (09:34 +0200)]
[System.Numerics.Vectors] Fixes public key
Zoltan Varga [Fri, 17 Jul 2015 00:12:33 +0000 (20:12 -0400)]
Fix a warning.
Zoltan Varga [Thu, 16 Jul 2015 21:32:08 +0000 (17:32 -0400)]
[llvm] Add support for returning vtypes as a scalar, this is used on arm64.
Mark Probst [Thu, 16 Jul 2015 20:46:32 +0000 (13:46 -0700)]
[sgen] Don't crash on canaries when called from `mono_gc_scan_for_specific_ref()`.
This function is only ever called from the debugger, and we don't want
it to crash when a canary has been overwritten.
Ludovic Henry [Thu, 16 Jul 2015 19:30:41 +0000 (16:30 -0300)]
[threadpool-ms] Use define for monitor thread minimal lifetime
Ludovic Henry [Thu, 16 Jul 2015 19:24:16 +0000 (16:24 -0300)]
[threadpool-ms] Fix monitor thread starting and ending at a multiple times per second
Marek Safar [Thu, 16 Jul 2015 19:12:19 +0000 (21:12 +0200)]
[Facades] Add missing folder
Marek Safar [Thu, 16 Jul 2015 19:11:48 +0000 (21:11 +0200)]
Remove aggressive filter
Marek Safar [Thu, 16 Jul 2015 18:57:38 +0000 (20:57 +0200)]
[build] Add System.Numerics.Vectors skeleton
João Matos [Thu, 16 Jul 2015 17:53:50 +0000 (18:53 +0100)]
[runtime] Implemented MonoContext for WatchOS using ucontext.
We cannot use inline assembly for WatchOS.
Marek Habersack [Thu, 16 Jul 2015 15:52:29 +0000 (17:52 +0200)]
[tests] Fix tests on OS/X
OS/X, like Android, uses a symlink for the $TMP directory. The tests used to assume
that the link points to the /private/tmp directory (which is the case) but earlier
changes introduced here for Android employed a more generic mechanism to determine the
actual temporary directory.
This commit removes the '/private' prefix assumption from OS/X
Marek Safar [Thu, 16 Jul 2015 15:30:45 +0000 (17:30 +0200)]
[Facades] Add v3 facades
Marek Habersack [Wed, 15 Jul 2015 19:47:00 +0000 (21:47 +0200)]
[tests] 4.x profiles produce test assembly suffixed with 4_x now
Marek Habersack [Wed, 15 Jul 2015 19:36:12 +0000 (21:36 +0200)]
[tests] corlib tests are in corlib_test_net_4_x.dll now
Marek Habersack [Wed, 15 Jul 2015 18:24:03 +0000 (20:24 +0200)]
[tests] Disable until a server that works is found
This test depends on server behavior. I changed the server to xamarin.com
earlier on, but it stopped behaving as required recently. The test should
not rely on random servers, so until we have a server we can rely on I'm
disabling it.
Marek Habersack [Tue, 7 Jul 2015 20:40:29 +0000 (22:40 +0200)]
[tests] Crashes on Android 64-bit
Disable for all other architectures as well, as there's not enough
flexibility in this respect :(
Marek Habersack [Tue, 7 Jul 2015 10:02:49 +0000 (12:02 +0200)]
[tests] Disable on Android due to runtime segfault
The Dispose call in FakeSafeHandle causes the Mono runtime to segfault
when passing the call up the chain. As a consequence of disabling the
base class call, the other tests disabled by this commit fail.
Marek Habersack [Tue, 7 Jul 2015 10:01:09 +0000 (12:01 +0200)]
[tests] Runtime segfaults on Android, probably due to AppDomain.Unload
Marek Habersack [Tue, 7 Jul 2015 09:59:31 +0000 (11:59 +0200)]
[tests] Disable tests not working on mobile platforms
Marek Habersack [Tue, 7 Jul 2015 09:58:15 +0000 (11:58 +0200)]
[tests] Add Xamarin.Android assembly name to list of probes
Marek Habersack [Tue, 7 Jul 2015 09:57:26 +0000 (11:57 +0200)]
[tests] Disable on Android due to environment differences
Assemblies in Xamarin.Android cannot be accessed as FileStream/files directly
Marek Habersack [Tue, 7 Jul 2015 09:55:41 +0000 (11:55 +0200)]
[tests] Adjust the test for Android-specific behavior
Marek Habersack [Tue, 7 Jul 2015 09:54:49 +0000 (11:54 +0200)]
[tests] Disable on Android due to environment differences
Xamarin.Android doesn't ship with the Mono.Compilerservices.SymbolWriter
assembly that is required by this test.