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

12983 Коммитов

Автор SHA1 Сообщение Дата
Rolf Bjarne Kvinge 2850a37aaf
[AdSupport] Adopt XAMCORE_4_0 changes in .NET. (#13887) 2022-01-27 10:44:57 +01:00
Rolf Bjarne Kvinge 2dc1493e8f
[AudioToolbox] Adopt XAMCORE_4_0 changes in .NET. (#13888) 2022-01-27 10:44:19 +01:00
Rolf Bjarne Kvinge b32c399b65
[CarPlay] Adopt XAMCORE_4_0 changes in .NET. (#13890) 2022-01-27 10:43:37 +01:00
Rolf Bjarne Kvinge 6564cfc0fc
[CloudKit] Adopt XAMCORE_4_0 changes in .NET. (#13891) 2022-01-27 10:40:22 +01:00
Rolf Bjarne Kvinge 00647d50a5
[ModelIO] Fix the MDLVoxelIndexExtent name for .NET. (#13893) 2022-01-27 10:37:51 +01:00
Rolf Bjarne Kvinge f64cd4b5a3
[Constants] Adopt XAMCORE_4_0 changes in .NET. (#13895) 2022-01-27 10:36:50 +01:00
Rolf Bjarne Kvinge 705eef8a16
[UIKit] Add missing Obsolete attribute to an NSLayoutManager.CharacterRangeForGlyphRange overload. (#13897)
Co-authored-by: Manuel de la Pena <mandel@microsoft.com>
2022-01-27 10:34:45 +01:00
Rolf Bjarne Kvinge 86d5007354
[AudioUnit] Adopt XAMCORE_4_0 changes in .NET. (#13899)
* Remove some obsolete/deprecated API.
* Move some manual code behind to api definitions, with Wrap attributes, to
  make the generator handle these methods.

Co-authored-by: Manuel de la Pena <mandel@microsoft.com>
2022-01-27 10:33:54 +01:00
Rolf Bjarne Kvinge b791b6d641
Update assembly info for our platform assemblies. Fixes #13739. (#13902)
* Set the AssemblyVersion attribute for .NET (to the NuGet version).
* Use the NuGet version number for the AssemblyInformationalVersion attribute
  in .NET.
* Use 'Microsoft.*' as the assembly title and assembly product in .NET (ref:
  #13748).
* Remove the InternalsVisibleTo attribute to System.Net.Http in .NET, it's no
  longer needed.

Fixes https://github.com/xamarin/xamarin-macios/issues/13739.

Co-authored-by: Manuel de la Pena <mandel@microsoft.com>
2022-01-27 10:33:09 +01:00
Rolf Bjarne Kvinge 3f60b9aca9
[CoreFoundation] Adopt XAMCORE_4_0 changes in .NET. (#13903)
Co-authored-by: Manuel de la Pena <mandel@microsoft.com>
2022-01-27 10:31:41 +01:00
dotnet-maestro[bot] 22df9b993c
[main] Update dependencies from dotnet/installer (#13871)
* Update dependencies from https://github.com/dotnet/installer build 20220124.2

Microsoft.Dotnet.Sdk.Internal
 From Version 6.0.200-preview.22071.6 -> To Version 6.0.200-rtm.22074.2

* [.NET] Use the stable path for csc.

* Update dependencies from https://github.com/dotnet/installer build 20220125.2

Microsoft.Dotnet.Sdk.Internal
 From Version 6.0.200-preview.22071.6 -> To Version 6.0.200-rtm.22075.2

Dependency coherency updates

Microsoft.NET.ILLink.Tasks
 From Version 6.0.100-1.21519.4 -> To Version 6.0.200-1.22069.1 (parent: Microsoft.Dotnet.Sdk.Internal

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
2022-01-27 10:13:42 +01:00
dotnet-maestro[bot] 3066434b2c
[main] Update dependencies from dotnet/runtime (#13872)
* Update dependencies from https://github.com/dotnet/runtime build 20220124.5

Microsoft.NETCore.App.Ref
 From Version 6.0.2-mauipre.1.22069.5 -> To Version 6.0.2-mauipre.1.22074.5

* Update dependencies from https://github.com/dotnet/runtime build 20220125.3

Microsoft.NETCore.App.Ref
 From Version 6.0.2-mauipre.1.22069.5 -> To Version 6.0.2-mauipre.1.22075.3

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2022-01-27 10:12:26 +01:00
Manuel de la Pena 401bf76d70
[CI] Bump the min version of the simulators since Apple remove the old one. (#13906) 2022-01-26 14:46:58 -05:00
Rolf Bjarne Kvinge 9695bf2182
[MLCompute] Adopt XAMCORE_4_0 changes in .NET. (#13848) 2022-01-26 18:21:33 +01:00
Sebastien Pouliot 9acd17b50c
[foundation] add `NSMutableDictionary` helper to avoid creating extra `NSString` instances (#13850)
That makes it easier on the caller, e.g. `CGContextPDF`, to avoid
creating short-lived `NSString` instance without requiring a lot
of code.

Downside: it becomes ambiguious if `NSString` is used, e.g.
`SecCertificate` for the compiler to decide between `NSObject` and
`string` overloads (but it's easy to fix and has no other impact).
2022-01-26 09:39:50 +01:00
Rolf Bjarne Kvinge 8c7605a881
Bump .NET to Preview 14 (#13879)
Co-authored-by: Alex Soto <alex@alexsoto.me>
2022-01-26 09:38:50 +01:00
Sebastien Pouliot d78aa6712b
[net][foundation] Simplify `NSObjectFlag` (#13881)
Use an enum (valuetype) instead of a class.
2022-01-26 09:15:52 +01:00
Chris Hamons 02644cac41
[NET 6 Attribute Conversion] AddressBook (#13715) 2022-01-25 12:57:44 -06:00
Chris Hamons 39467f843f
[NET 6 Attribute Conversion] CoreLocation (#13861) 2022-01-25 12:48:03 -06:00
Chris Hamons 5e384f9400
[NET 6 Attribute Conversion] CoreMotion (#13866) 2022-01-25 12:21:50 -06:00
Chris Hamons 0b70844cbe
[NET 6 Attribute Conversion] AudioUnit (#13811) 2022-01-25 11:32:55 -06:00
Chris Hamons c52937ca57
[NET 6 Attribute Conversion] CoreBluetooth (#13814) 2022-01-25 11:25:35 -06:00
Chris Hamons de11add0fe
[NET 6 Attribute Conversion] CoreMidi (#13863)
* Remove existing NET6 attributes

* Attribute Conversion
2022-01-25 11:24:48 -06:00
Chris Hamons d236fdba23
[NET 6 Attribute Conversion] CoreServices (#13865) 2022-01-25 11:22:14 -06:00
Manuel de la Pena 5f8eb5438d
[CI] Fix upload to azure. (#13877)
A recent change missed that pwsh does not like a ending ',' while we use
it in csharp.
2022-01-25 11:32:12 -05:00
Chris Hamons 6ce1ff7093
[NET6] Add binding project template for iOS and MacCatalyst (#13840)
- Fixes https://github.com/xamarin/xamarin-macios/issues/13578
- Uses older-style namespace with {} instead of top level due to https://github.com/xamarin/xamarin-macios/issues/13837
2022-01-25 10:05:56 -06:00
Tim Miller 1e8c9e840c
Fix bgen CLI command for macos net6 TFM (#13572)
If you try and run bgen with a target framework of `'.NETCoreApp,Version=v6.0,Profile=macos'`, you will get a cryptic error.

```
drasticactions@DrasticnoMacBook-Pro % /usr/local/share/dotnet/packs/Microsoft.macOS.Sdk/12.0.101-preview.12.551/tools/bin/bgen --target-framework=.NETCoreApp,Version=v6.0,Profile=macos
error BI1053: bgen: Internal error: unknown target framework '.NETCoreApp,Version=v6.0,Profile=macos'.
```

If you give bgen an invalid framework, it will list this TFM as support, so it should work. The reason it doesn't is because of a missing `if` clause in the CLI. If you don't add a `baselibdll`, the code falls through to where it will always throw on this TFM. We should be able to do the same thing that's being done for the other net6 TFMs and add it to the list here. Now, it should work without needing to add the BaseLib location.

Co-authored-by: Manuel de la Pena <mandel@microsoft.com>
2022-01-25 15:21:53 +01:00
Manuel de la Pena 7a40f26320
[CI] Fix a broken CI when we skip the api diff. (#13869) 2022-01-25 09:11:21 -05:00
Manuel de la Pena 70254d822d
[CI] Allow to skip ESRP to help speed up the CI testing. (#13868) 2022-01-25 09:11:03 -05:00
Manuel de la Pena 426b1beaa3
[CI] Improve the upload script to help with SBOM (#13860) 2022-01-25 09:08:05 -05:00
Rolf Bjarne Kvinge 59ca8ee957
[PhotosUI] Adopt XAMCORE_4_0 change in .NET. (#13825) 2022-01-25 12:17:59 +01:00
Rolf Bjarne Kvinge 4113879389
[PdfKit] Adopt XAMCORE_4_0 changes in .NET. (#13828)
This mostly involves fixing naming mistakes and removing deprecated/obsolete
API.
2022-01-25 12:10:14 +01:00
Rolf Bjarne Kvinge e7024da461
[Photos] Adopt XAMCORE_4_0 changes in .NET. (#13830)
This means removing obsolete/deprecated API.

Co-authored-by: TJ Lambert <50846373+tj-devel709@users.noreply.github.com>
2022-01-25 11:58:48 +01:00
Rolf Bjarne Kvinge f549468866
[NotificationCenter] Adopt XAMCORE_4_0 changes in .NET. (#13832) 2022-01-25 11:55:05 +01:00
Rolf Bjarne Kvinge efb0ac2ac7
[PassKit] Adopt XAMCORE_4_0 changes in .NET. (#13833) 2022-01-25 11:52:59 +01:00
Rolf Bjarne Kvinge fbd55af78b
[NetworkExtension] Adopt XAMCORE_4_0 changes in .NET. (#13842) 2022-01-25 11:50:35 +01:00
Rolf Bjarne Kvinge 82207afc70
[msbuild] Share the logic to CalculateCodesignAppBundleInputs between iOS and Mac. (#13844) 2022-01-25 11:34:42 +01:00
Rolf Bjarne Kvinge d2673463a3
[MetalPerformanceShaders] Adopt XAMCORE_4_0 changes in .NET. (#13852)
This means removing obsolete/deprecated API.
2022-01-25 11:33:50 +01:00
Rolf Bjarne Kvinge f83e1cb4b7
[QuickLook] Adopt XAMCORE_4_0 changes in .NET. (#13826) 2022-01-25 11:24:09 +01:00
dotnet-maestro[bot] c86e3c2c97
Update dependencies from https://github.com/dotnet/installer build 20220121.6 (#13849)
Microsoft.Dotnet.Sdk.Internal
 From Version 6.0.200-preview.22069.5 -> To Version 6.0.200-preview.22071.6

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2022-01-25 11:20:54 +01:00
Sebastien Pouliot 07fd0b9dea
[coregraphics] Fix `CGShadingRetain` p/invoke signature (#13851) 2022-01-25 11:16:52 +01:00
Sebastien Pouliot eb3015b388
[mobilecoreservices] Modernize UTType (#13831)
* Use `is` instead of `==` for null checks
* Use `ThrowHelper` to throw common exceptions
* Use faster `CFString` API (over the slower `NSString` variants)

* [tests] Adjust UTTypeTest.cs to build for net profile
2022-01-24 21:57:28 -05:00
Manuel de la Pena 115332f729
[CI] Unify the cleaning of the bots. (#13859) 2022-01-24 17:44:25 -05:00
VS MobileTools Engineering Service 2 d925c246b1
Localized file check-in by OneLocBuild Task: Build definition ID 14411: Build ID 5659994 (#13853) 2022-01-24 15:36:28 -06:00
Manuel de la Pena 4fe9874cc8
[CI] Use correct pwd for the device bots. (#13858) 2022-01-24 11:30:03 -05:00
Israel Soto fb65faf113
ResolveNativeReferences task pass the Xcframework NativeReference metadata to the _FrameworkNativeReference (#13846)
* This fixes issue #13843
2022-01-24 11:13:26 -05:00
Manuel de la Pena 67a6e82990
[CI] Do not result in a build failure if we cannot remove the ui promt. (#13857) 2022-01-24 09:45:43 -05:00
Manuel de la Pena d0519351e8
[CI] Use old signing when running on a PR. (#13419) 2022-01-21 21:32:04 -05:00
Manuel de la Pena 02598ae1f3
[CI] Unify all the setup steps in a template. (#13835) 2022-01-21 21:31:35 -05:00
Manuel de la Pena d442e95079
[CI] Increate timeouts when reporting a device result. (#13841) 2022-01-21 21:31:00 -05:00