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

17985 Коммитов

Автор SHA1 Сообщение Дата
Rolf Bjarne Kvinge 59d489dfe6
[MetalPerforanceShaders] Implement Xcode 16.0 beta 1-6 changes. (#21155)
Some of the availability attributes are from earlier OS versions, but
it's what the headers + Apple's documentation say.

Note: there were no changes in beta 2, beta 3, beta 4, beta 5 or beta 6.
2024-09-12 18:22:53 +02:00
Rolf Bjarne Kvinge f009530af5
[Phase] Implement Xcode 16.0 beta 1-6 changes. (#21156)
Note: there were no changes in beta 2, beta 3, beta 4, beta 5 or beta 6.
2024-09-12 15:12:56 +02:00
Rolf Bjarne Kvinge 6a040739fa
[CoreML] Implement Xcode 16.0 beta 1-6 changes. (#21145)
Note: there were no changes in beta 4, beta 5 or beta 6.
2024-09-12 13:24:16 +02:00
Rolf Bjarne Kvinge d3dd195956
[VideoToolbox] Implement Xcode 16.0 beta 1-6 changes. (#21157)
Note: there were no changes in beta 6.
2024-09-12 13:11:48 +02:00
Rolf Bjarne Kvinge f7bddc6ac9
[PassKit] Implement Xcode 16.0 beta 1-6 changes. (#21139)
Note: there were no changes in beta 3, beta 4 or beta 5.
2024-09-12 13:10:34 +02:00
Rolf Bjarne Kvinge 17d27c9b07
[WebKit] Implement Xcode 16.0 beta 1-6 changes. (#21166)
Note: there were no changes in beta 3, beta 4, beta 5 or beta 6.
2024-09-12 13:04:51 +02:00
Rolf Bjarne Kvinge ad1a3b789f
[CoreVideo] Implement Xcode 16.0 beta 1-6 changes. (#21163)
Note: there were no changes in beta 2, beta 3, beta 5 or beta 6.
2024-09-12 13:03:49 +02:00
Rolf Bjarne Kvinge fd882726c9
[xcode16] Bump to Xcode 16 RC. (#21209) 2024-09-12 13:00:36 +02:00
Mike Bond 820e8cc3b4
Disable/reenable agents using dynamically obtained access token (#21216)
Replace `MacPoolAccessToken` with a dynamically obtained Azure DevOps
access token. The `MacPoolAccessToken` is backed by the
`botdeploy--azdo--token--register--untrusted` secret, which is limited
to a 7-day lifespan. This change removes the dependency on that token
2024-09-12 12:33:34 +02:00
Rolf Bjarne Kvinge 734706677f
[devops] Remove legacy-only test configurations. (#21210)
Also simplify some code that checks if we're running a .NET test (which
will always be true now).
2024-09-12 11:16:47 +02:00
Rolf Bjarne Kvinge 6325335fe5 [xcode16] Merge main into xcode16. 2024-09-12 11:10:51 +02:00
Rolf Bjarne Kvinge 3c83e65de7
[net9.0] Merge main into net9.0. (#21221) 2024-09-12 10:49:11 +02:00
Rolf Bjarne Kvinge 3abcc3c9dd
[tools] Improve error message when deployment target is too old. (#21211)
Ref: https://github.com/xamarin/xamarin-macios/issues/21204
2024-09-12 10:47:15 +02:00
Rolf Bjarne Kvinge 06c2920791
[NetworkExtension] Implement Xcode 16.0 beta 1-6 changes. (#21171)
Note: there were no changes in beta 2, beta 3, beta 4, beta 5 or beta 6.
2024-09-11 22:02:09 +02:00
Rolf Bjarne Kvinge 567b2a0a71
[xcode16] Misc fixes after running tests on macOS Sequoia. (#21193) 2024-09-11 20:56:55 +02:00
Rolf Bjarne Kvinge cf8d2ad695
[BrowserEngineKit] Implement this new framework. (#21168)
Note: this framework was introduced in Xcode 15.4.

Up-to-date until RC.
2024-09-11 20:34:52 +02:00
Rolf Bjarne Kvinge 81799f17f1 [net9.0] Merge main into net9.0. 2024-09-11 20:33:17 +02:00
Matt Sylvia 270a50231e
[CI] Remove Azure Storage usage (#21217) 2024-09-11 20:26:33 +02:00
Rolf Bjarne Kvinge 499820eda5
[tests] Fix ignoring members based on OSPlatformAttributes. (#21192)
We were ignoring members based on whether a member had
ObsoletedOSPlatformAttribute/UnavailableOSPlatformAttribute, not taking
into account that the attribute might not apply to the current platform.

So implement logic to only take into account
[Obsoleted|Unavailable]OSPlatformAttributes for the current platform.
2024-09-11 20:24:03 +02:00
dotnet-maestro[bot] 127ed136d5
[main] Update dependencies from dotnet/xharness (#21202)
This pull request updates the following dependencies

## From https://github.com/dotnet/xharness

- **Subscription**: 601bc5e1-1cae-44b5-cf5f-08db9342aa2f
- **Build**: 20240909.1
- **Date Produced**: September 9, 2024 11:15:43 AM UTC
- **Commit**: df9b6509e6b3976d158e46c23d72d6acd9f0d326
- **Branch**: refs/heads/main

- **Updates**:
  - **Microsoft.DotNet.XHarness.iOS.Shared**: [from 9.0.0-prerelease.24420.3 to 10.0.0-prerelease.24459.1][1]

[1]: 69f1521765...df9b6509e6
2024-09-11 20:17:37 +02:00
Rolf Bjarne Kvinge d99f6f8fa9
[AppKit/UIKit] Implement Xcode 16.0 beta 1-6 changes. (#21130) 2024-09-11 16:48:52 +02:00
Rolf Bjarne Kvinge 31ff700ea9
[devops] Remove some legacy Xamarin logic. (#21207)
This is mostly geared towards removing things that are now unnecessary to do
in CI and take a significant amount of time (there's still plenty of minor legacy
logic).
2024-09-11 16:31:34 +02:00
Rolf Bjarne Kvinge e8bf4541d0
[AVFoundation] Add AVCaptureDeviceTypeExternal. (#21190)
Adds an enum entry for: 

https://developer.apple.com/documentation/avfoundation/avcapturedevicetypeexternal

PR originally submitted by @jeremy-visionaid in #21187.

Fixes #21187.

---------

Co-authored-by: Jeremy Powell <jeremy@visionaid.com>
2024-09-11 14:26:18 +02:00
Rolf Bjarne Kvinge 0f285bba1c
[xcode16] Merge main into xcode16. (#21214) 2024-09-11 12:13:00 +02:00
Manuel de la Pena 94240fee22
[CI] Do not export test matrix. (#21191)
The pwsh used on windows is based on dotnet framework. Dotnet framework
has a limit in the size of the env that can be passed to a child
process. We are very close to reach the limit, but after #21009 we can
ignore that env variable since it is parsed from the args.

This is just needed for the ci pipeline because the issues are going to
have are related with the vsdrops task used to upload nuget results
etc..
2024-09-10 16:55:32 -04:00
Rolf Bjarne Kvinge 1417b22b99 [xcode16] Merge main into xcode16. 2024-09-10 18:59:19 +02:00
Rolf Bjarne Kvinge 39459a2352
[bgen] Fix detecting NSObject types and generating block code with types that aren't NSObjects. (#21181) 2024-09-10 18:59:05 +02:00
Rolf Bjarne Kvinge 674ded4af4
[xcode16] Use [Experimental] instead of [RequiresPreviewFeatures]. (#21178)
This is because `EnablePreviewFeatures=true` doesn't quite work, since it
requires the building .NET and the target .NET to be on the same version.

We might want to build with .NET 9, but the Xcode branch is targeting .NET 8,
so it doesn't work.

This behavior is explained here:
https://github.com/dotnet/designs/blob/main/accepted/2021/preview-features/preview-features.md#meaning-of-property-in-multi-targeted-projects

The best solution seems to switch to using the Experimental attribute instead,
which was designed for our scenario (and explicitly to fix the problem we're
running into): bba3216250/accepted/2023/preview-apis/preview-apis.md

This also meant we had to augment `-nowarn` for bgen to:

* Pass any nowarn values to the compiler when bgen compiles stuff.
* Pass `$(NoWarn)` (the MSBuild property) to bgen when building a binding project.

---------

Co-authored-by: Alex Soto <alex@soto.dev>
2024-09-10 16:11:58 +02:00
Rolf Bjarne Kvinge ec7538047d
[system-dependencies.sh] We don't need the watchOS simulator anymore. (#21203) 2024-09-10 11:49:44 +02:00
Rolf Bjarne Kvinge 6aca92cd74
[Metal] Implement Xcode 16.0 beta 1-6 changes. (#20895)
Note: there were no changes in beta 3, beta 4 or beta 5.
2024-09-09 19:42:49 +02:00
Rolf Bjarne Kvinge 71d7d64dd9
[actions] There's no reason to keep testing legacy for single platform release branch testing. (#21201) 2024-09-09 16:42:16 +02:00
Rolf Bjarne Kvinge ef077323f3
[bgen] Fix using arrays of INativeObjects in delegate signatures. (#21183) 2024-09-09 15:25:38 +02:00
Rolf Bjarne Kvinge d909174f47
[tests] Make the simulator the default runtime identifier when running test suites from the command line. (#21194)
Because simulator is where we most commonly run tests.

And hardcode arm64 - if x64 is ever needed, and I'm bugged enough to add
auto-detection, I'll do it then.
2024-09-09 15:03:14 +02:00
Rolf Bjarne Kvinge 941ead0ff4
[bgen] Fix using types that are in multiple namespaces. (#21182)
There's both a Network.NWEndpoint and a NetworkExtension.NWEndpoint, and the
generator generates ambiguous code in certain cases.

Fix the generator to use the full type reference for such types.
2024-09-09 14:28:15 +02:00
Rolf Bjarne Kvinge 7325ce8ca8
[bgen] Fix compiler warnings. (#21184)
And make warnings report as errors, so this doesn't happen again.
2024-09-09 12:25:03 +02:00
Rolf Bjarne Kvinge 02fe91bcb2
[xcode16] Merge main into xcode16. (#21164) 2024-09-07 01:41:12 +02:00
Rolf Bjarne Kvinge 10531aac98
[net9.0] Merge main into net9.0. (#21179) 2024-09-06 20:13:57 +02:00
Rolf Bjarne Kvinge ea8310c33a
[Intents] Fix a few missing APIs for Xcode 16 beta 1-6. (#21138) 2024-09-06 14:58:04 +02:00
Rolf Bjarne Kvinge 92cd45d064
[MediaAccessibility] Implement Xcode 16.0 beta 4 changes. (#21144) 2024-09-06 13:55:19 +02:00
Manuel de la Pena 52ee4555af
[CI] Start moving to parse the configuration of the build in the tests pipelines (#21009)
At the moment we are recaculating the configuration that was used in the
build to decide which tests to run, that is not needed since the
configuration was uploaded to the artifacts.

This change will allow to do the following:

- Load the default variables on the build pipeline this will allow us to
set the name of the tests to match those of the build for easy parsing.
- Load the default variables to set the property comment in the PR.
- Do not recalculate the built platforms on the tests matrix.
- Do not calculate the API scan matrix, it is not needed for the tests.

---------

Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
2024-09-06 07:15:50 -04:00
Rolf Bjarne Kvinge 83c0fedcd5
[bgen] Add support for more backing field types. (#21172) 2024-09-06 12:44:14 +02:00
Rolf Bjarne Kvinge 9efe6948a0
[AuthenticationServices] Implement Xcode 16.0 beta 1-6 changes. (#21143) 2024-09-06 12:08:17 +02:00
Rolf Bjarne Kvinge ae99651b5c Merge remote-tracking branch 'origin/xcode16' into dev/rolf/bump-main-in-xcode16-2024-09-02 2024-09-06 11:34:35 +02:00
Rolf Bjarne Kvinge 11c3903695 [xharness] Remove introspection for legacy Xamarin test suites.
There's a bug where the test variation to run introspection on older OS
versions doesn't properly exclude legacy Xamarin variations when legacy
Xamarin is disabled.

Since legacy Xamarin is dead, just remove introspection for legacy Xamarin
completely.
2024-09-06 11:29:55 +02:00
Rolf Bjarne Kvinge e3950ef9be Merge remote-tracking branch 'origin/main' into dev/rolf/bump-main-in-net9.0-2024-09-04 2024-09-05 19:36:32 +02:00
Rolf Bjarne Kvinge a6dca9db10 [monotouch-test] Adjust how we detect when protocols are registered. 2024-09-05 19:36:03 +02:00
Rolf Bjarne Kvinge 3f6da31049 [monotouch-test] Fix NativeAOT compilation + detecting when protocols are registered. 2024-09-05 14:19:03 +02:00
Rolf Bjarne Kvinge 00bcc95f9b [CoreMedia] Rearrange code to avoid NativeAOT bug. 2024-09-05 14:18:37 +02:00
Rolf Bjarne Kvinge e2c0cb331a
[MapKit] Implement Xcode 16.0 beta 1-6 changes. (#20893)
Note: there were no changes in beta 2, beta 3, beta 4, beta 5 or beta 6.
2024-09-05 14:12:09 +02:00
Rolf Bjarne Kvinge afb561b9d6
[HealthKit] Implement Xcode 16.0 beta 1-6 changes. (#21146)
There were no changes in beta 2, beta 3, beta 4 or beta 6.
2024-09-05 14:06:24 +02:00