Benedikt Stebner
822d57cac6
Use LangVersion preview for all projects
4 years ago
Dan Walmsley
1fea5b1875
fix langversion compile.
4 years ago
Dan Walmsley
8510a1ba8a
fix build.
4 years ago
Emmanuel Hansen
39bd2f074a
add parameters for number styles and provider to double parse
4 years ago
Emmanuel Hansen
ee0c1b4778
Use span directly when available
4 years ago
Steven Kirk
2435d2e87b
Fix DataGrid cell contents lookup in DevTools.
4 years ago
Giuseppe Lippolis
79754b9feb
fix: Address CA1847 rule
4 years ago
Giuseppe Lippolis
221bec69d4
Revert "fix: Address CA1847 rule"
This reverts commit 2f8273ae64 .
4 years ago
Giuseppe Lippolis
b1a5b87851
fix: missing submodule disable Analyzers.
4 years ago
Giuseppe Lippolis
2f8273ae64
fix: Address CA1847 rule
fix: CA1874
fix: CA1847
4 years ago
Dan Walmsley
5f9b193b31
fix build on net7 sdks with scoped keyword.
4 years ago
Takoooooo
c1d4b2a96d
Remove obsolete members from remaining assemblies
4 years ago
Steven Kirk
4497b8a730
Hackfix for #8678 .
4 years ago
Julien Lebosquain
9acb2a11ee
Custom setters implement Equals/GetHashCode and have optimized code gen
4 years ago
Steven Kirk
835622c017
Tweak TemplateBinding initialization.
Don't produce an "unset" value from `TemplateBinding` until the binding has previously produced a value.
Fixes #8672 .
4 years ago
Max Katz
6520722e54
Attempt to not deferr value types
4 years ago
Giuseppe Lippolis
3db0833012
fix: Avalonia.Markup.Xaml.Loader
4 years ago
Benedikt Stebner
dcd3804420
Make sure we always process inlines as whitespace significant
4 years ago
Benedikt Stebner
3ad71d4bea
Use IAddChild for TextBlock and RichTextBlock
4 years ago
Max Katz
34f8f3d556
Fix DataType set on Binding extension + add tests
4 years ago
Max Katz
ff3b23b2d6
Formatting
4 years ago
Max Katz
2619ab1759
Fix compiled binding with TemplatedParent relative source
4 years ago
Max Katz
142b878984
Fix special case of compiled binding with Path child
4 years ago
Max Katz
042fd47c1e
Fix ElementName binding inside of control template
4 years ago
Giuseppe Lippolis
ba2747b897
feat: StringBuilderCache
4 years ago
Steven Kirk
f385cc12f1
Remove debug/unused code.
4 years ago
Benedikt Stebner
1408e52199
Add IAddChild support
4 years ago
Steven Kirk
5c6eeed4fa
Initial support for deferred resources in XAML compiler.
4 years ago
Nikita Tsukanov
27e87857af
Some docs and refactorings
4 years ago
Steven Kirk
dee353bb96
Support ControlTheme in XAML compiler.
4 years ago
Steven Kirk
088d8cfc5c
Initial implementation of control themes.
4 years ago
Max Katz
496b978cdb
Run xDataType after TypeReferenceResolver
4 years ago
Max Katz
1d9645f01f
Validate DataTemplates
4 years ago
Max Katz
d2af5dbcac
Implicitly map x:DataType to a DataType on a DataTemplate.
4 years ago
Giuseppe Lippolis
a25ce2fb08
feat: move InternalsVisibleTo in csproj
4 years ago
Max Katz
b567fcebf5
Rename TemplateDataTypeAttribute to DataTypeAttribute
4 years ago
Max Katz
f1a2716858
Inherit DataType from template without hardcoding on specific DataTemplate implementation
4 years ago
Giuseppe Lippolis
543fe599c6
fix: some nullable annotation warnings
4 years ago
Steven Kirk
556adb4bc7
Use ^ as nesting selector.
`&` causes problems in xml files.
4 years ago
Dan Walmsley
5a027c585a
Merge pull request #8103 from AvaloniaUI/fixes/deterministic-builds
Fixes/deterministic builds
4 years ago
Dariusz Komosinski
4aa0f878c2
Add an explanation why certain locals are copied.
4 years ago
Dariusz Komosinski
bb8aaee1e0
Optimizing resource related code.
4 years ago
Dariusz Komosiński
02e7e8702e
Allow for parsing relative points during compile time. ( #7987 )
* Allow for parsing relative points during compile time.
* Revert extra target framework.
4 years ago
Steven Kirk
646ce23bb4
Initial XAML implementation of nested styles.
4 years ago
Steven Kirk
a506737a0f
Parse nesting selector.
4 years ago
Steven Kirk
fb0da85ad3
Merge core libraries. ( #5831 )
* Merge core libraries.
Everything below `Avalonia.Controls` into `Avalonia.Base`.
* Move new files to correct place.
* Removed unused dirs/projects,
* Removed outdated references from theme assemblies.
* Merge unit tests to match new assembly layout.
* Fixup test namespaces.
* Make directory match namespace.
* Move files to match namespace.
* Move files to match namespace.
* Fix up incorrect namespace.
`Avalonia.Visuals.Media.Imaging` -> `Avalonia.Media.Imaging`.
* Fix resource URL.
* Removed outdated dependencies.
* Added missing project reference.
* Update test namespaces.
* Fix merge error.
* Fix merge errors.
* Fix bad merge in WindowsInteropTest.csproj.
* Fix up merge errors in csprojs.
* Remove merged tests from nuke.
* Fix up namespace.
* Fix compile error.
* Fix failing tests.
Now that more unit tests are present in Avalonia.Base.UnitTests, general `AvaloniaObject` properties are getting registered. Ignore those.
Co-authored-by: Jumar Macato <16554748+jmacato@users.noreply.github.com>
4 years ago
Steven Kirk
5763a914fe
Remove generics from IAvaloniaObject.
4 years ago
Steven Kirk
f682f5af7c
Added generic virtual methods analyzer.
Added a new `DevAnalyzers` project with a single analyzer to detect generic virtual/interface methods.
4 years ago
Dariusz Komosinski
0d32823c59
Fixed compiled self binding not working from setters. Add extra tests for both reflection and compiled bindings.
4 years ago
Dariusz Komosinski
6bcf9c2973
Refactor text trimming and implement prefix trimming.
4 years ago