Nikita Tsukanov
5f52122bba
Implemented ExitAllFrames, DisableProcessing and Shutdown, dispatcher callbacks now have proper sync context
4 years ago
Nikita Tsukanov
b3fe7827a2
Fixed Dispatcher.Invoke when called from the UI thread
4 years ago
Nikita Tsukanov
371251d58c
Review comments
4 years ago
Steven Kirk
33d13d3740
Another failing test for SetCurrentValue.
4 years ago
Nikita Tsukanov
0f4ed2a4b9
Updated tests to use IDispatcherImpl
4 years ago
Nikita Tsukanov
17492be5b6
Removed RunLoop from IPlatformThreadingInterface
4 years ago
Nikita Tsukanov
dbbdcb95cd
Refactored dispatcher clock
4 years ago
Steven Kirk
f9ee0e3d8c
Another failing test for SetCurrentValue.
4 years ago
Steven Kirk
919697daa6
Add additional failing test for SetCurrentValue.
4 years ago
Nikita Tsukanov
d96b8124ed
Don't use DispatcherTimer infrastructure for background processing
4 years ago
Steven Kirk
1d6e974e9c
Added failing test for #10655 .
4 years ago
Nikita Tsukanov
968e61f649
Fixed tests, reintroduced Post with SendOrPostCallback, removed JobRunner
4 years ago
Nikita Tsukanov
6a99ca39f9
Implemented dispatcher that works like WPF one
4 years ago
Tom Edwards
86324dca77
Convert Text properties to StyledProperty
4 years ago
Steven Kirk
5d47043f5f
Fix expected test results.
4 years ago
Steven Kirk
ed7ee5cf39
Add Visual.GetTransformedBounds extension method.
Fixes #9569 .
4 years ago
Tom Edwards
3b57b3496a
Added GenerateTypeSafeMetadata to property metadata
This method is used to strip coercion methods out of StyledPropertyMetadata when applying it to a new owner.
Also fixed AvaloniaProperty.(IPropertyInfo.CanSet) returning true for read-only properties
4 years ago
Tom Edwards
81530c4231
Converted a variety of writeable DirectProperty definitions to StyledProperty
4 years ago
Benedikt Stebner
d08083bbf3
Introduce font collections
4 years ago
Steven Kirk
cfd35d17d5
Added failing `SetCurrentValue` test.
`SetCurrent_Value_Persists_When_Toggling_Style_1` passes but `SetCurrent_Value_Persists_When_Toggling_Style_2` fails as it uses a different code-path.
4 years ago
Benedikt Stebner
db72ae64fc
Prevent AssetLoader.GetAssets from crashing
4 years ago
José Pedro
5778afd76a
Added unit test for templated parent theme changed loop.
4 years ago
Yoh Deadfall
a62096ed05
Added test for mouse device
4 years ago
Nikita Tsukanov
ae1fcfed51
Refactored DrawingContext and VisualBrush, added DrawingBrush ( #10419 )
Refactored DrawingContext and VisualBrush, added DrawingBrush
4 years ago
Steven Kirk
40ab20146f
Clear data validation when binding completes.
4 years ago
Steven Kirk
d787a72f7f
Initial impl of data validation for styled properties.
Currently only local value bindings implemented.
4 years ago
Steven Kirk
eabc9493fa
Added tests for styled property data validation.
4 years ago
Steven Kirk
688dbc4fdc
Moved EnableDataValdiation to AvaloniaPropertyMetadata
Support data validation in StyledProperty bindings
Co-Authored-By: Tom Edwards <109803929+tomenscape@users.noreply.github.com>
4 years ago
Steven Kirk
2cff53c057
Added failing test for #10345 .
4 years ago
Steven Kirk
dd17097323
Added failing test for #10255 .
4 years ago
Max Katz
4fc1995246
Make AvaloniaProperty.Register overload with "notifying" parameter internal
4 years ago
Steven Kirk
0ce9180d7c
Added untyped SetCurrentValue.
4 years ago
Steven Kirk
8741b7e410
Fix IsSet with SetCurrentValue.
And add unit tests.
4 years ago
Steven Kirk
19078979e3
Initial implementation of SetCurrentValue.
4 years ago
José Pedro
04df472194
Added unit test for #10226 .
4 years ago
José Pedro
f8af158a38
Updated packages used by tests.
4 years ago
Steven Kirk
bca57ea0e9
Added additional failing test.
4 years ago
Steven Kirk
7b00ef6989
Make untyped bindings produce default value.
This changes the behavior of bindings slightly, in that previously a binding which produced `UnsetValue` (or a binding error) caused the value of any lower priority value of value to take effect. After this change, the binding reverts to the property's default value. This behavior more closely matches WPF and fixes #10110 .
4 years ago
Steven Kirk
1e926dac72
Added failing tests for #10110 .
4 years ago
Tom Edwards
796722f319
Never convert null to UnsetValue in bindings
Revert ToggleButton.IsChecked hack
4 years ago
Julien Lebosquain
5e13c5b59a
Implemented layout and render time graph overlays
4 years ago
Max Katz
546aa8fcae
Fix tests
4 years ago
Nikita Tsukanov
abf8819947
Implemented pixel format transcoding for Bitmap and WriteableBitmap
4 years ago
Steven Kirk
0065a962ac
Move ItemsRepeater to separate assembly.
4 years ago
Nikita Tsukanov
d0a4890f18
Dispose CompositorTestServices
4 years ago
Nikita Tsukanov
6bdf0eacc7
Removed legacy renderers
4 years ago
Benedikt Stebner
cb884c6e9e
Reintroduce customizable GlyphRun.BaselineOrigin
Reintroduce Brush IBrush inheritance
4 years ago
Julien Lebosquain
f951929d54
Perf: improved CodepointEnumerator
4 years ago
Julien Lebosquain
2f429062a1
Perf: improved GraphemeEnumerator by avoiding double codepoint iteration
4 years ago
Benedikt Stebner
07c11c75e7
Use IGlyphRunImpl in the IDrawingContextImpl
4 years ago