151 Commits

Author SHA1 Message Date
Julien Lebosquain fb0f3848f9 Update to .NET 10 (#19869)
* Update to .NET 10 and C# 14

* Remove reflection usage in AvaloniaAccessHelper

* Fix Android nullability errors

* Fix WindowMetrics.WindowInsets removed from AndroidX

* Update pipelines

* Fix ValidateApiDiff for missing frameworks

* Fix Windows integration tests

* Update Xamarin.AndroidX.Window to 1.5.0

* Fix MacCatalyst supported version

* Remove unused Xunit.Extensions.Ordering

* Try to fix macOS integration tests

* Update pipeline runner to macOS 15

* Disable LeakTests

* Fix .NET Framework unit tests

* Fix BuildTests

* Bump minimum Android API level to 24

* Update to .NET 10 RTM

* Update XamlX

* update android insets and activity code to handle deprecated behaviors in api 36

---------

Co-authored-by: Emmanuel Hansen <emmausssss@gmail.com>
2025-11-19 15:22:43 +01:00
Nikita Tsukanov 22c4c630ce [OSX] Implemented IOSurface/MTLSharedEvent interop APIs (#18791)
* [OSX] Implemented IOSurface/MTLSharedEvent interop APIs

* Bump Xcode?

* Xcode?

* APIDiff

* Use different XCode versions because of how awesome appium is

* A hack for crapium

* Replace SkiaMetalApi usages

* Update API suppressions

---------

Co-authored-by: Timothy Miller <innerlogic4321@gmail.com>
Co-authored-by: Julien Lebosquain <julien@lebosquain.net>
2025-10-03 18:46:48 +02:00
Tim Miller dd8a2693ea [v12] Enable Mac Catalyst in Avalonia.iOS (#19415)
* [v12] Enable Mac Catalyst in Avalonia.iOS

* Consolidate UIKit ControlCatalog csproj files

* Fix the plist

* Split csproj files again

* Update .gitignore

* Desktop Mode

* Storage

* Add maccatalyst as workload target

* Revert .gitignore
2025-08-07 09:12:15 +00:00
Maxwell Katz 6617a1f0fb Update azure-pipelines.yml (#18876) 2025-05-18 21:00:50 -07:00
Julien Lebosquain 0774007a4c Remove Tizen workload; use the Tizen SDK package directly instead (#17550) 2024-11-18 15:19:10 +00:00
Julien Lebosquain 8e814f039f Update pipelines to macOS 13 (#17428) 2024-11-04 20:10:13 +00:00
Max Katz 4b1ca3811e Avalonia single project support (#9613)
* MVP SingleProject support for all supported platforms

* Convert MobileSandbox to be a single project

* WASM fixes

* Fix SDK CI version

* Use .NET 8 in build project as well

* Add EnableUnsafeBinaryFormatterSerialization

* Add macos workload, remove wasm-experimental

* And ios

* Specify TFM for single-project projects in dirs.proj

* Return deleted line

* Set PrivateAssets=all on MobileSandbox

* Add ios target only on non-linux in MobileSandbox

* Update after merges

* Update browser sub-project from the templates

* Don't build MobileSandbox on CI

* Couple of improvements

* Add android hack to run without manifest

* Add tvOS support and rearrange some properties

* Delete unusable Packages.targets file + related

* Add global Condition for AvaloniaSingleProject.targets
2024-03-28 09:46:28 +00:00
Max Katz 462e4d1a74 Add OutputVersion nuke target (#14890)
* Replace PRNumber with VersionNumber+nuke

* Restore prId file

* Fix env var name

* Change artifact name back for compatibility
2024-03-08 18:47:14 -08:00
Max Katz 42196922e6 Update azure-pipelines.yml 2024-03-08 17:41:50 -08:00
Max Katz 326ef7c9fd Add .NET 8 target (Avalonia 11.1) (#14535)
* Add .NET 8 target to packable projects

* Update test projects

* Update sample projects to target .NET 8

* Update main Avalonia package to target .NET 8 as well

* Remove MSBuildEnableWorkloadResolver hack and some minor change

* Use net8.0 in nuke build as well

* Pin 8.0.0 SDK

* Adjust API validation

* Pin a valid version

* Remove net461 target from Avalonia package

* Remove unused net6.0 target from Avalonia.Designer.HostApp

* Adjust API diff

* Update ControlCatalog.Android.csproj

* Remove MSBuildEnableWorkloadResolver

* Fix Browser issues on .NET 8

* Fix .NET 8 error

* Fix merge conflicts

* Replace explicit TFMs in .csproj files with a centralized registry

* Fix merge conflict

* Fix AvsLegacyWindowsTargetFrameworks and add hacks for the tests

* Update XCode project CommandLineArgument

---------

Co-authored-by: Nikita Tsukanov <keks9n@gmail.com>
2024-03-05 13:37:26 -08:00
Max Katz 37d30dcbc2 AppleTV support + improvements for iOS backend (#14196)
* Add initial metal support for iOS

* Make iOS backend compilable with TVOS and MacCatalyst

* Enable nullable and fix almost all warnings in iOS project

* Implement keyboard and remote (+touch) input on iOS and tvOS

* Disable Metal for now

* Fix warning

* Add tvOS target for Avalonia.iOS

* Include tvos workloads

* Don't use WebKit on tvOS samples

* Extend StandardRuntimePlatform with more apple platforms

* Handle mouse and stylus for iOS backend as well

* And IntermediatePoints

* Fix compatibility warnings

* Respect t.MaximumPossibleForce

* Make ControlCatalog.IOS work with both iOS and tvOS

* Exclude compiled files using csproj instead of #if directives

* Make Metal rendering actually usable

* No need for buffer.WaitUntilCompleted on iOS here
2024-01-21 04:06:05 -05:00
Julien Lebosquain 62b7eb4df2 Use single .NET SDK version in pipelines (#13719) 2023-11-24 05:55:33 +00:00
Max Katz 8d38cdf0ba Update SDKs 2023-10-11 18:45:24 -07:00
Omid Mafakher 3687cb9ecc Samsung Tizen (#12151)
* implement tizen platform, resolve #6110

* Fix enum types of touch event

* Fix issue of touch tracking.

* #6110 fix ui thread lock

* #6110 send keypad from tizen window

* #6110 fix touch update

* #6110 add text editor for input fields

* #6110 Hide text field

* #6110 Fix issue of text selection and backspace

* #6110 support multi and single line for input

* #6110 temporary set multiline true by default.

* #6110 fix issue of build with latest version and make it compatible

* #6110 by pass double input when softkeyboard showing.

* #6110 adding support for clipboard.

* #6110 add permission helper to tizen platform

* #6110 Implementation of storage provider for tizen

* #6110 send text for key character from hard keyboard

* #6110 Complete the input implementation. soft and hard keyboard

* #6110 remove ElmSharp

* Update Permissions.cs

* #6110 remove open folder for tizen

* #6110 fix the issue of keyboard frezee for tizen

* #6110 add workload to build tizen

* #6110 try to setup tizen workloads for windows

* #6110 change tizen workload install to powershell

* #6110 skip api diff check when package not exists

* #6110 try to fix linux pipeline

* #6110 implement tizen native view

* #6110 add dev analyzer and trimming

* #6110 Migrate to GLES and remove framebuffer

* #6110 Temporary solution to make GL work

* #6110 WIP and add comments

* #6110 optimise gles rendering and timing.

* #6110 fix dependency issue of tizen HarfBuzzSharp

* #6110 patch a fix for clipboard issue

* #6110 Support tizen sdk for old proj type, WIP

* #6110 wip setup app

* #6110 support only net6 for tizen

* #6110 resolve comments

---------

Co-authored-by: Kangho Hur <rookiejava+github@gmail.com>
Co-authored-by: Max Katz <maxkatz6@outlook.com>
2023-09-22 01:19:04 +00:00
Simon d3f329cde3 Merge remote-tracking branch 'upstream/master' into move-sdk-to-7.0.101 2023-01-04 13:20:52 +11:00
Simon 773f24dfc6 use SDK 6.0.404 2023-01-04 10:53:42 +11:00
Simon ba5e44a4df 7.0.101 in pipelines 2023-01-04 10:51:33 +11:00
Nikita Tsukanov 6c32c97ec5 Update azure-pipelines.yml 2022-11-07 23:04:35 +03:00
Nikita Tsukanov b5cf18bd4d Install 7.0.100 2022-11-07 23:01:29 +03:00
Dan Walmsley d1e58bfde5 use net7 rc2 sdk. 2022-10-12 22:08:18 +01:00
Dan Walmsley 6be88c5dcb use net 7 2022-10-06 02:38:46 +01:00
Dan Walmsley 72e1c7fe9b Merge remote-tracking branch 'origin/master' into features/blazorless-wasm
# Conflicts:
#	azure-pipelines.yml
#	global.json
2022-10-06 02:25:13 +01:00
Benedikt Stebner 240b644650 Next try 2022-10-05 16:01:29 +02:00
Dan Walmsley 8f3582bc57 Revert "update nuke."
This reverts commit 87dbbfe8a1.
2022-09-27 20:51:36 +01:00
Dan Walmsley 203cd8f036 downgrade netcore 3.1 sdk 2022-09-27 15:13:57 +01:00
Dan Walmsley 87dbbfe8a1 update nuke. 2022-09-27 08:58:12 +01:00
Dan Walmsley 8053f8d66f dont install non compatible workloads on linux. 2022-09-26 23:46:07 +01:00
Dan Walmsley 55bed8805f install workloads. 2022-09-26 23:44:02 +01:00
Dan Walmsley b2abd961bb update dotnet sdks, and add 7 rc1 sdk. 2022-09-26 23:32:14 +01:00
Tako 3d845206cd WIP 2022-08-01 19:31:40 +03:00
Tako ebb8ffed19 WIP 2022-08-01 19:10:25 +03:00
Tako a62c793669 WIP 2022-08-01 18:52:59 +03:00
Tako 326fffc9fe WIP 2022-08-01 18:45:11 +03:00
Tako 8d3984b929 macos-12 is in beta,use macos-11 instead 2022-08-01 18:31:34 +03:00
Tako 9f03160342 Update MacOS vmImage because current one is deprecated
https://github.com/actions/virtual-environments/issues/5583
2022-08-01 18:27:15 +03:00
Dan Walmsley f7893ba39a fix workload install 2022-04-13 14:46:09 +01:00
Dan Walmsley a7d6448de8 ensure workloads are latest. 2022-04-13 14:43:32 +01:00
Dan Walmsley 8d14ee389b update 3.1.4 sdk 2022-04-13 14:37:32 +01:00
Dan Walmsley 26ff613413 use 6.0.202 sdk. 2022-04-13 13:58:25 +01:00
Max Katz 741c4a8bb1 Missed workload 2022-02-28 22:30:05 -05:00
Max Katz 0ae32a2d62 Use only nuget source 2022-02-28 22:16:06 -05:00
Max Katz e74b51e7af Use as latest as possible SDK 2022-02-28 21:56:59 -05:00
Max Katz df0a04b311 Revert SDK changes, but allow latestFeature 2022-02-24 22:15:03 -05:00
Max Katz 4e703efbc5 Update SDK 2022-02-24 00:59:32 -05:00
Max Katz 9bc881e4a7 Update iOS control catalog projects 2022-02-23 23:55:35 -05:00
Max Katz dcc7d02e18 Move MSBuildEnableWorkloadResolver to directory build props 2022-02-11 23:04:04 -05:00
Max Katz a568c175f3 Solve workload installation 2022-02-11 02:05:10 -05:00
Max Katz 015d3e5197 Update workload installation command 2022-02-10 02:29:31 -05:00
Max Katz 9ba05ec921 Install android workload 2022-02-02 20:20:31 -05:00
Dan Walmsley 1dfcce032e Merge pull request #7291 from AvaloniaUI/features/comment-build-pr
Features/comment build pr
2021-12-31 00:42:36 +00:00