Wiesław Šoltés
9247a82ea8
Updated XUnit props
9 years ago
Wiesław Šoltés
872575b9b7
Set project OutputType
9 years ago
Steven Kirk
69a06e452e
Fixed some Visuals unit tests.
Ported some stuff from `scenegraph` that was missed in #956 , which fixes
some of the failing Avalonia.Visuals.UnitTests.
9 years ago
Steven Kirk
1b9d61416f
Ported ImmediateRenderer from scenegraph branch.
9 years ago
Steven Kirk
e6cb529878
Ported immutable media impls from scenegraph.
The deferred renderer requires immutable objects for drawing as it
renders on a separate thread.
9 years ago
Steven Kirk
4e719262c4
Make WindowBase.IsVisible return correct value.
`WindowBase.IsVisible` now tracks the visibility of the window. Still
needs to call `Show` and `Hide` when changed.
9 years ago
Wiesław Šoltés
f8097cc27d
Added msbuild props for package references
9 years ago
Wiesław Šoltés
26561a5ad4
Only include when using net461 framework
9 years ago
Steven Kirk
d7703d619c
Fixed failing test.
And removed `TestServices.WindowImpl` as it was being ignored.
9 years ago
Nikita Tsukanov
6cf037ad7c
One liners
9 years ago
Nikita Tsukanov
66ac05b2c2
Removed <Name> elements from new projects
9 years ago
Nikita Tsukanov
d1caaaca3e
Removed <Project>
9 years ago
Nikita Tsukanov
dc8a32d1b1
Run Avalonia.Base.UnitTests using `dotnet test`
9 years ago
Nikita Tsukanov
485fe1364e
Everything is buildable via MSBuild
9 years ago
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
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
Nikita Tsukanov
c93a6235aa
Make sure that Renderer is disposed when TopLevel is closed
9 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