Giuseppe Lippolis
75bd449a69
feat: Implement Post<T> method of IDispatcher.
5 years ago
Giuseppe Lippolis
df5250e155
ref(tests): warning CS0067 The event 'TrackingResourceProvider.OwnerChanged' is never used
5 years ago
Giuseppe Lippolis
7d8e6ea75f
ref(tests): warning CS0067 The event 'KeyboardDeviceTests.DelegateCommand.CanExecuteChanged' is never used
5 years ago
Giuseppe Lippolis
8b6f264379
ref(test): removed warning CS0105 The using directive for 'System' appeared previously in this namespace
5 years ago
Steven Kirk
cd80536d58
Added failing test for #6439 .
5 years ago
Max Katz
0f83ccb4b0
ContentPresenter should create child without content, if template was set ( #6226 )
* Fix #6224
* Fix data templates Match
* Do not use preview features
* Do not create Child if Content is null and DataTemplate was set
* Update src/Avalonia.Base/Utilities/TypeUtilities.cs
* Update src/Avalonia.Controls/Presenters/ContentPresenter.cs
* Update src/Avalonia.Controls/Presenters/ContentPresenter.cs
5 years ago
Steven Kirk
9718a77fa9
Skip TextLayout render tests on OSX.
They were failing due to slightly different text rendering on that platform.
5 years ago
Wiesław Šoltés
5b9f06865e
Update expected test files
5 years ago
Dan Walmsley
0ddc444d2c
Rename eventargs class.
5 years ago
Dan Walmsley
2a4830bf5b
fix tests.
5 years ago
Dan Walmsley
c9458e5be8
use a ShutdownRequestedEventArgs class to future proof the event args.
5 years ago
Dariusz Komosinski
c598b3883a
Add unit test that verifies ordering.
5 years ago
Steven Kirk
f6fce366cd
Added failing tests for TextLayout when used with a transform.
5 years ago
Steven Kirk
ba369a9059
Fix auto-scaling on win32.
- Adds a "resize reason" to platform `Resized` events
- Which is used by the auto-sizing code to determine whether to reset `SizeToContent`
- Also other improvements to the reset logic for `SizeToContent`:
- Don't reset it if the size hasn't changed
- Don't reset it if `CanResize == false`
- Only reset the dimensions whose size has changed
- Obsolete the `BeginAutoSizing`/`AutoSizing` feature in `WindowBase`
5 years ago
Steven Kirk
911262bf3f
Correctly handle long-form bindings with empty path.
5 years ago
Steven Kirk
551380e71d
Added failing test for #4392 .
5 years ago
Steven Kirk
298dd4e299
Added ShutdownRequested to IClassicDesktopStyleApplicationLifetime.
5 years ago
Dariusz Komosinski
cca1d4abc4
Fix even more tests.
5 years ago
Dariusz Komosinski
e55c11ec37
Fix unit tests.
5 years ago
Benedikt Stebner
a55a6ec1ff
Fix RightToLeft TextWrapping
5 years ago
Dan Walmsley
b250fce59c
rename test to describe the actual issue.
5 years ago
Dan Walmsley
a295cac930
test more keys.
5 years ago
Dan Walmsley
73aaefcc32
add a failing unit test to demonstrate the issue.
5 years ago
Dan Walmsley
ac45578575
initial attempt at unit test
5 years ago
Steven Kirk
a42334d128
Hide child windows when hiding parent/owner.
5 years ago
Steven Kirk
15cdee1bee
Ensure parent/owner windows are visible when showing child.
5 years ago
Steven Kirk
69852a56f5
Don't allow self as parent/owner window.
5 years ago
Steven Kirk
ea3f85e126
Don't allow using a closed window as a parent/owner.
5 years ago
Steven Kirk
cd51d638e9
Pass dialog flag to window impl Show.
Not doing anything with it yet.
5 years ago
Giuseppe Lippolis
83c141172f
feat(tests): Add test to check closing window on Alt+F4 KeyDown when ComboBox is focused
5 years ago
Giuseppe Lippolis
b4e11b227d
fixes: code documentation
5 years ago
Max Katz
e44256b5dd
Skip failing tests, issue created
5 years ago
Max Katz
04d3ce168e
Add failing test
5 years ago
Max Katz
a49ba4b0e3
Add tests
5 years ago
Max Katz
9e2d104739
Add more tests
5 years ago
Max Katz
18812a217f
Fix ContextMenu tests
5 years ago
Max Katz
800788be20
Use ContextRequested event to show ContextFlyout + some refactoring of FlyoutBase
5 years ago
Max Katz
72c975ac0b
Use ContextRequested event to show ContextMenu
5 years ago
Nathan Garside
bccbf0570c
Make FrameSize nullable
5 years ago
Nathan Garside
d77d1fd5da
Rename to FrameSize
5 years ago
Nathan Garside
9feb2376a0
Squash toplevel-totalsize
5 years ago
Steven Kirk
82754cb163
Fixed gradient brush target rectangles.
When drawn via the `DrawingContext` gradient brushes were not taking the origin of the target rect into account, only the size.
Fixes #5947 .
5 years ago
Steven Kirk
a11270b07e
Add a sanity check to the test.
5 years ago
Steven Kirk
6b94cc4ed9
Added failing test for #5054 .
5 years ago
Steven Kirk
31d9b5b13a
Fix a couple of tests that only fail in debug mode.
Introduced in #6039 due to use of `Debug.Assert`.
5 years ago
Steven Kirk
7d608a33ee
Implemented ImageDrawing.
5 years ago
Steven Kirk
91ef212434
Added a couple of TabIndex tests.
5 years ago
Dariusz Komosinski
a21880d4a8
Remove old implementation benchmark.
5 years ago
Dariusz Komosinski
f2e93ecb87
Optimize shape rendering (pen creation mostly).
5 years ago
Steven Kirk
ec51318315
Make custom keyboard navigation work again.
5 years ago