184 Commits

Author SHA1 Message Date
Julien Lebosquain 942f23274f Remove EnableUnsafeBinaryFormatterSerialization property (#20467) 2026-01-14 12:57:15 +00:00
Julien Lebosquain eb80c729d9 Fix NuGet warnings (#20466) 2026-01-14 12:19:15 +00:00
Youssef Victor c9e210eb70 Update to xunit.v3 (#20331)
* Update to xunit.v3

* Little more progress

* More fixes

* Keep VSTest supported

* Adjust Nuke

* Few fixes

* Fix for xunit 2

* Fix GetData override

* Adjust

* Use MTP for xunit 2

* Fix test

* Better fix

* --no-progress

* Few more fixes

* no progress

* Fix test

* Better fix

* TRX

* Move to Directory.Build.props

* Unify on MTP v2

* Update

* Update to stable

* 1.0.1

* 1.0.2

* Fix some warnings

* Fix more warnings

* Fix more warnings
2026-01-08 20:46:44 +00:00
Julien Lebosquain d034e5f4e8 Handle added packages in API diff (#20428) 2026-01-07 16:14:05 +00:00
Julien Lebosquain 4b071000a4 Split analyzers and code fixes into separate projects (#20312)
* Split analyzers and code fixes

* Split C# and VB analyzers

* Merge all analyzer packages

* Add Analyzers.VisualBasic to .slnf
2026-01-07 13:22:46 +00:00
Julien Lebosquain 2a3c9d4095 Update Nuke to v10 (#20345) 2025-12-29 09:24:21 +00:00
Julien Lebosquain ce0a1c6b3e Update dependencies (#20139)
* Update dependencies

* Partially revert appium upgrades

* Fix integration tests
2025-12-17 15:23:32 +01:00
Julien Lebosquain 37526dc904 Fix dnx random failures (#20284)
* Try to fix dnx random failure

* Use full paths for WebAppDir everywhere

* Call dnx explicitly on CI

---------

Co-authored-by: Max Katz <maxkatz6@outlook.com>
2025-12-16 11:55:58 +00:00
Max Katz 09fefed1a4 Use standalone Bun to build JS projects instead of NodeJS (#20243)
* Replace node.js npm with bun

* Run bun test target, instead of direct npm, remove `SkipPreviewer` prop

* Add "--yes" argument to dnx command

* Remove unused scripts
2025-12-09 22:06:24 +00:00
Julien Lebosquain 0f8f70437c Rewrite leak tests without dotMemory Unit (#20095)
* Remove dotMemory Unit from LeakTests

* Nuke: run leak tests normally
2025-12-03 10:06:04 +00:00
Alexander Prokhorov 5f9d156ad4 Change NuGet.Config to be independent from global NuGet.Config (#20168) (#20169)
* Clear all package source options
* Move Azure .NET 10 transport feed from RestoreAdditionalProjectSources to NuGet.Config
2025-12-01 16:03:02 +00:00
Julien Lebosquain 246cbfc566 Remove Direct2D1 (#20132) 2025-11-24 11:50:03 +00:00
Julien Lebosquain 70ebc1e226 Remove ReactiveUI (#20101) 2025-11-19 21:05:12 +00:00
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
Max Katz a4bfae1c29 Headless AvaloniaTestIsolationLevel (#20000)
* Remove Unstable from HeadlessUnitTestSession

* Implement headless AvaloniaTestIsolationLevel

* Duplicate headless unit tests with different levels of isolation

* Fix accidental ABI breaking change

* Adjust docs

* Add IsolationTests

* Fix RunCoreLibsTests nukebuild target

* Headless: reuse sync context, instead of always forcing avalonia context
2025-11-10 01:03:46 -08:00
Ilya Pospelov 9bf7abcdfe Run Avalonia.LeakTests on CI (#19720)
* Check Avalonia.LeakTests

* Enable DotMemoryUnit

* Fix TransitionTests
2025-09-30 13:45:05 +00:00
Julien Lebosquain 5bd5249b61 Update Nuke to v9 and fix ValidateApiDiff (#19529) 2025-08-25 02:38:26 +00:00
Julien Lebosquain 0225edd8c0 Avoid processing packages in parallel in ValidateApiDiff (#19511) 2025-08-22 13:56:42 +00:00
Julien Lebosquain 66724d4785 Improved API diff (#19490)
* Improved API diff

* Merge API diff files

* Ignore platform version for API diff

* Start with fresh suppression files
2025-08-20 02:40:50 +00:00
Julien Lebosquain fa19076b5f Set build number to version on CI (#18538) 2025-03-28 20:30:51 +00:00
Julien Lebosquain c925ca5c63 Move all submodules to external directory (#18431)
* Move DataGrid submodule

* Move Numerge submodule

* Move XamlX submodule

* Remove DataGrid from slnf file.

* Git clean
2025-03-13 17:51:40 +00:00
Julien Lebosquain bed48a7bb6 Rework XAML compilation targets (#17539)
* Added BuildTests projects

* Added VerifyXamlCompilation build target

* Use TargetsTriggerByCompilation for XAML compilation

* Add *.binlog to gitignore

* VerifyXamlCompilation target: set NuGetPackageRoot

* Ensure WpfHybrid build test uses two markup compilation passes

* Fail build tests restore immediately if AvaloniaVersion isn't set

* Fix "could not extract MVID" for up-to-date builds

* Run VerifyXamlCompilation on CI

* Add FSharp build test
2024-11-25 18:25:06 -08:00
Julien Lebosquain 29232ff077 Fix build Clean target (#17531) 2024-11-18 20:16:05 -08:00
Max Katz af0f73de93 [GeneratedComInterface] based Windows automation (#16543)
* Move automation interfaces to the Avalonia.Win32.Automation with DisableRuntimeMarshalling and use [GeneratedComInterface] marshalling

* Various fixes for the new windows accessibility

* Numerge Avalonia.Win32.Automation into Avalonia.Win32

* Suppress Avalonia.Win32 API warnings, these interfaces never were part of the public API

* Fix IRawElementProviderSimple2 definition on legacy COM interop

* Some changes after review

* More consistent COM method names

* Fix folder hierarchy

* Rewrite SafeArrayMarshaller to use arrays as managed type

* Add ManagedObjectWrapper where's possible

* Throw an exception for unsupported SafeArrayRef scenario

---------

Co-authored-by: Julien Lebosquain <julien@lebosquain.net>
2024-10-31 11:03:29 +00:00
Nikita Tsukanov 135b5984b1 Changed modifiers for injected non-client implementable method (#16626)
* Changed modifiers for injected non-client implementable method

* Keep internal modifier
2024-08-19 14:44:28 -07:00
Julien Lebosquain d1bd85e9b8 Nullable annotations for projects using XamlX (#15796)
* Nullable annotations for projects using XamlX

* Update .NET SDK

* Update XamlX to latest master

* Use ILRepack tool instead of submodule

* Fix build

---------

Co-authored-by: Max Katz <maxkatz6@outlook.com>
2024-07-29 15:26:05 -07:00
Max Katz d3f234bad5 Reset API validation baseline (#16470) 2024-07-25 18:16:14 -07:00
Julien Lebosquain b2f3fad445 Respect global packages folder in BuildToNuGetCache (#15706) 2024-06-25 12:35:37 -07:00
Benedikt Stebner 143399f65a Avalonia.Native TopLevel embedding (#15932)
* Introduce Avalonia.Native TopLevelImpl

* Update Avalonia.Native.csproj

Revert change
2024-06-19 19:55:59 -04:00
Max Katz 59c4fdde86 Update BuildParameters.cs (#14993) 2024-03-15 17:36:11 +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 1675ff6f4b Update ApiDiffHelper.cs (#14833) 2024-03-05 20:40:43 -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
Nikita Tsukanov 84515cd3e5 A special target for testing local nuget builds (#14446)
* BuildToNuGetCache target

* Skip more stuff that's not required for quick local testing of apps

---------

Co-authored-by: Max Katz <maxkatz6@outlook.com>
2024-03-01 05:15:25 +00:00
Max Katz 263be95f09 Update Microsoft.DotNet.GenAPI.Tool 2024-02-16 00:41:04 -08:00
Max Katz 5551a6cc1b Adjust ApiDiffHelper 2024-02-07 22:24:10 -08:00
Max Katz c391117795 Remove "netcoreapp2.0" target from the Avalonia. Make previewer use netstandard2.0 (#14268)
* Remove "netcoreapp2.0" target from the Avalonia. Make previewer use netstandard2.0

* Update ApiDiff redirects
2024-01-19 07:07:57 +00:00
Max Katz 02ddfad245 Implement helper OutputApiDiff target (#13818) 2023-12-22 09:44:07 +00:00
Julien Lebosquain a3f1e4814f Fix warnings in build project (#13718) 2023-11-24 05:56:02 +00:00
Julien Lebosquain c40b627403 Fix ref assembly generator making nested types public (#13513) 2023-11-06 23:43:50 +00:00
Max Katz ebb4fff829 Make TFM redirects in Api Validator better 2023-10-11 18:31:07 -07:00
Dan Walmsley 1e0eacbdc3 fix parsing the baseline version for api diff.
suffixes like -rc1 would cause this to crash.
2023-10-06 14:46:13 +01:00
workgroupengineering d03811697c feat: Using pdbstr from Microsoft.Debugging.Tools.PdbStr instead of obsolete SourceLink package (#12570) 2023-10-03 21:33:58 +00:00
Steven Kirk a7725b0ca6 Use a regex to detect a release branch. (#13106)
Using the suggested regex from semver.org.
2023-10-02 14:35:28 +00:00
Max Katz 3de2a0ea91 Bump minimal TFM for mobile projects from .NET 6 to .NET 7… (#13012)
* Bump minimal TFM for mobile projects from .NET 6 to .NET 7 because of MAUI support policy

* Fix api diff
2023-09-25 00:55:19 -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
Julien Lebosquain f253b614b3 Generate pdb for ref assemblies 2023-08-02 11:46:15 +02:00
Julien Lebosquain 97d4e7d9a1 Update Numerge 2023-07-16 11:38:59 +02:00
Julien Lebosquain 12e1d5ef10 Avoid api validation for symbol packages 2023-07-16 11:38:19 +02:00
Julien Lebosquain 6eff41172f Generate symbol packages 2023-07-16 11:37:53 +02:00