Steven Kirk
240bc4d2ca
Fix horizontal scroll with virtualized items.
Fixes #849
9 years ago
Jeremy Koritzinsky
d73350e0fd
Fixes intermittent test failures on AppVeyor when running Leak Tests.
9 years ago
Steven Kirk
7d6503a5f7
Added RelativeSource=Self XAML tests.
9 years ago
Steven Kirk
8f21388e28
Added RelativeSource=Self binding mode.
9 years ago
Steven Kirk
90f4cfbea3
Register namescoped controls with parent namescope.
If we have e.g. a named UserControl in a window then we want that
control to be findable by name from the Window, so register with both
name scopes. This differs from WPF's behavior in that XAML manually
registers controls with name scopes based on the XAML file in which the
name attribute appears, but we're trying to avoid XAML magic in Avalonia
in order to made code-created UIs easy. This will cause problems if a
UserControl declares a name in its XAML and that control is included
multiple times in a parent control
(as the name will be duplicated), however at the moment I'm fine with
saying "don't do that".
Fixes #829 .
9 years ago
Steven Kirk
799ffe72b8
Fix erroneous test expectations.
9 years ago
Steven Kirk
44f6d12157
Add failing test for #834 .
9 years ago
Steven Kirk
f73a10b593
Clear ContentPresenter data context.
When assigning a control to `ContentPresenter.Content` after a
non-control the data context should get cleared. Fixes another problem
in #831 .
9 years ago
Steven Kirk
15896f3158
Added failing test for #831 .
9 years ago
Steven Kirk
a0a201006f
Merge overridden direct property metadata.
9 years ago
Jeremy Koritzinsky
058e28640c
Fixed some whitespace.
9 years ago
Jeremy Koritzinsky
1dc96e4184
Added more tests.
9 years ago
Jeremy Koritzinsky
b038ed55ee
Add ability to set the value pointed to by an indexer node.
9 years ago
susloparov
8704235b66
Added test for GridSplitter
9 years ago
susloparov
2e813c867d
Removed Orientation Property from GridSplitter
It's possible to unambiguously detect orientation based on
Column/RowDefenitions or other elements.
10 years ago
Dirk Lemstra
98408d54e4
Added missing using statements.
10 years ago
Dan Walmsley
ed05f842c0
Corrected order of Assert arguments.
10 years ago
Dan Walmsley
d3f4dacdbc
whitespace
10 years ago
Dan Walmsley
9a0fead203
Added unit test to assert new behavior.
10 years ago
Dan Walmsley
f3d2520f6c
Fix ItemsControl tests.
10 years ago
Dan Walmsley
a5a59c3e8c
Updated ItemsControl test for new behaviour.
10 years ago
danwalmsley
5ced1db770
Removed hack for Skia render tests.
10 years ago
Jeremy Koritzinsky
8f2c55fb04
Changed render tests and designer support test to always output to the artifacts/tests folder and modify the relative paths within so they don't fail on CI. Fixed CI to fail if tests fail (got turned off when OpenCover was added accidentally).
10 years ago
danwalmsley
e53cbd13f9
Added failing unit test for Carousel
10 years ago
Jeremy Koritzinsky
26e60f9935
Moved failing test into LeakTests because it depends on runtime implementation details to pass.
10 years ago
Jeremy Koritzinsky
428229e9b0
Optimized the "zero wait time" path in the scheduler and updated the code to always use a scheduler, either the ImmediateScheduler (same as the old default behavior) or the registered scheduler.
10 years ago
Jeremy Koritzinsky
6da1d620c9
Added test to ensure that the IObservable subscription is on the AvaloniaScheduler when the AvaloniaScheduler is bound in the AvaloniaLocator.
10 years ago
Steven Kirk
b28fffc3f8
Coerce TextBox.CaretIndex when setting Text.
Fixes #728 .
10 years ago
Steven Kirk
59c49d259d
Renamed assembly SceneGraph -> Visuals.
To make way for low-level scene graph library.
10 years ago
Steven Kirk
e54ac6b5bf
Fixed name of method.
It's creating a render target, not a renderer.
10 years ago
Steven Kirk
00f3ca78ba
FIx control leak tests.
10 years ago
Wiesław Šoltés
1992c518b1
Remove SkiaSharp package from test project
10 years ago
Wiesław Šoltés
1291ffff83
Set ShouldIncludeNativeSkiaSharp flag
10 years ago
Wiesław Šoltés
e21e15a036
Added SkiaSharp package to test project
10 years ago
Dan Walmsley
ce0d936cd2
Copy skiasharp native dlls to allow unit tests to run.
10 years ago
Steven Kirk
85f07274d4
Fixed failing test.
10 years ago
Steven Kirk
1b4ebf5b1d
Renamed AsBinding -> ToBinding.
10 years ago
Steven Kirk
715149b1f5
Improve stream operator error message.
When a stream operator is applied to an unsupported type.
10 years ago
Steven Kirk
0ddf4caa95
Added a "stream" binding expression operator.
Which is now required when wanting to get the value produced by a
Task/IObservable rather than the Task/IObservable itself. Fixes #711 .
10 years ago
Steven Kirk
7067fa0146
Cross-axis scrolling for virtualized lists.
There are still a few bugs around scrollbar behavior, and maybe Grid. To
see them, add a long item in the middle of VirtualizationTest's items,
resize the window to require a scrollbar and scroll up and down.
10 years ago
AndrewSt
7872b6e2bf
Fix typo in TextBoxTest.cs
10 years ago
AndrewSt
fc6115735e
Add unit test check Ctrl+A, Ctrl+Z
10 years ago
Steven Kirk
b2141da430
Forgot to save .csproj.
10 years ago
Steven Kirk
f15a136e00
Throw an exception if FontWeight <= 0
In FormattedText. Fixes #700 .
10 years ago
Steven Kirk
dd29966f20
Run certain tests in invariant culture.
Fixes #718 .
10 years ago
Steven Kirk
61393d8b22
Removed some more unused variables.
10 years ago
Steven Kirk
1b32a6aac3
Fixed unused member warnings.
That only show up on mono: seems the standard C# compiler silently
ignores most of these.
10 years ago
Steven Kirk
7eb939dbce
Don't run interactivity tests in paralell.
10 years ago
Steven Kirk
ca17c50bf4
Treat warnings as errors.
In Release build in main Avalonia assemblies (couldn't do it in
Avalonia.Markup.Xaml due to warnings in OmniXaml). To do this, fixed a
number of warnings.
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