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
de4b55f8ee
feat(tests): Address rule CA1822
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
Max Katz
e5f2b145a7
Avoid deprecated input API in tests
4 years ago
Steven Kirk
988e26ed9b
Use new AvaloniaPropertyDictionary.
4 years ago
Steven Kirk
13a5ce6c64
Added tests for AvaloniaPropertyDictionary.
And fixed a couple of bugs.
4 years ago
Steven Kirk
09d0c3ae3e
Refactored style activators.
- Always evaluate the active state from current information, don't rely on subscriptions to fire as the current state may not be up-to-date
- Don't notify the `IStyleActivatorSink` of a change immediately on subscription
4 years ago
Steven Kirk
0119cf1af1
Fix a couple of inheritance bugs.
With associated unit tests.
4 years ago
Steven Kirk
88d59a4ed5
Fix missing logging.
4 years ago
Steven Kirk
a49a01c94b
Fix DataContext notifications.
4 years ago
Steven Kirk
fd3e561404
Reinstated test.
4 years ago
Steven Kirk
fb3e9d71b7
Implemented coercion.
4 years ago
Steven Kirk
483bbd2e26
Refactored inheritance.
To remove `InheritanceFrame` - it was unneeded, we can just point to the nearest ancestor value store with inherited values.
4 years ago
Steven Kirk
71785b73d8
Initial refactor of AvaloniaObject value store.
Most (but not all) tests passing, all features mostly implemented exception coercion.
4 years ago
Nikita Tsukanov
4b7feeb4f4
Fixed various invalidation and hit-testing issues
4 years ago
Lubomir Tetak
1812540ad9
unit test
4 years ago
Steven Kirk
002377044a
Disallow selectors with trailing /template/.
It's an invalid selector: what does `Button /template/` select?
4 years ago
Steven Kirk
3e17bd0662
Skip these failing tests for now.
I will work on a fix.
4 years ago
Steven Kirk
b95e377a7e
Added failing batch update test.
4 years ago
Steven Kirk
f385cc12f1
Remove debug/unused code.
4 years ago