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

18213 Коммитов

Автор SHA1 Сообщение Дата
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
Rolf Bjarne Kvinge 22d6e44411
[CoreSpotlight] Implement Xcode 16.0 beta 1-6 changes. (#20866)
Note: there were no changes in beta 2-6.
2024-09-05 13:58:28 +02:00
Rolf Bjarne Kvinge e0782fa51f
[ContactProvider] Don't bind this framework. (#21160)
For all intents and purposes it's Swift only.
2024-09-05 13:01:38 +02:00
Rolf Bjarne Kvinge c206728177 Merge remote-tracking branch 'origin/main' into dev/rolf/bump-main-in-xcode16-2024-09-02 2024-09-05 12:24:17 +02:00
Rolf Bjarne Kvinge f562519e3e
Disable legacy Xamarin. (#21173)
It's no longer supported.
2024-09-05 12:22:31 +02:00
Rolf Bjarne Kvinge f61f129fe6
[CoreImage] Implement Xcode 16 beta 6 changes. (#21117)
Also some xtro cleanup.
2024-09-05 12:06:58 +02:00
Rolf Bjarne Kvinge 9edb31477d
[MetalPerforanceShadersGraph] Implement Xcode 16.0 beta 1-6 changes. (#21154)
Note: there were no changes in beta 2, beta 3, beta 5 or beta 6.
2024-09-05 12:06:09 +02:00
Rolf Bjarne Kvinge 7439accc6b
[Accessibility] Implement Xcode 16.0 beta 1-6 changes. (#21070)
Note: there were no changes in beta 3, beta 4, beta 5 or beta 6.
2024-09-05 09:41:48 +02:00
Rolf Bjarne Kvinge 7dd8f3ef7c
[CoreData] Implement Xcode 16.0 beta 1-6 changes. (#21113)
Note: there were no changes in beta 1, beta 2, beta 3, beta 5 or beta 6.
2024-09-05 09:40:50 +02:00
Rolf Bjarne Kvinge 3de8349a9d
[Security] Implement Xcode 16.0 beta 1-6 changes. (#21152)
Note: there were no changes in beta 2, beta 3, beta 4, beta 5 or beta 6.
2024-09-05 09:40:01 +02:00
Rolf Bjarne Kvinge f0d4a30a64
[Vision] Implement Xcode 16.0 beta 1-6 changes. (#21149)
Note: there were no changes in beta 2, beta 3 or beta 6.
2024-09-05 09:39:03 +02:00
Rolf Bjarne Kvinge 1f5e485c80
[StoreKit] Implement Xcode 16.0 beta 1-6 changes. (#21165)
No changes in beta 2, beta 3, beta 4, beta 5 or beta 6.

This is basically a giant deprecation in favor of StoreKit 2 (which is
Swift only).
2024-09-04 23:28:59 +02:00
Rolf Bjarne Kvinge b2a5fd4199
[Network] Fix binding mistake in NWConnection. (#21174)
The 'nw_connection_set_viability_changed_handler' P/Invoke was originally
bound as 'SetBooleanChangeHandler', which isn't quite right.

So now bind it as 'SetViabilityChangeHandler', obsolete the old version and
remove it in XAMCORE_5_0.
2024-09-04 23:14:07 +02:00
Rolf Bjarne Kvinge da5950b502 [CoreMidi] Fix availability attributes for .NET 9. 2024-09-04 20:23:55 +02:00
Rolf Bjarne Kvinge b7c593935a
[DeviceDiscoveryExtension] Implement Xcode 16 beta 6 changes. (#21175)
This is just adding the framework to macOS and Mac Catalyst.
2024-09-04 19:06:27 +02:00
Rolf Bjarne Kvinge a854ebe1b8
[tests] Improve test Makefile when specifying runtime identifier on the command line. (#21169)
Using RUNTIMEIDENTIFIER(S) in the Makefile interferes with the build, because
they get passed on to msbuild, which sees them as properties (RuntimeIdentifier(s)).

Thus use RID instead, and only pass on the value to the build if appropriate.
2024-09-04 18:16:19 +02:00
Rolf Bjarne Kvinge 47bd4d9f82
[PencilKit] Implement Xcode 16.0 beta 1-6 changes. (#21148)
Note: there were no changes in beta 4, beta 5 or beta 6.
2024-09-04 16:50:34 +02:00
Rolf Bjarne Kvinge e714ce4c7b
[LockedCameraCapture] Don't bind this framework. (#21161)
For all intents and purposes it's Swift only.
2024-09-04 16:49:43 +02:00
Rolf Bjarne Kvinge 16207e9898
[CarPlay] Implement Xcode 16.0 beta 1-6 changes. (#21039)
Note: there were no changes in beta 2, beta 3, beta 4, beta 5 or beta 6.
2024-09-04 16:48:08 +02:00
Manuel de la Pena a6b5d22d74
[CI] Move ExportChangeID out of the configure function. (#21170)
We are tryihng to sort out all the scripts to make it re-usable in order
to use them in cascading pipelines.

---------

Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
2024-09-04 10:36:31 -04:00
Rolf Bjarne Kvinge a6a11784d4 [net9.0] Merge main into net9.0. 2024-09-04 15:24:51 +02:00
Rolf Bjarne Kvinge 74166b063c
[NuGet.config] Remove feeds we don't need anymore. (#21100) 2024-09-04 11:57:33 +02:00
Rolf Bjarne Kvinge d77a4dd8c3
[bgen] Add warning to the list of exceptions instead of showing it right away. (#21027)
This way execution won't stop if the warning was turned into an error, and
we'll get a list of all the warnings by executing once, instead of having to
re-execute after fixing each warning.
2024-09-04 11:56:11 +02:00