Steven Kirk
81084454f4
Added failing tests for #11484 .
3 years ago
Steven Kirk
ac936ce130
Added failing test for #11290 .
3 years ago
Max Katz
20064647dd
Limit IFocusManager API, extend IInputElement API, remove visible static properties
3 years ago
Steven Kirk
00d077a634
Pass both owner and host type to AvaloniaProperty.
For non-attached properties these will be the same. For attached properties the metadata needs to be registered on the host, but the `Owner` property needs to be set to the owner, not the host.
3 years ago
Nikita Tsukanov
64610c264b
Composition aware resources
3 years ago
robloo
fac0a045d4
Add direct conversions for HsvColor.ToHsl() and HslColor.ToHsv()
3 years ago
Steven Kirk
e7c3e0c673
Added failing test for #11212 .
3 years ago
Nikita Tsukanov
5ec758d790
Fix TokenParser
3 years ago
Steven Kirk
4b46afef4a
Add failing focus unit tests.
3 years ago
Steven Kirk
3a250c86f3
Added failing test for #7706 .
3 years ago
Nikita Tsukanov
015768c5bd
Make sure that Dispatcher.InvokeAsync unwraps tasks and that correct overload is being chosen
3 years ago
Max Katz
810558140f
Introduce static AssetLoader
3 years ago
Steven Kirk
c4a5567090
Added failing test for #11161 .
3 years ago
Max Katz
4aa6035ec3
Reuse text and geometry related headless mocks in Avalonia unit tests and benchmarks
3 years ago
Steven Kirk
06b7515b48
Added failing test for #11076 .
3 years ago
Benedikt Stebner
0442c3b337
Introduce advanced render options
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
3 years ago
Benedikt Stebner
d08083bbf3
Introduce font collections
3 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.
3 years ago
Benedikt Stebner
db72ae64fc
Prevent AssetLoader.GetAssets from crashing
3 years ago
José Pedro
5778afd76a
Added unit test for templated parent theme changed loop.
3 years ago