Nikita Tsukanov
913149d093
Switched to .NET Standard 2.0
9 years ago
Steven Kirk
024573ddd5
Removed bad project references.
9 years ago
Wiesław Šoltés
e9d108a506
Fixed xml tags
9 years ago
Wiesław Šoltés
3b3266cc7c
Converted Avalonia.Visuals.UnitTests to a new project system
9 years ago
Wiesław Šoltés
f8097cc27d
Added msbuild props for package references
9 years ago
Nikita Tsukanov
25c7be5b7a
Removed packages.config from csproj.files
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
609c571424
Added AspectRatio and division operator to Size.
9 years ago
Steven Kirk
5546ed043f
Added Rect.Union.
9 years ago
Steven Kirk
abe69ac320
Moved some mocks into Avalonia.UnitTests.
From Avalonia.Visuals.UnitTests as they're useful generally.
9 years ago
Steven Kirk
e79a144c14
WIP: Working on getting VisualBrush working
Don't try to render `VisualBrush`es in TileBrushImpl - visual brushes
need first to be transformed into images and then rendered as an
`ImageBrush`. To this end, renamed `TileBrushImpl` as `ImageBrushImpl`
(in D2D backend only for now as that's what I'll get working first).
Actual visual brush implementation not yet done.
9 years ago
Steven Kirk
ec2998728e
Store layers in Scene.
Layers are now calculated by SceneBuilder and stored in Scene. This
means we are no longer accessing `visual.Opacity` from the render thread
(and `VerifyAccess` calls have been placed in AvaloniaObject.GetValue
and friends to ensure this cannot happen). ControlCatalog is now
rendering mostly fine.
9 years ago
Steven Kirk
d34c279ba1
WIP: Adding render layers.
9 years ago
Steven Kirk
1f985abaa6
Refactored VisualNode.
It now has two collections: Children and DrawOperations.
9 years ago
Steven Kirk
ada15eba00
Initial implementation of low-level scene graph.
Whole tree is currently being updated and rendered still though and lots doesn't even build.
10 years ago
Steven Kirk
59c49d259d
Renamed assembly SceneGraph -> Visuals.
To make way for low-level scene graph library.
10 years ago
Steven Kirk
b2141da430
Forgot to save .csproj.
10 years ago
Wiesław Šoltés
9cdcf6cb02
Revert "Updated projects and packages"
This reverts commit 7cca79b435 .
10 years ago
Wiesław Šoltés
7cca79b435
Updated projects and packages
10 years ago
Wiesław Šoltés
7282744b70
Removed outdated binding redirects and app.config
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
1824175e6b
Use render bounds in visual hit testing.
It was previously used in input hit testing but not in visual hit
testing.
10 years ago
donandren
b049a5787f
added failing test for PathMarkupParser
10 years ago
Jeremy Koritzinsky
4fef640371
Updated adorners and hit testing to account for RenderTransforms ( #538 )
Updated adorners and hit testing to account for RenderTransforms. Fixes #433 .
10 years ago
Steven Kirk
5be41985c3
Renamed Perspex -> Avalonia
10 years ago
Steven Kirk
e096c849d9
Updated NuGet packages.
Closes #395 .
10 years ago
Steven Kirk
c427ab49f6
Cull controls outside clip bounds.
10 years ago
Steven Kirk
9eb54f59d2
Fixed name scopes.
Controls were being registered with the nearest name scope on the visual
tree, whereas they should be registered by traversing the logical tree.
10 years ago
Steven Kirk
3307ef8712
Register templated controls with name scope.
Usually controls are only registered with their name scope when they get
added to a rooted visual tree, but this causes problems for tests, and
would mean the templated control wouldn't work if the client called
ApplyTemplate themselves before the control is added to the visual tree.
Work around this by explicitly registering template controls with the
name scope when the template is applied.
To allow this, we need to allow controls to be registered with a name
scope multiple times.
11 years ago
Wiesław Šoltés
8864acb95a
Update Perspex.SceneGraph.UnitTests.csproj
11 years ago
Wiesław Šoltés
b13b870741
Added RelativeRectTypeConverter
11 years ago
Nikita Tsukanov
323c1a49c1
Removed core dependency on Splat
11 years ago
Steven Kirk
cc1c2c0313
Fixes #147 .
11 years ago
Steven Kirk
3aa9b7e60c
Accept RelativePoint in XAML.
11 years ago
Steven Kirk
f071a3d06b
Removed GlobalSuppressions.
11 years ago
Steven Kirk
2e56c951d5
Removed StyleCop.Analysers.
11 years ago
Steven Kirk
ab352ebfcb
Move Thickness parsing to Thickness.Parse.
And added unit tests.
11 years ago
Steven Kirk
b7170a5179
Added brush and color parsers.
11 years ago
Steven Kirk
d11d779414
Trying to fix capitalization of tests and docs AGAIN.
11 years ago
Steven Kirk
1a2fba4798
Revert "Fixed casing of Docs and Tests directories."
This reverts commit 845b28a2c2 .
11 years ago
Steven Kirk
845b28a2c2
Fixed casing of Docs and Tests directories.
11 years ago
Steven Kirk
6167bacf54
Moved to more standard filesystem layout.
Based on https://gist.github.com/davidfowl/ed7564297c61fe9ab814 and https://github.com/fsprojects/ProjectScaffold
11 years ago
Steven Kirk
cc04e9e6f0
Updated dependencies.
11 years ago
Steven Kirk
84306bc415
Make assemblies share version information.
11 years ago
Steven Kirk
81e889627a
Suppress documentation warnings in tests.
11 years ago
Steven Kirk
71ebd527d4
Enable XML documentation.
11 years ago
Steven Kirk
12752f227f
Updated StyleCop.Analysers.
11 years ago