Merge main into #18380; pin craft-libs at craft-libs#4527 rebased onto main's pin

Main moved the craft-libs pin to 4ed3d95b; craft-libs#4527 is rebased onto it (416ead61), so this PR's pin differs from main's by that one commit.
This commit is contained in:
David Mann committed 2026-11-30 18:19:29 +01:00
commit 34ece2ed94
10 files changed
+394 -155

No files matched your search

Generated
+95 -95
View File
@@ -1376,7 +1376,7 @@ dependencies = [
[[package]]
name = "craft"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=77e3b41232da12a81d04bd187e43b056f8ef2053#77e3b41232da12a81d04bd187e43b056f8ef2053"
source = "git+https://github.com/storytold/craft-libs?rev=416ead61003b06def8de8f205cc7315a6bc86436#416ead61003b06def8de8f205cc7315a6bc86436"
dependencies = [
"craft-automation",
"craft-behavior",
@@ -1417,7 +1417,7 @@ dependencies = [
[[package]]
name = "craft-affinity"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=77e3b41232da12a81d04bd187e43b056f8ef2053#77e3b41232da12a81d04bd187e43b056f8ef2053"
source = "git+https://github.com/storytold/craft-libs?rev=416ead61003b06def8de8f205cc7315a6bc86436#416ead61003b06def8de8f205cc7315a6bc86436"
dependencies = [
"crc32fast",
"flate2",
@@ -1438,7 +1438,7 @@ dependencies = [
[[package]]
name = "craft-appkit"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=77e3b41232da12a81d04bd187e43b056f8ef2053#77e3b41232da12a81d04bd187e43b056f8ef2053"
source = "git+https://github.com/storytold/craft-libs?rev=416ead61003b06def8de8f205cc7315a6bc86436#416ead61003b06def8de8f205cc7315a6bc86436"
dependencies = [
"block2 0.6.2",
"objc2 0.6.5",
@@ -1450,7 +1450,7 @@ dependencies = [
[[package]]
name = "craft-atomic"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=77e3b41232da12a81d04bd187e43b056f8ef2053#77e3b41232da12a81d04bd187e43b056f8ef2053"
source = "git+https://github.com/storytold/craft-libs?rev=416ead61003b06def8de8f205cc7315a6bc86436#416ead61003b06def8de8f205cc7315a6bc86436"
dependencies = [
"rustix 1.1.6",
]
@@ -1458,7 +1458,7 @@ dependencies = [
[[package]]
name = "craft-automation"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=77e3b41232da12a81d04bd187e43b056f8ef2053#77e3b41232da12a81d04bd187e43b056f8ef2053"
source = "git+https://github.com/storytold/craft-libs?rev=416ead61003b06def8de8f205cc7315a6bc86436#416ead61003b06def8de8f205cc7315a6bc86436"
dependencies = [
"base64 0.23.1",
"craft-behavior",
@@ -1483,7 +1483,7 @@ dependencies = [
[[package]]
name = "craft-behavior"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=77e3b41232da12a81d04bd187e43b056f8ef2053#77e3b41232da12a81d04bd187e43b056f8ef2053"
source = "git+https://github.com/storytold/craft-libs?rev=416ead61003b06def8de8f205cc7315a6bc86436#416ead61003b06def8de8f205cc7315a6bc86436"
dependencies = [
"accesskit",
"bitflags 2.13.2",
@@ -1501,7 +1501,7 @@ dependencies = [
[[package]]
name = "craft-browse"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=77e3b41232da12a81d04bd187e43b056f8ef2053#77e3b41232da12a81d04bd187e43b056f8ef2053"
source = "git+https://github.com/storytold/craft-libs?rev=416ead61003b06def8de8f205cc7315a6bc86436#416ead61003b06def8de8f205cc7315a6bc86436"
dependencies = [
"craft-behavior",
"craft-docpath",
@@ -1519,7 +1519,7 @@ dependencies = [
[[package]]
name = "craft-cloud-ui"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=77e3b41232da12a81d04bd187e43b056f8ef2053#77e3b41232da12a81d04bd187e43b056f8ef2053"
source = "git+https://github.com/storytold/craft-libs?rev=416ead61003b06def8de8f205cc7315a6bc86436#416ead61003b06def8de8f205cc7315a6bc86436"
dependencies = [
"egui",
]
@@ -1527,7 +1527,7 @@ dependencies = [
[[package]]
name = "craft-cms"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=77e3b41232da12a81d04bd187e43b056f8ef2053#77e3b41232da12a81d04bd187e43b056f8ef2053"
source = "git+https://github.com/storytold/craft-libs?rev=416ead61003b06def8de8f205cc7315a6bc86436#416ead61003b06def8de8f205cc7315a6bc86436"
dependencies = [
"md-5",
"rayon",
@@ -1536,12 +1536,12 @@ dependencies = [
[[package]]
name = "craft-codepage"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=77e3b41232da12a81d04bd187e43b056f8ef2053#77e3b41232da12a81d04bd187e43b056f8ef2053"
source = "git+https://github.com/storytold/craft-libs?rev=416ead61003b06def8de8f205cc7315a6bc86436#416ead61003b06def8de8f205cc7315a6bc86436"
[[package]]
name = "craft-color"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=77e3b41232da12a81d04bd187e43b056f8ef2053#77e3b41232da12a81d04bd187e43b056f8ef2053"
source = "git+https://github.com/storytold/craft-libs?rev=416ead61003b06def8de8f205cc7315a6bc86436#416ead61003b06def8de8f205cc7315a6bc86436"
dependencies = [
"serde",
]
@@ -1549,7 +1549,7 @@ dependencies = [
[[package]]
name = "craft-color-transform"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=77e3b41232da12a81d04bd187e43b056f8ef2053#77e3b41232da12a81d04bd187e43b056f8ef2053"
source = "git+https://github.com/storytold/craft-libs?rev=416ead61003b06def8de8f205cc7315a6bc86436#416ead61003b06def8de8f205cc7315a6bc86436"
dependencies = [
"craft-cms",
"craft-color",
@@ -1559,7 +1559,7 @@ dependencies = [
[[package]]
name = "craft-color-ui"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=77e3b41232da12a81d04bd187e43b056f8ef2053#77e3b41232da12a81d04bd187e43b056f8ef2053"
source = "git+https://github.com/storytold/craft-libs?rev=416ead61003b06def8de8f205cc7315a6bc86436#416ead61003b06def8de8f205cc7315a6bc86436"
dependencies = [
"craft-behavior",
"craft-cms",
@@ -1579,7 +1579,7 @@ dependencies = [
[[package]]
name = "craft-control"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=77e3b41232da12a81d04bd187e43b056f8ef2053#77e3b41232da12a81d04bd187e43b056f8ef2053"
source = "git+https://github.com/storytold/craft-libs?rev=416ead61003b06def8de8f205cc7315a6bc86436#416ead61003b06def8de8f205cc7315a6bc86436"
dependencies = [
"craft-ai-agents",
"craft-atomic",
@@ -1595,7 +1595,7 @@ dependencies = [
[[package]]
name = "craft-control-protocol"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=77e3b41232da12a81d04bd187e43b056f8ef2053#77e3b41232da12a81d04bd187e43b056f8ef2053"
source = "git+https://github.com/storytold/craft-libs?rev=416ead61003b06def8de8f205cc7315a6bc86436#416ead61003b06def8de8f205cc7315a6bc86436"
dependencies = [
"getrandom 0.3.4",
"serde_json",
@@ -1605,7 +1605,7 @@ dependencies = [
[[package]]
name = "craft-crs"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=77e3b41232da12a81d04bd187e43b056f8ef2053#77e3b41232da12a81d04bd187e43b056f8ef2053"
source = "git+https://github.com/storytold/craft-libs?rev=416ead61003b06def8de8f205cc7315a6bc86436#416ead61003b06def8de8f205cc7315a6bc86436"
dependencies = [
"craft-metadata",
"craft-xml",
@@ -1615,7 +1615,7 @@ dependencies = [
[[package]]
name = "craft-crw"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=77e3b41232da12a81d04bd187e43b056f8ef2053#77e3b41232da12a81d04bd187e43b056f8ef2053"
source = "git+https://github.com/storytold/craft-libs?rev=416ead61003b06def8de8f205cc7315a6bc86436#416ead61003b06def8de8f205cc7315a6bc86436"
dependencies = [
"thiserror 2.0.21",
]
@@ -1623,7 +1623,7 @@ dependencies = [
[[package]]
name = "craft-dds"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=77e3b41232da12a81d04bd187e43b056f8ef2053#77e3b41232da12a81d04bd187e43b056f8ef2053"
source = "git+https://github.com/storytold/craft-libs?rev=416ead61003b06def8de8f205cc7315a6bc86436#416ead61003b06def8de8f205cc7315a6bc86436"
dependencies = [
"rayon",
]
@@ -1631,7 +1631,7 @@ dependencies = [
[[package]]
name = "craft-develop"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=77e3b41232da12a81d04bd187e43b056f8ef2053#77e3b41232da12a81d04bd187e43b056f8ef2053"
source = "git+https://github.com/storytold/craft-libs?rev=416ead61003b06def8de8f205cc7315a6bc86436#416ead61003b06def8de8f205cc7315a6bc86436"
dependencies = [
"craft-color",
"craft-color-transform",
@@ -1646,7 +1646,7 @@ dependencies = [
[[package]]
name = "craft-develop-model"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=77e3b41232da12a81d04bd187e43b056f8ef2053#77e3b41232da12a81d04bd187e43b056f8ef2053"
source = "git+https://github.com/storytold/craft-libs?rev=416ead61003b06def8de8f205cc7315a6bc86436#416ead61003b06def8de8f205cc7315a6bc86436"
dependencies = [
"craft-geom",
"craft-metadata",
@@ -1658,7 +1658,7 @@ dependencies = [
[[package]]
name = "craft-dialogs"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=77e3b41232da12a81d04bd187e43b056f8ef2053#77e3b41232da12a81d04bd187e43b056f8ef2053"
source = "git+https://github.com/storytold/craft-libs?rev=416ead61003b06def8de8f205cc7315a6bc86436#416ead61003b06def8de8f205cc7315a6bc86436"
dependencies = [
"block2 0.6.2",
"craft-appkit",
@@ -1684,7 +1684,7 @@ dependencies = [
[[package]]
name = "craft-docpath"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=77e3b41232da12a81d04bd187e43b056f8ef2053#77e3b41232da12a81d04bd187e43b056f8ef2053"
source = "git+https://github.com/storytold/craft-libs?rev=416ead61003b06def8de8f205cc7315a6bc86436#416ead61003b06def8de8f205cc7315a6bc86436"
dependencies = [
"serde",
]
@@ -1692,7 +1692,7 @@ dependencies = [
[[package]]
name = "craft-draw"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=77e3b41232da12a81d04bd187e43b056f8ef2053#77e3b41232da12a81d04bd187e43b056f8ef2053"
source = "git+https://github.com/storytold/craft-libs?rev=416ead61003b06def8de8f205cc7315a6bc86436#416ead61003b06def8de8f205cc7315a6bc86436"
dependencies = [
"craft-behavior",
"craft-color-ui",
@@ -1711,12 +1711,12 @@ dependencies = [
[[package]]
name = "craft-eps"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=77e3b41232da12a81d04bd187e43b056f8ef2053#77e3b41232da12a81d04bd187e43b056f8ef2053"
source = "git+https://github.com/storytold/craft-libs?rev=416ead61003b06def8de8f205cc7315a6bc86436#416ead61003b06def8de8f205cc7315a6bc86436"
[[package]]
name = "craft-file-formats"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=77e3b41232da12a81d04bd187e43b056f8ef2053#77e3b41232da12a81d04bd187e43b056f8ef2053"
source = "git+https://github.com/storytold/craft-libs?rev=416ead61003b06def8de8f205cc7315a6bc86436#416ead61003b06def8de8f205cc7315a6bc86436"
dependencies = [
"craft-eps",
"craft-idml",
@@ -1734,7 +1734,7 @@ dependencies = [
[[package]]
name = "craft-flags"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=77e3b41232da12a81d04bd187e43b056f8ef2053#77e3b41232da12a81d04bd187e43b056f8ef2053"
source = "git+https://github.com/storytold/craft-libs?rev=416ead61003b06def8de8f205cc7315a6bc86436#416ead61003b06def8de8f205cc7315a6bc86436"
dependencies = [
"craft-atomic",
"dirs",
@@ -1744,7 +1744,7 @@ dependencies = [
[[package]]
name = "craft-font-catalog"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=77e3b41232da12a81d04bd187e43b056f8ef2053#77e3b41232da12a81d04bd187e43b056f8ef2053"
source = "git+https://github.com/storytold/craft-libs?rev=416ead61003b06def8de8f205cc7315a6bc86436#416ead61003b06def8de8f205cc7315a6bc86436"
dependencies = [
"fontique",
"harfrust 0.13.3",
@@ -1759,7 +1759,7 @@ dependencies = [
[[package]]
name = "craft-font-manager"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=77e3b41232da12a81d04bd187e43b056f8ef2053#77e3b41232da12a81d04bd187e43b056f8ef2053"
source = "git+https://github.com/storytold/craft-libs?rev=416ead61003b06def8de8f205cc7315a6bc86436#416ead61003b06def8de8f205cc7315a6bc86436"
dependencies = [
"craft-behavior",
"craft-font-catalog",
@@ -1779,7 +1779,7 @@ dependencies = [
[[package]]
name = "craft-font-os-windows"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=77e3b41232da12a81d04bd187e43b056f8ef2053#77e3b41232da12a81d04bd187e43b056f8ef2053"
source = "git+https://github.com/storytold/craft-libs?rev=416ead61003b06def8de8f205cc7315a6bc86436#416ead61003b06def8de8f205cc7315a6bc86436"
dependencies = [
"windows-registry",
"windows-sys 0.61.2",
@@ -1788,7 +1788,7 @@ dependencies = [
[[package]]
name = "craft-font-store"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=77e3b41232da12a81d04bd187e43b056f8ef2053#77e3b41232da12a81d04bd187e43b056f8ef2053"
source = "git+https://github.com/storytold/craft-libs?rev=416ead61003b06def8de8f205cc7315a6bc86436#416ead61003b06def8de8f205cc7315a6bc86436"
dependencies = [
"cap-primitives",
"craft-atomic",
@@ -1811,12 +1811,12 @@ dependencies = [
[[package]]
name = "craft-fonts-build"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=77e3b41232da12a81d04bd187e43b056f8ef2053#77e3b41232da12a81d04bd187e43b056f8ef2053"
source = "git+https://github.com/storytold/craft-libs?rev=416ead61003b06def8de8f205cc7315a6bc86436#416ead61003b06def8de8f205cc7315a6bc86436"
[[package]]
name = "craft-geom"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=77e3b41232da12a81d04bd187e43b056f8ef2053#77e3b41232da12a81d04bd187e43b056f8ef2053"
source = "git+https://github.com/storytold/craft-libs?rev=416ead61003b06def8de8f205cc7315a6bc86436#416ead61003b06def8de8f205cc7315a6bc86436"
dependencies = [
"serde",
]
@@ -1824,7 +1824,7 @@ dependencies = [
[[package]]
name = "craft-heif"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=77e3b41232da12a81d04bd187e43b056f8ef2053#77e3b41232da12a81d04bd187e43b056f8ef2053"
source = "git+https://github.com/storytold/craft-libs?rev=416ead61003b06def8de8f205cc7315a6bc86436#416ead61003b06def8de8f205cc7315a6bc86436"
dependencies = [
"heic-rs",
"rayon",
@@ -1833,7 +1833,7 @@ dependencies = [
[[package]]
name = "craft-host"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=77e3b41232da12a81d04bd187e43b056f8ef2053#77e3b41232da12a81d04bd187e43b056f8ef2053"
source = "git+https://github.com/storytold/craft-libs?rev=416ead61003b06def8de8f205cc7315a6bc86436#416ead61003b06def8de8f205cc7315a6bc86436"
dependencies = [
"bitflags 2.13.2",
"craft-i18n",
@@ -1846,7 +1846,7 @@ dependencies = [
[[package]]
name = "craft-i18n"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=77e3b41232da12a81d04bd187e43b056f8ef2053#77e3b41232da12a81d04bd187e43b056f8ef2053"
source = "git+https://github.com/storytold/craft-libs?rev=416ead61003b06def8de8f205cc7315a6bc86436#416ead61003b06def8de8f205cc7315a6bc86436"
dependencies = [
"brotli 9.1.3",
"brotli-decompressor 6.3.2",
@@ -1876,7 +1876,7 @@ dependencies = [
[[package]]
name = "craft-idml"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=77e3b41232da12a81d04bd187e43b056f8ef2053#77e3b41232da12a81d04bd187e43b056f8ef2053"
source = "git+https://github.com/storytold/craft-libs?rev=416ead61003b06def8de8f205cc7315a6bc86436#416ead61003b06def8de8f205cc7315a6bc86436"
dependencies = [
"craft-xml",
"craft-zip",
@@ -1886,7 +1886,7 @@ dependencies = [
[[package]]
name = "craft-image-codecs"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=77e3b41232da12a81d04bd187e43b056f8ef2053#77e3b41232da12a81d04bd187e43b056f8ef2053"
source = "git+https://github.com/storytold/craft-libs?rev=416ead61003b06def8de8f205cc7315a6bc86436#416ead61003b06def8de8f205cc7315a6bc86436"
dependencies = [
"craft-dds",
"craft-heif",
@@ -1914,7 +1914,7 @@ dependencies = [
[[package]]
name = "craft-imaging"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=77e3b41232da12a81d04bd187e43b056f8ef2053#77e3b41232da12a81d04bd187e43b056f8ef2053"
source = "git+https://github.com/storytold/craft-libs?rev=416ead61003b06def8de8f205cc7315a6bc86436#416ead61003b06def8de8f205cc7315a6bc86436"
dependencies = [
"craft-behavior",
"craft-color-ui",
@@ -1932,12 +1932,12 @@ dependencies = [
[[package]]
name = "craft-ipp"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=77e3b41232da12a81d04bd187e43b056f8ef2053#77e3b41232da12a81d04bd187e43b056f8ef2053"
source = "git+https://github.com/storytold/craft-libs?rev=416ead61003b06def8de8f205cc7315a6bc86436#416ead61003b06def8de8f205cc7315a6bc86436"
[[package]]
name = "craft-jpeg"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=77e3b41232da12a81d04bd187e43b056f8ef2053#77e3b41232da12a81d04bd187e43b056f8ef2053"
source = "git+https://github.com/storytold/craft-libs?rev=416ead61003b06def8de8f205cc7315a6bc86436#416ead61003b06def8de8f205cc7315a6bc86436"
dependencies = [
"thiserror 2.0.21",
]
@@ -1945,7 +1945,7 @@ dependencies = [
[[package]]
name = "craft-keymap"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=77e3b41232da12a81d04bd187e43b056f8ef2053#77e3b41232da12a81d04bd187e43b056f8ef2053"
source = "git+https://github.com/storytold/craft-libs?rev=416ead61003b06def8de8f205cc7315a6bc86436#416ead61003b06def8de8f205cc7315a6bc86436"
dependencies = [
"craft-host",
"craft-i18n",
@@ -1960,7 +1960,7 @@ dependencies = [
[[package]]
name = "craft-kra"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=77e3b41232da12a81d04bd187e43b056f8ef2053#77e3b41232da12a81d04bd187e43b056f8ef2053"
source = "git+https://github.com/storytold/craft-libs?rev=416ead61003b06def8de8f205cc7315a6bc86436#416ead61003b06def8de8f205cc7315a6bc86436"
dependencies = [
"craft-xml",
"craft-zip",
@@ -1970,7 +1970,7 @@ dependencies = [
[[package]]
name = "craft-layers"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=77e3b41232da12a81d04bd187e43b056f8ef2053#77e3b41232da12a81d04bd187e43b056f8ef2053"
source = "git+https://github.com/storytold/craft-libs?rev=416ead61003b06def8de8f205cc7315a6bc86436#416ead61003b06def8de8f205cc7315a6bc86436"
dependencies = [
"craft-behavior",
"craft-i18n",
@@ -1984,7 +1984,7 @@ dependencies = [
[[package]]
name = "craft-menu"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=77e3b41232da12a81d04bd187e43b056f8ef2053#77e3b41232da12a81d04bd187e43b056f8ef2053"
source = "git+https://github.com/storytold/craft-libs?rev=416ead61003b06def8de8f205cc7315a6bc86436#416ead61003b06def8de8f205cc7315a6bc86436"
dependencies = [
"craft-behavior",
"craft-host",
@@ -2002,7 +2002,7 @@ dependencies = [
[[package]]
name = "craft-metadata"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=77e3b41232da12a81d04bd187e43b056f8ef2053#77e3b41232da12a81d04bd187e43b056f8ef2053"
source = "git+https://github.com/storytold/craft-libs?rev=416ead61003b06def8de8f205cc7315a6bc86436#416ead61003b06def8de8f205cc7315a6bc86436"
dependencies = [
"brotli-decompressor 6.3.2",
"chrono",
@@ -2014,7 +2014,7 @@ dependencies = [
[[package]]
name = "craft-nightly"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=77e3b41232da12a81d04bd187e43b056f8ef2053#77e3b41232da12a81d04bd187e43b056f8ef2053"
source = "git+https://github.com/storytold/craft-libs?rev=416ead61003b06def8de8f205cc7315a6bc86436#416ead61003b06def8de8f205cc7315a6bc86436"
dependencies = [
"uds_windows",
"winsafe",
@@ -2023,7 +2023,7 @@ dependencies = [
[[package]]
name = "craft-ora"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=77e3b41232da12a81d04bd187e43b056f8ef2053#77e3b41232da12a81d04bd187e43b056f8ef2053"
source = "git+https://github.com/storytold/craft-libs?rev=416ead61003b06def8de8f205cc7315a6bc86436#416ead61003b06def8de8f205cc7315a6bc86436"
dependencies = [
"craft-xml",
"craft-zip",
@@ -2033,7 +2033,7 @@ dependencies = [
[[package]]
name = "craft-pages"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=77e3b41232da12a81d04bd187e43b056f8ef2053#77e3b41232da12a81d04bd187e43b056f8ef2053"
source = "git+https://github.com/storytold/craft-libs?rev=416ead61003b06def8de8f205cc7315a6bc86436#416ead61003b06def8de8f205cc7315a6bc86436"
dependencies = [
"craft-behavior",
"craft-keymap",
@@ -2049,7 +2049,7 @@ dependencies = [
[[package]]
name = "craft-pcraft-bundle"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=77e3b41232da12a81d04bd187e43b056f8ef2053#77e3b41232da12a81d04bd187e43b056f8ef2053"
source = "git+https://github.com/storytold/craft-libs?rev=416ead61003b06def8de8f205cc7315a6bc86436#416ead61003b06def8de8f205cc7315a6bc86436"
dependencies = [
"blake3",
"craft-atomic",
@@ -2062,7 +2062,7 @@ dependencies = [
[[package]]
name = "craft-pcraft-format"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=77e3b41232da12a81d04bd187e43b056f8ef2053#77e3b41232da12a81d04bd187e43b056f8ef2053"
source = "git+https://github.com/storytold/craft-libs?rev=416ead61003b06def8de8f205cc7315a6bc86436#416ead61003b06def8de8f205cc7315a6bc86436"
dependencies = [
"flate2",
"serde",
@@ -2073,7 +2073,7 @@ dependencies = [
[[package]]
name = "craft-pdf"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=77e3b41232da12a81d04bd187e43b056f8ef2053#77e3b41232da12a81d04bd187e43b056f8ef2053"
source = "git+https://github.com/storytold/craft-libs?rev=416ead61003b06def8de8f205cc7315a6bc86436#416ead61003b06def8de8f205cc7315a6bc86436"
dependencies = [
"bytemuck",
"flate2",
@@ -2088,7 +2088,7 @@ dependencies = [
[[package]]
name = "craft-pdn"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=77e3b41232da12a81d04bd187e43b056f8ef2053#77e3b41232da12a81d04bd187e43b056f8ef2053"
source = "git+https://github.com/storytold/craft-libs?rev=416ead61003b06def8de8f205cc7315a6bc86436#416ead61003b06def8de8f205cc7315a6bc86436"
dependencies = [
"flate2",
"thiserror 2.0.21",
@@ -2097,7 +2097,7 @@ dependencies = [
[[package]]
name = "craft-platform"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=77e3b41232da12a81d04bd187e43b056f8ef2053#77e3b41232da12a81d04bd187e43b056f8ef2053"
source = "git+https://github.com/storytold/craft-libs?rev=416ead61003b06def8de8f205cc7315a6bc86436#416ead61003b06def8de8f205cc7315a6bc86436"
dependencies = [
"async-channel",
"async-io",
@@ -2130,7 +2130,7 @@ dependencies = [
[[package]]
name = "craft-plist"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=77e3b41232da12a81d04bd187e43b056f8ef2053#77e3b41232da12a81d04bd187e43b056f8ef2053"
source = "git+https://github.com/storytold/craft-libs?rev=416ead61003b06def8de8f205cc7315a6bc86436#416ead61003b06def8de8f205cc7315a6bc86436"
dependencies = [
"thiserror 2.0.21",
]
@@ -2138,7 +2138,7 @@ dependencies = [
[[package]]
name = "craft-print"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=77e3b41232da12a81d04bd187e43b056f8ef2053#77e3b41232da12a81d04bd187e43b056f8ef2053"
source = "git+https://github.com/storytold/craft-libs?rev=416ead61003b06def8de8f205cc7315a6bc86436#416ead61003b06def8de8f205cc7315a6bc86436"
dependencies = [
"craft-behavior",
"craft-host",
@@ -2162,7 +2162,7 @@ dependencies = [
[[package]]
name = "craft-psd"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=77e3b41232da12a81d04bd187e43b056f8ef2053#77e3b41232da12a81d04bd187e43b056f8ef2053"
source = "git+https://github.com/storytold/craft-libs?rev=416ead61003b06def8de8f205cc7315a6bc86436#416ead61003b06def8de8f205cc7315a6bc86436"
dependencies = [
"encoding_rs",
"flate2",
@@ -2173,7 +2173,7 @@ dependencies = [
[[package]]
name = "craft-quit"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=77e3b41232da12a81d04bd187e43b056f8ef2053#77e3b41232da12a81d04bd187e43b056f8ef2053"
source = "git+https://github.com/storytold/craft-libs?rev=416ead61003b06def8de8f205cc7315a6bc86436#416ead61003b06def8de8f205cc7315a6bc86436"
dependencies = [
"dispatch2",
"egui",
@@ -2186,7 +2186,7 @@ dependencies = [
[[package]]
name = "craft-raw"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=77e3b41232da12a81d04bd187e43b056f8ef2053#77e3b41232da12a81d04bd187e43b056f8ef2053"
source = "git+https://github.com/storytold/craft-libs?rev=416ead61003b06def8de8f205cc7315a6bc86436#416ead61003b06def8de8f205cc7315a6bc86436"
dependencies = [
"chrono",
"craft-crw",
@@ -2204,7 +2204,7 @@ dependencies = [
[[package]]
name = "craft-review"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=77e3b41232da12a81d04bd187e43b056f8ef2053#77e3b41232da12a81d04bd187e43b056f8ef2053"
source = "git+https://github.com/storytold/craft-libs?rev=416ead61003b06def8de8f205cc7315a6bc86436#416ead61003b06def8de8f205cc7315a6bc86436"
dependencies = [
"base64 0.23.1",
"craft-behavior",
@@ -2223,7 +2223,7 @@ dependencies = [
[[package]]
name = "craft-settings"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=77e3b41232da12a81d04bd187e43b056f8ef2053#77e3b41232da12a81d04bd187e43b056f8ef2053"
source = "git+https://github.com/storytold/craft-libs?rev=416ead61003b06def8de8f205cc7315a6bc86436#416ead61003b06def8de8f205cc7315a6bc86436"
dependencies = [
"craft-atomic",
"craft-host",
@@ -2240,7 +2240,7 @@ dependencies = [
[[package]]
name = "craft-svg"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=77e3b41232da12a81d04bd187e43b056f8ef2053#77e3b41232da12a81d04bd187e43b056f8ef2053"
source = "git+https://github.com/storytold/craft-libs?rev=416ead61003b06def8de8f205cc7315a6bc86436#416ead61003b06def8de8f205cc7315a6bc86436"
dependencies = [
"craft-image-codecs",
"craft-xml",
@@ -2261,7 +2261,7 @@ dependencies = [
[[package]]
name = "craft-table"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=77e3b41232da12a81d04bd187e43b056f8ef2053#77e3b41232da12a81d04bd187e43b056f8ef2053"
source = "git+https://github.com/storytold/craft-libs?rev=416ead61003b06def8de8f205cc7315a6bc86436#416ead61003b06def8de8f205cc7315a6bc86436"
dependencies = [
"craft-behavior",
"craft-keymap",
@@ -2273,7 +2273,7 @@ dependencies = [
[[package]]
name = "craft-testkit"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=77e3b41232da12a81d04bd187e43b056f8ef2053#77e3b41232da12a81d04bd187e43b056f8ef2053"
source = "git+https://github.com/storytold/craft-libs?rev=416ead61003b06def8de8f205cc7315a6bc86436#416ead61003b06def8de8f205cc7315a6bc86436"
dependencies = [
"rustix 1.1.6",
"tempfile",
@@ -2283,7 +2283,7 @@ dependencies = [
[[package]]
name = "craft-text"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=77e3b41232da12a81d04bd187e43b056f8ef2053#77e3b41232da12a81d04bd187e43b056f8ef2053"
source = "git+https://github.com/storytold/craft-libs?rev=416ead61003b06def8de8f205cc7315a6bc86436#416ead61003b06def8de8f205cc7315a6bc86436"
dependencies = [
"craft-behavior",
"craft-font-manager",
@@ -2306,7 +2306,7 @@ dependencies = [
[[package]]
name = "craft-theme"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=77e3b41232da12a81d04bd187e43b056f8ef2053#77e3b41232da12a81d04bd187e43b056f8ef2053"
source = "git+https://github.com/storytold/craft-libs?rev=416ead61003b06def8de8f205cc7315a6bc86436#416ead61003b06def8de8f205cc7315a6bc86436"
dependencies = [
"bitflags 2.13.2",
"craft-tracked",
@@ -2321,7 +2321,7 @@ dependencies = [
[[package]]
name = "craft-theme-editor"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=77e3b41232da12a81d04bd187e43b056f8ef2053#77e3b41232da12a81d04bd187e43b056f8ef2053"
source = "git+https://github.com/storytold/craft-libs?rev=416ead61003b06def8de8f205cc7315a6bc86436#416ead61003b06def8de8f205cc7315a6bc86436"
dependencies = [
"craft-behavior",
"craft-theme",
@@ -2332,7 +2332,7 @@ dependencies = [
[[package]]
name = "craft-theme-store"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=77e3b41232da12a81d04bd187e43b056f8ef2053#77e3b41232da12a81d04bd187e43b056f8ef2053"
source = "git+https://github.com/storytold/craft-libs?rev=416ead61003b06def8de8f205cc7315a6bc86436#416ead61003b06def8de8f205cc7315a6bc86436"
dependencies = [
"craft-atomic",
"craft-behavior",
@@ -2347,7 +2347,7 @@ dependencies = [
[[package]]
name = "craft-tiff"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=77e3b41232da12a81d04bd187e43b056f8ef2053#77e3b41232da12a81d04bd187e43b056f8ef2053"
source = "git+https://github.com/storytold/craft-libs?rev=416ead61003b06def8de8f205cc7315a6bc86436#416ead61003b06def8de8f205cc7315a6bc86436"
dependencies = [
"serde",
"thiserror 2.0.21",
@@ -2357,7 +2357,7 @@ dependencies = [
[[package]]
name = "craft-time"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=77e3b41232da12a81d04bd187e43b056f8ef2053#77e3b41232da12a81d04bd187e43b056f8ef2053"
source = "git+https://github.com/storytold/craft-libs?rev=416ead61003b06def8de8f205cc7315a6bc86436#416ead61003b06def8de8f205cc7315a6bc86436"
dependencies = [
"serde",
"thiserror 2.0.21",
@@ -2366,7 +2366,7 @@ dependencies = [
[[package]]
name = "craft-timeline"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=77e3b41232da12a81d04bd187e43b056f8ef2053#77e3b41232da12a81d04bd187e43b056f8ef2053"
source = "git+https://github.com/storytold/craft-libs?rev=416ead61003b06def8de8f205cc7315a6bc86436#416ead61003b06def8de8f205cc7315a6bc86436"
dependencies = [
"craft-behavior",
"craft-keymap",
@@ -2381,7 +2381,7 @@ dependencies = [
[[package]]
name = "craft-tracked"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=77e3b41232da12a81d04bd187e43b056f8ef2053#77e3b41232da12a81d04bd187e43b056f8ef2053"
source = "git+https://github.com/storytold/craft-libs?rev=416ead61003b06def8de8f205cc7315a6bc86436#416ead61003b06def8de8f205cc7315a6bc86436"
dependencies = [
"serde",
]
@@ -2389,7 +2389,7 @@ dependencies = [
[[package]]
name = "craft-ui"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=77e3b41232da12a81d04bd187e43b056f8ef2053#77e3b41232da12a81d04bd187e43b056f8ef2053"
source = "git+https://github.com/storytold/craft-libs?rev=416ead61003b06def8de8f205cc7315a6bc86436#416ead61003b06def8de8f205cc7315a6bc86436"
dependencies = [
"craft-cloud-ui",
"craft-ui-canvas",
@@ -2403,7 +2403,7 @@ dependencies = [
[[package]]
name = "craft-ui-canvas"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=77e3b41232da12a81d04bd187e43b056f8ef2053#77e3b41232da12a81d04bd187e43b056f8ef2053"
source = "git+https://github.com/storytold/craft-libs?rev=416ead61003b06def8de8f205cc7315a6bc86436#416ead61003b06def8de8f205cc7315a6bc86436"
dependencies = [
"craft-behavior",
"craft-i18n",
@@ -2419,7 +2419,7 @@ dependencies = [
[[package]]
name = "craft-ui-contract"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=77e3b41232da12a81d04bd187e43b056f8ef2053#77e3b41232da12a81d04bd187e43b056f8ef2053"
source = "git+https://github.com/storytold/craft-libs?rev=416ead61003b06def8de8f205cc7315a6bc86436#416ead61003b06def8de8f205cc7315a6bc86436"
dependencies = [
"accesskit",
"craft-behavior",
@@ -2461,7 +2461,7 @@ dependencies = [
[[package]]
name = "craft-ui-macros"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=77e3b41232da12a81d04bd187e43b056f8ef2053#77e3b41232da12a81d04bd187e43b056f8ef2053"
source = "git+https://github.com/storytold/craft-libs?rev=416ead61003b06def8de8f205cc7315a6bc86436#416ead61003b06def8de8f205cc7315a6bc86436"
dependencies = [
"proc-macro-crate",
"proc-macro2",
@@ -2472,7 +2472,7 @@ dependencies = [
[[package]]
name = "craft-ui-panels"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=77e3b41232da12a81d04bd187e43b056f8ef2053#77e3b41232da12a81d04bd187e43b056f8ef2053"
source = "git+https://github.com/storytold/craft-libs?rev=416ead61003b06def8de8f205cc7315a6bc86436#416ead61003b06def8de8f205cc7315a6bc86436"
dependencies = [
"craft-behavior",
"craft-host",
@@ -2490,7 +2490,7 @@ dependencies = [
[[package]]
name = "craft-ui-patterns"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=77e3b41232da12a81d04bd187e43b056f8ef2053#77e3b41232da12a81d04bd187e43b056f8ef2053"
source = "git+https://github.com/storytold/craft-libs?rev=416ead61003b06def8de8f205cc7315a6bc86436#416ead61003b06def8de8f205cc7315a6bc86436"
dependencies = [
"craft-behavior",
"craft-host",
@@ -2511,7 +2511,7 @@ dependencies = [
[[package]]
name = "craft-ui-shell"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=77e3b41232da12a81d04bd187e43b056f8ef2053#77e3b41232da12a81d04bd187e43b056f8ef2053"
source = "git+https://github.com/storytold/craft-libs?rev=416ead61003b06def8de8f205cc7315a6bc86436#416ead61003b06def8de8f205cc7315a6bc86436"
dependencies = [
"craft-behavior",
"craft-host",
@@ -2531,7 +2531,7 @@ dependencies = [
[[package]]
name = "craft-ui-widgets"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=77e3b41232da12a81d04bd187e43b056f8ef2053#77e3b41232da12a81d04bd187e43b056f8ef2053"
source = "git+https://github.com/storytold/craft-libs?rev=416ead61003b06def8de8f205cc7315a6bc86436#416ead61003b06def8de8f205cc7315a6bc86436"
dependencies = [
"craft-behavior",
"craft-host",
@@ -2550,7 +2550,7 @@ dependencies = [
[[package]]
name = "craft-update"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=77e3b41232da12a81d04bd187e43b056f8ef2053#77e3b41232da12a81d04bd187e43b056f8ef2053"
source = "git+https://github.com/storytold/craft-libs?rev=416ead61003b06def8de8f205cc7315a6bc86436#416ead61003b06def8de8f205cc7315a6bc86436"
dependencies = [
"base64 0.22.1",
"chrono",
@@ -2582,7 +2582,7 @@ dependencies = [
[[package]]
name = "craft-win32"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=77e3b41232da12a81d04bd187e43b056f8ef2053#77e3b41232da12a81d04bd187e43b056f8ef2053"
source = "git+https://github.com/storytold/craft-libs?rev=416ead61003b06def8de8f205cc7315a6bc86436#416ead61003b06def8de8f205cc7315a6bc86436"
dependencies = [
"winsafe",
]
@@ -2590,7 +2590,7 @@ dependencies = [
[[package]]
name = "craft-window"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=77e3b41232da12a81d04bd187e43b056f8ef2053#77e3b41232da12a81d04bd187e43b056f8ef2053"
source = "git+https://github.com/storytold/craft-libs?rev=416ead61003b06def8de8f205cc7315a6bc86436#416ead61003b06def8de8f205cc7315a6bc86436"
dependencies = [
"craft-appkit",
"craft-atomic",
@@ -2622,7 +2622,7 @@ dependencies = [
[[package]]
name = "craft-xcf"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=77e3b41232da12a81d04bd187e43b056f8ef2053#77e3b41232da12a81d04bd187e43b056f8ef2053"
source = "git+https://github.com/storytold/craft-libs?rev=416ead61003b06def8de8f205cc7315a6bc86436#416ead61003b06def8de8f205cc7315a6bc86436"
dependencies = [
"flate2",
"thiserror 2.0.21",
@@ -2631,7 +2631,7 @@ dependencies = [
[[package]]
name = "craft-xml"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=77e3b41232da12a81d04bd187e43b056f8ef2053#77e3b41232da12a81d04bd187e43b056f8ef2053"
source = "git+https://github.com/storytold/craft-libs?rev=416ead61003b06def8de8f205cc7315a6bc86436#416ead61003b06def8de8f205cc7315a6bc86436"
dependencies = [
"quick-xml 0.41.0",
"serde",
@@ -2641,7 +2641,7 @@ dependencies = [
[[package]]
name = "craft-zip"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=77e3b41232da12a81d04bd187e43b056f8ef2053#77e3b41232da12a81d04bd187e43b056f8ef2053"
source = "git+https://github.com/storytold/craft-libs?rev=416ead61003b06def8de8f205cc7315a6bc86436#416ead61003b06def8de8f205cc7315a6bc86436"
dependencies = [
"flate2",
"thiserror 2.0.21",
@@ -4165,7 +4165,7 @@ dependencies = [
[[package]]
name = "hayro"
version = "0.7.1"
source = "git+https://github.com/storytold/craft-libs?rev=77e3b41232da12a81d04bd187e43b056f8ef2053#77e3b41232da12a81d04bd187e43b056f8ef2053"
source = "git+https://github.com/storytold/craft-libs?rev=416ead61003b06def8de8f205cc7315a6bc86436#416ead61003b06def8de8f205cc7315a6bc86436"
dependencies = [
"bytemuck",
"hayro-interpret",
@@ -4195,7 +4195,7 @@ dependencies = [
[[package]]
name = "hayro-interpret"
version = "0.7.0"
source = "git+https://github.com/storytold/craft-libs?rev=77e3b41232da12a81d04bd187e43b056f8ef2053#77e3b41232da12a81d04bd187e43b056f8ef2053"
source = "git+https://github.com/storytold/craft-libs?rev=416ead61003b06def8de8f205cc7315a6bc86436#416ead61003b06def8de8f205cc7315a6bc86436"
dependencies = [
"bitflags 2.13.2",
"hayro-cmap",
@@ -4213,7 +4213,7 @@ dependencies = [
[[package]]
name = "hayro-jbig2"
version = "0.3.0"
source = "git+https://github.com/storytold/craft-libs?rev=77e3b41232da12a81d04bd187e43b056f8ef2053#77e3b41232da12a81d04bd187e43b056f8ef2053"
source = "git+https://github.com/storytold/craft-libs?rev=416ead61003b06def8de8f205cc7315a6bc86436#416ead61003b06def8de8f205cc7315a6bc86436"
dependencies = [
"fearless_simd",
"hayro-ccitt",
@@ -4237,7 +4237,7 @@ checksum = "bc2d80da85f31c3fdc0366431f44cfd645a9da1e242ed1f4a61f213d9765660f"
[[package]]
name = "hayro-syntax"
version = "0.7.2"
source = "git+https://github.com/storytold/craft-libs?rev=77e3b41232da12a81d04bd187e43b056f8ef2053#77e3b41232da12a81d04bd187e43b056f8ef2053"
source = "git+https://github.com/storytold/craft-libs?rev=416ead61003b06def8de8f205cc7315a6bc86436#416ead61003b06def8de8f205cc7315a6bc86436"
dependencies = [
"flate2",
"hayro-ccitt",
@@ -5330,7 +5330,7 @@ checksum = "d4a5ff6bcca6c4867b1c4fd4ef63e4db7436ef363e0ad7531d1558856bae64f4"
[[package]]
name = "linesweeper"
version = "0.5.0"
source = "git+https://github.com/storytold/craft-libs?rev=77e3b41232da12a81d04bd187e43b056f8ef2053#77e3b41232da12a81d04bd187e43b056f8ef2053"
source = "git+https://github.com/storytold/craft-libs?rev=416ead61003b06def8de8f205cc7315a6bc86436#416ead61003b06def8de8f205cc7315a6bc86436"
dependencies = [
"arrayvec",
"kurbo 0.13.1",
@@ -9841,7 +9841,7 @@ dependencies = [
[[package]]
name = "vello_common"
version = "0.0.8"
source = "git+https://github.com/storytold/craft-libs?rev=77e3b41232da12a81d04bd187e43b056f8ef2053#77e3b41232da12a81d04bd187e43b056f8ef2053"
source = "git+https://github.com/storytold/craft-libs?rev=416ead61003b06def8de8f205cc7315a6bc86436#416ead61003b06def8de8f205cc7315a6bc86436"
dependencies = [
"bytemuck",
"fearless_simd",
@@ -9889,7 +9889,7 @@ dependencies = [
[[package]]
name = "vello_cpu"
version = "0.0.8"
source = "git+https://github.com/storytold/craft-libs?rev=77e3b41232da12a81d04bd187e43b056f8ef2053#77e3b41232da12a81d04bd187e43b056f8ef2053"
source = "git+https://github.com/storytold/craft-libs?rev=416ead61003b06def8de8f205cc7315a6bc86436#416ead61003b06def8de8f205cc7315a6bc86436"
dependencies = [
"bytemuck",
"glifo 0.1.1",
@@ -11535,14 +11535,14 @@ source = "git+https://github.com/storytold/egui.git?rev=07c20531f89717e461c0f387
[[patch.unused]]
name = "hayro-cmap"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=77e3b41232da12a81d04bd187e43b056f8ef2053#77e3b41232da12a81d04bd187e43b056f8ef2053"
source = "git+https://github.com/storytold/craft-libs?rev=416ead61003b06def8de8f205cc7315a6bc86436#416ead61003b06def8de8f205cc7315a6bc86436"
[[patch.unused]]
name = "hayro-postscript"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=77e3b41232da12a81d04bd187e43b056f8ef2053#77e3b41232da12a81d04bd187e43b056f8ef2053"
source = "git+https://github.com/storytold/craft-libs?rev=416ead61003b06def8de8f205cc7315a6bc86436#416ead61003b06def8de8f205cc7315a6bc86436"
[[patch.unused]]
name = "krilla"
version = "0.8.2"
source = "git+https://github.com/storytold/craft-libs?rev=77e3b41232da12a81d04bd187e43b056f8ef2053#77e3b41232da12a81d04bd187e43b056f8ef2053"
source = "git+https://github.com/storytold/craft-libs?rev=416ead61003b06def8de8f205cc7315a6bc86436#416ead61003b06def8de8f205cc7315a6bc86436"
+42 -42
View File
@@ -12,21 +12,21 @@ rust-version = "1.95"
[workspace.dependencies]
# The craft framework through its facade (`craft::ui::…`). The egui `[patch]` below must match
# `craft::egui_fork::REV` (checked by `cargo xtask ci`).
craft = { git = "https://github.com/storytold/craft-libs", rev = "77e3b41232da12a81d04bd187e43b056f8ef2053", default-features = false }
craft-tracked = { git = "https://github.com/storytold/craft-libs", rev = "77e3b41232da12a81d04bd187e43b056f8ef2053" }
craft-ui-macros = { git = "https://github.com/storytold/craft-libs", rev = "77e3b41232da12a81d04bd187e43b056f8ef2053" }
craft = { git = "https://github.com/storytold/craft-libs", rev = "416ead61003b06def8de8f205cc7315a6bc86436", default-features = false }
craft-tracked = { git = "https://github.com/storytold/craft-libs", rev = "416ead61003b06def8de8f205cc7315a6bc86436" }
craft-ui-macros = { git = "https://github.com/storytold/craft-libs", rev = "416ead61003b06def8de8f205cc7315a6bc86436" }
# internal
photocraft-geom = { path = "crates/geom" }
photocraft-color = { path = "crates/color" }
photocraft-raster = { path = "crates/raster" }
photocraft-doc = { path = "crates/doc" }
photocraft-ops = { path = "crates/ops" }
craft-plist = { git = "https://github.com/storytold/craft-libs", rev = "77e3b41232da12a81d04bd187e43b056f8ef2053" }
craft-psd = { git = "https://github.com/storytold/craft-libs", rev = "77e3b41232da12a81d04bd187e43b056f8ef2053" }
photocraft-codecs = { package = "craft-image-codecs", git = "https://github.com/storytold/craft-libs", rev = "77e3b41232da12a81d04bd187e43b056f8ef2053" }
photocraft-formats = { package = "craft-file-formats", git = "https://github.com/storytold/craft-libs", rev = "77e3b41232da12a81d04bd187e43b056f8ef2053", features = ["raster-codecs", "pdf", "svg", "ora", "kra", "xcf", "pdn", "raw", "psd", "affinity", "pcraft"] }
craft-plist = { git = "https://github.com/storytold/craft-libs", rev = "416ead61003b06def8de8f205cc7315a6bc86436" }
craft-psd = { git = "https://github.com/storytold/craft-libs", rev = "416ead61003b06def8de8f205cc7315a6bc86436" }
photocraft-codecs = { package = "craft-image-codecs", git = "https://github.com/storytold/craft-libs", rev = "416ead61003b06def8de8f205cc7315a6bc86436" }
photocraft-formats = { package = "craft-file-formats", git = "https://github.com/storytold/craft-libs", rev = "416ead61003b06def8de8f205cc7315a6bc86436", features = ["raster-codecs", "pdf", "svg", "ora", "kra", "xcf", "pdn", "raw", "psd", "affinity", "pcraft"] }
photocraft-raw = { path = "crates/raw" }
craft-affinity = { git = "https://github.com/storytold/craft-libs", rev = "77e3b41232da12a81d04bd187e43b056f8ef2053" }
craft-affinity = { git = "https://github.com/storytold/craft-libs", rev = "416ead61003b06def8de8f205cc7315a6bc86436" }
photocraft-compose = { path = "crates/compose" }
photocraft-gpu = { path = "crates/gpu" }
photocraft-paint = { path = "crates/paint" }
@@ -48,38 +48,38 @@ photocraft-ipp = { path = "crates/ipp" }
# external
# ICC colour management: the shared crate (replaces crates/cms; craft-libs#779).
craft-cms = { git = "https://github.com/storytold/craft-libs", rev = "77e3b41232da12a81d04bd187e43b056f8ef2053" }
craft-print = { git = "https://github.com/storytold/craft-libs", rev = "77e3b41232da12a81d04bd187e43b056f8ef2053" }
craft-cms = { git = "https://github.com/storytold/craft-libs", rev = "416ead61003b06def8de8f205cc7315a6bc86436" }
craft-print = { git = "https://github.com/storytold/craft-libs", rev = "416ead61003b06def8de8f205cc7315a6bc86436" }
# HEIC/HEIF: the shared decoder (replaces crates/heif; craft-libs#784).
craft-heif = { git = "https://github.com/storytold/craft-libs", rev = "77e3b41232da12a81d04bd187e43b056f8ef2053" }
craft-pdf = { git = "https://github.com/storytold/craft-libs", rev = "77e3b41232da12a81d04bd187e43b056f8ef2053", features = ["raster", "write-raster"] }
craft-xml = { git = "https://github.com/storytold/craft-libs", rev = "77e3b41232da12a81d04bd187e43b056f8ef2053" }
craft-docpath = { version = "0.1.0", git = "https://github.com/storytold/craft-libs", rev = "77e3b41232da12a81d04bd187e43b056f8ef2053" }
craft-jpeg = { git = "https://github.com/storytold/craft-libs", rev = "77e3b41232da12a81d04bd187e43b056f8ef2053" }
craft-pcraft-format = { git = "https://github.com/storytold/craft-libs", rev = "77e3b41232da12a81d04bd187e43b056f8ef2053" }
craft-pcraft-bundle = { git = "https://github.com/storytold/craft-libs", rev = "77e3b41232da12a81d04bd187e43b056f8ef2053" }
craft-zip = { git = "https://github.com/storytold/craft-libs", rev = "77e3b41232da12a81d04bd187e43b056f8ef2053" }
craft-ora = { git = "https://github.com/storytold/craft-libs", rev = "77e3b41232da12a81d04bd187e43b056f8ef2053" }
craft-kra = { git = "https://github.com/storytold/craft-libs", rev = "77e3b41232da12a81d04bd187e43b056f8ef2053" }
craft-xcf = { git = "https://github.com/storytold/craft-libs", rev = "77e3b41232da12a81d04bd187e43b056f8ef2053" }
craft-pdn = { git = "https://github.com/storytold/craft-libs", rev = "77e3b41232da12a81d04bd187e43b056f8ef2053" }
craft-heif = { git = "https://github.com/storytold/craft-libs", rev = "416ead61003b06def8de8f205cc7315a6bc86436" }
craft-pdf = { git = "https://github.com/storytold/craft-libs", rev = "416ead61003b06def8de8f205cc7315a6bc86436", features = ["raster", "write-raster"] }
craft-xml = { git = "https://github.com/storytold/craft-libs", rev = "416ead61003b06def8de8f205cc7315a6bc86436" }
craft-docpath = { version = "0.1.0", git = "https://github.com/storytold/craft-libs", rev = "416ead61003b06def8de8f205cc7315a6bc86436" }
craft-jpeg = { git = "https://github.com/storytold/craft-libs", rev = "416ead61003b06def8de8f205cc7315a6bc86436" }
craft-pcraft-format = { git = "https://github.com/storytold/craft-libs", rev = "416ead61003b06def8de8f205cc7315a6bc86436" }
craft-pcraft-bundle = { git = "https://github.com/storytold/craft-libs", rev = "416ead61003b06def8de8f205cc7315a6bc86436" }
craft-zip = { git = "https://github.com/storytold/craft-libs", rev = "416ead61003b06def8de8f205cc7315a6bc86436" }
craft-ora = { git = "https://github.com/storytold/craft-libs", rev = "416ead61003b06def8de8f205cc7315a6bc86436" }
craft-kra = { git = "https://github.com/storytold/craft-libs", rev = "416ead61003b06def8de8f205cc7315a6bc86436" }
craft-xcf = { git = "https://github.com/storytold/craft-libs", rev = "416ead61003b06def8de8f205cc7315a6bc86436" }
craft-pdn = { git = "https://github.com/storytold/craft-libs", rev = "416ead61003b06def8de8f205cc7315a6bc86436" }
# Keep the shared embedded-image validation API until the framework revision includes it.
craft-svg = { git = "https://github.com/storytold/craft-libs", rev = "77e3b41232da12a81d04bd187e43b056f8ef2053", features = ["tree-render", "tree-render-system-fonts"] }
craft-raw = { git = "https://github.com/storytold/craft-libs", rev = "77e3b41232da12a81d04bd187e43b056f8ef2053" }
craft-tiff = { git = "https://github.com/storytold/craft-libs", rev = "77e3b41232da12a81d04bd187e43b056f8ef2053" }
craft-svg = { git = "https://github.com/storytold/craft-libs", rev = "416ead61003b06def8de8f205cc7315a6bc86436", features = ["tree-render", "tree-render-system-fonts"] }
craft-raw = { git = "https://github.com/storytold/craft-libs", rev = "416ead61003b06def8de8f205cc7315a6bc86436" }
craft-tiff = { git = "https://github.com/storytold/craft-libs", rev = "416ead61003b06def8de8f205cc7315a6bc86436" }
# Camera-field EXIF reader/writer, shared prerequisite craft-libs#1563.
craft-metadata = { git = "https://github.com/storytold/craft-libs", rev = "77e3b41232da12a81d04bd187e43b056f8ef2053" }
craft-crs = { git = "https://github.com/storytold/craft-libs", rev = "77e3b41232da12a81d04bd187e43b056f8ef2053" }
craft-develop = { git = "https://github.com/storytold/craft-libs", rev = "77e3b41232da12a81d04bd187e43b056f8ef2053" }
craft-develop-model = { git = "https://github.com/storytold/craft-libs", rev = "77e3b41232da12a81d04bd187e43b056f8ef2053" }
craft-metadata = { git = "https://github.com/storytold/craft-libs", rev = "416ead61003b06def8de8f205cc7315a6bc86436" }
craft-crs = { git = "https://github.com/storytold/craft-libs", rev = "416ead61003b06def8de8f205cc7315a6bc86436" }
craft-develop = { git = "https://github.com/storytold/craft-libs", rev = "416ead61003b06def8de8f205cc7315a6bc86436" }
craft-develop-model = { git = "https://github.com/storytold/craft-libs", rev = "416ead61003b06def8de8f205cc7315a6bc86436" }
# Interface translations: lookup, fallback, CLDR plurals and language names over the craft-i18n
# catalogs that `crates/ui-egui/build.rs` embeds from `CRAFT_I18N_DIR` (storytold/craft-i18n, at
# the commit in `craft-i18n.rev`). Already in the tree through craft.
craft-i18n = { git = "https://github.com/storytold/craft-libs", rev = "77e3b41232da12a81d04bd187e43b056f8ef2053" }
craft-i18n = { git = "https://github.com/storytold/craft-libs", rev = "416ead61003b06def8de8f205cc7315a6bc86436" }
# craft-update: app-specific pretend versions apply to startup and manual checks.
craft-update = { git = "https://github.com/storytold/craft-libs", version = "=0.1.0", rev = "77e3b41232da12a81d04bd187e43b056f8ef2053", features = ["ui"] }
craft-update = { git = "https://github.com/storytold/craft-libs", version = "=0.1.0", rev = "416ead61003b06def8de8f205cc7315a6bc86436", features = ["ui"] }
# Self-contained nightly profile isolation, launch protocol, and security fence.
craft-nightly = { git = "https://github.com/storytold/craft-libs", rev = "77e3b41232da12a81d04bd187e43b056f8ef2053" }
craft-nightly = { git = "https://github.com/storytold/craft-libs", rev = "416ead61003b06def8de8f205cc7315a6bc86436" }
thiserror = "2"
serde = { version = "1", features = ["derive", "rc"] }
serde_json = "1"
@@ -352,16 +352,16 @@ opt-level = 3
# Keep the complete egui family and native event bridge on reviewed fork commits.
[patch.crates-io]
krilla = { git = "https://github.com/storytold/craft-libs", rev = "77e3b41232da12a81d04bd187e43b056f8ef2053" }
hayro = { git = "https://github.com/storytold/craft-libs", rev = "77e3b41232da12a81d04bd187e43b056f8ef2053" }
hayro-interpret = { git = "https://github.com/storytold/craft-libs", rev = "77e3b41232da12a81d04bd187e43b056f8ef2053" }
hayro-syntax = { git = "https://github.com/storytold/craft-libs", rev = "77e3b41232da12a81d04bd187e43b056f8ef2053" }
hayro-jbig2 = { git = "https://github.com/storytold/craft-libs", rev = "77e3b41232da12a81d04bd187e43b056f8ef2053" }
hayro-cmap = { git = "https://github.com/storytold/craft-libs", rev = "77e3b41232da12a81d04bd187e43b056f8ef2053" }
hayro-postscript = { git = "https://github.com/storytold/craft-libs", rev = "77e3b41232da12a81d04bd187e43b056f8ef2053" }
linesweeper = { git = "https://github.com/storytold/craft-libs", rev = "77e3b41232da12a81d04bd187e43b056f8ef2053" }
vello_common = { git = "https://github.com/storytold/craft-libs", rev = "77e3b41232da12a81d04bd187e43b056f8ef2053" }
vello_cpu = { git = "https://github.com/storytold/craft-libs", rev = "77e3b41232da12a81d04bd187e43b056f8ef2053" }
krilla = { git = "https://github.com/storytold/craft-libs", rev = "416ead61003b06def8de8f205cc7315a6bc86436" }
hayro = { git = "https://github.com/storytold/craft-libs", rev = "416ead61003b06def8de8f205cc7315a6bc86436" }
hayro-interpret = { git = "https://github.com/storytold/craft-libs", rev = "416ead61003b06def8de8f205cc7315a6bc86436" }
hayro-syntax = { git = "https://github.com/storytold/craft-libs", rev = "416ead61003b06def8de8f205cc7315a6bc86436" }
hayro-jbig2 = { git = "https://github.com/storytold/craft-libs", rev = "416ead61003b06def8de8f205cc7315a6bc86436" }
hayro-cmap = { git = "https://github.com/storytold/craft-libs", rev = "416ead61003b06def8de8f205cc7315a6bc86436" }
hayro-postscript = { git = "https://github.com/storytold/craft-libs", rev = "416ead61003b06def8de8f205cc7315a6bc86436" }
linesweeper = { git = "https://github.com/storytold/craft-libs", rev = "416ead61003b06def8de8f205cc7315a6bc86436" }
vello_common = { git = "https://github.com/storytold/craft-libs", rev = "416ead61003b06def8de8f205cc7315a6bc86436" }
vello_cpu = { git = "https://github.com/storytold/craft-libs", rev = "416ead61003b06def8de8f205cc7315a6bc86436" }
ecolor = { git = "https://github.com/storytold/egui.git", rev = "07c20531f89717e461c0f387dd1f9649553f9321" }
emath = { git = "https://github.com/storytold/egui.git", rev = "07c20531f89717e461c0f387dd1f9649553f9321" }
epaint = { git = "https://github.com/storytold/egui.git", rev = "07c20531f89717e461c0f387dd1f9649553f9321" }
+1 -1
View File
@@ -19,7 +19,7 @@ photocraft-geom = { workspace = true }
photocraft-color = { workspace = true }
craft-cms = { workspace = true }
# PCTIP codec from craft-libs#1564; kept at the same shared revision as the workspace.
craft-pcraft-tip = { package = "craft-pcraft-format", git = "https://github.com/storytold/craft-libs", rev = "77e3b41232da12a81d04bd187e43b056f8ef2053" }
craft-pcraft-tip = { package = "craft-pcraft-format", git = "https://github.com/storytold/craft-libs", rev = "416ead61003b06def8de8f205cc7315a6bc86436" }
photocraft-raster = { workspace = true }
photocraft-doc = { workspace = true }
photocraft-ops = { workspace = true }
@@ -157,7 +157,7 @@ pub fn specs() -> Vec<CommandSpec> {
"Group from Layers…",
&["Layer", "New"],
None,
r##"{"layer":id?,"name":text?,"color":"none|red|orange|yellow|green|seafoam|blue|indigo|magenta|fuchsia|violet|gray"="none","mode":str="passThrough" (blend mode),"opacity":0..100=100 (percent)} (no layer: every selected layer; the new group starts collapsed)"##,
r##"{"layer":id?,"name":text?,"color":"none|red|orange|yellow|green|seafoam|blue|indigo|magenta|fuchsia|violet|gray"="none","mode":str="passThrough" (blend mode),"opacity":0..100=100 (percent)} (no layer: every selected layer; the new group starts expanded with one target and collapsed with multiple targets)"##,
structure::can_group_from_layers,
structure::group_from_layers
),
@@ -192,3 +192,6 @@ mod group_from_layers_clipping_tests;
#[cfg(test)]
mod merge_layers_history_match_tests;
#[cfg(test)]
mod group_from_layers_one_layer_expanded_tests;
@@ -0,0 +1,104 @@
use super::*;
const GROUP_FROM_LAYERS: &str = "layer.new.groupFromLayers";
fn session() -> Session {
let mut s = crate::session();
s.execute("file.new", json!({"width": 32, "height": 32})).unwrap();
s
}
fn create(s: &mut Session, command: &str, name: &str) -> LayerId {
let reply = s.execute(command, json!({"name": name})).unwrap();
LayerId(reply["layer"].as_u64().unwrap())
}
fn inspect_layer(layers: &Value, id: LayerId) -> Option<&Value> {
layers.as_array()?.iter().find_map(|layer| if layer["id"] == id.0 { Some(layer) } else { inspect_layer(&layer["children"], id) })
}
fn assert_group(s: &mut Session, group: LayerId, expanded: bool, children: &[LayerId]) {
let state = s.execute("document.inspect", json!({})).unwrap();
let inspected = inspect_layer(&state["layers"], group).expect("new group is in the layer tree");
assert_eq!(inspected["expanded"], expanded);
let ids: Vec<_> = inspected["children"].as_array().unwrap().iter().rev().map(|layer| LayerId(layer["id"].as_u64().unwrap())).collect();
assert_eq!(ids, children);
}
#[test]
fn grouping_one_layer_or_group_starts_expanded_in_a_single_history_step() {
for command in ["layer.new.layer", "layer.new.group"] {
let mut s = session();
let child = create(&mut s, command, "Child");
let before = s.active().unwrap().history.past_len();
let group = create(&mut s, GROUP_FROM_LAYERS, "Wrapper");
assert_group(&mut s, group, true, &[child]);
assert_eq!(s.active().unwrap().history.past_len(), before + 1);
s.execute("edit.undo", json!({})).unwrap();
let doc = &s.active().unwrap().doc;
assert!(doc.layer(group).is_none());
assert!(doc.layers.iter().any(|layer| layer.id == child));
}
}
#[test]
fn grouping_one_nested_layer_starts_expanded_with_either_parent_lock_state() {
for locked in [false, true] {
let mut s = session();
let child = create(&mut s, "layer.new.layer", "Child");
let parent = create(&mut s, "layer.new.group", "Parent");
s.execute("layer.moveTo", json!({"layer": child.0, "target": parent.0, "position": "into"})).unwrap();
s.execute("layer.select", json!({"layer": parent.0})).unwrap();
s.execute("layer.lockLayers", json!({"all": locked})).unwrap();
s.execute("layer.select", json!({"layer": child.0})).unwrap();
let group = create(&mut s, GROUP_FROM_LAYERS, "Inner");
assert_group(&mut s, group, true, &[child]);
let doc = &s.active().unwrap().doc;
assert_eq!(doc.layers.index().parent(group), Some(parent));
assert_eq!(doc.layer(parent).unwrap().locks.all, locked);
s.execute("edit.undo", json!({})).unwrap();
assert_eq!(s.active().unwrap().doc.layers.index().parent(child), Some(parent));
}
}
#[test]
fn a_multi_selection_starts_collapsed_and_an_explicit_target_starts_expanded() {
let mut s = session();
let a = create(&mut s, "layer.new.layer", "A");
let b = create(&mut s, "layer.new.layer", "B");
s.execute("layer.select", json!({"layers": [a.0, b.0]})).unwrap();
let group = create(&mut s, GROUP_FROM_LAYERS, "Pair");
assert_group(&mut s, group, false, &[a, b]);
s.execute("edit.undo", json!({})).unwrap();
s.execute("layer.select", json!({"layers": [a.0, b.0]})).unwrap();
let reply = s.execute(GROUP_FROM_LAYERS, json!({"layer": a.0})).unwrap();
let explicit = LayerId(reply["layer"].as_u64().unwrap());
assert_group(&mut s, explicit, true, &[a]);
s.execute("layer.select", json!({"layers": [explicit.0, a.0]})).unwrap();
let wrapper = create(&mut s, GROUP_FROM_LAYERS, "Ancestor and Child");
assert_group(&mut s, wrapper, false, &[explicit]);
}
#[test]
fn ordinary_group_layers_still_starts_collapsed_for_one_layer() {
let mut s = session();
let child = create(&mut s, "layer.new.layer", "Child");
let group = create(&mut s, "layer.groupLayers", "Wrapper");
assert_group(&mut s, group, false, &[child]);
}
#[test]
fn one_selected_base_starts_expanded_with_its_clipped_layer() {
let mut s = session();
let base = create(&mut s, "layer.new.layer", "Base");
let clipped = create(&mut s, "layer.new.layer", "Clipped");
s.execute("layer.setProps", json!({"layer": clipped.0, "clipped": true})).unwrap();
s.execute("layer.select", json!({"layer": base.0})).unwrap();
let group = create(&mut s, GROUP_FROM_LAYERS, "Wrapper");
assert_group(&mut s, group, true, &[base, clipped]);
assert!(s.active().unwrap().doc.layer(clipped).unwrap().clipped);
}
@@ -122,9 +122,7 @@ pub(super) fn can_group_from_layers(s: &Session) -> std::result::Result<(), Stri
Ok(())
}
/// Group from Layers: [`group_layers`], refused with the Background among the layers it would
/// move, also when the `layer` param names it (#14709). Group Layers (⌘G) is not measured and
/// keeps grouping it.
/// Group from Layers opens a group made from one target and refuses to group the Background (#14709).
pub(super) fn group_from_layers(s: &mut Session, p: &Value) -> Result<Value> {
let ids = match crate::commands::explicit_layer(s, p)? {
Some(id) => vec![id],
@@ -134,17 +132,21 @@ pub(super) fn group_from_layers(s: &mut Session, p: &Value) -> Result<Value> {
if ids.iter().any(|id| doc.is_background(*id)) {
return Err(EngineError::Other("the Background layer can't go into a group".into()));
}
group_layers(s, p)
group_layers_with(s, p, &ids, ids.len() == 1)
}
/// Group Layers (⌘G) / Group from Layers: the explicit layer, or every selected layer, moves
/// into a new, collapsed group placed where the top-most of them was. Bottom-to-top order is
/// preserved. The New Group dialog's colour, mode and opacity are set in the same history step.
/// Group Layers (⌘G) moves the explicit layer or the selection into a new, collapsed group.
pub fn group_layers(s: &mut Session, p: &Value) -> Result<Value> {
let ids = match crate::commands::explicit_layer(s, p)? {
Some(id) => vec![id],
None => selected(s),
};
group_layers_with(s, p, &ids, false)
}
/// Creates the group at the topmost target, preserving layer order and applying the dialog's
/// options in the same history step.
fn group_layers_with(s: &mut Session, p: &Value, ids: &[LayerId], expanded: bool) -> Result<Value> {
if ids.is_empty() {
return Err(EngineError::Other("no layer selected".into()));
}
@@ -153,7 +155,7 @@ pub fn group_layers(s: &mut Session, p: &Value) -> Result<Value> {
// A base takes the layers clipped to it into the group, still clipped, whether they were
// selected or not; a clipped layer that goes in without its base is released, as in the
// reference application (#14713).
let mut ids = top_level(doc, &ids);
let mut ids = top_level(doc, ids);
let bases: Vec<LayerId> = ids.clone();
for id in bases {
ids.extend(crate::clip_group::clipped_to(doc, id));
@@ -170,10 +172,9 @@ pub fn group_layers(s: &mut Session, p: &Value) -> Result<Value> {
}
let top = *ids.last().ok_or(EngineError::NoLayer(LayerId(0)))?;
let name = opts.name.clone().unwrap_or_else(|| doc.next_layer_name("Group"));
// Photoshop creates the group collapsed, so the panel shows one row in place of the layers.
let mut group = Layer::group(name, vec![]);
if let LayerContent::Group(g) = &mut group.content {
g.expanded = false;
g.expanded = expanded;
}
let gid = doc.insert_above(Some(top), group);
let mut children = Vec::with_capacity(ids.len());
+1 -1
View File
@@ -7,7 +7,7 @@ license.workspace = true
rust-version.workspace = true
[dependencies]
craft-ipp = { git = "https://github.com/storytold/craft-libs", rev = "77e3b41232da12a81d04bd187e43b056f8ef2053" }
craft-ipp = { git = "https://github.com/storytold/craft-libs", rev = "416ead61003b06def8de8f205cc7315a6bc86436" }
[lints]
workspace = true
+1 -1
View File
@@ -373,7 +373,7 @@ impl CanvasTool for PaintTool<'_> {
scope.with_app(|app| {
crate::brush_cursor::sync_tip(app);
// The readout request lasts one pass: a pass without pointer input repeats it.
app.brush_resize.hud(cx);
app.brush_resize.hud(app, cx);
let Some(stroke) = state.stroke.as_ref() else { return };
let stale_mixer =
stroke.tool == Tool::MixerBrush && app.live_stroke.is_some() && app.session.active_index().is_none_or(|idx| live_stroke(app, idx).is_none());
+19 -4
View File
@@ -29,6 +29,10 @@ const HARDNESS_TRAVEL: f32 = 400.0;
const OPACITY_TRAVEL: f32 = 200.0;
/// The overlay alpha of the preview tint.
const TINT_ALPHA: u8 = 110;
/// The Background Eraser's third readout row: the reference shows "Opacity : 50 %" there, the
/// tool's Tolerance after Reset Tool and not an opacity the tool has (#18053). Unmeasured for other
/// Tolerance values, so the row stays at 50 until they are (#18053).
const BACKGROUND_ERASER_READOUT_OPACITY: f64 = 50.0;
/// The brush resize drag of the painting tools, kept in `PhotocraftApp::brush_resize`. The painting tool takes it
/// out of the app for each call, so its methods get the app as an argument.
@@ -98,7 +102,7 @@ impl PaintResize {
return false;
}
self.key += 1;
self.hud(cx);
self.hud(app, cx);
true
}
@@ -108,7 +112,7 @@ impl PaintResize {
let Some(space) = cx.space() else { return };
let step = self.resize.track(&space.view, pointer.pos);
self.apply(app, step);
self.hud(cx);
self.hud(app, cx);
}
/// The button came up: the last values stay.
@@ -126,13 +130,20 @@ impl PaintResize {
/// Asks for the diameter and level readout beside the pointer while a resize runs. `hud`, not `readout`: Show
/// Transformation Values never hides it. The request lasts one pass, so the tool repeats it every pass.
pub(crate) fn hud(&self, cx: &mut ToolContext<'_>) {
/// The Background Eraser gets a third row, Opacity (#18053).
pub(crate) fn hud(&self, app: &PhotocraftApp, cx: &mut ToolContext<'_>) {
if !self.resize.active() {
return;
}
let words = cx.words::<CanvasControlWords>();
let rows = self.resize.readout_rows(&cx.units(), &words);
let mut rows = self.resize.readout_rows(&cx.units(), &words);
// The reference's third row is there beside a Hardness row; with "Vary Round Brush Hardness on HUD" off the
// level row is already Opacity, and a second one would repeat it.
if app.ui.tool == Tool::BackgroundEraser && varies_hardness(app) {
let opacity = cx.units().percent(BACKGROUND_ERASER_READOUT_OPACITY);
rows.push((words.opacity.clone(), opacity));
}
cx.hud(rows);
}
@@ -175,6 +186,10 @@ impl PaintResize {
#[cfg(test)]
mod tests;
#[cfg(test)]
#[path = "brush_resize_background_eraser_opacity_row_tests.rs"]
mod background_eraser_opacity_row_tests;
#[cfg(test)]
#[path = "../brush_resize_hardness_rate_tests.rs"]
mod brush_resize_hardness_rate_tests;
@@ -0,0 +1,116 @@
//! #18053: the Background Eraser's Ctrl+Alt+drag (Alt+right-drag) readout has a third row,
//! "Opacity : 50 %", after Diameter and Hardness, as the reference application does. The row does
//! not follow the drag or the tool's Tolerance (not measured), and the gesture still changes only
//! the diameter and the hardness, erases nothing and adds no history state.
use serde_json::json;
use super::*;
use crate::canvas::{ToolEvent, testing};
/// A 200 x 100 white document at 100 % zoom with `tool` active and a 40 px, `hardness`, 100 % opaque
/// brush. The window is made a Mac's: off macOS the host reports Ctrl as the command key, and the
/// Ctrl+Alt chord needs Ctrl its own key.
fn app(tool: Tool, hardness: f32) -> Box<PhotocraftApp> {
let mut app = PhotocraftApp::new(photocraft_engine::Session::new(), Default::default());
app.run("file.new", json!({"width": 200, "height": 100, "background": "white"})).unwrap();
app.run("tools.setBrush", json!({"brush": {"size": 40, "hardness": hardness, "opacity": 1.0}})).unwrap();
app.ui.tool = tool;
app.sync_views();
testing::on_a_mac(&app);
app
}
fn chord() -> egui::Modifiers {
egui::Modifiers { alt: true, ctrl: true, ..Default::default() }
}
/// The rows the readout asked for at `ev`, as (label, value) pairs.
fn readout(app: &mut PhotocraftApp, ev: ToolEvent) -> Vec<(String, String)> {
crate::canvas::tool_event_response(app, ev, chord())
.readout
.map(|r| r.rows.into_iter().map(|(label, value)| (label.as_str().to_owned(), value)).collect())
.unwrap_or_default()
}
fn values(rows: &[(String, String)]) -> Vec<&str> {
rows.iter().map(|(_, value)| value.as_str()).collect()
}
/// Done when 1: after Reset Tool's brush, three rows in the order Diameter, Hardness, Opacity, and
/// the Opacity row reads 50 %.
#[test]
fn the_background_eraser_readout_has_a_fifty_percent_opacity_row() {
let mut a = app(Tool::BackgroundEraser, 1.0);
let got = readout(&mut a, ToolEvent::Down { x: 100.0, y: 50.0, pressure: 1.0 });
assert_eq!(
got,
vec![("Diameter:".to_owned(), "40 px".to_owned()), ("Hardness:".to_owned(), "100%".to_owned()), ("Opacity:".to_owned(), "50%".to_owned()),],
"three rows, in the reference's order"
);
readout(&mut a, ToolEvent::Up { x: 100.0, y: 50.0 });
}
/// Done when 2: horizontal and vertical movement leave the Opacity row at 50 %, the diameter and
/// the hardness following their own axes.
#[test]
fn the_opacity_row_stays_at_fifty_percent_through_the_drag() {
let mut a = app(Tool::BackgroundEraser, 0.5);
readout(&mut a, ToolEvent::Down { x: 100.0, y: 50.0, pressure: 1.0 });
let right = readout(&mut a, ToolEvent::Move { x: 130.0, y: 50.0, pressure: 1.0 });
assert_eq!(values(&right), vec!["100 px", "50%", "50%"], "rightward: a wider tip, the same rows");
// 400 screen points take the hardness from 0 % to 100 %, so 20 points down add 5 %.
let down = readout(&mut a, ToolEvent::Move { x: 130.0, y: 70.0, pressure: 1.0 });
assert_eq!(values(&down), vec!["100 px", "55%", "50%"], "downward: a softer tip, the opacity row unchanged");
let up = readout(&mut a, ToolEvent::Move { x: 130.0, y: 30.0, pressure: 1.0 });
assert_eq!(values(&up), vec!["100 px", "45%", "50%"], "upward: harder, the opacity row unchanged");
readout(&mut a, ToolEvent::Up { x: 130.0, y: 30.0 });
}
/// Done when 3: the row stays at 50 % for another Tolerance. The 50 is the Tolerance after Reset
/// Tool, but the reference's row was not measured for other values, so it does not follow it yet.
#[test]
fn another_tolerance_leaves_the_row_at_fifty_percent() {
let mut a = app(Tool::BackgroundEraser, 1.0);
a.ui.tool_options.bg_tolerance = 85.0;
let got = readout(&mut a, ToolEvent::Down { x: 100.0, y: 50.0, pressure: 1.0 });
assert_eq!(values(&got), vec!["40 px", "100%", "50%"], "Tolerance 85 %: the row still reads 50 %");
readout(&mut a, ToolEvent::Up { x: 100.0, y: 50.0 });
}
/// Done when 2: the gesture changes only the diameter and the hardness, erases nothing and adds no
/// history state.
#[test]
fn the_gesture_erases_nothing_and_adds_no_history_state() {
let mut a = app(Tool::BackgroundEraser, 0.5);
let history = a.session.active().unwrap().history.entries().len();
readout(&mut a, ToolEvent::Down { x: 100.0, y: 50.0, pressure: 1.0 });
readout(&mut a, ToolEvent::Move { x: 130.0, y: 70.0, pressure: 1.0 });
readout(&mut a, ToolEvent::Up { x: 130.0, y: 70.0 });
assert_ne!(a.session.tools.brush.size, 40.0, "the diameter changed");
assert!(a.session.tools.brush.hardness > 0.5, "the hardness changed");
assert_eq!(a.session.tools.brush.opacity, 1.0, "the brush's own opacity did not");
let st = a.session.active().unwrap();
assert_eq!(st.history.entries().len(), history, "no history state");
let surface = st.doc.layer(st.active_layer.unwrap()).unwrap().surface().unwrap();
assert_eq!(surface.pixel(100, 50)[3], 1.0, "the canvas was not erased");
}
/// Done when 1: every other painting tool keeps the framework's two rows, and with "Vary Round
/// Brush Hardness on HUD" off the Background Eraser's second row is already Opacity, so no third row
/// repeats it.
#[test]
fn only_the_background_eraser_with_the_hardness_row_gets_the_third_row() {
let mut pencil = app(Tool::Pencil, 1.0);
let got = readout(&mut pencil, ToolEvent::Down { x: 100.0, y: 50.0, pressure: 1.0 });
assert_eq!(values(&got), vec!["40 px", "100%"], "the Pencil keeps two rows");
readout(&mut pencil, ToolEvent::Up { x: 100.0, y: 50.0 });
let mut eraser = app(Tool::BackgroundEraser, 1.0);
eraser.run("prefs.set", json!({"path": "tools.varyRoundBrushHardnessOnHud", "value": false})).unwrap();
let got = readout(&mut eraser, ToolEvent::Down { x: 100.0, y: 50.0, pressure: 1.0 });
assert_eq!(values(&got), vec!["40 px", "100%"], "the level row is Opacity, and there is no second one");
readout(&mut eraser, ToolEvent::Up { x: 100.0, y: 50.0 });
}