yoyo
7cf3b0f9ae
fix: reverse TickBar when Slider direction is reversed ( #19096 )
1 year ago
Max Katz
1a9463effd
Cleanup InvalidationAwareSurfaceView related code ( #19045 )
* Use NDK instead of C#-JNI for choreographer
* Mark IAndroidView as obsolete, it was replaced long time ago
* Minor cleanup in TopLevelImpl, remove unused methods
* Remove ancient renderer support with Invalidate/Paint calls, drastically simplify InvalidationAwareSurfaceView
* Some simple mitigation against of double release
* Implement ISurfaceHolderCallback2 and handle SurfaceRedrawNeeded
* Handle SurfaceRedrawNeededAsync as well
1 year ago
Tom Edwards
64ab38f3d2
Added missing class event handler methods ( #18837 )
* Added missing class event handler methods
* Moved handling of Holding event in Control to the class method
* Exposed Gesture.RightTappedEvent as InputElement.RightTapped and added a class handler
This event was already being raised, but you wouldn't know about it unless you looked into Avalonia's internals
1 year ago
Emmanuel Hansen
3a16c45e8c
Android - Reset android input method focus and connection state when text input focus is removed ( #19083 )
* reset android input method focus and connection state when text input focus is removed
* addresses comment
1 year ago
Tim Miller
b25a438d6f
[Avalonia.Native] Add shouldResize value to SetWindowState, don't resize on Window move ( #19088 )
* [Avalonia.Native] Add shouldResize value to SetWindowState, don't resize on Window move
* Handle Window move as well
* Wrap around Switch
1 year ago
Zhang Dian
33c58a965f
feat: add TreeViewItemIndentConverter for dynamic margin calculation ( #18718 )
1 year ago
Emmanuel Hansen
b2c71127ab
revert changes preventing status bar theme from being updated ( #19076 )
1 year ago
lindexi
c0ba356a96
Fix WindowCloseReason of WindowClosingEventArgs Passed During System Shutdown ( #19055 )
Fix https://github.com/AvaloniaUI/Avalonia/issues/19027
1 year ago
Paillat Laszlo
6e6477d406
changed MenuItem Icon to properly set :icon pseudo class as long as value is not null ( #19075 )
1 year ago
Emmanuel Hansen
36fe4145dd
fix oversight with display edge to edge detection for android 16 ( #19067 )
1 year ago
Tom Edwards
43da5c6a77
Corrected PointerPointProperties inline documentation ( #19062 )
Made PointerEventArgs.Properties public, to better support pattern matching
1 year ago
Tim Miller
b5b5ec2d38
[Avalonia.Native] Respect info.plist values for setActivationPolicy ( #19066 )
* [Avalonia.Native] Respect info.plist values
* Only set setActivationPolicy if it's different from the users default
1 year ago
M0N7Y5
cf0158ddba
fix: Prevent DXGI from intercepting Alt+Enter and PrintScreen ( #18970 )
* disable key shortcuts forced by dxgi composition
* moved enum, fixed types
1 year ago
Max Katz
3a3dc4e8fe
Handle SurfaceRedrawNeededAsync as well
1 year ago
Max Katz
c449c097cc
Implement ISurfaceHolderCallback2 and handle SurfaceRedrawNeeded
1 year ago
Max Katz
8826fc7382
Some simple mitigation against of double release
1 year ago
Max Katz
78b47a61ae
Remove ancient renderer support with Invalidate/Paint calls, drastically simplify InvalidationAwareSurfaceView
1 year ago
Max Katz
b9531fb5b2
Minor cleanup in TopLevelImpl, remove unused methods
1 year ago
Max Katz
5525e99335
Mark IAndroidView as obsolete, it was replaced long time ago
1 year ago
Max Katz
f33dca36a0
Use NDK instead of C#-JNI for choreographer
1 year ago
Emmanuel Hansen
13413579b5
Switch to using animation request for scroll inertia dispatch ( #18997 )
* switch to using animation request for scroll inertia dispatch
* run inertia calcs in dispatcher operation
1 year ago
Emmanuel Hansen
2b3b1ef1e9
android: better api level detection for display edge to edge and ignore system bar color changes if on api level 35 ( #19034 )
* android: better api level detection for display edge to edge and ignore system bar color changes if on api level 35
* allow fully transparent nav bars when display edge to edge is forced
1 year ago
Emmanuel Hansen
45cd39829a
Add ability to cancel focus change ( #18373 )
* implement pre events for focus change
* add cancelling api to focus change
* add overload for SetFocusedElement
* add focus redirection
* update with api change requests
1 year ago
Julien Lebosquain
f4a9c10ffe
Extend dirty rect when UseLayoutRounding=false ( #18511 )
Co-authored-by: Benedikt Stebner <Gillibald@users.noreply.github.com>
1 year ago
Whiletru3
1231aba155
Fix for #19035 On macOS, the SuggestedStartLocation is not set if the FileTypeChoices Is not null ( #19036 )
1 year ago
Emmanuel Hansen
2dc808f3e8
Fix insets on android 15 ( #18844 )
* fix insets on android 15
* add api diff
* fix nit
1 year ago
Nikita Tsukanov
72fa47157c
[ANDROID] Skip glWaitClient/glWaitGL/glWaitNative ( #18974 )
1 year ago
Max Katz
9ae2458bad
More IDL uint fixes ( #18993 )
* Update win32.idl
* Update dcomp.idl
1 year ago
Julien Lebosquain
950da6eaf6
Fix LostFocus not raised on macOS ( #18990 )
1 year ago
Julien Lebosquain
faca1709fb
Fix DirectX signatures ( #18991 )
1 year ago
Nikita Tsukanov
37121ba3be
[Android] Do not underutilize CPU/GPU when can't keep up with refresh rate ( #18973 )
1 year ago
Compunet
6de76dd7f2
fix: ensure proper StringBuilderCache release ( #18985 )
1 year ago
Nikita Tsukanov
9c30e85ba8
Remove old linux hack ( #18989 )
1 year ago
Max Katz
c44695aff0
Bump Angle version ( #18982 )
1 year ago
Shaojun Li
ae37ccd53e
Fix infinite animation memory leak. ( #18980 )
1 year ago
Nikita Tsukanov
bc5816d61a
Implement IDispatcherImpl for Android based on Looper and MessageQueue ( #18975 )
1 year ago
Julien Lebosquain
337f004786
Fix BindingEvaluator.ClearDataContext ( #18964 )
* Add failing test for BindingEvaluator.ClearDataContext
* Fix BindingEvaluator.ClearDataContext
1 year ago
Max Katz
40a045fed5
Don't expect WasmRuntimeAssetsLocation to be always set ( #18947 )
* Try to gracefully fallback when WasmRuntimeAssetsLocation is unset
* Fix RenderWorker trimming annotations
* Avoid reflection binding here
---------
Co-authored-by: Julien Lebosquain <julien@lebosquain.net>
1 year ago
Compunet
3e01a53dec
Reuse single HarfBuzz buffer in TextShaperImpl ( #18892 )
1 year ago
Johan Appelgren
c0bd5078f5
Don't round size in TextBlock when UseLayoutRounding is false ( #18456 )
* Don't round size when UselayoutRounding is false for TextBlock. Fixes #18423
* Added back size rounding
* Removed rounding again for the text size and fixed padding rounding in RenderCore
1 year ago
Johan Appelgren
66a8d1bfe0
Fix MeasureCore when there's a size constraint and there's a negative margin. ( #18462 )
1 year ago
Tom Edwards
513d1d96ec
Fixed RectangleGeometry not cloning its radius properties ( #18934 )
1 year ago
Tom Edwards
edeca6a4db
Fixed transitions with delay but no duration completing instantly ( #18929 )
1 year ago
Benedikt Stebner
ae0573a789
Make typeface matching and synthetic typeface creation customizable ( #18890 )
* Make typeface matching and synthetic typeface creation customizable
* Rename test collection
* Revert breaking change
* Directly use the DefaultFontFamily name when the alias is being used
1 year ago
Tim Miller
76dc499ba8
Remove Keyboard Theme Override ( #18922 )
1 year ago
Emmanuel Hansen
2fce3c53ad
remove win32 dialog dpi hack ( #18923 )
Co-authored-by: Steven Kirk <grokys@users.noreply.github.com>
1 year ago
Tim Miller
10fb435004
Bump ImageSharp ( #18924 )
Co-authored-by: Steven Kirk <grokys@users.noreply.github.com>
1 year ago
Benedikt Stebner
0b87d23935
Fix gradient stop reordeing ( #18907 )
1 year ago
Tom Edwards
fa9f2237f3
Fixed focus not being cleared when a parent of the focused element is hidden ( #18916 )
Enabled the relevant test
1 year ago
Rastislav Svoboda
c114507bef
fix TextBox multiline selection with up/down keys till start/end of text ( #18746 )
* fix: TextBox multiline selection with up/down keys till start/end of text
* refactor to preserve public API of TextPresenter
* refactor and cleanup
1 year ago