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

921 Коммитов

Автор SHA1 Сообщение Дата
Alex Soto 89556aff70
[release/9.0.1xx-preview7] Disable legacy Xamarin in this branch
We'll never release legacy Xamarin packages from this branch.
2024-07-29 10:56:35 -04:00
Alex Soto 79685c2ea5 [release/9.0.1xx-preview7] This is the preview 7 branch! 2024-07-27 08:00:32 -04:00
Alex Soto 4486eb3b9f Merge remote-tracking branch 'xamarin/main' into dev/alex/main-net9.0 2024-07-11 18:53:54 -04:00
Rolf Bjarne Kvinge 219c74a3c4
[xcode15.4] Update bindings to Xcode 15.4 (#20865)
Co-authored-by: Alex Soto <alex@soto.dev>
2024-07-11 14:09:52 -04:00
Alex Soto 2e5ef1eb1c
[xcode15.3] Bump to Xcode 15.3 bindings (#20780)
Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
Co-authored-by: Manuel de la Pena <mandel@microsoft.com>
2024-07-11 11:41:31 +02:00
Rolf Bjarne Kvinge 1520e0ebbc
[tests] Update 'KnownFrameworkReference' and 'KnownRuntimePack' to the reference the correct dotnet/runtime version when using a custom dotnet/runtime. (#20838) 2024-07-09 14:17:58 +02:00
Rolf Bjarne Kvinge b55662ec6a [net9.0] We've branched preview 6, so we're preview 7 now. 2024-06-24 18:10:17 +02:00
Rolf Bjarne Kvinge 95b217e6e0 [net9.0] We've branched preview 5, so we're preview 6 now. 2024-05-24 09:09:23 +02:00
Rolf Bjarne Kvinge f052e014d0 [net9.0] Merge main into net9.0. 2024-05-21 16:12:35 +02:00
Rolf Bjarne Kvinge 04596c38ef
[net9.0] [maestro] Depend on 'VS.Tools.Net.Core.SDK.Resolver' instead of 'Microsoft.Dotnet.Sdk.Internal'. (#20614)
dotnet/installer is no longer producing a `Microsoft.Dotnet.Sdk.Internal`
"package" for the SDK, which we're using to get the .NET version to provision
.NET.

So use `VS.Tools.Net.Core.SDK.Resolver` instead, as this is a component
inserted into Visual Studio that contains the same version number.

We may have to change this again in the future, as dotnet/installer is in the
process of merging and/or moving to dotnet/sdk.

Ref:

* https://github.com/xamarin/xamarin-android/pull/8949
* [MS Teams thread](https://teams.microsoft.com/l/message/19:afba3d1545dd45d7b79f34c1821f6055@thread.skype/1715789991637?tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47&groupId=4d73664c-9f2f-450d-82a5-c2f02756606d&parentMessageId=1715789991637&teamName=.NET%20Core%20Eng%20Services%20Partners&channelName=First%20Responders&createdTime=1715789991637)
2024-05-21 09:20:39 +02:00
Rolf Bjarne Kvinge 6dc1f4c69b
[msbuild/dotnet] Automatically link with Swift's system libraries if a binding project has the IsSwift=true property. (#20546)
Add support for the LinkWithSwiftSystemLibraries metadata to specify whether a native library is a Swift library, in which case we'll automatically set the `LinkWithSwiftSystemLibraries` MSBuild property to `true`.

Also add a test.
2024-05-20 20:17:29 +02:00
Rolf Bjarne Kvinge 1a12994513 [net9.0] Merge main into net9.0. 2024-04-26 15:08:47 +02:00
Alexander Köplinger 45449a0c4b
Use legacy mono-sdks from download.mono-project.com (#20482)
---------

Co-authored-by: Alexander Köplinger <alex.koeplinger@outlook.com>
2024-04-24 10:35:21 +02:00
Rolf Bjarne Kvinge f941ac4ddc [net9.0] We've branched preview 4, so we're preview 5 now. 2024-04-23 19:30:39 +02:00
Rolf Bjarne Kvinge 950304a898 [net9.0] Merge main into net9.0. 2024-04-16 18:01:21 +02:00
Alexander Köplinger 2f357e507a
Use Mono MDK package from download server (#20442)
To reduce reliance on xamjenkinsartifact.
Also remove MIN_XM_MONO_URL, it is not used anymore.

---------

Co-authored-by: Alexander Köplinger <alex.koeplinger@outlook.com>
2024-04-15 08:58:59 +02:00
Rolf Bjarne Kvinge 22b2f7de91 [net9.0] Merge main into net9.0. 2024-04-09 16:47:41 +02:00
Jo Shields 6b99a77035
Don't use azureedge.net CDN (#20385) 2024-04-08 07:58:56 +02:00
Rolf Bjarne Kvinge a468179572 [net9.0] We've branched preview 3, so we're preview 4 now. 2024-03-22 15:11:32 +01:00
Rolf Bjarne Kvinge 3cc37f4998 [net9.0] Merge main into net9.0. 2024-03-18 18:38:20 +01:00
Rolf Bjarne Kvinge a5fc5c1a88
[runtime] Fix min OS versions in various compiler and linker arguments. (#20275)
Once upon a time we needed to special case a higher min OS version that the
min OS version we supported for certain compiler/linker arguments, because we
used features not supported in the min OS version we supported.

That time has passed; in all cases our min OS version is now higher than the
special-cased min OS versions passed to native compilers/linkers, so we can
just use the actual min OS version we support.
2024-03-08 07:26:41 +01:00
Rolf Bjarne Kvinge f749cb323f
[net9.0] Bump min macOS to 12.0 and min Mac Catalyst to 15.0. Fixes #19392. (#20186)
This is a follow-up to a previous pull request that bumped min OS
version for iOS and tvOS: #19953.

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

This PR might be easiest to review commit-by-commit.
2024-02-29 17:26:41 +01:00
Rolf Bjarne Kvinge b8a2b69c30 [net9.0] Bump min macOS to 12.0 and min Mac Catalyst to 15.0. 2024-02-28 12:06:40 +01:00
Rolf Bjarne Kvinge 956cf7eb78 Merge remote-tracking branch 'origin/net9.0' into bump-main-in-net9.0-2024-02-19 2024-02-27 10:11:40 +01:00
Rolf Bjarne Kvinge d5a35868c2 [net9.0] We've branched preview 2, so we're preview 3 now. 2024-02-26 09:16:57 +01:00
Rolf Bjarne Kvinge e9366bdf8b [net9.0] Merge main into net9.0. 2024-02-19 14:11:20 +01:00
Rolf Bjarne Kvinge 8b888f0375
[dotnet] Rename packs to contain target framework. (#19765)
This is the first step towards [multi-targeting support][1]. In order to
support multi-targeting, it must be possible to install several versions of
our packs simultaneously, and that also means that it becomes a lot easier to
visualize and work with the version we want to support if the packs were named
in a helpful way.

In particular, this PR changes the sdk, ref and runtime pack names to contain
the target framework + target platform version.

This will be the new names:

* iOS

    * Microsoft.iOS.Sdk.net8.0_17.2
    * Microsoft.iOS.Ref.net8.0_17.2
    * Microsoft.iOS.Runtime.ios-arm64.net8.0_17.2
    * Microsoft.iOS.Runtime.iossimulator-arm64.net8.0_17.2
    * Microsoft.iOS.Runtime.iossimulator-x64.net8.0_17.2

* tvOS

    * Microsoft.tvOS.Sdk.net8.0_17.2
    * Microsoft.tvOS.Ref.net8.0_17.2
    * Microsoft.tvOS.Runtime.ios-arm64.net8.0_17.2
    * Microsoft.tvOS.Runtime.iossimulator-arm64.net8.0_17.2
    * Microsoft.tvOS.Runtime.iossimulator-x64.net8.0_17.2

* Mac Catalyst

    * Microsoft.MacCatalyst.Sdk.net8.0_17.2
    * Microsoft.MacCatalyst.Ref.net8.0_17.2
    * Microsoft.MacCatalyst.Runtime.maccatalyst-x64.net8.0_17.2
    * Microsoft.MacCatalyst.Runtime.maccatalyst-arm64.net8.0_17.2

* macOS

    * Microsoft.macOS.Sdk.net8.0_14.2
    * Microsoft.macOS.Ref.net8.0_14.2
    * Microsoft.macOS.Runtime.osx-x64.net8.0_14.2
    * Microsoft.macOS.Runtime.osx-arm64.net8.0_14.2

There are two main benefits to renaming the packs:

* It becomes a lot easier to understand which versions we support when we
  support multi-targeting. For example, say we want to support:

	* net8.0-ios17.0
	* net8.0-ios17.2
	* net9.0-ios18.0

    In this case we'd ship packs for `Microsoft.iOS.Sdk.net8.0_17.0`,
    `Microsoft.iOS.Sdk.net8.0_17.2`, `Microsoft.iOS.Sdk.net9.0_18.0` (the
    exact version number for each pack wouldn't be important).

    If we didn't change the pack names, we'd need to track the exact versions
    of the Microsoft.iOS.Sdk pack, mapping them to the correct target
    framework + target platform version we want to support.

* It'll be possible to add maestro subscriptions between versions. Given the
  previous example:

	* net8.0-ios17.0
	* net8.0-ios17.2
	* net9.0-ios18.0

	The branch producing `net9.0-ios8.0` could have a maestro subscription on
	the branches producing `net7.0-ios17.0` and `net7.0-ios17.2`,
	automatically bumping the versions whenever those branches have any
	changes.

	This would be rather annoying to keep track of and bump manually.

[1]: https://github.com/xamarin/xamarin-macios/blob/main/docs/multi-target-framework.md
2024-02-19 13:14:20 +01:00
Rolf Bjarne Kvinge ec270d0e4e [net9.0] Bump min iOS and tvOS version to 12.2.
Ref: https://github.com/xamarin/xamarin-macios/issues/19392
2024-01-29 10:22:26 +01:00
Rolf Bjarne Kvinge 89822ecd57 [net9.0] We've branched P1, so make this P2. 2024-01-25 13:03:16 +01:00
Rolf Bjarne Kvinge 9380cda7a0
[net9.0] Drop support for .NET 7. (#19887)
.NET 7 will be out of support by the time .NET 9 is released, so we can
just drop it already.
2024-01-24 18:35:54 +01:00
Rolf Bjarne Kvinge 749577dbae [net9.0] Merge main into net9.0. 2024-01-22 22:11:11 +01:00
Rolf Bjarne Kvinge 267a26d9fb
Bump api references to Xcode 15.1. (#19847) 2024-01-18 08:09:48 -05:00
Rolf Bjarne Kvinge 7471716002 [net9.0] Merge main into net9.0. 2024-01-12 14:00:47 +01:00
Alex Soto b3f7021eff
[Xcode 15.2] Bump to Xcode 15.2 (#19785)
This is a manual and squashed backport of
https://github.com/xamarin/xamarin-macios/pull/19717 and it was updated
to use Xcode 15.2 since Xcode 15.2 contains the same SDKs as Xcode 15.1
but Xcode 15.2 has visionOS SDK and it is the new stable release from
Apple.

---------

Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
2024-01-12 04:56:22 -05:00
Rolf Bjarne Kvinge 4484c9f620 [dotnet] Fix .NET 8 versions.
Make sure to use the correct versions (aka the .NET 8 versions) for the .NET 8
packs in the WorkloadManifest.json file.
2023-11-21 10:54:07 +01:00
Rolf Bjarne Kvinge cad2fa7b6f Bump to .NET 9. 2023-11-16 17:02:50 +01:00
Rolf Bjarne Kvinge ec9151c7fe
Bump api references for .NET 8 and legacy Xamarin. (#19434)
The released commit for .NET 8 isn't the exact same commit as the one
referenced here, because the build.zip file wasn't produced in that commit -
this was fixed, so it's a few commits later. There were no API changes between
these commits though, so the API references are identical.
2023-11-14 07:44:02 +01:00
Rolf Bjarne Kvinge 2ec000fde2
Add special versioning rules for 'release-test/rt/' branches to have shorter versioning. (#19396)
Long versions are sometimes problematic on Windows, because of MAX_PATH
issues. Versions for release builds don't contain the pre-release part, and
are thus usually short, but pre-release versions (which include an arbitrarily
long branch name) can get too long for Windows. This is a complication when
testing a release pipeline/process: we have to use final versioning just for
testing. This isn't ideal, so we special-case branch names that start with
`release-test/rt/`:
  * Example: `iOS 15.1.123-rt` (and nothing else). This makes these versions
    exactly 3 characters longer than the release version, which is hopefully
    enough to avoid MAX_PATH issues on Windows.
2023-11-07 15:19:01 +01:00
Haritha Mohan da08b89077
[build] Add support for worktree checkouts (#19240)
Was messing around with worktrees but our repo failed to build due to
not identifying the proper git directory.

Fixes #18276
2023-10-19 09:22:37 -07:00
Manuel de la Pena c661ef5f97
[Xtro] Bump objective sharpie and update todos. (#19220)
All the Frameworks that needed to be skipped now work and therefore we
need to update the todos files for xcode 15.
2023-10-16 16:10:09 -04:00
Rolf Bjarne Kvinge 50c34f31a8 Merge remote-tracking branch 'origin/net8.0-xcode15' into merge-xcode15-into-net8.0 2023-10-10 23:26:57 +02:00
Rolf Bjarne Kvinge f56a2575c3
[net8.0] Revert multi-targeting support. (#19145)
It turns out to have a few sharp edges we need to smooth out first.
2023-10-10 17:20:09 +02:00
Rolf Bjarne Kvinge ef201f8da8
Remove duplicated make logic. (#19083)
The duplicated code probably happened during a merge conflict, which wasn't
resolved correctly.
2023-09-22 07:01:33 +02:00
Rolf Bjarne Kvinge cf3baaf760 [net8.0] Bump to rtm. 2023-09-21 16:42:04 +02:00
Alex Soto 391b8e2690
[xcode15] Bump to Xcode 15 stable version (#19009)
Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
2023-09-19 12:34:34 -04:00
Rolf Bjarne Kvinge 7b3779fb71
[xcode15] Add back armv7k support for watchOS. Fixes #18902. (#18947)
Only i386 is gone from watchOS 4.0, not armv7k.

Fixes https://github.com/xamarin/xamarin-macios/issues/18902.
2023-09-11 19:00:40 +02:00
Rolf Bjarne Kvinge 673dd5782b [net8.0-xcode15] Merge net8.0 into net8.0-xcode15. 2023-09-08 10:31:44 +02:00
Rolf Bjarne Kvinge 19f30a1f06 [dotnet] Rename packs to contain target framework. 2023-09-06 11:29:16 +02:00
Alex Soto e336e11ede
Merge branch 'net8.0-xcode15' into bump-net8.0-in-net8.0-xcode15-2023-08-29 2023-08-29 08:06:37 -04:00
Alex Soto d4b6403196
[xcode15] Bump to Xcode 15 beta 7 (#18855) 2023-08-29 08:02:42 -04:00