Dan Walmsley
4bc1801c2a
fix popup tests.
6 years ago
Steven Kirk
af950096cc
Added failing test for #3784 .
Had to refactor the `MockWindowingPlatform` a bit.
6 years ago
Steven Kirk
a98b22c40c
Pass close event to Popup.Closed.
So that the event can be marked as handled if necessary. Mark the event as handled in `AutoCompleteBox`, `ComboBox` and `DatePicker`, but _not_ `ContextMenu`. Fixes #3760 .
6 years ago
Steven Kirk
252733e41f
Added failing test for #3760 .
6 years ago
Steven Kirk
4d01dacd77
Remove copyright headers.
Some of our files had them, some didn't. They serve no purpose legally so best to remove the ceremony.
6 years ago
Dariusz Komosinski
01d26ed2ee
Failing unit tests for ComboBox losing focus on detach and Popup.Close raising Closed events for already closed popup.
6 years ago
Nikita Tsukanov
07ed194c9d
Review comments
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
Nikita Tsukanov
f9561260a3
IPopupImpl is now optional advanced feature
7 years ago
Nikita Tsukanov
fafd27243f
Fixed tests
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
Dariusz Komosinski
3c787b3d4d
Fix events for ContextMenu and Popup.
7 years ago
Nikita Tsukanov
1ab923c02e
Removed WithNameScope
7 years ago
Nikita Tsukanov
fa55755b71
Manually handle name scope registrations
7 years ago
Jeremy Koritzinsky
b0d013ad25
Fix tests.
8 years ago
Steven Kirk
5cc5b91930
Fix xunit warnings.
8 years ago
Steven Kirk
2bd26bd9b8
Added failing test for #1245 .
9 years ago
Steven Kirk
090a1ec8cf
Lazily initialize Styles.
Added an `IStyleHost.IsStylesInitialized` property to prevent the need for allocating empty `Styles` collections for many controls.
9 years ago
Nikita Tsukanov
eb6bfd3de8
Moved layout manager from service locator to ILayoutRoot
9 years ago
Steven Kirk
4730ee1c41
Fix spelling of descendant.
While "descendent" is an acceptable English spelling, "descendant" is the common spelling.
9 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
Steven Kirk
b61adbfd64
Detach PopupRoot from logical tree...
When parent `Popup` is detached. Together with previous comit also fixes
#706 .
10 years ago
Jeremy Koritzinsky
1429c4dd95
Fixed failing tests.
10 years ago
Steven Kirk
5be41985c3
Renamed Perspex -> Avalonia
10 years ago
Steven Kirk
eec9a1f44a
Added shared TestRoot class.
And use it in every unit test project except SceneGraph as that one is
different.
10 years ago
Steven Kirk
a6b74db847
Merge branch 'logical-tree' into leaks
10 years ago
Nikita Tsukanov
3c78704f55
Fix for tests
10 years ago
Steven Kirk
16c2242757
Implemented NameScopes
Some tests still failing as controls are only registered with name scope
when attached to a rooted visual tree. Need to work around this by
explicitly registering controls when applying template.
11 years ago
Steven Kirk
25fa7ddc6a
Added Carousel and CheckBox XAML styles.
11 years ago
Steven Kirk
01417ba883
Renamed ControlTemplate -> FuncControlTemplate
11 years ago
Nikita Tsukanov
a61fdc86b2
Removed IPlatformThreadingInterface mock since it's broken anyway
11 years ago
Nikita Tsukanov
323c1a49c1
Removed core dependency on Splat
11 years ago
Nikita Tsukanov
01e2c90bc5
Removed this.
11 years ago
Steven Kirk
145411020b
Ran .net core code formatter.
11 years ago
Steven Kirk
6151aef188
Removed file headers.
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
7b192505d7
Set TemplatedParent in popups.
Popups that appear in control templates should set the TemplatedParent
property of their child controls.
11 years ago
Steven Kirk
85dfbbb6d5
Moved Popup to Primitives namespace.
11 years ago
Steven Kirk
5303eb7cd8
Make all tests pass again.
Menus displaying weirdly though.
11 years ago
Steven Kirk
31d51123f6
Make Popup children be part of logical tree.
11 years ago
Steven Kirk
7eceb16220
Fix Border/Decorator measure with no child.
Should return border thickness + padding.
11 years ago
Steven Kirk
a4bf79b7cc
Moved tests to Tests subdir.
11 years ago
Steven Kirk
1a3a78847b
Converted tests to run with xUnit.
11 years ago
Steven Kirk
336e1c4ae2
Implemented ILogical.
11 years ago