Browse Source

Merge pull request #648 from PixiEditor/package-upgrades

Package upgrades
Krzysztof Krysiński 9 months ago
parent
commit
ec6f757716
42 changed files with 200 additions and 131 deletions
  1. 1 1
      samples/Directory.Build.props
  2. 1 1
      src/ChunkyImageLib/ChunkyImageLib.csproj
  3. 1 1
      src/Directory.Build.props
  4. 1 1
      src/PixiDocks
  5. 2 2
      src/PixiEditor.Api.CGlueMSBuild/PixiEditor.Api.CGlueMSBuild.csproj
  6. 1 1
      src/PixiEditor.Builder/build/PixiEditor.Builder.csproj
  7. 1 1
      src/PixiEditor.ChangeableDocument.Gen/PixiEditor.ChangeableDocument.Gen.csproj
  8. 1 1
      src/PixiEditor.Desktop/PixiEditor.Desktop.csproj
  9. 2 2
      src/PixiEditor.Extensions.CommonApi.Diagnostics/PixiEditor.Extensions.CommonApi.Diagnostics.csproj
  10. 1 1
      src/PixiEditor.Extensions.CommonApi/PixiEditor.Extensions.CommonApi.csproj
  11. 2 2
      src/PixiEditor.Extensions.MSPackageBuilder/PixiEditor.Extensions.MSPackageBuilder.csproj
  12. 1 1
      src/PixiEditor.Extensions.Sdk/PixiEditor.Extensions.Sdk.csproj
  13. BIN
      src/PixiEditor.Extensions.Sdk/build/Mono.Cecil.Mdb.dll
  14. BIN
      src/PixiEditor.Extensions.Sdk/build/Mono.Cecil.Pdb.dll
  15. BIN
      src/PixiEditor.Extensions.Sdk/build/Mono.Cecil.Rocks.dll
  16. BIN
      src/PixiEditor.Extensions.Sdk/build/Mono.Cecil.dll
  17. BIN
      src/PixiEditor.Extensions.Sdk/build/Newtonsoft.Json.dll
  18. 32 32
      src/PixiEditor.Extensions.Sdk/build/PixiEditor.Api.CGlueMSBuild.deps.json
  19. BIN
      src/PixiEditor.Extensions.Sdk/build/PixiEditor.Api.CGlueMSBuild.dll
  20. 25 25
      src/PixiEditor.Extensions.Sdk/build/PixiEditor.Extensions.MSPackageBuilder.deps.json
  21. BIN
      src/PixiEditor.Extensions.Sdk/build/PixiEditor.Extensions.MSPackageBuilder.dll
  22. 2 2
      src/PixiEditor.Extensions.WasmRuntime/PixiEditor.Extensions.WasmRuntime.csproj
  23. 2 2
      src/PixiEditor.Extensions/PixiEditor.Extensions.csproj
  24. 1 1
      src/PixiEditor.Gen/PixiEditor.Gen.csproj
  25. 1 1
      src/PixiEditor.Platform/PixiEditor.Platform.csproj
  26. 46 4
      src/PixiEditor.UI.Common/Controls/TimePicker.axaml
  27. 2 2
      src/PixiEditor.WasmApi.Gen/PixiEditor.WasmApi.Gen.csproj
  28. 8 8
      src/PixiEditor/PixiEditor.csproj
  29. 1 1
      src/PixiEditor/Styles/PixiEditorPopupTemplate.axaml
  30. 1 0
      src/PixiEditor/Views/Input/NumberInput.cs
  31. 1 1
      src/PixiParser
  32. 1 1
      src/global.json
  33. 3 3
      tests/ChunkyImageLibTest/ChunkyImageLibTest.csproj
  34. 19 6
      tests/ChunkyImageLibTest/RectangleOperationTests.cs
  35. 1 1
      tests/Directory.Build.props
  36. 11 5
      tests/PixiEditor.Api.CGlueMSBuild.Tests/PixiEditor.Api.CGlueMSBuild.Tests.csproj
  37. 1 0
      tests/PixiEditor.Backend.Tests/MockDocument.cs
  38. 10 4
      tests/PixiEditor.Backend.Tests/PixiEditor.Backend.Tests.csproj
  39. 4 4
      tests/PixiEditor.Extensions.Sdk.Tests/PixiEditor.Extensions.Sdk.Tests.csproj
  40. 4 4
      tests/PixiEditor.Extensions.Tests/PixiEditor.Extensions.Tests.csproj
  41. 4 4
      tests/PixiEditor.Extensions.WasmRuntime.Tests/PixiEditor.Extensions.WasmRuntime.Tests.csproj
  42. 5 5
      tests/PixiEditor.Tests/PixiEditor.Tests.csproj

+ 1 - 1
samples/Directory.Build.props

@@ -1,7 +1,7 @@
 <Project>
 <Project>
     <PropertyGroup>
     <PropertyGroup>
         <CodeAnalysisRuleSet>../Custom.ruleset</CodeAnalysisRuleSet>
         <CodeAnalysisRuleSet>../Custom.ruleset</CodeAnalysisRuleSet>
-		    <AvaloniaVersion>11.0.10</AvaloniaVersion>
+		    <AvaloniaVersion>11.2.1</AvaloniaVersion>
     </PropertyGroup>
     </PropertyGroup>
     <ItemGroup>
     <ItemGroup>
         <PackageReference Include="StyleCop.Analyzers" Version="1.1.118" />
         <PackageReference Include="StyleCop.Analyzers" Version="1.1.118" />

+ 1 - 1
src/ChunkyImageLib/ChunkyImageLib.csproj

@@ -8,7 +8,7 @@
   </PropertyGroup>
   </PropertyGroup>
   
   
   <ItemGroup>
   <ItemGroup>
-    <PackageReference Include="OneOf" Version="3.0.223" />
+    <PackageReference Include="OneOf" Version="3.0.271" />
     <PackageReference Update="StyleCop.Analyzers" Version="1.2.0-beta.435">
     <PackageReference Update="StyleCop.Analyzers" Version="1.2.0-beta.435">
       <PrivateAssets>all</PrivateAssets>
       <PrivateAssets>all</PrivateAssets>
       <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
       <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>

+ 1 - 1
src/Directory.Build.props

@@ -1,7 +1,7 @@
 <Project>
 <Project>
     <PropertyGroup>
     <PropertyGroup>
         <CodeAnalysisRuleSet>../Custom.ruleset</CodeAnalysisRuleSet>
         <CodeAnalysisRuleSet>../Custom.ruleset</CodeAnalysisRuleSet>
-		    <AvaloniaVersion>11.1.4</AvaloniaVersion>
+		    <AvaloniaVersion>11.2.1</AvaloniaVersion>
     </PropertyGroup>
     </PropertyGroup>
     <ItemGroup>
     <ItemGroup>
         <PackageReference Include="StyleCop.Analyzers" Version="1.1.118" />
         <PackageReference Include="StyleCop.Analyzers" Version="1.1.118" />

+ 1 - 1
src/PixiDocks

@@ -1 +1 @@
-Subproject commit f9bdb75115d1152a5126706bc8dc2098f72decde
+Subproject commit 29ae0eff8a2a7d9070e6816cba8858ecac7abe9e

+ 2 - 2
src/PixiEditor.Api.CGlueMSBuild/PixiEditor.Api.CGlueMSBuild.csproj

@@ -14,8 +14,8 @@
   </PropertyGroup>
   </PropertyGroup>
 
 
   <ItemGroup>
   <ItemGroup>
-    <PackageReference Include="Microsoft.Build.Utilities.Core" Version="17.9.5" ExcludeAssets="Runtime" />
-    <PackageReference Include="Mono.Cecil" Version="0.11.5">
+    <PackageReference Include="Microsoft.Build.Utilities.Core" Version="17.12.6" ExcludeAssets="Runtime" />
+    <PackageReference Include="Mono.Cecil" Version="0.11.6">
       <PrivateAssets>All</PrivateAssets>
       <PrivateAssets>All</PrivateAssets>
       <IncludeAssets>All</IncludeAssets>
       <IncludeAssets>All</IncludeAssets>
     </PackageReference>
     </PackageReference>

