mono.git
7 years agoMerge pull request #3997 from lateralusX/jlorenss/win-api-family-support-safearray
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.

7 years agoA few pretty print fixes for the GDB plugin. (#4001)
vkargov [Sun, 4 Dec 2016 00:41:54 +0000 (16:41 -0800)]
A few pretty print fixes for the GDB plugin. (#4001)

7 years ago[runtime] Fix build
Ludovic Henry [Sat, 3 Dec 2016 23:42:04 +0000 (18:42 -0500)]
[runtime] Fix build

7 years ago[Process] Remove unused cmd and shell_path variables
Ludovic Henry [Thu, 1 Dec 2016 18:33:40 +0000 (13:33 -0500)]
[Process] Remove unused cmd and shell_path variables

7 years ago[Process] Concatenate envirnoment key and value in managed
Ludovic Henry [Thu, 1 Dec 2016 18:13:32 +0000 (13:13 -0500)]
[Process] Concatenate envirnoment key and value in managed

7 years ago[Process] Rename proc_info to procInfo
Ludovic Henry [Thu, 1 Dec 2016 18:10:36 +0000 (13:10 -0500)]
[Process] Rename proc_info to procInfo

7 years ago[w32process] Rename MonoW32HandleProcess `id` to `pid` and `proc_name` to `pname`
Ludovic Henry [Thu, 1 Dec 2016 16:09:31 +0000 (11:09 -0500)]
[w32process] Rename MonoW32HandleProcess `id` to `pid` and `proc_name` to `pname`

7 years agoDon't allow Join to return due to an APC (#3970)
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.

7 years agoSocket.AddSockets throw exception with meaningful name (#4086)
su21 [Sat, 3 Dec 2016 21:34:33 +0000 (05:34 +0800)]
Socket.AddSockets throw exception with meaningful name (#4086)

fix #48875

7 years ago[msvc] Update csproj files (#4087)
monojenkins [Sat, 3 Dec 2016 21:21:43 +0000 (22:21 +0100)]
[msvc] Update csproj files (#4087)

7 years ago[io-layer] Remove versioninfo.{c,h} (#4083)
Ludovic Henry [Sat, 3 Dec 2016 13:59:47 +0000 (08:59 -0500)]
[io-layer] Remove versioninfo.{c,h} (#4083)

7 years ago[runtime] Add locking to mono_gc_compute_gc_descriptor (). (#4084)
Zoltan Varga [Sat, 3 Dec 2016 03:44:01 +0000 (22:44 -0500)]
[runtime] Add locking to mono_gc_compute_gc_descriptor (). (#4084)

7 years agoFix Makefile issue on Windows
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.

7 years ago[marshal] Only copy the minimum of size/length, not the full size, fixes #46288 ...
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)

7 years ago[runtime] Provide fallback for Linux systems that lack CPU_COUNT in sched.h, fixes...
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)

7 years ago[build] Another "make dist" fix
Alexander Köplinger [Sat, 3 Dec 2016 00:38:08 +0000 (01:38 +0100)]
[build] Another "make dist" fix

7 years ago[ci] Add aot-test step like on Wrench (#4064)
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.

7 years ago[runtime] Set klass->inited under the loader lock.
Zoltan Varga [Fri, 2 Dec 2016 23:10:16 +0000 (18:10 -0500)]
[runtime] Set klass->inited under the  loader lock.

7 years ago[runtime] Enable thread6.exe test, it should work now. (#4075)
Zoltan Varga [Fri, 2 Dec 2016 22:22:16 +0000 (17:22 -0500)]
[runtime] Enable thread6.exe test, it should work now. (#4075)

7 years ago[io-layer] Remove FormatMessage (#4055)
Ludovic Henry [Fri, 2 Dec 2016 21:52:02 +0000 (16:52 -0500)]
[io-layer] Remove FormatMessage (#4055)

7 years ago[io-layer] Remove security.{c,h} (#4079)
Ludovic Henry [Fri, 2 Dec 2016 20:06:09 +0000 (15:06 -0500)]
[io-layer] Remove security.{c,h} (#4079)

7 years agoFix "make dist" for roslyn assemblies
Alexander Köplinger [Fri, 2 Dec 2016 19:11:21 +0000 (20:11 +0100)]
Fix "make dist" for roslyn assemblies

7 years ago[build] Fixes make dist
Marek Safar [Fri, 2 Dec 2016 18:58:25 +0000 (19:58 +0100)]
[build] Fixes make dist

7 years agoFix clang warning about no argument function prototype. (#4080)
Aleksey Kliger (λgeek) [Fri, 2 Dec 2016 18:50:24 +0000 (13:50 -0500)]
Fix clang warning about no argument function prototype. (#4080)

7 years ago[runtime] Call mono_class_init () before accessing klass->has_cctor in mono_class_get...
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 ().

7 years ago[System.Runtime.InteropServices.RuntimeInformation] Updated to reference copied files...
Marek Safar [Fri, 2 Dec 2016 17:37:49 +0000 (18:37 +0100)]
[System.Runtime.InteropServices.RuntimeInformation] Updated to reference copied files directly

7 years agoFix windows build error in type-checking.c. (#4078)
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.

7 years ago[msvc] Update csproj files (#4081)
monojenkins [Fri, 2 Dec 2016 17:16:26 +0000 (18:16 +0100)]
[msvc] Update csproj files (#4081)

7 years ago[build] Enable full mcs boostrap for mcs compiler mode
Marek Safar [Fri, 2 Dec 2016 10:36:26 +0000 (11:36 +0100)]
[build] Enable full mcs boostrap for mcs compiler mode

7 years ago[build] Fixes wrong dependency moved in 07c20be565add68c54364d0689c71879ad15571b
Marek Safar [Fri, 2 Dec 2016 17:07:03 +0000 (18:07 +0100)]
[build] Fixes wrong dependency moved in 07c20be565add68c54364d0689c71879ad15571b

7 years ago[corlib] Cleanup more negative sign cultures with unicode prefixes
Marek Safar [Fri, 2 Dec 2016 16:56:28 +0000 (17:56 +0100)]
[corlib] Cleanup more negative sign cultures with unicode prefixes

7 years ago[runtime] Use mono_assembly_get_object_handle instead of mono_assembly_get_object_che...
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

7 years ago[build] Add System.Security.Cryptography.Algorithms to monolite
Marek Safar [Fri, 2 Dec 2016 16:28:33 +0000 (17:28 +0100)]
[build] Add System.Security.Cryptography.Algorithms to monolite

7 years ago[io-layer] Remove status.h, types.h, timefuncs.h and macros.h (#4069)
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

7 years ago[Facades] Add System.Security.Cryptography.Algorithms to net_4_x profile
Marek Safar [Fri, 2 Dec 2016 15:11:52 +0000 (16:11 +0100)]
[Facades] Add System.Security.Cryptography.Algorithms to net_4_x profile

7 years ago[mcs] Don't crash on missing forwarded mscorlib
Marek Safar [Fri, 2 Dec 2016 13:23:27 +0000 (14:23 +0100)]
[mcs] Don't crash on missing forwarded mscorlib

7 years agoMerge pull request #4063 from ntherning/fix-culture-info-problem-in-RepeatInfoTest
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

7 years ago[build] Put back mcs to monolite to support boostrap with mcs only
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

7 years agoRevert "[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

7 years ago[runtime] Avoid rethrowing ThreadAbortException's from cctors down the stack from...
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)

7 years ago[runtime] Change the vtable->initialized bitfield into a byte so its easier to load...
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)

7 years ago[runtime] Implement support for fixed char arrays. Fixes #48429. (#4072)
Zoltan Varga [Fri, 2 Dec 2016 00:02:33 +0000 (19:02 -0500)]
[runtime] Implement support for fixed char arrays. Fixes #48429. (#4072)

7 years ago[build] Put back mcs to monolite to support boostrap with mcs only
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

7 years agoMerge pull request #4053 from xmcclure/babysitter_cygwin
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

7 years ago[msvc] Update csproj files (#4074)
monojenkins [Thu, 1 Dec 2016 21:04:12 +0000 (22:04 +0100)]
[msvc] Update csproj files (#4074)

7 years ago[msvc] Update project files.
Zoltan Varga [Thu, 1 Dec 2016 20:53:20 +0000 (15:53 -0500)]
[msvc] Update project files.

7 years ago[jit] Fix the DISABLE_REMOTING build.
Zoltan Varga [Thu, 1 Dec 2016 20:45:57 +0000 (15:45 -0500)]
[jit] Fix the DISABLE_REMOTING build.

7 years ago[sdb] Execute the 'assembly_load' test earlier to avoid races when the finalizer...
Zoltan Varga [Thu, 1 Dec 2016 20:26:30 +0000 (15:26 -0500)]
[sdb] Execute the 'assembly_load' test earlier to avoid races when the finalizer thread would load another assembly.

7 years ago[x86] Increase some instruction lengths.
Zoltan Varga [Thu, 1 Dec 2016 20:18:25 +0000 (15:18 -0500)]
[x86] Increase some instruction lengths.

7 years ago[genproj] Recognize /deterministic and /runtimemetadataversion
Alexander Köplinger [Thu, 1 Dec 2016 19:57:24 +0000 (20:57 +0100)]
[genproj] Recognize /deterministic and /runtimemetadataversion

7 years agoAdd embedding API to expose empty string instance (#4067)
Mike Voorhees [Thu, 1 Dec 2016 19:53:44 +0000 (14:53 -0500)]
Add embedding API to expose empty string instance (#4067)

* Reuse a single empty string instance

* Undo string empty change to mono_string_new_size_checked and add new embedding api for string empty instead

* Add & use mono_string_empty_checked to fix build error on Linux

* Revert "Add & use mono_string_empty_checked to fix build error on Linux"

This reverts commit 47cafae6573115333fa04776c21e5ddc49fe4b40.

* Remove MONO_RT_EXTERNAL_ONLY to fix build error on linux

7 years agoMerge pull request #4048 from kumpera/iface_casting_cleanup
Rodrigo Kumpera [Thu, 1 Dec 2016 19:16:10 +0000 (11:16 -0800)]
Merge pull request #4048 from kumpera/iface_casting_cleanup

[mini] Reorg casting code + optimize casting of magic array interfaces.

7 years agoModify Jenkins scripts to enable babysitter script on Cygwin
Andi McClure [Thu, 1 Dec 2016 19:08:25 +0000 (14:08 -0500)]
Modify Jenkins scripts to enable babysitter script on Cygwin

7 years agoFix babysitter script to work on Windows (Cygwin) builders
Andi McClure [Thu, 1 Dec 2016 19:07:48 +0000 (14:07 -0500)]
Fix babysitter script to work on Windows (Cygwin) builders

The babysitter script used for CI results was previously able to run
either on Windows or standard UNIX. However, the builders run Cygwin,
which turns out to need special support. To make Cygwin work two
changes were made:

1. Paths which are exported to Mono get filtered through `cygpath`.
Paths received back from Mono are filtered in reverse. The script now
tracks two sets of path strings.

2. Under certain circumstances in Cygwin, pgkill() attempts to close a
process group and finds it does not exist. My assumption is that this
is because it has already been closed. I dealt with this by simply
catching the failure and printing a warning.

7 years ago[w32handle] Rename `statuscode` parameter to `abandoned`
Ludovic Henry [Mon, 28 Nov 2016 20:50:28 +0000 (15:50 -0500)]
[w32handle] Rename `statuscode` parameter to `abandoned`

This parameter is only used to check if a mutex has been abandonned.

7 years ago[corlib] Use Directory.GetFiles/GetDirectories implementation from referencesource...
Alexander Köplinger [Thu, 1 Dec 2016 16:48:26 +0000 (17:48 +0100)]
[corlib] Use Directory.GetFiles/GetDirectories implementation from referencesource (#4042)

We already had implementations of the Windows APIs like FindFirstFile/FindNextFile
in native code but we wrapped it with some convenience functions for our implementation.

The referencesource code works directly against those APIs so I added new icall functions
that are just used for passing data to/from native code.

Note that we have the same problem in the DirectoryInfo.GetFiles() implementation.
Right now that one still uses the old Mono implementation, switching it over to
the referencesource implementation will be done in a separate commit.

Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=42715

7 years agoMerge pull request #4065 from akoeplinger/add-mcs-lane
Alexander Köplinger [Thu, 1 Dec 2016 15:53:37 +0000 (16:53 +0100)]
Merge pull request #4065 from akoeplinger/add-mcs-lane

[ci] Add job configuration for testing Mono with mcs as compiler

7 years ago[io-layer] Remove DuplicateHandle
Ludovic Henry [Tue, 29 Nov 2016 16:51:00 +0000 (11:51 -0500)]
[io-layer] Remove DuplicateHandle

7 years agoFix typo in readme.md
Alexander Köplinger [Thu, 1 Dec 2016 15:41:27 +0000 (16:41 +0100)]
Fix typo in readme.md

Also format the options without braces like in the other examples.

7 years agoMerge pull request #4045 from lambdageek/bug-47867
Aleksey Kliger (λgeek) [Thu, 1 Dec 2016 15:33:25 +0000 (10:33 -0500)]
Merge pull request #4045 from lambdageek/bug-47867

[sre] Ensure generic_context is created before instantiating a TypeBuilder

7 years agoEnsure the System.Web.UI.WebControls.RepeatInfo_Autogen test runs under en-US
Niklas Therning [Thu, 1 Dec 2016 12:55:29 +0000 (13:55 +0100)]
Ensure the System.Web.UI.WebControls.RepeatInfo_Autogen test runs under en-US

7 years agoMerge pull request #4051 from Unity-Technologies/registry-bug-fixes
Niklas Therning [Thu, 1 Dec 2016 14:40:40 +0000 (15:40 +0100)]
Merge pull request #4051 from Unity-Technologies/registry-bug-fixes

Fix a bug in registry API implementation where had wrong assumptions about possible registry size.

7 years agoFix code convention on changed code.
Tautvydas Žilys [Thu, 1 Dec 2016 14:02:12 +0000 (16:02 +0200)]
Fix code convention on changed code.

7 years ago[ci] Add job configuration for testing Mono with mcs as compiler
Alexander Köplinger [Thu, 1 Dec 2016 13:49:52 +0000 (14:49 +0100)]
[ci] Add job configuration for testing Mono with mcs as compiler

To ensure it doesn't break now that we're using Roslyn by default.

7 years agoEnabled possibility to exclude SafeArray implementation on Windows.
lateralusX [Thu, 1 Dec 2016 11:34:58 +0000 (12:34 +0100)]
Enabled possibility to exclude SafeArray implementation on Windows.

SafeArray implementation is not available under all Windows API families. This commit
extracts SafeArray methods making it possible to exclude them under Windows API families
not supporting SafeArrays.

7 years ago[acceptance-tests] Use portable pdb for csc
Alexander Köplinger [Thu, 1 Dec 2016 11:15:21 +0000 (12:15 +0100)]
[acceptance-tests] Use portable pdb for csc

7 years agoMerge pull request #4033 from ntherning/no-stdcall-for-icalls-on-windows-32-bit
Niklas Therning [Thu, 1 Dec 2016 09:42:25 +0000 (10:42 +0100)]
Merge pull request #4033 from ntherning/no-stdcall-for-icalls-on-windows-32-bit

Use __cdecl rather than __stdcall for icalls on Windows 32-bit

7 years ago[jit] Enable inlining inside gshared methods. (#4059)
Zoltan Varga [Thu, 1 Dec 2016 07:10:07 +0000 (02:10 -0500)]
[jit] Enable inlining inside gshared methods. (#4059)

7 years agoRevert "Only allocate 1 empty string instance per AppDomain " (#4062)
Zoltan Varga [Thu, 1 Dec 2016 03:28:41 +0000 (22:28 -0500)]
Revert "Only allocate 1 empty string instance per AppDomain " (#4062)

7 years ago[build] Don't use runtime flags on basic boostrap (they are too new)
Marek Safar [Wed, 30 Nov 2016 21:58:46 +0000 (22:58 +0100)]
[build] Don't use runtime flags on basic boostrap (they are too new)

7 years agoOnly allocate 1 empty string instance per AppDomain (#4047)
Mike Voorhees [Wed, 30 Nov 2016 21:40:19 +0000 (16:40 -0500)]
Only allocate 1 empty string instance per AppDomain  (#4047)

* Reuse a single empty string instance

* Undo string empty change to mono_string_new_size_checked and add new embedding api for string empty instead

7 years ago[ci] Bump timeout in ms-test-suite
Alexander Köplinger [Wed, 30 Nov 2016 21:10:44 +0000 (22:10 +0100)]
[ci] Bump timeout in ms-test-suite

Compiling the test exe's is taking longer now with roslyn.

7 years ago[configure] Detect endianess and use mcs for big-endian systems.
Miguel de Icaza [Wed, 30 Nov 2016 19:53:43 +0000 (14:53 -0500)]
[configure] Detect endianess and use mcs for big-endian systems.

Renames the flag to be more explicit on the intended purpose.  Also,
document the new configuration flag.

The default will probe the right compiler to use.

7 years agoBump bockbuild
Alexis Christoforides [Wed, 30 Nov 2016 19:23:04 +0000 (14:23 -0500)]
Bump bockbuild

7 years ago[msvc] Update csproj files
monojenkins [Wed, 30 Nov 2016 17:09:51 +0000 (17:09 +0000)]
[msvc] Update csproj files

7 years ago[tests] Use CSC to compile gc-descriptors test (#4052)
Aleksey Kliger (λgeek) [Wed, 30 Nov 2016 18:54:21 +0000 (13:54 -0500)]
[tests] Use CSC to compile gc-descriptors test (#4052)

7 years agoMerge pull request #4050 from akoeplinger/profile-speedup
Alexander Köplinger [Wed, 30 Nov 2016 18:47:47 +0000 (19:47 +0100)]
Merge pull request #4050 from akoeplinger/profile-speedup

[ci] Only build the additional profiles on one arch instead of everywhere

7 years ago[io-layer] Remove wait.h
Ludovic Henry [Mon, 28 Nov 2016 20:47:33 +0000 (15:47 -0500)]
[io-layer] Remove wait.h

7 years ago[io-layer] Remove INFINITE
Ludovic Henry [Mon, 28 Nov 2016 20:11:11 +0000 (15:11 -0500)]
[io-layer] Remove INFINITE

7 years ago[io-layer] Extract WaitForSingleObjectEx, WaitForMultipleObjectsEx and SignalObjectAn...
Ludovic Henry [Mon, 28 Nov 2016 19:55:09 +0000 (14:55 -0500)]
[io-layer] Extract WaitForSingleObjectEx, WaitForMultipleObjectsEx and SignalObjectAndWait

7 years ago[reflection] Use mono_module_get_object_handle everywhere (#4010)
Aleksey Kliger (λgeek) [Wed, 30 Nov 2016 17:20:30 +0000 (12:20 -0500)]
[reflection] Use mono_module_get_object_handle everywhere (#4010)

* [reflection] Refactor managed object caching

Split up all the mono_XXX_get_object_checked functions into a generic
cache check and a specific construction function that's called if
there's a cache miss.

* [reflection] Add mono_assembly_get_object_handle

* [reflection] Add mono_module_get_object_handle

* [reflection] Use mono_module_get_object_handle everywhere

instead of mono_module_get_object_checked.

Also implement mono_module_file_get_object_handle instead of mono_module_file_get_object_checked

7 years agoBump bockbuild
Alexis Christoforides [Wed, 30 Nov 2016 16:47:09 +0000 (11:47 -0500)]
Bump bockbuild

7 years agoBump corert submodule
Alexander Köplinger [Wed, 30 Nov 2016 16:21:00 +0000 (17:21 +0100)]
Bump corert submodule

7 years ago[build] Add --with-mcs-compiler config option
Marek Safar [Wed, 30 Nov 2016 10:08:59 +0000 (11:08 +0100)]
[build] Add --with-mcs-compiler config option

7 years ago[mcs] Fixes runtimemetadataversion option check
Marek Safar [Wed, 30 Nov 2016 10:05:28 +0000 (11:05 +0100)]
[mcs] Fixes runtimemetadataversion option check

7 years agoFix a bug in registry API implementation where had wrong assumptions about possible...
Tautvydas Žilys [Wed, 30 Nov 2016 14:40:21 +0000 (16:40 +0200)]
Fix a bug in registry API implementation where had wrong assumptions about possible registry size.

7 years ago[build] Prepare roslyn 2.0 bootstrap dependencies
Marek Safar [Wed, 30 Nov 2016 14:29:30 +0000 (15:29 +0100)]
[build] Prepare roslyn 2.0 bootstrap dependencies

7 years ago[build] Set monolite path also for Facades
Marek Safar [Wed, 30 Nov 2016 14:21:13 +0000 (15:21 +0100)]
[build] Set monolite path also for Facades

7 years agoMerge pull request #3748 from akoeplinger/fix-rng-monotouch
Alexander Köplinger [Wed, 30 Nov 2016 13:56:51 +0000 (14:56 +0100)]
Merge pull request #3748 from akoeplinger/fix-rng-monotouch

[corlib] Simplify RNGCryptoServiceProvider file name on MT and enable tests

7 years ago[xbuild] Add workaround for pre-2.0 csc and convert full to portable debug mode
Marek Safar [Wed, 30 Nov 2016 13:35:54 +0000 (14:35 +0100)]
[xbuild] Add workaround for pre-2.0 csc and convert full to portable debug mode

7 years ago[ci] Only build the additional profiles on one arch instead of everywhere
Alexander Köplinger [Wed, 30 Nov 2016 13:31:12 +0000 (14:31 +0100)]
[ci] Only build the additional profiles on one arch instead of everywhere

The additional profiles like monotouch, monodroid etc. are normal
managed code anyway and are the same no matter where they're built
so we can save a lot of CI time by not building them e.g. on slower
ARM bots.

7 years ago[build] Use custom nursery size and clean up csc runtime arguments
Marek Safar [Tue, 29 Nov 2016 18:51:14 +0000 (19:51 +0100)]
[build] Use custom nursery size and clean up csc runtime arguments

7 years ago[referencesource] Fix a regression from 47a6f56439c9deab287be770c902d41e91480799
Alexander Köplinger [Wed, 30 Nov 2016 01:20:55 +0000 (02:20 +0100)]
[referencesource] Fix a regression from 47a6f56439c9deab287be770c902d41e91480799

ResourceSets needs to be initialized on Mono.

7 years ago[mini] Use the array fast path with array magic interfaces. Do the expensive check...
Rodrigo Kumpera [Wed, 30 Nov 2016 00:34:33 +0000 (16:34 -0800)]
[mini] Use the array fast path with array magic interfaces. Do the expensive check in the slow path.

7 years ago[mini] Cleanup type casting a bit. Unify cast with with cache setup code.
Rodrigo Kumpera [Tue, 29 Nov 2016 22:02:42 +0000 (14:02 -0800)]
[mini] Cleanup type casting a bit. Unify cast with with cache setup code.

7 years ago[jit] Add counters for number of JITted method discarded as duplicates and the time...
Zoltan Varga [Tue, 29 Nov 2016 21:46:19 +0000 (16:46 -0500)]
[jit] Add counters for number of JITted method discarded as duplicates and the time spent JITting them. Remove opt set from -v output, it just adds noise.

7 years agoMerge pull request #4041 from CyberShadow/pull-20161129-100901
Marek Safar [Tue, 29 Nov 2016 20:07:54 +0000 (21:07 +0100)]
Merge pull request #4041 from CyberShadow/pull-20161129-100901

ilasm: Add stub parsing for .data cil attribute

7 years agoAdd CoreRT submodule
Marek Safar [Tue, 29 Nov 2016 18:20:11 +0000 (19:20 +0100)]
Add CoreRT submodule

7 years ago[bcl] Clean up some warnings
Marek Safar [Tue, 29 Nov 2016 18:16:02 +0000 (19:16 +0100)]
[bcl] Clean up some warnings

7 years ago[sre] Do we ever try to instantiate a generic instance? Assert that we don't.
Aleksey Kliger [Tue, 29 Nov 2016 15:34:39 +0000 (10:34 -0500)]
[sre] Do we ever try to instantiate a generic instance? Assert that we don't.