David Federman
ea7e9a7aed
Onboard onto Central Package Management ( #20704 )
* Onboard onto Central Package Management
* Remove SharpDX
* Add back <clear /> to NuGet.config package source mapping
* Package mapping
* Inline props where appropriate
* Lost a space
7 months ago
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
8 months ago
Julien Lebosquain
ee748802b3
Enable nullability in various test projects ( #20374 )
* Enable nullability in RenderTests
* Enable nullability in LeakTests
* Enable nullability in Skia.UnitTests
* Enable nullability in Generators.Tests
* Enable nullability in DesignerSupport.Tests
* Enable nullability in Build.Tasks.UnitTests
9 months ago
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>
9 months ago
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
9 months ago
ijklam
34b00c5169
[DesignerHost/HTML]: improve high-dpi screen behavior ( #19996 )
* DesignerHost: improve high-dpi screen behavior
handle previewer dpi changed event
* fix test
---------
Co-authored-by: ijklam <43789618+Tangent-90@users.noreply.github.com>
10 months ago
Copilot
406925a344
Fix thread-safety issue causing infinite loops in TypeHelper cache ( #20113 )
* Initial plan
* Fix thread-safety issue by replacing Dictionary with ConcurrentDictionary
Co-authored-by: grokys <1775141+grokys@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: grokys <1775141+grokys@users.noreply.github.com>
10 months ago
Julien Lebosquain
40a3af4aa5
Remove netstandard2.0 from almost all projects ( #20111 )
* Remove netstandard2.0 from almost all projects
* Fix duplicated target frameworks in unit tests
* Fix DesignerSupport tests
* Fix Designer.HostApp packaging
* Build ControlCatalog.Desktop on CI
* Fix another bad auto merge
* Fix LeakTests duplicated target frameworks
* Don't hardcode target framework in DesignerSupportTests
10 months ago
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>
10 months ago
Julien Lebosquain
f218fb7312
Increase RemoteProtocolTests timeout ( #19461 )
1 year ago
Julien Lebosquain
5824d9b079
Warning fixes: '25 winter wave ( #18103 )
* Use TryGetValue in UnicodeEnumsGenerator
* Suppress incorrect CA2256 in Win32.Automation
* Fix xUnit analyzer warnings
* Misc warning fixes
* Ignore some obsolete warnings
2 years ago
Heku
ddf7238cc9
Remove invalid Properties folder reference in project ( #16955 )
2 years ago
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>
3 years ago
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
3 years ago
Max Katz
36f93ae7bc
Update tests and designer
4 years ago
dependabot[bot]
fb88efce5f
Bump nanoid and mocha
Bumps [nanoid](https://github.com/ai/nanoid ) to 3.3.3 and updates ancestor dependency [mocha](https://github.com/mochajs/mocha ). These dependencies need to be updated together.
Updates `nanoid` from 3.1.20 to 3.3.3
- [Release notes](https://github.com/ai/nanoid/releases )
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ai/nanoid/compare/3.1.20...3.3.3 )
Updates `mocha` from 8.4.0 to 10.2.0
- [Release notes](https://github.com/mochajs/mocha/releases )
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mochajs/mocha/compare/v8.4.0...v10.2.0 )
---
updated-dependencies:
- dependency-name: nanoid
dependency-type: indirect
- dependency-name: mocha
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
4 years ago
dependabot[bot]
bad0160a2d
Bump json5
Bumps [json5](https://github.com/json5/json5 ) from 2.1.3 to 2.2.2.
- [Release notes](https://github.com/json5/json5/releases )
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md )
- [Commits](https://github.com/json5/json5/compare/v2.1.3...v2.2.2 )
---
updated-dependencies:
- dependency-name: json5
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
4 years ago
dependabot[bot]
50c21198b4
Bump flat and mocha
Bumps [flat](https://github.com/hughsk/flat ) to 5.0.2 and updates ancestor dependency [mocha](https://github.com/mochajs/mocha ). These dependencies need to be updated together.
Updates `flat` from 4.1.0 to 5.0.2
- [Release notes](https://github.com/hughsk/flat/releases )
- [Commits](https://github.com/hughsk/flat/compare/4.1.0...5.0.2 )
Updates `mocha` from 8.1.3 to 8.4.0
- [Release notes](https://github.com/mochajs/mocha/releases )
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mochajs/mocha/compare/v8.1.3...v8.4.0 )
---
updated-dependencies:
- dependency-name: flat
dependency-type: indirect
- dependency-name: mocha
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
4 years ago
Dan Walmsley
253267c821
make host app target netfx / nca 2.0
4 years ago
Dan Walmsley
813476a1a5
fix designer tests.
4 years ago
dependabot[bot]
baca1246e2
Bump minimist
Bumps [minimist](https://github.com/substack/minimist ) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases )
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6 )
---
updated-dependencies:
- dependency-name: minimist
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
5 years ago
dependabot[bot]
cfd39e0afb
Bump ansi-regex
Bumps [ansi-regex](https://github.com/chalk/ansi-regex ) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/chalk/ansi-regex/releases )
- [Commits](https://github.com/chalk/ansi-regex/compare/v3.0.0...v3.0.1 )
---
updated-dependencies:
- dependency-name: ansi-regex
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
5 years ago
dependabot[bot]
7fe0e4d313
Bump pathval
Bumps [pathval](https://github.com/chaijs/pathval ) from 1.1.0 to 1.1.1.
- [Release notes](https://github.com/chaijs/pathval/releases )
- [Changelog](https://github.com/chaijs/pathval/blob/master/CHANGELOG.md )
- [Commits](https://github.com/chaijs/pathval/compare/v1.1.0...v1.1.1 )
---
updated-dependencies:
- dependency-name: pathval
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
5 years ago
Steven Kirk
1a459eb83b
Update hardcoded paths.
5 years ago
Steven Kirk
721547fcb2
Update samples/tests to net6.0.
And no longer target net461 in unit tests as we've not had a test pass in net core and fail in netfx in years, and it bloats our CI time; EXCEPT Avalonia.Markup.Xaml.UnitTests where we're still testing against net4.7 as MSIL generation is runtime-sensitive.
5 years ago
Nikita Tsukanov
6b662026ef
Fix support for packages without strong name
6 years ago
Rustam Sayfutdinov
8fd50dd15a
Add some tests
6 years ago
Rustam Sayfutdinov
1025b12402
Add tests
6 years ago
Dan Walmsley
756adb5dd5
fix designer tests.
7 years ago
Dan Walmsley
5de93378cf
fix designer tests.
7 years ago
Steven Kirk
30e8cac05d
Update to .NET core 3.1.
7 years ago
Nikita Tsukanov
76f9c8fdc5
Removed legacy XAML loader
7 years ago
Steven Kirk
268e5ee549
Fix failing test.
8 years ago
Nikita Tsukanov
c742fa42d2
[REMOTE] Skip unknown BSON properties
8 years ago
Jeremy Koritzinsky
05e0020f53
Fix designer errors and .NET Framework on Unix errors.
8 years ago
Jeremy Koritzinsky
4ec647b870
Make our unit tests support library (Avalonia.UnitTests) target netstandard2.0 so we don't have to worry about targetting .NET Framework on linux.
8 years ago
Jeremy Koritzinsky
c2d95fbd57
Added unit test for remote designer in Win32 mode.
8 years ago
Jeremy Koritzinsky
68309101e4
Remove legacy designer.
8 years ago
Steven Kirk
ffeefabf1c
Update ControlCatalog.Desktop output dir.
The output path has changed from `bin\Release` to `bin\Release\net461`.
8 years ago
Steven Kirk
4025522680
Skip failing test for now.
As I can't work out why it's only failing on AppVeyor.
Also fix typo in its name.
8 years ago
Jeremy Koritzinsky
f72577cf92
Clean up test scripts
9 years ago
Jeremy Koritzinsky
eb7c010462
Retarget .Net Framework projects to 4.7
Works around dotnet/standard#567 .
9 years ago
Wiesław Šoltés
2afd6cb224
Remove NuGet workaround
9 years ago
Wiesław Šoltés
f8097cc27d
Added msbuild props for package references
10 years ago
Wiesław Šoltés
e2489a6b28
Removed unused variable
10 years ago
Nikita Tsukanov
25c7be5b7a
Removed packages.config from csproj.files
10 years ago
Nikita Tsukanov
485fe1364e
Everything is buildable via MSBuild
10 years ago
Nikita Tsukanov
b6b5b9de88
Test now compile and can be run from visual studio
10 years ago
Nikita Tsukanov
b0a063838f
Migrated to PackageReference
10 years ago
Steven Kirk
71c6c572ac
Moved ncrunch files to their own dir.
Also deleted v2 ncrunch files and update .gitignore.
10 years ago