Nikita Tsukanov
b6b5b9de88
Test now compile and can be run from visual studio
9 years ago
Nikita Tsukanov
b0a063838f
Migrated to PackageReference
9 years ago
donandren
8b468c174c
fix AvaloniaPropertyConverter Tests, added attached property binding test, fixed some tests, simplified others
9 years ago
Steven Kirk
a5f03f7a89
Don't need to pass visual brush renderer when creating render target.
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
71c6c572ac
Moved ncrunch files to their own dir.
Also deleted v2 ncrunch files and update .gitignore.
9 years ago
Steven Kirk
6036bd5998
Moved ncrunch files to their own dir.
Also deleted v2 ncrunch files and update .gitignore.
9 years ago
Steven Kirk
4fc75cb2fb
Fixed failing tests.
9 years ago
Steven Kirk
5e4f5a6160
Handle geometry clips on child layers.
9 years ago
Steven Kirk
abe69ac320
Moved some mocks into Avalonia.UnitTests.
From Avalonia.Visuals.UnitTests as they're useful generally.
9 years ago
Nikita Tsukanov
c93a6235aa
Make sure that Renderer is disposed when TopLevel is closed
9 years ago
Steven Kirk
ab9cf03eff
WIP: Delegate back to render for VisualBrushes.
`VisualBrush`es need to get delegated back to the renderer for
rendering, so added an `IVisualBrushRenderer` interface which is
implemented by the renderers, and pass this when creating drawing
contexts. Only currently implemented/tested for D2D and
`ImmediateRenderer`.
9 years ago
Steven Kirk
b5e93b67fe
Make Window.IsVisible track window visibility.
9 years ago
Steven Kirk
a967c9bf82
Make DPI scaling work again.
10 years ago
Steven Kirk
6d3ca92a4c
WIP: Getting resizing working.
10 years ago
Steven Kirk
d34c279ba1
WIP: Adding render layers.
10 years ago
Steven Kirk
584cdbb133
Make FormattedTextImpl immutable.
Because it needs to be shared between the UI thread and the render
thread. This also required making it non-disposable like the other
graphics primitive impls.
10 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
59c49d259d
Renamed assembly SceneGraph -> Visuals.
To make way for low-level scene graph library.
10 years ago
Steven Kirk
dd29966f20
Run certain tests in invariant culture.
Fixes #718 .
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
Jeremy Koritzinsky
1429c4dd95
Fixed failing tests.
10 years ago
Nikita Tsukanov
07fea3befa
Added RuntimePlatformInfo
10 years ago
Nikita Tsukanov
3af869f49f
Moved IPclPlatformWrapper and IAssetLoader to a separate assembly
10 years ago
Wiesław Šoltés
9cdcf6cb02
Revert "Updated projects and packages"
This reverts commit 7cca79b435 .
10 years ago
Nikita Tsukanov
8ee9d17ff6
Fixed some focus issues
10 years ago
Wiesław Šoltés
7cca79b435
Updated projects and packages
10 years ago
Steven Kirk
ac427192df
Use NotifyingBase in unit tests.
And rename NotifyingBase.SubscriptionCount ->
PropertyChangedSubscriptionCount as we also track ErrorsChanged
subscription count.
10 years ago
Jeremy Koritzinsky
3c5848bc2c
Updated Rx to 3.0 and fixed a failing test from a not fully set up mock.
10 years ago
Steven Kirk
13642613cf
Added failing test.
10 years ago
Steven Kirk
2d5a41a729
Update ListBoxTests
Now ListBox is virtualized it needs more setup for unit testing.
10 years ago
Steven Kirk
ec35cdde79
Fixed TextBlock text wrapping.
And added render test (so far only to D2D backend)
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
d97c276b52
Added ncrunch project files.
10 years ago
Steven Kirk
5be41985c3
Renamed Perspex -> Avalonia
10 years ago