Max Katz
d267d06a08
Move PlatformHotkeyConfiguration to IPlatformSettings
3 years ago
Nikita Tsukanov
44a830fd7f
Fixed tests
3 years ago
Nikita Tsukanov
91e4bd00b6
Fixed more tests
3 years ago
Nikita Tsukanov
0f4ed2a4b9
Updated tests to use IDispatcherImpl
3 years ago
Nikita Tsukanov
6a99ca39f9
Implemented dispatcher that works like WPF one
3 years ago
Dan Walmsley
2b076322e5
check access before clearing job queue.
3 years ago
Dan Walmsley
a298ff55f9
clear dispatcher queue at the end of tests.
3 years ago
Nikita Tsukanov
5eecfe486a
Workaround for https://github.com/AvaloniaUI/Avalonia/issues/10081
3 years ago
Max Katz
59d7874b1d
Replace System.Reactive with internal extensions
3 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
3 years ago
Max Katz
1731f88822
Rename Default to Simple
4 years ago
Max Katz
ad0a06bf24
Merge PlatformSupport project into Avalonia.Base
4 years ago
Max Katz
4d866b544c
Replace shared project with Avalonia.PlatformSupport
4 years ago
Steven Kirk
ddb8f9c7de
Update unit tests to use new default theme URLs.
4 years ago
Steven Kirk
7469597712
Added benchmark for fluent RepeatButton.
As that's where #5027 was showing up most.
5 years ago
Steven Kirk
a832d63915
IStandardCursorFactory -> ICursorFactory.
6 years ago
Steven Kirk
4d01dacd77
Remove copyright headers.
Some of our files had them, some didn't. They serve no purpose legally so best to remove the ceremony.
6 years ago
Benedikt Schroeder
de93e8e969
Full Unicode support for TextBlock
6 years ago
Nikita Tsukanov
b33601ee9b
Refactored lifetime control into separate lifetime classes
7 years ago
Steven Kirk
4a386d1b84
Added skipped failing leak test for transitions.
It's leaking on master too, so address this separately.
7 years ago
Nikita Tsukanov
657447ff0c
Reproed binding issue
7 years ago
Nikita Tsukanov
e00f0f0385
Platform-specific key gestures
8 years ago
Steven Kirk
d2eca3968b
Removed IRendererFactory.
Make the `ITopLevelImpl` create the renderer instead.
9 years ago
Steven Kirk
bb11b302b8
Added failing unit test for #277 .
9 years ago
Nikita Tsukanov
eb6bfd3de8
Moved layout manager from service locator to ILayoutRoot
9 years ago
Steven Kirk
1b9d61416f
Ported ImmediateRenderer from scenegraph branch.
9 years ago
Steven Kirk
a46be4e200
Ensure correct thread for AvaloniaProperty access.
Previously we ensured that `AvaloniaObject.SetValue` was run on the main
thread. This makes sure that `GetValue`, `IsSet` and `ClearValue` are
also run on the main thread. Unit testing this turned out to be more
complicated than expected, because `Dispatcher` keeps a hold of a
reference to the first `IPlatformThreadingInterface` it sees, so made
`UnitTestApplication` able to notify `Dispatcher` that it should update
its services.
9 years ago
Steven Kirk
349ba78931
Fixed pointerover state.
And added a test for it.
10 years ago
Steven Kirk
d91d1829ac
Initial implementation of scenegraph hit testing.
Based solely on control bounds as before.
10 years ago
Steven Kirk
6afa000c42
Added a render loop.
Rather than repainting whenever, this adds a render loop which is called
N times per second. IRenderQueueManager and ITopLevelRenderer have been
removed, replaced by IRenderer.
10 years ago
Nikita Tsukanov
3af869f49f
Moved IPclPlatformWrapper and IAssetLoader to a separate assembly
10 years ago
Nikita Tsukanov
e14ac5742f
RegisterServices should be called by AppBuilder
10 years ago
Steven Kirk
d79fc6bbd8
Added AppBuilder
Use AppBuilder to configure the Application and make sure that
everything is set up in the correct order.
10 years ago
Steven Kirk
5be41985c3
Renamed Perspex -> Avalonia
10 years ago
Steven Kirk
ca301280e8
Correctly clear focus when control removed.
Focus was staying on removed element.
10 years ago
Jeremy Koritzinsky
eea178500a
Added test and fixed implementation.
10 years ago
Steven Kirk
ab2d7571e1
Include default theme and base color in App.paml.
10 years ago
Steven Kirk
9a0df79ec5
Use UnitTestApplication in some more places.
Also removed service registration from some tests that now don't require
it.
10 years ago
Steven Kirk
2283cfa486
Started refactoring unit tests.
Added a shared test project with a UnitTestApplication and use it in
LeakTests.
10 years ago