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

14715 Коммитов

Автор SHA1 Сообщение Дата
Rolf Bjarne Kvinge 8ee45638b4
[release/7.0.1xx] [maestro] Subscribe to the .NET 6 channel to get bumps for our own .NET 6 packages for .NET 7. (#16904)
We need the latest released version numbers for the previous .NET version so
that we can reference and consume those when building projects using the
corresponding target framework.

Luckily we have a system for keeping dependencies up-to-date, so let's use it
to notify the current branch for any updates to the release branch for the
previous .NET version.
2022-11-29 17:13:34 +01:00
VS MobileTools Engineering Service 2 cc0f0fc853
[release/7.0.1xx] Updated Xamarin.Messaging to 1.8.49 (#16901)
We need this for 17.5 Preview 2 so feel free to backport it to the
needed branches


Backport of #16899

Co-authored-by: Mauro Agnoletti <maagno@microsoft.com>
2022-11-29 10:25:48 -05:00
dotnet-maestro[bot] ceb4326735
[release/7.0.1xx] Update dependencies from dotnet/runtime (#16886)
This pull request updates the following dependencies

## From https://github.com/dotnet/runtime
- **Subscription**: 93d32418-12ac-4205-e094-08dabdf00460
- **Build**: 20221123.10
- **Date Produced**: November 24, 2022 9:36:11 AM UTC
- **Commit**: de84cf9f723f5d4342e95c692d088ed2af63fdbe
- **Branch**: refs/heads/release/7.0

- **Updates**:
  - **Microsoft.NETCore.App.Ref**: [from 7.0.1 to 7.0.1][4]

[4]: 5223f01...de84cf9

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2022-11-28 13:38:35 +01:00
dotnet-maestro[bot] c51a20dbde
[release/7.0.1xx] Update dependencies from dotnet/runtime (#16869)
This pull request updates the following dependencies

## From https://github.com/dotnet/runtime
- **Subscription**: 93d32418-12ac-4205-e094-08dabdf00460
- **Build**: 20221121.4
- **Date Produced**: November 22, 2022 3:52:46 AM UTC
- **Commit**: 5223f018f7c292b27ab2d1c0760ab5099a864340
- **Branch**: refs/heads/release/7.0

- **Updates**:
  - **Microsoft.NETCore.App.Ref**: [from 7.0.1 to 7.0.1][1]

[1]: 9bc19b7...5223f01

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2022-11-22 20:25:22 +01:00
dotnet-maestro[bot] 6e85dd362b
[release/7.0.1xx] Update dependencies from dotnet/installer (#16867)
This pull request updates the following dependencies

## From https://github.com/dotnet/installer
- **Subscription**: e451a929-6dfb-4f21-54a6-08dabd103306
- **Build**: 20221121.1
- **Date Produced**: November 21, 2022 5:57:30 PM UTC
- **Commit**: d02d33e069bf59d00b6374e304d39d6ceb20e18a
- **Branch**: refs/heads/release/7.0.1xx

- **Updates**:
  - **Microsoft.Dotnet.Sdk.Internal**: [from 7.0.101-servicing.22570.11 to 7.0.101-servicing.22571.1][1]

[1]: 3894bc5...d02d33e

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: GitHub Actions <github-actions@xamarin.com>
2022-11-22 20:24:36 +01:00
Rolf Bjarne Kvinge 48c6361872
[7.0.1xx] Bump .NET 6 versions. (#16858) 2022-11-22 11:26:47 -05:00
dotnet-maestro[bot] 0dee12baea
[release/7.0.1xx] Update dependencies from dotnet/runtime (#16828)
This pull request updates the following dependencies

## Coherency Updates

The following updates ensure that dependencies with a *CoherentParentDependency*
attribute were produced in a build used as input to the parent dependency's build.
See [Dependency Description Format](https://github.com/dotnet/arcade/blob/master/Documentation/DependencyDescriptionFormat.md#dependency-description-overview)

- **Coherency Updates**:
  - **Microsoft.NET.Workload.Emscripten.net7.Manifest-7.0.100**: from 7.0.1 to 7.0.1 (parent: Microsoft.NETCore.App.Ref)

## From https://github.com/dotnet/runtime
- **Subscription**: 93d32418-12ac-4205-e094-08dabdf00460
- **Build**: 20221118.3
- **Date Produced**: November 18, 2022 9:27:38 PM UTC
- **Commit**: 9bc19b7ab7f6bc01e4dbe1a7220a89f5b67d6228
- **Branch**: refs/heads/release/7.0

- **Updates**:
  - **Microsoft.NETCore.App.Ref**: [from 7.0.1 to 7.0.1][7]
  - **Microsoft.NET.Workload.Emscripten.net7.Manifest-7.0.100**: [from 7.0.1 to 7.0.1][8]

[7]: 12b1873...9bc19b7
[8]: 3a6c724...73eb134

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2022-11-22 09:26:33 +01:00
dotnet-maestro[bot] f27bb917cb
[release/7.0.1xx] Update dependencies from dotnet/installer (#16798)
This pull request updates the following dependencies

## From https://github.com/dotnet/installer
- **Subscription**: e451a929-6dfb-4f21-54a6-08dabd103306
- **Build**: 20221120.11
- **Date Produced**: November 21, 2022 5:38:59 AM UTC
- **Commit**: 3894bc56ac6b07f04c2de2cb7091fe2f74d3f6f6
- **Branch**: refs/heads/release/7.0.1xx

- **Updates**:
  - **Microsoft.Dotnet.Sdk.Internal**: [from 7.0.101-servicing.22565.2 to 7.0.101-servicing.22570.11][5]

[5]: d62cd31...3894bc5

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: GitHub Actions <github-actions@xamarin.com>
2022-11-22 07:24:51 +01:00
VS MobileTools Engineering Service 2 b32abc6c5b
[release/7.0.1xx] [dotnet/tools] Don't disable compact unwind info. Fixes #16546. (#16769)
Don't disable compact unwind info in the native linker, it may break C++
exception handling.

We originally disabled compact unwind info to fix a warning from the native
linker, this will have to be solved another way (in any case extra build
warnings is preferrable compared to an app crashing at runtime due to broken
C++ exception handling).

This partially reverts c05e774612.

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

Backport of #16623

Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
2022-11-21 20:47:01 +01:00
dotnet-maestro[bot] 0abd8f441e
[release/7.0.1xx] Update dependencies from dotnet/installer (#16783)
This pull request updates the following dependencies

## From https://github.com/dotnet/installer
- **Subscription**: e451a929-6dfb-4f21-54a6-08dabd103306
- **Build**: 20221115.2
- **Date Produced**: November 15, 2022 5:40:05 PM UTC
- **Commit**: d62cd319ad79088d6075221e8edf36913af24e33
- **Branch**: refs/heads/release/7.0.1xx

- **Updates**:
  - **Microsoft.Dotnet.Sdk.Internal**: [from 7.0.101-servicing.22564.15 to 7.0.101-servicing.22565.2][1]

[1]: 8bfe390...d62cd31

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: GitHub Actions <github-actions@xamarin.com>
2022-11-17 13:16:47 +01:00
dotnet-maestro[bot] 407b2c42bf
[release/7.0.1xx] Update dependencies from dotnet/installer (#16759)
This pull request updates the following dependencies

## From https://github.com/dotnet/installer
- **Subscription**: e451a929-6dfb-4f21-54a6-08dabd103306
- **Build**: 20221114.15
- **Date Produced**: November 14, 2022 10:17:43 PM UTC
- **Commit**: 8bfe390861dc6dd4a06105950cd513416a5eceab
- **Branch**: refs/heads/release/7.0.1xx

- **Updates**:
  - **Microsoft.Dotnet.Sdk.Internal**: [from 7.0.101-servicing.22563.3 to 7.0.101-servicing.22564.15][1]

[1]: cbfa597...8bfe390

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: GitHub Actions <github-actions@xamarin.com>
2022-11-16 08:53:13 +01:00
dotnet-maestro[bot] 6b367e149f
[release/7.0.1xx] Update dependencies from dotnet/installer (#16724)
This pull request updates the following dependencies

## From https://github.com/dotnet/installer
- **Subscription**: e451a929-6dfb-4f21-54a6-08dabd103306
- **Build**: 20221113.3
- **Date Produced**: November 14, 2022 3:19:03 AM UTC
- **Commit**: cbfa5973058e8fad5e461e976ed821bc3ff6c313
- **Branch**: refs/heads/release/7.0.1xx

- **Updates**:
  - **Microsoft.Dotnet.Sdk.Internal**: [from 7.0.101-servicing.22559.16 to 7.0.101-servicing.22563.3][6]
  - **Microsoft.AspNetCore.App.Ref**: [from 7.0.0-rtm.22512.1 to 7.0.0][7]

[6]: c467942...cbfa597
[7]: https://dev.azure.com/dnceng/internal/_git/dotnet-aspnetcore/branches?baseVersion=GCc686535&targetVersion=GCbb01bbf&_a=files

## Coherency Updates

The following updates ensure that dependencies with a *CoherentParentDependency*
attribute were produced in a build used as input to the parent dependency's build.
See [Dependency Description Format](https://github.com/dotnet/arcade/blob/master/Documentation/DependencyDescriptionFormat.md#dependency-description-overview)

- **Coherency Updates**:
  - **Microsoft.AspNetCore.App.Ref**: from 7.0.0-rtm.22512.1 to 7.0.0 (parent: Microsoft.Dotnet.Sdk.Internal)

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: GitHub Actions <github-actions@xamarin.com>
Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
2022-11-15 14:39:30 +01:00
dotnet-maestro[bot] ac02593be4
[release/7.0.1xx] Update dependencies from dotnet/runtime (#16735)
This pull request updates the following dependencies

## Coherency Updates

The following updates ensure that dependencies with a *CoherentParentDependency*
attribute were produced in a build used as input to the parent dependency's build.
See [Dependency Description Format](https://github.com/dotnet/arcade/blob/master/Documentation/DependencyDescriptionFormat.md#dependency-description-overview)

- **Coherency Updates**:
  - **Microsoft.NET.Workload.Emscripten.net7.Manifest-7.0.100**: from 7.0.0 to 7.0.1 (parent: Microsoft.NETCore.App.Ref)

## From https://github.com/dotnet/runtime
- **Subscription**: 93d32418-12ac-4205-e094-08dabdf00460
- **Build**: 20221111.7
- **Date Produced**: November 12, 2022 12:29:45 AM UTC
- **Commit**: 12b1873d69d9d97aaaa3ed97cfa93657ad6f7f39
- **Branch**: refs/heads/release/7.0

- **Updates**:
  - **Microsoft.NETCore.App.Ref**: [from 7.0.1 to 7.0.1][3]
  - **Microsoft.NET.Workload.Emscripten.net7.Manifest-7.0.100**: [from 7.0.0 to 7.0.1][4]

[3]: 96c24ea...12b1873
[4]: 6b7d1f4...3a6c724

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2022-11-14 09:50:11 +01:00
Rolf Bjarne Kvinge a082743ee1
[release/7.0.1xx] Bump maccore to get provisionator fixes. (#16708)
New commits in xamarin/maccore:

* xamarin/maccore@ce1fd64f90 [xcode14] Update provisionator bootstrap
* xamarin/maccore@75a03ccbfc [xcode14] Merge main into xcode14

Diff: 0837e7caff..ce1fd64f90
2022-11-11 13:43:20 +01:00
dotnet-maestro[bot] 852de497bb
[release/7.0.1xx] Update dependencies from dotnet/installer (#16582)
This pull request updates the following dependencies

## From https://github.com/dotnet/installer
- **Subscription**: e451a929-6dfb-4f21-54a6-08dabd103306
- **Build**: 20221109.16
- **Date Produced**: November 9, 2022 8:04:06 PM UTC
- **Commit**: c4679427ae635df187e4d250bae4c7bcb58fd611
- **Branch**: refs/heads/release/7.0.1xx

- **Updates**:
  - **Microsoft.Dotnet.Sdk.Internal**: [from 7.0.100-rtm.22531.3 to 7.0.101-servicing.22559.16][8]

[8]: 3079e52...c467942

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: GitHub Actions <github-actions@xamarin.com>
Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
2022-11-11 08:51:58 +01:00
VS MobileTools Engineering Service 2 59e6197b33
[release/7.0.1xx] [devops] Continue if there are any errors gathering agent logs. (#16696)
Backport of #16444

Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
2022-11-11 08:48:04 +01:00
VS MobileTools Engineering Service 2 7596e05a64
[release/7.0.1xx] [DevOps] Update the way we pass the token to the provisionator task. (#16694)
Backport of #16691

Co-authored-by: Manuel de la Pena <mandel@microsoft.com>
2022-11-10 12:45:24 +01:00
Rolf Bjarne Kvinge a6cb1adc6d
[7.0.1xx] Bump .NET 6 versions. (#16646)
Bump to: b63deb8609

Co-authored-by: Alex Soto <alex@alexsoto.me>
2022-11-08 18:56:25 -05:00
VS MobileTools Engineering Service 2 1c82c43547
[release/7.0.1xx] [dotnet] Always use a four part VS component version (#16636)
The `%(Version)` metadata declared in `vs-workload.props` should always
be a four part version, this was missed when reviewing commit 9f1dc519ea.
Fix this by adding a trailing `.0` to stable branded packages.

For "Preview" branded manifest packs, the fourth part of the version
should be the commit distance (e.g. 16.1.0.5).

For "Stable" branded manifest packs, the third part of the version
should be the commit distance (e.g. 16.1.5.0).

See the following for more info on `vs-workload.props` versioning:
https://github.com/xamarin/sdk-insertions/wiki/How-to-create-a-new-insertion#msi-generation-and-vs-versioning-requirements


Backport of #16633

Co-authored-by: Peter Collins <pecolli@microsoft.com>
2022-11-08 10:27:10 +01:00
VS MobileTools Engineering Service 2 e5840079ae
[release/7.0.1xx] [DevOps] Update statuses urls for the new storage. (#16601)
Backport of #16595

Co-authored-by: Manuel de la Pena <mandel@microsoft.com>
2022-11-07 15:42:21 -05:00
Rolf Bjarne Kvinge a1c3ebb4bf
[release/7.0.1xx] Change to stable branding. (#16614) 2022-11-07 19:08:04 +01:00
VS MobileTools Engineering Service 2 9d654dac1a
[release/7.0.1xx] [tests] Ignore ExceptionsTest.ManagedExceptionPassthrough on ARM64 desktop. (#16590)
Ignore ExceptionsTest.ManagedExceptionPassthrough on ARM64 desktop until we
fix the underlying bug.

Ref: https://github.com/xamarin/xamarin-macios/issues/16264


Backport of #16384

Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
2022-11-07 08:30:41 +01:00
VS MobileTools Engineering Service 2 e8858f6f6c
[release/7.0.1xx] [DevOps] Update the version of the provisionator template to deal with the new storage. (#16598)
Backport of #16594

Co-authored-by: Manuel de la Pena <mandel@microsoft.com>
2022-11-06 18:15:16 -05:00
dotnet-maestro[bot] 22e8dae22d
[release/7.0.1xx] Update dependencies from dotnet/runtime (#16583)
This pull request updates the following dependencies

## From https://github.com/dotnet/runtime
- **Subscription**: 93d32418-12ac-4205-e094-08dabdf00460
- **Build**: 20221103.11
- **Date Produced**: November 4, 2022 1:39:08 AM UTC
- **Commit**: 96c24ea57481ccafe7b26abbec5806befda885e8
- **Branch**: refs/heads/release/7.0

- **Updates**:
  - **Microsoft.NETCore.App.Ref**: [from 7.0.1 to 7.0.1][2]

[2]: 8d4ac19...96c24ea

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2022-11-04 15:00:05 +01:00
Rolf Bjarne Kvinge 0eb9ff3848
[net7.0-xcode14.1] [apidiff] Change to use dl.internalx.com with a GitHub PAT for API reference downloads. (#16560)
Update the download of API references to:

* Use `dl.internalx.com` links instead of `bosstoragemirror.blob.core.windows.net`
  links (the relative path stays the same).
* Require a GitHub PAT in order to download from dl.internalx.com. This PAT
  can either be provided through a file (recommended for local use) or through
  the environment.
* Document these changes.

Also backport #16394, which these changes require.

Backport of #16548.
2022-11-03 21:32:41 +01:00
dotnet-maestro[bot] 641063768a
[net7.0-xcode14.1] Update dependencies from dotnet/runtime (#16569)
This pull request updates the following dependencies

## From https://github.com/dotnet/runtime
- **Subscription**: 0bc0e7ce-590d-4f10-476a-08dab6668184
- **Build**: 20221102.6
- **Date Produced**: November 3, 2022 4:01:17 AM UTC
- **Commit**: 8d4ac19c705b17df07c5803fb72a0990d37e4e59
- **Branch**: refs/heads/release/7.0

- **Updates**:
  - **Microsoft.NETCore.App.Ref**: [from 7.0.0 to 7.0.1][1]

[1]: cd2d837...8d4ac19

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2022-11-03 21:32:12 +01:00
Rolf Bjarne Kvinge 36fe81fa05
Merge xcode14.1 into net7.0-xcode14.1. (#16551) 2022-11-03 08:09:21 +01:00
Rolf Bjarne Kvinge 940e1d09e9 Merge xcode14.1 into net7.0-xcode14.1. 2022-11-02 19:03:30 +01:00
Rolf Bjarne Kvinge 0304f2bca1
[msbuild] Fix watchOS submissions with Xcode 14. Fixes #16499. (#16526)
We have to remove any arm64e slices from the WK binary we copy from Apple's
SDK into the Watch app, as explained in Apple's forums.

Ref: https://developer.apple.com/forums/thread/714224
Fixes https://github.com/xamarin/xamarin-macios/issues/16120.
Fixes https://github.com/xamarin/xamarin-macios/issues/16499.
2022-11-02 18:59:04 +01:00
VS MobileTools Engineering Service 2 988bf9b4ba
[net7.0-xcode14.1] [tests] Handle managed exceptions in a networking callback. (#16535)
Fixes a problem where any exception would crash the process, because the
callback was executed on a background thread, and there was no other managed
frame catching the managed exception:

    MonoTests.System.Net.Http.MessageHandlerTest.RejectSslCertificatesWithCustomValidationCallbackNSUrlSessionHandler
    2022-10-21 07:02:23.557 monotouchtest[91107:28076542] *** Terminating app due to uncaught exception 'NUnit.Framework.AssertionException', reason: '  Expected: None
      But was:  RemoteCertificateChainErrors
     (NUnit.Framework.AssertionException)
       at NUnit.Framework.Assert.ReportFailure(String message)
       at NUnit.Framework.Assert.ReportFailure(ConstraintResult result, String message, Object[] args)
       at NUnit.Framework.Assert.AreEqual(Object expected, Object actual)
       at MonoTests.System.Net.Http.MessageHandlerTest.<>c__DisplayClass14_0.<RejectSslCertificatesWithCustomValidationCallbackNSUrlSessionHandler>b__2(HttpRequestMessage sender, X509Certificate2 certificate, X509Chain chain, SslPolicyErrors errors) in /Users/builder/azdo/_work/2/s/xamarin-macios/tests/monotouch-test/System.Net.Http/MessageHandlers.cs:line 613
       at Foundation.NSUrlSessionHandler.ServerCertificateCustomValidationCallbackHelper.Invoke(HttpRequestMessage request, SecTrust secTrust)
       at Foundation.NSUrlSessionHandler.TryInvokeServerCertificateCustomValidationCallback(HttpRequestMessage request, SecTrust secTrust, Boolean& trusted)
       at Foundation.NSUrlSessionHandler.NSUrlSessionHandlerDelegate.DidReceiveChallenge(NSUrlSession session, NSUrlSessionTask task, NSUrlAuthenticationChallenge challenge, Action`2 completionHandler)
    --- End of stack trace from previous location ---
       at ObjCRuntime.Runtime.InvokeMethod(MethodBase method, Object instance, IntPtr native_parameters)
       at ObjCRuntime.Runtime.InvokeMethod(MonoObject* methodobj, MonoObject* instanceobj, IntPtr native_parameters)
       at ObjCRuntime.Runtime.bridge_runtime_invoke_method(MonoObject* method, MonoObject* instance, IntPtr parameters, IntPtr& exception_gchandle)
    '
    *** First throw call stack:
    (
    	0   CoreFoundation                      0x00007ff81dba97c3 __exceptionPreprocess + 242
    	1   libobjc.A.dylib                     0x00007ff81d909bc3 objc_exception_throw + 48
    	2   monotouchtest                       0x000000010426e524 xamarin_process_managed_exception + 820
    	3   monotouchtest                       0x00000001042fec76 _ZL32native_to_managed_trampoline_183P11objc_objectP13objc_selectorPP11_MonoObjectS0_S0_S0_S0_j + 1302
    	4   monotouchtest                       0x00000001042fe750 -[Foundation_NSUrlSessionHandler_NSUrlSessionHandlerDelegate URLSession:task:didReceiveChallenge:completionHandler:] + 80
    	5   CFNetwork                           0x00007ff8225d3635 _CFHostIsDomainTopLevelForCertificatePolicy + 13206
    	6   libdispatch.dylib                   0x00007ff81d8af0cc _dispatch_call_block_and_release + 12
    	7   libdispatch.dylib                   0x00007ff81d8b0317 _dispatch_client_callout + 8
    	8   libdispatch.dylib                   0x00007ff81d8b6317 _dispatch_lane_serial_drain + 672
    	9   libdispatch.dylib                   0x00007ff81d8b6e30 _dispatch_lane_invoke + 417
    	10  libdispatch.dylib                   0x00007ff81d8c0eee _dispatch_workloop_worker_thread + 753
    	11  libsystem_pthread.dylib             0x00007ff81da63fd0 _pthread_wqthread + 326
    	12  libsystem_pthread.dylib             0x00007ff81da62f57 start_wqthread + 15


Backport of #16414

Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
2022-11-02 18:05:06 +01:00
Alex Soto 060055af65
[xcode14.1] Bump to stable release of Xcode 14.1 (#16534) 2022-11-02 08:54:33 -04:00
dotnet-maestro[bot] a3a535732e
[net7.0-xcode14.1] Update dependencies from dotnet/installer (#16531)
This pull request updates the following dependencies

## From https://github.com/dotnet/installer
- **Subscription**: df408977-ead8-4cfb-e40b-08dab20af502
- **Build**: 20221031.3
- **Date Produced**: October 31, 2022 3:20:20 PM UTC
- **Commit**: 3079e52002f185db88b0c6a8e8c4c623a5287d19
- **Branch**: refs/heads/release/7.0.1xx

- **Updates**:
- **Microsoft.Dotnet.Sdk.Internal**: [from 7.0.100-rtm.22527.3 to
7.0.100-rtm.22531.3][1]

[1]: bf9d4a0...3079e52

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: GitHub Actions <github-actions@xamarin.com>
2022-11-02 11:57:54 +01:00
VS MobileTools Engineering Service 2 f4e991d8a6
[xcode14.1] Update all provisionator call sites to use AUTH_TOKEN_GITHUB_COM (#16517)
This introduces changes to ensure that the Github token is available at all provisionator invocations so that when we need to flip to using dl.internalx.com, there are no breakages.


Backport of #16511

Co-authored-by: cadsit <connor.adsit@gmail.com>
2022-11-02 08:18:21 +01:00
VS MobileTools Engineering Service 2 1edb55798e
[net7.0-xcode14.1] Update all provisionator call sites to use AUTH_TOKEN_GITHUB_COM (#16519)
This introduces changes to ensure that the Github token is available at all provisionator invocations so that when we need to flip to using dl.internalx.com, there are no breakages.


Backport of #16511

Co-authored-by: cadsit <connor.adsit@gmail.com>
2022-10-31 17:14:34 +01:00
Rolf Bjarne Kvinge 9f1dc519ea
[dotnet] Adjust stable MSI versioning. (#16501)
Stable MSIs are versioned like non-stable MSIs, except that:

* We define the commit distance as the number of commits since the branch
  bacame a release branch (and started using stable branding). Technically
  this is the number of commits since the `NUGET_RELEASE_BRANCH` variable
  changed (which will be incorrect for non-stable branches, but in that case
  we shouldn't use this number in those scenarios).
* We use the above-mentioned commit distance as the third number in the MSI
  version (as opposed to the fourth number in non-stable branches.)

Note: we detect if we're building a stable release by checking if the
`NUGET_PRERELEASE_IDENTIFIER` is empty (we can't use `NUGET_RELEASE_BRANCH`,
because this variable will be set for PRs to the release branch, while
`NUGET_PRERELEASE_IDENTIFIER` will only be empty for CI builds from a stable
branch).
2022-10-31 15:30:58 +01:00
dotnet-maestro[bot] 89ef33fcd2
[net7.0-xcode14.1] Update dependencies from dotnet/installer (#16506)
This pull request updates the following dependencies

## From https://github.com/dotnet/installer
- **Subscription**: df408977-ead8-4cfb-e40b-08dab20af502
- **Build**: 20221027.3
- **Date Produced**: October 27, 2022 8:01:42 PM UTC
- **Commit**: bf9d4a0e2c27d4297a950ad481267409df8ccfd7
- **Branch**: refs/heads/release/7.0.1xx

- **Updates**:
  - **Microsoft.Dotnet.Sdk.Internal**: [from 7.0.100-rtm.22519.39 to 7.0.100-rtm.22527.3][3]

[3]: e6dd91c...bf9d4a0

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: GitHub Actions <github-actions@xamarin.com>
2022-10-31 09:11:29 +01:00
VS MobileTools Engineering Service 2 3536335c3a
[xcode14.1] [ObjCRuntime] Change Runtime.GetNSObject<T> to create a new instance if the existing one is of the wrong type. Fixes #13704. (#16502)
Objective-C has an optimization where creating an empty dictionary would
return the same instance every time (probably to a constant empty
dictionary).

This causes a problem with how we've bound generic dictionaries, because
all
empty dictionaries would have the same native handle, even if we'd bound
them
with different managed types.

This surfaces in unfortunate ways when we try to look up a managed
instance
given a native handle, we find that we already have a managed instance,
but
the managed instance is of the wrong type.

Example code:

    var a = new NSDictionary ();
    var b = new NSDictionary<NSString, NSString> ();
    var c = new NSDictionary<NSString, NSObject> ();
    Console.WriteLine ($"a: 0x{a.Handle:X}");
    Console.WriteLine ($"b: 0x{b.Handle:X}");
    Console.WriteLine ($"c: 0x{c.Handle:X}");

would produce something like:

    a: 0x0x7fff80821080
    b: 0x0x7fff80821080
    c: 0x0x7fff80821080

now for this code:

    Runtime.GetNSObject<NSDictionary<NSString, NSString>> (b.Handle)

it would throw an exception like this:

Unable to cast object of type
'Foundation.NSDictionary`2[[Foundation.NSString],[Foundation.NSObject]]'
to type
'Foundation.NSDictionary`2[[Foundation.NSString],[Foundation.NSString]]'

because we'll have the 'c' object (with type `NSDictionary<NSString,
Object>`)
in our dictionary of native handles -> managed instances, and that's not
compatible with the desired return type from GetNSObject
(`NSDictionary<NSString, NSString>`)

This likely happens with all the non-mutable collection types we have a
generic version of (NSArray, NSDictionary, NSOrderedSet, NSSet).

Fixes https://github.com/xamarin/xamarin-macios/issues/16378.
Fixes https://github.com/xamarin/xamarin-macios/issues/13704.

This PR is somewhat simpler to review by ignoring whitespace:
https://github.com/xamarin/xamarin-macios/pull/16491/files?w=1


Backport of #16491

Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
2022-10-28 16:53:15 -04:00
Rolf Bjarne Kvinge 81325b3b37
Merge xcode14.1 into net7.0-xcode14.1. (#16432) 2022-10-28 13:50:47 +02:00
Rolf Bjarne Kvinge c708c71c3b Merge remote-tracking branch 'origin/xcode14.1' into bump-xcode14.1-in-net7.0-xcode14.1-2022-10-24 2022-10-28 09:50:14 +02:00
Rolf Bjarne Kvinge f4bfa0d0bb
[monotouch-test] Update QuantityTypeIdentifier.EnumValues_22351 after recent API additions. Fixes #16443. (#16498)
Fixes https://github.com/xamarin/xamarin-macios/issues/16443.

Co-authored-by: Alex Soto <alex@alexsoto.me>
2022-10-28 09:49:34 +02:00
Manuel de la Pena e315f09ea8
[MacOS] Fix all the issues we found running the tests on Ventura. (#16488) 2022-10-27 20:42:35 -04:00
dotnet-maestro[bot] 12f8af16c6
[net7.0-xcode14.1] Update dependencies from dotnet/installer (#16455)
This pull request updates the following dependencies

## Coherency Updates

The following updates ensure that dependencies with a *CoherentParentDependency*
attribute were produced in a build used as input to the parent dependency's build.
See [Dependency Description Format](https://github.com/dotnet/arcade/blob/master/Documentation/DependencyDescriptionFormat.md#dependency-description-overview)

- **Coherency Updates**:
  - **Microsoft.AspNetCore.App.Ref**: from 7.0.0-rtm.22479.3 to 7.0.0-rtm.22512.1 (parent: Microsoft.Dotnet.Sdk.Internal)

## From https://github.com/dotnet/installer
- **Subscription**: df408977-ead8-4cfb-e40b-08dab20af502
- **Build**: 20221019.39
- **Date Produced**: October 20, 2022 12:51:36 AM UTC
- **Commit**: e6dd91c290b808f971a1ac69c2fb29395bbf1051
- **Branch**: refs/heads/release/7.0.1xx

- **Updates**:
  - **Microsoft.Dotnet.Sdk.Internal**: [from 7.0.100-rtm.22479.5 to 7.0.100-rtm.22519.39][3]
  - **Microsoft.AspNetCore.App.Ref**: [from 7.0.0-rtm.22479.3 to 7.0.0-rtm.22512.1][4]

[3]: eb23d8c...e6dd91c
[4]: 02d62cf...c686535

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: GitHub Actions <github-actions@xamarin.com>
Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
2022-10-27 12:08:56 +02:00
Rolf Bjarne Kvinge 6144ea4d78
[net7.0-xcode14.1] Bump .NET 6 versions. (#16483) 2022-10-26 23:06:12 +02:00
VS MobileTools Engineering Service 2 589836ccef
[xcode14.1] [AVFoundation] Fix capitalization issue (#16484)
currentTime property incorrectly capitalized in AVAudioRecorder type
Fixes #16458

Backport of #16461

Co-authored-by: Haritha Mohan <harithamohan@microsoft.com>
2022-10-26 16:39:06 -04:00
VS MobileTools Engineering Service 2 aa7faff2ac
[net7.0-xcode14.1] [7.0.1xx-xcode14] [msbuild] Remove generated file from source control. (#16477)
This fixes an issue where this file would show up as modified after the
build, which breaks our API comparison.


Backport of #16476

Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
2022-10-26 21:39:56 +02:00
Manuel de la Pena c797b77838
[Xtro] Add missing ignore in legacy. (#16460)
Fixes https://github.com/xamarin/xamarin-macios/issues/16442.
2022-10-26 12:48:12 -04:00
dotnet-maestro[bot] b346273647
[net7.0-xcode14.1] Update dependencies from dotnet/runtime (#16446)
This pull request updates the following dependencies

## Coherency Updates

The following updates ensure that dependencies with a *CoherentParentDependency*
attribute were produced in a build used as input to the parent dependency's build.
See [Dependency Description Format](https://github.com/dotnet/arcade/blob/master/Documentation/DependencyDescriptionFormat.md#dependency-description-overview)

- **Coherency Updates**:
  - **Microsoft.NET.Workload.Emscripten.net7.Manifest-7.0.100**: from 7.0.0-rtm.22476.2 to 7.0.0 (parent: Microsoft.NETCore.App.Ref)

## From https://github.com/dotnet/runtime
- **Subscription**: 0bc0e7ce-590d-4f10-476a-08dab6668184
- **Build**: 20221013.12
- **Date Produced**: October 14, 2022 6:51:15 AM UTC
- **Commit**: cd2d83798383716204eb580eb5c89ef5b73b8ec2
- **Branch**: refs/heads/release/7.0

- **Updates**:
  - **Microsoft.NETCore.App.Ref**: [from 7.0.0-rtm.22480.10 to 7.0.0][3]
  - **Microsoft.NET.Workload.Emscripten.net7.Manifest-7.0.100**: [from 7.0.0-rtm.22476.2 to 7.0.0][4]

[3]: 809b421...cd2d837
[4]: 77c2667...6b7d1f4

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
2022-10-26 13:38:53 +02:00
VS MobileTools Engineering Service 2 8d3571b23e
[xcode14.1] Updated Xamarin.Messaging to 1.8.26 (#16472)
Brings an important fix for the Build Session Id generation


Backport of #16464

Co-authored-by: Mauro Agnoletti <mauro.agnoletti@gmail.com>
2022-10-26 12:35:55 +02:00
VS MobileTools Engineering Service 2 236c8a3eb5
[net7.0-xcode14.1] Updated Xamarin.Messaging to 1.8.26 (#16473)
Brings an important fix for the Build Session Id generation


Backport of #16464

Co-authored-by: Mauro Agnoletti <mauro.agnoletti@gmail.com>
2022-10-26 12:33:48 +02:00
Rolf Bjarne Kvinge ec410e89b0
[net7.0-xcode14.1] Bump .NET 6 versions. (#16452) 2022-10-25 22:38:32 +02:00