Tom Edwards
017f31f56f
Fixed win32 exception when a file picker has an invalid file type ( #19812 )
Flagged win32 file/folder dialog tasks as long-running
Syntax upgrade
4 months ago
Emmanuel Hansen
5581fde271
android - fix scaling of inset when app is launched ( #19797 )
4 months ago
Jumar Macato
67a88afb5d
Add parent/automationPeer null guards on AvnWindow ( #19805 )
* Add parent/automationPeer null guards on AvnWindow
* Add null guards on AvnView
4 months ago
Emmanuel Hansen
0958e79cf9
Win32 - Fix margins and nc hit test for caption buttons in extend to client windows ( #19773 )
* win32 - fix margins and nc hit test for caption buttons in extend to client windows
* use unsused scaling variable
4 months ago
Julien Lebosquain
ed38536854
Fix PlatformDataTransferItem.TryGetRaw for unknown formats ( #19791 )
* Add failing test for PlatformDataTransferItem
* Fix PlatformDataTransferItem.TryGetRaw
4 months ago
Emmanuel Hansen
98c7fde141
Only allow focus change on pointer release for touch and pen input ( #19753 )
4 months ago
Max Katz
67a223dc53
Make ScreenBase impl more reliable ( #19762 )
* Make ScreenBase impl more reliable
* Don't copy list on netcore
* Add Dispatcher.UIThread.VerifyAccess to be extra safe
* Simplify code by only using List
4 months ago
Julien Lebosquain
467063b54b
Remove Tizen ( #19722 )
* Remove Tizen
* Address review
4 months ago
Nikita Tsukanov
22c4c630ce
[OSX] Implemented IOSurface/MTLSharedEvent interop APIs ( #18791 )
* [OSX] Implemented IOSurface/MTLSharedEvent interop APIs
* Bump Xcode?
* Xcode?
* APIDiff
* Use different XCode versions because of how awesome appium is
* A hack for crapium
* Replace SkiaMetalApi usages
* Update API suppressions
---------
Co-authored-by: Timothy Miller <innerlogic4321@gmail.com>
Co-authored-by: Julien Lebosquain <julien@lebosquain.net>
4 months ago
Max Katz
c468495020
Update Avalonia.BuildServices package version ( #19757 )
* Update Avalonia.BuildServices package version
* Update Avalonia.BuildServices package version to 11.3.1
4 months ago
Benedikt Stebner
62054dbcc1
Make sure inlines properly inherit text run properties from their parent ( #19750 )
* Make sure inlines properly inherit text run properties from their parent
* Adjust comment
4 months ago
Jan Kučera
aadcd01d55
Do not recapture already captured element ( #19740 )
* Do not recapture already captured element
* Recapture tests
---------
Co-authored-by: Jan Kučera <miloush@users.noreply.github.com>
4 months ago
Yury
4312daf75a
Fix: Browser StorageItem methods not working and handle conversion issue ( #19708 )
* Fix names in browser StorageHelpers methods import
* Fix returning handlers instead of files in BrowserStorageProvider
* Fix returning handles instead of storage items in Move, GetFile and GetFolder methods
4 months ago
Julien Lebosquain
1f404646fa
Clipboard rework ( #19347 )
* New clipboard with IDataTransfer
* Move legacy format handling to DataObject wrappers
* macOS clipboard rework
* Browser clipboard rework
* Android clipboard rework
* iOS new clipboard
* X11 clipboard rework
* Simplify IDataTransfer API
* Simplify IClipboardImpl API
* Add DataFormat documentation
* Make DataFormat.SystemName platform specific
* Fix clipboard/DnD samples
* Fix native clipboard UTI conversion
* Adjust IDataTransfer namespaces
* Add Obsolete attributes to IDataObject related methods
* Better API for DataTransferItem
* Tizen clipboard rework
* Add missing clipboard extension methods
* Split IDataTransferItem into IAsyncDataTransferItem and ISyncDataTransferItem
* Rename back ISyncDataTransfer to IDataTransfer
* Added IClipboard API suppressions
* Make IPlatformDragSource NotClientImplementable
* Rename DataFormatKinds
* Added DataTransferItem.CreateText/File
* Implemented typed DataFormat<T>
* Fix X11 text/uri-list encoding
* Add API suppressions
* Adjust ClipboardUriListHelper stream ownership
* Fix legacy clipboard BinaryFormatter deserialization
* Fix macOS build
4 months ago
Kirill Osenkov
d060f96d52
Remove Microsoft.SourceLink.GitHub PackageReference ( #19744 )
SourceLink comes with the SDK now, and having the old package has an incremental build bug, see:
https://github.com/dotnet/sdk/issues/36666#issuecomment-2162173453
4 months ago
Steven Kirk
97b256f457
Add Add/Remove event handler methods to DragDrop. ( #19739 )
Attached events should follow the pattern of providing static `Add<event-name>Handler` and `Remove<event-name>Handler` methods, but `DragDrop` did not provide these.
4 months ago
Ilya Pospelov
9bf7abcdfe
Run Avalonia.LeakTests on CI ( #19720 )
* Check Avalonia.LeakTests
* Enable DotMemoryUnit
* Fix TransitionTests
4 months ago
Julien Lebosquain
d7f417017d
Move ControlCatalog.MacCatalyst/tvOS to their own folders ( #19709 )
* Move ControlCatalog.MacCatalyst/tvOS to their own folders
* Exclude tvOS/MacCatalyst from CI builds
4 months ago
Tim Miller
382e1f7f16
Add FindAssembliesGrantingInternalAccess ( #19735 )
4 months ago
Tim Miller
650aeb20c6
[OSX] Move Drag and Drop logic to TopLevelImpl ( #19731 )
* Move Drag and Drop logic to TopLevelImpl
* Update src/Avalonia.Native/TopLevelImpl.cs
Co-authored-by: Max Katz <maxkatz6@outlook.com>
---------
Co-authored-by: Max Katz <maxkatz6@outlook.com>
Co-authored-by: Benedikt Stebner <Gillibald@users.noreply.github.com>
4 months ago
Nikita Tsukanov
d0974ca7a6
[XAMLX] Propagate TypeConverters from the original CLR property to avalonia property ( #19727 )
4 months ago
Melissa
a8f3628da9
Added HeadingLevel to AutomationProperties ( #19696 )
* Added HeadingLevel to AutomationProperties
* Added support for HeadlingLevel accessibility on Mac
4 months ago
Max Katz
6d09f57c5f
Enable compiled bindings by default in Avalonia.props ( #19712 )
4 months ago
Melissa
21e79f2ee9
Added resource for TextControlPlaceholderOpacity ( #19705 )
* Added resource for TextControlPlaceholderOpacity
This allows overriding of the opacity instead of it being hardcoded to 50%.
* Added `TextControlPlaceholderOpacity` to Simple theme TextBox
4 months ago
dif-sam
70de8a3d45
Fixing a memory leak when closing a window ( #19699 )
Added unsubscription from the X11Globals.WindowActivationTrackingModeChanged event in the Dispose method of the WindowActivationTrackingHelper class
4 months ago
Jan Kučera
46ff150747
Respond to WM_CAPTURECHANGED ( #19685 )
* Respond to WM_CAPTURECHANGED
* Addressing PR feedback
---------
Co-authored-by: Jan Kučera <miloush@users.noreply.github.com>
4 months ago
Julian
c23be27756
Fix focus issues with combo box #19396 ( #19672 )
* Fix focus issues with combo box #19396
* add unit tests for combobox focus issue
4 months ago
Jan Kučera
912f916c10
Limit InlineUIContainer to available width ( #19651 )
* Limit InlineUIContainer to available width
* Unit test for InlineUIContainer maximum width
* Invalidate InlineUIContainer's host
* Better InlineUIContainer visual children management
* OnInlineHostChanged also handled by InlineUIContainer
---------
Co-authored-by: Jan Kučera <miloush@users.noreply.github.com>
Co-authored-by: Benedikt Stebner <Gillibald@users.noreply.github.com>
5 months ago
Julien Lebosquain
1f5182d811
Fix BoxShadow equality ( #19650 )
5 months ago
Jay Mao
649545c965
Fix typeface exception when created with empty font family name ( #19654 )
* add unit test case to check typeface creation with empty font family.
* fallback to default font family when the font family name is empty.
---------
Co-authored-by: jay.mao <jay.mao@ringcentral.com>
5 months ago
Dan Walmsley
7f47605256
Add SplitViewPanePlacement settings for Top and Bottom. ( #19465 )
* add SplitViewPanePlacement settings for Top and Bottom.
* remove duplicated styles.
* add missing transparent fills of lightdismiss area.
* add simple theme support for splitview pane placement top/bottom.
5 months ago
Vaibhav Gupta
f4e653a8de
chore(docs): Add final newline to markdown files ( #19645 )
Several documentation files were missing a final newline character.
This change adds them to adhere to POSIX conventions and improve
compatibility with various text-processing tools. It also helps
to create cleaner diffs in the future.
5 months ago
robloo
8a444ef3f0
Add Boxshadow(s) Documentation Comments ( #19644 )
* Fix formatting errors/warnings in BoxShadow
* Fix formatting errors/warnings in BoxShadows
* Add documentation comments to BoxShadow
* Add documentation comments to BoxShadows
5 months ago
Isabelle Santin
fe8c843ef1
Fix: ChoreographerTimer should check for Android version correctly. ( #19643 )
5 months ago
Tom Edwards
78dfc7add2
Fix tooltip hit test following a dirtyRect invalidation not respecting IsHitTestVisible ( #19642 )
HitTester sees visuals with IsHitTestVisible=false unless you specifically filter them out! Added XML doc warning.
5 months ago
Emmanuel Hansen
969eabf4d7
Win32 - Fix maximized window being able to resize ( #19620 )
* fix maximized window being able to resize
* only set border style when client area is extended
5 months ago
Tim Miller
628b9db5cb
Adjust macOS Tray/Menu icons scaling ( #19628 )
* Set TrayIcon image size to 17, 17
* Use Floor for setting icon size
5 months ago
Benedikt Stebner
31a8f37223
Make sure the resm scheme is registered before we attempt to parse something ( #19629 )
5 months ago
Benedikt Stebner
ec9f50db3d
Fixes TextLineImpl.GetTextBounds with trailing zero width ( #19616 )
* Fixes TextLineImpl.GetTextBounds with trailing zero width
* Add assert
5 months ago
Max Katz
56dd94c0b9
Fix headless FontManager leak ( #19599 )
* Dispose font manager after headless session
* Add xunit/nunit LeakTests
5 months ago
Benedikt Stebner
b92bb933ac
TextLine.GetTextBounds zero width run fixes ( #19602 )
* Rework GetRunBounds
* Reduce duplication
* Update tests/Avalonia.Skia.UnitTests/Media/TextFormatting/TextLineTests.cs
Co-authored-by: Jan Kučera <10546952+miloush@users.noreply.github.com>
---------
Co-authored-by: Jan Kučera <10546952+miloush@users.noreply.github.com>
5 months ago
Benedikt Stebner
5d3f1e4290
Ignore empty preeditText when no composition was active before ( #19595 )
Co-authored-by: Gillibald <stebner@avaloniaui.net>
5 months ago
Swarley97
22f3c026df
fix os timer in windows dispatcher ( #19597 )
Co-authored-by: Tim Nootny <tim.nootny@empowersuite.com>
5 months ago
Colton
4e08e56866
Dispose of Win32 GDI handles when TrayIcon closed ( #19583 )
5 months ago
Benedikt Stebner
27859b9e54
Rework TextLineImpl.GetTextBounds ( #19576 )
* Rework TextLineImpl.GetTextBounds
* Minor adjustments
* Fix GlyphRun.GetDistanceFromCharacterHit in cluster hit
5 months ago
Jan Kučera
c3de4bbbe0
Font features in test app ( #19493 )
Co-authored-by: Jan Kučera <miloush@users.noreply.github.com>
Co-authored-by: Benedikt Stebner <Gillibald@users.noreply.github.com>
5 months ago
Colton
934c0f8349
Fixes duplicate class property registration ( #19558 )
* Fix ClassBindingManager property dictionary insert
* Prepend ClassPropertyPrefix to key when inserting into registered properties dictionary to be consistent with lookup.
* Added ClassBindingManager unit tests
5 months ago
Emmanuel Hansen
267d2470cc
Fix BringDescendantIntoView with respect to margins ( #19544 )
* remove margin deflation in BringDescendantIntoView and update related test to test cases with margin and no margin
* create transform relative to presenter, instead of child.
* update tests
* fix tests
5 months ago
Benedikt Stebner
5bed0cb7b6
FontLoading adjustments ( #19538 )
* Adjust FontFamily parsing so non system fonts require a specific format
* Change relative Uri detection so it uses Contains
5 months ago
Max Katz
ad33ddbbac
Pass app delegate to the default UseiOS call ( #19550 )
5 months ago