Nikita Tsukanov
a2ba58c0f9
Added some tests for composition animations
3 years ago
Steven Kirk
6f03f1c3d6
Removed ITemplatedControl.
4 years ago
Steven Kirk
8347093f90
Removed IInteractive.
4 years ago
Steven Kirk
ec74057151
Removed a number of interfaces.
`IAvaloniaObject`, `IControl`, `ILayoutable`, `IPanel`, `IStyledElement`, `IVisual`.
4 years ago
Steven Kirk
e074a70187
Refactored style invalidation/removal.
4 years ago
Steven Kirk
c29ed43e0e
Move attaching styles in tests to a helper.
The API is now internal, so this should prevent churn in the tests when the API changes.
4 years ago
Steven Kirk
1945345cd1
Rename TemplatedParent priority to Template.
It no longer represents just `TemplatedParent` bindings, but every value or binding created by a template.
4 years ago
Steven Kirk
326dac2328
Refactored how we switch control themes.
Instead of simply wiping all control themes and styles that are applied to a control, we can now just remove the `ValueFrame`s which relate to the control theme that was changed.
To do this, added `ValueFrame.FramePriority` which encodes both the `BindingPriority` and source of the frame (style, control theme, templated parent control theme).
4 years ago
Steven Kirk
1a338ac087
Remove IStyler and make style apply internal.
- Removes the `IStyler` service and the `Styler` implementation
- Moves the logic for applying styles and control themes into `StyledElement`
- Removes the style `TryAttach` method from the public API
- Removes style caching for now - this will need to be added back
4 years ago
Max Katz
1fc811f82c
Fix touch tests
4 years ago
Steven Kirk
d0eb38b6ba
Add Tap size to IPlatformSettings.
And refactor that interface while we're at it. Also add a `DefaultPlatformSettings` implementation instead of implementing it in each backend with slightly different values.
4 years ago
Benedikt Stebner
17b2834d21
Implement letter spacing
4 years ago
Steven Kirk
ae72b81af9
Remove empty frames.
In doing so, merged `ValueStore.OnBindingCompleted` into `OnValueEntryRemoved` as they were doing the same thing.
4 years ago
Steven Kirk
0cdedaaca5
Added failing transition test.
4 years ago
Steven Kirk
459d195a7a
Added a few more coercion tests (1 failing).
4 years ago
Giuseppe Lippolis
a763255f3f
fix: revert test changes
4 years ago
Steven Kirk
9b2d9be1fa
Correctly unsubscribe animation value entries.
4 years ago
Steven Kirk
20d85df87c
Simplify unset effective value removal.
4 years ago
Steven Kirk
b5891a2ead
Fix bug in ExpressionObserver.
Ensure `rootGetter` is evaluated each time the observer is initialized; plus failing and now passing test.
4 years ago
Giuseppe Lippolis
36cfc43a59
feat: Address CA1820 Rule
4 years ago
Steven Kirk
5a604662cb
Don't use Microsoft.Reactive.Testing here.
It's unsuitable for our needs as there's no way to make an observable fire on subscribe.
4 years ago
Benedikt Stebner
a4a24c2fa5
Remove GlyphTypeface.PlatformImpl
4 years ago
Benedikt Stebner
74fafe3b09
Optimize GlyphRun allocations
4 years ago
Arhell
4da0ae8dab
update test folder links
4 years ago
Steven Kirk
6ee2c43277
Added failing inheritance test.
4 years ago
Steven Kirk
d34c367409
Make test fail again.
4 years ago
Steven Kirk
b650bb65b2
Added another failing test.
4 years ago
Steven Kirk
fc33707003
Remove tags from style activators.
They're no longer needed.
4 years ago
Steven Kirk
96942a2026
Expose activation state via a method.
Previously, the `IsActive` property caused the activator state to be re-evaluated, which meant that when the _debugger_ read it, it was re-evaluated, making debugging difficult.
4 years ago
Steven Kirk
1730331ae7
Add additional failing test.
4 years ago
Benedikt Stebner
373372fd51
Update to Unicode 15.0
4 years ago
Steven Kirk
ed11b75b81
Added failing animation test.
4 years ago
Steven Kirk
333bcb2d1c
Skip some of the two-way binding tests.
The value store alone cannot fix these tests, as writing back to source in two-way bindings is implemented at a higher level than the value store. We'll need to refactor the way two-way bindings work in a separate PR.
4 years ago
Steven Kirk
9367f8b24d
Refactor binding IValueEntry into base class.
Too many gotchas in implementing binding entries, we'll take the performance hit of a few virtual method calls.
4 years ago
Wiesław Šoltés
24427206cc
Add spring unit tests
4 years ago
Steven Kirk
dd285eebde
More failing tests for two-way bindings.
4 years ago
Steven Kirk
d14ff72eab
Unsubscribe inactive bindings.
4 years ago
Max Katz
46bf9e2602
Fix issue with 0,0 position when pointerover was cleaned up
4 years ago
Steven Kirk
d1a5870b3b
Added more failing tests for desired behavior.
We should be unsubscribing from bindings when a higher priority binding or value is added.
4 years ago
Steven Kirk
c809c9a161
Added failing test for TwoWay bindings.
4 years ago
Takoooooo
99e02059a8
Fix Test.
4 years ago
Nikita Tsukanov
4207a5f93b
Filter-out child elements during hit-testing too
4 years ago
Takoooooo
825fcfab31
Remove obsolete members from Avalonia.Base namespace
4 years ago
Max Katz
1731f88822
Rename Default to Simple
4 years ago
Evgeny Gorbovoy
1c1499c399
More `ContainsExclusive`
4 years ago
Evgeny Gorbovoy
c226432e9b
Tests fixing
4 years ago
Evgeny Gorbovoy
d560fd2847
+ CompositorHitTesting test
4 years ago
Evgeny Gorbovoy
01d040bf6c
+ hit test attempt
4 years ago
Steven Kirk
8f98c2ae76
Store direct property bindings in ValueStore.
We already have a place to store them in the `_localValueBindings` list, so use that rather than having a separate `_directBindings` list in `AvaloniaObject`.
4 years ago
Steven Kirk
31e6bb4f72
Fix evaluation in presence of multiple animation frames.
4 years ago