pavelovcharov
1ddb0467e3
LayoutTransformControl - fix memory leak due to Transform.Changed event subscription ( #19718 )
* fix Transform.Changed memory leak in LayoutTransformControl
* refix
* apply transform on attach to visual tree
4 months ago
memorydream
0eab5e5310
fix: DBus tray icon NRE when change visible ( #19742 )
* fix: TrayIcon NRE when change visible
* fix: DBus tray icon duplicated click event
---------
Co-authored-by: Max Katz <maxkatz6@outlook.com>
4 months ago
fgsfds
2f9640c31f
Fixed ArgumentException when showing multiple notifications with the same content ( #19774 )
* Add unit test for notifications
* Fixed ArgumentException when showing multiple notifications with the same content, additional unit tests
* fixes after review
* IManagedNotificationManager.Show fix
4 months ago
YoriMirus
7293cf4daf
Clarify the CenterX and CenterY properties in Avalonia.Media.RotateTransform ( #19741 )
* Clarify the Center properties in RotateTransform
From the property's description, it isn't obvious how the CenterX and CenterY property works. I assumed 0 would be the left edge but it's actually the center of the visual.
* Add documentation crefs in RotateTransform
---------
Co-authored-by: Julien Lebosquain <julien@lebosquain.net>
4 months ago
Tom Edwards
c989818851
Add finalizer to Win32Icon which frees its GDI handle ( #19813 )
Improve error messages when we run out of GDI handles
Removed SetLastError from GDI methods; they don't use that system
4 months ago
Tom Edwards
e62e718a06
Fixed ExpressionParseException being reported as an internal compiler error ( #19817 )
4 months ago
Emmanuel Hansen
929e51dc0c
ignore PointerOver change when pointer event is CancelCapture ( #19808 )
4 months ago
Tom Edwards
fb1c4c009d
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
b426e2e344
android - fix scaling of inset when app is launched ( #19797 )
4 months ago
Emmanuel Hansen
9bbca8508c
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
ace2ce06cd
Fix PlatformDataTransferItem.TryGetRaw for unknown formats ( #19791 )
* Add failing test for PlatformDataTransferItem
* Fix PlatformDataTransferItem.TryGetRaw
4 months ago
Max Katz
247da38583
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
Jan Kučera
fb5fda0061
Merge pull request #19875 from AvaloniaUI/backports/19833
[11.3] [Backport] #19833
4 months ago
Jan Kučera
25be8ac608
Merge pull request #19879 from MrJul/backports/19209
Backport "Use hard links for build (#19209 )" to 11.3
4 months ago
Julien Lebosquain
f48c269053
Use hard links for build ( #19209 )
(cherry picked from commit f31d7a567a )
7 months ago
Jan Kučera
dba0388af7
Internal PointerCaptureChanging event ( #19833 )
* PointerCaptureChanging event
* PR feedback
* Announce implicit capture to platform
---------
Co-authored-by: Jan Kučera <miloush@users.noreply.github.com>
Co-authored-by: Max Katz <maxkatz6@outlook.com>
4 months ago
Jumar Macato
ed534a5350
Add parent/automationPeer null guards on AvnWindow ( #19805 ) ( #19863 )
* Add parent/automationPeer null guards on AvnWindow
* Add null guards on AvnView
(cherry picked from commit 67a88afb5d )
4 months ago
Nikita Tsukanov
c60fad9674
[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>
(cherry picked from commit 22c4c630ce )
4 months ago
Julien Lebosquain
97b6af0568
Fix API diff file for 11.3
4 months ago
Julian
a082b6444b
Fix focus issues with combo box #19396 ( #19672 )
* Fix focus issues with combo box #19396
* add unit tests for combobox focus issue
(cherry picked from commit c23be27756 )
4 months ago
Julian
583d51b6e0
IsEditable combox box ( #18094 )
* IsEditable combox box with text bindings
* Update after #18405 api review
* ComboBox tests for IsEditable
* remove unneeded error being throw when combox is editable and doesn't have text binding properties
* Changes after code review
* only do naviagtion check if combo box is editable
* Fix editable ComboBox tab navigation
* combobox code review improvements
---------
Co-authored-by: Julien Lebosquain <julien@lebosquain.net>
(cherry picked from commit 105ba1aa42 )
6 months ago
Julien Lebosquain
f94d48cd4f
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
(cherry picked from commit 1f404646fa )
4 months ago
Nikita Tsukanov
ab535d0c7a
[X11] Added INCR support ( #18428 )
* Refactor X11 clipboard to use session-based approach
* INCR client
* Implemented INCR server
* Detect INCR threshold
* missing return
* Handle review comments
---------
Co-authored-by: Julien Lebosquain <julien@lebosquain.net>
(cherry picked from commit ec0edda7c3 )
6 months ago
Max Katz
7b17997253
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
682c09133e
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
f0818c5d2d
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
b268c555c3
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
Kirill Osenkov
029e7aa7c3
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
dc4973a17f
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
Tim Miller
c7f3e7c451
Add FindAssembliesGrantingInternalAccess ( #19735 )
4 months ago
Tim Miller
b4b25b0887
[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
77157e1d1e
[XAMLX] Propagate TypeConverters from the original CLR property to avalonia property ( #19727 )
4 months ago
Melissa
3b11d97724
Added HeadingLevel to AutomationProperties ( #19696 )
* Added HeadingLevel to AutomationProperties
* Added support for HeadlingLevel accessibility on Mac
4 months ago
Melissa
31c43d978e
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
f90444b676
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
fe09ad9eb7
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
Julien Lebosquain
7f68687511
Fix BoxShadow equality ( #19650 )
5 months ago
Jay Mao
d7ad0bfcbc
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
771d32e5a5
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
robloo
4aab747831
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
Tom Edwards
3bcab0ecc1
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
Benedikt Stebner
977d06fda4
Merge pull request #19675 from Gillibald/blockSizeBackport
Limit InlineUIContainer to available width (#19651 )
5 months ago
Jan Kučera
2c1b56ba11
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
Emmanuel Hansen
7bc6b00340
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
77df5cea2a
Adjust macOS Tray/Menu icons scaling ( #19628 )
* Set TrayIcon image size to 17, 17
* Use Floor for setting icon size
5 months ago
Swarley97
50bc9582ee
fix os timer in windows dispatcher ( #19597 )
Co-authored-by: Tim Nootny <tim.nootny@empowersuite.com>
5 months ago
Benedikt Stebner
765f6d01d2
Merge pull request #19630 from Gillibald/textBackports
Text backports
5 months ago
Benedikt Stebner
d429c5859d
Make sure the resm scheme is registered before we attempt to parse something ( #19629 )
5 months ago
Benedikt Stebner
d897c990f2
Fixes TextLineImpl.GetTextBounds with trailing zero width ( #19616 )
* Fixes TextLineImpl.GetTextBounds with trailing zero width
* Add assert
5 months ago
Benedikt Stebner
5d78e5b633
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