Steven Kirk
06b7515b48
Added failing test for #11076 .
3 years ago
Steven Kirk
fe8f349047
Added failing test for #11015 .
Problem is in layout manager.
3 years ago
Nikita Tsukanov
cf28998a46
Bitmap effects support
3 years ago
jankrib
076d3c721e
Update DrawOperationTests.cs
3 years ago
jankrib
8f7deb17ad
Implement HitTestTransformed
3 years ago
Benedikt Stebner
a4a96d6ff4
Optimize FontManager caching
3 years ago
Tom Edwards
74f75b0525
Converted RangeBase to StyledProperty
Normalised ScrollViewer internal properties and bindings
3 years ago
Steven Kirk
44639fbd65
Added failing layout test.
3 years ago
Steven Kirk
668fa942b7
Don't leak IPlatformRenderInterface.
3 years ago
Steven Kirk
cd5307aa8c
Added failing test.
3 years ago
Nikita Tsukanov
312f1250e2
Don't use AvaloniaObject in IPlatformRenderInterface
3 years ago
Steven Kirk
964f30e883
Describe an edge-case.
3 years ago
Steven Kirk
e7aaf8a7f7
Ensure that the default value can be coerced.
When the coercion function on a property results in the default value being coerced, ensure that state is recorded in the value store.
3 years ago
Nikita Tsukanov
5f52122bba
Implemented ExitAllFrames, DisableProcessing and Shutdown, dispatcher callbacks now have proper sync context
3 years ago
Nikita Tsukanov
b3fe7827a2
Fixed Dispatcher.Invoke when called from the UI thread
3 years ago
Nikita Tsukanov
371251d58c
Review comments
3 years ago
Steven Kirk
33d13d3740
Another failing test for SetCurrentValue.
3 years ago
Nikita Tsukanov
0f4ed2a4b9
Updated tests to use IDispatcherImpl
3 years ago
Nikita Tsukanov
17492be5b6
Removed RunLoop from IPlatformThreadingInterface
3 years ago
Nikita Tsukanov
dbbdcb95cd
Refactored dispatcher clock
3 years ago
Steven Kirk
f9ee0e3d8c
Another failing test for SetCurrentValue.
3 years ago
Steven Kirk
919697daa6
Add additional failing test for SetCurrentValue.
3 years ago
Nikita Tsukanov
d96b8124ed
Don't use DispatcherTimer infrastructure for background processing
3 years ago
Steven Kirk
1d6e974e9c
Added failing test for #10655 .
3 years ago
Nikita Tsukanov
968e61f649
Fixed tests, reintroduced Post with SendOrPostCallback, removed JobRunner
3 years ago
Nikita Tsukanov
6a99ca39f9
Implemented dispatcher that works like WPF one
3 years ago
Tom Edwards
86324dca77
Convert Text properties to StyledProperty
3 years ago
Steven Kirk
5d47043f5f
Fix expected test results.
3 years ago
Steven Kirk
ed7ee5cf39
Add Visual.GetTransformedBounds extension method.
Fixes #9569 .
3 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
3 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