Steven Kirk
e63aa46458
Add a more efficient way to listen to classes changes.
Improves the situation in e.g. #8389 drastically.
4 years ago
Steven Kirk
c26173c4fe
Added failing test for #7381 .
4 years ago
Steven Kirk
5fd854e35b
Added failing test.
4 years ago
Steven Kirk
e50b416d5b
Fix parent selectors with /template/ at end.
Previously the combinator state was lost when traversing nested selectors. To fix it, instead of running the parent selector in `NestingSelector.Evaluate`, return the parent selector with `MovePrevious`. This required `MovePrevious` to be aware of parent styles and because I had to change its signature, I also made it internal as it doesn't need to be a public API.
4 years ago
Benedikt Stebner
77e32f4bbe
Update to Unicode 14
4 years ago
robloo
0863a05c76
Rename PointerLeave to PointerExited
4 years ago
robloo
8a0903f616
Rename PointerEnter to PointerEntered
4 years ago
Benedikt Stebner
90e0dcc9e3
Add Copy geasture
4 years ago
Benedikt Stebner
a408ea10d7
Some Progress
4 years ago
Steven Kirk
421546609a
Add test/fix for promoted themes.
A bit of an edge case here, but we should deal with it.
4 years ago
Steven Kirk
c9e10f0d2f
Added additional failing test.
Exposed by the previous fix for #8372 : re-entrancy in `PropertySetterInstance.Dispose()` is causing detaching a style to call `ClearValue` on the property. Previously this wasn't a problem as `ClearValue` didn't work, but now it is.
(Also added one passing test which tests the same scenario in `PropertySetterBindingInstance` for future coverage)
4 years ago
Steven Kirk
7b7d658125
Added a new failing test.
4 years ago
Steven Kirk
64518efc51
Add failing test for #8372 .
4 years ago
Benedikt Stebner
7f347308f1
Update generator
4 years ago
Benedikt Stebner
608238211b
Disable trie generation
4 years ago
Benedikt Stebner
f6c5dbe5ea
First naive attempt to get zero reflection unicode data
4 years ago
Benedikt Stebner
3dfad3bc79
Remove redudant test
4 years ago
Benedikt Stebner
9cfac4dd3f
FIx GeometryGroup.Children parent handling
4 years ago
Benedikt Stebner
71aba01b10
Implement FormattedText.BuildGeometry
4 years ago
Steven Kirk
8b4cf63be3
Additional validation for ControlTheme children.
4 years ago
Benedikt Stebner
020c8de59e
Fix mocks
4 years ago
Dan Walmsley
236d10bf64
discard unused params
4 years ago
Dan Walmsley
0b4ea2b1eb
add unit test.
4 years ago
Steven Kirk
d21e634ab3
Added support for implicit themes.
If no `Theme` property is provided, try to look up a resource keyed with the control's `StyleKey`.
4 years ago
Steven Kirk
95f70143ca
Can apply control theme to derived types.
4 years ago
Steven Kirk
05fdc04464
Add ControlTheme.BasedOn.
4 years ago
kaminova
0907e9519a
Fix test
4 years ago
kaminova
987a69aafb
spaces
4 years ago
kaminova
eaf8fec5cf
Test for matrix inversion
4 years ago
Steven Kirk
d215a1edc7
Fix nested :not selector.
4 years ago
Steven Kirk
4bdcb8eeea
Invalidate template control styles when Theme changes.
4 years ago
Steven Kirk
5cd9532012
Move tests to correct place.
4 years ago
Steven Kirk
a6dc6b1c88
Prevent ControlTheme as a nested style.
4 years ago
daniel mayost
03e01a6e55
initial working
4 years ago
Nikita Tsukanov
4991d4f370
Switched to byte-stream based transport
4 years ago
Max Katz
39d9a014b7
Fix static SetAssemblyDescriptorResolver usage in tests
4 years ago
Max Katz
12fd949126
Disable AssemblyName_With_Non_ASCII_Should_Load_Avares test
4 years ago
Max Katz
7f90e74f25
Unwanted namespace changes
4 years ago
Max Katz
ad0a06bf24
Merge PlatformSupport project into Avalonia.Base
4 years ago
Steven Kirk
55b19b445f
Remove unused vars.
4 years ago
Steven Kirk
33679377f8
Validate presence of nesting selector.
4 years ago
Steven Kirk
9f03a1f7be
Added additional test for visibility invalidation.
4 years ago
Steven Kirk
b2556d62f5
Fix some layout rounding issues.
Fixes for #8092 :
- Always round sizes up, not to the nearest pixel, thereby ensuring that `DesiredSize`s don't get rounded down where possible.
- Apply rounding to `Padding` and `BorderThickness` in measure pass as well as arrange pass, to ensure that `DesiredSize` takes this rounding into account.
4 years ago
Wiesław Šoltés
f3e2d45e19
Fix tests
4 years ago
Dariusz Komosinski
90b67c3b9f
Modify test setup so actual framework classes are used.
4 years ago
Kaktusbot
5eca6cc83e
Add test to AvaloniaList.AddRange to notify Count property changed
4 years ago
Dariusz Komosinski
066c81b1ac
Another fix for WeakHashList. Added basic unit tests.
5 years ago
Steven Kirk
82835ef957
Use nested styles in Button template.
And related fixes to make this work.
5 years ago
Steven Kirk
6df672e4c0
Remove IAvaloniaPropertyVisitor.
It was only used internally in creating `ISetterInstance`s so add a virtual method to `AvaloniaProperty` to do this explicitly without generic virtual methods.
5 years ago
Steven Kirk
f9dbbb3da1
Make UpdateDataValidation non-generic.
5 years ago