From 6f9b2f9d91898140ca5dfb1dc9375a14ca1101b3 Mon Sep 17 00:00:00 2001 From: Alexander Kyte Date: Fri, 29 Dec 2017 01:59:23 -0500 Subject: [PATCH 01/58] Bump mono to 2017-12 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Commit list for mono/mono: * mono/mono@4116105b8b4 [monodroid] Build linker-analyzer tool for monodroid * mono/mono@34634352e1f [interp] Fix build when disabled (2) * mono/mono@4b62c55e7d0 [runtime] Fixes issue when compiling with -no_weak_imports * mono/mono@9a2543e8c0d Merge pull request #6275 from vargaz/2017-12-6191 * mono/mono@a68cfd2ffa6 Merge branch '2017-12' into 2017-12-6191 * mono/mono@84f05e88179 [interp] disable weak-fields.exe (#6191) * mono/mono@ea6f8ab2016 [aot] Fix aot+llvm after the weak field changes. (#6248) * mono/mono@17f4b4286f1 [threads] Fix leak of gchandle to MonoInternalThread * mono/mono@4f130913c60 [mini] isalnum() respects encoding in python3, we only want to have ASCII chars (#6199) (#6265) * mono/mono@dd1faf6f54e [android] Android NDK does not contain API level/platform 12 * mono/mono@febbfd1e3e5 [interp] Fix build when disabled (#6224) * mono/mono@0c5a524e50e [tests] Disable weak-fields.exe on FullAOT as well * mono/mono@ec4a957151a Bump version to 5.10 (#6157) * mono/mono@58618dea1ec [tests] Disable weak-fields.exe on ARM * mono/mono@a21fb19fc77 [mcs] Don't emit tuple names for a private types * mono/mono@db05a2523c0 [llvm] Update the llvm backend to work with the 2017-12-01-31d7f39423874d52922c06484f2c2af216844b4d branch of the mono llvm fork. (#6143) * mono/mono@2bab8fa49ec [Profiler] Fix parsing bug when `jit` is enabled * mono/mono@5bdaef7e5f6 [runtime] Add support for weak fields. (#5972) * mono/mono@d107f0852c3 [jit] Fix the DISABLE_JIT build. (#6152) * mono/mono@e2e34c157ca [linker-analyzer] Fix error reporting * mono/mono@0ae98538f68 Merge pull request #6148 from alexrp/profiler-stress-msbiology * mono/mono@f7141382167 [acceptance-tests] Disable the msbiology test completely. * mono/mono@ce96441a10f [mem access] don't do regular store if it's already handled by the unaligned case * mono/mono@465e2036d37 [w32handle] Don't enter GC SAFE around calls to w32handle_wait_{one,multiple} (#6132) * mono/mono@f079d5f961a [interp] move interp functions into a callback * mono/mono@13d221bf401 [mini] Add missing try holes * mono/mono@f408d2c4c4e [log] Rework MONO_TRACE_* to allow for nested io-layer masks (process, file, handle, etc.) (#6138) * mono/mono@c12b7494349 Merge pull request #6134 from alexrp/master * mono/mono@225071a2a58 [llvm] Fix the build. (#6142) * mono/mono@c8bf8c287a5 [runtime] Replace the C and perl versions of the genmdesc tool with a python version. (#6140) * mono/mono@3635db23fc7 Cleanup unused MONO_DISABLE_SHM env var (#6141) * mono/mono@9c2c689a612 Mini h cleanup (#6072) * mono/mono@dcbc55c615b [msvc] Update csproj files (#6137) * mono/mono@73c6a2ee50c Merge pull request #6135 from YuriyGS/DataGridViewCell-Border * mono/mono@26de079c89b [profiler] Correctly encode counter type/unit/variance values. * mono/mono@be6c2af639d Additional cell paddings in TextBoxCell: - 1 pixel for right and bottom to compensate cells CellBounds overlapping; - one more pixel for top, right and bottom to have one pixel gap between text and border. Left border had a good gap already (why?). No call DrawText for cell if there is no rectangle at all. * mono/mono@384a163cfab Drawing row & column divider and take it into account for drawing borders. Implemented paint for all missing border styles. * mono/mono@0c873d207a1 AdjustCellBorderStyle - implemented edge/non-edge header/non-header row and column border styles fixed. Fixed singleVerticalBorderAdded and singleHorizontalBorderAdded flags for the AdjustCellBorderStyle method call. * mono/mono@2bd75f83ea3 Outset and SingleHorizontal border styles fixed * mono/mono@02397105805 [profiler] Ensure the profilers behave sensibly when loaded during AOT compilation. * mono/mono@0c88bc2ca3a Merge pull request #6115 from alexrp/profiler-lls-fix * mono/mono@804979969a9 Merge pull request #6110 from alexrp/master * mono/mono@370fd7bb863 un-commented HmacSha256Signature bug 35661 * mono/mono@c5d3bf2428e [msvc] Update csproj files (#6131) * mono/mono@33afa19ce33 [mcs] Implements C#7.1 default literal * mono/mono@425c62c5da0 [interp] disassembler for mint instructions should return a string instead of printing char by char (#6114) * mono/mono@c79c456bd87 Merge pull request #6043 from kumpera/wasm-p2 * mono/mono@58d94f4f7fb [loader] Don't assert on abstract methods in get_method_constrained (#6109) * mono/mono@b4eb34de9ba Merge pull request #6121 from akoeplinger/bump-msbuild * mono/mono@38cc5021324 [ci] Make bockbuild step fatal for run-test-mac-sdk.sh * mono/mono@8d1ef543212 [ci] Skip System.Runtime.CompilerServices.Unsafe tests on arm32 too * mono/mono@c36f5afb583 [profiler] Add an assertion to the log profiler to catch the thread resurrection case. * mono/mono@22d22ff3d56 [profiler] Remove tools_thread checks when raising profiler thread events. * mono/mono@cd46e14ee49 [profiler] Use thread_exited profiler event for recording thread end events. * mono/mono@832e161fc94 [profiler] Add thread_stopping and thread_exited profiler events. * mono/mono@8d487ae8e22 Bump bockbuild to upgrade expat library (#6093) * mono/mono@c92f638d2e3 [interp] small improvment for error reporting in interp compile method callback * mono/mono@7ed2c02d0c4 [aot] encode interp_in wrappers with proper signature * mono/mono@fcfaf09acb7 [interp] fix copy/paste-typo in n2m macro magic * mono/mono@ccc1bd2c183 [aot] add more signatures for interp_in wrapper needed for iOS * mono/mono@afea7b6c799 [System] Add corefx tests for System.CodeDom (#5623) * mono/mono@eb11cee53cf Bump msbuild to xplat-master branch * mono/mono@0927d51418c [runtime] Implement a few ModuleBuilder getters (#5787) * mono/mono@b3fad3f0f89 [msvc] Update csproj files * mono/mono@f5fc7735125 [w32handle] Pass MonoW32Handle to more places (#5570) * mono/mono@87500ea50a4 [profiler] Improve nodefaults usage. * mono/mono@ea10d2f2f8b Bump API snapshot submodule * mono/mono@6be02ed6c7b Don't run System.Runtime.CompilerServices.Unsafe tests due to JIT crash on i386 * mono/mono@3b00c67e0ad Bump API snapshot submodule * mono/mono@82151ac4fad [corlib] Adds Span/Memory tests * mono/mono@2ab06befe99 [profiler] Make it possible to trigger heapshots from the M.P.L library. * mono/mono@dcf567ff646 [mcs] Populate referencecontainer member-cache correctly. Fixes #60860 * mono/mono@c1fd42eac82 Merge pull request #6097 from mono/slluis-patch-1 * mono/mono@984f6484666 [sdks] Use runtime logging features to intercept Console.{Out,Error} and runtime logs for instrumentation (#6083) * mono/mono@20de41832a4 Merge pull request #6078 from alexrp/profiler-docs * mono/mono@41a3571272d [acceptance-tests] Run shorter version of GCStress on PRs and update targets (#6106) * mono/mono@198147add46 Fix MonoContextSimdReg usage on non-glibc Linux amd64(#6007) * mono/mono@b25e55028bd Merge pull request #6101 from DavidKarlas/gcrootFromStart * mono/mono@a84fa6652f9 [msvc] Update csproj files (#6105) * mono/mono@6ed4adc2d8e [System][Test] Only Xamarin.iOS has a synchronization context by default. * mono/mono@22f0977132c [ci] Update acceptance-tests * mono/mono@22adb80c21d Update roslyn tests * mono/mono@5f7452f3849 Merge pull request #5273 from vladimir-kazakov/xmlenc-from-corefx * mono/mono@f3706fac109 [profiler] Report GC roots outside of heapshots unless the nodefaults option is given. * mono/mono@46c997fdf7f Bump API snapshot submodule * mono/mono@82bca175c43 [LogProfiler] Removed GcRoot events logging from start GcRoots should only be reported/captured during heapshot. We already set callback when heapshot collection starts and unset it when heapshot is finished. Which means after 1st heapshot is taken we don't log them outside heapshot. Hence we shouldn't be logging them from start... * mono/mono@e51565c7e59 [msvc] Update csproj files (#6100) * mono/mono@9ed85745706 XMLENC from .NET Core. * mono/mono@031405e9cc5 [corlib] Fix flaky ThreadPoolTests.AsyncLocalCapture test (#6099) * mono/mono@e8e92e5323c [genproj] Support setting /langversion in csproj (#6096) * mono/mono@d29cc4770a6 [bcl] Remove the test for ExecutingAssembly.EntryPoint, it behaves in different ways on different configurations. (#6095) * mono/mono@b736b420b5f Fix invalid enum values in LogGCEvent * mono/mono@ec117584a25 [corlib] Update exception message to match .net * mono/mono@4f0fd2a59b0 [mini] Align stack when resuming to catch handler * mono/mono@3325bdfbd58 [mini] Add counter for try holes memory usage * mono/mono@78933c423fa [mini] Add missing try holes * mono/mono@98d3906a398 [mini] Fix clause try hole checking * mono/mono@5ef930b5f82 [bcl] Build some assemblies with -warnaserror (#5295) * mono/mono@7b4dfeebc40 Merge pull request #5836 from marek-safar/corefx-bump * mono/mono@edc590a3d31 Bump API snapshot submodule * mono/mono@4535442e84a [ci] Switch .pkg PR build to pipeline script as well (#6092) * mono/mono@484a9089a84 [corlib] Disable test check which is timezone dependent * mono/mono@e663bd7c92a Exclude any Mono marked corefx tests * mono/mono@5eb884bab8d Fixes wrong argument name * mono/mono@431e36f7311 Bump mcs bootstrap version * mono/mono@1cc3bc58bee Bump corefx * mono/mono@ecd85dc8391 [build] Support api-snaphot assembly references * mono/mono@5c2a49f4b64 Add back some more legacy profiler APIs (#6044) * mono/mono@00e2b06f2f8 Bump cecil & linker to latest. (#6081) * mono/mono@c2fceeaf395 [tests] Adjust ifdefs to get the expected behavior for Xamarin.Mac/Modern tests. (#6086) * mono/mono@19a7107a03a [tests] Adjust ifdefs to get the expected behavior for Xamarin.Mac's cryptography tests. (#6091) * mono/mono@9107efe94d0 [api-diff] Only delete .cs files in the api diff * mono/mono@7ed25b0be4c [msvc] Update csproj files (#6087) * mono/mono@011d28de460 Bump roslyn * mono/mono@16cf0892814 [profiler] Clean up the AOT profiler a bit. * mono/mono@0f985ed8853 [profiler] Skip lines not starting with +/- in coverage filter files. * mono/mono@76872edd278 [profiler] Use a new suppression file for the coverage profiler. * mono/mono@d1748f7c58b [profiler] Remove coverage options from the help text in the log profiler. * mono/mono@7c8f5e02b27 [profiler] Don't document the nocalls option. * mono/mono@9b0c6fc45d2 [profiler] Exit when printing the usage info. * mono/mono@0d123027b0d [profiler] Remove the iomap profiler. * mono/mono@c7f9875f279 [man] Rewrite the profiler-related man pages. * mono/mono@cbe30987b03 [samples] Clean up the profiler sample and add a simple makefile. * mono/mono@0abcdc9c606 [mprof-report] Include domain and context reports in the default set. * mono/mono@8ab10ff01d7 [profiler] Document the AOT profiler file format. * mono/mono@53084a4098d [profiler] Add a comment to profiler-events.h about backwards compatibility. * mono/mono@80788a3c504 [docs] Improve profiler API documentation. * mono/mono@908d10de6ce [exdoc] Don't transform newline characters to spaces. * mono/mono@528e793ce39 [exdoc] Support Doxygen-style code blocks. * mono/mono@aa19b6aa18e [exdoc] Support more Doxygen-style formatting. * mono/mono@5d2febd9663 [exdoc] Don't insert unnecessary tab characters. * mono/mono@076632c3e91 Remove CodeDomConfigurationHandler from machine.config (#6070) * mono/mono@718247da6f3 [bcl] Remove an ObjCRuntime reference from the TimeZone tests, it shouldn't be needed any more, and it prevents the tests from compiling on the monotouch profile. (#6079) * mono/mono@f1f3ae49f04 [sdks] Fix Android pick of mono runtime (#6080) * mono/mono@9d6f4309948 Merge pull request #6067 from lambdageek/bug-60545-fixup-ginst * mono/mono@8aed7ab89cc [aot] Add generic instances referenced by MONO_PATCH_INFO_METHOD_RGCTX patches. Fixes #60771. (#6075) * mono/mono@c8cd5a5710c Use image set to store and allocate MonoClass representing arrays and pointers whose elements types may contain generic instances from other images. This can be true for array element classes which are generic instances (List[]) or arrays (List[][]). * mono/mono@ddace393cfc [bitcode] Disable test_0_float_return_spill in bitcode to get green tests. (#6073) * mono/mono@27eed3574d4 [ci] MSBuild related fixes (#6071) * mono/mono@8e09c454f41 [wasm] Rewrite m2n-gen in C# * mono/mono@6549011576e [wasm] Address review issues. * mono/mono@8ea4864f30d [sdks] Add an ios test runner. (#6063) * mono/mono@9a882ab9cf1 [class] Make some class setup methods mistakes less costly to make (#6048) * mono/mono@d3c7faa7501 [ci] Add Jenkins pipeline script for building OSX and Windows packages (#6065) * mono/mono@7e9074b54c5 [loader] inflate constrained result if constraining an inflated generic method * mono/mono@ef0f3a53f3d [msvc] Update csproj files (#6066) * mono/mono@1f59d0958f6 [bcl] Add an .exclude file to disable some corlib tests when running with the mono sdk. (#6064) * mono/mono@e5248979fe5 [sdks] Update Android for integration with XA (#6058) * mono/mono@6beed5f7915 [System.Net.Http]: Fix "Content-Length: 0" logic for requests without body. * mono/mono@a178a5273a1 [runtime] Move mono_aot_can_dedup into aot-runtime * mono/mono@2c160ed9a7d [mcs] C# 7.2 ref struct feature * mono/mono@73bd521c075 Bump NuGet.BuildTasks (#6004) * mono/mono@a6e7c1f81c9 [tools] Fix .apps generated by MacPack not running when Mono 5 is installed on macOS (#6024) * mono/mono@fab0ce54d32 [System.Windows.Forms] FileDialog internationalization (#6052) * mono/mono@21ba3d0d9dc [corlib] Move System.Runtime.InteropServices.RuntimeInformation to co… (#6060) * mono/mono@3259e04ace6 [loader] Rework get_method_constrained (Fixes #60545) * mono/mono@92f20ae75df [tests] Mono test for contravariant constrained.callvirt * mono/mono@0bbc3e8c155 [runtime] Cleanup mono_runtime_get_main_args * mono/mono@009b508174f Fix the ios build with recent xcode/osx, add comments about possible targets. (#6056) * mono/mono@dae27ef2ba3 Fix CryptoConfig.CreateFromName on XM Modern (#6029) * mono/mono@a9853102879 Disable a new test, it's crashing the interpreter * mono/mono@e5a8111a648 [mcs] Better typed-ref deconstruction for indexers. Fixes #60680 * mono/mono@1d7ec6a3d7f Bump API snapshot submodule * mono/mono@7a22e066220 Bump cecil * mono/mono@b44333823da XmlReaderSettings.EnableLegacyXmlSettings should always be false on mono. Fixes bug-60621 (#6014) * mono/mono@f1a22f31a76 [runtime] Fix test makefrag to accomodate moved tests * mono/mono@c498a00479b [bcl] Fix the ResolvePathBeforeDirectoryExists test on the mobile profile. * mono/mono@c2ea774d4c6 Revert "[touchup] Use HANDLE_FUNCTION_RETURN_OBJ instead of HANDLE_FUNCTION_RETURN_VAL (no change in behavior)" * mono/mono@9c64c7d3908 Merge pull request #6030 from luhenry/corefx-switch-to-c * mono/mono@29d21768931 Merge pull request #6045 from chamons/bump_master_cecil * mono/mono@e608ed23868 [touchup] Use HANDLE_FUNCTION_RETURN_OBJ instead of HANDLE_FUNCTION_RETURN_VAL (no change in behavior) * mono/mono@24fc118eefe [sdks] Cleanup wasm targets (#6025) * mono/mono@18fb8563fb8 [touchup] Remove redundant code * mono/mono@5cf1aada527 Merge pull request #6017 from monojenkins/update-csprojs * mono/mono@421f8553fb4 Merge pull request #6042 from Unity-Technologies/winrt-time-zone-adjustment-rules * mono/mono@e3862cb0047 Bump cecil * mono/mono@937fcd10234 [wasm] Unbreak EH * mono/mono@9a143f99cae [wasm] Fix signature of Monitor::Enter icall. * mono/mono@82e9c5ccd76 [sdks] Adjust debug spew to help debug GC issues. * mono/mono@1b9e3ec0702 [sdks] Add code to run corlib test suite. * mono/mono@04d0d026b89 [sdks] Remove debug spew from new nunit driver and add option to run a single test. * mono/mono@3d80b0b50eb [wasm] Don't abort on thread creation, simply fail it. * mono/mono@0d10ad9a26e [wasm] clock_gettime fails on with EINVAL. gtod works just fine. * mono/mono@c8ed7a1715c [wasm] Current version of libc abort on getpwnam. * mono/mono@426109e9c9f [wasm] Rework incremental test runner to work more closely to how nunit works WRT setup steps. * mono/mono@9e8a648fa7c [wasm] Build the runtime with ASSERTIONS=2 for now to get better crash diagnostics. * mono/mono@cb8d515c004 [wasm] Update the wasm m2n tramps. * mono/mono@d9224b10b20 [interp] Make assertions more usable. * mono/mono@48c111e123d [wasm] Add better implementation of mono_w32file_get_volume_information. * mono/mono@fed25874570 [wasm] Return actual stack bounds instead of phony values. * mono/mono@0d6f22f04c4 [wasm] Mono relies waaaay too much on mmap returning zero'ed memory, so just do it. * mono/mono@7cb492db005 [util] Properly Initialize the last entry of a superblock instead of relying on mmap returning zero'd memory. * mono/mono@88e9d00c521 [corlib] Add wasm source lists for test suite. * mono/mono@07d07ad9074 [wasm] Switch to an incremental nunit test runner to make sure the main thread gets pumped regularly. * mono/mono@491f4b651f4 The return value of GetDynamicTimeZoneInformationEffectiveYears in the successful case is ERROR_SUCCESS (0). Adjust failure case to be for return values non 0. * mono/mono@af08374ef2d [msvc] Update csproj files * mono/mono@3e1eeec6c33 [System.IO] Directory.Exists() now resolves the full path first. Fixes #60267 * mono/mono@2bb178c7a81 [runtime] Increase the BCL imt trampoline count (fix tests) * mono/mono@1f4bd602848 [lldb] update interp main loop function name * mono/mono@4d02be3abf7 [interp] only access arguments on frame if there are any for sure * mono/mono@5bc422d7338 [interp] end of a clause can point _after_ the last instruction * mono/mono@d416f570bd3 Merge pull request #6003 from kumpera/profiler-compat-mode * mono/mono@b488cacd50c [corefx] Bump corefx to pick switch of System.Native to C * mono/mono@0435b2ba166 Merge pull request #6027 from lewurm/fix-DefaultThreadCurrentCultureIsIgnoredWhenCultureFlowsToThread * mono/mono@8a82b292fbe Update GdipGetImageDimensions tests to pass against Windows GDI+ (#6008) * mono/mono@51a8a459066 Fix big endian build problem * mono/mono@ae9cef91037 [corlib] fix DefaultThreadCurrentCultureIsIgnoredWhenCultureFlowsToThread test * mono/mono@375471820c0 [corlib] Don't capture the execution context when UnsafeRegisterWaitForSingleObject is used. Fixes #60029 (#6013) * mono/mono@c0f6935b45a [sre] Don't warn about duplicate token for MonoArrayMethod * mono/mono@8b7df777bbe [test] Regression test for 60238 * mono/mono@bcaca2dbafc [bcl] Add a Mono.Runtime.Tests assembly which can be used to run the JIT regression tests using nunit. (#6015) * mono/mono@401ed4d16c1 [System.Process] Consider `open`'s exit code when using it to start a process. Fixes #19503 (#6010) * mono/mono@2cc1ae3b293 Provide a special implementation of ReadToEnd for CStreamReader so that it echoes input characters correctly when TermInfoDriver is initialized instead of suppressing them. Fixes bug #40699. * mono/mono@ca8b8bd346a [runtime] Add Dedup Support to MkBundle (#5484) * mono/mono@50fa04c1365 [runtime] Implement runtime support for inflated wrapper and generic dedup (#5349) * mono/mono@115b2901439 [runtime/corlib] Improve MissingMethodExceptions by including message… and signature. Fixes #60505 * mono/mono@43a23e71e5d Bump API snapshot submodule * mono/mono@6910dd4bc02 [System.Data] Add missing Microsoft.SqlServer.Server APIs * mono/mono@c58ab6f4cb2 more readable assignment * mono/mono@93ad6575a51 [metadata] make get_darwin_locale thread-safe * mono/mono@3318b297046 Merge pull request #5985 from YuriyGS/bug60514 * mono/mono@67160915c9a [profiler] Restore 'counters' and 'sampling-real' options * mono/mono@52d836f5e25 Fix icall parameters to use managed boolean type. (#6006) * mono/mono@2255c54966b [external] bump nunit-lite in order to include fix for racy FinallyDelegate * mono/mono@0bba45f06ed [interp] fix build on windows (#6000) * mono/mono@a5248e5e117 [bcl] bringing back InetAccess test category * mono/mono@a6c2080c241 Merge pull request #5759 from luhenry/w32process-refactor-mono_w32process_get_fileversion_info * mono/mono@26b76cb879d [profiler] Make profiler arg parsing more compatible with previous version. * mono/mono@c445fa32621 [runtime] Initialize the min_align field of ptr classes, since they have the 'inited' field set, so mono_class_init_sizes () might not be called for them. Fixes #60634. (#5999) * mono/mono@0257dcde586 [tests] Add disabled regression test for #49308 (#5997) * mono/mono@33eb71ae07d [System] Fix DeflateStream crash with high concurrency on Read/Write/Close (#5994) * mono/mono@bf1b5dced0f [sdks] Remove passing AndroidRunner instance to C# and back (#5988) * mono/mono@2f308109e18 Fix path to embedded glob.c implementation. * mono/mono@d1ece840fe1 [mdbdump] Include guid in xml dump * mono/mono@5f35ea4b68e [msvc] Update csproj files (#5995) * mono/mono@05fae5f1fad Add ignoring features option into genproj * mono/mono@2503f874ca6 Enable concurrent GC as default mode for Windows MSVC mono sgen builds. * mono/mono@f23ce4f37e5 [corlib] Add more tests, embed linker descriptor xml in test assembly * mono/mono@9afe9e14459 [interp] disable block_guard_restore_aligment_on_exit.exe on CI (#5991) * mono/mono@d59f8a64ae0 [jit] Avoid nullifying LDADDR instructions in load_simd_vreg_class (), they could have references if explicit-null-checks are enabled. Fixes #60539. (#5979) * mono/mono@af818a17099 [msbuild] Change the version used in bockbuild to just '15', instead .. (#5986) * mono/mono@356c5aaef8f Using padding and border width * mono/mono@4e43805a1e6 [Tests] Make Mono.Data.Sqlite tests more robust. (#5982) * mono/mono@78be18ab99e Merge pull request #5917 from lambdageek/centrinel-ann * mono/mono@295625bbb0b [sdks] Change how we run test suites on the app (#5894) * mono/mono@00035e5b687 Include in C files that include mono headers * mono/mono@70807d51983 [coop handles] Mark handles macros with Centrinel SUPPRESS macros * mono/mono@7d3dc331b52 Mark _MonoObject and managed object typedefs with MONO_RT_MANAGED_ATTR * mono/mono@d244f6d2c7c Define MONO_RT_MANAGED_ATTR and MONO_RT_CENTRINEL_SUPPRESS macros * mono/mono@ee20fc0ad93 Remove Boehm specific code path in GC aware hash tables as it can now push/mark roots. * mono/mono@e348c56a016 [coop] Convert ves_icall_System_Environment_GetCommandLineArgs icall to use coop handles * mono/mono@4b80cb68613 [bcl] Add .NET 4.7.1 reference assemblies (#5974) * mono/mono@e45d72f4a8f Merge pull request #5969 from luhenry/backport-master-950ea65c3ba571cd139dc34b48d7101a2e894993 * mono/mono@a9e1c60a63e Merge pull request #5970 from lambdageek/bug-60245 * mono/mono@b78e9b5e98b [interp] disable Test.System.Threading.ThreadTest.TestUndivisibleByPageSizeMaxStackSize (#5966) * mono/mono@69ec805ff32 [test] FieldInfo.{Get,Set}Value tests for ContextBoundObject * mono/mono@cd2fd4d81da [remoting] Check for transparent proxy in ves_icall_MonoField_{Get,Set}ValueInternal * mono/mono@40be6362c67 [System] Add missing ConfigureAwait (#5963) * mono/mono@ea060b586df [Tests] Fix flaky IO tests due to parrallel execution on Mac bots. (#5965) * mono/mono@a45569fe370 [System] Fix NullReferenceException in Win32EventLog (#5949) * mono/mono@198481639f1 [interp] clear stack on resuming into the main loop (#5959) * mono/mono@865e3445121 [System]: Override `SslStream.FlushAsync ()` to call the async version on the underlying stream. (#5960) * mono/mono@a60b50417a8 [Facades] Use same assembly company/product/copyright attributes as other BCL assemblies (#5961) * mono/mono@4e01b276ae0 [interp] enable it by default in configure (#5925) * mono/mono@a62a7e7e969 Merge pull request #5924 from kumpera/wasm-sdk-integration * mono/mono@a2649fe6045 ignore quick syntax to exclude files in removecomments.sh for local-dist (#5958) * mono/mono@e3d3433b76c Detect platform tizen and link profiler statically similar to Android. * mono/mono@de771964ee8 Add missing build dependency to fix correct parallel build order. * mono/mono@3c4b2616179 [corlib] corefx tests from System.Threading.* and System.Text.RegularExpressions (#5762) * mono/mono@3e9c2af62a1 [profiler] Improve NUnit xml reporting (#5954) * mono/mono@83f9f3a813d Merge pull request #5950 from lateralusX/lateralusX/disable-join-thread-in-detach * mono/mono@286e62e84dd [runtime] Handle ENOTCONN/EHOSTDOWN in mono_w32error_unix_to_win32 (). Print a warning instead of asserting, there are lots of error codes we don't handle, map them to ERROR_NOT_SUPPORTED for now. Fixes #60422. (#5927) * mono/mono@c3be0663c1f [System] Ignore tests that fail on device until the corresponding bugs have been fixed. (#5951) * mono/mono@5ed0fab1475 [wasm] Fix test driver and mono's JS support library. * mono/mono@ec78917e102 Bump API snapshot submodule * mono/mono@c5fa794e98b [bcl] Updates referencesource to 4.7.1 * mono/mono@e2a7e328d39 [mcs tests] clean up interp target * mono/mono@43f03233f3a [interp] enable Mono.Debugger.Soft tests on CI * mono/mono@acf36077958 Temporary disable adding thread to joinable threads on none Windows platforms. * mono/mono@1a79065f8cd Ensuring TextBox is properly updated upon setting/clearing password character. (#5947) * mono/mono@035ad2f1186 [mcs tests.make] control with TEST_WITH_INTERPRETER if `run-test` target uses the interpreter * mono/mono@30fd079c90b [mcs make] introduce TEST_RUNTIME_FLAGS, analogously to TEST_RUNTIME vs. RUNTIME * mono/mono@879f4bc60ff [corlib] annotate failing tests when running in interpreter * mono/mono@591ab6d34b6 [interp] properly resolve MonoType of MonoClassField via mono_field_get_type () * mono/mono@6f7025ba006 [interp] check interruption request flag properly after allocating an object * mono/mono@88970711ff2 [interp] allow MONO_CALL_STDCALL calling convention on cee_calli insn * mono/mono@292f8ac3c50 [interp] use checked variant of method_get_header and throw exception if there is an error * mono/mono@dfca26c32f3 [interp] allow unsigned i8 in pinvoke signature * mono/mono@9e6c430e5eb Have Boehm mark handle stacks rather than using GC tracked memory. Unify handle memory across all GCs. * mono/mono@29826908fc7 [interp] Make the interpreter use the JIT exception handling code. (#5943) * mono/mono@5a88e085f3f [corlib] Fixes NullFullNameForSpecificGenericTypes for mobile profiles * mono/mono@f58ba94f8c6 Add g_ptr_array_capacity to retrieve current size of GPtrArray. Allows clients to know if future additions will cause (re)allocations. (#5931) * mono/mono@733b4a4c9f8 [ServiceModel.Web] Fix test by adding WebHttpBehavior to WebChannelFactory endpoint on MOBILE * mono/mono@dc023c2fe04 Fix bug 57938 - FullName not returning null for certain generic types (#5920) * mono/mono@f6e21efe14f [ci] Coverage-imposed build flags should take top priority (#5940) * mono/mono@4272b68b769 [interp] Throw exception in case of field access failure * mono/mono@8f3a51860d9 [interp] Enable some tests * mono/mono@14d137029ba [interp] Don't sigsegv on field lookup failure * mono/mono@36d588d62fc [interp] Don't assert on ldtoken failure * mono/mono@5d056c01841 [interp] Fix error propagation from interp invoke * mono/mono@4c8bff917c0 [interp] Avoid translating methods while holding a low level lock, make a copy of InterMethod instead, do the translation with the copy, and copy the results back inside the lock. (#5935) * mono/mono@5fffc1b8cfe [interp] Change 'class' to 'klass' * mono/mono@174bea7caf3 Replace 'class' identifier usage with 'klass' to avoid compile errors in C++ * mono/mono@81feabe4c6e Consider Facades in Provides: too. Version number challenges remain. (#4874) * mono/mono@c43d73cfd74 [System.Windows.Forms] Fixes #60435. DataGridViewRow.CreateCellsInstance method is never invoked * mono/mono@151fa5590f9 Internationalization support for System.Windows.Forms: (#5886) * mono/mono@fb0fe43283e [sdb] Make get_this_addr () work with the interpreter. (#5937) * mono/mono@fa898df0fc7 [Tests] Fix zip tests on iOS devices. (#5939) * mono/mono@5143b5a4615 [Test] Fix System.IO.Compression.FileSystem tests on iOS devices. (#5938) * mono/mono@9b9159cb4a9 [interp] Use xdomain wrappers as with normal jit * mono/mono@5a1fa0f3dfa [interp] Don't rethrow current frame exception after an icall * mono/mono@e2b59a234f5 [interp] Set correct stack type for icall return * mono/mono@ae8d913b003 [interp] Fix constructor call on transparent proxies (#5934) * mono/mono@01e767447b6 [sdks] Address reviewer suggestion. * mono/mono@d1349d274fb [wasm] Add test runner that executes the mini test suite. * mono/mono@a0687c199c8 [wasm] Build the wasm profile is it was configured in. * mono/mono@db00ae8496a [wasm] Update port to work with master. * mono/mono@675b1904558 [wasm] Workaround for emcc 1.37.22 that miscompiles the inline assembly. * mono/mono@6f229c1a1b3 [sdk] Fix wasm build. * mono/mono@5b118b84e52 [interp] disable appdomain-unload (crashes too often) and add comment (#5922) * mono/mono@fa7623e0f32 [tests] Allow overriding Mono arguments for JIT and AOT scenarios. * mono/mono@8ed81c060c0 Revert "[configure] Test AOT+LLVM if mono was configured to support both. (#5880)" * mono/mono@033ccb66352 [System.Security] Simplify monodroid test excludes (#5919) * mono/mono@3df4b8f7f6c [corlib] Add more Assembly*Attribute tests (#5918) * mono/mono@80a20870af4 [sdk] Use single : in android target that doesn't get appended to. * mono/mono@55cae500f55 [wasm] Add wasm-interp target to build the wasm interpreter based runtime. * mono/mono@f124b4d1b8a Merge pull request #5912 from kumpera/bunch-of-changes-for-sdks * mono/mono@b73480af34f [Tests] Ensure that only a subset of the System.Security tests are ran on mobile platforms. * mono/mono@d49e8c32c4a [mkbundle] Enhanced mkbundle cygwin/mingw fallback support. (#5867) * mono/mono@e0607c34f07 Debugger support for the interpreter (#5902) * mono/mono@08bb8da2cc0 [System.Web] Reference source import (#5909) * mono/mono@bea6d82e80b Unlock `sgen-fin-weak-hash.c`: - Unlock simple counters - Unlock the usage of `next_fin_stage_entry` and `fin_stage_entries` within `add_stage_entry ()` * mono/mono@2bf3e7e3a93 Prepare `unlocked.h` for the upcoming changes: - add the `volatile` qualifier to all pointer parameters - add `UnlockedWritePointer ()` * mono/mono@b259c836aba [jit] Move the code handling the MonoLMFExt structures from exceptions-.c to mini-exceptions.c, its the same on all platforms. (#5907) * mono/mono@35acde58d43 Use getrandom() instead of /dev/urandom on Linux (#5851) * mono/mono@32d2f28518e [sgen] Collect major after user requested minor collections * mono/mono@9a879a1b11d [interp] disable broken test cases on CI (#5914) * mono/mono@0dbdcf2e776 [Mono.Posix] Fix some socket tests on monodroid (#5915) * mono/mono@8992f0fd059 [runtime] Remove the no_raise argument from mono_register_jit_icall_full (), no icalls call mono_raise_exception () anymore. Rename the 'is_save' argument to 'no_wrapper'. Allow inlining wrappers for all icalls. (#5897) * mono/mono@92477b9583b [jit] Remove unused mono_interruption_checkpoint_from_trampoline_deprecated () JIT icall. (#5895) * mono/mono@82579ce9ce8 Merge pull request #5879 from kumpera/wasm-work-p6 * mono/mono@d208927a5ff [sdks] Add notes for the BCL build. * mono/mono@c133304b951 [android] Fix compilation with recent ndk and sdk target < 16. * mono/mono@6b3e68486a7 [sdks] Update bcl target to include wasm profile. * mono/mono@cc9cb3f6d7e [sdks] Fix autogen invocation and respect Make.config options. * mono/mono@79ef4d8eef9 [configure] Test AOT+LLVM if mono was configured to support both. (#5880) * mono/mono@110888fd661 [interp] Enable more runtime tests for interpreter * mono/mono@d5028868d3b Merge pull request #5685 from urisimchoni/callspec-ut * mono/mono@da53cb0e085 [runtime] Rename mono_raise_exception_with_context_deprecated () back to mono_raise_exception_with_context (), its ok to use since it starts unwinding from the CTX argument which points into managed code. (#5896) * mono/mono@fdcf7da3f46 [amd64] Remove the unused MonoLMF.rip field. (#5904) * mono/mono@ff078951a56 [w32process] Reduce mmap allocation by mapping file only once * mono/mono@9fdc0045adb [runtime] Avoid creating callbacks.interp_get_remoting_invoke if the interpreter is not enabled at runtime. (#5905) * mono/mono@96361e3913a [arm64] Throw OverflowException instead of the more general ArithmeticException. * mono/mono@ddd07a749f3 [System.Web] LoginTextLayout from reference source * mono/mono@dd033ae341e Duplicate friend assembly names and add needed null terminator. * mono/mono@1c15c3ebd3b Match amd64/arm64 in the way of handling exceptions within trampolines (#5891) * mono/mono@f5915baa5d6 [sdks] Fix android configure with latests NDK * mono/mono@cfba305b7eb [corlib][Test] Ignore FileTest.SymLinkLoop until bug #59239 is fixed. (#5889) * mono/mono@a043b26831b [System.Web] EmptyControlCollection from reference source (#5884) * mono/mono@f871b90d5e4 [sdks] Fix Android build. * mono/mono@ac4095a1eab [sdks] Improve path handling and include local conf file * mono/mono@2856f523f67 [wasm] Add missing tramp * mono/mono@4a28d3595ce [runtime] fix prev commit build for Linux x64 * mono/mono@6b8b32b6fcf [runtime] Fix unit test. * mono/mono@e1b75723d74 Bugfix: 1.5 stop bits for serial port should set the posix stop bit flag (#5873) * mono/mono@f2e658cdcad [build] Add wasm profile * mono/mono@6d9d804d622 [System.Web] TableFooterRow from reference source (#5882) * mono/mono@0a320dbb956 [aot] Error out when using the coverage profiler + aot, its not supported. Fixes #60175. (#5881) * mono/mono@adbf98b9775 [System.Web] CompilationMode from reference source (#5878) * mono/mono@1f1a1574c25 [System.Web] ScrollBars from reference source (#5869) * mono/mono@6e529aafcce [System.Web] ObjectDataSourceEventHandler from reference source (#5868) * mono/mono@5802f03926c [System.Web] WizardStepType from reference source (#5870) * mono/mono@8e617d38da4 [System.Web] TableHeaderRow from reference source (#5866) * mono/mono@aa39bf69f28 [System.Web] IndexedString from reference source (#5872) * mono/mono@c17cc609da7 [System.Web] ImageClickEventArgs from reference source (#5871) * mono/mono@59c42eacf4f [mono/unit-tests] add callspec unit tests for different classs same prefix * mono/mono@e4b94aa4953 [metadata] Avoid matching class with prefix name * mono/mono@ec038ebb767 [mono/unit-tests] callspec unit testing * mono/mono@c14b08013ce [Microsoft.CSharp] Adds more tests * mono/mono@b0919d93f90 [sdks] Source drop from xamarin/mono-sdks (#5876) * mono/mono@55df9352754 Merge pull request #5874 from vargaz/fix-60255 * mono/mono@eb9238c05e1 [jit] Throw the more specific OverflowException instead of ArithmeticException in the ldiv/lrem emulation functions. Fixes #60255. * mono/mono@067809c50ec Add an automated test that will fail if the list of feature names in CompilerServices.RuntimeFeature is changed (#5854) * mono/mono@a348c127193 Bump roslyn * mono/mono@5c75f593de3 Merge pull request #5764 from Unity-Technologies/save-resume-tramp-amd64-xmm-arg-regs * mono/mono@13a9fb6c7a5 Merge pull request #5844 from vargaz/fix-60288 * mono/mono@b0983b83cd1 [mono] Update denied assemblies list * mono/mono@82e2421819d Build fixes for none Windows desktop platforms. * mono/mono@e3c239ccdc1 [arm] Add support for unlimited size/number of arguments to the dyn call code. Part of the fix for #59184. (#5840) * mono/mono@0f045b1ded3 [System.Data] Cleanup after #4893 (PR) (#5841) * mono/mono@00af82567c7 Bump corlib version for MonoIO coop handle changes. * mono/mono@1ba4211147e [coop-handles] System.IO.MonoIO.Read * mono/mono@498eb7dc58e [coop-handles] System.IO.MonoIO.GetCurrentDirectory * mono/mono@72b5a0e99e7 [coop-handles] System.IO.MonoIO.get_InvalidPathChars * mono/mono@6cdc5531dc7 [coop-handles] System.IO.MonoIO.FindNextFile * mono/mono@b73d5302b1d [coop-handles] System.IO.MonoIO.FindFirstFile * mono/mono@52786872cd2 [coop-handles] System.IO.MonoIO.Write * mono/mono@77fd6e08468 [coop-handles] System.IO.MonoIO.SetFileAttributes * mono/mono@16ebef70ed8 [coop-handles] System.IO.MonoIO.SetCurrentDirectory * mono/mono@85f4b5b1670 [coop-handles] System.IO.MonoIO.ReplaceFile * mono/mono@8ea394429cd [coop-handles] System.IO.MonoIO.RemoveDirectory * mono/mono@847aec71671 [coop-handles] System.IO.MonoIO.Open * mono/mono@0de5f203757 [coop-handles] System.IO.MonoIO.MoveFile * mono/mono@e57d26ebaf8 [coop-handles] System.IO.MonoIO.GetFileStat * mono/mono@794f17ef8b3 [coop-handles] System.IO.MonoIO.GetFileAttributes * mono/mono@89647e4d201 [coop-handles] System.IO.MonoIO.DeleteFile * mono/mono@26aaf7617de [coop-handles] System.IO.MonoIO.CreateDirectory * mono/mono@477d5f3f705 [coop-handles] System.IO.MonoIO.CopyFile * mono/mono@26ccf75f069 [msbuild] Add symlink to csc.exe in msbuild bin dir * mono/mono@2b15f1e6b25 [runtime] Fix Windows build break due to renamed mono_error_raise_exception (#5849) * mono/mono@4b702c8d6a4 [corlib] Updated LinkerDescriptor * mono/mono@9502de78529 Merge pull request #5846 from kumpera/wasm-work-p5 * mono/mono@14a6854c790 [scripts] Build 64-bit package by default * mono/mono@bc3ba3cb5d7 [arm] Make the generic trampoline call mono_thread_force_interruption_checkpoint_noraise () and throw the exception itself instead of calling the obsolete mono_interruption_checkpoint_from_trampoline (). (#5838) * mono/mono@79d96a5a8db Fix WCF Windows Linux cross WCF-comunication via NetTcpBinding (without any security Transport|Message). (#5842) * mono/mono@03ea90cf1f9 [bcl] Optimize Process.GetCurrentProcess ().MainModule. (#5843) * mono/mono@cc67bfdcfc3 [runtime] Allow valuetypes larger than 1MB created by csc/mcs. Fixes #60288. * mono/mono@f2e1f58a80f [interpreter] Fix the DISABLE_REMOTING build. * mono/mono@77b4cd11d1d Only null check target for delegate if method is not static. (#5833) * mono/mono@91a10ffd016 [runtime] Mark mono_raise_exception()/mono_reraise_exception() as external only. Add new _deprecated internal versions. (#5839) * mono/mono@5edb2a54dbb [runtime] Improve diagnostics about methods that failed to LLVM-compile by including the typename in the message. (#5706) * mono/mono@d60877b0f30 Fix tarball build * mono/mono@2124bda984d Merge pull request #5830 from alexischr/wrench-tests * mono/mono@7cde4806fd1 Merge pull request #5632 from luhenry/threads-rework-shutdown * mono/mono@299ad0f1fd6 Merge pull request #5825 from BrzVlad/fix-interp-appdomain * mono/mono@f5ee4a398cc Add MacSDK test script * mono/mono@dc732f01669 [jit] Fix #59182 for the coop case as well. (#5824) * mono/mono@e9899e4bb1f [interp] Enable appdomain tests * mono/mono@70cff6b6b0b [interp] Rethrow abort exceptions at end of catch * mono/mono@043ee9f13d3 [interp] Interruption checkpoint during branches * mono/mono@7483082d9a6 [interp] Handle remoting calls in delegates * mono/mono@ea73165ca87 [interp] Add lmf when doing icalls * mono/mono@ee98142c15f [interp] Don't generate remoting wrapper for normal calls * mono/mono@111a6ed2ffb [interp] Fix tls jit pointer fetch * mono/mono@44b21bca28f Fix bug #58400 - incorrect implementation of LocalPath for file URLs (#5779) * mono/mono@c26e069703d [interp] remove setjmp/longjmp unwinding machinery * mono/mono@5e6893ad487 [interp] remove unused ves_exec_method * mono/mono@15bb34e6d6e Merge pull request #5785 from BrzVlad/fix-59153 * mono/mono@30b5ea7cd92 [MonoError] Add goto_if_nok to reduce duplicated code (#5834) * mono/mono@f5aca1da30e [tests.make] Filter out comments from test.dll.sources for TEST_FILES * mono/mono@a8dab358d91 [interp] do not attempt to transform method of open generic class * mono/mono@1df82c2d516 [threads] Also abort background threads on shutdown * mono/mono@0b40428d597 [threads] Let mono_thread_detach_internal remove thread from threads * mono/mono@1538798867f Merge pull request #5778 from alexischr/bug-56003 * mono/mono@61559965a18 [System.Data] move to corefx (#4893) * mono/mono@ce596ec25c1 Save and resume full 128-bits of xmm argument registers in trampoline. Add definition of MonoContextSimdReg on amd64 for Windows platform and use for size/offset calculations. * mono/mono@c50b4ef9c78 [msvc] Update csproj files (#5832) * mono/mono@5a7d6e3d9a3 Fix spiller when the dest membase optimization intereferes with lvreg caching. Fixes #20562 (#5747) * mono/mono@0f9bbb90fbb [runtime] Rename atomic functions from the win32 style naming to mono_atomic__, with a consistent signature on all platforms, including Windows implementation. (#5767) * mono/mono@1e29ed0d7e5 [System.Core] Remove duplicated test classes (#5829) * mono/mono@8af88bd0e6b Update root gitignore (#5831) * mono/mono@ceec5e9786d [coverage] Fix the printing of nested generic instances. Fixes #60224. * mono/mono@9cce09b0a2f [runtime] Workaround for verifier bug #59967 * mono/mono@c763b4a250e Bump Roslyn * mono/mono@6caf00b09ca [bcl] Remove AssertExtensions helper classes (#5828) * mono/mono@cfedbd7aa2f replace min with MIN * mono/mono@eb5fa1fcedf fix code-style issues * mono/mono@bbb109bd038 limit max possible threads in ThreadPool (SetMaxThreads). Fixes bug-60027 * mono/mono@dbb0872f494 [corlib] Adds ValueTuple tests * mono/mono@0ccfa87a91e [System.URI] Don't reset host string processing on Unicode paths. Fixes #56003 * mono/mono@df37bb7a7c8 [mini] Don't attempt to compile method of open generic class * mono/mono@0b60a62ee79 [interp] use POP_VT macro * mono/mono@6684e29f7a4 [interp] check stack_type in cee_ldobj * mono/mono@7777d78b166 [System.Net] Tweak tests for watchOS * mono/mono@71997d296fb [llvm] Fix the returning of vtypes using a hidden argument in bitcode, in some cases, we forgot to generate the code to return the value, causing random data to be returned. Fixes #59956. (#5786) * mono/mono@17d86bd2644 [msvc] Update csproj files (#5823) * mono/mono@5440d5718b3 [runtime] Avoid an assertion in mono_profiler_get_coverage_data () if the method doesn't have a body. (#5777) * mono/mono@e7736ca5ccc [ppdb] Add a log message when an assembly has no ppdb debug directory. (#5795) * mono/mono@1d0e803fbbb [runtime] Don't crash when method/assembly with no code coverage does not have debug symbols * mono/mono@3d00ea31a73 [sre] Register a canonical reflected method for a methodspec token. (Fixes #60233) (#5813) * mono/mono@4bd3aa21583 [bcl] Update PlatformDetection helpers * mono/mono@e87cc4822c4 Bump xunit dependency * mono/mono@618ef61ae9b [eglib] check if result is set * mono/mono@464c5916d52 [bcl] Fix test assembly build for monodroid profile (#5808) * mono/mono@afb822af074 Merge pull request #5803 from BrzVlad/fix-small-warning * mono/mono@bdababe715b [bcl] Add dependency on .exclude.sources to test assembly (#5804) * mono/mono@9c2a4ff286b [mini regressions] enable aot-tests.cs & gshared.cs on more configurations (#5791) * mono/mono@2a294c432e5 [interp] do not run mcs/tests on ARM on CI * mono/mono@87694b9ed09 [mcs/tests] make test harness output more verbose on V=1 * mono/mono@d12dda34e45 [mcs/tests] add interp target * mono/mono@f2bab1910d9 [linker] update referenced source files * mono/mono@8e3867013a2 Bump linker * mono/mono@9ff18d1dca6 [msvc] Update csproj files (#5805) * mono/mono@2d63c93d06c [interp] use correct code base pointer and set native_offset * mono/mono@acb5f68e3e2 [interp] avoid leaking MonoMethodHeader data structure by freeing or avoiding it * mono/mono@d055f9e21fc [interp] fix minor leaks around wrappers * mono/mono@d9922895d42 [monodroid] Enable a number of tests (#5799) * mono/mono@d8d4307293e [sgen] Fix warning * mono/mono@c399c787c83 [I18N] Add more encoding tests * mono/mono@25ad948e021 [corlib] Add corefx System.Text.Encoding tests * mono/mono@83af0477206 [corlib] Add tests for EncoderFallback * mono/mono@e8ad2487f3b [corlib] Use Latin1Encoding from referencesource * mono/mono@4c4d3dcdc52 [I18N] Remove commented code from ucm2cp.c * mono/mono@73eed5d415f [I18N] Fix wrong charIndex in encoder fallback * mono/mono@8593149b0be [build] Add code coverage mode (#5789) * mono/mono@606f40e708f [corlib] Fix SRE.SaveTest error during teardown on Windows * mono/mono@66f11a1699f Merge pull request #5715 from BrzVlad/fix-alpine-context * mono/mono@dd1a39dbc67 [amd64] Get xmm registers only when on glibc * mono/mono@c89a3e55b74 [Mono.Posix] Use TestHelper code from monodroid repo (#5793) * mono/mono@a1cc4dfedb2 Merge pull request #5788 from BrzVlad/fix-handle-track-sp * mono/mono@23d2615f3da Merge pull request #5782 from YuriyGS/bug60115 * mono/mono@3a8e4fcfd44 Merge pull request #5781 from lateralusX/lateralusX/fix-thread-suspend-windows * mono/mono@d4b20248716 [coop handles] Add comment to prevent hard to debug bugs * mono/mono@69b9f11b6f8 [coop handles] Fix monotonic handle check race with stw in mono_handle_new * mono/mono@1f1edce5761 [coop handles] Add log entry about successor handle * mono/mono@dc2d1c291f5 [coop handles] Fix monotonic check * mono/mono@23d2ee726d0 Merge pull request #5753 from alexrp/wsl-fixes * mono/mono@1dcaf8fddce Added validation on acceptable date interval when update SelectionRange property. Fixed loss of focus when the user presses the arrow buttons and shift. * mono/mono@efdf035cfb9 [arm64] use DMB ISH barrier instead of undefined barrier option * mono/mono@8dead2a6442 [arm64] update definitions for barrier option of DMB * mono/mono@959eb46e17a [mono-context] Work around a WSL bug when fetching XMM registers. * mono/mono@d73e8be1de4 [mcs] Fixes parsing tuple name inside generic type in method header block * mono/mono@f53ce8e1802 Fix random failures in sgen stress tests on Windows due to `mono_thread_is_gc_unsafe_mode assert. * mono/mono@8eb2c02d7ed [acceptance-tests] Reenable ms-test-suite test after Mono bug was fixed (#5776) * mono/mono@1c4d741a020 [corlib/Test] Check for "Israel Standard Time" zone on Windows. * mono/mono@ce19b84529e [corlib] Remove a broad try/catch. * mono/mono@b86c084cbc7 [corlib] Use full years for transition rule start/end ranges. * mono/mono@6d4821b2822 fix formatting issues * mono/mono@55fb7bcda12 fix bug-60031 Thread doesn't throw ThreadStateException when it should * mono/mono@308ce3f5c37 [tests] Remove test from runtime-invoke.cs * mono/mono@7a452797f17 [tests] Re-enable appdomain-thread-abort.exe (#5736) * mono/mono@db8183c9d8d [debugger] Fix LineNumbers test (#5744) * mono/mono@43757d67ef1 [msvc] Fix MONO_CORLIB_VERSION to match configure.ac (#5770) * mono/mono@81f7d591d77 Merge pull request #5741 from alexischr/bug-60028 * mono/mono@663754bf468 [mini helpers] fix disassembly on aarch64 * mono/mono@4fe87bd820c [corlib] Adds more tests * mono/mono@03474ba9e24 Fixed unhandled exceptions in EndPointListener.cs (#5724) * mono/mono@abd4a6a57b5 Merge pull request #5746 from kumpera/fix_56194 * mono/mono@286aa038471 [interp] remove wrong checks, as cee_mkrefany and cee_refanyval only take one argument on the stack * mono/mono@d8bd874fe46 [interp] assume `this' always to be platform pointer size * mono/mono@49b29bfce81 [interp] flag mint_box instruction if value type stack should be popped too * mono/mono@1f580e17b82 [interp] bail out on __arglist and propagate MonoError properly in transformer * mono/mono@3468d54fbb3 [interp] set stack type properly for ldelem_vt * mono/mono@b05f4783766 [interp] add i1, i2 & r8 support for CEE_STELEM * mono/mono@34592c52335 [interp] resolve generic types properly in mint_box, mint_ldobj and mint_cpobj * mono/mono@6c60d2fce03 [interp] pass field instead of pre-calculated size for ld*fld.vt * mono/mono@373ebd547de [tramps] add missing fp reg and check for the future * mono/mono@fa92fa86c26 [interp] fix offsets in switch insn dump (only affects debug output) * mono/mono@3a8cb50b078 [interp] fix compiler warning * mono/mono@ed10891d9be [interp] replace printf with g_print * mono/mono@d071235ffa5 [lldb] update expression in script * mono/mono@16a67c6f6eb Merge pull request #5689 from lateralusX/lateralusX/windows-native-unwind-codeview-support * mono/mono@e47b1865c25 [runtime] Allow throwing pending exceptions from protected wrappers. * mono/mono@0ae45046811 [runtime] Remove a mono_error_raise_exception () call from mono_remoting_wrapper (), its not needed since mono_remoting_wrapper () is called through a wrapper. * mono/mono@12ca539f853 [jit] Call mono_llvm_raise_exception () directly from a bitcode jit icall. (#5752) * mono/mono@42816aaa925 [interp] fix offset calculation for exvar slots in locals * mono/mono@ad4ed79c9ae [test] Add Type.GetType("", ...) tests * mono/mono@0c61eb1b122 [reflection] Throw TLE for Type.GetType("", true) (Fixes #59664) * mono/mono@e004f1ed5e1 [reflection] Use MonoError for mono_reflection_parse_type_checked * mono/mono@95ab8ab08fd [runtime] Ensure the field type is resolved before using it in RuntimeHelpers::InitializeArray. Fixes #56194 * mono/mono@8f324cdfc2c [ASan] introduce MONO_NO_SANITIZE_ADDRESS macro and mark sgen pin object scanning function as such * mono/mono@8cf8b32972d [runtime] Use mono_set_pending_exception () in ves_icall_System_Threading_Thread_Sleep_internal (). (#5748) * mono/mono@f02e158d3c0 [runtime] Remove unused mono_gc_out_of_memory () function. (#5750) * mono/mono@4718035ee67 [mcs] Adds workaround for compiled enum types used as fields of other types. Fixes #59080 * mono/mono@1c9cf1f1c00 [interp] fix LMF popping during exception handling * mono/mono@8e9c90b37eb [interp] remove InterpMethod entry in hash table on free_method callback * mono/mono@428d0606ab2 [System.Windows.Forms] Proper operation order. Fixes #59393. (#5734) * mono/mono@344a3ec4e15 [interp] use GC aware memcpy for storing value types to fields * mono/mono@75415afa764 [bcl] Fix csi to work on Mono (#5737) * mono/mono@c4bee6af4d1 Merge pull request #5726 from alexrp/master * mono/mono@8e9ae0cb072 [w32socket] Ignore errors for IP_MTU_DISCOVER on WSL. * mono/mono@15c0640201f Merge pull request #5714 from alexischr/update_bockbuild * mono/mono@4058c2be43e [utils] Add check for ANDROID_UNIFIED_HEADERS to mono-compiler.h (#5742) * mono/mono@d2e60f48b66 [msvc] Update csproj files (#5745) * mono/mono@c9fc371e31f [corlib] Use temp directory for assemblies in SaveTest.Save() (#5727) * mono/mono@64b4a63a871 [corlib] Throw exception on using disposed Timer object. Fixes #60028 * mono/mono@90a68e6591f [corlib] Fixes make dist (#5735) * mono/mono@aef03761fad Updated with review feedback. * mono/mono@70abfb795a4 [profiler] Clean up the makefile and address some issues with it. * mono/mono@56b3c007f42 [runtime] Don't insta-fail when a faulty COM type is encountered. (#5616) * mono/mono@9eed0cb99ee Update Bockbuild * mono/mono@e77153a6238 Adding basic codeview support on Windows x64 full AOT builds. * mono/mono@925c2dc6325 Adding native unwind info support in Windows x64 full AOT builds. * mono/mono@72c86fe6cc2 [corlib] Makes GetReferencedAssemblies test more reliable * mono/mono@f0ce7bc2897 Merge pull request #5327 from marek-safar/corefx-bump * mono/mono@410bb8a57e2 [runtime] Fix Empty generic enumerator equality * mono/mono@f165a0dc3fb Bump API snapshot submodule * mono/mono@74a87af7f58 [appletls] Trust SecTrustResult.Proceed as well. Fixes #58411. * mono/mono@a984f20e232 Initial set of Ward sgen annotations (#5705) * mono/mono@411a37af279 Bump corefx * mono/mono@3e9d7d6e9cf [mcs] Fixes codegen for pattern probing with value-type variables * mono/mono@caa9ed689f2 [aot] Don't error out if a method fails to JIT in full-aot mode. This was a regression caused by 9302c31f81abd2f5bbf9a8ddd27993e1ece55db2. Fixes #59832. (#5686) * mono/mono@baac94e4b74 [runtime] Coverage profiler fixes (#5698) * mono/mono@44e06316188 [corlib] Fixes array enumerator to match .net behaviour * mono/mono@012f8610237 [jit] In native-to-managed wrappers, emit the initlocals code for vtypes after the code for CEE_JIT_ATTACH, since the init code can make calls to methods like memset () which can go through the trampoline code. Fixes #59182. (#5678) * mono/mono@b2a11ac756f Add new profile for monodroid tools (#5699) * mono/mono@f77270c633c [monodroid] Fix Mono.Posix tests build (#5697) * mono/mono@135dbb9c6d6 [mcs] Allows shadowing of probing pattern variables * mono/mono@b683b3dc747 [System] Ignore FtpWebRequestTest.DownloadFile2_v6 test when IPv6 isn't available (#5695) * mono/mono@dbf70d10834 Merge pull request #5693 from lateralusX/lateralusX/disable-stack-overflow-win-x64 * mono/mono@f0f4a22ae16 [coverage-profiler] Collect coverage data at IL seq point locations. (#5667) * mono/mono@f86145e5589 Merge pull request #5664 from lateralusX/lateralusX/mkbundle-windows-toolchains * mono/mono@d7c22488d7d Bump version to 5.9.0 (#5692) * mono/mono@ef7a4c06206 Prepare Mono for Android NDK with unified headers (#5680) * mono/mono@4f673eac749 [System.Net.Http] Updates range check from 3741d16503a973a99c724bdab9a255a5f07a3637 * mono/mono@66205238fc5 Merge pull request #5636 from BrzVlad/fix-xmm-scan * mono/mono@1004d95b6b7 [mcs] Implements C# 7.2 readonly structs * mono/mono@4db06151beb Disable none-working stack overflow implementation on Windows x64 full AOT. * mono/mono@1bcf21e0480 [w32file] Push win32 specific error to win32 specific implementation (#5665) * mono/mono@abcca89bd4e [mcs] Adds minor langversion support * mono/mono@56247cecbdc Merge pull request #5656 from lateralusX/lateralusX/dynamic-static-windows-build * mono/mono@3d47b20c628 [interp] fix using conv.u with string * mono/mono@3aeeae62304 [jit] Fix using conv.u with string. * mono/mono@adaf7fd65b9 [mcs] Allow properties and indexers of by-ref values to be set without setter * mono/mono@9369ed6e23e [runtime] Store implmap_idx as a guint32 to avoid overflows if the implmap table has more than 64k rows. Fixes #59881. * mono/mono@199d4da9acb Merged changes in master libmonoruntime into PR. * mono/mono@216b92db17e Updated with review feedback. * mono/mono@0f3ca07b429 Update msvc README file. * mono/mono@8ae01a69f20 Add missing dependency for libmini. * mono/mono@4c144cfacfb Align libgc vcxproj with makefile. * mono/mono@1091bd94fd7 Align libgcmonosgen vcxproj with makefile. * mono/mono@8d22c47199c Align eglib vcxproj with makefile. * mono/mono@975d820a75e Align libmonoruntime vcxproj with makefile. * mono/mono@df03eb3fac2 Align libmonoutils vcxproj with makefile. * mono/mono@6cb544f91d0 Fix libmini targets and filters. * mono/mono@17392d380c8 Added labels to eglib and libmonoutils. * mono/mono@05a3f528f7a Fix libmonoruntime targets and filters. * mono/mono@fde89788939 Fix libmonoutils targets and filters. * mono/mono@43e9ddc1fcd Fix eglib targets and filters. * mono/mono@52418d713f4 Drop use of def files for x86, x64 mono-2.0-sgen|boehm.dll Windows build. * mono/mono@52e98abd6e5 Restructure of mono.sln and build properties to better fix static/dynamic library support. * mono/mono@92576e31d2d Merge all static runtime libs into libmono-static. * mono/mono@233bbcaaa3a Review feedback + drop VS2013 support. * mono/mono@098e88f3a87 Merge pull request #5668 from kumpera/wasm-work-p4 * mono/mono@02a9ceaebbe [ci] Small improvements for run-jenkins and collect-coverage. (#5669) * mono/mono@edbc5c2334e Merge pull request #5675 from mono/glib-debug-symbols * mono/mono@77515455734 Bump mono-extensions to fix build break (#5677) * mono/mono@d8be0899640 Bump NuGet.BuildTasks to get new updates and switch to `dev` branch (#5566) * mono/mono@f99b88b812b Add glib to the list of packages with debugging symbols. * mono/mono@bfc76bafbf7 [profiler] log profiler: limit method instrumentation to selected methods (#5517) * mono/mono@30cddad5fb4 [jit] Fix the saving of the 'cfg->ret_var_set' flag when inlining, it was set to FALSE before it was saved, causing invalid code to be generated in some cases when doing nested inlining. Fixes #59608. (#5654) * mono/mono@34866ac4c20 [mcs] Initial by ref returns and variables support * mono/mono@56779410e8b Major improvement of Visual Studio toolchain and Windows SDK support in mkbundle. * mono/mono@fe1eeb07241 [wasm] We can't free memory in wasm as it uses the malloc mmap backend. * mono/mono@22187e8df1e [wasm] Add new missing signature. * mono/mono@6f20e306e0b [wasm] Disable test that doesn't work with WASM * mono/mono@f84533a8dec [amd64] Save missing register * mono/mono@c334db5e2ce [arm64] Scan simd registers on apple * mono/mono@ef8bc5028eb [runtime] Avoid indirection when building MonoContext on darwin * mono/mono@c889057d647 [arm64] Add the full neon regs to the context * mono/mono@161c807083b [amd64] Add XMM registers to MonoContext on linux Diff: https://github.com/mono/mono/compare/ce89e4c5fa46a4d8225f43339fab0b0574f81cfe...4116105b8b458841188b3d9817be532aa2365311 https://bugzilla.xamarin.com/show_bug.cgi?id=40699 https://bugzilla.xamarin.com/show_bug.cgi?id=49308 https://bugzilla.xamarin.com/show_bug.cgi?id=56003 https://bugzilla.xamarin.com/show_bug.cgi?id=56194 https://bugzilla.xamarin.com/show_bug.cgi?id=58400 https://bugzilla.xamarin.com/show_bug.cgi?id=58411 https://bugzilla.xamarin.com/show_bug.cgi?id=59080 https://bugzilla.xamarin.com/show_bug.cgi?id=59182 https://bugzilla.xamarin.com/show_bug.cgi?id=59184 https://bugzilla.xamarin.com/show_bug.cgi?id=59239 https://bugzilla.xamarin.com/show_bug.cgi?id=59393 https://bugzilla.xamarin.com/show_bug.cgi?id=59608 https://bugzilla.xamarin.com/show_bug.cgi?id=59664 https://bugzilla.xamarin.com/show_bug.cgi?id=59832 https://bugzilla.xamarin.com/show_bug.cgi?id=59881 https://bugzilla.xamarin.com/show_bug.cgi?id=59956 https://bugzilla.xamarin.com/show_bug.cgi?id=59967 https://bugzilla.xamarin.com/show_bug.cgi?id=60028 https://bugzilla.xamarin.com/show_bug.cgi?id=60029 https://bugzilla.xamarin.com/show_bug.cgi?id=60175 https://bugzilla.xamarin.com/show_bug.cgi?id=60224 https://bugzilla.xamarin.com/show_bug.cgi?id=60233 https://bugzilla.xamarin.com/show_bug.cgi?id=60255 https://bugzilla.xamarin.com/show_bug.cgi?id=60267 https://bugzilla.xamarin.com/show_bug.cgi?id=60288 https://bugzilla.xamarin.com/show_bug.cgi?id=60422 https://bugzilla.xamarin.com/show_bug.cgi?id=60435 https://bugzilla.xamarin.com/show_bug.cgi?id=60505 https://bugzilla.xamarin.com/show_bug.cgi?id=60539 https://bugzilla.xamarin.com/show_bug.cgi?id=60545 https://bugzilla.xamarin.com/show_bug.cgi?id=60634 https://bugzilla.xamarin.com/show_bug.cgi?id=60680 https://bugzilla.xamarin.com/show_bug.cgi?id=60771 https://bugzilla.xamarin.com/show_bug.cgi?id=60860 --- Make.config | 6 +++--- external/mono | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Make.config b/Make.config index 1adf99196477..bf1c79d4782e 100644 --- a/Make.config +++ b/Make.config @@ -60,9 +60,9 @@ XCODE_URL=http://xamarin-storage/bot-provisioning/Xcode_9.2.xip XCODE_DEVELOPER_ROOT=/Applications/Xcode92.app/Contents/Developer # Minimum Mono version -MIN_MONO_VERSION=5.8.0.0 -MAX_MONO_VERSION=5.8.99 -MIN_MONO_URL=https://bosstoragemirror.azureedge.net/wrench/mono-2017-10/8a/8a2a0628624e9a7456b0ec1831dd68998750df62/MonoFramework-MDK-5.8.0.0.macos10.xamarin.universal.pkg +MIN_MONO_VERSION=5.10.0.0 +MAX_MONO_VERSION=5.10.99 +MIN_MONO_URL=https://xamjenkinsartifact.azureedge.net/build-package-osx-mono/2017-12/13/MonoFramework-MDK-5.10.0.15.macos10.xamarin.universal.pkg # Minimum Visual Studio version MIN_VISUAL_STUDIO_URL=https://bosstoragemirror.blob.core.windows.net/wrench/monodevelop-lion-dogfood-vNext/8f/8f1c13cb983138ee63bd53e09908ea5e737988cd/VisualStudioForMac-Preview-7.0.0.2728.dmg diff --git a/external/mono b/external/mono index ce89e4c5fa46..4116105b8b45 160000 --- a/external/mono +++ b/external/mono @@ -1 +1 @@ -Subproject commit ce89e4c5fa46a4d8225f43339fab0b0574f81cfe +Subproject commit 4116105b8b458841188b3d9817be532aa2365311 From b57b9f5b2a47c6babbedf1382652cd7df2e5447d Mon Sep 17 00:00:00 2001 From: Alexander Kyte Date: Fri, 29 Dec 2017 15:10:04 -0500 Subject: [PATCH 02/58] [integration] bump maccore --- mk/xamarin.mk | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/mk/xamarin.mk b/mk/xamarin.mk index fc20a70d9ca4..efa6da00fbd5 100644 --- a/mk/xamarin.mk +++ b/mk/xamarin.mk @@ -1,6 +1,7 @@ ifdef ENABLE_XAMARIN -NEEDED_MACCORE_VERSION := 62c4393c94ed274acbc1edce259a3c22a461f922 -NEEDED_MACCORE_BRANCH := master +-include $(MACCORE_PATH)/mk/versions.mk +NEEDED_MACCORE_VERSION := 5a97b45faf02315eb266d3670fd1492e34228f0f +NEEDED_MACCORE_BRANCH := 2017-12 MACCORE_DIRECTORY := maccore MACCORE_MODULE := git@github.com:xamarin/maccore.git @@ -58,6 +59,9 @@ test-$(1):: @echo " $(2)_PATH=$($(2)_PATH) => $(abspath $($(2)_PATH))" reset-$(1):: + @echo " NEEDED_MONO_EXTENSIONS_VERSION=$(NEEDED_MONO_EXTENSIONS_VERSION)" + @echo " NEEDED_MONO_EXTENSIONS_BRANCH=$(NEEDED_MONO_EXTENSIONS_BRANCH)" + @echo " NEEDED_MONO_EXTENSIONS_REMOTE=$(NEEDED_MONO_EXTENSIONS_REMOTE)" @if test -d $($(2)_PATH); then \ if ! (cd $($(2)_PATH) && git show $(NEEDED_$(2)_VERSION) >/dev/null 2>&1 && git log -1 $(NEEDED_$(2)_REMOTE) >/dev/null 2>&1) ; then \ echo "*** git fetch `basename $$($(2)_PATH)`" && (cd $($(2)_PATH) && git fetch); \ @@ -91,6 +95,5 @@ $(MACCORE_PATH): $(Q) $(MAKE) reset-maccore $(eval $(call CheckVersionTemplate,maccore,MACCORE)) --include $(MACCORE_PATH)/mk/versions.mk $(MACCORE_PATH)/mk/versions.mk: | $(MACCORE_PATH) endif From 7cadda4a1ac24b24d4f7b0691b3ca99d44a95dfd Mon Sep 17 00:00:00 2001 From: Alexander Kyte Date: Thu, 4 Jan 2018 13:42:16 -0500 Subject: [PATCH 03/58] Test fix for issue with stateful script loading --- mk/xamarin.mk | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/mk/xamarin.mk b/mk/xamarin.mk index efa6da00fbd5..62e9d080ac05 100644 --- a/mk/xamarin.mk +++ b/mk/xamarin.mk @@ -1,5 +1,13 @@ ifdef ENABLE_XAMARIN + +ifneq ("$(wildcard $(topdir)/class/lib/$(PROFILE))","") -include $(MACCORE_PATH)/mk/versions.mk +$(warning INCLUDED) +@echo " NEEDED_MONO_EXTENSIONS_VERSION=$(NEEDED_MONO_EXTENSIONS_VERSION)" +@echo " NEEDED_MONO_EXTENSIONS_BRANCH=$(NEEDED_MONO_EXTENSIONS_BRANCH)" +@echo " NEEDED_MONO_EXTENSIONS_REMOTE=$(NEEDED_MONO_EXTENSIONS_REMOTE)" +endif + NEEDED_MACCORE_VERSION := 5a97b45faf02315eb266d3670fd1492e34228f0f NEEDED_MACCORE_BRANCH := 2017-12 @@ -95,5 +103,6 @@ $(MACCORE_PATH): $(Q) $(MAKE) reset-maccore $(eval $(call CheckVersionTemplate,maccore,MACCORE)) +-include $(MACCORE_PATH)/mk/versions.mk $(MACCORE_PATH)/mk/versions.mk: | $(MACCORE_PATH) endif From 4f787ac022edcdd2e3d2679618dcff6ec123ea63 Mon Sep 17 00:00:00 2001 From: Marek Safar Date: Wed, 10 Jan 2018 14:17:47 +0100 Subject: [PATCH 04/58] Install only selected files to mimic Mono NO_INSTALL flag --- tools/install-source/Makefile | 78 ++++++++++++++++++++++++++++++++++- 1 file changed, 76 insertions(+), 2 deletions(-) diff --git a/tools/install-source/Makefile b/tools/install-source/Makefile index 4bf4cf934be1..e76ff61603ff 100644 --- a/tools/install-source/Makefile +++ b/tools/install-source/Makefile @@ -26,11 +26,85 @@ Mono.Cecil.dll: $(MONO_CECIL_DLL) $(Q) cp $<* $(dir $@) IOS_ASSEMBLIES = \ - $(wildcard $(MONO_PATH)/mcs/class/lib/monotouch/*.pdb) \ + $(MONO_PATH)/mcs/class/lib/monotouch/I18N.CJK.pdb \ + $(MONO_PATH)/mcs/class/lib/monotouch/I18N.MidEast.pdb \ + $(MONO_PATH)/mcs/class/lib/monotouch/I18N.Other.pdb \ + $(MONO_PATH)/mcs/class/lib/monotouch/I18N.Rare.pdb \ + $(MONO_PATH)/mcs/class/lib/monotouch/I18N.West.pdb \ + $(MONO_PATH)/mcs/class/lib/monotouch/I18N.pdb \ + $(MONO_PATH)/mcs/class/lib/monotouch/Microsoft.CSharp.pdb \ + $(MONO_PATH)/mcs/class/lib/monotouch/Mono.CSharp.pdb \ + $(MONO_PATH)/mcs/class/lib/monotouch/Mono.Data.Sqlite.pdb \ + $(MONO_PATH)/mcs/class/lib/monotouch/Mono.Data.Tds.pdb \ + $(MONO_PATH)/mcs/class/lib/monotouch/Mono.Security.pdb \ + $(MONO_PATH)/mcs/class/lib/monotouch/Mono.Simd.pdb \ + $(MONO_PATH)/mcs/class/lib/monotouch/System.ComponentModel.Composition.pdb \ + $(MONO_PATH)/mcs/class/lib/monotouch/System.ComponentModel.DataAnnotations.pdb \ + $(MONO_PATH)/mcs/class/lib/monotouch/System.Core.pdb \ + $(MONO_PATH)/mcs/class/lib/monotouch/System.Data.Services.Client.pdb \ + $(MONO_PATH)/mcs/class/lib/monotouch/System.Data.pdb \ + $(MONO_PATH)/mcs/class/lib/monotouch/System.IO.Compression.FileSystem.pdb \ + $(MONO_PATH)/mcs/class/lib/monotouch/System.IO.Compression.pdb \ + $(MONO_PATH)/mcs/class/lib/monotouch/System.IdentityModel.pdb \ + $(MONO_PATH)/mcs/class/lib/monotouch/System.Json.pdb \ + $(MONO_PATH)/mcs/class/lib/monotouch/System.Net.Http.WinHttpHandler.pdb \ + $(MONO_PATH)/mcs/class/lib/monotouch/System.Net.Http.pdb \ + $(MONO_PATH)/mcs/class/lib/monotouch/System.Net.pdb \ + $(MONO_PATH)/mcs/class/lib/monotouch/System.Numerics.Vectors.pdb \ + $(MONO_PATH)/mcs/class/lib/monotouch/System.Numerics.pdb \ + $(MONO_PATH)/mcs/class/lib/monotouch/System.Reflection.Context.pdb \ + $(MONO_PATH)/mcs/class/lib/monotouch/System.Runtime.Serialization.pdb \ + $(MONO_PATH)/mcs/class/lib/monotouch/System.Security.pdb \ + $(MONO_PATH)/mcs/class/lib/monotouch/System.ServiceModel.Internals.pdb \ + $(MONO_PATH)/mcs/class/lib/monotouch/System.ServiceModel.Web.pdb \ + $(MONO_PATH)/mcs/class/lib/monotouch/System.ServiceModel.pdb \ + $(MONO_PATH)/mcs/class/lib/monotouch/System.Transactions.pdb \ + $(MONO_PATH)/mcs/class/lib/monotouch/System.Web.Services.pdb \ + $(MONO_PATH)/mcs/class/lib/monotouch/System.Xml.Linq.pdb \ + $(MONO_PATH)/mcs/class/lib/monotouch/System.Xml.pdb \ + $(MONO_PATH)/mcs/class/lib/monotouch/System.pdb \ + $(MONO_PATH)/mcs/class/lib/monotouch/mscorlib.pdb \ $(IOS_DESTDIR)$(MONOTOUCH_PREFIX)/lib/64bits/Xamarin.iOS.dll.mdb MAC_ASSEMBLIES = \ - $(wildcard $(MONO_PATH)/mcs/class/lib/xammac/*.pdb) \ + $(MONO_PATH)/mcs/class/lib/xammac/I18N.CJK.pdb \ + $(MONO_PATH)/mcs/class/lib/xammac/I18N.MidEast.pdb \ + $(MONO_PATH)/mcs/class/lib/xammac/I18N.Other.pdb \ + $(MONO_PATH)/mcs/class/lib/xammac/I18N.Rare.pdb \ + $(MONO_PATH)/mcs/class/lib/xammac/I18N.West.pdb \ + $(MONO_PATH)/mcs/class/lib/xammac/I18N.pdb \ + $(MONO_PATH)/mcs/class/lib/xammac/Microsoft.CSharp.pdb \ + $(MONO_PATH)/mcs/class/lib/xammac/Mono.CSharp.pdb \ + $(MONO_PATH)/mcs/class/lib/xammac/Mono.CompilerServices.SymbolWriter.pdb \ + $(MONO_PATH)/mcs/class/lib/xammac/Mono.Data.Sqlite.pdb \ + $(MONO_PATH)/mcs/class/lib/xammac/Mono.Data.Tds.pdb \ + $(MONO_PATH)/mcs/class/lib/xammac/Mono.Security.pdb \ + $(MONO_PATH)/mcs/class/lib/xammac/System.ComponentModel.Composition.pdb \ + $(MONO_PATH)/mcs/class/lib/xammac/System.ComponentModel.DataAnnotations.pdb \ + $(MONO_PATH)/mcs/class/lib/xammac/System.Core.pdb \ + $(MONO_PATH)/mcs/class/lib/xammac/System.Data.Services.Client.pdb \ + $(MONO_PATH)/mcs/class/lib/xammac/System.Data.pdb \ + $(MONO_PATH)/mcs/class/lib/xammac/System.IO.Compression.FileSystem.pdb \ + $(MONO_PATH)/mcs/class/lib/xammac/System.IO.Compression.pdb \ + $(MONO_PATH)/mcs/class/lib/xammac/System.IdentityModel.pdb \ + $(MONO_PATH)/mcs/class/lib/xammac/System.Json.pdb \ + $(MONO_PATH)/mcs/class/lib/xammac/System.Net.Http.WinHttpHandler.pdb \ + $(MONO_PATH)/mcs/class/lib/xammac/System.Net.Http.pdb \ + $(MONO_PATH)/mcs/class/lib/xammac/System.Net.pdb \ + $(MONO_PATH)/mcs/class/lib/xammac/System.Numerics.Vectors.pdb \ + $(MONO_PATH)/mcs/class/lib/xammac/System.Numerics.pdb \ + $(MONO_PATH)/mcs/class/lib/xammac/System.Reflection.Context.pdb \ + $(MONO_PATH)/mcs/class/lib/xammac/System.Runtime.Serialization.pdb \ + $(MONO_PATH)/mcs/class/lib/xammac/System.Security.pdb \ + $(MONO_PATH)/mcs/class/lib/xammac/System.ServiceModel.Internals.pdb \ + $(MONO_PATH)/mcs/class/lib/xammac/System.ServiceModel.Web.pdb \ + $(MONO_PATH)/mcs/class/lib/xammac/System.ServiceModel.pdb \ + $(MONO_PATH)/mcs/class/lib/xammac/System.Transactions.pdb \ + $(MONO_PATH)/mcs/class/lib/xammac/System.Web.Services.pdb \ + $(MONO_PATH)/mcs/class/lib/xammac/System.Xml.Linq.pdb \ + $(MONO_PATH)/mcs/class/lib/xammac/System.Xml.pdb \ + $(MONO_PATH)/mcs/class/lib/xammac/System.pdb \ + $(MONO_PATH)/mcs/class/lib/xammac/mscorlib.pdb \ $(MAC_DESTDIR)$(MAC_FRAMEWORK_CURRENT_DIR)/lib/mono/4.5/Xamarin.Mac.dll.mdb IOS_MDB_FILES = \ From 52154df8dbe35d7de40f7763280761874c542625 Mon Sep 17 00:00:00 2001 From: Marek Safar Date: Wed, 10 Jan 2018 19:03:30 +0100 Subject: [PATCH 05/58] Exclude lines with comments from profile source files --- tests/xharness/BCLTestInfo.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/xharness/BCLTestInfo.cs b/tests/xharness/BCLTestInfo.cs index 4f4bbdf0e6cd..4d98001101ab 100644 --- a/tests/xharness/BCLTestInfo.cs +++ b/tests/xharness/BCLTestInfo.cs @@ -46,7 +46,7 @@ public BCLTestInfo (Harness harness, string testName) protected void Process (string test_sources, IEnumerable test_files, string condition, StringBuilder [] sb, int split_count) { - test_files = test_files.Where ((v) => !string.IsNullOrEmpty (v)); + test_files = test_files.Where (v => !string.IsNullOrEmpty (v) && !v.StartsWith ("#", StringComparison.Ordinal)); // Split the directories of the test files into 'split_count' number of chunks var files_path = Path.GetDirectoryName (test_sources).Replace ("/", "\\"); From 6570d15964519036cac9cc05ccd4cbfd12b5c702 Mon Sep 17 00:00:00 2001 From: Marek Safar Date: Mon, 15 Jan 2018 18:02:17 +0100 Subject: [PATCH 06/58] Bump 2017-12 mono --- external/mono | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/external/mono b/external/mono index 4116105b8b45..a59563176ac2 160000 --- a/external/mono +++ b/external/mono @@ -1 +1 @@ -Subproject commit 4116105b8b458841188b3d9817be532aa2365311 +Subproject commit a59563176ac25a3e6e33eb0c7100e99f2a425dda From 276a41ff0c9fda0b4299e029bc72c740b78c8ba5 Mon Sep 17 00:00:00 2001 From: Marek Safar Date: Mon, 29 Jan 2018 11:49:17 -0500 Subject: [PATCH 07/58] Bump mono --- external/mono | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/external/mono b/external/mono index a59563176ac2..664424113bb0 160000 --- a/external/mono +++ b/external/mono @@ -1 +1 @@ -Subproject commit a59563176ac25a3e6e33eb0c7100e99f2a425dda +Subproject commit 664424113bb0126600ce59e23132dfd04562111b From bf5da433f2633f559b3d9a19b30d262524f68d16 Mon Sep 17 00:00:00 2001 From: Marek Safar Date: Wed, 31 Jan 2018 06:50:35 -0500 Subject: [PATCH 08/58] Bump Mono --- external/mono | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/external/mono b/external/mono index 664424113bb0..e87f9d77e78f 160000 --- a/external/mono +++ b/external/mono @@ -1 +1 @@ -Subproject commit 664424113bb0126600ce59e23132dfd04562111b +Subproject commit e87f9d77e78f768935c477c1f41fb5a13977350f From 67a711e8439a198892b21e7a706b0b2826df5811 Mon Sep 17 00:00:00 2001 From: Marek Safar Date: Wed, 31 Jan 2018 08:04:15 -0500 Subject: [PATCH 09/58] Update linker sources location --- tools/mmp/Makefile | 62 +++++++++++++++++++++---------------------- tools/mtouch/Makefile | 60 ++++++++++++++++++++--------------------- 2 files changed, 61 insertions(+), 61 deletions(-) diff --git a/tools/mmp/Makefile b/tools/mmp/Makefile index d791451fa15b..62685540eafc 100644 --- a/tools/mmp/Makefile +++ b/tools/mmp/Makefile @@ -20,37 +20,37 @@ LINKER_DIR=$(LINKER_TOOLS_PATH)/linker TUNER_DIR=$(LINKER_TOOLS_PATH)/tuner linker_sources = \ - $(LINKER_DIR)/Mono.Linker/Pipeline.cs \ - $(LINKER_DIR)/Mono.Linker/AssemblyResolver.cs \ - $(LINKER_DIR)/Mono.Linker/TypePreserve.cs \ - $(LINKER_DIR)/Mono.Linker/Annotations.cs \ - $(LINKER_DIR)/Mono.Linker/LinkContext.cs \ - $(LINKER_DIR)/Mono.Linker/ILogger.cs \ - $(LINKER_DIR)/Mono.Linker/ConsoleLogger.cs \ - $(LINKER_DIR)/Mono.Linker/LoadException.cs \ - $(LINKER_DIR)/Mono.Linker/MarkException.cs \ - $(LINKER_DIR)/Mono.Linker/AssemblyAction.cs \ - $(LINKER_DIR)/Mono.Linker/I18nAssemblies.cs \ - $(LINKER_DIR)/Mono.Linker/MethodAction.cs \ - $(LINKER_DIR)/Mono.Linker/XApiReader.cs \ - $(LINKER_DIR)/Mono.Linker/IXApiVisitor.cs \ - $(LINKER_DIR)/Mono.Linker/MethodReferenceExtensions.cs \ - $(LINKER_DIR)/Mono.Linker/TypeReferenceExtensions.cs \ - $(LINKER_DIR)/Mono.Linker.Steps/BaseStep.cs \ - $(LINKER_DIR)/Mono.Linker.Steps/LoadReferencesStep.cs \ - $(LINKER_DIR)/Mono.Linker.Steps/LoadI18nAssemblies.cs \ - $(LINKER_DIR)/Mono.Linker.Steps/ResolveFromXmlStep.cs \ - $(LINKER_DIR)/Mono.Linker.Steps/SweepStep.cs \ - $(LINKER_DIR)/Mono.Linker.Steps/RegenerateGuidStep.cs \ - $(LINKER_DIR)/Mono.Linker.Steps/ResolveFromXApiStep.cs \ - $(LINKER_DIR)/Mono.Linker.Steps/ResolveFromAssemblyStep.cs \ - $(LINKER_DIR)/Mono.Linker.Steps/ResolveStep.cs \ - $(LINKER_DIR)/Mono.Linker.Steps/CleanStep.cs \ - $(LINKER_DIR)/Mono.Linker.Steps/MarkStep.cs \ - $(LINKER_DIR)/Mono.Linker.Steps/BlacklistStep.cs \ - $(LINKER_DIR)/Mono.Linker.Steps/OutputStep.cs \ - $(LINKER_DIR)/Mono.Linker.Steps/TypeMapStep.cs \ - $(LINKER_DIR)/Mono.Linker.Steps/IStep.cs + $(LINKER_DIR)/Linker/Pipeline.cs \ + $(LINKER_DIR)/Linker/AssemblyResolver.cs \ + $(LINKER_DIR)/Linker/TypePreserve.cs \ + $(LINKER_DIR)/Linker/Annotations.cs \ + $(LINKER_DIR)/Linker/LinkContext.cs \ + $(LINKER_DIR)/Linker/ILogger.cs \ + $(LINKER_DIR)/Linker/ConsoleLogger.cs \ + $(LINKER_DIR)/Linker/LoadException.cs \ + $(LINKER_DIR)/Linker/MarkException.cs \ + $(LINKER_DIR)/Linker/AssemblyAction.cs \ + $(LINKER_DIR)/Linker/I18nAssemblies.cs \ + $(LINKER_DIR)/Linker/MethodAction.cs \ + $(LINKER_DIR)/Linker/XApiReader.cs \ + $(LINKER_DIR)/Linker/IXApiVisitor.cs \ + $(LINKER_DIR)/Linker/MethodReferenceExtensions.cs \ + $(LINKER_DIR)/Linker/TypeReferenceExtensions.cs \ + $(LINKER_DIR)/Linker.Steps/BaseStep.cs \ + $(LINKER_DIR)/Linker.Steps/LoadReferencesStep.cs \ + $(LINKER_DIR)/Linker.Steps/LoadI18nAssemblies.cs \ + $(LINKER_DIR)/Linker.Steps/ResolveFromXmlStep.cs \ + $(LINKER_DIR)/Linker.Steps/SweepStep.cs \ + $(LINKER_DIR)/Linker.Steps/RegenerateGuidStep.cs \ + $(LINKER_DIR)/Linker.Steps/ResolveFromXApiStep.cs \ + $(LINKER_DIR)/Linker.Steps/ResolveFromAssemblyStep.cs \ + $(LINKER_DIR)/Linker.Steps/ResolveStep.cs \ + $(LINKER_DIR)/Linker.Steps/CleanStep.cs \ + $(LINKER_DIR)/Linker.Steps/MarkStep.cs \ + $(LINKER_DIR)/Linker.Steps/BlacklistStep.cs \ + $(LINKER_DIR)/Linker.Steps/OutputStep.cs \ + $(LINKER_DIR)/Linker.Steps/TypeMapStep.cs \ + $(LINKER_DIR)/Linker.Steps/IStep.cs tuner_sources = \ $(linker_sources) \ diff --git a/tools/mtouch/Makefile b/tools/mtouch/Makefile index b2a2e48b518a..4ebf5885fa31 100644 --- a/tools/mtouch/Makefile +++ b/tools/mtouch/Makefile @@ -18,36 +18,36 @@ LINKER_RESOURCES = \ $(LINKER_DIR)/Descriptors/mscorlib.xml LINKER_SOURCES = \ - $(MONOLINKER)/Mono.Linker/Annotations.cs \ - $(MONOLINKER)/Mono.Linker/AssemblyAction.cs \ - $(MONOLINKER)/Mono.Linker/AssemblyResolver.cs \ - $(MONOLINKER)/Mono.Linker/I18nAssemblies.cs \ - $(MONOLINKER)/Mono.Linker/IXApiVisitor.cs \ - $(MONOLINKER)/Mono.Linker/ILogger.cs \ - $(MONOLINKER)/Mono.Linker/ConsoleLogger.cs \ - $(MONOLINKER)/Mono.Linker/LinkContext.cs \ - $(MONOLINKER)/Mono.Linker/LoadException.cs \ - $(MONOLINKER)/Mono.Linker/MarkException.cs \ - $(MONOLINKER)/Mono.Linker/MethodAction.cs \ - $(MONOLINKER)/Mono.Linker/Pipeline.cs \ - $(MONOLINKER)/Mono.Linker/MethodReferenceExtensions.cs \ - $(MONOLINKER)/Mono.Linker/TypeReferenceExtensions.cs \ - $(MONOLINKER)/Mono.Linker/TypePreserve.cs \ - $(MONOLINKER)/Mono.Linker/XApiReader.cs \ - $(MONOLINKER)/Mono.Linker.Steps/BaseStep.cs \ - $(MONOLINKER)/Mono.Linker.Steps/BlacklistStep.cs \ - $(MONOLINKER)/Mono.Linker.Steps/CleanStep.cs \ - $(MONOLINKER)/Mono.Linker.Steps/IStep.cs \ - $(MONOLINKER)/Mono.Linker.Steps/LoadI18nAssemblies.cs \ - $(MONOLINKER)/Mono.Linker.Steps/LoadReferencesStep.cs \ - $(MONOLINKER)/Mono.Linker.Steps/MarkStep.cs \ - $(MONOLINKER)/Mono.Linker.Steps/OutputStep.cs \ - $(MONOLINKER)/Mono.Linker.Steps/ResolveFromAssemblyStep.cs \ - $(MONOLINKER)/Mono.Linker.Steps/ResolveFromXApiStep.cs \ - $(MONOLINKER)/Mono.Linker.Steps/ResolveFromXmlStep.cs \ - $(MONOLINKER)/Mono.Linker.Steps/ResolveStep.cs \ - $(MONOLINKER)/Mono.Linker.Steps/SweepStep.cs \ - $(MONOLINKER)/Mono.Linker.Steps/TypeMapStep.cs \ + $(MONOLINKER)/Linker/Annotations.cs \ + $(MONOLINKER)/Linker/AssemblyAction.cs \ + $(MONOLINKER)/Linker/AssemblyResolver.cs \ + $(MONOLINKER)/Linker/I18nAssemblies.cs \ + $(MONOLINKER)/Linker/IXApiVisitor.cs \ + $(MONOLINKER)/Linker/ILogger.cs \ + $(MONOLINKER)/Linker/ConsoleLogger.cs \ + $(MONOLINKER)/Linker/LinkContext.cs \ + $(MONOLINKER)/Linker/LoadException.cs \ + $(MONOLINKER)/Linker/MarkException.cs \ + $(MONOLINKER)/Linker/MethodAction.cs \ + $(MONOLINKER)/Linker/Pipeline.cs \ + $(MONOLINKER)/Linker/MethodReferenceExtensions.cs \ + $(MONOLINKER)/Linker/TypeReferenceExtensions.cs \ + $(MONOLINKER)/Linker/TypePreserve.cs \ + $(MONOLINKER)/Linker/XApiReader.cs \ + $(MONOLINKER)/Linker.Steps/BaseStep.cs \ + $(MONOLINKER)/Linker.Steps/BlacklistStep.cs \ + $(MONOLINKER)/Linker.Steps/CleanStep.cs \ + $(MONOLINKER)/Linker.Steps/IStep.cs \ + $(MONOLINKER)/Linker.Steps/LoadI18nAssemblies.cs \ + $(MONOLINKER)/Linker.Steps/LoadReferencesStep.cs \ + $(MONOLINKER)/Linker.Steps/MarkStep.cs \ + $(MONOLINKER)/Linker.Steps/OutputStep.cs \ + $(MONOLINKER)/Linker.Steps/ResolveFromAssemblyStep.cs \ + $(MONOLINKER)/Linker.Steps/ResolveFromXApiStep.cs \ + $(MONOLINKER)/Linker.Steps/ResolveFromXmlStep.cs \ + $(MONOLINKER)/Linker.Steps/ResolveStep.cs \ + $(MONOLINKER)/Linker.Steps/SweepStep.cs \ + $(MONOLINKER)/Linker.Steps/TypeMapStep.cs \ $(MONO_TUNER)/Mono.Tuner/ApplyPreserveAttributeBase.cs \ $(MONO_TUNER)/Mono.Tuner/CecilRocks.cs \ $(MONO_TUNER)/Mono.Tuner/CustomizeActions.cs \ From b2bd45e386e5a08f9bb32e088c2fd159e44a06e3 Mon Sep 17 00:00:00 2001 From: Marek Safar Date: Wed, 31 Jan 2018 13:15:34 -0500 Subject: [PATCH 10/58] More linker updates --- tools/mmp/Makefile | 2 ++ tools/mtouch/Makefile | 2 ++ 2 files changed, 4 insertions(+) diff --git a/tools/mmp/Makefile b/tools/mmp/Makefile index 62685540eafc..09ba9bf325b1 100644 --- a/tools/mmp/Makefile +++ b/tools/mmp/Makefile @@ -35,6 +35,8 @@ linker_sources = \ $(LINKER_DIR)/Linker/XApiReader.cs \ $(LINKER_DIR)/Linker/IXApiVisitor.cs \ $(LINKER_DIR)/Linker/MethodReferenceExtensions.cs \ + $(LINKER_DIR)/Linker/MarkingHelpers.cs \ + $(LINKER_DIR)/Linker/Tracer.cs \ $(LINKER_DIR)/Linker/TypeReferenceExtensions.cs \ $(LINKER_DIR)/Linker.Steps/BaseStep.cs \ $(LINKER_DIR)/Linker.Steps/LoadReferencesStep.cs \ diff --git a/tools/mtouch/Makefile b/tools/mtouch/Makefile index 4ebf5885fa31..e53cd01866d4 100644 --- a/tools/mtouch/Makefile +++ b/tools/mtouch/Makefile @@ -34,6 +34,8 @@ LINKER_SOURCES = \ $(MONOLINKER)/Linker/TypeReferenceExtensions.cs \ $(MONOLINKER)/Linker/TypePreserve.cs \ $(MONOLINKER)/Linker/XApiReader.cs \ + $(MONOLINKER)/Linker/Tracer.cs \ + $(MONOLINKER)/Linker/TypeReferenceExtensions.cs \ $(MONOLINKER)/Linker.Steps/BaseStep.cs \ $(MONOLINKER)/Linker.Steps/BlacklistStep.cs \ $(MONOLINKER)/Linker.Steps/CleanStep.cs \ From 6afe61e1e54495dfe2bd4dcc424587218fad00c1 Mon Sep 17 00:00:00 2001 From: Marek Safar Date: Wed, 31 Jan 2018 18:18:25 -0500 Subject: [PATCH 11/58] More build fixes --- tools/linker/MobileResolveMainAssemblyStep.cs | 4 ++-- tools/linker/MobileSweepStep.cs | 4 ++-- tools/mtouch/Makefile | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/tools/linker/MobileResolveMainAssemblyStep.cs b/tools/linker/MobileResolveMainAssemblyStep.cs index feb15e914850..144913473b30 100644 --- a/tools/linker/MobileResolveMainAssemblyStep.cs +++ b/tools/linker/MobileResolveMainAssemblyStep.cs @@ -32,7 +32,7 @@ protected override void Process () Context.Resolver.CacheAssembly (assembly); Context.SafeReadSymbols (assembly); - Annotations.Push (assembly); + Context.Tracer.Push (assembly); var is_product_assembly = Mono.Tuner.Profile.IsProductAssembly (assembly); foreach (var t in assembly.MainModule.Types) { @@ -53,7 +53,7 @@ protected override void Process () // should bring everything else that's required } - Annotations.Pop (); + Context.Tracer.Pop (); } } } diff --git a/tools/linker/MobileSweepStep.cs b/tools/linker/MobileSweepStep.cs index 5f4dcd011440..22e052dd042e 100644 --- a/tools/linker/MobileSweepStep.cs +++ b/tools/linker/MobileSweepStep.cs @@ -47,12 +47,12 @@ protected void SweepMainModule (ModuleDefinition main) // or they can point to nothing which will break later (e.g. when re-loading for stripping IL) // reference: https://bugzilla.xamarin.com/show_bug.cgi?id=36577 if (main.HasExportedTypes) - SweepCollection (main.ExportedTypes); + SweepCollectionNonAttributable (main.ExportedTypes); // only when linking should we remove module references, if we (re)save the assembly then // the entrypoints (for p/invokes) will be required later // reference: https://bugzilla.xamarin.com/show_bug.cgi?id=35372 if (main.HasModuleReferences && (CurrentAction == AssemblyAction.Link)) - SweepCollection (main.ModuleReferences); + SweepCollectionNonAttributable (main.ModuleReferences); } } } \ No newline at end of file diff --git a/tools/mtouch/Makefile b/tools/mtouch/Makefile index e53cd01866d4..6302feb5c727 100644 --- a/tools/mtouch/Makefile +++ b/tools/mtouch/Makefile @@ -35,7 +35,7 @@ LINKER_SOURCES = \ $(MONOLINKER)/Linker/TypePreserve.cs \ $(MONOLINKER)/Linker/XApiReader.cs \ $(MONOLINKER)/Linker/Tracer.cs \ - $(MONOLINKER)/Linker/TypeReferenceExtensions.cs \ + $(MONOLINKER)/Linker/MarkingHelpers.cs \ $(MONOLINKER)/Linker.Steps/BaseStep.cs \ $(MONOLINKER)/Linker.Steps/BlacklistStep.cs \ $(MONOLINKER)/Linker.Steps/CleanStep.cs \ From 21711fd31c38f4455c636360f261e53c2cb23e1e Mon Sep 17 00:00:00 2001 From: Ludovic Henry Date: Mon, 5 Feb 2018 18:45:34 -0500 Subject: [PATCH 12/58] Bump to mono:2018-02 --- .gitmodules | 2 +- Make.config | 6 +++--- external/llvm | 2 +- external/mono | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.gitmodules b/.gitmodules index 91f7f70551d0..6fe9fe3af947 100644 --- a/.gitmodules +++ b/.gitmodules @@ -12,7 +12,7 @@ [submodule "external/mono"] path = external/mono url = ../../mono/mono.git - branch = 2017-10 + branch = 2018-02 [submodule "external/MonoTouch.Dialog"] path = external/MonoTouch.Dialog url = ../../migueldeicaza/MonoTouch.Dialog.git diff --git a/Make.config b/Make.config index c7267ba08e2d..252d3a1d81df 100644 --- a/Make.config +++ b/Make.config @@ -60,9 +60,9 @@ XCODE_URL=http://xamarin-storage/bot-provisioning/Xcode_9.2.xip XCODE_DEVELOPER_ROOT=/Applications/Xcode92.app/Contents/Developer # Minimum Mono version -MIN_MONO_VERSION=5.10.0.0 -MAX_MONO_VERSION=5.10.99 -MIN_MONO_URL=https://xamjenkinsartifact.azureedge.net/build-package-osx-mono/2017-12/13/MonoFramework-MDK-5.10.0.15.macos10.xamarin.universal.pkg +MIN_MONO_VERSION=5.12.0.0 +MAX_MONO_VERSION=5.12.99 +MIN_MONO_URL=https://xamjenkinsartifact.azureedge.net/build-package-osx-mono/2018-02/4/3320f45d98e60218380a4c8d783580dc3e8ab280/MonoFramework-MDK-5.12.0.1.macos10.xamarin.universal.pkg # Minimum Visual Studio version MIN_VISUAL_STUDIO_URL=https://bosstoragemirror.blob.core.windows.net/wrench/monodevelop-lion-dogfood-vNext/8f/8f1c13cb983138ee63bd53e09908ea5e737988cd/VisualStudioForMac-Preview-7.0.0.2728.dmg diff --git a/external/llvm b/external/llvm index 21492ec92e25..bdb3a116dbf4 160000 --- a/external/llvm +++ b/external/llvm @@ -1 +1 @@ -Subproject commit 21492ec92e255a43bc6b687468f1eb18a635d94e +Subproject commit bdb3a116dbf4a77ef5f6f70d7f845bdaca2b24ca diff --git a/external/mono b/external/mono index e87f9d77e78f..3320f45d98e6 160000 --- a/external/mono +++ b/external/mono @@ -1 +1 @@ -Subproject commit e87f9d77e78f768935c477c1f41fb5a13977350f +Subproject commit 3320f45d98e60218380a4c8d783580dc3e8ab280 From 3189621209c059d3130c75579a5e39a5e0baf7c5 Mon Sep 17 00:00:00 2001 From: Bernhard Urban Date: Tue, 6 Feb 2018 11:28:38 +0100 Subject: [PATCH 13/58] [tests] reflect category rename of NotWorkingInterpreter to NotWorkingLinqInterpreter see https://github.com/mono/mono/commit/746a3d021443dc21d9dfec7ff8c4153fe947fff8 --- tests/bcl-test/AppDelegate.cs | 2 +- tests/common/mac/MacTestMain.cs | 2 +- tests/templates/TodayExtension/TodayExtensionMain.cs | 2 +- tests/templates/TodayExtension/TodayExtensionMain.fs | 2 +- tests/templates/WatchExtension/InterfaceController.cs | 2 +- tests/templates/WatchExtension/InterfaceController.fs | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/bcl-test/AppDelegate.cs b/tests/bcl-test/AppDelegate.cs index c279e4ecf97b..9f3840286ca1 100644 --- a/tests/bcl-test/AppDelegate.cs +++ b/tests/bcl-test/AppDelegate.cs @@ -48,7 +48,7 @@ public override bool FinishedLaunching (UIApplication app, NSDictionary options) // create a new window instance based on the screen size window = new UIWindow (UIScreen.MainScreen.Bounds); runner = new TouchRunner (window); - runner.Filter = new NotFilter (new CategoryExpression ("MobileNotWorking,NotOnMac,NotWorking,ValueAdd,CAS,InetAccess,NotWorkingInterpreter").Filter); + runner.Filter = new NotFilter (new CategoryExpression ("MobileNotWorking,NotOnMac,NotWorking,ValueAdd,CAS,InetAccess,NotWorkingLinqInterpreter").Filter); // register every tests included in the main application/assembly runner.Add (System.Reflection.Assembly.GetExecutingAssembly ()); diff --git a/tests/common/mac/MacTestMain.cs b/tests/common/mac/MacTestMain.cs index 9422947c0441..7a04b5ba0280 100644 --- a/tests/common/mac/MacTestMain.cs +++ b/tests/common/mac/MacTestMain.cs @@ -38,7 +38,7 @@ static void RunTests (string [] original_args) args.Add ($"-test={testName}"); #if ADD_BCL_EXCLUSIONS - args.Add ("-exclude=MacNotWorking,MobileNotWorking,NotOnMac,NotWorking,ValueAdd,CAS,InetAccess,NotWorkingInterpreter"); + args.Add ("-exclude=MacNotWorking,MobileNotWorking,NotOnMac,NotWorking,ValueAdd,CAS,InetAccess,NotWorkingLinqInterpreter"); #endif // Skip arguments added by VSfM/macOS when running from the IDE diff --git a/tests/templates/TodayExtension/TodayExtensionMain.cs b/tests/templates/TodayExtension/TodayExtensionMain.cs index 9971adc5b961..04c48fc72dae 100644 --- a/tests/templates/TodayExtension/TodayExtensionMain.cs +++ b/tests/templates/TodayExtension/TodayExtensionMain.cs @@ -21,7 +21,7 @@ public void WidgetPerformUpdate (Action completionHandler) { runner = new ConsoleRunner (); runner.Add (System.Reflection.Assembly.GetExecutingAssembly ()); - runner.Filter = new NotFilter (new CategoryExpression ("MobileNotWorking,NotOnMac,NotWorking,ValueAdd,CAS,InetAccess,NotWorkingInterpreter").Filter); + runner.Filter = new NotFilter (new CategoryExpression ("MobileNotWorking,NotOnMac,NotWorking,ValueAdd,CAS,InetAccess,NotWorkingLinqInterpreter").Filter); System.Threading.ThreadPool.QueueUserWorkItem ((v) => { runner.LoadSync (); diff --git a/tests/templates/TodayExtension/TodayExtensionMain.fs b/tests/templates/TodayExtension/TodayExtensionMain.fs index 470aebc895cc..4cb14f600c90 100644 --- a/tests/templates/TodayExtension/TodayExtensionMain.fs +++ b/tests/templates/TodayExtension/TodayExtensionMain.fs @@ -21,7 +21,7 @@ type TodayViewController() = [] member this.WidgetPerformUpdate (completionHandler: Action) = runner <- new ConsoleRunner () - let ce = new CategoryExpression ("MobileNotWorking,NotOnMac,NotWorking,ValueAdd,CAS,InetAccess,NotWorkingInterpreter") + let ce = new CategoryExpression ("MobileNotWorking,NotOnMac,NotWorking,ValueAdd,CAS,InetAccess,NotWorkingLinqInterpreter") runner.Filter <- new NotFilter (ce.Filter) let tp = this.GetType () runner.Add (tp.Assembly) diff --git a/tests/templates/WatchExtension/InterfaceController.cs b/tests/templates/WatchExtension/InterfaceController.cs index e2611c0591c3..fef9d2440971 100644 --- a/tests/templates/WatchExtension/InterfaceController.cs +++ b/tests/templates/WatchExtension/InterfaceController.cs @@ -71,7 +71,7 @@ public override void Awake (NSObject context) void LoadTests () { runner = new WatchOSRunner (); - var categoryFilter = new NotFilter (new CategoryExpression ("MobileNotWorking,NotOnMac,NotWorking,ValueAdd,CAS,InetAccess,NotWorkingInterpreter,RequiresBSDSockets").Filter); + var categoryFilter = new NotFilter (new CategoryExpression ("MobileNotWorking,NotOnMac,NotWorking,ValueAdd,CAS,InetAccess,NotWorkingLinqInterpreter,RequiresBSDSockets").Filter); if (!string.IsNullOrEmpty (Environment.GetEnvironmentVariable ("NUNIT_FILTER_START"))) { var firstChar = Environment.GetEnvironmentVariable ("NUNIT_FILTER_START") [0]; var lastChar = Environment.GetEnvironmentVariable ("NUNIT_FILTER_END") [0]; diff --git a/tests/templates/WatchExtension/InterfaceController.fs b/tests/templates/WatchExtension/InterfaceController.fs index e12b59848aeb..663d2a204401 100644 --- a/tests/templates/WatchExtension/InterfaceController.fs +++ b/tests/templates/WatchExtension/InterfaceController.fs @@ -35,7 +35,7 @@ type InterfaceController (handle: IntPtr) = member this.LoadTests () = runner <- new WatchOSRunner () - let ce = new CategoryExpression ("MobileNotWorking,NotOnMac,NotWorking,ValueAdd,CAS,InetAccess,NotWorkingInterpreter") + let ce = new CategoryExpression ("MobileNotWorking,NotOnMac,NotWorking,ValueAdd,CAS,InetAccess,NotWorkingLinqInterpreter") runner.Filter <- new NotFilter (ce.Filter) let tp = this.GetType () runner.Add (tp.Assembly) From 4d4f664689ee3bbc7e49845b6764580e4906e9a5 Mon Sep 17 00:00:00 2001 From: Bernhard Urban Date: Tue, 6 Feb 2018 19:12:13 +0100 Subject: [PATCH 14/58] [tests] update regular expression for extracting mono version * version specifier can have up to four tuples * single tuples can be more than a single digit --- tests/common/mac/ProjectTestHelpers.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/common/mac/ProjectTestHelpers.cs b/tests/common/mac/ProjectTestHelpers.cs index 104fefff27cd..e5911581c64f 100644 --- a/tests/common/mac/ProjectTestHelpers.cs +++ b/tests/common/mac/ProjectTestHelpers.cs @@ -94,7 +94,7 @@ public static Version FindMonoVersion () { string output = RunAndAssert ("/Library/Frameworks/Mono.framework/Commands/mono", new StringBuilder ("--version"), "FindMonoVersion"); - Regex versionRegex = new Regex("compiler version \\d.\\d.\\d", RegexOptions.IgnoreCase); + Regex versionRegex = new Regex("compiler version \\d+.\\d+.\\d+(.\\d+)?", RegexOptions.IgnoreCase); return new Version (versionRegex.Match (output).Value.Split (' ')[2]); } From c7a95b4818d10e819233bc5965c834bdd41ebfc1 Mon Sep 17 00:00:00 2001 From: Bernhard Urban Date: Thu, 8 Feb 2018 10:44:48 +0100 Subject: [PATCH 15/58] Bump to mono:2018-02 Commit list for mono/mono: * mono/mono@01e35bc3838 ignore LocalId test on XAMMAC_4_5 too * mono/mono@4e374e8ceab [2018-02] [reference-assemblies] Fix public key for some newer v4.7.1 facades (#6865) * mono/mono@94a8a589c87 Add stubs for Interop.NetSecurityNative * mono/mono@fd7c5cdac6c [2018-02] [System.Data] Add missing API (fixes 6767) (#6825) * mono/mono@942dd07c657 [ci] Add setting artifacts.json status * mono/mono@f4036972256 [ci] Add Windows .msi PR build (#6815) * mono/mono@20ada1bc3bf [2018-02] [runtime] Add a 'frame_addr' field to MonoStackFrameInfo, which is equal to either interp_frame or ctx->sp. (#6813) Diff: https://github.com/mono/mono/compare/3320f45d98e60218380a4c8d783580dc3e8ab280...01e35bc3838a138d666db6b0d5ec93a375567974 --- external/mono | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/external/mono b/external/mono index 3320f45d98e6..01e35bc3838a 160000 --- a/external/mono +++ b/external/mono @@ -1 +1 @@ -Subproject commit 3320f45d98e60218380a4c8d783580dc3e8ab280 +Subproject commit 01e35bc3838a138d666db6b0d5ec93a375567974 From f7a23237a7be8e2c20e08c9139d7696f5272c3d1 Mon Sep 17 00:00:00 2001 From: Ludovic Henry Date: Wed, 7 Feb 2018 15:03:49 -0500 Subject: [PATCH 16/58] Fix debug spew --- mk/xamarin.mk | 12 ------------ tests/xharness/BCLTestInfo.cs | 2 +- 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/mk/xamarin.mk b/mk/xamarin.mk index 62e9d080ac05..bab6567c6f6d 100644 --- a/mk/xamarin.mk +++ b/mk/xamarin.mk @@ -1,13 +1,4 @@ ifdef ENABLE_XAMARIN - -ifneq ("$(wildcard $(topdir)/class/lib/$(PROFILE))","") --include $(MACCORE_PATH)/mk/versions.mk -$(warning INCLUDED) -@echo " NEEDED_MONO_EXTENSIONS_VERSION=$(NEEDED_MONO_EXTENSIONS_VERSION)" -@echo " NEEDED_MONO_EXTENSIONS_BRANCH=$(NEEDED_MONO_EXTENSIONS_BRANCH)" -@echo " NEEDED_MONO_EXTENSIONS_REMOTE=$(NEEDED_MONO_EXTENSIONS_REMOTE)" -endif - NEEDED_MACCORE_VERSION := 5a97b45faf02315eb266d3670fd1492e34228f0f NEEDED_MACCORE_BRANCH := 2017-12 @@ -67,9 +58,6 @@ test-$(1):: @echo " $(2)_PATH=$($(2)_PATH) => $(abspath $($(2)_PATH))" reset-$(1):: - @echo " NEEDED_MONO_EXTENSIONS_VERSION=$(NEEDED_MONO_EXTENSIONS_VERSION)" - @echo " NEEDED_MONO_EXTENSIONS_BRANCH=$(NEEDED_MONO_EXTENSIONS_BRANCH)" - @echo " NEEDED_MONO_EXTENSIONS_REMOTE=$(NEEDED_MONO_EXTENSIONS_REMOTE)" @if test -d $($(2)_PATH); then \ if ! (cd $($(2)_PATH) && git show $(NEEDED_$(2)_VERSION) >/dev/null 2>&1 && git log -1 $(NEEDED_$(2)_REMOTE) >/dev/null 2>&1) ; then \ echo "*** git fetch `basename $$($(2)_PATH)`" && (cd $($(2)_PATH) && git fetch); \ diff --git a/tests/xharness/BCLTestInfo.cs b/tests/xharness/BCLTestInfo.cs index 4d98001101ab..03a3f4c01259 100644 --- a/tests/xharness/BCLTestInfo.cs +++ b/tests/xharness/BCLTestInfo.cs @@ -46,7 +46,7 @@ public BCLTestInfo (Harness harness, string testName) protected void Process (string test_sources, IEnumerable test_files, string condition, StringBuilder [] sb, int split_count) { - test_files = test_files.Where (v => !string.IsNullOrEmpty (v) && !v.StartsWith ("#", StringComparison.Ordinal)); + test_files = test_files.Where ((v) => !string.IsNullOrEmpty (v) && !v.StartsWith ("#", StringComparison.Ordinal)); // Split the directories of the test files into 'split_count' number of chunks var files_path = Path.GetDirectoryName (test_sources).Replace ("/", "\\"); From 59571a174af90ae3e2308d044781370637a6680c Mon Sep 17 00:00:00 2001 From: Bernhard Urban Date: Thu, 8 Feb 2018 21:41:17 +0100 Subject: [PATCH 17/58] Bump to mono:2018-02 Commit list for mono/mono: * mono/mono@f3c1fcd7c92 [System]: Revert my latest WebResponseStream changes. (#6887) * mono/mono@268f2ac419d Bump bockbuild to get new gtk+ repo location * mono/mono@ebb26ab5469 Bump bockbuild to add gtk# generator fix (#6883) Diff: https://github.com/mono/mono/compare/01e35bc3838a138d666db6b0d5ec93a375567974...f3c1fcd7c92eb8bd27ffb72b25a9deffd6947409 --- external/mono | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/external/mono b/external/mono index 01e35bc3838a..f3c1fcd7c92e 160000 --- a/external/mono +++ b/external/mono @@ -1 +1 @@ -Subproject commit 01e35bc3838a138d666db6b0d5ec93a375567974 +Subproject commit f3c1fcd7c92eb8bd27ffb72b25a9deffd6947409 From 90deb31003613b4eba29d55e7d800b5d9e2df24a Mon Sep 17 00:00:00 2001 From: Bernhard Urban Date: Fri, 9 Feb 2018 23:23:52 +0100 Subject: [PATCH 18/58] Bump to mono:2018-02 Commit list for mono/mono: * mono/mono@7126712f863 [System]: Set NetworkStream.ReadTimeout in WebConnection.InitConnection(). (#6898) * mono/mono@07a5c686e08 Handle arguments of type ArgVtypeOnStack in the dyn call code. Part of the fix for #59184. * mono/mono@bc64a17db83 [bcl] Fix more assembly identity mismatches (#6870) Diff: https://github.com/mono/mono/compare/f3c1fcd7c92eb8bd27ffb72b25a9deffd6947409...7126712f8632560b4909e224d35be3a64255b037 https://bugzilla.xamarin.com/show_bug.cgi?id=59184 --- external/mono | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/external/mono b/external/mono index f3c1fcd7c92e..7126712f8632 160000 --- a/external/mono +++ b/external/mono @@ -1 +1 @@ -Subproject commit f3c1fcd7c92eb8bd27ffb72b25a9deffd6947409 +Subproject commit 7126712f8632560b4909e224d35be3a64255b037 From ffe3fed7971d7310a95c4d5e6d69679452b4ee80 Mon Sep 17 00:00:00 2001 From: Bernhard Urban Date: Mon, 12 Feb 2018 17:04:38 +0100 Subject: [PATCH 19/58] Bump to mono:2018-02 Commit list for mono/mono: * mono/mono@e9fa8a306d4 WebConnection.Connect() needs to probe all IP addresses. Diff: https://github.com/mono/mono/compare/7126712f8632560b4909e224d35be3a64255b037...e9fa8a306d4bf03e83c428ad965623807e40d5f0 --- external/mono | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/external/mono b/external/mono index 7126712f8632..e9fa8a306d4b 160000 --- a/external/mono +++ b/external/mono @@ -1 +1 @@ -Subproject commit 7126712f8632560b4909e224d35be3a64255b037 +Subproject commit e9fa8a306d4bf03e83c428ad965623807e40d5f0 From 7d5f720d83c57f19812ad2e78c0ecb70108809b9 Mon Sep 17 00:00:00 2001 From: Bernhard Urban Date: Tue, 20 Feb 2018 16:59:50 +0100 Subject: [PATCH 20/58] Bump to mono:2018-02 Commit list for mono/mono: * mono/mono@93705443b6b bump nunit-lite * mono/mono@5f626db882a [debugger] disable StepOutAsync test because it's flaky * mono/mono@6cb693c4b54 Bug 60088 - Assertion at ../../../../external/mono/mono/mini/debugger-agent.c:4765, condition `array->len == 1' not met Problem was that I didn't consider `async void` method when adding that assert (#7105) * mono/mono@e96f9fbb4a0 [2018-02] [sdks] Fix for XA integration (#7104) * mono/mono@6559a504eda [ci] Disable monodoc tests on Windows for now * mono/mono@c62864c98e7 Disable some PngCodecTest that have trouble on CI right now * mono/mono@c5accf5ebc3 Bump aot file format version because of 7cac757e60cd61aa070f7e0fffca225364f58c0c. (#7082) * mono/mono@470256aca56 Add denied assembly versions from previous ms extensions nugets * mono/mono@f0f76abc304 Emit the weak field indexes table using the MONO_AOT_TABLE code, so it works with separate aot data files/bitcode. * mono/mono@e7e28f4b9da Pass null-terminated string for logging * mono/mono@00dec1f0c0a [2018-02] Fix ios sdk. (#7027) * mono/mono@e0c46d91147 Bump mono/NUnitLite (#7006) * mono/mono@ba542c0b1ec [2018-02] Update F# to 4.1.33 * mono/mono@72aea0056b8 Revert mkbundle defaulting behavior made in ca8b8bd346 * mono/mono@0dfa4f85a93 Unlock loader lock on error paths * mono/mono@d956447d56c [System.Data] Add missing api * mono/mono@4aa717dc820 [2018-02] [runtime] Make icall tables loadable. (#6944) * mono/mono@d8e28e14a53 Merge pull request #6952 from monojenkins/backport-pr-6890-to-2018-02 * mono/mono@176f127c1be disable test_42_arm64_dyncall_vtypebyval * mono/mono@764b03fcaba nuget-hash-extractor: Add msbuild extensions nuget to list of nugets to * mono/mono@1df45be2e99 nuget-hash-extractor: Add support for handling nuget with multiple Diff: https://github.com/mono/mono/compare/e9fa8a306d4bf03e83c428ad965623807e40d5f0...93705443b6b0a3cbd409234aae0cfe47253520d6 --- external/mono | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/external/mono b/external/mono index e9fa8a306d4b..93705443b6b0 160000 --- a/external/mono +++ b/external/mono @@ -1 +1 @@ -Subproject commit e9fa8a306d4bf03e83c428ad965623807e40d5f0 +Subproject commit 93705443b6b0a3cbd409234aae0cfe47253520d6 From 81e0ae3300e221a90f3374b9cde010d782e6b8ed Mon Sep 17 00:00:00 2001 From: Bernhard Urban Date: Wed, 21 Feb 2018 10:56:37 +0100 Subject: [PATCH 21/58] Bump mono min version to avoid nuget restore issue https://github.com/mono/mono/issues/6788 --- Make.config | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Make.config b/Make.config index 5d1173771411..6e4bff847ed2 100644 --- a/Make.config +++ b/Make.config @@ -60,9 +60,9 @@ XCODE_URL=http://xamarin-storage/bot-provisioning/Xcode_9.2.xip XCODE_DEVELOPER_ROOT=/Applications/Xcode92.app/Contents/Developer # Minimum Mono version -MIN_MONO_VERSION=5.12.0.0 +MIN_MONO_VERSION=5.12.0.39 MAX_MONO_VERSION=5.12.99 -MIN_MONO_URL=https://xamjenkinsartifact.azureedge.net/build-package-osx-mono/2018-02/4/3320f45d98e60218380a4c8d783580dc3e8ab280/MonoFramework-MDK-5.12.0.1.macos10.xamarin.universal.pkg +MIN_MONO_URL=https://xamjenkinsartifact.azureedge.net/build-package-osx-mono/2018-02/39/9c9d5d9e2267ab646de51fe9465e82db9b380c17/MonoFramework-MDK-5.12.0.39.macos10.xamarin.universal.pkg # Minimum Visual Studio version MIN_VISUAL_STUDIO_URL=https://download.visualstudio.microsoft.com/download/pr/11550896/783d2219a348f93b6988fb415951788a/VisualStudioForMac-Preview-7.4.0.985.dmg From c9fbaf5fb385da381764ae0d65466212c8b300b4 Mon Sep 17 00:00:00 2001 From: Bernhard Urban Date: Wed, 21 Feb 2018 16:13:03 +0100 Subject: [PATCH 22/58] Bump to mono:2018-02 Commit list for mono/mono: * mono/mono@b242e82ba48 Add ldflags for bitcode (#7144) * mono/mono@9c9d5d9e226 Fix the Android xattr check to not disable it on all other platforms. (#7146) * mono/mono@f8ed9bcd129 [2018-02] [corlib] Fix RuntimeFeatureTest.NoNewFeaturesAdded on mobile (#7151) * mono/mono@578cfcd1467 [2018-02] [sdks] Fix for XA integration (#7109) Diff: https://github.com/mono/mono/compare/93705443b6b0a3cbd409234aae0cfe47253520d6...b242e82ba4862f506e7ff93812aecd2288107db9 --- external/mono | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/external/mono b/external/mono index 93705443b6b0..b242e82ba486 160000 --- a/external/mono +++ b/external/mono @@ -1 +1 @@ -Subproject commit 93705443b6b0a3cbd409234aae0cfe47253520d6 +Subproject commit b242e82ba4862f506e7ff93812aecd2288107db9 From 30421a51dbd4396fb616da41234bfc5105157e10 Mon Sep 17 00:00:00 2001 From: Bernhard Urban Date: Thu, 22 Feb 2018 10:33:00 +0100 Subject: [PATCH 23/58] Bump Touch.Unit Commit list for spouliot/Touch.Unit: * spouliot/Touch.Unit@4ac4e32 [TouchRunner] do not use FinallyDelegate in Runner, because it requires remoting API to be available (#49) Diff: https://github.com/spouliot/Touch.Unit/compare/b5b227e80b7ceeb04ab3e6b85b0853784438f129...4ac4e325001e97a4f1874d38183eddf78d4ca334 --- external/Touch.Unit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/external/Touch.Unit b/external/Touch.Unit index b5b227e80b7c..4ac4e325001e 160000 --- a/external/Touch.Unit +++ b/external/Touch.Unit @@ -1 +1 @@ -Subproject commit b5b227e80b7ceeb04ab3e6b85b0853784438f129 +Subproject commit 4ac4e325001e97a4f1874d38183eddf78d4ca334 From 5936e0796c809dc1a94122f0009821bbd47d8650 Mon Sep 17 00:00:00 2001 From: Bernhard Urban Date: Fri, 23 Feb 2018 00:11:38 +0100 Subject: [PATCH 24/58] Bump to mono:2018-02 Commit list for mono/mono: * mono/mono@daace663391 [2018-02] [xbuild] add property that is available in msbuild (#7202) * mono/mono@fd185155162 Bump bockbuild for https://github.com/mono/bockbuild/pull/62 (#7206) * mono/mono@c68cc6a4f4c Emit the same instances in hybrid aot mode as in full aot mode. * mono/mono@4169af750b3 Disable partial sharing during JITting, its only been tested in full aot mode, and doesn't seem to work with JITted methods. Fixes https://github.com/mono/mono/issues/7085. * mono/mono@ed22f9fa847 Add hybrid aot tests. * mono/mono@d389ff9ff69 Remove reflection calls for value has to be set * mono/mono@d1f461c5a3d Expand "ignore" functionality (#7154) (#7176) * mono/mono@4e29f2ef9ae [jit] Handle more cases for gsharedvt constrained calls. Diff: https://github.com/mono/mono/compare/b242e82ba4862f506e7ff93812aecd2288107db9...daace6633917e53c9ac4677522d349f4479e1c11 --- external/mono | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/external/mono b/external/mono index b242e82ba486..daace6633917 160000 --- a/external/mono +++ b/external/mono @@ -1 +1 @@ -Subproject commit b242e82ba4862f506e7ff93812aecd2288107db9 +Subproject commit daace6633917e53c9ac4677522d349f4479e1c11 From 23a7ddd95776a84a64a6865070ae891e115f4299 Mon Sep 17 00:00:00 2001 From: Bernhard Urban Date: Fri, 23 Feb 2018 07:10:55 +0100 Subject: [PATCH 25/58] bump system mono to include xbuild workaround for fsharp --- Make.config | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Make.config b/Make.config index 6e4bff847ed2..38a6f1a741e8 100644 --- a/Make.config +++ b/Make.config @@ -60,9 +60,9 @@ XCODE_URL=http://xamarin-storage/bot-provisioning/Xcode_9.2.xip XCODE_DEVELOPER_ROOT=/Applications/Xcode92.app/Contents/Developer # Minimum Mono version -MIN_MONO_VERSION=5.12.0.39 +MIN_MONO_VERSION=5.12.0.48 MAX_MONO_VERSION=5.12.99 -MIN_MONO_URL=https://xamjenkinsartifact.azureedge.net/build-package-osx-mono/2018-02/39/9c9d5d9e2267ab646de51fe9465e82db9b380c17/MonoFramework-MDK-5.12.0.39.macos10.xamarin.universal.pkg +MIN_MONO_URL=https://xamjenkinsartifact.azureedge.net/build-package-osx-mono/2018-02/46/daace6633917e53c9ac4677522d349f4479e1c11/MonoFramework-MDK-5.12.0.48.macos10.xamarin.universal.pkg # Minimum Visual Studio version MIN_VISUAL_STUDIO_URL=https://download.visualstudio.microsoft.com/download/pr/11550896/783d2219a348f93b6988fb415951788a/VisualStudioForMac-Preview-7.4.0.985.dmg From 4b292ef30977c20c31b61a5b0829f9639b47a1a8 Mon Sep 17 00:00:00 2001 From: Bernhard Urban Date: Tue, 27 Feb 2018 07:44:14 +0100 Subject: [PATCH 26/58] Bump to mono:2018-02 Commit list for mono/mono: * mono/mono@33b47292c3f bump nunitlite * mono/mono@df0a29e7796 Merge mxe-Win32 and mxe-Win64 targets since we are building both in XA anyway * mono/mono@6ccf73c8c84 Pass only the imt argument if both imt and rgctx arguments are required. * mono/mono@d6b6fc61f18 Bump bockbuild to get curl error changes * mono/mono@8249522f23a Fix the test name. * mono/mono@2623bc30452 Magic interfaces requires the complex stelemref to handle arrays. Fixes gh #6266 * mono/mono@3be3714b6e5 add another signature for interp_in wrappers Diff: https://github.com/mono/mono/compare/daace6633917e53c9ac4677522d349f4479e1c11...33b47292c3f50b3a4c2ac3de7c5f105ea31fd0df --- external/mono | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/external/mono b/external/mono index daace6633917..33b47292c3f5 160000 --- a/external/mono +++ b/external/mono @@ -1 +1 @@ -Subproject commit daace6633917e53c9ac4677522d349f4479e1c11 +Subproject commit 33b47292c3f50b3a4c2ac3de7c5f105ea31fd0df From ecc929383b846eafb5ebc48fc1b28e6b7d3d27b4 Mon Sep 17 00:00:00 2001 From: Bernhard Urban Date: Tue, 27 Feb 2018 07:45:15 +0100 Subject: [PATCH 27/58] unbump touch.unit --- external/Touch.Unit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/external/Touch.Unit b/external/Touch.Unit index 4ac4e325001e..b5b227e80b7c 160000 --- a/external/Touch.Unit +++ b/external/Touch.Unit @@ -1 +1 @@ -Subproject commit 4ac4e325001e97a4f1874d38183eddf78d4ca334 +Subproject commit b5b227e80b7ceeb04ab3e6b85b0853784438f129 From a8ae06d413dec5dc3a89f34d1426669075841e9f Mon Sep 17 00:00:00 2001 From: Bernhard Urban Date: Fri, 2 Mar 2018 11:20:47 +0100 Subject: [PATCH 28/58] bump touch.unit Commit list for spouliot/Touch.Unit: * spouliot/Touch.Unit@1c41c75 Revert "[TouchRunner] do not use FinallyDelegate in Runner, because it requires remoting API to be available (#49)" (#50) * spouliot/Touch.Unit@4ac4e32 [TouchRunner] do not use FinallyDelegate in Runner, because it requires remoting API to be available (#49) Diff: https://github.com/spouliot/Touch.Unit/compare/b5b227e80b7ceeb04ab3e6b85b0853784438f129...1c41c75983ed840e9dc7079b5d4b0c31d1565359 --- external/Touch.Unit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/external/Touch.Unit b/external/Touch.Unit index b5b227e80b7c..1c41c75983ed 160000 --- a/external/Touch.Unit +++ b/external/Touch.Unit @@ -1 +1 @@ -Subproject commit b5b227e80b7ceeb04ab3e6b85b0853784438f129 +Subproject commit 1c41c75983ed840e9dc7079b5d4b0c31d1565359 From 1f34209a7450d1a53ce7169af39c6c3f9a1bb396 Mon Sep 17 00:00:00 2001 From: Bernhard Urban Date: Fri, 2 Mar 2018 11:21:30 +0100 Subject: [PATCH 29/58] Bump to mono:2018-02 Commit list for mono/mono: * mono/mono@769bf9ef25d nuget-hash-extractor: Add msbuild extensions nuget version from vs15.6 msbuild branch * mono/mono@878a54030ad nuget-hash-extractor: Change the nuget repo name to use for * mono/mono@a849f9a6e8b Fix path clobbering when trying to shadow copy siblings * mono/mono@d9aa6f40835 Use attribute(deprecated) instead of attribute(error). (#7369) * mono/mono@c0b76ff9aec Don't throw NotImplementedException in Dispose() * mono/mono@5cef19dcd24 [2018-02][runtime] Don't assert in mono_class_is_assignable_from on iface gtd (#7290) * mono/mono@ffe180c47f5 Make it build. * mono/mono@c627c1b4b6e Bump linker. * mono/mono@d0e7df4717b [System]: Enable some System.Net.Requests tests from CoreFX. (#7339) * mono/mono@28c171a3371 [2018-02] [System]: Use new `WebCompletionSource` instead of `TaskCompletionSource`. (#7298) * mono/mono@0c8f0774ce8 Merge pull request #7336 from monojenkins/backport-pr-7321-to-2018-02 * mono/mono@6a1b4165926 Fix gdb not being used for native stacktraces in some cases * mono/mono@078760db9b8 [2018-02] [TermInfo] support new file format terminfo2 introduced with ncurses6.1 (#7308) * mono/mono@ffc643d10c9 Fix VirtualMachine.CreateEnumMirror () so it works with types from non-root domains. * mono/mono@6ed6a1b5685 Check if we are exceeding the worker count limit Diff: https://github.com/mono/mono/compare/33b47292c3f50b3a4c2ac3de7c5f105ea31fd0df...769bf9ef25d761dfa820f362a80e5514f5a169d2 --- external/mono | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/external/mono b/external/mono index 33b47292c3f5..769bf9ef25d7 160000 --- a/external/mono +++ b/external/mono @@ -1 +1 @@ -Subproject commit 33b47292c3f50b3a4c2ac3de7c5f105ea31fd0df +Subproject commit 769bf9ef25d761dfa820f362a80e5514f5a169d2 From bf9448ea277304426480025a7ce724547c03d860 Mon Sep 17 00:00:00 2001 From: Bernhard Urban Date: Mon, 5 Mar 2018 22:35:52 +0100 Subject: [PATCH 30/58] Bump to mono:2018-02 Commit list for mono/mono: * mono/mono@fa1ec4ac4d4 [packaging] Support setting the FULL_VERSION number via env vars (#7414) * mono/mono@30aadcaa3a4 [2018-02] [metadata] split IL generation code into seperate compilation units. (#7375) * mono/mono@214321dee5e [msbuild] Bump to track msbuild's mono-2018-02 branch (#7395) * mono/mono@413f2fb9764 Reenable HttpRequestIgnoreBadCookies in monotouch. (#7391) * mono/mono@020ac2de892 Problem building on Arch linux #7200 https://github.com/mono/mono/issues/7200 Three styles: 1. LIBS="$LIBS -lfoo" -- common and probably works 2. LIBS+="-lfoo" -- was here and does not work 3. LIBS+=" -lfoo" -- should work (#7383) Diff: https://github.com/mono/mono/compare/769bf9ef25d761dfa820f362a80e5514f5a169d2...fa1ec4ac4d4680409c715a12618b6e476b448580 --- external/mono | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/external/mono b/external/mono index 769bf9ef25d7..fa1ec4ac4d46 160000 --- a/external/mono +++ b/external/mono @@ -1 +1 @@ -Subproject commit 769bf9ef25d761dfa820f362a80e5514f5a169d2 +Subproject commit fa1ec4ac4d4680409c715a12618b6e476b448580 From 77c30b662a0c80e847a148be0ea1fcf52ccde570 Mon Sep 17 00:00:00 2001 From: Marek Safar Date: Wed, 7 Mar 2018 13:21:35 +0100 Subject: [PATCH 31/58] Update linker tests using reflection not to be caught by linker reflection heuristic --- tests/linker/ios/link all/InterfacesTest.cs | 16 ++++++++++------ tests/linker/ios/link all/LinkAllTest.cs | 13 +++++++++---- 2 files changed, 19 insertions(+), 10 deletions(-) diff --git a/tests/linker/ios/link all/InterfacesTest.cs b/tests/linker/ios/link all/InterfacesTest.cs index cb62d254711b..37490a73c262 100644 --- a/tests/linker/ios/link all/InterfacesTest.cs +++ b/tests/linker/ios/link all/InterfacesTest.cs @@ -64,6 +64,10 @@ public void CleanUpNativeData (IntPtr pNativeData) [Preserve (AllMembers = true)] public class InterfaceTest { + static Type type_a = typeof (A); + static Type type_b = typeof (B); + static Type type_i = typeof (I); + static void F (I i) { i.Bar (); @@ -78,18 +82,18 @@ public void Bug10866 () F (new A ()); // Foo and Bar methods are both used on A and must be present - Assert.NotNull (typeof(A).GetMethod ("Foo", BindingFlags.Instance | BindingFlags.Public), "A::Foo"); - Assert.NotNull (typeof(A).GetMethod ("Bar", BindingFlags.Instance | BindingFlags.Public), "A::Bar"); + Assert.NotNull (type_a.GetMethod ("Foo", BindingFlags.Instance | BindingFlags.Public), "A::Foo"); + Assert.NotNull (type_a.GetMethod ("Bar", BindingFlags.Instance | BindingFlags.Public), "A::Bar"); // I::Foo is never used and can be removed - Assert.Null (typeof(I).GetMethod ("Foo", BindingFlags.Instance | BindingFlags.Public), "I::Foo"); + Assert.Null (type_i.GetMethod ("Foo", BindingFlags.Instance | BindingFlags.Public), "I::Foo"); // I::Bar is used in F so everyone implementing I needs Bar - Assert.NotNull (typeof(I).GetMethod ("Bar", BindingFlags.Instance | BindingFlags.Public), "I::Bar"); + Assert.NotNull (type_i.GetMethod ("Bar", BindingFlags.Instance | BindingFlags.Public), "I::Bar"); // Foo and Bar are never used on B - so Foo can be removed - Assert.Null (typeof(B).GetMethod ("Foo", BindingFlags.Instance | BindingFlags.Public), "B::Foo"); + Assert.Null (type_b.GetMethod ("Foo", BindingFlags.Instance | BindingFlags.Public), "B::Foo"); // but Bar cannot since B implements I - Assert.NotNull (typeof(B).GetMethod ("Bar", BindingFlags.Instance | BindingFlags.Public), "B::Bar"); + Assert.NotNull (type_b.GetMethod ("Bar", BindingFlags.Instance | BindingFlags.Public), "B::Bar"); } [DllImport ("/usr/lib/system/libsystem_dnssd.dylib")] diff --git a/tests/linker/ios/link all/LinkAllTest.cs b/tests/linker/ios/link all/LinkAllTest.cs index 2687694eb910..31bb46f978ba 100644 --- a/tests/linker/ios/link all/LinkAllTest.cs +++ b/tests/linker/ios/link all/LinkAllTest.cs @@ -40,7 +40,7 @@ namespace LinkAll { // we DO NOT want the code to be "fully" available - public partial class NotPreserved { + public class NotPreserved { public byte One { get; set; @@ -85,6 +85,9 @@ public class LinkAllRegressionTest { #error Unknown platform #endif + Type not_preserved_type = typeof (NotPreserved); + + class TypeAttribute : Attribute { public TypeAttribute (Type type) {} } @@ -103,7 +106,8 @@ public void GetterOnly () // which means the property will be available for MEF_3862 NotPreserved np = new NotPreserved (); Assert.That (np.Two, Is.EqualTo (0), "Two==0"); - PropertyInfo pi = typeof (NotPreserved).GetProperty ("Two"); + + PropertyInfo pi = not_preserved_type.GetProperty ("Two"); // check the *unused* setter absence from the application Assert.NotNull (pi.GetGetMethod (), "getter"); Assert.Null (pi.GetSetMethod (), "setter"); @@ -115,7 +119,8 @@ public void SetterOnly () // that ensure the setter is not linked away, NotPreserved np = new NotPreserved (); np.One = 1; - PropertyInfo pi = typeof (NotPreserved).GetProperty ("One"); + + PropertyInfo pi = not_preserved_type.GetProperty ("One"); // check the *unused* setter absence from the application Assert.Null (pi.GetGetMethod (), "getter"); Assert.NotNull (pi.GetSetMethod (), "setter"); @@ -126,7 +131,7 @@ public void MEF_3862 () { // note: avoiding using "typeof(DefaultValueAttribute)" in the code // so the linker does not keep it just because of it - PropertyInfo pi = typeof (NotPreserved).GetProperty ("Two"); + PropertyInfo pi = not_preserved_type.GetProperty ("Two"); object [] attrs = pi.GetCustomAttributes (false); bool default_value = false; foreach (var ca in attrs) { From 4ba043c750b66b834ac5f97c0fa499fffb52f36d Mon Sep 17 00:00:00 2001 From: Marek Safar Date: Wed, 7 Mar 2018 18:13:36 +0100 Subject: [PATCH 32/58] More linker reflection checks updates --- tests/linker/ios/link all/LinkAllTest.cs | 5 +++-- tests/linker/ios/link sdk/LinkSdkRegressionTest.cs | 4 +++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/tests/linker/ios/link all/LinkAllTest.cs b/tests/linker/ios/link all/LinkAllTest.cs index 31bb46f978ba..7666ba6e8a03 100644 --- a/tests/linker/ios/link all/LinkAllTest.cs +++ b/tests/linker/ios/link all/LinkAllTest.cs @@ -551,13 +551,14 @@ public void WebKit_NSProxy () Assert.Null (Type.GetType (fqn), fqn); } + static Type type_Task = typeof (Task); + [Test] public void Bug59015 () { CheckAsyncTaskMethodBuilder (typeof (AsyncTaskMethodBuilder)); CheckAsyncTaskMethodBuilder (typeof (AsyncTaskMethodBuilder)); - var t = typeof (Task); - var snfwc = t.GetMethod ("SetNotificationForWaitCompletion", BindingFlags.Instance | BindingFlags.NonPublic); + var snfwc = type_Task.GetMethod ("SetNotificationForWaitCompletion", BindingFlags.Instance | BindingFlags.NonPublic); #if DEBUG Assert.NotNull (snfwc, "Task.NotifyDebuggerOfWaitCompletion"); #else diff --git a/tests/linker/ios/link sdk/LinkSdkRegressionTest.cs b/tests/linker/ios/link sdk/LinkSdkRegressionTest.cs index 53865dd0e19a..7af6decdd74e 100644 --- a/tests/linker/ios/link sdk/LinkSdkRegressionTest.cs +++ b/tests/linker/ios/link sdk/LinkSdkRegressionTest.cs @@ -1068,13 +1068,15 @@ public void SecurityDeclaration () } #if !__WATCHOS__ + static Type type_uibutton = typeof (UIButton); + [Test] public void UIButtonSubclass () { // ensure the linker keeps the .ctor(UIButtonType) around using (var b = new UIButton (UIButtonType.Custom)) { // https://trello.com/c/Nf2B8mIM/484-remove-debug-code-in-the-linker - var m = typeof (UIButton).GetMethod ("VerifyIsUIButton", BindingFlags.Instance | BindingFlags.NonPublic); + var m = type_uibutton.GetMethod ("VerifyIsUIButton", BindingFlags.Instance | BindingFlags.NonPublic); #if DEBUG // kept in debug builds Assert.NotNull (m, "VerifyIsUIButton"); From a7abab1cc67eddf87c80c8b1a7d1d39a7ced5316 Mon Sep 17 00:00:00 2001 From: Marek Safar Date: Thu, 8 Mar 2018 14:19:26 +0100 Subject: [PATCH 33/58] Fixes Bug59015 test to check for method is was intented to --- tests/linker/ios/link all/LinkAllTest.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/linker/ios/link all/LinkAllTest.cs b/tests/linker/ios/link all/LinkAllTest.cs index 7666ba6e8a03..7e34a09521c6 100644 --- a/tests/linker/ios/link all/LinkAllTest.cs +++ b/tests/linker/ios/link all/LinkAllTest.cs @@ -558,7 +558,7 @@ public void Bug59015 () { CheckAsyncTaskMethodBuilder (typeof (AsyncTaskMethodBuilder)); CheckAsyncTaskMethodBuilder (typeof (AsyncTaskMethodBuilder)); - var snfwc = type_Task.GetMethod ("SetNotificationForWaitCompletion", BindingFlags.Instance | BindingFlags.NonPublic); + var snfwc = type_Task.GetMethod ("NotifyDebuggerOfWaitCompletion", BindingFlags.Instance | BindingFlags.NonPublic); #if DEBUG Assert.NotNull (snfwc, "Task.NotifyDebuggerOfWaitCompletion"); #else From 4748f822f423fca86c700a62c8f1761bc24eb769 Mon Sep 17 00:00:00 2001 From: Bernhard Urban Date: Fri, 9 Mar 2018 00:38:43 +0100 Subject: [PATCH 34/58] [mmptest] fix linker test in link-safe-1 --- tests/mmptest/regression/link-safe-1/LinkSafeAssembly.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/mmptest/regression/link-safe-1/LinkSafeAssembly.cs b/tests/mmptest/regression/link-safe-1/LinkSafeAssembly.cs index 9bce63cb5594..ef12f040108f 100644 --- a/tests/mmptest/regression/link-safe-1/LinkSafeAssembly.cs +++ b/tests/mmptest/regression/link-safe-1/LinkSafeAssembly.cs @@ -26,16 +26,18 @@ public void UnusedMethod () { } + static Type type_stla = typeof(SafeToLinkAssembly); + static void Main (string[] args) { NSApplication.Init (); Test.EnsureLinker (true); - int pcount = typeof (SafeToLinkAssembly).GetProperties (BindingFlags.NonPublic | BindingFlags.Static).Length; + int pcount = type_stla.GetProperties (BindingFlags.NonPublic | BindingFlags.Static).Length; Test.Log.WriteLine ("{0}\tUnused property ({1}/0) was preserved by linker", pcount == 0 ? "[PASS]" : "[FAIL]", pcount); - bool m = typeof (SafeToLinkAssembly).GetMethod ("UnusedMethod", BindingFlags.Public | BindingFlags.Instance) == null; + bool m = type_stla.GetMethod ("UnusedMethod", BindingFlags.Public | BindingFlags.Instance) == null; Test.Log.WriteLine ("{0}\tUnused method was preserved by linker", m ? "[PASS]" : "[FAIL]"); Test.Terminate (); From 3a242e13c5ecadb29970883852fb13f084676720 Mon Sep 17 00:00:00 2001 From: Bernhard Urban Date: Sun, 11 Mar 2018 19:52:16 +0100 Subject: [PATCH 35/58] Bump to mono:2018-02 Commit list for mono/mono: * mono/mono@279d7e230fd [2018-02] [threads] Fix race between abort socket syscall and thread shutdown (#7521) * mono/mono@2ce1d5f3d51 Comment/stub out some unused icalls to prevent problems with AOT. * mono/mono@668baf19156 [acceptance-tests] Actually disable gcsuppressfinalize.exe test * mono/mono@2201952d9a7 WebRequestStream now throws correct exception on cancellation (#7074). * mono/mono@4d3e9d53b25 Fix resolution of interfaces in classes implementing IEnumerator. Fixes #59400 * mono/mono@2476d2ac060 Move the check for open constructed types later in mono_jit_compile_method_with_opt (), this function can receive gshared methods in llvmonly mode. (#7504) * mono/mono@91fe1eb5f58 Fix generated file when passing --bundled-header (#7510) * mono/mono@bb0c123e74d Use runtime template for iOS * mono/mono@e965e1647d0 Use runtime template for Android * mono/mono@a6522973840 Create common runtime compilation template * mono/mono@685d39238a4 Have RELEASE be empty when CONFIGURATION != 'release' * mono/mono@3648ace2b9d Move common targets * mono/mono@b62bfdcb554 An array is not an IEnumerator`1 * mono/mono@9f2841c3a00 An array is not an IEnumerator`1 * mono/mono@6f90188e9fe Add IEnumerator`1 to MonoDefaults struct * mono/mono@84027bddaaf Remove compiler config sections for types which cannot be instantiated * mono/mono@66f19a974ad Swap Close/Dispose calls so that the receiver_thread_main loop will be properly interrupted * mono/mono@99b7f59ddc1 [2018-02] Fix for gcc 4.4; nominal support for older. (#7435) * mono/mono@f28abdbebd4 Fixes decoding of CMS/PKCS #7 messages with an explicit cryptographic object identifier * mono/mono@2dc56b5a602 [2018-02] [corlib] Ignore TimeZoneTest.TestCtors on iOS under certain conditions due to an Apple bug. (#7428) * mono/mono@58d02a96038 [acceptance-tests] Disable gcsuppressfinalize.exe test that started failing Diff: https://github.com/mono/mono/compare/fa1ec4ac4d4680409c715a12618b6e476b448580...279d7e230fd9d04650aceb1acf450a299dd16470 https://bugzilla.xamarin.com/show_bug.cgi?id=59400 --- external/mono | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/external/mono b/external/mono index fa1ec4ac4d46..279d7e230fd9 160000 --- a/external/mono +++ b/external/mono @@ -1 +1 @@ -Subproject commit fa1ec4ac4d4680409c715a12618b6e476b448580 +Subproject commit 279d7e230fd9d04650aceb1acf450a299dd16470 From 3e825fee9a10aec1f19fdad302209c35408a91c4 Mon Sep 17 00:00:00 2001 From: Bernhard Urban Date: Mon, 12 Mar 2018 13:39:52 +0100 Subject: [PATCH 36/58] Bump to mono:2018-02 Commit list for mono/mono: * mono/mono@ed56e90aca9 [2018-02] [Facades] Add missing Facades that exist in .NET 4.7.1 (#7551) * mono/mono@57e18b15d09 [sgen] Fix the clearing of bits in the gc descriptor bitmap when using weak fields. Fixes #7378. Diff: https://github.com/mono/mono/compare/279d7e230fd9d04650aceb1acf450a299dd16470...ed56e90aca9298121c8edabe200193ae861332af --- external/mono | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/external/mono b/external/mono index 279d7e230fd9..ed56e90aca92 160000 --- a/external/mono +++ b/external/mono @@ -1 +1 @@ -Subproject commit 279d7e230fd9d04650aceb1acf450a299dd16470 +Subproject commit ed56e90aca9298121c8edabe200193ae861332af From 8133cbe7378611cbf122db4dc1add2dc6c54123a Mon Sep 17 00:00:00 2001 From: Bernhard Urban Date: Mon, 12 Mar 2018 13:42:41 +0100 Subject: [PATCH 37/58] [linker] update facades list for .NET 4.7.1 see https://github.com/mono/mono/issues/7573 --- tools/linker/MobileProfile.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/linker/MobileProfile.cs b/tools/linker/MobileProfile.cs index a7433daa8522..a017484d8154 100644 --- a/tools/linker/MobileProfile.cs +++ b/tools/linker/MobileProfile.cs @@ -92,6 +92,7 @@ public abstract class MobileProfile : BaseProfile { "System.Linq", "System.Net.AuthenticationManager", "System.Net.Cache", + "System.Net.Http.Rtc", "System.Net.HttpListener", "System.Net.Mail", "System.Net.NameResolution", @@ -115,8 +116,10 @@ public abstract class MobileProfile : BaseProfile { "System.Reflection.Primitives", "System.Reflection.TypeExtensions", "System.Reflection", + "System.Resources.Reader", "System.Resources.ReaderWriter", "System.Resources.ResourceManager", + "System.Resources.Writer", "System.Runtime.CompilerServices.VisualC", "System.Runtime.Extensions", "System.Runtime.Handles", From 9cb27becd2b072197a4f1a09c75d6b237dc2ee12 Mon Sep 17 00:00:00 2001 From: Chris Hamons Date: Wed, 14 Mar 2018 15:13:35 -0500 Subject: [PATCH 38/58] Force libMonoPosixHelper usage in test to work around mono linker improvements - https://github.com/mono/mono/issues/7516 - These tests will be refactored \ improved in https://github.com/xamarin/xamarin-macios/issues/3713 --- tests/mmptest/src/CodeStrippingTests.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/mmptest/src/CodeStrippingTests.cs b/tests/mmptest/src/CodeStrippingTests.cs index 1ab8b64cf7e5..bcef6cd4db32 100644 --- a/tests/mmptest/src/CodeStrippingTests.cs +++ b/tests/mmptest/src/CodeStrippingTests.cs @@ -62,7 +62,8 @@ public void ShouldStripMonoPosixHelper (bool? strip, bool debugStrips, bool rele MMPTests.RunMMPTest (tmpDir => { TI.UnifiedTestConfig test = CreateStripTestConfig (strip, tmpDir); - + // Mono's linker is smart enough to remove libMonoPosixHelper unless used (DeflateStream uses it) + test.TestCode = "using (var ms = new System.IO.MemoryStream ()) { using (var gz = new System.IO.Compression.DeflateStream (ms, System.IO.Compression.CompressionMode.Compress)) { }}"; StripTestCore (test, debugStrips, releaseStrips, "Contents/MonoBundle/libMonoPosixHelper.dylib", shouldWarn: false); }); } From 34515ce5b870f51c552c29fe79d8ec49564d11e0 Mon Sep 17 00:00:00 2001 From: Bernhard Urban Date: Wed, 14 Mar 2018 23:48:08 +0100 Subject: [PATCH 39/58] [msbuild] fix creation ouf output dependency (#3747) --- msbuild/Xamarin.Mac.Tasks/Xamarin.Mac.Tasks.csproj | 2 +- msbuild/Xamarin.iOS.Tasks/Xamarin.iOS.Tasks.csproj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/msbuild/Xamarin.Mac.Tasks/Xamarin.Mac.Tasks.csproj b/msbuild/Xamarin.Mac.Tasks/Xamarin.Mac.Tasks.csproj index 2d53532bff3c..61cf004b38d7 100644 --- a/msbuild/Xamarin.Mac.Tasks/Xamarin.Mac.Tasks.csproj +++ b/msbuild/Xamarin.Mac.Tasks/Xamarin.Mac.Tasks.csproj @@ -145,9 +145,9 @@ - + diff --git a/msbuild/Xamarin.iOS.Tasks/Xamarin.iOS.Tasks.csproj b/msbuild/Xamarin.iOS.Tasks/Xamarin.iOS.Tasks.csproj index d56450e318ef..962b723cb94f 100644 --- a/msbuild/Xamarin.iOS.Tasks/Xamarin.iOS.Tasks.csproj +++ b/msbuild/Xamarin.iOS.Tasks/Xamarin.iOS.Tasks.csproj @@ -129,9 +129,9 @@ - + From 4c16c4d2856345372e5592d90929c4237fb1af0c Mon Sep 17 00:00:00 2001 From: Bernhard Urban Date: Thu, 15 Mar 2018 10:29:04 +0100 Subject: [PATCH 40/58] Bump to mono:2018-02 Commit list for mono/mono: * mono/mono@d67d75a4f36 Disable delegate-15.exe in the full-aot profile. * mono/mono@6036b45bcec Avoid calling mono_class_vtable () for open constructed types. * mono/mono@9136f4c1a0a only target macOS, HOST_DARWIN includes iOS etc. as well * mono/mono@abb82546d7c [2018-02] [Facades] Make System.Net.Http.Rtc.dll a net_4_x only facade (#7595) * mono/mono@6af13f6e83e Add icall to configure MERP options / enable it * mono/mono@c684567bd7f Add optional Microsoft Telemetry unmanaged dumper * mono/mono@4ab5e8a495a Update source file location from commit d4816ef1abcfc5b3dea41a87fe5a7a4c4a3781ed Diff: https://github.com/mono/mono/compare/ed56e90aca9298121c8edabe200193ae861332af...d67d75a4f3654f45098f85eff0195b24b160b802 --- external/mono | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/external/mono b/external/mono index ed56e90aca92..d67d75a4f365 160000 --- a/external/mono +++ b/external/mono @@ -1 +1 @@ -Subproject commit ed56e90aca9298121c8edabe200193ae861332af +Subproject commit d67d75a4f3654f45098f85eff0195b24b160b802 From bf952675c28974fd4611ead55ae933ae6a8d82a2 Mon Sep 17 00:00:00 2001 From: Bernhard Urban Date: Tue, 20 Mar 2018 11:47:42 +0100 Subject: [PATCH 41/58] Bump to mono:2018-02 Commit list for mono/mono: * mono/mono@3577465fcd6 add LL suffix to constant in order to prevent overflowing on 32bit systems * mono/mono@7d9e106c032 1000ns = 1us and 1us = 10ticks * mono/mono@3931767dcab reduce compiler warnings * mono/mono@deb3474e7cc add regression test for github issue 7646 * mono/mono@27c7a4b01ed use utimes if available in order to set subsecond information on access and write time * mono/mono@da5b39d785f factor setfiletime * mono/mono@7f69ff87b57 use CONVERT_BASE in more places * mono/mono@e33bf27c9ad replace SECMULT with TICKS_PER_SECOND * mono/mono@79030a32843 remove unused mono_w32file_get_times () * mono/mono@e74d4a6e31f Merge pull request #7686 from mono/backport-gh-7584 * mono/mono@c2fe39f13ef Revert "Replace mono_msec_boottime() with CoreCLR implementation. Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=58413" * mono/mono@0d8de253cbb [System.Net] Replace use of obsolete `SupportsIPv6` property. * mono/mono@e9c512092df Increase the buffer size in emit_exception_debug_info (). * mono/mono@08a7043b668 [2018-02] [System]: Introduce `WebCompletionSource\u003cT\u003e` and use it in `WebOperation`. (#7641) * mono/mono@cb89a1575c6 Replace mono_msec_boottime() with CoreCLR implementation. Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=58413 * mono/mono@1a0508a58cd Handle multiple segments in IsolatedStored::GetFileNames. Fixes bxc #11771 Diff: https://github.com/mono/mono/compare/d67d75a4f3654f45098f85eff0195b24b160b802...3577465fcd667fa01b15ee673aa93b55bf7b9f38 --- external/mono | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/external/mono b/external/mono index d67d75a4f365..3577465fcd66 160000 --- a/external/mono +++ b/external/mono @@ -1 +1 @@ -Subproject commit d67d75a4f3654f45098f85eff0195b24b160b802 +Subproject commit 3577465fcd667fa01b15ee673aa93b55bf7b9f38 From a07a5d45f2cfbace5d73bcf5857b114fa2f75e4f Mon Sep 17 00:00:00 2001 From: Bernhard Urban Date: Tue, 20 Mar 2018 18:01:58 +0100 Subject: [PATCH 42/58] Bump system mono --- Make.config | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Make.config b/Make.config index f7881e92c6e5..5e54e3ef7497 100644 --- a/Make.config +++ b/Make.config @@ -60,9 +60,9 @@ XCODE_URL=http://xamarin-storage/bot-provisioning/Xcode_9.2.xip XCODE_DEVELOPER_ROOT=/Applications/Xcode92.app/Contents/Developer # Minimum Mono version -MIN_MONO_VERSION=5.12.0.48 +MIN_MONO_VERSION=5.12.0.122 MAX_MONO_VERSION=5.12.99 -MIN_MONO_URL=https://xamjenkinsartifact.azureedge.net/build-package-osx-mono/2018-02/46/daace6633917e53c9ac4677522d349f4479e1c11/MonoFramework-MDK-5.12.0.48.macos10.xamarin.universal.pkg +MIN_MONO_URL=https://xamjenkinsartifact.azureedge.net/build-package-osx-mono/2018-02/100/a6c7b9eca49859a04494380ff161acf24f37b3f0/MonoFramework-MDK-5.12.0.122.macos10.xamarin.universal.pkg # Minimum Visual Studio version MIN_VISUAL_STUDIO_URL=https://download.visualstudio.microsoft.com/download/pr/11550896/783d2219a348f93b6988fb415951788a/VisualStudioForMac-Preview-7.4.0.985.dmg From 5f735443ce86fef738927c96fce0c98a78e32721 Mon Sep 17 00:00:00 2001 From: Bernhard Urban Date: Wed, 21 Mar 2018 10:46:23 +0100 Subject: [PATCH 43/58] Bump to mono:2018-02 Commit list for mono/mono: * mono/mono@c17d8c6dcdc remove WildcardConnect () on WatchOS * mono/mono@e29f146ab36 [2018-02] [sgen] Use current nursery size when computing allowance (#7648) * mono/mono@535bfc5d845 Add csc-dim as a prototype if default interface implementation * mono/mono@5b66de0bf08 [2018-02] [sdks] Fix concurrent building of MonoAotOffsetsDumper.exe + Simplify building of support library (#7688) * mono/mono@a6c7b9eca49 [msbuild] Bump msbuild to pick up fix for issue #7184 (#7666) Diff: https://github.com/mono/mono/compare/3577465fcd667fa01b15ee673aa93b55bf7b9f38...c17d8c6dcdc8089868e39316ad214edc7e42b3a3 --- external/mono | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/external/mono b/external/mono index 3577465fcd66..c17d8c6dcdc8 160000 --- a/external/mono +++ b/external/mono @@ -1 +1 @@ -Subproject commit 3577465fcd667fa01b15ee673aa93b55bf7b9f38 +Subproject commit c17d8c6dcdc8089868e39316ad214edc7e42b3a3 From 0b26e37af5070837eb7d0fa0326ed4a375b8e67b Mon Sep 17 00:00:00 2001 From: Bernhard Urban Date: Mon, 26 Mar 2018 16:15:25 +0200 Subject: [PATCH 44/58] Bump to mono:2018-02 Commit list for mono/mono: * mono/mono@67a2468db9c support increment and decrement of nint/nuint (#7790) * mono/mono@da0e172ae59 improve error message and add another interp_in signature (#7789) * mono/mono@1c9d8aad07b [sdks] Fix the ios sdk build. (#7801) (#7824) * mono/mono@c6fc176f5c0 Fix Android build for toolchain (#7818) * mono/mono@c9bf7a38784 Disable the interpreter on ios device builds. (#7795) * mono/mono@d37075a9491 [System] Disable a test file to resolve compilation error * mono/mono@42fc0bd51fb Bump corefx to bring a fix for #7696 * mono/mono@2487301fafb Fix Android build for mxe (#7782) * mono/mono@0d6be4da5ec [sdks] Fix Android build on Linux (#7777) * mono/mono@ebbed2bb875 Revert "Swap Close/Dispose calls so that the receiver_thread_main loop will be properly interrupted (#7390)" (#7751) * mono/mono@e5bad88ebb1 Fix Android build (#7769) * mono/mono@238c21cf77d Fix a race condition that was exposed by #7358 (see #7668). * mono/mono@2fbd5a16a38 [runtime] Fix file handle leak with dedup+aot (#7721) * mono/mono@a13c12ac991 [2018-02] [loader] Don't load framework Facade assemblies that are older than expected. (#7708) * mono/mono@bdf405fae43 Merge pull request #7726 from mono/backport-new-boottime-2018-02 * mono/mono@ce612bb49ec Fix partially shared constrained calls in llvmonly mode. * mono/mono@0a3d40ac609 Avoid aot-ing the bcl libs twice in make fullaotcheck/llvmonlycheck. * mono/mono@07d5a031d46 [runtime] Don't use clock_gettime on WatchOS and tvOS. * mono/mono@ff546b9d8be [runtime] Don't use clock_gettime in MacOS. * mono/mono@9922d1af205 [runtime] Fix mono_msec_boottime () so it compiles on older ios versions, clock_gettime () is only available from ios 10. (#7671) * mono/mono@875240538e1 [mono-time] Replace mono_msec_boottime() with CoreCLR implementation. Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=58413 Diff: https://github.com/mono/mono/compare/c17d8c6dcdc8089868e39316ad214edc7e42b3a3...67a2468db9c1c3184b33fce8550e0c3809030db3 --- external/mono | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/external/mono b/external/mono index c17d8c6dcdc8..67a2468db9c1 160000 --- a/external/mono +++ b/external/mono @@ -1 +1 @@ -Subproject commit c17d8c6dcdc8089868e39316ad214edc7e42b3a3 +Subproject commit 67a2468db9c1c3184b33fce8550e0c3809030db3 From d458533dc3f48ea4b6e6798feff7617dd340ba96 Mon Sep 17 00:00:00 2001 From: Bernhard Urban Date: Tue, 27 Mar 2018 16:44:00 +0200 Subject: [PATCH 45/58] Bump to mono:2018-02 Commit list for mono/mono: * mono/mono@b250b4a6571 [2018-02] [sdk] sync ios and android changes from master into `2018-02` (#7831) * mono/mono@77fc4cfa2e0 Remove suspicious mono_gchandle_free * mono/mono@3984508a04c [icall] remove DISABLE_PROCESS_HANDLING (#7827) Diff: https://github.com/mono/mono/compare/67a2468db9c1c3184b33fce8550e0c3809030db3...b250b4a6571e4f1e108096305f8e3e21a49708b9 --- external/mono | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/external/mono b/external/mono index 67a2468db9c1..b250b4a6571e 160000 --- a/external/mono +++ b/external/mono @@ -1 +1 @@ -Subproject commit 67a2468db9c1c3184b33fce8550e0c3809030db3 +Subproject commit b250b4a6571e4f1e108096305f8e3e21a49708b9 From 4aa8444eef0f2ffc78a9803c85d06263955ca536 Mon Sep 17 00:00:00 2001 From: Bernhard Urban Date: Fri, 30 Mar 2018 12:17:20 +0200 Subject: [PATCH 46/58] Bump to mono:2018-02 Commit list for mono/mono: * mono/mono@dcdd956e1b3 [perfcounters] fix alignment issue on 32bit * mono/mono@811e3b4dcd2 [sdks] Fix LLVM build for XA (#7919) * mono/mono@25aba4e86ef [2018-02] [sdks] Fix LLVM build on Linux for XA + Fix MXE usage on non-Darwin platforms (#7912) * mono/mono@ae7f365c064 [sdks] Fix usage of MXE for XA (#7898) * mono/mono@cda8574a885 [jit] Add signature checking for CALLI. (#7880) * mono/mono@a6b0e1ccbed [2018-02] [sdks] Pass LLVM_SRC from XA to use `xamarin-android/external/llvm` + Pass IGNORE_PACKAGE_MXE from XA + Only checkout specific MXE and LLVM commit when cloning (#7895) * mono/mono@7ee378c9045 [sdks] Pass MXE_SRC from XA to use `xamarin-android/external/mxe` (#7890) * mono/mono@511ca9f5073 Whitelist illinkanalyzer in macOS package (#7862) * mono/mono@88b52663760 Merge pull request #7851 from monojenkins/backport-pr-7849-to-2018-02 * mono/mono@4aa9fd41b87 [msbuild] Bump to pick up updates (#7846) * mono/mono@4bf541a969f [System] Makes TLS providers linker friendly * mono/mono@6c324b91b22 [corlib] Restores ConcurrentDictionary serialization support. Diff: https://github.com/mono/mono/compare/b250b4a6571e4f1e108096305f8e3e21a49708b9...dcdd956e1b300c24e4ed2cbdbf28fdc82b18aaa4 --- external/mono | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/external/mono b/external/mono index b250b4a6571e..dcdd956e1b30 160000 --- a/external/mono +++ b/external/mono @@ -1 +1 @@ -Subproject commit b250b4a6571e4f1e108096305f8e3e21a49708b9 +Subproject commit dcdd956e1b300c24e4ed2cbdbf28fdc82b18aaa4 From e6205f1064145110c6a8fdbf4a50c2a764a44338 Mon Sep 17 00:00:00 2001 From: Bernhard Urban Date: Thu, 5 Apr 2018 23:28:32 +0200 Subject: [PATCH 47/58] Bump to mono:2018-02 Commit list for mono/mono: * mono/mono@2c564f83f2f [System]Fix memory leak in the web stack related to `Task.Delay` (partial fix of #7356). * mono/mono@3c52f0a4a9a [SDKS] Fix Android SDK build on Linux (#8023) * mono/mono@c5f99aa4dc3 [interp] do not bake object reference into code stream * mono/mono@1e35db0ae2d [interp] fix i4<>i8 conversion for builtin types, it was inverted (#7986) * mono/mono@88f5058a332 [sdks] Fix MXE_PREFIX for XA (#8010) * mono/mono@0d5eb5c9bb0 [sdb] Add reference counting for single step requests, they can be accessed concurrently by the single step processing code and the event request clearing code. Fixes #7137. (#7972) * mono/mono@723f194cdcf [2018-02] [sdks] Add provisioning for Android SDK and NDK (#7979) * mono/mono@a5e4482376a [System] Disable SocketTest.AcceptBlockingStatus (#7977) * mono/mono@95cc49a65c0 [2018-02] [Facades] Add System.Memory facade to mobile profiles (#7967) * mono/mono@dea448aa838 Disable building btls/ and support/ on the bcl build, they are not needed. * mono/mono@21cef8b793a [runtime] Add a --disable-btl-lib configure option to disable the building of the btls lib, but compile the managed code with btls support. * mono/mono@0ba54d6bdd0 [ppc] use ucontext_t * mono/mono@c3e00ab9bc6 [runtime] Add regression test for nested famility visibility. * mono/mono@30b5b2b1880 [runtime] Fix class visibility check for protected nested classes. Fixes #7657. * mono/mono@29adf3012f7 Bump API snapshot submodule * mono/mono@d6fde73640b [corlib] Update linker descriptor with missing types * mono/mono@572c33ae18d [corlib] Enable machine.config dependant version of CryptoConfig for net_4_x profile only Diff: https://github.com/mono/mono/compare/dcdd956e1b300c24e4ed2cbdbf28fdc82b18aaa4...2c564f83f2fd12b4bc57c277d2764161f4866cb5 --- external/mono | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/external/mono b/external/mono index dcdd956e1b30..2c564f83f2fd 160000 --- a/external/mono +++ b/external/mono @@ -1 +1 @@ -Subproject commit dcdd956e1b300c24e4ed2cbdbf28fdc82b18aaa4 +Subproject commit 2c564f83f2fd12b4bc57c277d2764161f4866cb5 From 90eb269c2eca46fe4d5277c8ac4378dda823c492 Mon Sep 17 00:00:00 2001 From: Bernhard Urban Date: Fri, 6 Apr 2018 11:46:44 +0200 Subject: [PATCH 48/58] Bump to mono:2018-02 Commit list for mono/mono: * mono/mono@19cc4c427ab [runtime] Fix --disable-btls. * mono/mono@e88bfbcbce0 [mcs] Implements C# 7.2 conditional ref expression * mono/mono@7048fb45ab5 [sdks] Use wget in place of curl, it's installed by default on Linux (#8058) Diff: https://github.com/mono/mono/compare/2c564f83f2fd12b4bc57c277d2764161f4866cb5...19cc4c427ab966a19ce8f2ca5d1c59f372996cb3 --- external/mono | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/external/mono b/external/mono index 2c564f83f2fd..19cc4c427ab9 160000 --- a/external/mono +++ b/external/mono @@ -1 +1 @@ -Subproject commit 2c564f83f2fd12b4bc57c277d2764161f4866cb5 +Subproject commit 19cc4c427ab966a19ce8f2ca5d1c59f372996cb3 From 7009fc599bcd0bd70acfc52bb9637da4405351a7 Mon Sep 17 00:00:00 2001 From: Bernhard Urban Date: Mon, 9 Apr 2018 15:49:05 +0200 Subject: [PATCH 49/58] Bump to mono:2018-02 Commit list for mono/mono: * mono/mono@0fac09cf893 [sdks] Fix arguments passed to llvm on Linux (#8109) * mono/mono@02d69477dd7 [mcs] Fixes codegen when probing reference type expression is known to pass and pattern variable has to be created (#8085) * mono/mono@54f51bf7015 [interp] use same domain as transform phase to register debug data for a method * mono/mono@0ca09346e39 [SDKS] fix Linux (and possibly other OSes) build for Android (#8044) * mono/mono@f5989de3b47 [mcs] Implements C# 7.2 stackalloc span conversion in conditional expression * mono/mono@8ad86236463 [interp] workaround undefined behaviour in r8 to u1 cast Diff: https://github.com/mono/mono/compare/19cc4c427ab966a19ce8f2ca5d1c59f372996cb3...0fac09cf893196a66e4733052db35ba62381ff2a --- external/mono | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/external/mono b/external/mono index 19cc4c427ab9..0fac09cf8931 160000 --- a/external/mono +++ b/external/mono @@ -1 +1 @@ -Subproject commit 19cc4c427ab966a19ce8f2ca5d1c59f372996cb3 +Subproject commit 0fac09cf893196a66e4733052db35ba62381ff2a From 4ef70a606e182ea26fcd1dbba09275ff88ab2141 Mon Sep 17 00:00:00 2001 From: Bernhard Urban Date: Tue, 10 Apr 2018 11:22:10 +0200 Subject: [PATCH 50/58] Bump to mono:2018-02 Commit list for mono/mono: * mono/mono@363790b1ec5 [corlib] Implements CryptoConfig::AddAlgorithm on all profiles * mono/mono@bf838da659a [w32file] Fix memory leak (#8114) * mono/mono@c530c5182f2 [2018-02] Implement C#7 binary literals (#8119) * mono/mono@e310966925f [2018-02] [Facades] Add System.Drawing.Common on mobile only (#8128) * mono/mono@5c2ab44dec3 [mcs] Adds private protected modifier to the parser only Diff: https://github.com/mono/mono/compare/0fac09cf893196a66e4733052db35ba62381ff2a...363790b1ec57b2d553a6fbde21060c42254e2469 --- external/mono | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/external/mono b/external/mono index 0fac09cf8931..363790b1ec57 160000 --- a/external/mono +++ b/external/mono @@ -1 +1 @@ -Subproject commit 0fac09cf893196a66e4733052db35ba62381ff2a +Subproject commit 363790b1ec57b2d553a6fbde21060c42254e2469 From 12d08a13628e8001a9bc626215a2195c8a045325 Mon Sep 17 00:00:00 2001 From: Marek Safar Date: Tue, 10 Apr 2018 16:20:12 +0200 Subject: [PATCH 51/58] Updates facades list --- external/mono | 2 +- tools/linker/MobileProfile.cs | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/external/mono b/external/mono index 363790b1ec57..c17d8c6dcdc8 160000 --- a/external/mono +++ b/external/mono @@ -1 +1 @@ -Subproject commit 363790b1ec57b2d553a6fbde21060c42254e2469 +Subproject commit c17d8c6dcdc8089868e39316ad214edc7e42b3a3 diff --git a/tools/linker/MobileProfile.cs b/tools/linker/MobileProfile.cs index a017484d8154..d16616930a94 100644 --- a/tools/linker/MobileProfile.cs +++ b/tools/linker/MobileProfile.cs @@ -70,6 +70,7 @@ public abstract class MobileProfile : BaseProfile { "System.Diagnostics.TraceEvent", "System.Diagnostics.TraceSource", "System.Diagnostics.Tracing", + "System.Drawing.Common", "System.Drawing.Primitives", "System.Dynamic.Runtime", "System.Globalization.Calendars", @@ -90,6 +91,7 @@ public abstract class MobileProfile : BaseProfile { "System.Linq.Parallel", "System.Linq.Queryable", "System.Linq", + "System.Memory", "System.Net.AuthenticationManager", "System.Net.Cache", "System.Net.Http.Rtc", From 201d3ad184997e4956aefc0f06ad25dfb5470b0e Mon Sep 17 00:00:00 2001 From: Bernhard Urban Date: Tue, 10 Apr 2018 16:32:29 +0200 Subject: [PATCH 52/58] Bump to mono:2018-02 Commit list for mono/mono: * mono/mono@887d3ad27e0 [System] Don't use http://www.mono-project.com for test (#8147) Diff: https://github.com/mono/mono/compare/363790b1ec57b2d553a6fbde21060c42254e2469...887d3ad27e0d129a5a8becd3bb75f69450d16834 --- external/mono | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/external/mono b/external/mono index 363790b1ec57..887d3ad27e0d 160000 --- a/external/mono +++ b/external/mono @@ -1 +1 @@ -Subproject commit 363790b1ec57b2d553a6fbde21060c42254e2469 +Subproject commit 887d3ad27e0d129a5a8becd3bb75f69450d16834 From 999a06ef01594ba76c255a197c18d74dbfa0e391 Mon Sep 17 00:00:00 2001 From: Bernhard Urban Date: Wed, 11 Apr 2018 17:23:41 +0200 Subject: [PATCH 53/58] Bump to mono:2018-02 Commit list for mono/mono: * mono/mono@cea42949126 [corlib] Make more crypto oids work on mobile profiles when not linked out * mono/mono@9e7efad7be2 [mcs] Fixes parameter check for interface types used with default parameters * mono/mono@d0562a9e6ff [sdks] Add support for building llvm unless the USE_PREBUILT_LLVM Make.config var is set. (#8017) (#8150) Diff: https://github.com/mono/mono/compare/887d3ad27e0d129a5a8becd3bb75f69450d16834...cea4294912694d42581d9e51593cf55b89609d8c --- external/mono | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/external/mono b/external/mono index 887d3ad27e0d..cea429491269 160000 --- a/external/mono +++ b/external/mono @@ -1 +1 @@ -Subproject commit 887d3ad27e0d129a5a8becd3bb75f69450d16834 +Subproject commit cea4294912694d42581d9e51593cf55b89609d8c From a6d1c693075a2e68997aad55b5d807f4d8a6c855 Mon Sep 17 00:00:00 2001 From: Bernhard Urban Date: Fri, 13 Apr 2018 14:27:17 +0200 Subject: [PATCH 54/58] Bump to mono:2018-02 Commit list for mono/mono: * mono/mono@763e7f9d783 [system.net] disable some tests to unblock XI integration (#8205) * mono/mono@35cb6bda95d [System.Net.Http] Use '*' as the host instead of '+' in the tests. Fixes xamarin/maccore#673. * mono/mono@61da4c7a5f1 [eglib] GMarkup: allow all ASCII NameStartChar and NameChar except ':' * mono/mono@2710e67296e [sdks] Add ANDROID_BUILD_TOOLS_DIR to differentiate it from ANDROID_BUILD_TOOLS_VERSION (#8192) * mono/mono@dbf27d49ad9 [sdks] Fix typo (#8187) * mono/mono@02390a7414e [sdks] Fix build (#8183) Diff: https://github.com/mono/mono/compare/cea4294912694d42581d9e51593cf55b89609d8c...763e7f9d783204ca284306bdd991563fdf3d5f1f --- external/mono | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/external/mono b/external/mono index cea429491269..763e7f9d7832 160000 --- a/external/mono +++ b/external/mono @@ -1 +1 @@ -Subproject commit cea4294912694d42581d9e51593cf55b89609d8c +Subproject commit 763e7f9d783204ca284306bdd991563fdf3d5f1f From c58c7482775c12486d5479ea517a8b98f29fe96a Mon Sep 17 00:00:00 2001 From: Bernhard Urban Date: Sun, 15 Apr 2018 21:06:40 +0200 Subject: [PATCH 55/58] Bump to mono:2018-02 Commit list for mono/mono: * mono/mono@4a00c501b21 [2018-02] Harden JIT job control against cctors deadlocking. (#8235) * mono/mono@34b31f05f50 [2018-02] Fix timestamp for file copy (#8247) * mono/mono@8e08947e1cd [sdks] Fix typo + Fix verbosity of unzip-android-archive.sh (#8243) * mono/mono@d96186b5e8f [w32handle] Lower minimum memory usage (2nd attempt) (#8154) Diff: https://github.com/mono/mono/compare/763e7f9d783204ca284306bdd991563fdf3d5f1f...4a00c501b21cdb2cb81d4ddefd1115e32d56b4f5 --- external/mono | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/external/mono b/external/mono index 763e7f9d7832..4a00c501b21c 160000 --- a/external/mono +++ b/external/mono @@ -1 +1 @@ -Subproject commit 763e7f9d783204ca284306bdd991563fdf3d5f1f +Subproject commit 4a00c501b21cdb2cb81d4ddefd1115e32d56b4f5 From 1eb1fccd124a1767af460ea3b93d58ade73e96a5 Mon Sep 17 00:00:00 2001 From: Bernhard Urban Date: Wed, 18 Apr 2018 17:14:18 +0200 Subject: [PATCH 56/58] Bump to mono:2018-02 Commit list for mono/mono: * mono/mono@64ec2dd3eb1 [corlib] SynchronizationContext does not work on non-root AppDomain on Android (#8296) * mono/mono@9bbc930d620 [w32file-unix] fix mistake in 8430155946c31f0f3f5f04017eebd79ac15e566d (#8299) * mono/mono@891c01eb6e3 [2018-02] [runtime] Add public API to set the pending exception. (#8280) * mono/mono@e03516d11f7 [mcs] Implements C# 7 digits separators Diff: https://github.com/mono/mono/compare/4a00c501b21cdb2cb81d4ddefd1115e32d56b4f5...64ec2dd3eb1309b84819b34c4279d946acacd082 --- external/mono | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/external/mono b/external/mono index 4a00c501b21c..64ec2dd3eb13 160000 --- a/external/mono +++ b/external/mono @@ -1 +1 @@ -Subproject commit 4a00c501b21cdb2cb81d4ddefd1115e32d56b4f5 +Subproject commit 64ec2dd3eb1309b84819b34c4279d946acacd082 From f45440b95f587e1b1397146c6bba943d357d0796 Mon Sep 17 00:00:00 2001 From: Bernhard Urban Date: Thu, 19 Apr 2018 12:38:11 +0200 Subject: [PATCH 57/58] Bump to mono:2018-02 Another bump to verify fix for https://github.com/xamarin/maccore/issues/628 Commit list for mono/mono: * mono/mono@6c5b8bcc39c [sdks] Fix mktemp parameters (#8324) * mono/mono@b1dda64bda8 [corlib] Fix TimeZoneInfo.Local when /usr/share/zoneinfo is a symlink (#8304) Diff: https://github.com/mono/mono/compare/64ec2dd3eb1309b84819b34c4279d946acacd082...6c5b8bcc39c1ff28230ae15bf864890dcce1cdd3 --- external/mono | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/external/mono b/external/mono index 64ec2dd3eb13..6c5b8bcc39c1 160000 --- a/external/mono +++ b/external/mono @@ -1 +1 @@ -Subproject commit 64ec2dd3eb1309b84819b34c4279d946acacd082 +Subproject commit 6c5b8bcc39c1ff28230ae15bf864890dcce1cdd3 From 7b2fb475a0b91be979e4e50aaca297bcfbe2bc5a Mon Sep 17 00:00:00 2001 From: Ludovic Henry Date: Fri, 20 Apr 2018 13:51:24 -0400 Subject: [PATCH 58/58] Bump to mono/2018-02/9061f77e Commit list for mono/mono: * mono/mono@9061f77e7f1 [System.Net] do not use Thread for SocketTest.TestSelect1 (#8369) * mono/mono@700f316825d Fix mono_perfcounter_instance_exists to match prototype when #ifndef DISABLE_PERFCOUNTERS. (#8335) * mono/mono@12d764f5a05 Remove unused signal.h include in interp.c * mono/mono@638a7ed3b0e [corlib] Disable failing test on XA (#8352) Diff: https://github.com/mono/mono/compare/6c5b8bcc39c1ff28230ae15bf864890dcce1cdd3...9061f77e7f181057ff27e6900c05d8b1e5c63773 --- external/mono | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/external/mono b/external/mono index 6c5b8bcc39c1..9061f77e7f18 160000 --- a/external/mono +++ b/external/mono @@ -1 +1 @@ -Subproject commit 6c5b8bcc39c1ff28230ae15bf864890dcce1cdd3 +Subproject commit 9061f77e7f181057ff27e6900c05d8b1e5c63773