Jumar Macato
9970bf6722
Address review pt. 2
7 years ago
Jumar Macato
d368d9675a
Address review.
7 years ago
Jumar Macato
3549f00fcb
Revert unit test changes.
7 years ago
Steven Kirk
bd354143ca
Notify MouseDevice when TopLevel closed.
So it can remove pointerover state.
7 years ago
Steven Kirk
8ebe1c1288
Added failing test for #2901 .
After the selected item is removed from a `ListBox` with `AlwaysSelected == true`, the container for the newly selected item does not get `:selected` applied.
7 years ago
Dariusz Komosinski
addc1ddce2
Avoid initializing properties if there is no observer. Optimize access.
7 years ago
Jumar Macato
d176b1d7dc
Fix unit tests.
7 years ago
Nikita Tsukanov
766a4d69c8
Fixed escaped attribute values (e. g. StringFormat="\{0\}!")
7 years ago
Nikita Tsukanov
af4c1f06ad
Extra tests for markup extensions
7 years ago
Ben Carman
0486de87a6
MaxLength Property for TextBox
7 years ago
Dariusz Komosinski
5afc0f5395
Unify AddRange and InsertRange. Fix ranged versions causing multiple enumerations. Get rid of unnecessary allocations (notifications, enumerators).
7 years ago
all.owing
6dbe617ed6
One more tests fix
7 years ago
all.owing
a6b65a39de
Test fix
7 years ago
José Pedro
f3dfddc112
Fixed Binding.DoNothing for MultiBinding.
7 years ago
Steven Kirk
947598fcec
More tests forContentPresenter and InheritanceParent.
Make sure the inheritance parent is reset for non-rooted and standalone `ContentPresenter`s.
7 years ago
Steven Kirk
939d80788b
Added failing test for #2823 .
7 years ago
Dariusz Komosinski
868b5ea840
Update WeakReference usages to use the generic one.
7 years ago
Dariusz Komosinski
5f1a003e4f
Add failing unit test for TwoWay binding issue.
7 years ago
Nikita Tsukanov
0bad390dac
Added PointerUpdateKind and replaced InputModifiers with KeyModifiers
7 years ago
Nikita Tsukanov
3d4a2781b0
Switched key events to use KeyModifiers
7 years ago
Nikita Tsukanov
07ed194c9d
Review comments
7 years ago
artyom
32aea583b1
Don't throw when in design mode
7 years ago
Steven Kirk
b4d7d03afd
Constrain to availableSize in MeasureCore.
#2431 erroneously removed the `.Constrain(availableSize)` call in `Layoutable.Measure`. Now that the WPF source is available, I can see i that WPF does in fact constrain measure to availableSize and Grid relies on this.
Put constraint back in, undo the changes to the controls changed in #2431 (`StackPanel`, `Image`) and update the expected test results based on cross-checks with WPF in https://github.com/wieslawsoltes/WpfUnitTests/pull/1 .
7 years ago
Steven Kirk
51ec592e4a
Added failing test for #2746 .
7 years ago
Steven Kirk
a6c9086782
Fix flaky XAML tests.
Make tests that load XAML inherit from `XamlTestBase` which ensures that `Avalonia.Markup` is loaded.
7 years ago
Steven Kirk
cdb486fe23
Fix NRE in VisualNode.SortChildren.
`_children` may be null. In addition if there are < 2 children, there's no sorting to be done.
7 years ago
Steven Kirk
c65b5de959
Move setting popup TemplatedParent...
...out of `PopupRoot` and into `Popup`. Fixes styling problems in `Popups` hosted in control templates.
7 years ago
Steven Kirk
6caa06f52b
Remove PopupContentHost.
It's no longer needed now the bug fix in 669c6511d6 is in place.
7 years ago
Steven Kirk
669c6511d6
Reset inheritance parent in ContentPresenter.
Previously a dangling reference to `ContentPresenter` was left in place in the ex-child control's `InheritanceParent`. When the child is removed from the `ContentPresenter`, reset the value to the control's logical parent.
7 years ago
Steven Kirk
142ead4d39
Make tests compile on CI.
7 years ago
Nikita Tsukanov
f9561260a3
IPopupImpl is now optional advanced feature
7 years ago
Steven Kirk
d0a6f48015
Added `Gestures.RightTapped`.
7 years ago
Steven Kirk
5e2b3c56e6
Update tests for #2730 .
7 years ago
Nikita Tsukanov
fafd27243f
Fixed tests
7 years ago
Steven Kirk
2c9114d2a2
Moved gesture tests to Avalonia.Input.
As `Gestures` is defined here, not in Avalonia.Interactivity.
7 years ago
Steven Kirk
41e9999ae7
Move MouseTestHelper to Avalonia.UnitTests.
7 years ago
Nikita Tsukanov
79cf3e5cea
Completely re-create PopupRoot on reopening Popup
7 years ago
Nikita Tsukanov
8e5c8fee07
Somewhat fixed tests
7 years ago
Nikita Tsukanov
9343ba4c23
Wired up the popup positioner
Tests are failing because they are trying create popups out of a thin air
7 years ago
Nikita Tsukanov
35f64af761
Make toplevels responsible of creating popups
7 years ago
Steven Kirk
0e7f4cac81
Ensure control is invalidated on ZIndex change.
7 years ago
Steven Kirk
bc5a101faf
Render changes to child order/zindex.
Fixes #2714 .
7 years ago
Steven Kirk
32d7938c7c
Added failing tests for #2714 .
7 years ago
Steven Kirk
835cc6e051
Added failing test for #2754 .
7 years ago
Steven Kirk
b8c4c0e873
Fix failing tests.
7 years ago
Dariusz Komosinski
ad994a685c
Fix PriorityValue usage of DeferredSetter. Implement slower path in DeferredSetter that deals with callbacks.
7 years ago
Dariusz Komosinski
48be9dc260
Remove old DeferredSetter implementation. Cleanup code, add license info.
7 years ago
Dariusz Komosinski
812c5f30c9
Remove SetAndRaise callback handling. Move event raising to setter.
7 years ago
Steven Kirk
cae46af287
Fixed typos.
7 years ago
Steven Kirk
0b88151b65
Fix tests failing after merge.
7 years ago