+ 1 - 1
src/PixiEditor.Builder/build/PixiEditor.Builder.csproj

@@ -7,6 +7,6 @@
         <RootNamespace>PixiEditor.Builder</RootNamespace>
         <RootNamespace>PixiEditor.Builder</RootNamespace>
     </PropertyGroup>
     </PropertyGroup>
     <ItemGroup>
     <ItemGroup>
-        <PackageReference Include="Cake.Frosting" Version="3.0.0" />
+        <PackageReference Include="Cake.Frosting" Version="5.0.0" />
     </ItemGroup>
     </ItemGroup>
 </Project>
 </Project>

+ 1 - 1
src/PixiEditor.ChangeableDocument.Gen/PixiEditor.ChangeableDocument.Gen.csproj

@@ -49,7 +49,7 @@
   </PropertyGroup>
   </PropertyGroup>
 
 
   <ItemGroup>
   <ItemGroup>
-    <PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.2.0" />
+    <PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.11.0" />
   </ItemGroup>
   </ItemGroup>
   <ItemGroup>
   <ItemGroup>
     <None Include="$(OutputPath)\$(AssemblyName).dll" Pack="true" PackagePath="analyzers/dotnet/cs" Visible="false" />
     <None Include="$(OutputPath)\$(AssemblyName).dll" Pack="true" PackagePath="analyzers/dotnet/cs" Visible="false" />

+ 1 - 1
src/PixiEditor.Desktop/PixiEditor.Desktop.csproj

@@ -26,7 +26,7 @@
   </ItemGroup>
   </ItemGroup>
 
 
   <ItemGroup>
   <ItemGroup>
-    <PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.9.2"/>
+    <PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.11.0" />
   </ItemGroup>
   </ItemGroup>
 
 
   <ItemGroup>
   <ItemGroup>

+ 2 - 2
src/PixiEditor.Extensions.CommonApi.Diagnostics/PixiEditor.Extensions.CommonApi.Diagnostics.csproj

@@ -8,8 +8,8 @@
     </PropertyGroup>
     </PropertyGroup>
 
 
     <ItemGroup>
     <ItemGroup>
-      <PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.9.2" />
-      <PackageReference Include="Microsoft.CodeAnalysis.CSharp.Features" Version="4.9.2" />
+      <PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.11.0" />
+      <PackageReference Include="Microsoft.CodeAnalysis.CSharp.Features" Version="4.11.0" />
     </ItemGroup>
     </ItemGroup>
     <ItemGroup>
     <ItemGroup>
       <None Include="$(OutputPath)\$(AssemblyName).dll" Pack="true" PackagePath="analyzers/dotnet/cs" Visible="false" />
       <None Include="$(OutputPath)\$(AssemblyName).dll" Pack="true" PackagePath="analyzers/dotnet/cs" Visible="false" />

+ 1 - 1
src/PixiEditor.Extensions.CommonApi/PixiEditor.Extensions.CommonApi.csproj

@@ -11,7 +11,7 @@
     </ItemGroup>
     </ItemGroup>
 
 
     <ItemGroup>
     <ItemGroup>
-      <PackageReference Include="protobuf-net" Version="3.2.30" />
+      <PackageReference Include="protobuf-net" Version="3.2.45" />
     </ItemGroup>
     </ItemGroup>
   
   
   <PropertyGroup>
   <PropertyGroup>

+ 2 - 2
src/PixiEditor.Extensions.MSPackageBuilder/PixiEditor.Extensions.MSPackageBuilder.csproj

@@ -13,7 +13,7 @@
   </PropertyGroup>
   </PropertyGroup>
 
 
   <ItemGroup>
   <ItemGroup>
-    <PackageReference Include="Microsoft.Build.Utilities.Core" Version="17.9.5" ExcludeAssets="Runtime"/>
-    <PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
+    <PackageReference Include="Microsoft.Build.Utilities.Core" Version="17.12.6" ExcludeAssets="Runtime" />
+    <PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
   </ItemGroup>
   </ItemGroup>
 </Project>
 </Project>

+ 1 - 1
src/PixiEditor.Extensions.Sdk/PixiEditor.Extensions.Sdk.csproj

@@ -23,7 +23,7 @@
   </ItemGroup>
   </ItemGroup>
 
 
   <ItemGroup>
   <ItemGroup>
-    <PackageReference Include="Microsoft.Build.Utilities.Core" Version="17.8.3"/>
+    <PackageReference Include="Microsoft.Build.Utilities.Core" Version="17.12.6" />
   </ItemGroup>
   </ItemGroup>
 
 
   <Target Name="PackTaskDependencies" BeforeTargets="GenerateNuspec">
   <Target Name="PackTaskDependencies" BeforeTargets="GenerateNuspec">

BIN
src/PixiEditor.Extensions.Sdk/build/Mono.Cecil.Mdb.dll


BIN
src/PixiEditor.Extensions.Sdk/build/Mono.Cecil.Pdb.dll


BIN
src/PixiEditor.Extensions.Sdk/build/Mono.Cecil.Rocks.dll


BIN
src/PixiEditor.Extensions.Sdk/build/Mono.Cecil.dll


BIN
src/PixiEditor.Extensions.Sdk/build/Newtonsoft.Json.dll


+ 32 - 32
src/PixiEditor.Extensions.Sdk/build/PixiEditor.Api.CGlueMSBuild.deps.json

@@ -9,8 +9,8 @@
     ".NETStandard,Version=v2.0/": {
     ".NETStandard,Version=v2.0/": {
       "PixiEditor.Api.CGlueMSBuild/1.0.0": {
       "PixiEditor.Api.CGlueMSBuild/1.0.0": {
         "dependencies": {
         "dependencies": {
-          "Microsoft.Build.Utilities.Core": "17.9.5",
-          "Mono.Cecil": "0.11.5",
+          "Microsoft.Build.Utilities.Core": "17.12.6",
+          "Mono.Cecil": "0.11.6",
           "NETStandard.Library": "2.0.3",
           "NETStandard.Library": "2.0.3",
           "StyleCop.Analyzers": "1.1.118"
           "StyleCop.Analyzers": "1.1.118"
         },
         },
@@ -18,7 +18,7 @@
           "PixiEditor.Api.CGlueMSBuild.dll": {}
           "PixiEditor.Api.CGlueMSBuild.dll": {}
         }
         }
       },
       },
-      "Microsoft.Build.Framework/17.9.5": {
+      "Microsoft.Build.Framework/17.12.6": {
         "dependencies": {
         "dependencies": {
           "Microsoft.Win32.Registry": "5.0.0",
           "Microsoft.Win32.Registry": "5.0.0",
           "System.Memory": "4.5.5",
           "System.Memory": "4.5.5",
@@ -26,10 +26,10 @@
           "System.Security.Principal.Windows": "5.0.0"
           "System.Security.Principal.Windows": "5.0.0"
         }
         }
       },
       },
-      "Microsoft.Build.Utilities.Core/17.9.5": {
+      "Microsoft.Build.Utilities.Core/17.12.6": {
         "dependencies": {
         "dependencies": {
-          "Microsoft.Build.Framework": "17.9.5",
-          "Microsoft.NET.StringTools": "17.9.5",
+          "Microsoft.Build.Framework": "17.12.6",
+          "Microsoft.NET.StringTools": "17.12.6",
           "Microsoft.Win32.Registry": "5.0.0",
           "Microsoft.Win32.Registry": "5.0.0",
           "System.Collections.Immutable": "8.0.0",
           "System.Collections.Immutable": "8.0.0",
           "System.Configuration.ConfigurationManager": "8.0.0",
           "System.Configuration.ConfigurationManager": "8.0.0",
@@ -39,7 +39,7 @@
           "System.Text.Encoding.CodePages": "7.0.0"
           "System.Text.Encoding.CodePages": "7.0.0"
         }
         }
       },
       },
