Steven Kirk
6be3acb46c
Make ValueStore typed.
Major refactor of the Avalonia core to make the styled property store typed.
7 years ago
Steven Kirk
fc2439e0cf
Added some benchmarks for styled properties.
7 years ago
Dariusz Komosinski
7a13d819fd
Optimize and add new efficient visual tree extensions.
7 years ago
Dariusz Komosinski
993840a612
Improve measure benchmark.
7 years ago
Dan Walmsley
ca60f9e70d
add unit test
7 years ago
Benedikt Schroeder
e2ff454085
Add failing tests
7 years ago
Dan Walmsley
5b3e2320a8
remove unit tests, skia and direct2d behave differently and making them match is beyond the scope of this bug fix.
7 years ago
Dan Walmsley
620be6f105
add failing unit test for empty textbox hit test.
7 years ago
Steven Kirk
15dfb88fe7
Update tree item container index dynamically.
Update `TreeItemContainerGenerator.Index` when a `TreeViewItem` is added to or removed from the logical tree. This ensures that removed `TreeViewItem`s won't try to add duplicate containers to the index.
Fixes #2985
7 years ago
Steven Kirk
1cd113182c
Added failing test for #2985 .
7 years ago
Andrey Kunchev
f3bb98756f
add tests for #3165
7 years ago
mstr2
e1df65c94b
Failing unit test for #3197
7 years ago
Benedikt Schroeder
46d3a91652
Add missing mocks
7 years ago
Benedikt Schroeder
83bfb8ec70
Initial implementation of a font manager
7 years ago
Benedikt Schroeder
f933fe53cf
Add failing test #2699
7 years ago
Andrey Kunchev
2288b7ab1d
add failing test for tooltip for issue #3188
7 years ago
Andrey Kunchev
60a596bd82
add another test for tooltip
7 years ago
Andrey Kunchev
d59d0904f4
add test for tooltip
7 years ago
Benedikt Schroeder
5df55e5c9f
Fix multiselection
7 years ago
Dariusz Komosinski
b7a3747da6
Add failing test for https://github.com/AvaloniaUI/Avalonia/issues/3179 .
7 years ago
Benedikt Schroeder
4d14218a65
Failing unit tests #3180
7 years ago
Steven Kirk
9107c0e96e
Added another failing test.
Adapted from failing test described by @MarchingCube in PR feedback: https://github.com/AvaloniaUI/Avalonia/pull/3177#issuecomment-547515972
7 years ago
Steven Kirk
96619e4440
Added failing test.
`ItemsPresenter.Items` isn't correctly in sync with `ItemsControl.Items` when assigning new `Items`.
7 years ago
mstr2
5fea821c94
Failing test for bug #3170
7 years ago
Steven Kirk
0a8915b1cc
Added failing test for #3148
7 years ago
Dariusz Komosinski
1d7feade1b
Add keyboard input tests.
7 years ago
Dariusz Komosinski
9c5e688958
Fix Grid shared scope not being updated when resizing row/column definitions.
7 years ago
Andrey Kunchev
ab26c18a8f
typo fix
7 years ago
Dariusz Komosinski
00263f71e4
Port GridSplitter from WPF.
7 years ago
Nikita Tsukanov
b9bd57e25b
Removed `Application` parameter from ClassicDesktopStyleApplicationLifetime since it wasn't used anyway
7 years ago
Nikita Tsukanov
66b3da044c
Fixed MouseTestHelper
7 years ago
Nikita Tsukanov
d8ee7531ab
Properly raise PointerCaptureLost on capture transfer
7 years ago
Andrey Kunchev
171a75eaed
pr comments
7 years ago
Andrey Kunchev
56cfbc1e46
add failing test for issue #3155 add/remove grid child runtime throws exception
7 years ago
Andrey Kunchev
a7f0851efb
add failing test for grid when columns/row are replaced grid doesn't invalidate
7 years ago
Andrey Kunchev
b0eb2a1018
issue: #3141 add failing tests for grid: when col/row are removed grid doesn't trigger layout update
7 years ago
Andrey Kunchev
fe4866d763
issue: #3141 add failing tests for grid: when col/row are added grid doesn't trigger layout update
7 years ago
Andrey Kunchev
ef0464a7e7
add failing tests for grid: when column/row (width/height ...) properties are changed grid doesn't react
7 years ago
Andrey Kunchev
389d58f550
issue #3089 add failing tests
7 years ago
Steven Kirk
fb173b30e2
Send keypresses to toplevel if no focused control.
- Added `IInputRoot Root` property to `RawInputEventArgs`
- Removed `InputRoot` and `Root` properties from `RawDragEvent` and `RawPointerEvent` as its now in the base class
- `InputRoot` in `RawDragEvent` was incorrectly using the type `IInputElement` instead of `IInputRoot`, fix callers that were using the wrong type
- Pass the input root to all raw input event constructors
- If no control is focused in `KeyboardDevice.ProcessRawEvent` then raise the event on the root
7 years ago
Steven Kirk
85ec916af3
Add some tests for KeyboardDevice.
Including failing tests for #3127 .
7 years ago
Steven Kirk
f2c4bf4d6a
Update test to ensure we're looking at the correct node.
7 years ago
Steven Kirk
e6790fe1d1
Add check for correct VisualNode.Parent.
Check that `VisualNode.Parent` is correct when adding a child. Causes a failing test for #3095 .
7 years ago
Steven Kirk
534852af75
Create VisualNode for invisible controls.
If we don't do this, then a `VisualNode` can appear twice in its parent `ChildrenCollection` when an earlier sibling is made invisible.
Fixes #3115
7 years ago
Steven Kirk
f6525de3c8
Added failing test for #3115 .
7 years ago
Steven Kirk
5e9f3067ce
Fix off-by-N error in VisualNode.TrimChildren.
And added unit test.
7 years ago
Jeremy Koritzinsky
f9993e8980
Rename BindingExtension->ReflectionBindingExtension.
Implement x:CompileBindings directive to toggle between transforming Binding->ReflectionBindingExtension and Binding->CompiledBindingExtension.
Expose a property on AvaloniaXamlIlCompiler to set the default transformation.
7 years ago
Jeremy Koritzinsky
5e5e7e22ae
Support synthetic Source property.
7 years ago
Jeremy Koritzinsky
c0c1ccb544
Enable transforming old-style RelativeSource/ElementName properties in CompiledBindings to element path nodes during XamlIl compilation.
7 years ago
Jeremy Koritzinsky
70ae77e797
Fix ElementName bindings.
7 years ago