Julien Lebosquain
06a3f7f1fd
Add Window.CanMinimize/CanMaximize ( #18117 )
* Add CanMinimize and CanMaximize to Window
* Win32 impl for CanMinimize/CanMaximize
* Add CanResize/CanMinimize/CanMaximize samples to control catalog
* X11 impl for CanMinimize/CanMaximize
* macOS impl for CanMinimize/CanMaximize
* Win32: don't allow restore when the window isn't resizable
* Additional documentation for CanMinimize/CanMaximize
* Add CanMinimize/CanMaximize logic to CaptionButtons
* Use START_COM_ARP_CALL
* Added CanMinimize/CanMaximize integration tests
* Fixed CanMaximize tests on macOS
1 year ago
yoyo
64a2a8a88e
Enable Copy and Cut in ContextMenu for AutoCompleteBox ( #19087 )
Co-authored-by: Julien Lebosquain <julien@lebosquain.net>
1 year ago
Emmanuel Hansen
e89bb8a25e
android - retrieve platform input config value ( #19446 )
1 year ago
walterlv
0307ab4a3e
Fix typo error of X11Window ClientMessageEvent.ptr5 ( #19439 )
1 year ago
Tom Edwards
862aee2b02
Removed all nullability overrides from TimePickerPresenter and DatePickerPresenter ( #19241 )
Fixed obscure cases where NullReferenceException could be thrown if a template hasn't been applied yet, or where it provides only some optional items
Replaced repeated string literals with shared const values
Relaxed template part requirements: RepeatButton to Button, Rectancle to Control
1 year ago
Grigorii Vasilchenko
5968918bed
WeakEvent subscription management thread race condition fix ( #19383 )
* Fixed thread-race condition when INotifyCollectionChanged event fired on non-ui thread
* Fixed WeakEvent thread-race condition (NullReferenceException) when event fired on non-ui thread
* Limited delegates creation in WeakEvent
* Avoid casting in WeakEvent
1 year ago
Julien Lebosquain
4b82a4e11d
Fix Android duplicated pointer events ( #19440 )
1 year ago
lwz-sabrina
6e911e8aed
Enable tray icon creation in all circumstances when running as an admin ( #19382 )
* Fix trayicon unable to create
* Revert "Fix trayicon unable to create"
This reverts commit 4f397dbcdf .
* Fix trayicon unable to create
* Use ChangeWindowMessageFilterEx in Win32Platform.CreateMessageWindow
* modify the format
* Change the enum from ChangeWindowMessageFilterEx
* Change the enum from ChangeWindowMessageFilterEx
1 year ago
Alexander Marek
d58e68dd1f
#18626 - improved scrolling performance in VirtualizingStackPanel.cs by reducing Measure/Arrange calls since they cause heavy GC pressure on constrained devices (Android, iOS) especially with complex item views ( #18646 )
Co-authored-by: alexander.marek <alexander.marek@opti-q.com>
Co-authored-by: Steven Kirk <grokys@users.noreply.github.com>
Co-authored-by: Julien Lebosquain <julien@lebosquain.net>
1 year ago
Emmanuel Hansen
ccbb126ce1
restrict souce of input event sto parent view on android ( #19289 )
1 year ago
Tim Miller
999bf886f8
[iOS] Implement Save File Picker Support ( #19364 )
* [iOS] Implement Save File Picker Support
* Delete folder instead
* Use StorageProviderHelpers
* Use FromBytes to create blank file
1 year ago
Emmanuel Hansen
5a1476375f
Set IsKeyboardFocusWithin to false when control is detached from visual tree ( #19369 )
* add failing IsKeyboardFocusWithin test for popup
* Set IsKeyboardWithin to false when detached from visual tree
1 year ago
Tim Miller
3da7aa4840
[iOS] Enable Pointer/Trackpad scrolling ( #19342 )
* [iOS] Enable Pointer/Trackpad scrolling
* Cleanup
* Update comments, make sure StopMomentumScrolling is called when momentum stops
* Wrap RawMouseWheel Invoke call with null check
* Replace check
1 year ago
Vladislav Pozdniakov
92d9737f99
Fixes/osx thick titlebar pointer events streaming, (tabs interface) #15696 ( #19320 )
* Added failing test for OSXThickTitleBar drag events outside thick title area
* MacOS. Added event tracking loop for drag events started in thick titlebar (NSToolbar)
* Review fix: forward events to AppKit during tracking loop (#19320 )
1 year ago
Handsome08
59e4daa358
Fix X11Screen info update incorrectly when screen changed. ( #19262 )
1 year ago
Betta_Fish
da56ffff99
[Grid] Fix inner size calculation when Row/ColumnDefinition is not set but spacing is set ( #19227 )
* fix: avoid negative values when calculating combinedRowSpacing/combinedColumnSpacing
* add tests
1 year ago
Emmanuel Hansen
ad34029c1b
Use captured element if available as source for tap gestures ( #19222 )
* update mouse test to better simulate clicks on captured controls
* add tap failing test
* use captured element if available as source for tap gestures
1 year ago
Emmanuel Hansen
4ca154ed31
remove textbox holding handler in text selection handle ( #19186 )
1 year ago
kerams
19b2aeb119
Fix multiline selection crash ( #19337 )
1 year ago
Vadym Artemchuk
d5f490cf2f
explicit dispose skia objects ( #19100 )
1 year ago
Nikita Tsukanov
a53ab7a3fe
Stopgap fix for ( #19302 )
https://github.com/AvaloniaUI/Avalonia/issues/19291
1 year ago
Emmanuel Hansen
a7c20b4dd7
made mobile textbox contextmenu transient ( #19182 )
Co-authored-by: Julien Lebosquain <julien@lebosquain.net>
1 year ago
Emmanuel Hansen
7c3fb302f0
Revert 15603, add InputPaneActivationRequested in TextInputMethodClient ( #19225 )
* revert 15603, add InputPaneActivationRequested in TextInputMethodClient
* forward ShowInputPanel call to RaiseInputPaneActivationRequested
1 year ago
Ahmed Elsayed
3dff273a9c
fix: Selecting multiple lines in RTL textbox ( #19093 )
* Reverse text runs for RTL flow direction
* Optimize text run traversal.
* Remove unused LINQ directive from TextLineImpl.cs
* Add RTL newline handling test in TextLineTests
* Add RTL newline handling tests for text formatting.
1 year ago
Egor Rudakov
d96561cf36
Fix random NRE inside `Compositor.CommitCore()` callback. ( #19173 )
* Prevent ContinueWith from scheduling some of rendering callbacks into UI thread. (#19170 fix)
* Add _pendingBatch null check
1 year ago
Max Katz
025bbcc73f
Add OpenGlControlBase documentation ( #19188 )
1 year ago
walterlv
60f0f69617
Avoid memory leak by clearing the shared array pool of LightweightObservableBase ( #19167 )
1 year ago
Nikita Tsukanov
b8263d823c
Properly check if operation is pending when executing/aborting ( #19132 )
Co-authored-by: Julien Lebosquain <julien@lebosquain.net>
1 year ago
Jins
08fc78add1
Fixed bug failing to match the focus state in ComboBox ( #19147 )
Co-authored-by: Jins <devjins@163.com>
1 year ago
Tim Miller
a1d5d17ea5
[Avalonia.Native] Replace manual input tracking with NSEvent ( #19101 )
1 year ago
Benedikt Stebner
4f3af7e0fb
Fix TextLineIImpl.GetTextBounds for clustered trailing zero width characters ( #19208 ) ( #19251 )
* Make sure we only apply the cluster offset if we are inside the current cluster
* Better naming
* Guard coveredLength against invalid values
---------
Co-authored-by: Max Katz <maxkatz6@outlook.com>
1 year ago
Benedikt Stebner
9b3d1e1966
Properly handle in cluster ShapedBuffer split ( #19090 )
* Properly handle in cluster ShapedBuffer split
* Allow ShapedBuffer split for empty text length
---------
Co-authored-by: Julien Lebosquain <julien@lebosquain.net>
1 year ago
yoyo
64f61e3e57
fix: reverse TickBar when Slider direction is reversed ( #19096 )
1 year ago
Emmanuel Hansen
4938899673
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
85bdbff3c6
[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
Emmanuel Hansen
c8c53277db
revert changes preventing status bar theme from being updated ( #19076 )
1 year ago
Paillat Laszlo
574f6a50dc
changed MenuItem Icon to properly set :icon pseudo class as long as value is not null ( #19075 )
1 year ago
Emmanuel Hansen
f1ec89b17a
fix oversight with display edge to edge detection for android 16 ( #19067 )
1 year ago
Tom Edwards
c2142c62bb
Corrected PointerPointProperties inline documentation ( #19062 )
Made PointerEventArgs.Properties public, to better support pattern matching
1 year ago
Tim Miller
69fae6907f
[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
Emmanuel Hansen
81c1887ab6
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
Julien Lebosquain
cfe0a1e646
Extend dirty rect when UseLayoutRounding=false ( #18511 )
Co-authored-by: Benedikt Stebner <Gillibald@users.noreply.github.com>
1 year ago
Whiletru3
9d37265fe7
Fix for #19035 On macOS, the SuggestedStartLocation is not set if the FileTypeChoices Is not null ( #19036 )
1 year ago
Emmanuel Hansen
c02b2b8a20
Fix insets on android 15 ( #18844 )
* fix insets on android 15
* add api diff
* fix nit
1 year ago
Max Katz
b6b62f44e2
More IDL uint fixes ( #18993 )
* Update win32.idl
* Update dcomp.idl
1 year ago
Julien Lebosquain
b4d766abd3
Fix LostFocus not raised on macOS ( #18990 )
1 year ago
Julien Lebosquain
68e1be6a27
Fix DirectX signatures ( #18991 )
1 year ago
Compunet
639cb4a10b
fix: ensure proper StringBuilderCache release ( #18985 )
1 year ago
Max Katz
f113e4f279
Bump Angle version ( #18982 )
1 year ago
Shaojun Li
377ba761e1
Fix infinite animation memory leak. ( #18980 )
1 year ago