-      "Microsoft.NET.StringTools/17.9.5": {
+      "Microsoft.NET.StringTools/17.12.6": {
         "dependencies": {
         "dependencies": {
           "System.Memory": "4.5.5",
           "System.Memory": "4.5.5",
           "System.Runtime.CompilerServices.Unsafe": "6.0.0"
           "System.Runtime.CompilerServices.Unsafe": "6.0.0"
@@ -54,23 +54,23 @@
           "System.Security.Principal.Windows": "5.0.0"
           "System.Security.Principal.Windows": "5.0.0"
         }
         }
       },
       },
-      "Mono.Cecil/0.11.5": {
+      "Mono.Cecil/0.11.6": {
         "runtime": {
         "runtime": {
           "lib/netstandard2.0/Mono.Cecil.Mdb.dll": {
           "lib/netstandard2.0/Mono.Cecil.Mdb.dll": {
-            "assemblyVersion": "0.11.5.0",
-            "fileVersion": "0.11.5.0"
+            "assemblyVersion": "0.11.6.0",
+            "fileVersion": "0.11.6.0"
           },
           },
           "lib/netstandard2.0/Mono.Cecil.Pdb.dll": {
           "lib/netstandard2.0/Mono.Cecil.Pdb.dll": {
-            "assemblyVersion": "0.11.5.0",
-            "fileVersion": "0.11.5.0"
+            "assemblyVersion": "0.11.6.0",
+            "fileVersion": "0.11.6.0"
           },
           },
           "lib/netstandard2.0/Mono.Cecil.Rocks.dll": {
           "lib/netstandard2.0/Mono.Cecil.Rocks.dll": {
-            "assemblyVersion": "0.11.5.0",
-            "fileVersion": "0.11.5.0"
+            "assemblyVersion": "0.11.6.0",
+            "fileVersion": "0.11.6.0"
           },
           },
           "lib/netstandard2.0/Mono.Cecil.dll": {
           "lib/netstandard2.0/Mono.Cecil.dll": {
-            "assemblyVersion": "0.11.5.0",
-            "fileVersion": "0.11.5.0"
+            "assemblyVersion": "0.11.6.0",
+            "fileVersion": "0.11.6.0"
           }
           }
         }
         }
       },
       },
@@ -126,26 +126,26 @@
       "serviceable": false,
       "serviceable": false,
       "sha512": ""
       "sha512": ""
     },
     },
-    "Microsoft.Build.Framework/17.9.5": {
+    "Microsoft.Build.Framework/17.12.6": {
       "type": "package",
       "type": "package",
       "serviceable": true,
       "serviceable": true,
-      "sha512": "sha512-CjRmqu9Wv2fyC1d7NKOuBDXcNMI8+GiXGM6izygB+skGGu4Vf0cBcoPq7AFqZCcMpn5DtZ+y7RpaLpB2qrzanQ==",
-      "path": "microsoft.build.framework/17.9.5",
-      "hashPath": "microsoft.build.framework.17.9.5.nupkg.sha512"
+      "sha512": "sha512-jleteC0seumLGTmTVwob97lcwPj/dfgzL/V3g/VVcMZgo2Ic7jzdy8AYpByPDh8e3uRq0SjCl6HOFCjhy5GzRQ==",
+      "path": "microsoft.build.framework/17.12.6",
+      "hashPath": "microsoft.build.framework.17.12.6.nupkg.sha512"
     },
     },
-    "Microsoft.Build.Utilities.Core/17.9.5": {
+    "Microsoft.Build.Utilities.Core/17.12.6": {
       "type": "package",
       "type": "package",
       "serviceable": true,
       "serviceable": true,
-      "sha512": "sha512-H2hpVdm7cX/uGJD1HOfab3RKgD5tlnvzQkFqvsrAqGHRi0sqb2w1+hRwERFm23witCjmERnqNgiQjYks6/ds8A==",
-      "path": "microsoft.build.utilities.core/17.9.5",
-      "hashPath": "microsoft.build.utilities.core.17.9.5.nupkg.sha512"
+      "sha512": "sha512-pU3GnHcXp8VRMGKxdJCq+tixfhFn+QwEbpqmZmc/nqFHFyuhlGwjonWZMIWcwuCv/8EHgxoOttFvna1vrN+RrA==",
+      "path": "microsoft.build.utilities.core/17.12.6",
+      "hashPath": "microsoft.build.utilities.core.17.12.6.nupkg.sha512"
     },
     },
-    "Microsoft.NET.StringTools/17.9.5": {
+    "Microsoft.NET.StringTools/17.12.6": {
       "type": "package",
       "type": "package",
       "serviceable": true,
       "serviceable": true,
-      "sha512": "sha512-C/oPRnjcIZBRzcpl1V06R1eEMCxOGt6mIm+8ioyblELgJEXLM8XjUPuCwljMO52VetsHw54xMcYwU8UEeHEIEg==",
-      "path": "microsoft.net.stringtools/17.9.5",
-      "hashPath": "microsoft.net.stringtools.17.9.5.nupkg.sha512"
+      "sha512": "sha512-w8Ehofqte5bJoR+Fa3f6JwkwFEkGtXxqvQHGOVOSHDzgNVySvL5FSNhavbQSZ864el9c3rjdLPLAtBW8dq6fmg==",
+      "path": "microsoft.net.stringtools/17.12.6",
+      "hashPath": "microsoft.net.stringtools.17.12.6.nupkg.sha512"
     },
     },
     "Microsoft.NETCore.Platforms/1.1.0": {
     "Microsoft.NETCore.Platforms/1.1.0": {
       "type": "package",
       "type": "package",
@@ -161,12 +161,12 @@
       "path": "microsoft.win32.registry/5.0.0",
       "path": "microsoft.win32.registry/5.0.0",
       "hashPath": "microsoft.win32.registry.5.0.0.nupkg.sha512"
       "hashPath": "microsoft.win32.registry.5.0.0.nupkg.sha512"
     },
     },
