Steven Kirk
a32a8726a3
Fix ncrunch configuration. ( #15440 )
...
NCrunch does not support supplying target frameworks as MSBuild properties, so had to go through each of the ncrunch project files and specify the TFM explicitly.
2024-04-19 11:02:08 +00:00
careworry
416ffffb94
chore: remove repetitive words ( #15427 )
...
Signed-off-by: careworry <worrycare@outlook.com>
Co-authored-by: Max Katz <maxkatz6@outlook.com>
2024-04-19 01:05:04 +00:00
workgroupengineering
a3762291c1
feat(DevTools): Add Avalonia_DevTools_Selectors Clipoard format for quicks IDE recongnize. ( #14603 )
2024-04-18 19:22:24 -04:00
ShiningLea
567a55a8b4
Make MenuItem check mark visible with Simple theme ( #15424 )
...
* Make MenuItem check mark visible with Simple theme
Signed-off-by: AnErrupTion <anerruption@disroot.org>
* Fix for radio menu items
Signed-off-by: AnErrupTion <anerruption@disroot.org>
* Remove useless setter
Signed-off-by: AnErrupTion <anerruption@disroot.org>
---------
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2024-04-18 19:20:17 -04:00
Nikita Tsukanov
27e40b820e
Create a new run loop observer for a nested loop if it's being started from an observer callback ( #15425 )
...
Co-authored-by: Nikita Tsukanov <kekekeks@Nikitas-MacBook-Pro.local>
2024-04-18 12:58:04 +00:00
Dameng
fa1fdd463f
upgrade `Quamotion.RemoteViewing` to 1.1.211 to work with `RealVNC Viewer`, Add `password` parameter to `StartWithHeadlessVncPlatform` ( #15406 )
...
* upgrade `Quamotion.RemoteViewing` to 1.1.211 to work with `RealVNC Viewer`
* change AfterSetup to AfterApplicationSetup
* remove netstandard2.0 as latest Quamotion.RemoteViewing doest not support it.
* downgrade RemoteViewer to 1.1.179 to work with netstandard2.0; remove ILogger parameter use Avalonia.Logging.Logger instead.
* adding password method overload to avoid binary break change.
2024-04-18 03:50:08 +00:00
Max Katz
711b2a74d7
Fix ReactiveUI regression, when DataContext type is different ( #15423 )
2024-04-17 23:47:46 -04:00
Max Katz
d5ca06ff24
Update XAMLX to include generic fixes ( #15422 )
2024-04-17 16:13:46 -07:00
Julien Lebosquain
1d18586efc
Made AvaloniaPropertyMetadata immutable after property initialization ( #15384 )
...
* Made AvaloniaPropertyMetadata immutable after property initialization
* Removed redundant throw
2024-04-17 02:05:17 -07:00
Max Katz
dcc6bca074
Fix RemoteServer not starting rendering ( #15374 )
2024-04-16 19:36:14 -07:00
dieuminhs
8fce3aa4e4
Fix unable to type cultural character ( #15394 )
...
Check KeySymbol before return null in TryCreateRawKeyEventArgs to prevent skipping cultural character.
Co-authored-by: CKPhong <phong.chung@itd.com.vn>
2024-04-16 19:35:24 -07:00
Julien Lebosquain
563bb12ff1
Bump LangVersion to C# 12 ( #15399 )
2024-04-16 20:05:20 +00:00
Max Katz
1fe718a4ec
Add StringSyntax attribute to the runtime parser code ( #15376 )
2024-04-16 19:09:52 +00:00
Benedikt Stebner
7ffcf0aa43
Add Rgb32 and Bgr32 pixel formats ( #15398 )
2024-04-16 11:30:57 +00:00
Alex
bca559b84b
Reduce generated invocations to FindNameScope ( #15370 )
2024-04-15 05:16:48 +00:00
Bartosz Korczyński
6cc7651114
Add locks in GeometryImpl for safe multithreaded access ( #15153 )
...
* Add locks in GeometryImpl for safe multithreaded access
* Change lock(this) to lock(_lock)
2024-04-13 18:06:32 -07:00
Max Katz
4c22660c3f
File activation ( #15317 )
...
* Avoid AndroidX extensions in storage provider code
* Add new ActivationKind.File
* ActivationKind.File implementation for Android
* ActivationKind.File implementation for macOS
* ActivationKind.File implementation for iOS
* Properly handle "file:" scheme on macOS backend
* Remove unused PackageReference
2024-04-13 16:15:05 -07:00
Steven Kirk
ca520a2332
Added failing test cases for #10856 . ( #15338 )
...
This issue only shows up when using the cecil backend for XamlX and so can't easily be tested with unit tests. The easiest way to test it is to add it to a sample project, `BindingDemo` is as good as anywhere I think.
2024-04-13 03:07:07 -07:00
Shatyuka
e0d4be0f44
Fix render mode fallback for Metal ( #15348 )
2024-04-12 21:31:53 -07:00
Julien Lebosquain
0bf3ffc05b
Update XamlX ( #15333 )
2024-04-12 09:24:13 +00:00
Julien Lebosquain
cfc0f158b3
Improve debug display of controls and related error messages ( #15219 )
...
* Improve debug display of controls and related error messages
* Move DebugDisplayHelper
---------
Co-authored-by: Max Katz <maxkatz6@outlook.com>
2024-04-11 22:26:07 -04:00
Max Katz
e0fb217955
Fix broken test
2024-04-11 19:19:27 -07:00
Max Katz
6258df5b63
Enable nullable on Avalonia.Android project ( #15331 )
...
* Enable nullable on Avalonia.Android project
* More specific exception
2024-04-11 21:03:03 -04:00
Max Katz
6f7a003c31
Rename MobileSandbox to Avalonia.SingleProjectSandbox ( #15330 )
...
* Define SupportedOSVersion variables shared between projects
* Rename MobileSandbox to Avalonia.SingleProjectSandbox
2024-04-11 20:51:17 -04:00
Artjom P
f98f6fff80
Improve logging to troubleshoot font loading ( #15230 )
...
* Improve logging
* Update Typeface.cs
* add the key
* update
2024-04-11 15:34:56 -07:00
Wiesław Šoltés
dd27d61b9a
Add FuncValueConverter with parameter support ( #15323 )
...
* Add FuncValueConverter with parameter support
* Fix summary comment
* Fix summary comment
* Add Equal and NotEqual converters to a ObjectConverters class
* Fix condition for Equal
* Added ObjectConverters unit tests
2024-04-11 15:31:52 -07:00
Max Katz
172625f53f
Fix __AvaloniaDefaultWindowIcon appreating in IDE ( #15318 )
2024-04-11 00:43:19 -07:00
Tom Edwards
80c4740759
Tooltips now open immediately if another tooltip is open, or closed within ToolTip.BetweenShowDuration ( #15259 )
...
Fixed glitches revealed by opening tooltips immediately
Test both popup and overlay tooltips
2024-04-10 22:08:57 +00:00
Benedikt Stebner
544d5372e3
Fix TileBrush Source/DestinationRect handling ( #15289 )
...
* Fix TileBrush Source/DestinationRect handling
* Add unit test
* Add cross render tests
* Add missing test image
2024-04-10 13:47:37 +00:00
Max Katz
b5db6bb0f6
Try to combine AvaloniaResources with the same system path ( #15302 )
...
* Try to combine AvaloniaResources with the same system path
* Fix test assert
2024-04-10 06:59:33 +00:00
kronic
3ea1b2e9fa
Fix NumericUpDown DataValidationErrors ( #15134 )
2024-04-10 06:35:17 +00:00
lindexi
3cecae943a
fix: Fix the TouchDevice lost the touch Pressure ( #15297 )
2024-04-10 06:24:59 +00:00
Max Katz
2cdbdf55cd
Include ApplicationIcon as a resource for default Window icon ( #15298 )
...
* [Windows] Inherit default Window icon from the Process resources
* Include ApplicationIcon as a AvaloniaResource and use it as a default icon
* Revert "[Windows] Inherit default Window icon from the Process resources"
This reverts commit b08f5d52cc
.
* Safer LoadDefaultIcon
* Rename !AppIcon to !__AvaloniaDefaultWindowIcon
* Even safer LoadDefaultIcon (for tests)
2024-04-09 22:46:46 -07:00
lindexi
550015f0c0
feat: Support Pressure in X11 platform ( #15283 )
2024-04-09 14:37:59 +00:00
Max Katz
7abb947011
Mark unstable math utilities ( #15278 )
...
* Mark MathUtilities unstable
* Mark new methods from 11.1 as internal in MathUtilities
* Fix for build task
---------
Co-authored-by: Benedikt Stebner <Gillibald@users.noreply.github.com>
2024-04-09 08:16:42 +00:00
Nikita Tsukanov
3cf78a5c43
Clamp reported dirty rect before attempting to merge it ( #15277 )
2024-04-08 23:20:22 +00:00
Heku
8e89c81211
Fix typos ( #15267 )
...
* Correct a priority value in property set log message
* Correct a comment
2024-04-07 20:48:26 +00:00
workgroupengineering
8117528322
perf: Using context.GetAvaloniaTypes().AvaloniaObject insteand of context.Configuration.TypeSystem.FindType("Avalonia.AvaloniaObject"); ( #15258 )
2024-04-06 22:39:20 +00:00
Max Katz
7816f11858
Browser software renderer and some refactoring allowing multiple AvaloniaView instances ( #15207 )
...
* Update .NET runtime TypeScript definitions
* Get splash screen by classname instead of ID
* Minimize css usage
* Move insets css properties to JS file
* Refactor browser surface handling, re-enable software renderer, allow fallback render modes
* Extract render timer from the surface, try to reuse compositor instance between avalonia views
* ControlCatalog: Make it possible to set some browser properties (like render mode) from URI arguments
* Rename AppBundle folder to wwwroot
* Extract ITextInputMethodImpl into a BrowserTopLevelImpl
* Extract input into BrowserInputHandler
* Make default surface size 1,1 to match other backends
* Reformat code that I touched (for the most part)
* Why this method even was in public API
2024-04-05 21:01:32 -07:00
Tom Edwards
e947675113
Added ToolTip.ShowOnDisabled and ToolTip.ServiceEnabled ( #14928 )
...
ToolTipService now processes raw mouse input, to allow tooltips on disabled controls
Updated tests and control catalog
2024-04-05 21:00:47 -07:00
Julien Lebosquain
eac0e43656
Implement TransitionContentControl.TransitionCompleted ( #15172 )
2024-04-05 20:59:35 -07:00
zabolotnev
04c62859f5
Avoid NullReferenceException in Gestures.PointerReleased ( #15117 )
...
* refs #14249 Avoid NullReferenceException in Gestures.PointerReleased
* refs #14249 Track current gesture state with single readonly struct
* Update from review
* Moved the last click location from the GestureState record to a separate field. (#14249 )
---------
Co-authored-by: Заболотнев Юрий <zabolotnev@promit-ek.ru>
2024-04-05 16:55:22 -07:00
nateglasser
16ff8cdc8b
Propagate Dispose from RenderDataPushNode ( #15240 )
...
* Implemented IDisposable for RenderDataCustomNode.
* Propagate Dispose from RenderDataPushNode to all child nodes.
2024-04-05 16:53:52 -07:00
Nicholas-Westby
ff4dd1811f
feat (File Picker) add WebP to FilePickerFileTypes ( #15242 )
...
WebP is a common image format these days, so I added it to the list of "All Images" as well as its own file picker file type.
Metadata derived from: https://developers.google.com/speed/webp/docs/riff_container
2024-04-05 16:29:38 -07:00
MakesYT
299c16da55
Enhancement Allow unload AssemblyLoadContext which contains Avalonia content #13935 ( #13974 )
...
* Try fix #13935
* Fix
* Fix
* add sample
* Fix
* try load Style by reflection
* try
* Fixed an error when registering properties when uninstalling assemblies
* Allowed to delete the IAssemblyDescriptorResolver StandardAssetLoader _assemblyNameCache
* Resolving merge conflicts
* Fix
* Add exegesis
* optimize
* fix
* Resolving merge conflicts
* nuke
2024-04-05 16:28:28 -07:00
workgroupengineering
f7bcb5f3ab
feat: PixelSize TryParse ( #14979 )
...
* feat: PixelSize TryParse
* test: Add PixelSize Parse and TryParse
* fix: Address review
* fix: Address Review
* fix: Address review
2024-04-05 11:35:41 +00:00
Steven Kirk
7431e160a8
Added WindowManagerAddShadowHint to PopupRoot. ( #15238 )
2024-04-04 23:17:29 +00:00
Emmanuel Hansen
5156b2abfc
X11 - Apply current_filter extension from dbus save picker ( #15217 )
...
* apply current_filter extension from dbus save picker
* simplify reading filters
2024-04-04 01:07:34 +00:00
nateglasser
0853939708
Implemented IDisposable for RenderDataCustomNode. ( #15224 )
2024-04-04 00:22:12 +00:00
Max Katz
c8ed389c94
Update single project capabilities ( #15203 )
...
* Add missing project capabilities to support single projects in VS
* Add DiagnoseCapabilities in sandbox project
2024-04-02 17:03:54 -07:00