Emmanuel Hansen
0713754f8e
rename scroll snap points provider and add docs
1 year ago
Emmanuel Hansen
859c1be57e
wip
1 year ago
Emmanuel Hansen
77dfb2e2d4
fix wrong snap point params
1 year ago
Maxwell Katz
6f27eecb2a
End/close AppKit sheets attached on window when we hide it ( #17968 )
1 year ago
BobLd
06ab70928d
Ensure VirtualizingStackPanel correct element size estimate and fix #17460 ( #17461 )
Co-authored-by: Emmanuel Hansen <emmausssss@gmail.com>
1 year ago
Nikita Tsukanov
03f91a2c3d
Update compat dispatcher priorities ( #17948 )
1 year ago
Compunet
7071c7a8d6
Reset bidi levels of trailing whitespace after text wrapping (According to TR9 guidelines) ( #17924 )
* Reset bidi levels of trailing whitespaces to paragraph embedding level after text wrapping
* Added unit tests
1 year ago
heartacker
a647c5c9ad
fix #17931 ( #17932 )
Update TextBox.xaml
1 year ago
Compunet
8fe22dc3ee
Fix TextLayout overflow ( #17914 )
* Update TextLayout only if finalSize is different from _constraint
* Added comment
1 year ago
Julien Lebosquain
f2f017c9e1
Nullable annotations for X11 ( #17814 )
* Nullable annotations for X11
* Address review
1 year ago
Emmanuel Hansen
e8d3544c9e
add ISkiaGpuWithPlatformGraphicsContext interface to vulkan skia gpu ( #17895 )
1 year ago
Emmanuel Hansen
53e8d99758
fix segfault crash when native surface is destroyed while there's rendering queued on vulkan android ( #17921 )
1 year ago
Tom Edwards
0dd628ffb7
Added Binding.Delay feature ( #16805 )
1 year ago
Kieran Devlin
07f3ad23e4
Clamp progressbar indicator width and height to never drop below zero when calculating size. ( #17816 )
Fixes #17393
1 year ago
Julien Lebosquain
6b812c8468
Fix double build of Avalonia.Build.Tasks ( #17813 )
1 year ago
Maxwell Katz
b6541c7c8a
Add NonPumpingLockHelper.Use to the SyncCommit ( #17812 )
1 year ago
Benedikt Stebner
759facea18
Align bitmap memory to 4 bytes ( #17774 )
* Align BitmapMemory to four bytes
* Correct RowBytes calculation
1 year ago
Julien Lebosquain
032cdcb4c7
[macOS] Prevent popups from stealing focus ( #17794 )
1 year ago
Dan Walmsley
8f198f9796
[MacOS] fix small memory leak. base.Dispose so that _nativeControlHost and _mouse are disposed correctly. ( #17783 )
1 year ago
Nikita Tsukanov
db02bf0ecc
Auto free finished vulkan command buffers in gpu interop feature implementation ( #17782 )
1 year ago
Maxwell Katz
b8808386b2
Update pen tap settings ( #17780 )
* Apply touch TapSize settings for Pen too
* Windows: use GetSystemMetrics only for Mouse pointer type, and call base implementation for rest
1 year ago
Nikita Tsukanov
0efe89e063
Implemented XEmbed client support with GtkSharp usage example ( #17446 )
1 year ago
Nikita Tsukanov
eada7ba983
[GLX] Resize the platform render target to compositor-provided size ( #17779 )
We should be doing that for other platforms later as well, since only compositor knows what scene size it's planning to draw
1 year ago
Maxwell Katz
6cd1cb4721
Update bug_report.yml
1 year ago
Washi
e991d63527
Add SpanStringTokenizer and avoid many string allocations in FontCollectionBase ( #17745 )
* Create ref struct variant of StringTokenizer and reduce string allocations in FontCollectionBase
* Replace constant enum mappings with EnumHelper shim calls
---------
Co-authored-by: Max Katz <maxkatz6@outlook.com>
1 year ago
metaone01
af11240107
bugfix: ScrollBar will be hidden when ScrollBarVisibility is specified as Visible ( #17718 )
* test:A unittest for debug MenuScrollingVisibilityConverter
* bugfix: ScrollBar will be hidden when ScrollBarVisibility is specified as Visible
1 year ago
Stephen Monaco
860879abad
Fix KnownFolder for x86 Windows ( #17705 )
* Fix KnownFolder for x86 Windows
* Remove try-finally
1 year ago
Julien Lebosquain
9d03a01afa
Made OneTime bindings update on DataContext changes ( #17683 )
* Add failing tests for OneTime and null data context bindings
* Made OneTime bindings update on DataContext changes
Also allows null as a valid value for bindings without path
* Remove now obsolete test
1 year ago
c4llv07e
be8edab05b
Ignore key modifiers on text editing if field is a password field. ( #17695 )
* Ignore key modifiers on text editing if field is a password field.
It's not secure to rely on password field content when moving. It's should
give no information what so ever.
* Required changes
1 year ago
Julien Lebosquain
3e1940f766
Fix Closed not being called for macOS popups ( #17753 )
1 year ago
Steven Kirk
d3a2b08664
Don't set _isModal when changing window parent. ( #17742 )
The modality of a window is decided at the time it is shown, and indicated by the `isDialog` parameter to `WindowImpl::Show`.
The code was also rather confusing in that `_isModal` was defined in `WindowBaseImpl` but `WindowBaseImpl.IsModal` always returned false. `WindowImpl.IsModal` then overrode `IsModal` to return WindowBaseImpl._isModal. That's messed up. Just define `_isModal` in `WindowImpl` not `WindowBaseImpl`.
1 year ago
Benedikt Stebner
44a784a8af
[Text] Make BreakUnit a readonly struct ( #17729 )
* Make BreakUnit a readonly struct
* Simplify WithLinkeBreakClass
1 year ago
Benedikt Stebner
894d2386ab
Calculate Bounds and InkBounds for TextLayout to be able to calculate the minmal required width. ( #17721 )
1 year ago
Benedikt Stebner
0a8b2c70e2
Update cursor without checking for IsPointerOver because that flags gets written after the SetCursor is called ( #17726 )
1 year ago
Washi
20a40d9778
Use flat array cache instead of more expensive ConcurrentDictionary in Avalonia.Skia.GlyphRunImpl ( #17727 )
1 year ago
Benedikt Stebner
4c428d073d
Update Unicode data and algorithms to v. 16.0 ( #16919 )
* Fix BiDi algorithm and tests
* More adjustments
* Add EastAsianWidth trie and class
* Start implementing Unicode v15.1 Standard Annex #14
* Update Unicode data to V15.1 and initial Unicode® Standard Annex #14 implementation
* Some adjustments
* More fixes
* 543 to go
* 273 to go
* Almost done
* Finish up line breaker
* Some adjustments
1 year ago
Jumar Macato
aa858f3b4e
Add missing nullcheck in AvnView::mouseEvent ( #17709 )
1 year ago
Meloman19
18fcfcc163
Expanding StringTokenizator with ReadOnlySpan. ( #17645 )
* Tokenizer returns a ReadOnly Span instead of a string.
* Returning the old property for no API break changes
---------
Co-authored-by: Meloman19 <23280622+Meloman19@users.noreply.github.com>
1 year ago
nickodei
ab1d77a30d
xdg-open filepath is escaped with quotation-marks correctly ( #17682 )
1 year ago
laolarou
a42d874449
DropShadowDirectionEffect: add AffectsRender for ShadowDepthProperty and DirectionProperty ( #17664 )
* Update DropShadowEffect.cs
* Update DropShadowEffect.cs
---------
Co-authored-by: Julien Lebosquain <julien@lebosquain.net>
1 year ago
Max Katz
da4be92fa0
BoolConverters.Not should support ConvertBack ( #17658 )
* BoolConverters.Not should support ConvertBack
* Add previously missing BoolConvertersTests and StringConvertersTests
* Fix "false & true" test case
1 year ago
Max Katz
a530bbeb99
Make MarkupExtension.ProvideValue method inlinable for StaticResourceExtension and ResolveByNameExtension ( #17659 )
1 year ago
MizuKuma
44a6f91bc5
Fix broken pre-edit markedText on iOS and solve #17523 ( #17618 )
* fix: add missing ref keyword to CombinedSpan3.CopyFromSpan
* fix: fix incorrect indent in IUITextInput.TextInRange and boundary condition for surroundingText
---------
Co-authored-by: Max Katz <maxkatz6@outlook.com>
1 year ago
Dong Bin
9ef11b030e
feat: implement Matrix.CreateRotation with center point. ( #17657 )
1 year ago
Alexander Marek
7210eff633
#17675 - AfterPlatformServicesSetup callbacks are not called by the AfterApplicationSetup callbacks anymore ( #17676 )
1 year ago
Julien Lebosquain
f4633e210c
Fix TextBlock re-measure in infinite container ( #17638 )
* Add failing test for TextBlock
* Fix TextBlock re-measure in infinite container
* Fix outdated test
---------
Co-authored-by: Max Katz <maxkatz6@outlook.com>
1 year ago
Julien Lebosquain
1583de3e33
Fix random test failures and add empty dispatcher verification to tests ( #17628 )
* Add VerifyEmptyDispatcherAfterTestAttribute
* Use VerifyEmptyDispatcherAfterTest and fix failing tests
* Remove unsupported timeout from sync xUnit tests
1 year ago
Julien Lebosquain
e8ce57871e
Add missing ItemGroup to build tasks ( #17630 )
1 year ago
Julien Lebosquain
bed48a7bb6
Rework XAML compilation targets ( #17539 )
* Added BuildTests projects
* Added VerifyXamlCompilation build target
* Use TargetsTriggerByCompilation for XAML compilation
* Add *.binlog to gitignore
* VerifyXamlCompilation target: set NuGetPackageRoot
* Ensure WpfHybrid build test uses two markup compilation passes
* Fail build tests restore immediately if AvaloniaVersion isn't set
* Fix "could not extract MVID" for up-to-date builds
* Run VerifyXamlCompilation on CI
* Add FSharp build test
1 year ago
Julien Lebosquain
c851c7a310
Fix macOS ActivatableLifetime events ( #17608 )
1 year ago