Julien Lebosquain
ac00fe2bf4
Key handling improvements ( #12549 )
* Physical key handling for Windows
* Physical key handling for macOS
* Physical key handling for X11
* Physical keys: cleanup unused keys
* Key symbols: ensure consistent behavior between platforms
* Fix dead key symbol for Windows
* Physical key handling for browser
* Physical keys: use new overloads where possible
* Key symbol for VNC
* Physical key handling in previewer
* Key symbol for forwarded X11 IME key
* Key symbol for Android
* Obsolete old RawKeyEventArgs ctor
* Fix key symbols for macOS with modifiers
* Adjust PhysicalKey members naming
* Use explicit std::hash for AvnKey/AvnPhysicalKey
Should hopefully satisfy the older compiler on the CI server
* Headless: added KeyPressQwerty
---------
Co-authored-by: Dan Walmsley <dan@walms.co.uk>
Co-authored-by: Steven Kirk <grokys@users.noreply.github.com>
3 years ago
Vladimir Drobyshev
206b5fd1de
Fix - TextPresenter ignores FontStretch property ( #12947 )
* Test
* Fix
3 years ago
Julien Lebosquain
3515b99a92
Fix VirtualizingStackPanel and nth-child for the currently realizing item container ( #12957 )
* Added failing tests for VirtualizingStackPanel and nth-child
* VirtualizingStackPanel: support index of currently realizing item
3 years ago
workgroupengineering
1cb271fb37
fix: Xaml Compiler error when code-behind class contains a `DllImport` method ( #12882 )
* fix: Avalonia.Generators not found
if you put SourceGenerators.props in a project with path are like this:"C:\GitHub\Avalonia\sample\mobile\android\ANoteSample\ANoteSample.csproj", the Compiler is not able to found `Avalonia.Generators`
* test: Add test #10046 Xaml Compiler error when code-behind class contains a DllImport method
* fix: Xaml Compiler error when code-behind class contains a DllImport method
* fix: Address Review
* fix: ValidateApiDiff has thrown an exception
3 years ago
Mihnea Rădulescu
7b67fda0eb
Fix issue 4427 - System.InvalidOperationException: Default font family name can't be null or empty ( #12817 )
* Fix issue 4427 - System.InvalidOperationException: Default font family name can't be null or empty
* Updated FontManager
* Removed Linq usage from FontManager
---------
Co-authored-by: Mihnea Rădulescu <>
Co-authored-by: Benedikt Stebner <Gillibald@users.noreply.github.com>
3 years ago
Benedikt Stebner
cb461ab043
Allow multiple font sources per FontFamily and make sure combinations of system and embedded fonts can be used ( #12871 )
3 years ago
Benedikt Stebner
fac9e55f69
Introduce PixelFormatWriter ( #12807 )
Introduce PixelFormatTranscoder
Introduce Bitmap.CopyPixels that transcodes pixel and alpha format
3 years ago
Julien Lebosquain
a2b7ca47e5
Fix interpolator being called after last animation iteration ( #12781 )
Co-authored-by: Steven Kirk <grokys@users.noreply.github.com>
3 years ago
Julien Lebosquain
b9c8e71981
Ensure GlyphRunImpl has consistent bounds ( #12765 )
* Add GlyphRun InkBounds failing test
* Ensure GlyphRunImpl has consistent bounds
3 years ago
Steven Kirk
45e5d25ccf
Implemented Geometry.GetWidenedGeometry.
3 years ago
Benedikt Stebner
21cc95a014
Fix failing test
3 years ago
Emmanuel Hansen
a030d29d15
add failing test
3 years ago
Steven Kirk
03ff228a6d
Preserve container themes set locally.
3 years ago
Steven Kirk
f347eaf711
Accept base TargetType in ItemContainerTheme
3 years ago
Steven Kirk
b024bb463b
Add tests for #12620 .
One failing.
3 years ago
Bill Henning
16ab9c595c
Fix for TextBlock.TextDecorations not inheriting down to inlines.
3 years ago
Nikita Tsukanov
96da4f0699
When calculating geometry bounds take into account parameters that affect geometry bounds
3 years ago
Boyd Patterson
932b40b19b
Added unit tests for TextBox to verify MaxLines property assigns the ScrollViewer.MaxHeight based on line height.
3 years ago
stepan_govorko
f5c93a50ab
added more comments
3 years ago
stepan_govorko
77dc35bf46
Introduced counting of rendered visuals in ServerCompositionVisual and added relevant unit tests in CompositorInvalidationClippingTests. The new tests ensure that visuals that are not in dirty rect are rendered correctly with different ClipToBounds and Clip geometry parameters.
3 years ago
adirh
038c963750
Fixed unit test
3 years ago
adirh
5f7d823b59
Added unit test
3 years ago
flexxxxer
5b182890f3
Added unit tests for non-disposable DataContext issue ( #12123 )
3 years ago
flexxxxer
c418442d13
Revert "unit tests added"
This reverts commit b0f6d17c55 .
3 years ago
flexxxxer
b0f6d17c55
unit tests added
3 years ago
flexxxxer
9ba9414c22
unit test for issue added
3 years ago
daniel
953ec9b3ef
Remove BypassLogicalChildrenManagement and use OnPropertyChanged
3 years ago
Benedikt Stebner
bd3f097895
Adjust behavior to match what WPF expects
3 years ago
Benedikt Stebner
1e64c51879
Adjust test
3 years ago
Benedikt Stebner
9c94158ae7
Make sure TextLine.GetCharacterHitFromDistance for mixed buffers
3 years ago
mrxx99
0ce9a6ed87
Fix creating fields for attached properties called name. closes #12283
3 years ago
Julien Lebosquain
515e0843de
Handle ScrollContentPresenter extent rounding errors
3 years ago
Benedikt Stebner
250743d786
Rework GetNext/PreviousCharacterHit
3 years ago
Steven Kirk
f89a0b2ac9
Added failing test for #11220 .
3 years ago
daniel
abc7eea336
simplifies the first test
3 years ago
daniel
add676efab
Add failing tests
3 years ago
Julien Lebosquain
237e4cba69
Fix InlineDictionary enumeration when an array is used
3 years ago
Vladimir Kulikov
0013f44444
Setting child of TestRoot once
3 years ago
Daniil Pavliuchyk
0e038492f7
Do not set Window Startup Location multiple times
3 years ago
AtomCrafty
42ad2fd46e
add regression test for AutoCompleteBox with MinimumPrefixLegth=0
3 years ago
Nikita Tsukanov
8680c612fd
OSX rendering refactoring
3 years ago
Max Katz
fbca526f85
Seal CreateDefiningGeometry
3 years ago
Max Katz
4c0873eb9a
Fix build
3 years ago
Julien Lebosquain
862c175725
Fix ScrollContentPresenter's child margin with layout rounding
3 years ago
Giuseppe Lippolis
c7b92e2026
fix: AvaloniaPublicKey.props multiple import
Warning MSB4011 "C:\GitHub\Avalonia\build\AvaloniaPublicKey.props" cannot be imported again. It was already imported at "C:\GitHub\Avalonia\Directory.Build.props (2,3)". This is most likely a build authoring error. This subsequent import will be ignored. Avalonia.Markup.Xaml.UnitTests C:\GitHub\Avalonia\tests\Avalonia.UnitTests\Avalonia.UnitTests.csproj 25
3 years ago
Steven Kirk
9d051a6a64
Added failing test for #11484 .
3 years ago
Giuseppe Lippolis
c368048aef
test(LIstBox): Space handling
3 years ago
Julien Lebosquain
7c2062c102
Reset LayoutTransformControl matrix when transform is removed
3 years ago
Tim
ebb9bf5052
fix unit tests
3 years ago
Jumar Macato
bbade94d98
add new unit tests for fillmodes/delay behavior
3 years ago