-    "Mono.Cecil/0.11.5": {
+    "Mono.Cecil/0.11.6": {
       "type": "package",
       "type": "package",
       "serviceable": true,
       "serviceable": true,
-      "sha512": "sha512-fxfX+0JGTZ8YQeu1MYjbBiK2CYTSzDyEeIixt+yqKKTn7FW8rv7JMY70qevup4ZJfD7Kk/VG/jDzQQTpfch87g==",
-      "path": "mono.cecil/0.11.5",
-      "hashPath": "mono.cecil.0.11.5.nupkg.sha512"
+      "sha512": "sha512-f33RkDtZO8VlGXCtmQIviOtxgnUdym9xx/b1p9h91CRGOsJFxCFOFK1FDbVt1OCf1aWwYejUFa2MOQyFWTFjbA==",
+      "path": "mono.cecil/0.11.6",
+      "hashPath": "mono.cecil.0.11.6.nupkg.sha512"
     },
     },
     "NETStandard.Library/2.0.3": {
     "NETStandard.Library/2.0.3": {
       "type": "package",
       "type": "package",

BIN
src/PixiEditor.Extensions.Sdk/build/PixiEditor.Api.CGlueMSBuild.dll


+ 25 - 25
src/PixiEditor.Extensions.Sdk/build/PixiEditor.Extensions.MSPackageBuilder.deps.json

@@ -9,16 +9,16 @@
     ".NETStandard,Version=v2.0/": {
     ".NETStandard,Version=v2.0/": {
       "PixiEditor.Extensions.MSPackageBuilder/1.0.0": {
       "PixiEditor.Extensions.MSPackageBuilder/1.0.0": {
         "dependencies": {
         "dependencies": {
-          "Microsoft.Build.Utilities.Core": "17.9.5",
+          "Microsoft.Build.Utilities.Core": "17.12.6",
           "NETStandard.Library": "2.0.3",
           "NETStandard.Library": "2.0.3",
-          "Newtonsoft.Json": "13.0.1",
+          "Newtonsoft.Json": "13.0.3",
           "StyleCop.Analyzers": "1.1.118"
           "StyleCop.Analyzers": "1.1.118"
         },
         },
         "runtime": {
         "runtime": {
           "PixiEditor.Extensions.MSPackageBuilder.dll": {}
           "PixiEditor.Extensions.MSPackageBuilder.dll": {}
         }
         }
       },
       },
-      "Microsoft.Build.Framework/17.9.5": {
+      "Microsoft.Build.Framework/17.12.6": {
         "dependencies": {
         "dependencies": {
           "Microsoft.Win32.Registry": "5.0.0",
           "Microsoft.Win32.Registry": "5.0.0",
           "System.Memory": "4.5.5",
           "System.Memory": "4.5.5",
@@ -26,10 +26,10 @@
           "System.Security.Principal.Windows": "5.0.0"
           "System.Security.Principal.Windows": "5.0.0"
         }
         }
       },
       },
-      "Microsoft.Build.Utilities.Core/17.9.5": {
+      "Microsoft.Build.Utilities.Core/17.12.6": {
         "dependencies": {
         "dependencies": {
-          "Microsoft.Build.Framework": "17.9.5",
-          "Microsoft.NET.StringTools": "17.9.5",
+          "Microsoft.Build.Framework": "17.12.6",
+          "Microsoft.NET.StringTools": "17.12.6",
           "Microsoft.Win32.Registry": "5.0.0",
           "Microsoft.Win32.Registry": "5.0.0",
           "System.Collections.Immutable": "8.0.0",
           "System.Collections.Immutable": "8.0.0",
           "System.Configuration.ConfigurationManager": "8.0.0",
           "System.Configuration.ConfigurationManager": "8.0.0",
@@ -39,7 +39,7 @@
           "System.Text.Encoding.CodePages": "7.0.0"
           "System.Text.Encoding.CodePages": "7.0.0"
         }
         }
       },
       },
-      "Microsoft.NET.StringTools/17.9.5": {
+      "Microsoft.NET.StringTools/17.12.6": {
         "dependencies": {
         "dependencies": {
           "System.Memory": "4.5.5",
           "System.Memory": "4.5.5",
           "System.Runtime.CompilerServices.Unsafe": "6.0.0"
           "System.Runtime.CompilerServices.Unsafe": "6.0.0"
@@ -59,11 +59,11 @@
           "Microsoft.NETCore.Platforms": "1.1.0"
           "Microsoft.NETCore.Platforms": "1.1.0"
         }
         }
       },
       },
-      "Newtonsoft.Json/13.0.1": {
+      "Newtonsoft.Json/13.0.3": {
         "runtime": {
         "runtime": {
           "lib/netstandard2.0/Newtonsoft.Json.dll": {
           "lib/netstandard2.0/Newtonsoft.Json.dll": {
             "assemblyVersion": "13.0.0.0",
             "assemblyVersion": "13.0.0.0",
-            "fileVersion": "13.0.1.25517"
+            "fileVersion": "13.0.3.27908"
           }
           }
         }
         }
       },
       },
@@ -114,26 +114,26 @@
       "serviceable": false,
       "serviceable": false,
       "sha512": ""
       "sha512": ""
     },
     },
-    "Microsoft.Build.Framework/17.9.5": {
+    "Microsoft.Build.Framework/17.12.6": {
       "type": "package",
       "type": "package",
       "serviceable": true,
       "serviceable": true,
-      "sha512": "sha512-CjRmqu9Wv2fyC1d7NKOuBDXcNMI8+GiXGM6izygB+skGGu4Vf0cBcoPq7AFqZCcMpn5DtZ+y7RpaLpB2qrzanQ==",
-      "path": "microsoft.build.framework/17.9.5",
-      "hashPath": "microsoft.build.framework.17.9.5.nupkg.sha512"
+      "sha512": "sha512-jleteC0seumLGTmTVwob97lcwPj/dfgzL/V3g/VVcMZgo2Ic7jzdy8AYpByPDh8e3uRq0SjCl6HOFCjhy5GzRQ==",
+      "path": "microsoft.build.framework/17.12.6",
+      "hashPath": "microsoft.build.framework.17.12.6.nupkg.sha512"
     },
     },
-    "Microsoft.Build.Utilities.Core/17.9.5": {
+    "Microsoft.Build.Utilities.Core/17.12.6": {
       "type": "package",
       "type": "package",
       "serviceable": true,
       "serviceable": true,
-      "sha512": "sha512-H2hpVdm7cX/uGJD1HOfab3RKgD5tlnvzQkFqvsrAqGHRi0sqb2w1+hRwERFm23witCjmERnqNgiQjYks6/ds8A==",
-      "path": "microsoft.build.utilities.core/17.9.5",
-      "hashPath": "microsoft.build.utilities.core.17.9.5.nupkg.sha512"
+      "sha512": "sha512-pU3GnHcXp8VRMGKxdJCq+tixfhFn+QwEbpqmZmc/nqFHFyuhlGwjonWZMIWcwuCv/8EHgxoOttFvna1vrN+RrA==",
+      "path": "microsoft.build.utilities.core/17.12.6",
+      "hashPath": "microsoft.build.utilities.core.17.12.6.nupkg.sha512"
     },
     },
-    "Microsoft.NET.StringTools/17.9.5": {
+    "Microsoft.NET.StringTools/17.12.6": {
       "type": "package",
       "type": "package",
       "serviceable": true,
       "serviceable": true,
-      "sha512": "sha512-C/oPRnjcIZBRzcpl1V06R1eEMCxOGt6mIm+8ioyblELgJEXLM8XjUPuCwljMO52VetsHw54xMcYwU8UEeHEIEg==",
-      "path": "microsoft.net.stringtools/17.9.5",
-      "hashPath": "microsoft.net.stringtools.17.9.5.nupkg.sha512"
+      "sha512": "sha512-w8Ehofqte5bJoR+Fa3f6JwkwFEkGtXxqvQHGOVOSHDzgNVySvL5FSNhavbQSZ864el9c3rjdLPLAtBW8dq6fmg==",
+      "path": "microsoft.net.stringtools/17.12.6",
+      "hashPath": "microsoft.net.stringtools.17.12.6.nupkg.sha512"
     },
     },
     "Microsoft.NETCore.Platforms/1.1.0": {
     "Microsoft.NETCore.Platforms/1.1.0": {
       "type": "package",
       "type": "package",
@@ -156,12 +156,12 @@
       "path": "netstandard.library/2.0.3",
       "path": "netstandard.library/2.0.3",
       "hashPath": "netstandard.library.2.0.3.nupkg.sha512"
       "hashPath": "netstandard.library.2.0.3.nupkg.sha512"
     },
     },
-    "Newtonsoft.Json/13.0.1": {
+    "Newtonsoft.Json/13.0.3": {
       "type": "package",
       "type": "package",
       "serviceable": true,
       "serviceable": true,
-      "sha512": "sha512-ppPFpBcvxdsfUonNcvITKqLl3bqxWbDCZIzDWHzjpdAHRFfZe0Dw9HmA0+za13IdyrgJwpkDTDA9fHaxOrt20A==",
-      "path": "newtonsoft.json/13.0.1",
-      "hashPath": "newtonsoft.json.13.0.1.nupkg.sha512"
+      "sha512": "sha512-HrC5BXdl00IP9zeV+0Z848QWPAoCr9P3bDEZguI+gkLcBKAOxix/tLEAAHC+UvDNPv4a2d18lOReHMOagPa+zQ==",
+      "path": "newtonsoft.json/13.0.3",
+      "hashPath": "newtonsoft.json.13.0.3.nupkg.sha512"
     },
     },
     "StyleCop.Analyzers/1.1.118": {
     "StyleCop.Analyzers/1.1.118": {
       "type": "package",
       "type": "package",

BIN
src/PixiEditor.Extensions.Sdk/build/PixiEditor.Extensions.MSPackageBuilder.dll


+ 2 - 2
src/PixiEditor.Extensions.WasmRuntime/PixiEditor.Extensions.WasmRuntime.csproj

@@ -8,8 +8,8 @@
     </PropertyGroup>
     </PropertyGroup>
 
 
     <ItemGroup>
     <ItemGroup>
-      <PackageReference Include="CommunityToolkit.HighPerformance" Version="8.2.2" />
-      <PackageReference Include="Wasmtime" Version="16.0.0" />
+      <PackageReference Include="CommunityToolkit.HighPerformance" Version="8.3.2" />
+      <PackageReference Include="Wasmtime" Version="22.0.0" />
     </ItemGroup>
     </ItemGroup>
 
 
     <ItemGroup>
     <ItemGroup>

+ 2 - 2
src/PixiEditor.Extensions/PixiEditor.Extensions.csproj

@@ -15,8 +15,8 @@
     <ItemGroup>
     <ItemGroup>
       <PackageReference Include="Avalonia" Version="$(AvaloniaVersion)" />
       <PackageReference Include="Avalonia" Version="$(AvaloniaVersion)" />
       <PackageReference Include="Avalonia.Remote.Protocol" Version="$(AvaloniaVersion)" />
       <PackageReference Include="Avalonia.Remote.Protocol" Version="$(AvaloniaVersion)" />
-      <PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="7.0.0" />
-      <PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="7.0.0" />
+      <PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="9.0.0" />
+      <PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="9.0.0" />
       <PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
       <PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
     </ItemGroup>
     </ItemGroup>
 
 

+ 1 - 1
src/PixiEditor.Gen/PixiEditor.Gen.csproj

@@ -10,7 +10,7 @@
   </PropertyGroup>
   </PropertyGroup>
 
 
   <ItemGroup>
   <ItemGroup>
-    <PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.3.1" />
+    <PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.11.0" />
   </ItemGroup>
   </ItemGroup>
   <ItemGroup>
   <ItemGroup>
     <None Include="$(OutputPath)\$(AssemblyName).dll" Pack="true" PackagePath="analyzers/dotnet/cs" Visible="false" />
     <None Include="$(OutputPath)\$(AssemblyName).dll" Pack="true" PackagePath="analyzers/dotnet/cs" Visible="false" />

+ 1 - 1
src/PixiEditor.Platform/PixiEditor.Platform.csproj

@@ -7,7 +7,7 @@
     </PropertyGroup>
     </PropertyGroup>
 
 
     <ItemGroup>
     <ItemGroup>
-      <PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="7.0.0" />
+      <PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="9.0.0" />
     </ItemGroup>
     </ItemGroup>
 
 
 </Project>
 </Project>

+ 46 - 4
src/PixiEditor.UI.Common/Controls/TimePicker.axaml

@@ -7,7 +7,8 @@
 
 
 <ResourceDictionary xmlns="https://github.com/avaloniaui"
 <ResourceDictionary xmlns="https://github.com/avaloniaui"
                     xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                     xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
-                    xmlns:sys="using:System">
+                    xmlns:sys="using:System"
+                    x:ClassModifier="internal">
   <Design.PreviewWith>
   <Design.PreviewWith>
     <Border Height="500"
     <Border Height="500"
             Padding="20">
             Padding="20">
@@ -93,7 +94,7 @@
                     MinWidth="{DynamicResource TimePickerThemeMinWidth}"
                     MinWidth="{DynamicResource TimePickerThemeMinWidth}"
                     MaxWidth="{DynamicResource TimePickerThemeMaxWidth}"
                     MaxWidth="{DynamicResource TimePickerThemeMaxWidth}"
                     HorizontalAlignment="Stretch"
                     HorizontalAlignment="Stretch"
-                    VerticalAlignment="Top"
+                    VerticalAlignment="Stretch"
                     Background="{TemplateBinding Background}"
                     Background="{TemplateBinding Background}"
                     BorderBrush="{TemplateBinding BorderBrush}"
                     BorderBrush="{TemplateBinding BorderBrush}"
                     BorderThickness="{TemplateBinding BorderThickness}"
                     BorderThickness="{TemplateBinding BorderThickness}"
@@ -109,6 +110,7 @@
                         HorizontalAlignment="Stretch"
                         HorizontalAlignment="Stretch"
                         VerticalAlignment="Stretch">
                         VerticalAlignment="Stretch">
                   <TextBlock x:Name="PART_HourTextBlock"
                   <TextBlock x:Name="PART_HourTextBlock"
+                             Text="{DynamicResource StringTimePickerHourText}"
                              Padding="{DynamicResource TimePickerHostPadding}"
                              Padding="{DynamicResource TimePickerHostPadding}"
                              HorizontalAlignment="Center"
                              HorizontalAlignment="Center"
                              FontFamily="{TemplateBinding FontFamily}"
                              FontFamily="{TemplateBinding FontFamily}"
@@ -127,6 +129,7 @@
                         HorizontalAlignment="Stretch"
                         HorizontalAlignment="Stretch"
                         VerticalAlignment="Stretch">
                         VerticalAlignment="Stretch">
                   <TextBlock x:Name="PART_MinuteTextBlock"
                   <TextBlock x:Name="PART_MinuteTextBlock"
+                             Text="{DynamicResource StringTimePickerMinuteText}"
                              Padding="{DynamicResource TimePickerHostPadding}"
                              Padding="{DynamicResource TimePickerHostPadding}"
                              HorizontalAlignment="Center"
                              HorizontalAlignment="Center"
                              FontFamily="{TemplateBinding FontFamily}"
                              FontFamily="{TemplateBinding FontFamily}"
@@ -139,11 +142,30 @@
                            Width="{DynamicResource TimePickerSpacerThemeWidth}"
                            Width="{DynamicResource TimePickerSpacerThemeWidth}"
                            HorizontalAlignment="Center"
                            HorizontalAlignment="Center"
                            Fill="{DynamicResource TimePickerSpacerFill}" />
                            Fill="{DynamicResource TimePickerSpacerFill}" />
-
+                
                 <Border x:Name="PART_ThirdPickerHost"
                 <Border x:Name="PART_ThirdPickerHost"
                         Grid.Column="4"
                         Grid.Column="4"
                         HorizontalAlignment="Stretch"
                         HorizontalAlignment="Stretch"
                         VerticalAlignment="Stretch">
                         VerticalAlignment="Stretch">
+                  <TextBlock x:Name="PART_SecondTextBlock"
+                             Text="{DynamicResource StringTimePickerSecondText}"
+                             Padding="{DynamicResource TimePickerHostPadding}"
+                             HorizontalAlignment="Center"
+                             FontFamily="{TemplateBinding FontFamily}"
+                             FontSize="{TemplateBinding FontSize}"
+                             FontWeight="{TemplateBinding FontWeight}" />
+                </Border>
+
+                <Rectangle Name="PART_ThirdColumnDivider"
+                           Grid.Column="5"
+                           Width="{DynamicResource TimePickerSpacerThemeWidth}"
+                           HorizontalAlignment="Center"
+                           Fill="{DynamicResource TimePickerSpacerFill}" />
+
+                <Border x:Name="PART_FourthPickerHost"
+                        Grid.Column="6"
+                        HorizontalAlignment="Stretch"
+                        VerticalAlignment="Stretch">
                   <TextBlock x:Name="PART_PeriodTextBlock"
                   <TextBlock x:Name="PART_PeriodTextBlock"
                              Padding="{DynamicResource TimePickerHostPadding}"
                              Padding="{DynamicResource TimePickerHostPadding}"
                              HorizontalAlignment="Center"
                              HorizontalAlignment="Center"
@@ -227,9 +249,24 @@
                 <RepeatButton Name="PART_MinuteDownButton"
                 <RepeatButton Name="PART_MinuteDownButton"
                               Theme="{StaticResource SimpleDateTimePickerDownButton}" />
                               Theme="{StaticResource SimpleDateTimePickerDownButton}" />
               </Panel>
               </Panel>
+              
+              <Panel Name="PART_SecondHost"
+                     Grid.Column="4">
+                <ScrollViewer HorizontalScrollBarVisibility="Disabled"
+                              VerticalScrollBarVisibility="Hidden">
+                  <DateTimePickerPanel Name="PART_SecondSelector"
+                                       ItemHeight="{DynamicResource TimePickerFlyoutPresenterItemHeight}"
+                                       PanelType="Second"
+                                       ShouldLoop="True" />
+                </ScrollViewer>
+                <RepeatButton Name="PART_SecondUpButton"
+                              Theme="{StaticResource SimpleDateTimePickerUpButton}" />
+                <RepeatButton Name="PART_SecondDownButton"
+                              Theme="{StaticResource SimpleDateTimePickerDownButton}" />
+              </Panel>
 
 
               <Panel Name="PART_PeriodHost"
               <Panel Name="PART_PeriodHost"
-                     Grid.Column="4">
+                     Grid.Column="6">
                 <ScrollViewer HorizontalScrollBarVisibility="Disabled"
                 <ScrollViewer HorizontalScrollBarVisibility="Disabled"
                               VerticalScrollBarVisibility="Hidden">
                               VerticalScrollBarVisibility="Hidden">
                   <DateTimePickerPanel Name="PART_PeriodSelector"
                   <DateTimePickerPanel Name="PART_PeriodSelector"
@@ -264,6 +301,11 @@
                          Width="{DynamicResource TimePickerSpacerThemeWidth}"
                          Width="{DynamicResource TimePickerSpacerThemeWidth}"
                          HorizontalAlignment="Center"
                          HorizontalAlignment="Center"
                          Fill="{DynamicResource ThemeControlMidHighBrush}" />
                          Fill="{DynamicResource ThemeControlMidHighBrush}" />
+              <Rectangle Name="PART_ThirdSpacer"
+                         Grid.Column="5"
+                         Width="{DynamicResource TimePickerSpacerThemeWidth}"
+                         HorizontalAlignment="Center"
+                         Fill="{DynamicResource ThemeControlMidHighBrush}" />
             </Grid>
             </Grid>
 
 
             <Grid Name="AcceptDismissGrid"
             <Grid Name="AcceptDismissGrid"

+ 2 - 2
src/PixiEditor.WasmApi.Gen/PixiEditor.WasmApi.Gen.csproj

@@ -10,8 +10,8 @@
   </PropertyGroup>
   </PropertyGroup>
 
 
   <ItemGroup>
   <ItemGroup>
-    <PackageReference Include="Microsoft.CodeAnalysis.Analyzers" Version="3.3.4" PrivateAssets="all"/>
-    <PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.9.2" PrivateAssets="all"/>
+    <PackageReference Include="Microsoft.CodeAnalysis.Analyzers" Version="3.11.0" PrivateAssets="all" />
+    <PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.11.0" PrivateAssets="all" />
   </ItemGroup>
   </ItemGroup>
 
 
   <ItemGroup>
   <ItemGroup>

+ 8 - 8
src/PixiEditor/PixiEditor.csproj

@@ -83,22 +83,22 @@
   </ItemGroup>
   </ItemGroup>
 
 
   <ItemGroup>
   <ItemGroup>
-    <PackageReference Include="AsyncImageLoader.Avalonia" Version="3.2.1"/>
+    <PackageReference Include="AsyncImageLoader.Avalonia" Version="3.3.0" />
     <PackageReference Include="Avalonia" Version="$(AvaloniaVersion)"/>
     <PackageReference Include="Avalonia" Version="$(AvaloniaVersion)"/>
     <PackageReference Include="Avalonia.Headless" Version="$(AvaloniaVersion)"/>
     <PackageReference Include="Avalonia.Headless" Version="$(AvaloniaVersion)"/>
-    <PackageReference Include="Avalonia.Labs.Lottie" Version="11.0.10.1"/>
+    <PackageReference Include="Avalonia.Labs.Lottie" Version="11.2.0"/>
     <PackageReference Include="Avalonia.Themes.Fluent" Version="$(AvaloniaVersion)"/>
     <PackageReference Include="Avalonia.Themes.Fluent" Version="$(AvaloniaVersion)"/>
     <PackageReference Include="Avalonia.Skia" Version="$(AvaloniaVersion)"/>
     <PackageReference Include="Avalonia.Skia" Version="$(AvaloniaVersion)"/>
-    <PackageReference Include="Avalonia.Svg.Skia" Version="11.1.0"/>
+    <PackageReference Include="Avalonia.Svg.Skia" Version="11.2.0" />
     <!--Condition below is needed to remove Avalonia.Diagnostics package from build output in Release configuration.-->
     <!--Condition below is needed to remove Avalonia.Diagnostics package from build output in Release configuration.-->
     <PackageReference Condition="'$(Configuration)' == 'Debug'" Include="Avalonia.Diagnostics" Version="$(AvaloniaVersion)"/>
     <PackageReference Condition="'$(Configuration)' == 'Debug'" Include="Avalonia.Diagnostics" Version="$(AvaloniaVersion)"/>
-    <PackageReference Include="ByteSize" Version="2.1.1"/>
+    <PackageReference Include="ByteSize" Version="2.1.2" />
     <PackageReference Include="CLSEncoderDecoder" Version="1.0.0"/>
     <PackageReference Include="CLSEncoderDecoder" Version="1.0.0"/>
-    <PackageReference Include="CommunityToolkit.Mvvm" Version="8.2.2"/>
+    <PackageReference Include="CommunityToolkit.Mvvm" Version="8.3.2" />
     <PackageReference Include="DiscordRichPresence" Version="1.2.1.24"/>
     <PackageReference Include="DiscordRichPresence" Version="1.2.1.24"/>
-    <PackageReference Include="Hardware.Info" Version="11.0.0"/>
-    <PackageReference Include="Microsoft.CodeAnalysis.Common" Version="4.9.2"/>
-    <PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.9.2"/>
+    <PackageReference Include="Hardware.Info" Version="101.0.0" />
+    <PackageReference Include="Microsoft.CodeAnalysis.Common" Version="4.11.0" />
+    <PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.11.0" />
     <PackageReference Include="Newtonsoft.Json" Version="13.0.3"/>
     <PackageReference Include="Newtonsoft.Json" Version="13.0.3"/>
     <PackageReference Include="PixiEditor.ColorPicker.AvaloniaUI" Version="1.0.6"/>
     <PackageReference Include="PixiEditor.ColorPicker.AvaloniaUI" Version="1.0.6"/>
   </ItemGroup>
   </ItemGroup>

+ 1 - 1
src/PixiEditor/Styles/PixiEditorPopupTemplate.axaml

@@ -18,7 +18,7 @@
         <Setter Property="Background" Value="{DynamicResource ThemeBackgroundBrush}" />
         <Setter Property="Background" Value="{DynamicResource ThemeBackgroundBrush}" />
         <Setter Property="Foreground" Value="{DynamicResource ThemeForegroundBrush}" />
         <Setter Property="Foreground" Value="{DynamicResource ThemeForegroundBrush}" />
         <Setter Property="FontSize" Value="{DynamicResource FontSizeNormal}" />
         <Setter Property="FontSize" Value="{DynamicResource FontSizeNormal}" />
-        <Setter Property="ShowInTaskbar" Value="{TemplateBinding CanMinimize}" />
+        <Setter Property="ShowInTaskbar" Value="{Binding CanMinimize, RelativeSource={RelativeSource TemplatedParent}}" />
         <Setter Property="ui:Translator.UseLanguageFlowDirection" Value="True"></Setter>
         <Setter Property="ui:Translator.UseLanguageFlowDirection" Value="True"></Setter>
         <Setter Property="Template">
         <Setter Property="Template">
             <ControlTemplate>
             <ControlTemplate>

+ 1 - 0
src/PixiEditor/Views/Input/NumberInput.cs

@@ -12,6 +12,7 @@ using Avalonia.Layout;
 using Avalonia.Media;
 using Avalonia.Media;
 using Avalonia.Xaml.Interactivity;
 using Avalonia.Xaml.Interactivity;
 using PixiEditor.Helpers.Behaviours;
 using PixiEditor.Helpers.Behaviours;
+using Action = System.Action;
 
 
 namespace PixiEditor.Views.Input;
 namespace PixiEditor.Views.Input;
 
 

+ 1 - 1
src/PixiParser

@@ -1 +1 @@
-Subproject commit 57f1a3b2d7e1ffc3dbe33fbdc4f7d59619a61218
+Subproject commit 31ee9fa86c1900d541bc9d74ee2c3cb8952621b0

+ 1 - 1
src/global.json

@@ -1,6 +1,6 @@
 {
 {
   "sdk": {
   "sdk": {
-    "version": "8.0.0",
+    "version": "9.0.0",
     "rollForward": "latestMajor",
     "rollForward": "latestMajor",
     "allowPrerelease": false
     "allowPrerelease": false
   }
   }

+ 3 - 3
tests/ChunkyImageLibTest/ChunkyImageLibTest.csproj

@@ -7,9 +7,9 @@
   </PropertyGroup>
   </PropertyGroup>
 
 
   <ItemGroup>
   <ItemGroup>
-    <PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.11.0" />
-    <PackageReference Include="xunit" Version="2.4.1" />
-    <PackageReference Include="xunit.runner.visualstudio" Version="2.4.3">
+    <PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />
+    <PackageReference Include="xunit" Version="2.9.2" />
+    <PackageReference Include="xunit.runner.visualstudio" Version="2.8.2">
       <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
       <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
       <PrivateAssets>all</PrivateAssets>
       <PrivateAssets>all</PrivateAssets>
     </PackageReference>
     </PackageReference>

+ 19 - 6
tests/ChunkyImageLibTest/RectangleOperationTests.cs

@@ -1,8 +1,10 @@
 using System.Collections.Generic;
 using System.Collections.Generic;
 using ChunkyImageLib;
 using ChunkyImageLib;
 using ChunkyImageLib.Operations;
 using ChunkyImageLib.Operations;
+using Drawie.Backend.Core.Bridge;
 using Drawie.Backend.Core.ColorsImpl;
 using Drawie.Backend.Core.ColorsImpl;
 using Drawie.Numerics;
 using Drawie.Numerics;
+using Drawie.Skia;
 using Xunit;
 using Xunit;
 
 
 namespace ChunkyImageLibTest;
 namespace ChunkyImageLibTest;
@@ -10,6 +12,16 @@ namespace ChunkyImageLibTest;
 public class RectangleOperationTests
 public class RectangleOperationTests
 {
 {
     const int chunkSize = ChunkPool.FullChunkSize;
     const int chunkSize = ChunkPool.FullChunkSize;
+    public RectangleOperationTests()
+    {
+        try
+        {
+            DrawingBackendApi.SetupBackend(new SkiaDrawingBackend(), null);
+        }
+        catch
+        {
+        }
+    }
 // to keep expected rectangles aligned
 // to keep expected rectangles aligned
 #pragma warning disable format
 #pragma warning disable format
     [Fact]
     [Fact]
@@ -45,7 +57,7 @@ public class RectangleOperationTests
         HashSet<VecI> expected = new()
         HashSet<VecI> expected = new()
         {
         {
             new(1, 1), new(2, 1), new(3, 1),
             new(1, 1), new(2, 1), new(3, 1),
-            new(1, 2),            new(3, 2),
+            new(1, 2), new(3, 2),
             new(1, 3), new(2, 3), new(3, 3),
             new(1, 3), new(2, 3), new(3, 3),
         };
         };
         var actual = operation.FindAffectedArea(new(chunkSize)).Chunks;
         var actual = operation.FindAffectedArea(new(chunkSize)).Chunks;
@@ -56,13 +68,14 @@ public class RectangleOperationTests
     [Fact]
     [Fact]
     public void FindAffectedArea_3x3NegativeStrokeOnly_FindsCorrectChunks()
     public void FindAffectedArea_3x3NegativeStrokeOnly_FindsCorrectChunks()
     {
     {
-        var (x, y, w, h) = (-chunkSize * 2 - chunkSize / 2, -chunkSize * 2 - chunkSize / 2, chunkSize * 2, chunkSize * 2);
+        var (x, y, w, h) = (-chunkSize * 2 - chunkSize / 2, -chunkSize * 2 - chunkSize / 2, chunkSize * 2,
+            chunkSize * 2);
         RectangleOperation operation = new(new(new(x, y), new(w, h), 0, 1, Colors.Black, Colors.Transparent));
         RectangleOperation operation = new(new(new(x, y), new(w, h), 0, 1, Colors.Black, Colors.Transparent));
 
 
         HashSet<VecI> expected = new()
         HashSet<VecI> expected = new()
         {
         {
             new(-4, -4), new(-3, -4), new(-2, -4),
             new(-4, -4), new(-3, -4), new(-2, -4),
-            new(-4, -3),              new(-2, -3),
+            new(-4, -3), new(-2, -3),
             new(-4, -2), new(-3, -2), new(-2, -2),
             new(-4, -2), new(-3, -2), new(-2, -2),
         };
         };
         var actual = operation.FindAffectedArea(new(chunkSize)).Chunks;
         var actual = operation.FindAffectedArea(new(chunkSize)).Chunks;
@@ -78,7 +91,7 @@ public class RectangleOperationTests
 
 
         HashSet<VecI> expected = new()
         HashSet<VecI> expected = new()
         {
         {
-            new(1, 1), new(2, 1), new(3, 1), 
+            new(1, 1), new(2, 1), new(3, 1),
             new(1, 2), new(2, 2), new(3, 2),
             new(1, 2), new(2, 2), new(3, 2),
             new(1, 3), new(2, 3), new(3, 3),
             new(1, 3), new(2, 3), new(3, 3),
         };
         };
@@ -97,7 +110,7 @@ public class RectangleOperationTests
         {
         {
             new(0, 0), new(1, 0), new(2, 0), new(3, 0), new(4, 0),
             new(0, 0), new(1, 0), new(2, 0), new(3, 0), new(4, 0),
             new(0, 1), new(1, 1), new(2, 1), new(3, 1), new(4, 1),
             new(0, 1), new(1, 1), new(2, 1), new(3, 1), new(4, 1),
-            new(0, 2), new(1, 2),            new(3, 2), new(4, 2),
+            new(0, 2), new(1, 2), new(3, 2), new(4, 2),
             new(0, 3), new(1, 3), new(2, 3), new(3, 3), new(4, 3),
             new(0, 3), new(1, 3), new(2, 3), new(3, 3), new(4, 3),
             new(0, 4), new(1, 4), new(2, 4), new(3, 4), new(4, 4),
             new(0, 4), new(1, 4), new(2, 4), new(3, 4), new(4, 4),
         };
         };
@@ -118,4 +131,4 @@ public class RectangleOperationTests
         Assert.Equal(expected, actual);
         Assert.Equal(expected, actual);
     }
     }
 #pragma warning restore format
 #pragma warning restore format
-}
+}

+ 1 - 1
tests/Directory.Build.props

@@ -1,7 +1,7 @@
 <Project>
 <Project>
     <PropertyGroup>
     <PropertyGroup>
         <CodeAnalysisRuleSet>../Custom.ruleset</CodeAnalysisRuleSet>
         <CodeAnalysisRuleSet>../Custom.ruleset</CodeAnalysisRuleSet>
-		<AvaloniaVersion>11.0.10</AvaloniaVersion>
+		<AvaloniaVersion>11.2.1</AvaloniaVersion>
     </PropertyGroup>
     </PropertyGroup>
     <ItemGroup>
     <ItemGroup>
         <PackageReference Include="StyleCop.Analyzers" Version="1.1.118" />
         <PackageReference Include="StyleCop.Analyzers" Version="1.1.118" />

+ 11 - 5
tests/PixiEditor.Api.CGlueMSBuild.Tests/PixiEditor.Api.CGlueMSBuild.Tests.csproj

@@ -9,11 +9,17 @@
   </PropertyGroup>
   </PropertyGroup>
 
 
   <ItemGroup>
   <ItemGroup>
-    <PackageReference Include="coverlet.collector" Version="6.0.0"/>
-    <PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0"/>
-    <PackageReference Include="Mono.Cecil" Version="0.11.5"/>
-    <PackageReference Include="xunit" Version="2.5.3"/>
-    <PackageReference Include="xunit.runner.visualstudio" Version="2.5.3"/>
+    <PackageReference Include="coverlet.collector" Version="6.0.2">
+      <PrivateAssets>all</PrivateAssets>
+      <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
+    </PackageReference>
+    <PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />
+    <PackageReference Include="Mono.Cecil" Version="0.11.6" />
+    <PackageReference Include="xunit" Version="2.9.2" />
+    <PackageReference Include="xunit.runner.visualstudio" Version="2.8.2">
+      <PrivateAssets>all</PrivateAssets>
+      <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
+    </PackageReference>
   </ItemGroup>
   </ItemGroup>
 
 
 
 

+ 1 - 0
tests/PixiEditor.Backend.Tests/MockDocument.cs

@@ -13,6 +13,7 @@ public class MockDocument : IReadOnlyDocument
         throw new NotImplementedException();
         throw new NotImplementedException();
     }
     }
 
 
+    public Guid DocumentId { get; }
     public IReadOnlyNodeGraph NodeGraph { get; }
     public IReadOnlyNodeGraph NodeGraph { get; }
     public IReadOnlySelection Selection { get; }
     public IReadOnlySelection Selection { get; }
     public IReadOnlyAnimationData AnimationData { get; }
     public IReadOnlyAnimationData AnimationData { get; }

+ 10 - 4
tests/PixiEditor.Backend.Tests/PixiEditor.Backend.Tests.csproj

@@ -10,10 +10,16 @@
     </PropertyGroup>
     </PropertyGroup>
 
 
     <ItemGroup>
     <ItemGroup>
-        <PackageReference Include="coverlet.collector" Version="6.0.0"/>
-        <PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0"/>
-        <PackageReference Include="xunit" Version="2.5.3"/>
-        <PackageReference Include="xunit.runner.visualstudio" Version="2.5.3"/>
+        <PackageReference Include="coverlet.collector" Version="6.0.2">
+          <PrivateAssets>all</PrivateAssets>
+          <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
+        </PackageReference>
+        <PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />
+        <PackageReference Include="xunit" Version="2.9.2" />
+        <PackageReference Include="xunit.runner.visualstudio" Version="2.8.2">
+          <PrivateAssets>all</PrivateAssets>
+          <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
+        </PackageReference>
     </ItemGroup>
     </ItemGroup>
 
 
     <ItemGroup>
     <ItemGroup>

+ 4 - 4
tests/PixiEditor.Extensions.Sdk.Tests/PixiEditor.Extensions.Sdk.Tests.csproj

@@ -10,13 +10,13 @@
     </PropertyGroup>
     </PropertyGroup>
 
 
     <ItemGroup>
     <ItemGroup>
-        <PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.6.0"/>
-        <PackageReference Include="xunit" Version="2.4.2"/>
-        <PackageReference Include="xunit.runner.visualstudio" Version="2.4.5">
+        <PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />
+        <PackageReference Include="xunit" Version="2.9.2" />
+        <PackageReference Include="xunit.runner.visualstudio" Version="2.8.2">
             <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
             <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
             <PrivateAssets>all</PrivateAssets>
             <PrivateAssets>all</PrivateAssets>
         </PackageReference>
         </PackageReference>
-        <PackageReference Include="coverlet.collector" Version="6.0.0">
+        <PackageReference Include="coverlet.collector" Version="6.0.2">
             <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
             <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
             <PrivateAssets>all</PrivateAssets>
             <PrivateAssets>all</PrivateAssets>
         </PackageReference>
         </PackageReference>

+ 4 - 4
tests/PixiEditor.Extensions.Tests/PixiEditor.Extensions.Tests.csproj

@@ -11,13 +11,13 @@
     </PropertyGroup>
     </PropertyGroup>
 
 
     <ItemGroup>
     <ItemGroup>
-        <PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.6.0"/>
-        <PackageReference Include="xunit" Version="2.4.2"/>
-        <PackageReference Include="xunit.runner.visualstudio" Version="2.4.5">
+        <PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />
+        <PackageReference Include="xunit" Version="2.9.2" />
+        <PackageReference Include="xunit.runner.visualstudio" Version="2.8.2">
             <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
             <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
             <PrivateAssets>all</PrivateAssets>
             <PrivateAssets>all</PrivateAssets>
         </PackageReference>
         </PackageReference>
-        <PackageReference Include="coverlet.collector" Version="6.0.0">
+        <PackageReference Include="coverlet.collector" Version="6.0.2">
             <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
             <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
             <PrivateAssets>all</PrivateAssets>
             <PrivateAssets>all</PrivateAssets>
         </PackageReference>
         </PackageReference>

+ 4 - 4
tests/PixiEditor.Extensions.WasmRuntime.Tests/PixiEditor.Extensions.WasmRuntime.Tests.csproj

@@ -10,13 +10,13 @@
     </PropertyGroup>
     </PropertyGroup>
 
 
     <ItemGroup>
     <ItemGroup>
-        <PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.6.0"/>
-        <PackageReference Include="xunit" Version="2.4.2"/>
-        <PackageReference Include="xunit.runner.visualstudio" Version="2.4.5">
+        <PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />
+        <PackageReference Include="xunit" Version="2.9.2" />
+        <PackageReference Include="xunit.runner.visualstudio" Version="2.8.2">
             <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
             <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
             <PrivateAssets>all</PrivateAssets>
             <PrivateAssets>all</PrivateAssets>
         </PackageReference>
         </PackageReference>
-        <PackageReference Include="coverlet.collector" Version="6.0.0">
+        <PackageReference Include="coverlet.collector" Version="6.0.2">
             <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
             <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
             <PrivateAssets>all</PrivateAssets>
             <PrivateAssets>all</PrivateAssets>
         </PackageReference>
         </PackageReference>

+ 5 - 5
tests/PixiEditor.Tests/PixiEditor.Tests.csproj

@@ -11,14 +11,14 @@
     </PropertyGroup>
     </PropertyGroup>
 
 
     <ItemGroup>
     <ItemGroup>
-        <PackageReference Include="Avalonia" Version="11.1.4" />
-        <PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.6.0"/>
-        <PackageReference Include="xunit" Version="2.4.2"/>
-        <PackageReference Include="xunit.runner.visualstudio" Version="2.4.5">
+        <PackageReference Include="Avalonia" Version="$(AvaloniaVersion)" />
+        <PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />
+        <PackageReference Include="xunit" Version="2.9.2"/>
+        <PackageReference Include="xunit.runner.visualstudio" Version="2.8.2">
             <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
             <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
             <PrivateAssets>all</PrivateAssets>
             <PrivateAssets>all</PrivateAssets>
         </PackageReference>
         </PackageReference>
-        <PackageReference Include="coverlet.collector" Version="3.2.0">
+        <PackageReference Include="coverlet.collector" Version="6.0.2">
             <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
             <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
             <PrivateAssets>all</PrivateAssets>
             <PrivateAssets>all</PrivateAssets>
         </PackageReference>
         </PackageReference>