mono.git
7 years ago[msvc] Update csproj files
monojenkins [Tue, 21 Mar 2017 16:22:38 +0000 (16:22 +0000)]
[msvc] Update csproj files

7 years ago[ppdb] Avoid asserting on ppdb images without a guid heap.
Zoltan Varga [Tue, 21 Mar 2017 15:43:28 +0000 (11:43 -0400)]
[ppdb] Avoid asserting on ppdb images without a guid heap.

7 years ago[System.Web] Fix standalone-runner to return non-zero exit code on failure (#4562)
Alexander Köplinger [Tue, 21 Mar 2017 12:04:19 +0000 (13:04 +0100)]
[System.Web] Fix standalone-runner to return non-zero exit code on failure (#4562)

* [System.Web] Fix standalone-runner to return non-zero exit code on failure

We didn't notice that test runs with standalone-runner.exe failed
because it still exited with 0 in those cases.

Fixed that and the standalone tests that showed up as failed in
System.Web.Extensions (some differences likely from referencesource
code import).

* Fix replacement logic for Consts.cs.in to use Windows paths

7 years agoBump linker
Marek Safar [Tue, 21 Mar 2017 11:30:10 +0000 (12:30 +0100)]
Bump linker

7 years ago[System] Fix Process tests on watch
Marek Safar [Mon, 20 Mar 2017 22:57:31 +0000 (23:57 +0100)]
[System] Fix Process tests on watch

7 years ago[System.Core] Update mobile test
Marek Safar [Mon, 20 Mar 2017 22:03:29 +0000 (23:03 +0100)]
[System.Core] Update mobile test

7 years agoMerge pull request #4555 from alexanderkyte/finished_mangler
Alexander Kyte [Mon, 20 Mar 2017 18:52:42 +0000 (14:52 -0400)]
Merge pull request #4555 from alexanderkyte/finished_mangler

[runtime] Finish the AOT mangler

7 years ago[msvc] Update csproj files
monojenkins [Mon, 20 Mar 2017 16:36:02 +0000 (16:36 +0000)]
[msvc] Update csproj files

7 years agoMerge pull request #4554 from kumpera/cleanup-random-stuff
Rodrigo Kumpera [Mon, 20 Mar 2017 15:33:43 +0000 (08:33 -0700)]
Merge pull request #4554 from kumpera/cleanup-random-stuff

Remove debug spew plus fix the code from PR #4536

7 years ago[arm64] Fix the DISABLE_JIT build.
Zoltan Varga [Mon, 20 Mar 2017 11:46:40 +0000 (07:46 -0400)]
[arm64] Fix the DISABLE_JIT build.

7 years agoSystem.Security.Cryptography.X509Certificates enums from .NET Core.
Vladimir Kazakov [Sat, 18 Mar 2017 21:26:59 +0000 (23:26 +0200)]
System.Security.Cryptography.X509Certificates enums from .NET Core.

TrustStatus and X509SelectionFlag are missing from .NET Core (https://github.com/dotnet/corefx/issues/17194), hence TrustStatus was taken from .NET Framework and X509SelectionFlag was left untouched.

7 years ago[simd] Add some missing Vector<T> intrinsics. Add some code to print out missing...
Zoltan Varga [Mon, 20 Mar 2017 10:45:54 +0000 (06:45 -0400)]
[simd] Add some missing Vector<T> intrinsics. Add some code to print out missing intrinsics when running with -v -v. (#4560)

7 years ago[msvc] Update csproj files
monojenkins [Sun, 19 Mar 2017 16:34:37 +0000 (16:34 +0000)]
[msvc] Update csproj files

7 years ago[x86] Implement OP_EXPAND_I1 by lowering instead of directly to avoid register alloca...
Zoltan Varga [Mon, 20 Mar 2017 04:16:20 +0000 (00:16 -0400)]
[x86] Implement OP_EXPAND_I1 by lowering instead of directly to avoid register allocation problems. Increase stack size when simd types are used. (#4557)

7 years ago[interp] allocate storage for value types in runtime_invoke
Bernhard Urban [Fri, 17 Mar 2017 16:02:02 +0000 (17:02 +0100)]
[interp] allocate storage for value types in runtime_invoke

7 years ago[interp] treat GENERICINST properly on runtime_invoke return
Bernhard Urban [Fri, 17 Mar 2017 16:02:02 +0000 (17:02 +0100)]
[interp] treat GENERICINST properly on runtime_invoke return

7 years ago[interp] box IntPtr on return of runtime_invoke
Bernhard Urban [Fri, 17 Mar 2017 16:02:02 +0000 (17:02 +0100)]
[interp] box IntPtr on return of runtime_invoke

7 years ago[interp] add UnsafeMov intrinsic support
Bernhard Urban [Fri, 17 Mar 2017 16:02:02 +0000 (17:02 +0100)]
[interp] add UnsafeMov intrinsic support

7 years ago[interp] fix offset for starg_vt insn
Bernhard Urban [Fri, 17 Mar 2017 16:02:02 +0000 (17:02 +0100)]
[interp] fix offset for starg_vt insn

fixes an issue in TestDriver, thus enabling some more tests.

7 years ago[interp] remove register keyword hack.
Bernhard Urban [Fri, 17 Mar 2017 16:02:02 +0000 (17:02 +0100)]
[interp] remove register keyword hack.

we have 2017.

7 years ago[interp] call mono_thread_abort after an exception couldn't be handled
Bernhard Urban [Fri, 17 Mar 2017 16:02:02 +0000 (17:02 +0100)]
[interp] call mono_thread_abort after an exception couldn't be handled

7 years ago[interp] don't assert on stack walking if we don't find a frame
Bernhard Urban [Fri, 17 Mar 2017 16:02:02 +0000 (17:02 +0100)]
[interp] don't assert on stack walking if we don't find a frame

e.g. `is_running_protected_wrapper` doesn't necessarily find a matching frame.

7 years ago[lldb] update `monobt` so it understands interpreter frames.
Bernhard Urban [Fri, 17 Mar 2017 15:58:49 +0000 (16:58 +0100)]
[lldb] update `monobt` so it understands interpreter frames.

```
(lldb) monobt
* thread #1
  * frame #0: 0x00000001001b236e mono-sgen`interp_transform_call(td=0x00007fff5fbfd080, method=0x0000000100915a90, target_method=0x0000000000000000, domain=0x000000010090b741
    frame #1: 0x00000001001a1c2e mono-sgen`generate(method=0x0000000100915a90, rtm=0x000000010382ac70, is_bb_start="\x01", generic_context=0x0000000100915ad0) + 9454 at tran8
    transforming TestMonoAsyncGenerics::AsyncWithAwait || frame #2: 0x000000010019f553 mono-sgen`mono_interp_transform_method(runtime_method=0x000000010382ac70, context=0x004
    TestMonoAsyncGenerics::AsyncWithAwait @ 0  || frame #3: 0x000000010018a178 mono-sgen`ves_exec_method_with_context(frame=0x00007fff5fbfe290, context=0x00007fff5fbfe3a8) +9
    TestMonoAsyncGenerics::Main @ 12 "pop" || frame #4: 0x000000010018b4b1 mono-sgen`ves_exec_method_with_context(frame=0x00007fff5fbfe420, context=0x00007fff5fbfe3a8) + 5081
    frame #5: 0x0000000100189e43 mono-sgen`mono_interp_runtime_invoke(method=0x000000010090ce38, obj=0x0000000000000000, params=0x00007fff5fbfea40, exc=0x0000000000000000, e0
    frame #6: 0x00000001000164a2 mono-sgen`mono_jit_runtime_invoke(method=0x000000010090ce38, obj=0x0000000000000000, params=0x00007fff5fbfea40, exc=0x0000000000000000, erro1
    frame #7: 0x000000010038b2b5 mono-sgen`do_runtime_invoke(method=0x000000010090ce38, obj=0x0000000000000000, params=0x00007fff5fbfea40, exc=0x0000000000000000, error=0x002
    frame #8: 0x0000000100384e97 mono-sgen`mono_runtime_invoke_checked(method=0x000000010090ce38, obj=0x0000000000000000, params=0x00007fff5fbfea40, error=0x00007fff5fbfeb000
    frame #9: 0x000000010038f335 mono-sgen`do_exec_main_checked(method=0x000000010090ce38, args=0x00000001020003c8, error=0x00007fff5fbfeb00) + 197 at object.c:4672
    frame #10: 0x000000010038dd5c mono-sgen`mono_runtime_exec_main_checked(method=0x000000010090ce38, args=0x00000001020003c8, error=0x00007fff5fbfeb00) + 76 at object.c:4773
    frame #11: 0x000000010038ddbf mono-sgen`mono_runtime_run_main_checked(method=0x000000010090ce38, argc=1, argv=0x00007fff5fbfef68, error=0x00007fff5fbfeb00) + 79 at objec2
    frame #12: 0x00000001000d9a33 mono-sgen`mono_jit_exec(domain=0x000000010090b740, assembly=0x0000000100913610, argc=1, argv=0x00007fff5fbfef68) + 403 at driver.c:1029
    frame #13: 0x00000001000dd9da mono-sgen`main_thread_handler(user_data=0x00007fff5fbfeea0) + 538 at driver.c:1098
    frame #14: 0x00000001000dc21c mono-sgen`mono_main(argc=3, argv=0x00007fff5fbfef58) + 8636 at driver.c:2163
    frame #15: 0x0000000100001b9e mono-sgen`mono_main_with_options(argc=3, argv=0x00007fff5fbfef58) + 46 at main.c:45
    frame #16: 0x00000001000012dd mono-sgen`main(argc=3, argv=0x00007fff5fbfef58) + 77 at main.c:338
    frame #17: 0x00007fffc2e66255 libdyld.dylib`start + 1
    frame #18: 0x00007fffc2e66255 libdyld.dylib`start + 1
```

7 years ago[arm] Fix the DISABLE_JIT build.
Zoltan Varga [Fri, 17 Mar 2017 23:05:39 +0000 (19:05 -0400)]
[arm] Fix the DISABLE_JIT build.

7 years agoMake System.Drawing code compatible with .NET Core (#4548)
Frederik Carlier [Fri, 17 Mar 2017 22:30:35 +0000 (23:30 +0100)]
Make System.Drawing code compatible with .NET Core (#4548)

7 years ago[runtime] Finish AOT method name mangler
Alexander Kyte [Wed, 18 Jan 2017 15:50:40 +0000 (15:50 +0000)]
[runtime] Finish AOT method name mangler

7 years ago[runtime] Remove debug spew.
Rodrigo Kumpera [Fri, 17 Mar 2017 20:30:09 +0000 (13:30 -0700)]
[runtime] Remove debug spew.

7 years ago[runtime] Remove debug leftover and have mono_assembly_is_problematic_version actuall...
Rodrigo Kumpera [Fri, 17 Mar 2017 20:29:57 +0000 (13:29 -0700)]
[runtime] Remove debug leftover and have mono_assembly_is_problematic_version actually work.

7 years agoless allocation in Socket (#4516)
su21 [Fri, 17 Mar 2017 19:35:41 +0000 (03:35 +0800)]
less allocation in Socket (#4516)

* less allocation in Socket

avoid allocate `System.Threading.QueueUserWorkItemCallback` in `SocketAsyncResult.Complete`
avoid allocate `Task` and anonymous function in `Socket.QueueIOSelectorJob`

* update: fix race and use replace static field with in line lambda

* cleanup code

* QueueIOSelectorJob keep async, and provie a fastpath

* SocketAsyncResult: simplify callback code

* add missing line `IOSelect.Add(handle, job)`  :(

* fix typo

* fix compile error

7 years agoBump version number to 4.9.4 to support automated builders
Andi McClure [Fri, 17 Mar 2017 15:58:05 +0000 (11:58 -0400)]
Bump version number to 4.9.4 to support automated builders

7 years agoAdd support for xunit tests
Marek Safar [Sat, 11 Mar 2017 13:37:01 +0000 (14:37 +0100)]
Add support for xunit tests

7 years ago[System] Add back empty MonoTouch namespace
Marek Safar [Fri, 17 Mar 2017 13:07:38 +0000 (14:07 +0100)]
[System] Add back empty MonoTouch namespace

7 years agoMerge pull request #4542 from lateralusX/jlorenss/win-fix-unwind-tramp-reg-aot
Johan Lorensson [Fri, 17 Mar 2017 09:03:22 +0000 (10:03 +0100)]
Merge pull request #4542 from lateralusX/jlorenss/win-fix-unwind-tramp-reg-aot

mono_arch_unwindinfo_install_tramp_unwind_info can only be called for JIT:ed code.

7 years ago[jit] Remove support for the separate mono_lmf variable in the JIT, use the mono_lmf_...
Zoltan Varga [Fri, 17 Mar 2017 07:32:52 +0000 (03:32 -0400)]
[jit] Remove support for the separate mono_lmf variable in the JIT, use the mono_lmf_addr () variable instead. The former could be used to generate slighly faster code in managed-to-native wrappers, but its not worth all the complexity it caused. (#4549)

7 years agoRemove CAS attributes from System.Drawing (#4544)
Frederik Carlier [Thu, 16 Mar 2017 23:10:44 +0000 (00:10 +0100)]
Remove CAS attributes from System.Drawing (#4544)

7 years agoMerge pull request #4453 from lambdageek/bug-49721
Aleksey Kliger (λgeek) [Thu, 16 Mar 2017 23:09:00 +0000 (19:09 -0400)]
Merge pull request #4453 from lambdageek/bug-49721

[loader] Check strong name when loading from application base. (Fixes #49721)

7 years ago[x86] Disable the usage of mono_lmf on android as a workaround.
Zoltan Varga [Thu, 16 Mar 2017 23:06:36 +0000 (19:06 -0400)]
[x86] Disable the usage of mono_lmf on android as a workaround.

7 years ago[x86] Remove some incorrect code from method prologs which clobbers the return value.
Zoltan Varga [Thu, 16 Mar 2017 22:56:49 +0000 (18:56 -0400)]
[x86] Remove some incorrect code from method prologs which clobbers the return value.

7 years ago[corcompare] Fix support for BindableAtribute ctor that takes BindableSupport
Alexander Köplinger [Thu, 16 Mar 2017 21:22:35 +0000 (22:22 +0100)]
[corcompare] Fix support for BindableAtribute ctor that takes BindableSupport

7 years agoMove target for creating monolite package to Mono
Alexander Köplinger [Thu, 16 Mar 2017 19:02:21 +0000 (20:02 +0100)]
Move target for creating monolite package to Mono

7 years agoInclude Mono version in corlib version
Alexander Köplinger [Thu, 16 Mar 2017 20:15:32 +0000 (21:15 +0100)]
Include Mono version in corlib version

This makes it possible to version the runtime<->corlib interface
for each version branch independently and fixes the problem
of monolite getting overwritten by changes in different branches
when corlib version is still the same.

We're moving definition of the corlib version into configure.ac
so we can more easily bake the Mono version into it.

7 years agoMerge pull request #4536 from kumpera/block-rebind-of-banned-assemblies
Rodrigo Kumpera [Thu, 16 Mar 2017 19:23:10 +0000 (15:23 -0400)]
Merge pull request #4536 from kumpera/block-rebind-of-banned-assemblies

Reject rebinds that target one of the banned assemblies.

7 years ago[tests] Separate MONO_PATH directories by PLATFORM_PATH_SEPARATOR
Aleksey Kliger [Thu, 16 Mar 2017 17:20:18 +0000 (13:20 -0400)]
[tests] Separate MONO_PATH directories by PLATFORM_PATH_SEPARATOR

7 years ago[mono/tests] Add strong named assembly loading tests
Aleksey Kliger [Fri, 10 Mar 2017 15:50:51 +0000 (10:50 -0500)]
[mono/tests] Add strong named assembly loading tests

These tests place strong named assemblies on the MONO_PATH and into
MONO_GAC_PREFIX in various configurations and check that when a strong assembly
name  is specified: mono will ignore non-strong named assemblies that come
earlier in the search paths; mono will ignore strong named assemblies that have
the right filename and come earlier in the search path but have an incorrect
strong name.

7 years ago[tools] Dep check the downloads to avoid the mistake fixed by the previous commit.
Rodrigo Kumpera [Thu, 16 Mar 2017 17:26:22 +0000 (10:26 -0700)]
[tools] Dep check the downloads to avoid the mistake fixed by the  previous commit.

7 years ago[runtime] Update the banned version list to include SRDP and SVT.
Rodrigo Kumpera [Thu, 16 Mar 2017 17:25:32 +0000 (10:25 -0700)]
[runtime] Update the banned version list to include SRDP and SVT.

7 years ago[xbuild] Fix make dist broken by a350f8f0f470
Alexander Köplinger [Thu, 16 Mar 2017 16:16:58 +0000 (17:16 +0100)]
[xbuild] Fix make dist broken by a350f8f0f470

Wildcards aren't supported in EXTRA_DISTFILES and it wouldn't work
anyway since we need to enclose the paths with spaces in quotes.

7 years ago[WindowsBase] Rename method parameters to match .NET contract
Alexander Köplinger [Wed, 15 Mar 2017 16:21:33 +0000 (17:21 +0100)]
[WindowsBase] Rename method parameters to match .NET contract

7 years ago[System.Xaml] Rename method parameters to match .NET contract
Alexander Köplinger [Wed, 15 Mar 2017 16:21:31 +0000 (17:21 +0100)]
[System.Xaml] Rename method parameters to match .NET contract

7 years ago[System.Windows.Forms.DataVisualization] Rename method parameters to match .NET contract
Alexander Köplinger [Wed, 15 Mar 2017 16:21:30 +0000 (17:21 +0100)]
[System.Windows.Forms.DataVisualization] Rename method parameters to match .NET contract

7 years ago[System.Web.Extensions] Rename method parameters to match .NET contract
Alexander Köplinger [Wed, 15 Mar 2017 16:21:29 +0000 (17:21 +0100)]
[System.Web.Extensions] Rename method parameters to match .NET contract

7 years ago[System.Web.ApplicationServices] Rename method parameters to match .NET contract
Alexander Köplinger [Wed, 15 Mar 2017 16:21:28 +0000 (17:21 +0100)]
[System.Web.ApplicationServices] Rename method parameters to match .NET contract

7 years ago[System.Web] Rename method parameters to match .NET contract
Alexander Köplinger [Thu, 16 Mar 2017 03:20:43 +0000 (04:20 +0100)]
[System.Web] Rename method parameters to match .NET contract

7 years ago[System.Transactions] Rename method parameters to match .NET contract
Alexander Köplinger [Wed, 15 Mar 2017 16:21:26 +0000 (17:21 +0100)]
[System.Transactions] Rename method parameters to match .NET contract

7 years ago[System.ServiceModel.Web] Rename method parameters to match .NET contract
Alexander Köplinger [Wed, 15 Mar 2017 16:21:25 +0000 (17:21 +0100)]
[System.ServiceModel.Web] Rename method parameters to match .NET contract

7 years ago[System.ServiceModel.Discovery] Rename method parameters to match .NET contract
Alexander Köplinger [Wed, 15 Mar 2017 16:21:23 +0000 (17:21 +0100)]
[System.ServiceModel.Discovery] Rename method parameters to match .NET contract

7 years ago[System.ServiceModel] Rename method parameters to match .NET contract
Alexander Köplinger [Wed, 15 Mar 2017 16:21:22 +0000 (17:21 +0100)]
[System.ServiceModel] Rename method parameters to match .NET contract

7 years ago[System.Security] Rename method parameters to match .NET contract
Alexander Köplinger [Wed, 15 Mar 2017 16:21:21 +0000 (17:21 +0100)]
[System.Security] Rename method parameters to match .NET contract

7 years ago[System.Management] Rename method parameters to match .NET contract
Alexander Köplinger [Wed, 15 Mar 2017 16:21:20 +0000 (17:21 +0100)]
[System.Management] Rename method parameters to match .NET contract

7 years ago[System.IdentityModel.Selectors] Rename method parameters to match .NET contract
Alexander Köplinger [Wed, 15 Mar 2017 16:21:19 +0000 (17:21 +0100)]
[System.IdentityModel.Selectors] Rename method parameters to match .NET contract

7 years ago[System.IdentityModel] Rename method parameters to match .NET contract
Alexander Köplinger [Thu, 16 Mar 2017 03:20:59 +0000 (04:20 +0100)]
[System.IdentityModel] Rename method parameters to match .NET contract

7 years ago[System.EnterpriseServices] Rename method parameters to match .NET contract
Alexander Köplinger [Wed, 15 Mar 2017 16:21:17 +0000 (17:21 +0100)]
[System.EnterpriseServices] Rename method parameters to match .NET contract

7 years ago[System.Drawing] Rename method parameters to match .NET contract
Alexander Köplinger [Wed, 15 Mar 2017 16:21:16 +0000 (17:21 +0100)]
[System.Drawing] Rename method parameters to match .NET contract

7 years ago[System.DirectoryServices] Rename method parameters to match .NET contract
Alexander Köplinger [Wed, 15 Mar 2017 16:21:14 +0000 (17:21 +0100)]
[System.DirectoryServices] Rename method parameters to match .NET contract

7 years ago[System.Design] Rename method parameters to match .NET contract
Alexander Köplinger [Wed, 15 Mar 2017 16:21:13 +0000 (17:21 +0100)]
[System.Design] Rename method parameters to match .NET contract

7 years ago[System.Data.OracleClient] Rename method parameters to match .NET contract
Alexander Köplinger [Wed, 15 Mar 2017 16:21:12 +0000 (17:21 +0100)]
[System.Data.OracleClient] Rename method parameters to match .NET contract

7 years ago[System.Data.Linq] Rename method parameters to match .NET contract
Alexander Köplinger [Wed, 15 Mar 2017 16:21:11 +0000 (17:21 +0100)]
[System.Data.Linq] Rename method parameters to match .NET contract

7 years ago[System.Data] Rename method parameters to match .NET contract
Alexander Köplinger [Wed, 15 Mar 2017 16:21:10 +0000 (17:21 +0100)]
[System.Data] Rename method parameters to match .NET contract

7 years ago[System.Core] Rename method parameters to match .NET contract
Alexander Köplinger [Wed, 15 Mar 2017 16:21:09 +0000 (17:21 +0100)]
[System.Core] Rename method parameters to match .NET contract

7 years ago[System.Configuration] Rename method parameters to match .NET contract
Alexander Köplinger [Wed, 15 Mar 2017 16:21:08 +0000 (17:21 +0100)]
[System.Configuration] Rename method parameters to match .NET contract

7 years ago[System] Rename method parameters to match .NET contract
Alexander Köplinger [Wed, 15 Mar 2017 16:21:07 +0000 (17:21 +0100)]
[System] Rename method parameters to match .NET contract

7 years ago[Microsoft.Build] Rename method parameters to match .NET contract
Alexander Köplinger [Wed, 15 Mar 2017 16:21:05 +0000 (17:21 +0100)]
[Microsoft.Build] Rename method parameters to match .NET contract

7 years ago[Microsoft.Build.Engine] Rename method parameters to match .NET contract
Alexander Köplinger [Wed, 15 Mar 2017 16:21:04 +0000 (17:21 +0100)]
[Microsoft.Build.Engine] Rename method parameters to match .NET contract

7 years ago[bcl] Rename variables to avoid conflict with later renames
Alexander Köplinger [Wed, 15 Mar 2017 16:21:03 +0000 (17:21 +0100)]
[bcl] Rename variables to avoid conflict with later renames

7 years ago[corlib] Update culture data. Fixes #53334
Marek Safar [Thu, 16 Mar 2017 09:17:35 +0000 (10:17 +0100)]
[corlib] Update culture data. Fixes #53334

7 years ago[corlib] Fixes custom formatter with ";" section separator and zero values
Marek Safar [Wed, 15 Mar 2017 16:45:28 +0000 (17:45 +0100)]
[corlib] Fixes custom formatter with ";" section separator and zero values

7 years agoUse MD5.Create () instead of new MD5CryptoServiceProvider()
Frederik Carlier [Wed, 15 Mar 2017 23:26:13 +0000 (00:26 +0100)]
Use MD5.Create () instead of new MD5CryptoServiceProvider()

7 years agoAdd [In, Out] annotation to points in GdipTransformMatrixPoints
Frederik Carlier [Thu, 16 Mar 2017 00:02:05 +0000 (01:02 +0100)]
Add [In, Out] annotation to points in GdipTransformMatrixPoints

7 years ago[amd64] Fix mingw-w64 build. (#4519)
Vincent Povirk [Wed, 15 Mar 2017 23:47:35 +0000 (18:47 -0500)]
[amd64] Fix mingw-w64 build. (#4519)

It lacks _In_reads_ and _Inout_.

7 years ago[sgen] Fix xmm scanning on mac x86 (#4521)
Vlad Brezae [Wed, 15 Mar 2017 22:59:23 +0000 (00:59 +0200)]
[sgen] Fix xmm scanning on mac x86 (#4521)

The MonoContext (which sgen scans) did not have its fpregs populated, even though we were fetching the fpstate.

7 years ago[aot] Print out more info when a method cannot be AOTed.
Zoltan Varga [Wed, 15 Mar 2017 22:33:25 +0000 (18:33 -0400)]
[aot] Print out more info when a method cannot be AOTed.

7 years ago[runtime] Fix mono_method_get_name_full () so it works with methods whose signature...
Zoltan Varga [Wed, 15 Mar 2017 22:33:01 +0000 (18:33 -0400)]
[runtime] Fix mono_method_get_name_full () so it works with methods whose signature cannot be loaded.

7 years ago[tools] Update nuget-hash-extractor to spew the new ban table.
Rodrigo Kumpera [Wed, 15 Mar 2017 20:48:08 +0000 (13:48 -0700)]
[tools] Update nuget-hash-extractor to spew the new ban table.

7 years ago[runtime] Reject rebinds that target one of the banned assemblies.
Rodrigo Kumpera [Wed, 15 Mar 2017 20:46:56 +0000 (13:46 -0700)]
[runtime] Reject rebinds that target one of the banned assemblies.

The matching is done by name and version. We don't check pubkey or MVID.

7 years agoBump ikdasm.
Zoltan Varga [Wed, 15 Mar 2017 20:25:13 +0000 (16:25 -0400)]
Bump ikdasm.

7 years agomono_arch_unwindinfo_install_tramp_unwind_info can only be called for JIT:ed code.
lateralusX [Wed, 15 Mar 2017 09:18:17 +0000 (10:18 +0100)]
mono_arch_unwindinfo_install_tramp_unwind_info can only be called for JIT:ed code.

Currently mono_arch_unwindinfo_install_tramp_unwind_info can only be called on
JIT:ed code since it assumes place for unwind info has been allocated behind
code block. When called by AOT:ed code the complete this is have not done and
the unwind info should not be registered with OS for AOT:ed code
(should be part of the image).

7 years ago[simd] Fix some problems exposed by the corefx test suite. (#4531)
Zoltan Varga [Wed, 15 Mar 2017 09:08:57 +0000 (05:08 -0400)]
[simd] Fix some problems exposed by the corefx test suite. (#4531)

7 years ago[simd] Mark Mono.Simd classes as obsolete.
Zoltan Varga [Wed, 15 Mar 2017 01:30:56 +0000 (21:30 -0400)]
[simd] Mark Mono.Simd classes as obsolete.

7 years agoBump ikdasm.
Zoltan Varga [Tue, 14 Mar 2017 20:37:45 +0000 (16:37 -0400)]
Bump ikdasm.

7 years ago[loader] Cleanup add_assemblies_to_domain
Aleksey Kliger [Tue, 14 Mar 2017 14:42:08 +0000 (10:42 -0400)]
[loader] Cleanup add_assemblies_to_domain

1. Don't re-add the domain assemblies to the hashtable on every recursive
   call - they are already in there (we're holding the assemblies_lock, noone
   else can add anything to domain->domain_assemblies); just add them once when
   the hash table is created.
2. When iterating over the referenced assemblies, don't stop at the first NULL.
   a NULL means that referenced assembly hasn't been demanded by anyone yet,
   but there's no reason to assume some other referenced assembly that happens
   to come later in the table hadn't been resolved.  Iterate upto assembly->nreferences.

7 years ago[tools] Don't install mdb2ppdb by default (#4526)
Alexander Köplinger [Tue, 14 Mar 2017 18:41:16 +0000 (19:41 +0100)]
[tools] Don't install mdb2ppdb by default (#4526)

7 years ago[test-runner] Add --mono-gac-prefix command line option.
Aleksey Kliger [Fri, 10 Mar 2017 21:57:55 +0000 (16:57 -0500)]
[test-runner] Add --mono-gac-prefix command line option.

Also don't unset the MONO_PATH if a --mono-path isn't passed to the test runner.

7 years ago[mono/tests] Make w32message.cs a normal test-runner test
Aleksey Kliger [Wed, 8 Mar 2017 17:29:00 +0000 (12:29 -0500)]
[mono/tests] Make w32message.cs a normal test-runner test

Use exit codes to communicate success/failure like other test-runner tests.
Get rid of custom build rules.

7 years ago[loader] Remap public key tokens of framework assemblies when running with --runtime...
Aleksey Kliger [Tue, 7 Mar 2017 22:33:38 +0000 (17:33 -0500)]
[loader] Remap public key tokens of framework assemblies when running with --runtime=mobile

7 years ago[mono/tests] Fix tests when using full or hybrid AOT
Aleksey Kliger [Mon, 6 Mar 2017 19:13:55 +0000 (14:13 -0500)]
[mono/tests] Fix tests when using full or hybrid AOT

* bug-30085 test
  mscrorlib pubKeyToken depends on what we're testing
* bug-17537 test
  AOT the helper assembly so it can be loaded by fullaot runtime
* bug-3903 test
  explicit paths to corlib and System.Core reference assemblies

7 years ago[loader] In debug output, print the domain search path when loading assemblies.
Aleksey Kliger [Tue, 28 Feb 2017 23:31:27 +0000 (18:31 -0500)]
[loader] In debug output, print the domain search path when loading assemblies.

7 years ago[loader] Requesting an assembly with a strong name should match exactly
Aleksey Kliger [Tue, 28 Feb 2017 00:13:58 +0000 (19:13 -0500)]
[loader] Requesting an assembly with a strong name should match exactly

If an assembly references another with a strong name, the loader will require
that the strongly named assembly match exactly the requested name (name, version, culture, public
key token).

For assemblies without a strong name, continue Mono's existing behavior.

7 years ago[loader] Pass predicate callback to mono_assembly_load_from_full
Aleksey Kliger [Mon, 27 Feb 2017 22:34:51 +0000 (17:34 -0500)]
[loader] Pass predicate callback to mono_assembly_load_from_full

Actually create a new mono_assembly_load_from_predicate () and call that from
the old mono_assembly_load_from_full ().

This function is responsible for creating brand new MonoAssembly* values and
then committing them by calling mono_assembly_invoke_load_hook().  So if we
would like to have a chance to reject a candidate assembly from loading for
some reason, this is the only place we can do it:

* anywhere before the call to mono_assembly_load_from_predicate there is no
  MonoAssembly* yet.
* anywhere after mono_assembly_load_from_predicate returns, the load hook was
  already called (in a plain vanilla Mono, there's an installed load hook
  called mono_domain_fire_assembly_load () which caches the MonoAssembly* in
  the domain that requested the load - after that point we cannot possibly
  consider another MonoImage* for the same MonoAssemblyName - the appdomain
  will always return the cached one).

The next commit will use this predicate to reject some strongly named
assemblies when the candidate assembly doesn't exactly match the wanted
MonoAssemblyName.  (Note that load_from doesn't have the MonoAssemblyName that
was requested, so we'd have to thread /something/ down here - might as well be
a predicate function.)

7 years ago[runtime] Mark mono_assembly_open and mono_assembly_open_full external only
Aleksey Kliger [Mon, 27 Feb 2017 22:35:39 +0000 (17:35 -0500)]
[runtime] Mark mono_assembly_open and mono_assembly_open_full external only

Runtime should use mono_assembly_open_predicate

7 years ago[assembly] Add mono_assembly_open_predicate function
Aleksey Kliger [Mon, 27 Feb 2017 21:31:46 +0000 (16:31 -0500)]
[assembly] Add mono_assembly_open_predicate function

This is an extension of mono_assembly_open_full with a user-supplied predicate
that gets a chance to interrogate the candidate MonoAssembly before it is
consider successfully loaded.