mono.git
7 years agoMerge pull request #4781 from kumpera/unaligned-cleanup-1
Rodrigo Kumpera [Tue, 9 May 2017 23:01:57 +0000 (19:01 -0400)]
Merge pull request #4781 from kumpera/unaligned-cleanup-1

First pass of cleanups to introduce a clear layer that deals with emiting load/stores.

7 years agoBump corefx
Marek Safar [Tue, 9 May 2017 15:52:43 +0000 (17:52 +0200)]
Bump corefx

7 years ago[runtime] Update msvc build scripts.
Rodrigo Kumpera [Tue, 9 May 2017 20:51:11 +0000 (13:51 -0700)]
[runtime] Update msvc build scripts.

7 years ago[jit] Allow inlining of methods with the AggressiveInlining flag even if they make...
Zoltan Varga [Tue, 9 May 2017 19:36:22 +0000 (15:36 -0400)]
[jit] Allow inlining of methods with the AggressiveInlining flag even if they make calls. (#4811)

7 years ago[jit] Mark bblocks making calls to the corlib ThrowHelper class as out of line. ...
Zoltan Varga [Tue, 9 May 2017 18:33:26 +0000 (14:33 -0400)]
[jit] Mark bblocks making calls to the corlib ThrowHelper class as out of line. (#4812)

7 years ago[System.Data] Update cas test category
Marek Safar [Tue, 9 May 2017 17:14:51 +0000 (19:14 +0200)]
[System.Data] Update cas test category

7 years ago[mcs] Conditional check on attribute type needs to check its base types too
Marek Safar [Tue, 9 May 2017 17:02:48 +0000 (19:02 +0200)]
[mcs] Conditional check on attribute type needs to check its base types too

7 years ago[msvc] Update csproj files (#4813)
monojenkins [Tue, 9 May 2017 16:58:10 +0000 (18:58 +0200)]
[msvc] Update csproj files (#4813)

7 years ago[System]: Remove 'SECURITY_DEP' conditional from HttpListener and related classes...
Martin Baulig [Tue, 9 May 2017 15:22:19 +0000 (11:22 -0400)]
[System]: Remove 'SECURITY_DEP' conditional from HttpListener and related classes. (#4810)

7 years ago[tools] Add resx2sr to "build" profile (#4807)
Alexander Köplinger [Tue, 9 May 2017 12:28:10 +0000 (14:28 +0200)]
[tools] Add resx2sr to "build" profile (#4807)

Similar to 9635b9cea0515432fead4c370b0533db91861bfe we
can now break the dependency on WinForms from resx2sr.

This allows us to add it to the "build" profile
and clean up the Makefile.

7 years ago[jit] Add mini_emit_memory_store and use it for STOBJ.
Rodrigo Kumpera [Mon, 1 May 2017 23:36:33 +0000 (16:36 -0700)]
[jit] Add mini_emit_memory_store and use it for STOBJ.

7 years ago[jit] Fix identation.
Rodrigo Kumpera [Mon, 8 May 2017 23:11:58 +0000 (16:11 -0700)]
[jit] Fix identation.

7 years ago[jit] Use mini_emit_memory_load for ldind, ldobj and ldfld
Rodrigo Kumpera [Mon, 8 May 2017 23:11:45 +0000 (16:11 -0700)]
[jit] Use mini_emit_memory_load for ldind, ldobj and ldfld

7 years ago[jit] Add mini_emit_memory_load that is to be used to lower CIL memory loads.
Rodrigo Kumpera [Mon, 8 May 2017 23:09:28 +0000 (16:09 -0700)]
[jit] Add mini_emit_memory_load that is to be used to lower CIL memory loads.

7 years ago[System]: Add private '_internalLock' field to HttpListener. (#4809)
Martin Baulig [Mon, 8 May 2017 22:33:08 +0000 (18:33 -0400)]
[System]: Add private '_internalLock' field to HttpListener. (#4809)

After switching to the CoreFx version, HttpListener.Mono.cs will remain,
so it needs to use the proper locking object.

7 years ago[bcl] Add API diff for monotouch/monodroid profiles (#4805)
Alexander Köplinger [Mon, 8 May 2017 22:08:05 +0000 (00:08 +0200)]
[bcl] Add API diff for monotouch/monodroid profiles (#4805)

This runs the API diff against the monotouch and monodroid
profiles in addition to net_4_x to help us catch mistakes that
only affect the mobile profiles.

To make updating the API snapshot in case of an intentional change
easier without needing to build those profiles locally I added
a way to download the diff as a .patch file. You can just download
the file from the API diff Jenkins generates and apply it locally.

7 years ago[bcl] Cleanup outdated csproj/sln files (#4806)
Alexander Köplinger [Mon, 8 May 2017 22:07:45 +0000 (00:07 +0200)]
[bcl] Cleanup outdated csproj/sln files (#4806)

They were either replaced by the autogenerated csproj files
or just completely broken for years.

7 years ago[sdb] Avoid printing out the ThreadAbortException used to abort the protocol receiver...
Zoltan Varga [Mon, 8 May 2017 21:34:06 +0000 (17:34 -0400)]
[sdb] Avoid printing out the ThreadAbortException used to abort the protocol receiver thread. (#4804)

7 years ago[System]: Make HttpListener partial and move Mono-specific bits into HttpListener...
Martin Baulig [Mon, 8 May 2017 20:27:04 +0000 (16:27 -0400)]
[System]: Make HttpListener partial and move Mono-specific bits into HttpListener.Mono.cs. (#4808)

* [System]: Make HttpListener partial and move Mono-specific bits into HttpListener.Mono.cs.

* Remove ancient EMBEDDED_IN_1_0 conditional.

* Remove unused using statements.

* HttpListener.CreateSslStream() now uses RemoteCertificateValidationCallback.

7 years ago[System]: Rename the internal class 'ChunkStream' into 'MonoChunkStream'. (#4803)
Martin Baulig [Mon, 8 May 2017 16:13:50 +0000 (12:13 -0400)]
[System]: Rename the internal class 'ChunkStream' into 'MonoChunkStream'. (#4803)

* [System]: Fully stub-out SslStream on platforms where it's not supported.

* Remove 'SECURITY_DEP' conditional from LocalCertificateSelectionCallback.

* Add the internal delegates and remove 'SECURITY_DEP' from SslStream.platformnotsupported.cs.

* In SslStream.cs, we now provide the full API when '!SECURITY_DEP' using the
PlatformNotSupportedException()-based implementation from SslStream.platformnotsupported.cs

* [System]: Rename the internal class 'ChunkStream' into 'MonoChunkStream'.

Our 'ChunkStream' is used by 'WebConnection', so it will stay after using
HttpListener from corefx.

7 years ago[System]: Fully stub-out SslStream on platforms where it's not supported (#4802)
Martin Baulig [Mon, 8 May 2017 16:12:08 +0000 (12:12 -0400)]
[System]: Fully stub-out SslStream on platforms where it's not supported (#4802)

* [System]: Fully stub-out SslStream on platforms where it's not supported.

* Remove 'SECURITY_DEP' conditional from LocalCertificateSelectionCallback.

* Add the internal delegates and remove 'SECURITY_DEP' from SslStream.platformnotsupported.cs.

* In SslStream.cs, we now provide the full API when '!SECURITY_DEP' using the
PlatformNotSupportedException()-based implementation from SslStream.platformnotsupported.cs

* Fix typo.

7 years agoMerge pull request #4799 from xmcclure/mingw-has-secure-api
Rodrigo Kumpera [Mon, 8 May 2017 16:07:46 +0000 (12:07 -0400)]
Merge pull request #4799 from xmcclure/mingw-has-secure-api

Fix mingw/mxe build

7 years ago[mono-error] Always call TLE(string,string) constructor
Aleksey Kliger [Tue, 2 May 2017 20:44:33 +0000 (16:44 -0400)]
[mono-error] Always call TLE(string,string) constructor

if assembly name is NULL, mono_exception_from_name_two_strings_checked looks
for a TLE(string) constructor - which takes a message - which we immediately
overwrite.

So pass the empty string instead, which goes to the (Mono-specific)
TLE(string,string) constructor which intializes ClassName and AssemblyName
members of a TLE.

7 years ago[runtime] Fail classes that have a field with a bad underlying type
Aleksey Kliger [Mon, 1 May 2017 14:55:41 +0000 (10:55 -0400)]
[runtime] Fail classes that have a field with a bad underlying type

If a class T has a field e of enum type E, and E is either
incomplete (EnumBuilder that hasn't had CreateType called) or a broken class,
then mark T as failed.

7 years ago[test] Don't crash if incomplete enum type is a static field in a class
Aleksey Kliger [Tue, 2 May 2017 20:42:58 +0000 (16:42 -0400)]
[test] Don't crash if incomplete enum type is a static field in a class

7 years agoFix mingw/mxe build
Andi McClure [Fri, 5 May 2017 17:29:18 +0000 (13:29 -0400)]
Fix mingw/mxe build

wcscat_s is not available on mingw unless a special symbol is defined. Add this symbol to exceptions-amd64.c

7 years ago[jit] Fix 4c0df6de333fe18abb97fbc7ea8f6e77d92f5451, use __GNUC__ instead of GNUC.
Zoltan Varga [Fri, 5 May 2017 12:28:36 +0000 (08:28 -0400)]
[jit] Fix 4c0df6de333fe18abb97fbc7ea8f6e77d92f5451, use __GNUC__ instead of GNUC.

7 years ago[interp] do widening for more arith ops
Bernhard Urban [Wed, 3 May 2017 08:45:40 +0000 (10:45 +0200)]
[interp] do widening for more arith ops

7 years ago[configure.ac] Fix inadvertently invoking X server (#4792)
Alexander Köplinger [Thu, 4 May 2017 22:04:43 +0000 (00:04 +0200)]
[configure.ac] Fix inadvertently invoking X server (#4792)

I noticed this when I cleaned my Mono repo and reran autogen.sh.
I suddenly got a popup from XQuartz about "Unrecognized option: =".

Turns out this was introduced in 9e967f00b3073671b340c1a4e3da7253d5213668,
the second half of the if is missing `test`, so it actually runs
`x = xyes` which starts XQuartz :D

Also cleaned up the USE_NLS checking since that ran immediately
before this and just printed "no" before which confused me.

7 years agoMerge pull request #4782 from lambdageek/dev-mono_string_new-excise
Aleksey Kliger (λgeek) [Thu, 4 May 2017 21:31:01 +0000 (17:31 -0400)]
Merge pull request #4782 from lambdageek/dev-mono_string_new-excise

[runtime] Mark mono_string_new external only

7 years agoMerge pull request #4788 from xmcclure/if-winrt
Andi McClure [Thu, 4 May 2017 20:56:12 +0000 (16:56 -0400)]
Merge pull request #4788 from xmcclure/if-winrt

Fix hybrid AOT build

7 years ago[System]: Fix TLS Provider registration and use BTLS instead of Legacy. (#4793)
Martin Baulig [Thu, 4 May 2017 20:51:16 +0000 (16:51 -0400)]
[System]: Fix TLS Provider registration and use BTLS instead of Legacy. (#4793)

7 years agoRequire #if WIN_PLATFORM more strictly around some WinRT timezone functions
Andi McClure [Wed, 3 May 2017 21:34:07 +0000 (17:34 -0400)]
Require #if WIN_PLATFORM more strictly around some WinRT timezone functions

This was breaking the hybrid AOT build.

7 years ago[runtime] Mark mono_string_new external only
Aleksey Kliger [Tue, 2 May 2017 17:38:10 +0000 (13:38 -0400)]
[runtime] Mark mono_string_new external only

Runtime should use mono_string_new_checked

7 years ago[interp] Use mono_string_new_checked instead of mono_string_new
Aleksey Kliger [Tue, 2 May 2017 17:37:46 +0000 (13:37 -0400)]
[interp] Use mono_string_new_checked instead of mono_string_new

7 years ago[mini] Use mono_string_new_checked instead of mono_string_new
Aleksey Kliger [Tue, 2 May 2017 16:00:33 +0000 (12:00 -0400)]
[mini] Use mono_string_new_checked instead of mono_string_new

(mono-security-windows.c) (aot-compiler.c) (debugger-agent.c) (driver.c) (mini-exceptions.c)

7 years ago[runtime] Use coop handles for some simple icalls
Aleksey Kliger [Mon, 1 May 2017 19:43:02 +0000 (15:43 -0400)]
[runtime] Use coop handles for some simple icalls

- System.Text.EncodingHelper.InternalCodePage
- System.Runtime.InteropServices.Marshal.PtrToStringAnsi(intptr)
- Use coop handles for ves_icall_System_Configuration_DefaultConfig_get_machine_config_path
- Use coop handles for ves_icall_System_Configuration_InternalConfigurationHost_get_bundled_app_config
- Use coop handles for System.Web.Util.ICalls.GetMachineInstallDirectory

7 years ago[locales] Use coop handles for System.Globalization.CultureInfo.get_current_locale_name
Aleksey Kliger [Mon, 1 May 2017 20:33:18 +0000 (16:33 -0400)]
[locales] Use coop handles for System.Globalization.CultureInfo.get_current_locale_name

7 years ago[runtime] Use coop handles for System.Environment icalls
Aleksey Kliger [Mon, 1 May 2017 18:47:24 +0000 (14:47 -0400)]
[runtime] Use coop handles for System.Environment icalls

- get_UserName
- get_NewLine
- get_MachineName
- GetWindowsFolderPath
- GetOSVersionString

MonoError-ize mono_icall_get_environment_variable_names

7 years ago[appdomain] Make mono_domain_set_config external only
Aleksey Kliger [Fri, 28 Apr 2017 19:38:05 +0000 (15:38 -0400)]
[appdomain] Make mono_domain_set_config external only

Runtime should use mono_domain_config_checked ()

7 years ago[locales] Use mono_string_new_checked instead of mono_string_new
Aleksey Kliger [Mon, 1 May 2017 22:15:17 +0000 (18:15 -0400)]
[locales] Use mono_string_new_checked instead of mono_string_new

7 years ago[runtime] Use mono_string_new_checked instead of mono_string_new
Aleksey Kliger [Fri, 28 Apr 2017 19:37:22 +0000 (15:37 -0400)]
[runtime] Use mono_string_new_checked instead of mono_string_new

(w32file.c) (filewatcher.c) (appdomain.c) (attach.c) (appdomain.c)
(gc.c) (marshal.c) (mono-perfcounters.c) (mono-security.c) (object.c)
(sre.c) (threadpool.c) (threads.c) (w32process.c) (w32socket.c)

7 years ago[jit] Compile unwinder_unwind_frame without optimization on arm64 as old gcc versions...
Zoltan Varga [Thu, 4 May 2017 15:58:59 +0000 (11:58 -0400)]
[jit] Compile unwinder_unwind_frame without optimization on arm64 as old gcc versions seems to miscompile it.

7 years ago[mono-route] Use _checked functions
Aleksey Kliger [Tue, 2 May 2017 15:56:38 +0000 (11:56 -0400)]
[mono-route] Use _checked functions

And include config.h

7 years ago[mono-error] Use mono_string_new_checked instead of mono_string_new
Aleksey Kliger [Mon, 1 May 2017 14:43:16 +0000 (10:43 -0400)]
[mono-error] Use mono_string_new_checked instead of mono_string_new

7 years ago[runtime] Use mono_string_new_checked in exception.c
Aleksey Kliger [Mon, 1 May 2017 18:18:22 +0000 (14:18 -0400)]
[runtime] Use mono_string_new_checked in exception.c

7 years ago[pedump] Fix running with cooperative GC
Aleksey Kliger [Wed, 3 May 2017 21:34:50 +0000 (17:34 -0400)]
[pedump] Fix running with cooperative GC

This is the pedump analog of 9f5115a343213e7ce27b197c96274cc611a05284
which fixed monodis under coop.

7 years ago[bcl] Add .NET 4.7 reference assemblies (#4791)
Alexander Köplinger [Thu, 4 May 2017 10:56:27 +0000 (12:56 +0200)]
[bcl] Add .NET 4.7 reference assemblies (#4791)

7 years ago[System.Net.Http] Fix XI build
Alexander Köplinger [Thu, 4 May 2017 04:11:24 +0000 (06:11 +0200)]
[System.Net.Http] Fix XI build

7 years ago[jit] Fix memory leak in trampoline info registration. (#4775)
vkargov [Wed, 3 May 2017 20:28:58 +0000 (13:28 -0700)]
[jit] Fix memory leak in trampoline info registration. (#4775)

7 years ago[MacSDK] Build msbuild for Release config
Alexis Christoforides [Wed, 3 May 2017 19:56:47 +0000 (15:56 -0400)]
[MacSDK] Build msbuild for Release config

7 years agoMerge pull request #4787 from BrzVlad/fix-degraded-mode
Vlad Brezae [Wed, 3 May 2017 19:47:01 +0000 (22:47 +0300)]
Merge pull request #4787 from BrzVlad/fix-degraded-mode

[sgen] Fix accidental triggering of degraded mode

7 years agoBump bockbuild
Alexis Christoforides [Wed, 3 May 2017 18:50:27 +0000 (14:50 -0400)]
Bump bockbuild

7 years agoMerge pull request #4780 from xmcclure/assembly-loader-default
Andi McClure [Wed, 3 May 2017 17:45:44 +0000 (13:45 -0400)]
Merge pull request #4780 from xmcclure/assembly-loader-default

Document --assembly-loader and change default to 'legacy'

7 years agoDocument --assembly-loader, change default to 'legacy' and fix comment
Andi McClure [Mon, 1 May 2017 20:11:43 +0000 (16:11 -0400)]
Document --assembly-loader, change default to 'legacy' and fix comment

Also set testing_gac tests to use --assembly-loader=strict, since it is no longer the default

7 years ago[sgen] Fix accidental triggering of degraded mode
Vlad Brezae [Wed, 3 May 2017 14:11:00 +0000 (17:11 +0300)]
[sgen] Fix accidental triggering of degraded mode

We trigger degraded mode when we are unable to properly build the nursery fragments due to excessive nursery pinning. This is done by initializing degraded_mode at the end of a minor. alloc_degraded is used to do allocation to major heap either as part of mature allocation or as part of degraded mode (when we bump the degraded_mode so we can detect when the next minor should be triggered).

When failing to allocate from the nursery after doing a minor (because the other threads might have already consumed the nursery) we need to do a mature allocation (as a fallback) instead of a degraded mode allocation so we don't uselessly enable the mode.

7 years agoMixed mode exception handling (#4777)
Zoltan Varga [Wed, 3 May 2017 04:45:59 +0000 (00:45 -0400)]
Mixed mode exception handling (#4777)

* [mixed] Add beginnings of unwinding support for interp->jit transitions by pushing an LMF frame on the stack when exiting interpreted code.

* [runtime] Add a mono_debug_lookup_source_location_by_il () helper function to lookup a source location using an IL offset.

* [mixed] Add support for mixed mode managed stack walks.

* [interp] Generate line number info for interpreted code, using the same MonoDebugMethodJitInfo structure used by the JIT.

* [interp] Pass the clause index to the MINT_ENDFINALLY opcode. Not yet used.

* [interp] Create a MonoJitInfo structure for each interpreted method. Not yet used.

* [interp] Add a mono_interp_set_resume_state () function which can be used to set the frame/ip the interpreter will resume execution from when execution returns to it.

* [mixed] Add support for mixed mode exception handling by extending the normal JIT exception handling code in mini-exceptions.c to handle interpreted frames as well.

* [jit] Add an Unwinder type to reduce the amount of code duplication when unwinding though interpreter frames.

* [interp] Fix the !ENABLE_INTERPRETER build.

* [interp] Disable an assert which is hit even when running without --interpreter.

* Fix a comment.

* [interp] Fix an assertion. Fix/add comments.

7 years ago[loader] Add a few Framework Facades assemblies (#4784)
Aleksey Kliger (λgeek) [Tue, 2 May 2017 23:01:28 +0000 (19:01 -0400)]
[loader] Add a few Framework Facades assemblies (#4784)

that were previously missing, or mislabeled as ordinary framework assemblies.

7 years ago[MacSDK] Add 'csc' (Roslyn compiler) to whitelist
Alexis Christoforides [Tue, 2 May 2017 17:10:00 +0000 (13:10 -0400)]
[MacSDK] Add 'csc' (Roslyn compiler) to whitelist

7 years ago[jit] Move memcpy and memset emmiters to new file called memory-access.c
Rodrigo Kumpera [Mon, 1 May 2017 20:50:22 +0000 (13:50 -0700)]
[jit] Move memcpy and memset emmiters to new file called memory-access.c

7 years ago[mini] Rename & expose a few functions to mini.h.
Rodrigo Kumpera [Mon, 1 May 2017 20:14:37 +0000 (13:14 -0700)]
[mini] Rename & expose a few functions to mini.h.

This adds to mini.h & fixes naming of the following functions:
emit_get_gsharedvt_info_klass
mono_emit_calli
get_memcpy_method
get_memset_method
emit_memory_barrier
emit_runtime_constant
mini_class_check_context_used
mono_emit_wb_aware_memcpy
emit_write_barrier

Those functions will be used later by the memory access functions to be extracted out of method-to-ir.c

7 years ago[ci] Output nunit xml if "verify" test step fails
Alexander Köplinger [Sat, 29 Apr 2017 21:43:53 +0000 (23:43 +0200)]
[ci] Output nunit xml if "verify" test step fails

Allows us to better catch this on Jenkins.

7 years ago[ci] Don't fail when setting GitHub status doesn't work
Alexander Köplinger [Sat, 29 Apr 2017 21:17:27 +0000 (23:17 +0200)]
[ci] Don't fail when setting GitHub status doesn't work

7 years ago[msvc] Update csproj files (#4776)
monojenkins [Sat, 29 Apr 2017 16:35:42 +0000 (18:35 +0200)]
[msvc] Update csproj files (#4776)

7 years agoMerge pull request #4767 from lambdageek/bug-55681
Aleksey Kliger (λgeek) [Fri, 28 Apr 2017 21:44:27 +0000 (17:44 -0400)]
Merge pull request #4767 from lambdageek/bug-55681

[sre-save] Handle ConstructorBuilder custom attribute constructors

7 years agoMerge pull request #4759 from lambdageek/flags-strict-strong-names
Aleksey Kliger (λgeek) [Fri, 28 Apr 2017 21:43:50 +0000 (17:43 -0400)]
Merge pull request #4759 from lambdageek/flags-strict-strong-names

Put strict strong name checking behind a configure flag and runtime option

7 years ago[interp] implement MONO_JIT_{AT,DE}TACH, so native2managed wrappers can be handled...
Bernhard Urban [Wed, 26 Apr 2017 15:21:30 +0000 (17:21 +0200)]
[interp] implement MONO_JIT_{AT,DE}TACH, so native2managed wrappers can be handled by the interpreter

7 years ago[interp] implement CEE_MONO_{TLS,ATOMIC_STORE_I4}
Bernhard Urban [Wed, 26 Apr 2017 15:21:28 +0000 (17:21 +0200)]
[interp] implement CEE_MONO_{TLS,ATOMIC_STORE_I4}

so we can execute the alloc wrapper

7 years ago[interp] remove ves_exec_method_with_context_with_ip, othwerwise we end up having...
Bernhard Urban [Wed, 26 Apr 2017 15:21:24 +0000 (17:21 +0200)]
[interp] remove ves_exec_method_with_context_with_ip, othwerwise we end up having to native frames for each managed frame in the debugger

and that's annoying.

7 years ago[tests] print seed
Bernhard Urban [Tue, 25 Apr 2017 22:13:38 +0000 (00:13 +0200)]
[tests] print seed

I've seen this test failing on CI with --interpreter, can't reproduce it
though.  Next time it would be nice to see the used seed.

7 years ago[interp] enable a couple delegate tests on CI
Bernhard Urban [Tue, 25 Apr 2017 22:13:38 +0000 (00:13 +0200)]
[interp] enable a couple delegate tests on CI

7 years ago[interp] testcase for static field stuff
Bernhard Urban [Tue, 25 Apr 2017 22:13:38 +0000 (00:13 +0200)]
[interp] testcase for static field stuff

7 years ago[interp] resolve MonoClass and MonoClassField from image like we do in mini
Bernhard Urban [Tue, 25 Apr 2017 22:13:38 +0000 (00:13 +0200)]
[interp] resolve MonoClass and MonoClassField from image like we do in mini

7 years ago[interp] resolve right class for valuetype
Bernhard Urban [Tue, 25 Apr 2017 22:13:38 +0000 (00:13 +0200)]
[interp] resolve right class for valuetype

7 years ago[interp] check for pending exceptions after icall
Bernhard Urban [Tue, 25 Apr 2017 22:13:38 +0000 (00:13 +0200)]
[interp] check for pending exceptions after icall

7 years ago[interp] let JIT handle native2managed wrappers, but hack around dynamic methods
Bernhard Urban [Tue, 25 Apr 2017 22:13:37 +0000 (00:13 +0200)]
[interp] let JIT handle native2managed wrappers, but hack around dynamic methods

7 years ago[interp] add stelem.u2
Bernhard Urban [Tue, 25 Apr 2017 22:13:37 +0000 (00:13 +0200)]
[interp] add stelem.u2

7 years ago[interp] move interp_init call so embedders don't have to call it explicitly
Bernhard Urban [Tue, 25 Apr 2017 22:13:37 +0000 (00:13 +0200)]
[interp] move interp_init call so embedders don't have to call it explicitly

7 years ago[bcl] Add API diff targets (#4406)
Alexander Köplinger [Fri, 28 Apr 2017 18:28:32 +0000 (20:28 +0200)]
[bcl] Add API diff targets (#4406)

With these targets we can generate a snapshot of the current
Mono API in C# source code form.

Whenever we make changes, we can rerun this to ensure we didn't
inadvertently change the public API.

It also outputs a diff in html form that we can show on CI.

7 years ago[msvc] Update csproj files (#4772)
monojenkins [Fri, 28 Apr 2017 17:59:53 +0000 (19:59 +0200)]
[msvc] Update csproj files (#4772)

7 years agoMerge pull request #4771 from mono/revert-4765-master
Rodrigo Kumpera [Fri, 28 Apr 2017 16:25:54 +0000 (09:25 -0700)]
Merge pull request #4771 from mono/revert-4765-master

Revert "[jit] Fix memory leak in trampoline info registration."

7 years agoRevert "[jit] Fix memory leak in trampoline info registration."
Rodrigo Kumpera [Fri, 28 Apr 2017 16:25:36 +0000 (09:25 -0700)]
Revert "[jit] Fix memory leak in trampoline info registration."

7 years agoMerge pull request #4765 from vkargov/master
Rodrigo Kumpera [Fri, 28 Apr 2017 16:24:56 +0000 (09:24 -0700)]
Merge pull request #4765 from vkargov/master

[jit] Fix memory leak in trampoline info registration.

7 years ago[System.Data] Add InvalidUdtException back
Alexander Köplinger [Fri, 28 Apr 2017 15:00:31 +0000 (17:00 +0200)]
[System.Data] Add InvalidUdtException back

It was accidentally removed in 2729605554a10de4ebc74cc163409792885420af.

7 years ago[sre-save] Handle ConstructorBuilder custom attribute constructors.
Aleksey Kliger [Thu, 27 Apr 2017 21:32:20 +0000 (17:32 -0400)]
[sre-save] Handle ConstructorBuilder custom attribute constructors.

The code expected that a custom attribute was specified as a MonoCMethod and
was calling mono_image_create_token().  However that function expects to be
called from the managed S.R.E.ModuleBuilder:GetToken (MemberInfo) which handles
all the builders in managed code.  Consequently mono_image_create_token () was
asserting.

So now we encode the token for a ConstructorBuilder in place.

7 years ago[sre] Make mono_image_get_methodref_token non-static in sre-internals.h
Aleksey Kliger [Thu, 27 Apr 2017 21:31:30 +0000 (17:31 -0400)]
[sre] Make mono_image_get_methodref_token non-static in sre-internals.h

7 years ago[mkbundle] Add support for generating monodroid compatible mkbundle code at runtime...
Dean Ellis [Fri, 28 Apr 2017 11:18:29 +0000 (12:18 +0100)]
[mkbundle] Add support for generating monodroid compatible mkbundle code at runtime (#4728)

monodroid used to build its own version of mkbundle since it
requires slightly different code than the desktop. This
logic was protected in a #if block. Now that monodroid is
trying to make use of the shipped mkbundle rather than use
its own we need to turn this logic on at runtime.

A new parameter has been added

--bundled-header

When this option is passed, the code which skips including

mono/metadata/mono-config.h

will be skipped in favour of defining the required structures
and entry points directly.

7 years ago[System.Reflection.DispatchProxy] Move to facades to support _._ nugets
Marek Safar [Thu, 27 Apr 2017 22:57:44 +0000 (00:57 +0200)]
[System.Reflection.DispatchProxy] Move to facades to support _._ nugets

7 years ago[Facades] Update version numbers
Marek Safar [Thu, 27 Apr 2017 22:34:29 +0000 (00:34 +0200)]
[Facades] Update version numbers

7 years ago[corlib] Add new types
Marek Safar [Thu, 27 Apr 2017 21:46:32 +0000 (23:46 +0200)]
[corlib] Add new types

7 years agoBump corert
Marek Safar [Thu, 27 Apr 2017 21:46:19 +0000 (23:46 +0200)]
Bump corert

7 years ago[test] Regression tests for ConstructorBuilder custom attributes
Aleksey Kliger [Thu, 27 Apr 2017 21:49:25 +0000 (17:49 -0400)]
[test] Regression tests for ConstructorBuilder custom attributes

Regression tests for https://bugzilla.xamarin.com/show_bug.cgi?id=55681

7 years agoBump corefx
Marek Safar [Thu, 27 Apr 2017 07:45:26 +0000 (09:45 +0200)]
Bump corefx

7 years ago[jit] Fix memory leak in trampoline info registration.
Vladimir Kargov [Wed, 26 Apr 2017 19:56:27 +0000 (12:56 -0700)]
[jit] Fix memory leak in trampoline info registration.

7 years ago[System]: Cleanup internal TLS Provider registration. (#4758)
Martin Baulig [Thu, 27 Apr 2017 18:36:41 +0000 (14:36 -0400)]
[System]: Cleanup internal TLS Provider registration. (#4758)

* [System]: Cleanup internal TLS Provider registration.

Merge MonoTlsProviderFactory.Apple.cs and MonoTlsProviderFactory.Droid.cs
into MonoTlsProviderFactory.cs.

Disable the dynamic reflection-load on mobile while still keeping the
registration, so we can use IsSupported() and friends.

* Make it build.

7 years agoBump bockbuild
Alexis Christoforides [Thu, 27 Apr 2017 17:06:08 +0000 (13:06 -0400)]
Bump bockbuild

7 years ago[msvc] Update csproj files (#4763)
monojenkins [Thu, 27 Apr 2017 16:25:53 +0000 (18:25 +0200)]
[msvc] Update csproj files (#4763)

7 years ago[MacSDK] Update F# -> 4.1.8
Alexis Christoforides [Thu, 27 Apr 2017 15:32:24 +0000 (11:32 -0400)]
[MacSDK] Update F# -> 4.1.8

7 years ago[MacSDK] Use msbuild's install script instead of duplicating it here
Alexis Christoforides [Thu, 27 Apr 2017 15:17:59 +0000 (11:17 -0400)]
[MacSDK] Use msbuild's install script instead of duplicating it here

7 years ago[MacSDK] Minor corrections on package's postinstall script
Alexis Christoforides [Thu, 27 Apr 2017 15:13:32 +0000 (11:13 -0400)]
[MacSDK] Minor corrections on package's postinstall script