400 Commits

Author SHA1 Message Date
Max Katz bb48504213 Remove unnecessary prop 2023-11-20 21:31:01 -05:00
Julien Lebosquain 9f5a1027fd Warning cleanup (#13656)
Co-authored-by: Jumar Macato <16554748+jmacato@users.noreply.github.com>
2023-11-20 09:34:46 +00:00
Max Katz ea64505600 XAML warnings/diagnostics support (#13447)
* Add diagnostics support to the Avalonia.Build.Tasks

* HostApp and generators build fix

* Diagnostics support in Avalonia XAML

* Support multiple style selector errors at once

* Improve avalonia intrinsics error handling + add tests

* Add CompiledBindings multiple errors tests

* Fix name generator

* Make AvaloniaXamlIlDuplicateSettersChecker a warning

* Fix Style_Parser_Throws_For_Duplicate_Setter test

* Make XamlLoaderUnreachable respect warnings settings

* Add AvaloniaXamlIlStyleValidatorTransformer

* Throw more specific exceptions instead of XamlParseException

* Get rid of XamlXDiagnosticCode to simplify diagnostics code

* Simplify XAML exceptions by avoiding DiagnosticCode in them

* Simplify XamlCompilerDiagnosticsFilter

* Don't use AvaloniaXamlDiagnosticCodes in Avalonia.Generators

* Fix some error handlings in compiler task

* Update editor config for in-solution analysis

* Update XamlX

* Fix missing document path

* Avoid Description field usage

* Add AvaloniaXamlVerboseExceptions property and make exception formatting customizable

* Make Avalonia.NameGenerator not crash if there are XAML errors, members should still be generated

* Update tests/Avalonia.Markup.Xaml.UnitTests/Xaml/StyleIncludeTests.cs

---------

Co-authored-by: Jumar Macato <16554748+jmacato@users.noreply.github.com>
2023-11-17 07:51:08 +00:00
Nikita Tsukanov 74110ab267 Removed dependency on System.Drawing.Common (#13431) 2023-10-30 21:44:44 +00:00
Benedikt Stebner a6075db521 Update HarfBuzzSharp (#13357) 2023-10-24 14:24:46 +00:00
Dan Walmsley 857fbcc7c7 bump version. 2023-10-03 09:54:02 +01:00
Damon c102aadd97 Update SkiaSharp to 2.88.6 to fix a critical security vulnerability (#13109)
* Update SkiaSharp to 2.88.6 to fix a critical security vulnerability

* Looks like Tizen needs to be updated separately
2023-10-03 00:31:00 +00:00
workgroupengineering 1cb271fb37 fix: Xaml Compiler error when code-behind class contains a DllImport method (#12882)
* fix: Avalonia.Generators not found

if you put SourceGenerators.props in a project with path are like this:"C:\GitHub\Avalonia\sample\mobile\android\ANoteSample\ANoteSample.csproj", the Compiler is not able to found `Avalonia.Generators`

* test: Add test #10046 Xaml Compiler error when code-behind class contains a DllImport method

* fix: Xaml Compiler error when code-behind class contains a DllImport method

* fix: Address Review

* fix: ValidateApiDiff has thrown an exception
2023-09-18 03:04:03 +00:00
Nikita Tsukanov 3433e57190 Added Avalonia.ForTestingOnly to InternalsVisibleTo list 2023-09-01 11:01:00 +03:00
Dan Walmsley 839de5966b remove all traces of old api diff. 2023-08-16 16:48:30 +01:00
Max Katz 47988db9c3 Update ExternalConsumers.props 2023-07-26 16:52:18 -07:00
Julien Lebosquain 6eff41172f Generate symbol packages 2023-07-16 11:37:53 +02:00
Nikita Tsukanov 8680c612fd OSX rendering refactoring 2023-06-30 15:42:12 +06:00
workgroupengineering 8f66d01aaa ci: Automatically adjust current year in copyright 2023-05-17 17:42:15 +02:00
Benedikt Stebner 8677eb6a4d Merge branch 'master' into fixes/getTextBounds 2023-05-02 09:43:43 +02:00
Nikita Tsukanov 1bdb067ab9 external consumers 2023-04-27 16:42:59 +06:00
Max Katz dbc3c802a3 Add Analyzers project to the main package 2023-04-17 01:29:06 -04:00
Max Katz 30d1dc7e61 Setup generators project in the repository, use in the control catalog 2023-02-20 02:40:10 -05:00
Tom Edwards 1fbd4ab801 Added Avalonia.Analyzers and ten diagonstics 2023-02-14 19:48:47 +01:00
Max Katz 7c33f45e3a Merge branch 'master' into package-updates-tests 2023-02-06 17:54:48 -05:00
Jumar Macato b5b7ae6bd5 Merge branch 'master' into package-updates-skia-harfbuzz 2023-02-06 13:02:02 +08:00
José Pedro 8c07476a1a Fixed NuGet package authors. 2023-02-05 09:01:44 +00:00
José Pedro f8af158a38 Updated packages used by tests. 2023-02-05 01:23:04 +00:00
José Pedro d0fe9e0e14 Updated Skia and HarfBuzz to latest stable. 2023-02-04 18:06:42 +00:00
Max Katz fa64416af1 Fix NET6_0_OR_GREATER msbuild check 2023-01-29 18:17:38 -05:00
Nikita Tsukanov 2b4cd42196 Merge branch 'master' into feature/gpu-external-memory 2023-01-19 08:37:28 +03:00
Nikita Tsukanov d714f37fce Implemented interop with externally managed GPU memory 2023-01-19 11:29:46 +06:00
Max Katz 4ca0dbac6e Merge remote-tracking branch 'origin/master' into remove-reactive-package
# Conflicts:
#	src/Avalonia.Base/Input/Gestures.cs
2023-01-07 21:37:25 -05:00
Simon 876fa08812 move to a consistent langversion of 11 2023-01-04 10:18:35 +11:00
Simon 5ff712109b avoid nuget refs on net6
System.ValueTuple, Runtime.CompilerServices.Unsafe, and System.Memory should not be required no net6 and up
2023-01-03 15:22:12 +11:00
Max Katz a92bf0aaf1 Merge remote-tracking branch 'origin/master' into remove-reactive-package
# Conflicts:
#	src/Avalonia.Base/Animation/AnimationInstance`1.cs
#	src/Avalonia.Base/Data/InstancedBinding.cs
2022-12-22 17:11:16 -05:00
Max Katz 8a78f134c5 Remove JetBrains.Annotations from the repo 2022-12-21 20:47:28 -05:00
Max Katz 59d7874b1d Replace System.Reactive with internal extensions 2022-12-20 21:42:36 -05:00
Max Katz de039015ca Small cleanup of warnings 2022-12-05 02:10:34 -05:00
Max Katz fa0cea97fe Enable compiled bindings by default and fix all the usages + adjust some namespaces 2022-11-15 02:01:56 -05:00
Benedikt Stebner 822d57cac6 Use LangVersion preview for all projects 2022-10-24 14:45:25 +02:00
Giuseppe Lippolis 4de98100ea feat: Enable net Analyzer 2022-10-12 12:18:47 +02:00
Jan Lukas Gernert bf0b79fd32 update SkiaSharp to 2.88.1 2022-08-22 17:09:35 +02:00
Dan Walmsley 6901e9cd12 bump master build version 2022-08-18 12:31:33 +01:00
Dan Walmsley be474dfef8 Merge branch 'master' into update-and-fix-reactiveui 2022-08-15 13:38:45 +01:00
Max Katz 6d5b59c33f Update SkiaSharp 2022-08-12 20:34:39 -04:00
Max Katz 301268b5f7 Update ReactiveUI 2022-08-12 20:27:42 -04:00
Nikita Tsukanov 70e77880f5 Avalonia.SourceGenerator -> DevGenerators 2022-06-22 12:44:54 +03:00
Max Katz 0488d0ddda Merge branch 'button-memory-leak' into cleanup-platformsupport 2022-06-02 23:28:02 -04:00
Adir Hudayfi 020fa3030a Upgraded SkiaSharp packages 2022-05-31 18:45:32 +03:00
Max Katz 8d6c8cf95c Merge branch 'master' into cleanup-platformsupport
# Conflicts:
#	src/Avalonia.Base/Properties/AssemblyInfo.cs
#	src/Avalonia.PlatformSupport/Avalonia.PlatformSupport.csproj
2022-05-30 01:03:26 -04:00
Max Katz 0666bd1d46 Merge branch 'master' into fixes/Consolidate-Package 2022-05-27 08:23:20 -04:00
Giuseppe Lippolis b2714472fe fix: remove Microsoft.NETFramework.ReferenceAssemblies package 2022-05-27 09:28:52 +02:00
Giuseppe Lippolis cc91c3002f fix: AvaloniaPublicKey.props file name typo 2022-05-27 09:12:56 +02:00
Giuseppe Lippolis a25ce2fb08 feat: move InternalsVisibleTo in csproj 2022-05-26 12:43:52 +02:00