Bernhard Urban [Tue, 13 Dec 2016 12:41:32 +0000 (13:41 +0100)]
Revert "Fix a warning."
This reverts commit
b498facf7cebade5762d79f28cd102a5ed120bc5.
Zoltan Varga [Tue, 13 Dec 2016 06:29:41 +0000 (07:29 +0100)]
Fix a warning.
Ludovic Henry [Mon, 12 Dec 2016 23:57:07 +0000 (18:57 -0500)]
[threads] Destroy thread->suspended before removing the GC root to thread (#4133)
Alexander Köplinger [Mon, 12 Dec 2016 19:45:39 +0000 (20:45 +0100)]
[build] Print CSC when compiling with roslyn
Reduces confusion about why the log contains lines starting with MCS
even when using roslyn.
Marek Safar [Mon, 12 Dec 2016 18:57:25 +0000 (19:57 +0100)]
[xbuild] publicsign and delaysign cannot be used at same time
Marek Safar [Mon, 12 Dec 2016 17:25:50 +0000 (18:25 +0100)]
[xbuild] Add a workaround for not yet implemented full /keyfile signing using csc
Bernhard Urban [Wed, 7 Dec 2016 09:11:24 +0000 (10:11 +0100)]
[unwind] reduce frame size of mono_unwind_frame ()
on arm32 it goes down from 5120 bytes to 676 bytes in terms of frame
size.
Marek Safar [Mon, 12 Dec 2016 16:24:06 +0000 (17:24 +0100)]
[Microsoft.CSharp] Tweaks
76f97e30731d6c98f21771b516b78399185c1c51 to not call new API from Microsoft.CSharp. Fixes #47353
This is a workaround for runtime assembly loading bug always preferring local assembly
Marek Safar [Mon, 12 Dec 2016 15:02:48 +0000 (16:02 +0100)]
[xbuild] Convert pbdonly to portable debug mode
Marek Safar [Mon, 12 Dec 2016 14:48:36 +0000 (15:48 +0100)]
[System] Always use mcs as CodeDOM backend compiler
Marek Safar [Mon, 12 Dec 2016 12:42:16 +0000 (13:42 +0100)]
[build] Add System.ValueTuple to bootstrap facades
Alexander Köplinger [Mon, 12 Dec 2016 11:50:48 +0000 (12:50 +0100)]
Don't remove the roslyn binaries in "make dist" for now
Should help fix the package builds on Jenkins.
Shay Rojansky [Mon, 12 Dec 2016 10:05:23 +0000 (12:05 +0200)]
Add unimplemented Transaction.PromoteAndEnlistDurable (#4129)
Which was added to .NET 4.5.2.
Zoltan Varga [Sun, 11 Dec 2016 06:14:18 +0000 (01:14 -0500)]
[simd] Add intrinsics support for Vector<T>.CopyTo ().
monojenkins [Sat, 10 Dec 2016 16:36:36 +0000 (17:36 +0100)]
[msvc] Update csproj files (#4128)
Alexander Köplinger [Sat, 10 Dec 2016 02:59:47 +0000 (03:59 +0100)]
[Facades] Add System.ValueTuple facade (#4125)
Zoltan Varga [Sat, 10 Dec 2016 00:12:21 +0000 (19:12 -0500)]
[arm64] Handle fp regs in mono_sigctx_to_monoctx () on linux, recent gcc versions generate code which store object references in them, so sgen now requires this. (#4127)
Ludovic Henry [Fri, 9 Dec 2016 20:40:28 +0000 (15:40 -0500)]
[threadpool] Split domain and worker management (#4117)
* [threadpool] Remove `-ms` suffix
* [threadpool] Split domain and worker management
This will allow us to use native threadpool more easily: we will simply have to implement a threadpool worker with the specific API.
On windows, we will use the Win32 Threadpool, and on OSX we will explore using GCD (Grand Central Dispatch).
Ludovic Henry [Fri, 9 Dec 2016 16:09:59 +0000 (11:09 -0500)]
[threads] Inline thread_cleanup into mono_thread_detach_internal (#4119)
Alexander Köplinger [Fri, 9 Dec 2016 15:38:28 +0000 (16:38 +0100)]
Expose mono_build_root to mcs build system
In an out-of-tree build the Makefile which contains get-monolite-latest
doesn't exist in the source directory (which $(topdir)/.. would point to)
but in the build directory.
In order to invoke get-monolite-latest we need to actually call the Makefile
in the correct directory which requires exposing the build directory to the
mcs build system.
Bernhard Urban [Fri, 9 Dec 2016 12:14:16 +0000 (13:14 +0100)]
[configure] fix out-of-tree-build with roslyn
Alexander Köplinger [Fri, 9 Dec 2016 13:01:06 +0000 (14:01 +0100)]
[runtime] Add write barriers for FindFirstFile/FindNextFile icalls (#4114)
We were seeing crashes like [1] or [2] after https://github.com/mono/mono/pull/4042 was merged.
While debugging the issue I found out that when instead of using `out data.cFileName` for passing
the string through the the icall I use a temporary field and assign the result to `data` later on
the crash went away. It also worked if I made the `WIN32_FIND_DATA` class a struct instead.
I talked to @ludovic-henry and he was able to figure out what was going on (many thanks!):
> It seems to be a missing wbarrier
> and that would also explains why it would work with a struct, but not with a class
> so it would work with a struct, because `out data.filename` would be a `MonoString**` to the thread stack,
> and that would work because we would always scan the thread stack
> and it wouldn’t work with a class, because `out data.filename` would be a `MonoString**` to the heap
>
> and because we have a generational GC, if `data` is in the “old” heap (and because we are missing this write barrier),
> we would never scan `data`, thus freeing the `data.filename` string object, and as soon as you are trying to access it,
> well you access garbage
>
> with the write barrier, we will make sure to scan the `data` object, and not loose the reference to `data.filename`
[1] https://jenkins.mono-project.com/job/test-mono-mainline/label=osx-amd64/5422/parsed_console/log_content.html#WARNING1
[2] https://jenkins.mono-project.com/job/test-mono-mainline/label=osx-amd64/5419/parsed_console/log_content.html#WARNING1
[3] https://github.com/mono/mono/blob/
dd88ff52e2f130ee188661a34794aa7c7b564fa8/mcs/class/referencesource/mscorlib/system/io/filesystemenumerable.cs#L280
Marek Safar [Fri, 9 Dec 2016 01:16:15 +0000 (17:16 -0800)]
[System] Add new test
Alexis Christoforides [Thu, 8 Dec 2016 20:14:49 +0000 (15:14 -0500)]
[MacSDK] Include 'opt' as a PATH-available binary
Zoltan Varga [Thu, 8 Dec 2016 06:30:48 +0000 (01:30 -0500)]
[runtime] Use MonoBoolean instead of gboolean in monitor icalls. Add new internal variants for the ones which are exported. (#4109)
Ludovic Henry [Wed, 7 Dec 2016 22:07:54 +0000 (17:07 -0500)]
[jenkins] Rename runtime presets to match CI tags
Alexander Köplinger [Wed, 7 Dec 2016 22:54:28 +0000 (23:54 +0100)]
[ci] Simplify run-jenkins.sh script variables (#4111)
Get rid of WORKSPACE which is set by Jenkins, this allows one to
more easily run the run-jenkins.sh script locally e.g. on cygwin.
The only thing that needs to be passed in is CI_TAGS and label.
Alexander Köplinger [Wed, 7 Dec 2016 22:53:51 +0000 (23:53 +0100)]
[ci] Run aot-test on more platforms (#4108)
* [ci] Run aot-test on more platforms
Now that https://github.com/mono/mono/pull/4096 is merged, we should be able to run it on Linux too.
* [ci] Don't run aot-test on Windows
It's broken there.
Ludovic Henry [Wed, 7 Dec 2016 21:35:54 +0000 (16:35 -0500)]
[jenkins] Add `bitcode` CI tag and rename `bitcode_aot_only` runtime preset to `bitcode`
Ludovic Henry [Wed, 7 Dec 2016 21:20:30 +0000 (16:20 -0500)]
[jenkins] Add `aot_llvm` and `aot` CI tag as well as `aot` runtime preset
Ludovic Henry [Wed, 7 Dec 2016 20:53:22 +0000 (15:53 -0500)]
[jenkins] Add fullaot_llvm CI tag and rename aot_only to fullaot
Ludovic Henry [Wed, 7 Dec 2016 20:27:22 +0000 (15:27 -0500)]
[jenkins] Fix order of CI tags
Ludovic Henry [Wed, 7 Dec 2016 20:14:30 +0000 (15:14 -0500)]
[jenkins] Add hybridaot_llvm CI tag and rename aot_preferred to hybrid
monojenkins [Wed, 7 Dec 2016 18:28:51 +0000 (19:28 +0100)]
[msvc] Update csproj files (#4115)
Marek Safar [Wed, 7 Dec 2016 15:34:47 +0000 (07:34 -0800)]
[build] Add System.Security.Cryptography.Primitives to bootstrap facades
Marek Safar [Wed, 7 Dec 2016 14:20:26 +0000 (06:20 -0800)]
Merge pull request #4102 from marek-safar/bootstrap
[build] Fixes win32 bootstrap in mcs mode
Alexander Köplinger [Wed, 7 Dec 2016 12:17:08 +0000 (13:17 +0100)]
[ci] Move mcs switch for Win32 builds into the run-jenkins.sh script
So we can more easily switch it over to roslyn again in a PR.
Ludovic Henry [Wed, 7 Dec 2016 01:46:43 +0000 (20:46 -0500)]
[threads] Fix conflicting signal with boehm (#4096)
Boehm would use SIGPWR on linux 32/64bits for its suspend signal, but that would conflict with utils/threads suspend signal.
The fix consists in looking for an available realtime signal in utils/threads, and fallback to the default SIGXFSZ, SIGPWR and SIGXCPU
Rolf Bjarne Kvinge [Tue, 6 Dec 2016 23:50:31 +0000 (00:50 +0100)]
[llvm] Fix intrinsic Selector.GetHandle support. (#4103)
An OBJC_IMAGE_INFO section must be emitted when we emit the native equivalent
of @selector for Selector.GetHandle, otherwise the Objective-C runtime will
not process the selectors in this image at runtime (and we may end up with
duplicate selectors in memory).
The AOT compiler already does this here: https://github.com/mono/mono/blob/
2eda626316fd8f70cd98947af2f89b7ca9b0ebe5/mono/mini/aot-compiler.c#L9657-L9661
Alexis Christoforides [Tue, 6 Dec 2016 21:49:49 +0000 (16:49 -0500)]
[Mac SDK] Use MSBuild to build IronPython/IronRuby.
Xbuild currently fails with 'CSC: error CS0041: Unexpected error writing debug information -- 'Windows PDB writer is not available -- could not find Microsoft.DiaSymReader.Native.x86.dll'
Xbuild should be passing "/debug:Portable" to csc in order to work. There is a possibly broken attempt to this in
2d08353991213b17f58f64b6ef0fb4525eb4c659.
Roger Vuistiner [Tue, 6 Dec 2016 19:46:18 +0000 (20:46 +0100)]
[System]: fix certificate validation on Wine/OSX
- the `is_macosx` static field should be false on Wine/OSX, as it is on Windows.
Alexander Köplinger [Tue, 6 Dec 2016 20:30:00 +0000 (21:30 +0100)]
Revert "[runtime] Use MonoBoolean as the return value of monitor icalls."
This reverts commit
06088609b0ee50af41e59e7366100e25d55a9130.
It was breaking the build on i386 Linux:
```
Unhandled Exception:
System.ExecutionEngineException: System.Threading.SynchronizationLockException: Object synchronization method was called from an unsynchronized block of code.
at Microsoft.CodeAnalysis.CSharp.CodeGen.CodeGenerator.EmitExpression (Microsoft.CodeAnalysis.CSharp.BoundExpression expression, System.Boolean used) [0x00070] in <
8d5a2b6695c6475bb1cb5b9a9f9c8dd7>:0
at Microsoft.CodeAnalysis.CSharp.CodeGen.CodeGenerator.EmitStatement (Microsoft.CodeAnalysis.CSharp.BoundStatement statement) [0x000ad] in <
8d5a2b6695c6475bb1cb5b9a9f9c8dd7>:0
at Microsoft.CodeAnalysis.CSharp.CodeGen.CodeGenerator.EmitStatementAndCountInstructions (Microsoft.CodeAnalysis.CSharp.BoundStatement statement) [0x0000c] in <
8d5a2b6695c6475bb1cb5b9a9f9c8dd7>:0
at Microsoft.CodeAnalysis.CSharp.CodeGen.CodeGenerator.EmitSequencePointStatement (Microsoft.CodeAnalysis.CSharp.BoundSequencePoint node) [0x0002d] in <
8d5a2b6695c6475bb1cb5b9a9f9c8dd7>:0
at Microsoft.CodeAnalysis.CSharp.CodeGen.CodeGenerator.EmitStatement (Microsoft.CodeAnalysis.CSharp.BoundStatement statement) [0x00087] in <
8d5a2b6695c6475bb1cb5b9a9f9c8dd7>:0
at Microsoft.CodeAnalysis.CSharp.CodeGen.CodeGenerator.EmitBlock (Microsoft.CodeAnalysis.CSharp.BoundBlock block) [0x0009d] in <
8d5a2b6695c6475bb1cb5b9a9f9c8dd7>:0
at Microsoft.CodeAnalysis.CSharp.CodeGen.CodeGenerator.EmitStatement (Microsoft.CodeAnalysis.CSharp.BoundStatement statement) [0x0007a] in <
8d5a2b6695c6475bb1cb5b9a9f9c8dd7>:0
at Microsoft.CodeAnalysis.CSharp.CodeGen.CodeGenerator.EmitStatementList (Microsoft.CodeAnalysis.CSharp.BoundStatementList list) [0x00023] in <
8d5a2b6695c6475bb1cb5b9a9f9c8dd7>:0
at Microsoft.CodeAnalysis.CSharp.CodeGen.CodeGenerator.EmitStatement (Microsoft.CodeAnalysis.CSharp.BoundStatement statement) [0x000b4] in <
8d5a2b6695c6475bb1cb5b9a9f9c8dd7>:0
...
```
Alexander Köplinger [Tue, 6 Dec 2016 19:02:58 +0000 (20:02 +0100)]
[corlib] Put back Directory.GetDirectoryRoot() which was accidentally removed
The mistake happened in https://github.com/mono/mono/pull/4042.
Added a test for the method so we don't do it again.
Niklas Therning [Tue, 6 Dec 2016 10:00:18 +0000 (11:00 +0100)]
Fix Microsoft.Build.Engine fail when built with mcs
Fixes the Makefile to not fail if the compiler hasn't generated a pdb file for
the TestTasks dll.
Marek Safar [Tue, 6 Dec 2016 14:07:19 +0000 (06:07 -0800)]
Revert "Merge pull request #4093 from ntherning/enable-building-bcl-with-mono-4.6-mcs"
This reverts commit
d661684b9a7a49646720ff14dfaf63c62c8619ed, reversing
changes made to
556a4f45653f048c13a171cb03ba4b674f21afb1.
Marek Safar [Tue, 6 Dec 2016 14:05:07 +0000 (06:05 -0800)]
[build] Fixes win32 bootstrap in mcs mode
Uses installed mono instead on .NET to run same boostrap check as we
do on other platforms
Ludovic Henry [Tue, 6 Dec 2016 14:50:26 +0000 (09:50 -0500)]
[io-layer] Remove io-layer.h include from as many headers as possible (#4088)
Ludovic Henry [Tue, 6 Dec 2016 14:49:32 +0000 (09:49 -0500)]
[w32handle] Fix race in foreach and unref (#4089)
It could happen that we unref a handle that we are currently looping over. This could be the case if we are calling Process.GetProcessById (which loops over all handles) and mono_w32handle_unref on a MonoW32HandleProcess handle.
Zoltan Varga [Tue, 6 Dec 2016 05:47:27 +0000 (00:47 -0500)]
[runtime] Use MonoBoolean as the return value of monitor icalls.
Alexander Köplinger [Tue, 6 Dec 2016 00:39:19 +0000 (01:39 +0100)]
Merge pull request #4093 from ntherning/enable-building-bcl-with-mono-4.6-mcs
Enable building the BCL with mcs from pre-4.8 mono installation
Ludovic Henry [Mon, 5 Dec 2016 16:23:48 +0000 (11:23 -0500)]
[threads] Do not switch to GC safe twice, it's already done inside mono_join_uninterrupted
Aleksey Kliger (λgeek) [Mon, 5 Dec 2016 15:24:10 +0000 (10:24 -0500)]
[runtime] Use coop handles for the remaining System.Reflection.Assembly icalls (#4082)
* [reflection] Use handles for System.Reflection.Assembly.GetFilesInternal
* [reflection] Use handles for System.Reflection.Assembly.InternalGetType
* [reflection] Use handles for System.Reflection.Assembly.GetManifestResourceNames
* [reflection] Use handles for System.Reflection.Assembly.LoadPermissions
* [reflection] Add mono_method_get_object_handle
Reimplement mono_method_get_object_checked in terms of the handles one.
* [reflection] Use handles for System.Reflection.Assembly.get_EntryPoint
* [reflection] Use handles for four more icalls in System.Refleciton.Assembly
That's the lot of them.
* get_ReflecitonOnly
* get_code_base
* get_fullname
* get_global_assembly_cache
* [security] Use handles for System.Security.Policy.Evidence.IsAuthenticodePresent
* [runtime] Use handles for System.Web.Util.Icalls.GetUnmanagedResourcesPtr
* [runtime] Use MONO_HANDLE_GETVAL instead of MONO_HANDLE_RAW in a few places
* [runtime] Use handles for System.AppDomain.ExecuteAssembly
Niklas Therning [Mon, 5 Dec 2016 10:56:27 +0000 (11:56 +0100)]
Enable building the BCL with mcs from pre-4.8 mono installation
This skips passing -runtimemetadataversion when building the BCL with
--with-csc=mcs.
Niklas Therning [Mon, 5 Dec 2016 13:22:22 +0000 (14:22 +0100)]
Merge pull request #4092 from ntherning/fix-w32process-win32.c-build-failure
Fix build failure in w32process-win32.c
Niklas Therning [Mon, 5 Dec 2016 10:50:07 +0000 (11:50 +0100)]
Fix build failure in w32process-win32.c
Commit
07630fe8c5b73c5ed47038a8e63b098fbbea05ff broke the build on Windows.
Johan Lorensson [Mon, 5 Dec 2016 10:45:19 +0000 (11:45 +0100)]
Merge pull request #3997 from lateralusX/jlorenss/win-api-family-support-safearray
Add possibility to exclude COM SafeArray implementation on some none desktop Windows API families.
vkargov [Sun, 4 Dec 2016 00:41:54 +0000 (16:41 -0800)]
A few pretty print fixes for the GDB plugin. (#4001)
Ludovic Henry [Sat, 3 Dec 2016 23:42:04 +0000 (18:42 -0500)]
[runtime] Fix build
Ludovic Henry [Thu, 1 Dec 2016 18:33:40 +0000 (13:33 -0500)]
[Process] Remove unused cmd and shell_path variables
Ludovic Henry [Thu, 1 Dec 2016 18:13:32 +0000 (13:13 -0500)]
[Process] Concatenate envirnoment key and value in managed
Ludovic Henry [Thu, 1 Dec 2016 18:10:36 +0000 (13:10 -0500)]
[Process] Rename proc_info to procInfo
Ludovic Henry [Thu, 1 Dec 2016 16:09:31 +0000 (11:09 -0500)]
[w32process] Rename MonoW32HandleProcess `id` to `pid` and `proc_name` to `pname`
Joshua Peterson [Sat, 3 Dec 2016 22:10:25 +0000 (17:10 -0500)]
Don't allow Join to return due to an APC (#3970)
* Don't allow Join to return due to an APC
On Windows, Thread.Join does an alertable wait. If the thread calling
Join gets an APC during the call, Join will incorrectly return. Instead,
the code should handle the APC and continue waiting.
* Do an uninterrupted wait during thread join.
Mimic the behavior of mono_wait_uninterrupted, but for a single thread
that we want to join.
* Make some style changes suggested in the PR.
su21 [Sat, 3 Dec 2016 21:34:33 +0000 (05:34 +0800)]
Socket.AddSockets throw exception with meaningful name (#4086)
fix #48875
monojenkins [Sat, 3 Dec 2016 21:21:43 +0000 (22:21 +0100)]
[msvc] Update csproj files (#4087)
Ludovic Henry [Sat, 3 Dec 2016 13:59:47 +0000 (08:59 -0500)]
[io-layer] Remove versioninfo.{c,h} (#4083)
Zoltan Varga [Sat, 3 Dec 2016 03:44:01 +0000 (22:44 -0500)]
[runtime] Add locking to mono_gc_compute_gc_descriptor (). (#4084)
Alexander Köplinger [Sat, 3 Dec 2016 02:37:29 +0000 (03:37 +0100)]
Fix Makefile issue on Windows
"Makefile:25: *** multiple target patterns. Stop.", according to web searches
this is because of colons in the file path. install-local always runs so we
don't really need the source files as dependency -> removing.
Miguel de Icaza [Sat, 3 Dec 2016 02:24:25 +0000 (21:24 -0500)]
[marshal] Only copy the minimum of size/length, not the full size, fixes #46288 (#4031)
Miguel de Icaza [Sat, 3 Dec 2016 02:22:38 +0000 (21:22 -0500)]
[runtime] Provide fallback for Linux systems that lack CPU_COUNT in sched.h, fixes #45683 (#4032)
Alexander Köplinger [Sat, 3 Dec 2016 00:38:08 +0000 (01:38 +0100)]
[build] Another "make dist" fix
Alexander Köplinger [Sat, 3 Dec 2016 00:18:33 +0000 (01:18 +0100)]
[ci] Add aot-test step like on Wrench (#4064)
* [ci] Add aot-test step like on Wrench
* [tests] Fix mktemp argument to work on Linux
* [ci] Only run aot-test step on OSX
It seems to crash on linux with the boehm configuration.
Zoltan Varga [Fri, 2 Dec 2016 23:10:16 +0000 (18:10 -0500)]
[runtime] Set klass->inited under the loader lock.
Zoltan Varga [Fri, 2 Dec 2016 22:22:16 +0000 (17:22 -0500)]
[runtime] Enable thread6.exe test, it should work now. (#4075)
Ludovic Henry [Fri, 2 Dec 2016 21:52:02 +0000 (16:52 -0500)]
[io-layer] Remove FormatMessage (#4055)
Ludovic Henry [Fri, 2 Dec 2016 20:06:09 +0000 (15:06 -0500)]
[io-layer] Remove security.{c,h} (#4079)
Alexander Köplinger [Fri, 2 Dec 2016 19:11:21 +0000 (20:11 +0100)]
Fix "make dist" for roslyn assemblies
Marek Safar [Fri, 2 Dec 2016 18:58:25 +0000 (19:58 +0100)]
[build] Fixes make dist
Aleksey Kliger (λgeek) [Fri, 2 Dec 2016 18:50:24 +0000 (13:50 -0500)]
Fix clang warning about no argument function prototype. (#4080)
Zoltan Varga [Fri, 2 Dec 2016 18:33:33 +0000 (13:33 -0500)]
[runtime] Call mono_class_init () before accessing klass->has_cctor in mono_class_get_cctor ().
Marek Safar [Fri, 2 Dec 2016 17:37:49 +0000 (18:37 +0100)]
[System.Runtime.InteropServices.RuntimeInformation] Updated to reference copied files directly
Johan Lorensson [Fri, 2 Dec 2016 17:23:04 +0000 (18:23 +0100)]
Fix windows build error in type-checking.c. (#4078)
Looks like commit
f3bbd799f0a6b809be3278f30a3a16fd7b323ef5 that added type-checking.c
to the windows builds broke it since it includes mini.h and ir-emit.h using
<> syntax instead of "". All other include of these files uses "" syntax. Fix
makes sure the includes in type-checking.c uses "" syntax.
monojenkins [Fri, 2 Dec 2016 17:16:26 +0000 (18:16 +0100)]
[msvc] Update csproj files (#4081)
Marek Safar [Fri, 2 Dec 2016 10:36:26 +0000 (11:36 +0100)]
[build] Enable full mcs boostrap for mcs compiler mode
Marek Safar [Fri, 2 Dec 2016 17:07:03 +0000 (18:07 +0100)]
[build] Fixes wrong dependency moved in
07c20be565add68c54364d0689c71879ad15571b
Marek Safar [Fri, 2 Dec 2016 16:56:28 +0000 (17:56 +0100)]
[corlib] Cleanup more negative sign cultures with unicode prefixes
Aleksey Kliger (λgeek) [Fri, 2 Dec 2016 16:39:39 +0000 (11:39 -0500)]
[runtime] Use mono_assembly_get_object_handle instead of mono_assembly_get_object_checked everywhere in the runtime. (#4061)
* [runtime] Move domain icall declarations to appdomain-icalls.h
* [coop] Use handles for System.AppDomain.GetAssemblies icall
* [coop handles] Add HANDLE_FUNCTION_RETURN_REF macro
* [runtime] Handles for AppDomain.LoadAssemblyRaw and Assembly.LoadFrom
* [reflection] Coop handles for RuntimeTypeHandle.GetAssembly
* [runtime] Change mono_try_assembly_resolve to return MonoAssembly
instead of managed MonoReflectionAssembly. Update call sites.
Also implement it in terms of mono_try_assembly_resolve_handle (which
also returns MonoAssembly*, not a managed object)
* [runtime] Use handles for System.AppDomain.LoadAssembly
* [reflection] Use mono_assembly_get_object_handle instead of mono_assembly_get_object_checked
Convert all its callers to use handles and get rid of mono_assembly_get_object_checked
Marek Safar [Fri, 2 Dec 2016 16:28:33 +0000 (17:28 +0100)]
[build] Add System.Security.Cryptography.Algorithms to monolite
Ludovic Henry [Fri, 2 Dec 2016 15:33:22 +0000 (10:33 -0500)]
[io-layer] Remove status.h, types.h, timefuncs.h and macros.h (#4069)
* [io-layer] Remove status.h
* [io-layer] Remove types.h
* [io-layer] Remove timefuncs.h
* [io-layer] Remove macros.h
Marek Safar [Fri, 2 Dec 2016 15:11:52 +0000 (16:11 +0100)]
[Facades] Add System.Security.Cryptography.Algorithms to net_4_x profile
Marek Safar [Fri, 2 Dec 2016 13:23:27 +0000 (14:23 +0100)]
[mcs] Don't crash on missing forwarded mscorlib
Marek Safar [Fri, 2 Dec 2016 11:06:53 +0000 (12:06 +0100)]
Merge pull request #4063 from ntherning/fix-culture-info-problem-in-RepeatInfoTest
Ensure the System.Web.UI.WebControls.RepeatInfo_Autogen test runs under en-US
Marek Safar [Fri, 2 Dec 2016 09:25:30 +0000 (10:25 +0100)]
[build] Put back mcs to monolite to support boostrap with mcs only
Zoltan Varga [Fri, 2 Dec 2016 02:09:47 +0000 (21:09 -0500)]
Revert "[build] Put back mcs to monolite to support boostrap with mcs only"
This reverts commit
430e9d64f731e4d2d19672e00531d173e0282e98.
Revert this as it seems to break the build:
https://wrench.internalx.com/Wrench/ViewLane.aspx?lane_id=2457&host_id=148&revision_id=834314
Zoltan Varga [Fri, 2 Dec 2016 00:07:45 +0000 (19:07 -0500)]
[runtime] Avoid rethrowing ThreadAbortException's from cctors down the stack from where the TAE was first caught. Fixes thread6.cs. (#4073)
Zoltan Varga [Fri, 2 Dec 2016 00:04:18 +0000 (19:04 -0500)]
[runtime] Change the vtable->initialized bitfield into a byte so its easier to load it from JITted code, the previous version was not using offsets infrastructure so it might not work when cross compiling. (#4068)
Zoltan Varga [Fri, 2 Dec 2016 00:02:33 +0000 (19:02 -0500)]
[runtime] Implement support for fixed char arrays. Fixes #48429. (#4072)
Marek Safar [Thu, 1 Dec 2016 22:53:29 +0000 (23:53 +0100)]
[build] Put back mcs to monolite to support boostrap with mcs only
Andi McClure [Thu, 1 Dec 2016 22:01:55 +0000 (17:01 -0500)]
Merge pull request #4053 from xmcclure/babysitter_cygwin
Fix babysitter script to work on Windows (Cygwin) builders
monojenkins [Thu, 1 Dec 2016 21:04:12 +0000 (22:04 +0100)]
[msvc] Update csproj files (#4074)