Граф коммитов

520 Коммитов

Автор SHA1 Сообщение Дата
Rolf Bjarne Kvinge d839bbe782
Bump maccore. (#14575)
New commits in xamarin/maccore:

* xamarin/maccore@1c5dfc89f0 [mlaunch] Fix booting simulator devices when the simulator app is already running in Xcode 13.3. Fixes #14560. Fixes AB#1509963
 xamarin/maccore@cf9f7409e9 [mlaunch] Fix booting simulator devices on older Xcode versions.

Diff: 4eb40042c1..cf9f7409e9
2022-03-31 07:49:58 +02:00
Rolf Bjarne Kvinge 895e556435
Bump maccore. (#14531)
New commits in xamarin/maccore:

* xamarin/maccore@4eb40042c1 Support --killdev with PID argument

Diff: 8287d19786..4eb40042c1

Co-authored-by: Alex Soto <alex@alexsoto.me>
2022-03-30 08:54:13 +02:00
Rolf Bjarne Kvinge fd772aa82b
Bump mono. (#14555)
New commits in mono/mono:

* mono/mono@adf1bc4335 Bump corefx submodule to get brotli update

Diff: f34bd77e39..adf1bc4335
2022-03-30 08:42:24 +02:00
Rolf Bjarne Kvinge b340e26595
Bump maccore. (#14417)
New commits in xamarin/maccore:

* xamarin/maccore@8287d19786 [submission] Only be optionally quiet.
* xamarin/maccore@5fe27fdd36 [submission] Add makefile target to add all the certs.
* xamarin/maccore@98670dcf31 [submission] Write results as tests are executed.

Diff: 696db0a953..8287d19786

Co-authored-by: Manuel de la Pena <mandel@microsoft.com>
2022-03-17 10:16:31 +01:00
Rolf Bjarne Kvinge 79d7cfc82c
Bump maccore. (#14352)
New commits in xamarin/maccore:

* xamarin/maccore@696db0a953 Allow launch Simulator as the only action

Diff: 0402961be3..696db0a953
2022-03-09 12:34:00 -05:00
Rolf Bjarne Kvinge a867400451
Bump maccore. (#14349)
New commits in xamarin/maccore:

* xamarin/maccore@0402961be3 Add Simulator state into results XML when listing Simulators
* xamarin/maccore@e06c4fda77 [Docfixer] Remove the docfixer tool.

Diff: 6e6b84249b..0402961be3
2022-03-09 14:47:19 +01:00
Alex Soto 14d5620f5f
[mono] Bump mono to the HEAD of 2020-02 to match android (#14294)
New commits in mono/mono:

* mono/mono@f34bd77e39 [2020-02][Android] Workaround for invalid return value from clock_nanosleep
* mono/mono@0f5e80e577 Disable ClientWebSocketTest tests that started failing for no reason

Diff: 4efc825e83..f34bd77e39

Co-authored-by: Manuel de la Pena <mandel@microsoft.com>
2022-03-03 18:37:57 -05:00
Alex Soto b822fbe4cf
[mono] Bump mono to the HEAD of 2020-02 (#14137)
New commits in mono/mono:

* mono/mono@4efc825e83 [Tools] Fix mono-api-html MarkdownFormatter.cs to avoid a NRE
* mono/mono@6171c87180 vtable setup fix for generic default interface methods in mono runtime
* mono/mono@148f536b0b [2020-02] [AOT] Use .short directive instead of .hword
* mono/mono@a6f3e8f179 Avoid an assert in ves_icall_RuntimeFieldInfo_SetValueInternal
* mono/mono@3c4f3de377 Add correct InetAccess category to HttpClientTest.Proxy_Disabled test and disable Ping tests
* mono/mono@9f35bf1b80 Add missing handle function enter/return macros

Diff: 45efaa3b6f..4efc825e83
2022-02-15 14:42:24 -05:00
Rolf Bjarne Kvinge 478c1d2c8f
Bump maccore. (#14121)
New commits in xamarin/maccore:

* xamarin/maccore@6e6b84249b [release] Don't try to remove the prebuilt app, it's not there anymore.

Diff: 037cc66058..6e6b84249b
2022-02-10 14:51:51 -05:00
Rolf Bjarne Kvinge 1d9a02cbef
[dotnet] Figure out where to publish files in the app bundle. Fixes #12572. (#13591)
In .NET, all files that should be published (put into the final .app bundle) are put into the @(ResolvedFileToPublish) item group, and at the end of the build process, .NET will publish all the files in that item group. Which files are in this item group, and how they're put in there, is out of our control (it's just how the build process works in .NET), so we'll have to cope.

Additionally, publishing an app for Apple platforms is different than publishing other .NET apps, because we can't just put all the files in the a directory like .NET usually does, we have a fairly strict directory structure we need to follow, and it also differs between platforms (the structure is different between macOS and iOS for instance).

This means that for every file in the `ResolvedFileToPublish` item group, we have to figure out:

* Should it be put into the app bundle in the first place?
* If so, in which subdirectory (if any)?

This PR implements these changes. The exact details are explained in a document in the PR, but the general logic is:

* We make an educated guess for some types of files we know about (assemblies, unmanaged libraries, images, etc).
* We provide a way to set metadata on each item specifying which type of item it is (assembly, unmanaged library, image, etc), and we'll treat the item as such. This method can also be used to override the guess we made (for files that shouldn't be published for instance).
* We warn if we run into files we're not educated enough to be able to guess about, and for which there's no custom metadata set.

Fixes https://github.com/xamarin/xamarin-macios/issues/12572.
2022-01-17 09:50:06 +01:00
Alex Soto 0114aabb18
[maccore] Bump maccore to ease submission tests (#13717)
New commits in xamarin/maccore:

* xamarin/maccore@037cc66058 Setup MacCoolApp (NET6) to be duel x86_64/arm64 as required by submission tests now
* xamarin/maccore@3332ba19a0 [submission tests] Always build with /bl, even Legacy
* xamarin/maccore@6bb8bf46dd Fix a few submission test issues and document filters
* xamarin/maccore@b63ef4428c [devops] Add pipeline to test provisioning.

Diff: 0be9399a53..037cc66058
2022-01-14 09:39:17 -05:00
Rolf Bjarne Kvinge 6564841c6a Merge remote-tracking branch 'origin/main' into dotnet-resolvedfiletopublish 2022-01-14 11:00:16 +01:00
Rolf Bjarne Kvinge 2ec10ca397
Bump mono. (#13714)
Bump mono to get fix for https://github.com/dotnet/runtime/issues/61153.

New commits in mono/mono:

* mono/mono@45efaa3b6f [interp] Remove hack for nint/nfloat
* mono/mono@a5d1934898 transform sgen_get_descriptor to parallel safe version in job_major_mod_union_preclean

Diff: b8d7525156..45efaa3b6f
2022-01-14 07:21:58 +01:00
Rolf Bjarne Kvinge 030eb95f21 [mk] Zip it. 2021-12-22 10:17:34 +01:00
Rolf Bjarne Kvinge 30f7ba83f6
Bump mono. (#13574)
New commits in mono/mono:

* mono/mono@b8d7525156 [2020-02] [cominterop] Add coop handle enter/return on native CCW methods
* mono/mono@2ca650f1f6 [2020-02] Adds full path to libcairo for correct assembly directory resolution in monterey
* mono/mono@e750cb3ee5 [aot] Prepend the assembly name to the names of gsharedvt wrappers to avoid duplicate symbol errors during static linking.
* mono/mono@b32801a63c Remove NuGet.config
* mono/mono@dfcef74640 Allow nfloat to be in the ObjCRuntime namespace, and make it work for Xamarin.MacCatalyst.dll as well.
* mono/mono@5ce143a1a8 Revert "[2020-02] Start a dedicated thread for MERP crash reporting (mono/mono#21126)"

Diff: 4150e65c9e..b8d7525156
2021-12-15 20:53:08 +01:00
Rolf Bjarne Kvinge b4aae072c8 [runtime] Build for ARM64/simulators. 2021-11-30 18:20:42 +01:00
Rolf Bjarne Kvinge b70e6f4674
Submodule MonoTouch.Dialog. (#13058)
* Submodule MonoTouch.Dialog.

Submodule MonoTouch.Dialog, so that we can easily build it using .NET. This
submodule will become redundant when/if we publish a .NET version of
MonoTouch.Dialog, but until that happens we need it at least for our own test
suites.

This also means we have to copy our NuGet.config and global.json files to the
MonoTouch.Dialog project directory so that we point msbuild to use our local
build.

New commits in spouliot/Touch.Unit:

* spouliot/Touch.Unit@cbda703 [Touch.Client] Use MonoTouch.Dialog from a submodule. (#109)

Diff: 3345db2f4e..cbda703583

* Use relative path for submodule.

And fix indentation and set the branch name.

* Don't use 'RootTestsDirectory' when it might not be defined yet.

* [tests] Our test projects don't need to reference MonoTouch.Dialog directly.

The projects get the MonoTouch.Dialog reference indirectly through the
Touch.Client project reference.

* [tests] Only validate unique errors in the .NET unit tests.

* [tests] No need to reference System.Json anymore, that's handled directly in the MonoTouch.Dialog project.

* [tests] Reference nunit.framework.targets so we get a workaround for an NUnit issue everywhere.

* [msbuild] Only try to create a package if we're able to create an app bundle.

This fixes an issue where a library project would try (and fail) to create a
package when 'CreatePackage=true' (which could be set for the executable
project, but inherited by the library project since the executable project
depends on it).

* [tests] Adjust PackTest.BindingXcFrameworksProject to not set the AssemblyName property.

MSBuild ends up being very confused when the project we're trying to build
depends on other projects, because AssemblyName is set for all the projects
being build, and MSBuild complains about ambiguous projects:

> error: Ambiguous project name 'bindings-xcframework-test'
2021-10-26 08:18:34 +02:00
Alex Soto 147c264a24
[mono] Bump mono/2020-02 to latest HEAD (#12914)
New commits in mono/mono:

* mono/mono@4150e65c9e [aot] Don't leak unbox trampolines (#21225)
* mono/mono@5a21247f36 Stop using git protocol for submodules
* mono/mono@66e81934b7 [MacSDK] Add F# targets to VisualStudio/v17.0 directory (#21218)
* mono/mono@0c979e6d76 Ignore inherit param for ParameterInfo.GetCustomAttributes (#21201)
* mono/mono@2207434690 [mini] Don't add unbox tramopline on generic DIM calls (#21209)
* mono/mono@a1ada04a58 [2020-02][linux] Some pseudo-tty fixes (#21205)

Diff: 3cf59ad33d..4150e65c9e
2021-10-02 11:47:45 -04:00
Manuel de la Pena 778fd93754
[Maccore] Bump maccore to bring the feed config. (#12904) 2021-10-01 15:17:30 -04:00
Rolf Bjarne Kvinge 6df1ba2a2e
Bump maccore. (#12774)
New commits in xamarin/maccore:

* xamarin/maccore@6f0bf5e2f4 [Dotnet] Update the bundle to hold the dotnet assemblies
* xamarin/maccore@c36eb31d43 Update net6 submission file path

Diff: efad4f0bae..6f0bf5e2f4
2021-09-20 13:40:26 +02:00
Rolf Bjarne Kvinge 855de9623a
Bump maccore. (#12675)
New commits in xamarin/maccore:

* xamarin/maccore@efad4f0bae [Xamarin.Hosting] Fix a few compiler warnings.
* xamarin/maccore@55087e093a [Xamarin.Hosting] Fix detecting app exit on device.
* xamarin/maccore@ffefee386c [Xamarin.Hosting] Add support for launching with debugserver on iOS/tvOS 14+.
* xamarin/maccore@e203814d08 [tests] Fix .ipa path for iOSCoolApp now that it's a fat app.
* xamarin/maccore@c2531ff702 Update the provisionator script.
* xamarin/maccore@2bfa5fa12b [submission] Add a fat Mac Catalyst test app.

Diff: 3e591cbcb1..efad4f0bae
2021-09-10 14:31:04 +02:00
Rolf Bjarne Kvinge 58ae71bbd0
Bump maccore. (#12557)
* Bump maccore.

New commits in xamarin/maccore:

* xamarin/maccore@62e6757515 [provisioning-profiles] Show more output from fetching the latest provisioning profiles. (#2504)
* xamarin/maccore@d9dcac2172 [submissions] Add ported samples. (#2503)
* xamarin/maccore@9473912ea3 [submission] Use a different bundle identifier for FSharpMacCoolApp to not clash with another test app. (#2502)
* xamarin/maccore@f235bd6454 Update vseng-xamarin-mac-devices.p12 (#2499)
* xamarin/maccore@2fba9b0761 [submissions] Fix string interpolation. (#2501)
* xamarin/maccore@32acd3aa82 [certificates] Update la_dev_apple.p12, la_distr_apple.p12 and la_mac_installer_distr.p12. (#2500)

Diff: 8bb7dc6c38..62e6757515

* Bump again.

New commits in xamarin/maccore:

* xamarin/maccore@3e591cbcb1 [provisioning-profiles] Add intermediate cert to the keychain. (#2506)

Diff: 62e6757515..3e591cbcb1
2021-08-26 17:26:07 +02:00
Rolf Bjarne Kvinge c09cf23682
Bump maccore. (#12523)
New commits in xamarin/maccore:

* xamarin/maccore@8bb7dc6c38 [docfixer] Add error checking to fix #xamarin/maccore@2479. (#2498)

Diff: 93d0469437..8bb7dc6c38
2021-08-25 09:21:05 +02:00
Přemek Vysoký 28fc7bb697
Bump maccore (#12497) 2021-08-23 14:40:45 -04:00
Alex Soto 8893e5b003
[mono] bump to the HEAD of 2020-02 (#12507)
New commits in mono/mono:

* mono/mono@3cf59ad33d 2020 02 backport metadata fixes (#21190)
* mono/mono@1e649b6338 [Mono.Profiler.Aot] Write true string wire length (#21196)
* mono/mono@f41fc8b133 Adding null check to avoid abort when invalid IL is encountered (#21195)

Diff: 8b6809243d..3cf59ad33d
2021-08-23 08:58:49 -04:00
Rolf Bjarne Kvinge d173db1a23
Bump mono. (#12428)
New commits in mono/mono:

* mono/mono@8b6809243d [mini] Add GC Unsafe transitions in mono_pmip (#21186)
* mono/mono@35bf914659 [2020-02] Fix memory leak during data registration (#21107) (#21116)
* mono/mono@6303563594 [2020-02] Start a dedicated thread for MERP crash reporting (#21126)

Diff: c633fe9238..8b6809243d
2021-08-13 17:26:47 +02:00
Rolf Bjarne Kvinge 8abe5f8188
Bump maccore. (#12358)
New commits in xamarin/maccore:

* xamarin/maccore@49c78df930 Fixes for msbuild.zip creation (#2483)
* xamarin/maccore@2fc29b2c02 [mlaunch] Create a binlog when building mlaunch. (#2485)

Diff: e14b89f9eb..49c78df930
2021-08-06 09:34:48 +02:00
Rolf Bjarne Kvinge 8bfa3664e3
Bump maccore. (#12328)
Fixes this build breakage:

    cp -R ../../xamarin-macios/msbuild/Xamarin.iOS.Tasks.Windows/bin/Release/netstandard2.0/win/ msbuild/iOS
    cp: ../../xamarin-macios/msbuild/Xamarin.iOS.Tasks.Windows/bin/Release/netstandard2.0/win/: No such file or directory
    make[3]: *** [msbuild.zip] Error 1
    make[2]: *** [release] Error 2
    make[1]: *** [package] Error 2
    make: *** [package] Error 2

New commits in xamarin/maccore:

* xamarin/maccore@e14b89f9eb Revert "Fixes for msbuild.zip creation (#2483)" (#2484)

Diff: 49974a9818..e14b89f9eb
2021-08-03 08:04:29 +02:00
Rolf Bjarne Kvinge 0baef3c43f
Bump maccore. (#12303)
New commits in xamarin/maccore:

* xamarin/maccore@49974a9818 Fixes for msbuild.zip creation (#2483)
* xamarin/maccore@550fe4b991 [tests/submissions] Add Mac Catalyst test apps to our list of submission tests. (#2478)
* xamarin/maccore@55bec8b981 [tests/submissions] Add support to filter the test(s) to execute. (#2470)

Diff: 536fd9a01b..49974a9818
2021-07-30 15:42:28 +02:00
Rolf Bjarne Kvinge 5072961d84
Bump maccore. (#12155)
New commits in xamarin/maccore:

* xamarin/maccore@536fd9a01b [Xamarin.Hosting] Add support to write output to a tty. (#2468)

Diff: 99ad0341f4..536fd9a01b

Co-authored-by: Manuel de la Pena <mandel@microsoft.com>
2021-07-21 09:19:24 +02:00
Rolf Bjarne Kvinge 2995dd1afc
Bump maccore. (#12127)
New commits in xamarin/maccore:

* xamarin/maccore@99ad0341f4 [Xamarin.Hosting] Improve error reporting when dlopen fails (#2466)
* xamarin/maccore@8dd9c68035 [Xamarin.Hosting] Xcode 13 b3 doesn't have IBFoundation anymore, but it does have AssetCatalogFoundation, which we must load. (#2467)
* xamarin/maccore@da6da4af29 [Xamarin.Hosting] Only warn if we try to load a framework that doesn't exist. (#2465)
* xamarin/maccore@5cec54f305 [Xamarin.Hosting] Add some helpful lldb commands when trying to figure out what Xcode does. (#2456)

Diff: c7809739bd..99ad0341f4
2021-07-16 09:30:01 +02:00
Rolf Bjarne Kvinge 2837a9c6bb
Bump maccore to get mlaunch fix. (#11924)
New commits in xamarin/maccore:

* xamarin/maccore@c7809739bd [Xamarin.Hosting] Add each platform as an exposed capability to the plugin manager. Fixes #xamarin/xamarin-macios@11901. (#2455)

Diff: 9acbbed1f6..c7809739bd
2021-06-14 17:17:49 -04:00
Rolf Bjarne Kvinge 0921ae4e26
Bump to Xcode 13 beta 1. (#11861)
* Bump maccore.

New commits in xamarin/maccore:

* xamarin/maccore@9acbbed1f6 [mlaunch] Add support for Xcode 13 beta 1. (#2452)
* xamarin/maccore@e48f75c0b6 [Xamarin.Hosting] Fix the --stdout arg not being forwarded to DeviceLaunchConfig (#2435)
* xamarin/maccore@109c695b1b [Xamarin.Hosting] Fix help string for launchdev argument (#2429)

Diff: cddbd1915d..9acbbed1f6

* [xtro] Fix generation of .pch files
* [xtro] Fix deprecated check to handle (anonymous) declarations and enable latest C# syntax in project
* [xtro] Fix _sanity_ checks
* [xtro] Update todo for beta 1

* [Siminstaller] Force siminstaller to use the xcode 12.5 url

Related issue: https://github.com/xamarin/xamarin-macios/issues/11881

* Fix introspection failures (due to [breaking] changes)
* [tests][intro] Fix hang for tvOS

Creating an instance of `NSMetadataQuery` hangs the simulator.

Even after (xharness) timeout the simulator is not in a good state
to run further tests and every new (tvOS) test will also hang...

* [tests][intro] Same hang for watchOS

except that further test execution does not seem affected (like tvOS)

```
CoreSimulator 772.1 - Device: Apple Watch Series 3 - 38mm (watchOS 8.0) - created by XHarness (42262867-E060-40C0-803E-6DA676AF50CC) - Runtime: watchOS 8.0 (19R5266p) - DeviceType: Apple Watch Series 3 - 38mm

Thread 0 Crashed:: tid_103  Dispatch queue: com.apple.main-thread
0   com.apple.Foundation          	0x00007fff21470bd0 -[NSMetadataQuery dealloc] + 432
1   libobjc.A.dylib               	0x00007fff200d11f7 objc_object::sidetable_release(bool, bool) + 177
2   com.apple.Foundation          	0x00007fff21470a03 -[NSMetadataQuery init] + 64
3   com.xamarin.introspection_watch.watchkitapp.watchkitextension	0x0000000107efc139 xamarin_dyn_objc_msgSend + 217 (trampolines-x86_64-objc_msgSend.s:15)
4   ???                           	0x000000010c76d4f6 0 + 4504081654
5   com.xamarin.introspection_watch.watchkitapp.watchkitextension	0x0000000107cffc85 mono_jit_runtime_invoke + 1621 (mini-runtime.c:3197)
6   com.xamarin.introspection_watch.watchkitapp.watchkitextension	0x0000000107e177d8 do_runtime_invoke + 54 (object.c:3052) [inlined]
7   com.xamarin.introspection_watch.watchkitapp.watchkitextension	0x0000000107e177d8 mono_runtime_invoke_checked + 136 (object.c:3220)
8   com.xamarin.introspection_watch.watchkitapp.watchkitextension	0x0000000107e1e3c5 mono_runtime_try_invoke_array + 2101 (object.c:5601)
9   com.xamarin.introspection_watch.watchkitapp.watchkitextension	0x0000000107daf977 ves_icall_InternalInvoke + 871 (icall.c:3927)
10  com.xamarin.introspection_watch.watchkitapp.watchkitextension	0x0000000107dc0167 ves_icall_InternalInvoke_raw + 103 (icall-def.h:667)
11  ???                           	0x000000010a232799 0 + 4465043353
12  ???                           	0x000000010c76e08b 0 + 4504084619
```

* [tests][monotouch-test] Fix failures with xcode 13 beta 1
* [tests][mmptest] Use a FAT framework that's build with x86_64 and arm64

Co-authored-by: Alex Soto <alex@alexsoto.me>
Co-authored-by: Sebastien Pouliot <sebastien.pouliot@microsoft.com>
Co-authored-by: Manuel de la Pena <mandel@microsoft.com>
2021-06-10 20:07:20 -04:00
Alex Soto 7fb037c878
[main][mono] Bump mono to HEAD of 2020-02 to match android (#11716)
* [mono] Bump mono to HEAD of 2020-02 to match android

New commits in mono/mono:

* mono/mono@c633fe9238 [MSBuild] Update to vs16.10 branch (#21073)
* mono/mono@a01309d104 sdks: Use https for xamjenkinsartifacts llvm archive download
* mono/mono@6e079842a6 sdks: Disable parallelism for mxe llvmwin64 build
* mono/mono@28a101a8ab [2020-02] Fix leak in assembly-specific dllmap lookups (#21053)
* mono/mono@0449008883 [MonoIO] Wrap calls to open() in EINTR handling (#21042)
* mono/mono@51d876a041 [2020-02][System.Native] Handle ReadDir EINTR (#21029)
* mono/mono@581e5827f4 Bump corefx for credscan fixes (#21018)
* mono/mono@c90ec48f59 [arm64] Fix wrong marshalling in gsharedvt transition (#21006)

Diff: b4a385816e..c633fe9238

* [mmptests] Accommodate tests to take into account msbuild formating changes
2021-06-02 18:59:09 -04:00
Manuel de la Pena 541bfded17
[Maccore] Bump maccore to the latests. (#11312)
Commits:

* [Xamarin.Hosting] Show installation progress for higher verbosity (#2424) cddbd1915d

Full diff: d11721f55e..cddbd1915d
2021-04-23 17:25:52 -04:00
Rolf Bjarne Kvinge 405441f544
[mtouch] It seems watchOS simulators can automatically choose the right architecture from fat apps. (#11241)
* [mtouch] It seems watchOS simulators can automatically choose the right architecture from fat apps.

So we can build a fat simulator app, and not depend on mlaunch copying in the
specific architecture at launch time.

A partial fix for https://github.com/xamarin/maccore/issues/2411.

* Bump maccore.

New commits in xamarin/maccore:

* xamarin/maccore@d11721f55e [Xamarin.Hosting] Xcode seems to have changed some logic with regards to getting the primary instruments server. (#2416)
* xamarin/maccore@d27297a098 [Xamarin.Hosting] Don't copy single-arch executable over a fat executable. (#2417)
* xamarin/maccore@6c305d4aa7 [Xamarin.Hosting] Launching may succeed even if the launch request fails. Don't fail in that case. (#2415)
* xamarin/maccore@bccc91d6a0 Support ARM64 and ARM64e simulators (#2418)

Diff: c89fd6a694..d11721f55e
2021-04-21 08:00:02 +02:00
Rolf Bjarne Kvinge a026aa71b3
Make the quiet version of 'dotnet build' quieter. (#11240)
Ref: https://github.com/dotnet/sdk/issues/7986#issuecomment-604959822
2021-04-20 21:38:37 +02:00
Alex Soto a01bee4717
[mono] Bump mono to match android (#11213)
New commits in mono/mono:

* mono/mono@b4a385816e Bump fsharp.py to get upstream nuget feed cleanup
* mono/mono@225ba3c8cb [2020-02] Backport r4-conv-i fixes (#20986)
* mono/mono@fcbc455935 [ci] Use adoptopenjdk instead of zulu-8 in sdks-archive.groovy
* mono/mono@cc8b25a7d8 [2020-02] Bump msbuild, roslyn and nuget (#20983)
* mono/mono@8c331833c7 Disable JSC runs on WASM since it crashes
* mono/mono@69cfb5fa61 Fix the System.String.Replace throwing NotImplementedException (#20960) (#20978)

Diff: eb4c3116eb..b4a385816e

Co-authored-by: Manuel de la Pena <mandel@microsoft.com>
2021-04-15 08:36:49 -04:00
Přemek Vysoký 1e11c21fa1
Bump maccore to fix mlaunch NRE when starting Simulator bundles (#11165)
New commits in xamarin/maccore:
 
* [xamarin/maccore@c89fd6a](https://github.com/xamarin/maccore/commit/c89fd6a) Fix `--launchsimbundleid` action (#2412)

Diff: b9aaee7254..c89fd6a694
2021-04-09 13:39:01 -04:00
Rolf Bjarne Kvinge c8b6bc6c85
[dotnet] Build macOS/.NET for ARM64 as well. (#10959)
Partial fix for #10959.
2021-03-25 07:26:48 +01:00
Alex Soto 9c791dcd07
[mono] Bump mono to bring iOS binaries built with xcode12.4 (#10943)
* [mono] Bump mono to bring iOS binaries built with xcode12.4

Also bumping system mono pkg to the one that contains arm64 support

New commits in mono/mono:

* mono/mono@eb4c3116eb Build iOS SDK archives on Xcode 12.4
* mono/mono@acb8d8ed6f [2020-02][marshal] Fix VARIANT and BSTR marshaling in structs (#20918)

Diff: be9218f4d1..eb4c3116eb

* [mtouch] fix version logic check

Fixes Unexpected minOS version (expected 8.0.0, found 7.0.0) in MonoTouch.iphonesimulator.sdk/lib/libmono-native-compat.dylib ()

we really only care if it is over the version we expect not below.

* Fix version test
2021-03-24 17:34:30 -04:00
Rolf Bjarne Kvinge af5651accf
[runtime] Move MonoVM-specific initialization to MonoVM-specific code. (#10899)
* [runtime] Download the CoreCLR embedding header file

* [runtime] Create VM-specific code and header files and include them in the build

* [runtime] Move MonoVM-specific initialization to MonoVM-specific code.
2021-03-18 07:23:39 +01:00
Connor Adsit 8785b954b1
[CI] Remove login keychain references (#10778)
* Remove references to the login keychaintools/devops/automation/templates/build/build.yml

* remove login-keychain envvar, add credential envvars

* use special branch of maccore

* Fix variable references

* Add keyringPass back in

* and here, too

* Change maccore to HEAD of current needed version + keychain fixes

* Bump back to maccore/main.

New commits in xamarin/maccore:

* xamarin/maccore@e81fac5451 [CI] remove login keychain password and xqa cert passwords (#2404)
* xamarin/maccore@548fa45432 [mlaunch] Disable building mlaunch when not including the legacy Xamarin build. (#2403)

Removed commits from xamarin/maccore:

* xamarin/maccore@ef5502ee51 remove login keychain password and xqa cert passwords

Diff: ef5502ee51..e81fac5451

* revert pipeline branch of maccore to main

* [maccore] Bump maccore

New commits in xamarin/maccore:

* xamarin/maccore@b9aaee7254 Remove unneeded block intended to add creds to login.keychain
* xamarin/maccore@0ac61f1fba [dotnet] Changes the msbuild.zip to include Windows files (#2408)
* xamarin/maccore@e81fac5451 [CI] remove login keychain password and xqa cert passwords (#2404)

Diff: 548fa45432..b9aaee7254

Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
Co-authored-by: Alex Soto <alex@alexsoto.me>
2021-03-17 08:16:58 +01:00
Alex Soto 4bde41c508
[mono] Bump mono to get M1 binaries (#10836)
* [mono] Bump mono to get M1 binaries

New commits in mono/mono:

* mono/mono@be9218f4d1 Don't include mono-dtrace.h when generating offsets
* mono/mono@14ac6d4f0b [2020-02] Backport Apple silicon support (#20909)
* mono/mono@7dc02abf99 Build Mac/MacCat SDK archives on Xcode 12.4
* mono/mono@fdf57e7744 Disable DebuggerTests.Crash since it fails on Linux i386 in CI
* mono/mono@8c552e98bd Bump bockbuild to include https://github.com/mono/bockbuild/pull/168
* mono/mono@b1e2a54c6a Remove signing from Jenkins MSI pipeline
* mono/mono@a8f265550b Remove signing from Jenkins PKG/MSI pipelines
* mono/mono@c621c35ffa Fix early return in Process.Start (#20833)
* mono/mono@715757301f [2020-02][System.Drawing] Work around libgdiplus Metafile dispose ordering (#20828)
* mono/mono@305b6cff96 Revert some unrelated bumps
* mono/mono@c66141a8c7 [AOT] Make native linker name configurable (#20816)
* mono/mono@64368a00d8 Bump msbuild
* mono/mono@364c87b1a7 Disable acceptance-tests/roslyn.mk
* mono/mono@9b139294c0 Bump msbuild to fix build break
* mono/mono@b9c050faf2 [aot] Quote the -Wl,install_name argument to clang. (#20660)

Diff: 5e9cb6d1c1..be9218f4d1

* [Make.Config] Use actual mono binaries

Since mac binaries are built using Xcode 12.4 and iOS using
Xcode 11.3 we are not accounting for this difference and we
are building mono from source. Fix this scenario.

* [tests] mmptests account for the arm64 binaries in mono
2021-03-12 12:33:40 -05:00
Rolf Bjarne Kvinge bccef33d3f
[runtime] Build a new version of libxamarin specifically for CoreCLR. (#10798)
We're currently only building for macOS, but we'll eventually build for Mac
Catalyst as well.
2021-03-08 07:57:55 +01:00
Rolf Bjarne Kvinge 80ed9d81bc
Add configure option to disable building for legacy Xamarin. (#10773)
* Add configure option to disable building for legacy Xamarin.

This can greatly speed up the debug-edit-build cycle when doing .NET
development, since it cuts down the build time in half more or less.

* Bump maccore.

New commits in xamarin/maccore:

* xamarin/maccore@548fa45432 [mlaunch] Disable building mlaunch when not including the legacy Xamarin build. (#2403)

Diff: 0562e08b12..548fa45432
2021-03-04 09:07:44 +01:00
Rolf Bjarne Kvinge 871e7b1cd0
[runtime] Build our runtime for Mac Catalyst/ARM64 for .NET. (#10739)
* [runtime] Build our runtime for Mac Catalyst/ARM64 for .NET.

* [ObjCRuntime] There's no need for the StartWWAN implementation on Mac Catalyst.

This also fixes a build error:

    error MT5214: Native linking failed, undefined symbol: _xamarin_start_wwan. This symbol was referenced by the managed member ObjCRuntime.Runtime.xamarin_start_wwan.

* Only exclude xamarin_start_wwan in the .NET version of Mac Catalyst.

* [tests] Update to not run the StartWWAN test on Mac Catalyst.

* Update conditional logic.

* Fix build with newer make versions.
2021-03-03 07:48:07 +01:00
Rolf Bjarne Kvinge 7ab7e25138
[runtime] Build a .NET-specific libxamarin-dotnet[-debug].[a|dylib]. (#10723)
This also means linking with the runtime packs from .NET instead of the mono archive
(thus we have one less reliance on the mono archive).

We're also using the Xamarin.iOS code for our macOS launch sequence now, since
(at least at first) we're only going to support self-contained .NET macOS apps
(so no need to support a system-installed runtime, which simplifies things a
bit).
2021-02-26 14:42:30 +01:00
Rolf Bjarne Kvinge 861df21e21
Bump maccore. (#10714)
New commits in xamarin/maccore:

* xamarin/maccore@0562e08b12 Stops using absolute output paths when building Tasks projects (#2400)

Diff: 17603b841c..0562e08b12
2021-02-24 13:53:21 -05:00
Rolf Bjarne Kvinge baa4820932
Bump maccore to get mlaunch fix for launching 32-bit watch simulators. (#10648)
New commits in xamarin/maccore:

* xamarin/maccore@17603b841c [Xamarin.Launcher] Use the right device to select the app architecture for watchOS apps. Fixes #2378. (#2398)

Diff: b5332e51dd..17603b841c
2021-02-17 07:21:41 +01:00