Mike Irving
a529ae88d5
Grammatical corrections to product names: XCode -> Xcode, .Net -> .NET, Javascript -> JavaScript, MacOS -> macOS, MacOs -> macOS
4 years ago
amwx
759227799b
Fix Unit Tests
4 years ago
Steven Kirk
bdd576bfc0
Removed TopLevelImpl validating layer.
The validating layer introduced in #7369 has done its job and caught a few bugs, but was causing difficulties in certain places so removing it now.
Fixes #7573
4 years ago
Benedikt Stebner
0a3e5f5b91
Introduce Typeface.FontStretch and rework Skia typeface matching
4 years ago
Benedikt Stebner
95769ff007
Add TextBlock inlines support
4 years ago
Max Katz
7a58a27fd9
Remove DesktopRuntime project and move AppBuilder to PlatformSupport project
4 years ago
Benedikt Stebner
1db3296611
Fix TextBlock/TextPresenter measure/arrange
Fix TextTrimming for small width
Fix text splitting
Fix text editing shortcuts
4 years ago
Trym Lund Flogard
fa0428a1ab
add brush transition tests
4 years ago
dependabot[bot]
7fe0e4d313
Bump pathval
Bumps [pathval](https://github.com/chaijs/pathval ) from 1.1.0 to 1.1.1.
- [Release notes](https://github.com/chaijs/pathval/releases )
- [Changelog](https://github.com/chaijs/pathval/blob/master/CHANGELOG.md )
- [Commits](https://github.com/chaijs/pathval/compare/v1.1.0...v1.1.1 )
---
updated-dependencies:
- dependency-name: pathval
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
4 years ago
Luis von der Eltz
843676d876
Add UT
4 years ago
Dominik Matijaca
b040ac5414
ItemsControl: WrapSelection ( #6286 )
Add support for selection wrapping for ListBox, ItemsControl, ComboBox.
Co-authored-by: Steven Kirk <grokys@users.noreply.github.com>
Co-authored-by: Takoooooo <tako0qq@gmail.com>
Co-authored-by: Steven Kirk <grokys@gmail.com>
4 years ago
Benedikt Stebner
b308cdee71
Fix HitTestRange bidi test
4 years ago
Benedikt Stebner
617ca9492f
Fix MaskedTextBoxTests
4 years ago
Benedikt Stebner
c640bc21c6
Fix failing tests
4 years ago
Benedikt Stebner
27c7a5c724
Fix issues mentioned during review
4 years ago
Steven Kirk
888cc33170
Fix failing unit tests in debug mode.
#7369 introduced a validating layer over `WindowBase.PlatformImpl` that is only enabled in debug mode. This validating layer was causing unit tests to fail in debug mode but not on CI which runs tests in release mode.
Fix the problems:
- `PopupRoot` was not correctly disposing itself on `Dispose` - make it call `HandleClosed` in order to perform the same steps as when the popup is closed via other means
- Some unit tests try to access the `PlatformImpl` to get hold of a mock. Added `ValidatingWindowImpl.Unwrap` to allow this
- `ValidatingWindowBaseImpl.Activated` was setting the wrong property on the wrapped `PlatformImpl`.
4 years ago
Max Katz
4d866b544c
Replace shared project with Avalonia.PlatformSupport
4 years ago
Benedikt Stebner
3fdfdd64d2
Fix font fallback
Fix TextPresenter measure
4 years ago
Benedikt Stebner
b815a22d5a
Port WPF's FormattedText to Avalonia and rework TextPresenter
4 years ago
Takoooooo
71c438a4a3
fix
4 years ago
Dan Walmsley
245d23e741
use discards where possible.
4 years ago
Dan Walmsley
262f520335
Add more unit tests.
4 years ago
Dan Walmsley
79fdf5ee5f
Add another unit test to show that windows can cancel the shutdown.
4 years ago
Dan Walmsley
00c633ab3d
Add a unit test to show we can now cancel window closing shutdown modes.
4 years ago
Thehx
36d6222c75
Fixed and exposed PreciseArcTo for ellipses with extreme width:height ratios
4 years ago
Takoooooo
54d83f65c3
fix tests
4 years ago
Steven Kirk
ddb8f9c7de
Update unit tests to use new default theme URLs.
4 years ago
Benedikt Stebner
1855914717
Introduce HarfBuzz platform implementations for unit tests
4 years ago
Nikita Tsukanov
e516fe2e60
More Dispatcher.UIThread.RunJobjs() in tests
4 years ago
Nikita Tsukanov
b6219db4ad
More Dispatcher.UIThread.RunJobs in tests
4 years ago
Nikita Tsukanov
f010322a06
Force compacting WeakEvent subscriber list in before assertions in tests
4 years ago
Nikita Tsukanov
1221356df3
apicompat
4 years ago
Nikita Tsukanov
e6c08a13d7
Added reflection-free API for weak events
4 years ago
Takoooooo
21cc80932a
use IPlatformSettings instead of creating a separate interface.
4 years ago
Takoooooo
9af9a3f081
fix tests
4 years ago
Sergey Volkov
af902ae969
Add ViewContract to RoutedViewHost
4 years ago
Sergey Volkov
fe42fbfe6b
Add ViewContract to ViewModelViewHost
4 years ago
Jeremy Koritzinsky
54fdb5232b
Update tests
4 years ago
Steven Kirk
a242a17e30
Whitespace.
4 years ago
Max Katz
50a97dc22f
Add more popup tests
4 years ago
Jeremy Koritzinsky
1d5e262487
Use a dynamically-emitted trampoline method so we can handle the "execute method has a return type" case cleanly.
This also provides a location for us to add any other trampolines that we need to emit.
4 years ago
Takoooooo
c2145db99b
more fixes
4 years ago
Takoooooo
7fad72cca6
fix
4 years ago
Steven Kirk
98d061ec30
Fix failing unit tests.
4 years ago
Tako
1fbcd61e6f
Fix DoubleTapped on touch ( #7213 )
DoubleTapped now can be triggered by touch
Fixed DoubleTapped triggering logic, previously it could be triggered only when you click twice, didn't work when you click 4 times,6, etc.
Fixed Tapped to be triggered only once when you double-click, now it triggers Tapped once and DoubleTapped once instead of triggering Tapped two times and DoubleTapped once.Matches UWP behaviour.
4 years ago
Tim U
f69e3e642e
Fix: BlackoutDates test was failing
- Revert listen to colleciton changes as the collection is already synced
- Setup the needed bindings in the test control
4 years ago
Jeremy Koritzinsky
cdc8c9f078
Add some tests
4 years ago
Jeremy Koritzinsky
0576baf5b7
Add tests for full-fidelity method->delegate conversion in compiled bindings.
4 years ago
abdesol
b2ae473f2a
changed assert value of Button_Invokes_Doesnt_Execute_When_Button_Disabled from 1 to 0
4 years ago
abdesol
845ff07f1f
Button_Invokes_Doesnt_Execute_When_Button_Disabled test added
4 years ago