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

14364 Коммитов

Автор SHA1 Сообщение Дата
Manuel de la Pena a9bca96404
[UIKit] Add support for Xcode 14.1. (#16411) 2022-10-24 11:21:40 -04:00
Manuel de la Pena 25d018437d
[CoreLocation] Add support for Xcode 14.1 (#16412) 2022-10-24 11:21:18 -04:00
Rolf Bjarne Kvinge 469aad007f
Bump Xamarin.Mac to stable versioning. (#16382)
Then I had to bump the Xamarin.iOS version too, so that we have the same commit distance for both, otherwise this happens:

```
*** The commit distance for Xamarin.iOS (111) and Xamarin.Mac (0) are different.
*** To fix this problem, bump the revision (the third number) for both IOS_PACKAGE_NUMBER and MAC_PACKAGE_NUMBER in Make.versions.
*** Once fixed, you need to commit the changes for them to pass this check.
```
2022-10-19 15:32:05 +02:00
Manuel de la Pena 0f5e4cf1fd
[CoreSpotlight] Fixing breaking change. (#16352) 2022-10-19 14:00:10 +02:00
Rolf Bjarne Kvinge c5a42a96cb
Merge main into xcode14.1. (#16375) 2022-10-19 09:54:18 +02:00
Alex Soto f414cfa6ca
[xcode14.1] Bump to Xcode 14.1 Release Candidate (#16379) 2022-10-19 07:56:47 +02:00
GitHub Actions Autoformatter 4679fbe6bb Auto-format source code 2022-10-18 07:48:46 +00:00
Rolf Bjarne Kvinge 6414c14486 Merge main into xcode14.1. 2022-10-18 09:45:22 +02:00
Rolf Bjarne Kvinge 46eb7ec267
[apidiff] Don't try to update legacy refs unless legacy is enabled. (#16363) 2022-10-18 08:11:24 +02:00
Rolf Bjarne Kvinge db3c669502
[tests] Fix converting Profile values to ApplePlatform values for macOS. (#16357) 2022-10-18 08:04:36 +02:00
Rolf Bjarne Kvinge 9ab18236b8
[xharness] Fix path to mlaunch when using mlaunch from a .NET SDK pack. (#16361) 2022-10-18 08:04:13 +02:00
Rolf Bjarne Kvinge 57307a4168
Merge main into xcode14.1. (#16364) 2022-10-18 08:03:58 +02:00
Rolf Bjarne Kvinge a15b2e0fe0
Bump min watchOS simulator version. (#16317) 2022-10-17 17:57:47 +02:00
Rolf Bjarne Kvinge c460cc93ce
[compare-commits] Remove argument to specify the GitHub comments file (#16310)
Remove the argument to specify the GitHub comments file, because it's overwritten with a computed value (i.e. completely ignored), and thus confusing what's supposed to happen in the calling script.

Also compute the default earlier, so that it's set to the expected value by the time we have error reporting that will try to write to the comments file.
2022-10-17 17:56:35 +02:00
Rolf Bjarne Kvinge 8f57b7f9be
[devops] Add the job attempt to the api diff container name. (#16353)
This way the api diff job can be re-run and not fail because the artifact
already exists:

> ##[error]Artifact 'DropMetadata-ChangeDetection' already exists. If the build is producing multiple Drops, the Drop Metadata Container Name should be unique for each Drop.
2022-10-17 17:55:34 +02:00
Rolf Bjarne Kvinge acdb35186c
[builds] Retry downloads if they fail. (#16354)
Unfortunately builds fail often in CI due to random network errors. So try to
make downloading with curl a bit more resilient by re-trying downloads a few
times before giving up.
2022-10-17 17:54:54 +02:00
Rolf Bjarne Kvinge 3f0c8960f7
[release] Always create bundle.zip. (#16355)
We need to create a bundle.zip file even if we don't build for iOS (if for
instance we build for tvOS only).
2022-10-17 17:54:33 +02:00
Rolf Bjarne Kvinge 746cefd228
[autoformat] Add the AppKit framework. (#16359) 2022-10-17 17:54:19 +02:00
Rolf Bjarne Kvinge 06945fb238
[xharness] Ignore Mac Catalyst if Mac Catalyst is disabled. (#16356) 2022-10-17 17:54:04 +02:00
Rolf Bjarne Kvinge 74816f347f
[autoformat] Add the AudioToolbox and AudioUnit frameworks. (#16360) 2022-10-17 17:53:50 +02:00
dependabot[bot] 99607b7591
Bump xamarin/backport-bot-action from 1.0 to 1.1 (#16367)
Bumps
[xamarin/backport-bot-action](https://github.com/xamarin/backport-bot-action)
from 1.0 to 1.1.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="c27c1d5a07"><code>c27c1d5</code></a>
Scope env to step</li>
<li><a
href="da97d664ca"><code>da97d66</code></a>
Inputs -&gt; secrets</li>
<li><a
href="7d536aa14f"><code>7d536aa</code></a>
Update inputs -&gt; secrets</li>
<li><a
href="69c12fcadc"><code>69c12fc</code></a>
Create reusable workflow to replace composite action</li>
<li>See full diff in <a
href="https://github.com/xamarin/backport-bot-action/compare/v1.0...v1.1">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=xamarin/backport-bot-action&package-manager=github_actions&previous-version=1.0&new-version=1.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-17 11:49:21 -04:00
dependabot[bot] 21b9cee43f
Bump actions/github-script from 6.3.1 to 6.3.3 (#16368)
Bumps [actions/github-script](https://github.com/actions/github-script)
from 6.3.1 to 6.3.3.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/actions/github-script/releases">actions/github-script's
releases</a>.</em></p>
<blockquote>
<h2>v6.3.3</h2>
<h2>What's Changed</h2>
<ul>
<li>Update <code>@actions/glob</code> to 0.3.0 by <a
href="https://github.com/nineinchnick"><code>@​nineinchnick</code></a>
in <a
href="https://github-redirect.dependabot.com/actions/github-script/pull/279">actions/github-script#279</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a
href="https://github.com/nineinchnick"><code>@​nineinchnick</code></a>
made their first contribution in <a
href="https://github-redirect.dependabot.com/actions/github-script/pull/279">actions/github-script#279</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/actions/github-script/compare/v6.3.2...v6.3.3">https://github.com/actions/github-script/compare/v6.3.2...v6.3.3</a></p>
<h2>v6.3.2</h2>
<h2>What's Changed</h2>
<ul>
<li>Update <code>@​actions/core</code> to 1.10.0 by <a
href="https://github.com/rentziass"><code>@​rentziass</code></a> in <a
href="https://github-redirect.dependabot.com/actions/github-script/pull/295">actions/github-script#295</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/rentziass"><code>@​rentziass</code></a>
made their first contribution in <a
href="https://github-redirect.dependabot.com/actions/github-script/pull/295">actions/github-script#295</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/actions/github-script/compare/v6.3.1...v6.3.2">https://github.com/actions/github-script/compare/v6.3.1...v6.3.2</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="d556feaca3"><code>d556fea</code></a>
Merge pull request <a
href="https://github-redirect.dependabot.com/actions/github-script/issues/300">#300</a>
from actions/joshmgross/v6.3.3</li>
<li><a
href="01fde8b524"><code>01fde8b</code></a>
Update version to 6.3.3</li>
<li><a
href="633e9fd3a1"><code>633e9fd</code></a>
Merge pull request <a
href="https://github-redirect.dependabot.com/actions/github-script/issues/279">#279</a>
from nineinchnick/update-glob</li>
<li><a
href="ee124b1288"><code>ee124b1</code></a>
Update dist</li>
<li><a
href="ca24d5fb29"><code>ca24d5f</code></a>
Update <code>@actions/glob</code> license version</li>
<li><a
href="c09747ec1a"><code>c09747e</code></a>
Merge branch 'main' into update-glob</li>
<li><a
href="100527700e"><code>1005277</code></a>
Merge pull request <a
href="https://github-redirect.dependabot.com/actions/github-script/issues/299">#299</a>
from actions/joshmgross/v6.3.2</li>
<li><a
href="085a7754e8"><code>085a775</code></a>
Bump version to 6.3.2</li>
<li><a
href="6871f0ffce"><code>6871f0f</code></a>
Merge pull request <a
href="https://github-redirect.dependabot.com/actions/github-script/issues/295">#295</a>
from rentziass/rentziass/update-actions-core</li>
<li><a
href="7ed718295b"><code>7ed7182</code></a>
Update <code>@​actions/core</code> to 1.10.0</li>
<li>See full diff in <a
href="https://github.com/actions/github-script/compare/v6.3.1...v6.3.3">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/github-script&package-manager=github_actions&previous-version=6.3.1&new-version=6.3.3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-17 11:48:47 -04:00
Manuel de la Pena 06304a894d
[AuditoToolBox] Add support for Xcode 14.1. (#16351) 2022-10-17 11:46:47 -04:00
Manuel de la Pena b75d4c3821
[BackgroundAsserts] Add support for Xcode 14.1 (#16350)
Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
2022-10-17 11:46:27 -04:00
Manuel de la Pena 093b5d2c79
[NearbyInteraction] Bump to support Xcode 14.1 (#16338) 2022-10-17 11:46:04 -04:00
Rolf Bjarne Kvinge ddb00021c4
[test] Adjust ProjectTest.AppWithGenericLibraryReference to not fail when only macOS is enabled. (#16346)
This test requires another platform to be enabled in addition to the current
platform being tested: that other platform is iOS when testing macOS, and
macOS for all other platforms.

This can be seen in the target frameworks for the referenced library projects:

    MacCatalyst/Library.csproj:     <TargetFrameworks>net$(BundledNETCoreAppTargetFrameworkVersion)-macos;netstandard2.1</TargetFrameworks>
    iOS/Library.csproj:             <TargetFrameworks>net$(BundledNETCoreAppTargetFrameworkVersion)-macos;netstandard2.1</TargetFrameworks>
    macOS/Library.csproj:           <TargetFrameworks>net$(BundledNETCoreAppTargetFrameworkVersion)-ios;netstandard2.1</TargetFrameworks>
    tvOS/Library.csproj:            <TargetFrameworks>net$(BundledNETCoreAppTargetFrameworkVersion)-macos;netstandard2.1</TargetFrameworks>
2022-10-17 13:32:05 +02:00
Rolf Bjarne Kvinge cb6f555665 Merge main into xcode14.1. 2022-10-17 11:35:33 +02:00
Simon Rozsival 7171baaeca
[Foundation] Implement the server certificate custom validation callback usage in NSUrlSessionHandler (#15117)
We recently implemented the `ServerCertificateCustomValidationCallback` in Xamarin.Android (https://github.com/xamarin/xamarin-android/pull/6665). It would be great to have feature parity and support the same callback in Xamarin.iOS and Xamarin.Mac.

Related to https://github.com/dotnet/runtime/issues/68898.

Partial fix for https://github.com/xamarin/xamarin-macios/issues/14632.

Co-authored-by: Alexander Köplinger <alex.koeplinger@outlook.com>
Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
2022-10-17 10:14:39 +02:00
Rolf Bjarne Kvinge 2069d6e28a
[apidiff] Skip more logic when legacy Xamarin isn't enabled. (#16347) 2022-10-17 09:26:48 +02:00
Rolf Bjarne Kvinge 71383ff1f0
[xtro] Fix processing common files when not all platforms are selected. (#16349)
We can't process a common-fx.ignore file for a given framework if that
framework isn't included in any of the platforms we're building for.

Example: we can't process common-AppKit.ignore when only iOS is enabled,
because none of the errors listed in common-AppKit.ignore will be reported for
an iOS build.
2022-10-17 09:26:07 +02:00
Rolf Bjarne Kvinge 59cfcd6b3e
[autoformat] Add the ARKit, AVFoundation, AVKit, AdSupport, AssetsLibrary and AuthenticationServices frameworks. (#16348) 2022-10-17 08:22:58 +02:00
Rolf Bjarne Kvinge ad8cdb3f91
[msbuild] Build the solution with .NET. (#16304)
Hopefully this fixes some of the recurrent build problems where we'd fail to
restore nuget packages.

Ref: https://github.com/xamarin/maccore/issues/2620

I wasn't able to execute ilrepack.exe with .NET, so that continues to be
executed with mono.
2022-10-17 07:22:24 +02:00
Chris Hamons 69750b2bdc
[CODEOWNERS] chamons saying goodbye (#16337)
- Remove self (and a stray whitneyschmidt)
- Thanks for many good years and plenty of 🍌
2022-10-14 12:05:54 -04:00
Rolf Bjarne Kvinge e43b53b574
[autoformat] Add the AddressBook[UI] frameworks. (#16343) 2022-10-14 16:14:36 +02:00
Rolf Bjarne Kvinge 9a7740b308
Merge main into xcode14.1. (#16327) 2022-10-14 14:54:39 +02:00
Rolf Bjarne Kvinge 98ffb7e32b
[xharness] Don't run Mac Catalyst tests if Mac Catalyst isn't enabled. (#16324) 2022-10-14 14:51:11 +02:00
Rolf Bjarne Kvinge 4db2998300
[tests] Adjust the BGen.ResponseFile to only execute when the platforms it needs are enabled. (#16333) 2022-10-14 10:01:59 +02:00
Rolf Bjarne Kvinge 05939b5e86
[xtro] Don't allow entries in 'common' ignore files that aren't actually common to all platforms for a given framework. Fixes #12769. (#16342)
This makes it possible to run xtro consistently when not all platforms are
enabled.

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

Co-authored-by: GitHub Actions Autoformatter <github-actions-autoformatter@xamarin.com>
2022-10-14 09:29:59 +02:00
Rolf Bjarne Kvinge 42ea84b835
[AVFoundation] Improve the callback in AVAssetImageGenerator.GenerateCGImagesAsynchronously. (#16325)
Add an overload to AVAssetImageGenerator.GenerateCGImagesAsynchronously that
takes a callback we call with a managed CGImage instance instead of a CGImage handle.

This makes the API a bit easier to use.

Ref: https://github.com/xamarin/xamarin-macios/issues/16314
2022-10-14 09:25:21 +02:00
Rolf Bjarne Kvinge 73ec322dd9
[mtouch] Generate own constants file. (#16321)
Generate own constants file, instead of relying on platform-specific files in
src/, which may or may not exist depending on the enabled platforms.
2022-10-14 09:24:04 +02:00
Rolf Bjarne Kvinge d4e54cccbb
[tools] Build mtouch when Mac Catalyst is enabled. (#16334)
Because we build the partial static registrar for Mac Catalyst using mtouch.
2022-10-14 09:20:47 +02:00
Rolf Bjarne Kvinge 598178e78f
[autoformat] Add the Accelerate, Accessibility and Accounts frameworks. (#16340) 2022-10-14 09:15:58 +02:00
Rolf Bjarne Kvinge 3db9eb29fb
[devops] Auto-hide any existing html reports when a new one is created. (#16259) 2022-10-14 00:38:58 +02:00
Rolf Bjarne Kvinge 19680b568a
[xtro] Only run legacy/.NET tests if legacy/.NET is enabled. (#16329) 2022-10-13 23:28:27 +02:00
Rolf Bjarne Kvinge e4fb94b3d1
[dotnet] Tweak a template name slightly. (#16323) 2022-10-13 23:26:01 +02:00
Rolf Bjarne Kvinge 7659696c23
[autoformat] Add xharness.csproj. (#16322) 2022-10-13 23:10:08 +02:00
Israel Soto d910c1ba60
[GameController] Added support to Xcode 14.1 b1 (#16094)
Co-authored-by: Manuel de la Pena <mandel@microsoft.com>
2022-10-13 11:42:52 -04:00
Israel Soto 48293a4b05
[HomeKit] Added support to Xcode 14.1 b1-b3 (#16069)
* Matter properties are still missing

Co-authored-by: Manuel de la Pena <mandel@microsoft.com>
2022-10-13 11:35:09 -04:00
Israel Soto bac36c5040
[VideoToolbox] Added support for Xcode 14 b1-3 (#15845)
Co-authored-by: Alex Soto <alex@alexsoto.me>
Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
Co-authored-by: Manuel de la Pena <mandel@microsoft.com>
2022-10-13 11:27:15 -04:00
Rolf Bjarne Kvinge eec5f62054 Merge main into xcode14.1. 2022-10-13 13:36:23 +02:00