Dmitry Zhelnin
a75753c942
EventRoute: remove additional check if event was handled
3 years ago
Julien Lebosquain
dec8c1c586
Used Memory/Span instead of CharacterBufferReference/Range
+ GlyphRun uses ReadOnlyMemory for characters
3 years ago
Max Katz
a78b0edd42
Changes after review
3 years ago
Sergey Mikolaitis
84206e93dd
[Text] Optimize grapheme and add performance benchmark
3 years ago
Max Katz
36f93ae7bc
Update tests and designer
3 years ago
Simon Cropp
fb37ab1e77
leverage GetRequiredService
3 years ago
Simon Cropp
dba476c11c
fix more typos
3 years ago
Simon
876fa08812
move to a consistent langversion of 11
3 years ago
Nikita Tsukanov
78b4c6a96e
Ignore Opacity for hit-testing purposes
3 years ago
Emmanuel Hansen
66ca4ca639
remove hold styled properties in InputElement
3 years ago
Emmanuel Hansen
57255586c2
update hold tests
3 years ago
Emmanuel Hansen
08f17fa206
add more tests
3 years ago
Max Katz
1776522397
Mock IPlatformThreadingInterface
3 years ago
Emmanuel Hansen
29e7666a67
attempt at testing
3 years ago
Emmanuel Hansen
be843f699a
add mock thread interface to touch device tests
3 years ago
Emmanuel Hansen
f61c7f6cd9
Revert "fix tests"
This reverts commit 584e18f78d29480890711b1149d946f61e0d8447.
3 years ago
Emmanuel Hansen
c804fa00cf
fix tests
4 years ago
Max Katz
c2e00428df
Remove AppBuilderBase and generics
3 years ago
Emmanuel Hansen
586c3350dc
adds tests
3 years ago
Max Katz
8a78f134c5
Remove JetBrains.Annotations from the repo
3 years ago
Max Katz
59d7874b1d
Replace System.Reactive with internal extensions
3 years ago
Steven Kirk
4f6d51e166
Add tests for property binding threading.
- Added a failing tests for styled property binding with threading
- Made direct property test actually confirm that binding was done on UI thread
3 years ago
Benedikt Stebner
895d85aa89
Implement CharacterBufferReference and related classes
4 years ago
Daniil Pavliuchyk
6b8b5d78f4
Rework focus so we don't return focus to the lastly enabled element
4 years ago
Steven Kirk
f4eeb82a58
Actually dispose DisposeAnimationInstanceSubject.
We were creating a `DisposeAnimationInstanceSubject` and then just discarding it, meaning it was never disposed.
Fixes #6111
Fixes #9514
4 years ago
Nikita Tsukanov
eaf2ce38a4
Context management
4 years ago
Steven Kirk
387728fb2d
Added failing test for animations without activator.
Mentioned in #9561 .
4 years ago
Steven Kirk
58b5eeb9d2
Added failing tests for #9561 .
4 years ago
robloo
3fc6a51571
Remove Rect.Default
4 years ago
daniel mayost
aa31daecde
Move FlowDirectionTests to Avalonia.Base.Tests
4 years ago
robloo
509ebddcc4
Standardize Default member in Rect
4 years ago
Nikita Tsukanov
a2ba58c0f9
Added some tests for composition animations
4 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
Giuseppe Lippolis
6213676115
fix: Address CA1822 rule
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