Save for Web: the color table tells the dialog which colors are web-shifted

The color table's marks now include the web-shifted colors: the colors in
webShift that are not shifted by hand, as the engine reports them. With
them the dialog offers Unshift Colors for a web-shifted selection and
Shift to Web Palette only when the selection holds a color that is not
web-shifted.

Uses storytold/craft-libs#4393 for TableMarks::web_shifted. Every
craft-libs rev is pinned to its head until it merges.
This commit is contained in:
dotCooCoo committed 2026-11-29 23:04:49 -08:00
1 parent ad642cb34c
commit 773ce296f8
5 files changed
+212 -165

No files matched your search

Generated
+105 -107
View File
@@ -626,12 +626,6 @@ dependencies = [
"cpufeatures 0.3.1",
]
[[package]]
name = "block"
version = "0.1.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0d8c1fef690941d3e7788d328517591fecc684c084084702d6ff1641e993699a"
[[package]]
name = "block-buffer"
version = "0.10.4"
@@ -725,6 +719,17 @@ dependencies = [
"brotli-decompressor 5.0.3",
]
[[package]]
name = "brotli"
version = "9.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9071f285ed78f04f37d675abaaef5de7689e2f30a216c8dc6795465d81910a13"
dependencies = [
"alloc-no-stdlib 3.0.0",
"alloc-stdlib 0.3.0",
"brotli-decompressor 6.3.2",
]
[[package]]
name = "brotli-decompressor"
version = "5.0.3"
@@ -1184,19 +1189,6 @@ dependencies = [
"libc",
]
[[package]]
name = "core-graphics2"
version = "0.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5b65858d95344d2711161cd92196732f67d6c5fea238cf12f994584828731a5c"
dependencies = [
"bitflags 2.13.2",
"block",
"cfg-if",
"core-foundation 0.10.1",
"libc",
]
[[package]]
name = "core_detect"
version = "1.0.0"
@@ -1239,7 +1231,7 @@ dependencies = [
[[package]]
name = "craft"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=186a229c8da8db5916f8a863dfd894f1879af735#186a229c8da8db5916f8a863dfd894f1879af735"
source = "git+https://github.com/storytold/craft-libs?rev=3407288b592c76ffc76f51eeb452ef0932a7d56d#3407288b592c76ffc76f51eeb452ef0932a7d56d"
dependencies = [
"craft-automation",
"craft-behavior",
@@ -1280,7 +1272,7 @@ dependencies = [
[[package]]
name = "craft-affinity"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=186a229c8da8db5916f8a863dfd894f1879af735#186a229c8da8db5916f8a863dfd894f1879af735"
source = "git+https://github.com/storytold/craft-libs?rev=3407288b592c76ffc76f51eeb452ef0932a7d56d#3407288b592c76ffc76f51eeb452ef0932a7d56d"
dependencies = [
"crc32fast",
"flate2",
@@ -1291,18 +1283,19 @@ dependencies = [
[[package]]
name = "craft-appkit"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=186a229c8da8db5916f8a863dfd894f1879af735#186a229c8da8db5916f8a863dfd894f1879af735"
source = "git+https://github.com/storytold/craft-libs?rev=3407288b592c76ffc76f51eeb452ef0932a7d56d#3407288b592c76ffc76f51eeb452ef0932a7d56d"
dependencies = [
"block2 0.6.2",
"objc2 0.6.5",
"objc2-app-kit 0.3.2",
"objc2-core-graphics",
"objc2-foundation 0.3.2",
]
[[package]]
name = "craft-atomic"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=186a229c8da8db5916f8a863dfd894f1879af735#186a229c8da8db5916f8a863dfd894f1879af735"
source = "git+https://github.com/storytold/craft-libs?rev=3407288b592c76ffc76f51eeb452ef0932a7d56d#3407288b592c76ffc76f51eeb452ef0932a7d56d"
dependencies = [
"rustix 1.1.6",
]
@@ -1310,7 +1303,7 @@ dependencies = [
[[package]]
name = "craft-automation"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=186a229c8da8db5916f8a863dfd894f1879af735#186a229c8da8db5916f8a863dfd894f1879af735"
source = "git+https://github.com/storytold/craft-libs?rev=3407288b592c76ffc76f51eeb452ef0932a7d56d#3407288b592c76ffc76f51eeb452ef0932a7d56d"
dependencies = [
"base64 0.23.1",
"craft-behavior",
@@ -1335,7 +1328,7 @@ dependencies = [
[[package]]
name = "craft-behavior"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=186a229c8da8db5916f8a863dfd894f1879af735#186a229c8da8db5916f8a863dfd894f1879af735"
source = "git+https://github.com/storytold/craft-libs?rev=3407288b592c76ffc76f51eeb452ef0932a7d56d#3407288b592c76ffc76f51eeb452ef0932a7d56d"
dependencies = [
"accesskit",
"bitflags 2.13.2",
@@ -1353,7 +1346,7 @@ dependencies = [
[[package]]
name = "craft-browse"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=186a229c8da8db5916f8a863dfd894f1879af735#186a229c8da8db5916f8a863dfd894f1879af735"
source = "git+https://github.com/storytold/craft-libs?rev=3407288b592c76ffc76f51eeb452ef0932a7d56d#3407288b592c76ffc76f51eeb452ef0932a7d56d"
dependencies = [
"craft-behavior",
"craft-docpath",
@@ -1371,7 +1364,7 @@ dependencies = [
[[package]]
name = "craft-cdr"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=186a229c8da8db5916f8a863dfd894f1879af735#186a229c8da8db5916f8a863dfd894f1879af735"
source = "git+https://github.com/storytold/craft-libs?rev=3407288b592c76ffc76f51eeb452ef0932a7d56d#3407288b592c76ffc76f51eeb452ef0932a7d56d"
dependencies = [
"crc32fast",
"flate2",
@@ -1380,7 +1373,7 @@ dependencies = [
[[package]]
name = "craft-cloud-ui"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=186a229c8da8db5916f8a863dfd894f1879af735#186a229c8da8db5916f8a863dfd894f1879af735"
source = "git+https://github.com/storytold/craft-libs?rev=3407288b592c76ffc76f51eeb452ef0932a7d56d#3407288b592c76ffc76f51eeb452ef0932a7d56d"
dependencies = [
"egui",
]
@@ -1388,7 +1381,7 @@ dependencies = [
[[package]]
name = "craft-cms"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=186a229c8da8db5916f8a863dfd894f1879af735#186a229c8da8db5916f8a863dfd894f1879af735"
source = "git+https://github.com/storytold/craft-libs?rev=3407288b592c76ffc76f51eeb452ef0932a7d56d#3407288b592c76ffc76f51eeb452ef0932a7d56d"
dependencies = [
"md-5",
"rayon",
@@ -1397,12 +1390,12 @@ dependencies = [
[[package]]
name = "craft-codepage"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=186a229c8da8db5916f8a863dfd894f1879af735#186a229c8da8db5916f8a863dfd894f1879af735"
source = "git+https://github.com/storytold/craft-libs?rev=3407288b592c76ffc76f51eeb452ef0932a7d56d#3407288b592c76ffc76f51eeb452ef0932a7d56d"
[[package]]
name = "craft-color-ui"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=186a229c8da8db5916f8a863dfd894f1879af735#186a229c8da8db5916f8a863dfd894f1879af735"
source = "git+https://github.com/storytold/craft-libs?rev=3407288b592c76ffc76f51eeb452ef0932a7d56d#3407288b592c76ffc76f51eeb452ef0932a7d56d"
dependencies = [
"craft-behavior",
"craft-cms",
@@ -1422,7 +1415,7 @@ dependencies = [
[[package]]
name = "craft-control"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=186a229c8da8db5916f8a863dfd894f1879af735#186a229c8da8db5916f8a863dfd894f1879af735"
source = "git+https://github.com/storytold/craft-libs?rev=3407288b592c76ffc76f51eeb452ef0932a7d56d#3407288b592c76ffc76f51eeb452ef0932a7d56d"
dependencies = [
"craft-control-protocol",
"craft-platform",
@@ -1433,7 +1426,7 @@ dependencies = [
[[package]]
name = "craft-control-protocol"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=186a229c8da8db5916f8a863dfd894f1879af735#186a229c8da8db5916f8a863dfd894f1879af735"
source = "git+https://github.com/storytold/craft-libs?rev=3407288b592c76ffc76f51eeb452ef0932a7d56d#3407288b592c76ffc76f51eeb452ef0932a7d56d"
dependencies = [
"getrandom 0.3.4",
"serde_json",
@@ -1443,7 +1436,7 @@ dependencies = [
[[package]]
name = "craft-dds"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=186a229c8da8db5916f8a863dfd894f1879af735#186a229c8da8db5916f8a863dfd894f1879af735"
source = "git+https://github.com/storytold/craft-libs?rev=3407288b592c76ffc76f51eeb452ef0932a7d56d#3407288b592c76ffc76f51eeb452ef0932a7d56d"
dependencies = [
"rayon",
]
@@ -1451,7 +1444,7 @@ dependencies = [
[[package]]
name = "craft-dialogs"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=186a229c8da8db5916f8a863dfd894f1879af735#186a229c8da8db5916f8a863dfd894f1879af735"
source = "git+https://github.com/storytold/craft-libs?rev=3407288b592c76ffc76f51eeb452ef0932a7d56d#3407288b592c76ffc76f51eeb452ef0932a7d56d"
dependencies = [
"block2 0.6.2",
"craft-appkit",
@@ -1477,7 +1470,7 @@ dependencies = [
[[package]]
name = "craft-doc"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=186a229c8da8db5916f8a863dfd894f1879af735#186a229c8da8db5916f8a863dfd894f1879af735"
source = "git+https://github.com/storytold/craft-libs?rev=3407288b592c76ffc76f51eeb452ef0932a7d56d#3407288b592c76ffc76f51eeb452ef0932a7d56d"
dependencies = [
"blake3",
"craft-ecproj-format",
@@ -1493,7 +1486,7 @@ dependencies = [
[[package]]
name = "craft-docpath"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=186a229c8da8db5916f8a863dfd894f1879af735#186a229c8da8db5916f8a863dfd894f1879af735"
source = "git+https://github.com/storytold/craft-libs?rev=3407288b592c76ffc76f51eeb452ef0932a7d56d#3407288b592c76ffc76f51eeb452ef0932a7d56d"
dependencies = [
"serde",
]
@@ -1501,7 +1494,7 @@ dependencies = [
[[package]]
name = "craft-draw"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=186a229c8da8db5916f8a863dfd894f1879af735#186a229c8da8db5916f8a863dfd894f1879af735"
source = "git+https://github.com/storytold/craft-libs?rev=3407288b592c76ffc76f51eeb452ef0932a7d56d#3407288b592c76ffc76f51eeb452ef0932a7d56d"
dependencies = [
"craft-behavior",
"craft-color-ui",
@@ -1520,7 +1513,7 @@ dependencies = [
[[package]]
name = "craft-dxf"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=186a229c8da8db5916f8a863dfd894f1879af735#186a229c8da8db5916f8a863dfd894f1879af735"
source = "git+https://github.com/storytold/craft-libs?rev=3407288b592c76ffc76f51eeb452ef0932a7d56d#3407288b592c76ffc76f51eeb452ef0932a7d56d"
dependencies = [
"craft-codepage",
"encoding_rs",
@@ -1532,7 +1525,7 @@ dependencies = [
[[package]]
name = "craft-ecproj-format"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=186a229c8da8db5916f8a863dfd894f1879af735#186a229c8da8db5916f8a863dfd894f1879af735"
source = "git+https://github.com/storytold/craft-libs?rev=3407288b592c76ffc76f51eeb452ef0932a7d56d#3407288b592c76ffc76f51eeb452ef0932a7d56d"
dependencies = [
"serde",
"serde_json",
@@ -1542,12 +1535,12 @@ dependencies = [
[[package]]
name = "craft-eps"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=186a229c8da8db5916f8a863dfd894f1879af735#186a229c8da8db5916f8a863dfd894f1879af735"
source = "git+https://github.com/storytold/craft-libs?rev=3407288b592c76ffc76f51eeb452ef0932a7d56d#3407288b592c76ffc76f51eeb452ef0932a7d56d"
[[package]]
name = "craft-font-catalog"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=186a229c8da8db5916f8a863dfd894f1879af735#186a229c8da8db5916f8a863dfd894f1879af735"
source = "git+https://github.com/storytold/craft-libs?rev=3407288b592c76ffc76f51eeb452ef0932a7d56d#3407288b592c76ffc76f51eeb452ef0932a7d56d"
dependencies = [
"fontique",
"harfrust 0.13.3",
@@ -1562,7 +1555,7 @@ dependencies = [
[[package]]
name = "craft-font-manager"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=186a229c8da8db5916f8a863dfd894f1879af735#186a229c8da8db5916f8a863dfd894f1879af735"
source = "git+https://github.com/storytold/craft-libs?rev=3407288b592c76ffc76f51eeb452ef0932a7d56d#3407288b592c76ffc76f51eeb452ef0932a7d56d"
dependencies = [
"craft-behavior",
"craft-font-catalog",
@@ -1581,7 +1574,7 @@ dependencies = [
[[package]]
name = "craft-font-os-windows"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=186a229c8da8db5916f8a863dfd894f1879af735#186a229c8da8db5916f8a863dfd894f1879af735"
source = "git+https://github.com/storytold/craft-libs?rev=3407288b592c76ffc76f51eeb452ef0932a7d56d#3407288b592c76ffc76f51eeb452ef0932a7d56d"
dependencies = [
"windows-registry",
"windows-sys 0.61.2",
@@ -1590,7 +1583,7 @@ dependencies = [
[[package]]
name = "craft-font-store"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=186a229c8da8db5916f8a863dfd894f1879af735#186a229c8da8db5916f8a863dfd894f1879af735"
source = "git+https://github.com/storytold/craft-libs?rev=3407288b592c76ffc76f51eeb452ef0932a7d56d#3407288b592c76ffc76f51eeb452ef0932a7d56d"
dependencies = [
"cap-primitives",
"craft-atomic",
@@ -1613,12 +1606,12 @@ dependencies = [
[[package]]
name = "craft-fonts-build"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=186a229c8da8db5916f8a863dfd894f1879af735#186a229c8da8db5916f8a863dfd894f1879af735"
source = "git+https://github.com/storytold/craft-libs?rev=3407288b592c76ffc76f51eeb452ef0932a7d56d#3407288b592c76ffc76f51eeb452ef0932a7d56d"
[[package]]
name = "craft-gif"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=186a229c8da8db5916f8a863dfd894f1879af735#186a229c8da8db5916f8a863dfd894f1879af735"
source = "git+https://github.com/storytold/craft-libs?rev=3407288b592c76ffc76f51eeb452ef0932a7d56d#3407288b592c76ffc76f51eeb452ef0932a7d56d"
dependencies = [
"gif",
]
@@ -1626,7 +1619,7 @@ dependencies = [
[[package]]
name = "craft-gzip"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=186a229c8da8db5916f8a863dfd894f1879af735#186a229c8da8db5916f8a863dfd894f1879af735"
source = "git+https://github.com/storytold/craft-libs?rev=3407288b592c76ffc76f51eeb452ef0932a7d56d#3407288b592c76ffc76f51eeb452ef0932a7d56d"
dependencies = [
"flate2",
]
@@ -1634,7 +1627,7 @@ dependencies = [
[[package]]
name = "craft-host"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=186a229c8da8db5916f8a863dfd894f1879af735#186a229c8da8db5916f8a863dfd894f1879af735"
source = "git+https://github.com/storytold/craft-libs?rev=3407288b592c76ffc76f51eeb452ef0932a7d56d#3407288b592c76ffc76f51eeb452ef0932a7d56d"
dependencies = [
"bitflags 2.13.2",
"craft-i18n",
@@ -1647,8 +1640,10 @@ dependencies = [
[[package]]
name = "craft-i18n"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=186a229c8da8db5916f8a863dfd894f1879af735#186a229c8da8db5916f8a863dfd894f1879af735"
source = "git+https://github.com/storytold/craft-libs?rev=3407288b592c76ffc76f51eeb452ef0932a7d56d#3407288b592c76ffc76f51eeb452ef0932a7d56d"
dependencies = [
"brotli 9.1.3",
"brotli-decompressor 6.3.2",
"chrono",
"fixed_decimal",
"icu_calendar",
@@ -1675,7 +1670,7 @@ dependencies = [
[[package]]
name = "craft-image-codecs"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=186a229c8da8db5916f8a863dfd894f1879af735#186a229c8da8db5916f8a863dfd894f1879af735"
source = "git+https://github.com/storytold/craft-libs?rev=3407288b592c76ffc76f51eeb452ef0932a7d56d#3407288b592c76ffc76f51eeb452ef0932a7d56d"
dependencies = [
"craft-dds",
"craft-jpeg",
@@ -1702,7 +1697,7 @@ dependencies = [
[[package]]
name = "craft-imaging"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=186a229c8da8db5916f8a863dfd894f1879af735#186a229c8da8db5916f8a863dfd894f1879af735"
source = "git+https://github.com/storytold/craft-libs?rev=3407288b592c76ffc76f51eeb452ef0932a7d56d#3407288b592c76ffc76f51eeb452ef0932a7d56d"
dependencies = [
"craft-behavior",
"craft-color-ui",
@@ -1720,7 +1715,7 @@ dependencies = [
[[package]]
name = "craft-jpeg"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=186a229c8da8db5916f8a863dfd894f1879af735#186a229c8da8db5916f8a863dfd894f1879af735"
source = "git+https://github.com/storytold/craft-libs?rev=3407288b592c76ffc76f51eeb452ef0932a7d56d#3407288b592c76ffc76f51eeb452ef0932a7d56d"
dependencies = [
"thiserror 2.0.21",
]
@@ -1728,7 +1723,7 @@ dependencies = [
[[package]]
name = "craft-jxl"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=186a229c8da8db5916f8a863dfd894f1879af735#186a229c8da8db5916f8a863dfd894f1879af735"
source = "git+https://github.com/storytold/craft-libs?rev=3407288b592c76ffc76f51eeb452ef0932a7d56d#3407288b592c76ffc76f51eeb452ef0932a7d56d"
dependencies = [
"brotli-decompressor 5.0.3",
"jixel",
@@ -1739,7 +1734,7 @@ dependencies = [
[[package]]
name = "craft-keymap"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=186a229c8da8db5916f8a863dfd894f1879af735#186a229c8da8db5916f8a863dfd894f1879af735"
source = "git+https://github.com/storytold/craft-libs?rev=3407288b592c76ffc76f51eeb452ef0932a7d56d#3407288b592c76ffc76f51eeb452ef0932a7d56d"
dependencies = [
"craft-host",
"craft-i18n",
@@ -1754,7 +1749,7 @@ dependencies = [
[[package]]
name = "craft-layers"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=186a229c8da8db5916f8a863dfd894f1879af735#186a229c8da8db5916f8a863dfd894f1879af735"
source = "git+https://github.com/storytold/craft-libs?rev=3407288b592c76ffc76f51eeb452ef0932a7d56d#3407288b592c76ffc76f51eeb452ef0932a7d56d"
dependencies = [
"craft-behavior",
"craft-i18n",
@@ -1768,7 +1763,7 @@ dependencies = [
[[package]]
name = "craft-menu"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=186a229c8da8db5916f8a863dfd894f1879af735#186a229c8da8db5916f8a863dfd894f1879af735"
source = "git+https://github.com/storytold/craft-libs?rev=3407288b592c76ffc76f51eeb452ef0932a7d56d#3407288b592c76ffc76f51eeb452ef0932a7d56d"
dependencies = [
"craft-behavior",
"craft-host",
@@ -1786,7 +1781,7 @@ dependencies = [
[[package]]
name = "craft-metadata"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=186a229c8da8db5916f8a863dfd894f1879af735#186a229c8da8db5916f8a863dfd894f1879af735"
source = "git+https://github.com/storytold/craft-libs?rev=3407288b592c76ffc76f51eeb452ef0932a7d56d#3407288b592c76ffc76f51eeb452ef0932a7d56d"
dependencies = [
"brotli-decompressor 6.3.2",
"chrono",
@@ -1798,7 +1793,7 @@ dependencies = [
[[package]]
name = "craft-metafile"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=186a229c8da8db5916f8a863dfd894f1879af735#186a229c8da8db5916f8a863dfd894f1879af735"
source = "git+https://github.com/storytold/craft-libs?rev=3407288b592c76ffc76f51eeb452ef0932a7d56d#3407288b592c76ffc76f51eeb452ef0932a7d56d"
dependencies = [
"encoding_rs",
"image",
@@ -1809,7 +1804,7 @@ dependencies = [
[[package]]
name = "craft-mime"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=186a229c8da8db5916f8a863dfd894f1879af735#186a229c8da8db5916f8a863dfd894f1879af735"
source = "git+https://github.com/storytold/craft-libs?rev=3407288b592c76ffc76f51eeb452ef0932a7d56d#3407288b592c76ffc76f51eeb452ef0932a7d56d"
dependencies = [
"chrono",
"craft-codepage",
@@ -1819,15 +1814,16 @@ dependencies = [
[[package]]
name = "craft-nightly"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=1f6c3a21f85ed96f8fd4ddd5a959d4e1edbedb24#1f6c3a21f85ed96f8fd4ddd5a959d4e1edbedb24"
source = "git+https://github.com/storytold/craft-libs?rev=3407288b592c76ffc76f51eeb452ef0932a7d56d#3407288b592c76ffc76f51eeb452ef0932a7d56d"
dependencies = [
"uds_windows",
"winsafe",
]
[[package]]
name = "craft-pages"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=186a229c8da8db5916f8a863dfd894f1879af735#186a229c8da8db5916f8a863dfd894f1879af735"
source = "git+https://github.com/storytold/craft-libs?rev=3407288b592c76ffc76f51eeb452ef0932a7d56d#3407288b592c76ffc76f51eeb452ef0932a7d56d"
dependencies = [
"craft-behavior",
"craft-keymap",
@@ -1843,7 +1839,7 @@ dependencies = [
[[package]]
name = "craft-pcraft-format"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=186a229c8da8db5916f8a863dfd894f1879af735#186a229c8da8db5916f8a863dfd894f1879af735"
source = "git+https://github.com/storytold/craft-libs?rev=3407288b592c76ffc76f51eeb452ef0932a7d56d#3407288b592c76ffc76f51eeb452ef0932a7d56d"
dependencies = [
"flate2",
"serde",
@@ -1854,7 +1850,7 @@ dependencies = [
[[package]]
name = "craft-pdf"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=186a229c8da8db5916f8a863dfd894f1879af735#186a229c8da8db5916f8a863dfd894f1879af735"
source = "git+https://github.com/storytold/craft-libs?rev=3407288b592c76ffc76f51eeb452ef0932a7d56d#3407288b592c76ffc76f51eeb452ef0932a7d56d"
dependencies = [
"hayro-interpret",
"hayro-syntax",
@@ -1866,12 +1862,12 @@ dependencies = [
[[package]]
name = "craft-platform"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=186a229c8da8db5916f8a863dfd894f1879af735#186a229c8da8db5916f8a863dfd894f1879af735"
source = "git+https://github.com/storytold/craft-libs?rev=3407288b592c76ffc76f51eeb452ef0932a7d56d#3407288b592c76ffc76f51eeb452ef0932a7d56d"
dependencies = [
"async-channel",
"async-io",
"async-process",
"core-graphics2",
"craft-appkit",
"craft-atomic",
"craft-docpath",
"craft-host",
@@ -1881,6 +1877,8 @@ dependencies = [
"js-sys",
"log",
"objc2-app-kit 0.3.2",
"objc2-core-foundation",
"objc2-core-graphics",
"rfd",
"serde",
"serde_json",
@@ -1897,7 +1895,7 @@ dependencies = [
[[package]]
name = "craft-plotter"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=186a229c8da8db5916f8a863dfd894f1879af735#186a229c8da8db5916f8a863dfd894f1879af735"
source = "git+https://github.com/storytold/craft-libs?rev=3407288b592c76ffc76f51eeb452ef0932a7d56d#3407288b592c76ffc76f51eeb452ef0932a7d56d"
dependencies = [
"kurbo 0.13.1",
"thiserror 2.0.21",
@@ -1906,7 +1904,7 @@ dependencies = [
[[package]]
name = "craft-print"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=186a229c8da8db5916f8a863dfd894f1879af735#186a229c8da8db5916f8a863dfd894f1879af735"
source = "git+https://github.com/storytold/craft-libs?rev=3407288b592c76ffc76f51eeb452ef0932a7d56d#3407288b592c76ffc76f51eeb452ef0932a7d56d"
dependencies = [
"craft-behavior",
"craft-host",
@@ -1930,7 +1928,7 @@ dependencies = [
[[package]]
name = "craft-proof"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=186a229c8da8db5916f8a863dfd894f1879af735#186a229c8da8db5916f8a863dfd894f1879af735"
source = "git+https://github.com/storytold/craft-libs?rev=3407288b592c76ffc76f51eeb452ef0932a7d56d#3407288b592c76ffc76f51eeb452ef0932a7d56d"
dependencies = [
"log",
"miniz_oxide 0.9.1",
@@ -1941,7 +1939,7 @@ dependencies = [
[[package]]
name = "craft-ps"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=186a229c8da8db5916f8a863dfd894f1879af735#186a229c8da8db5916f8a863dfd894f1879af735"
source = "git+https://github.com/storytold/craft-libs?rev=3407288b592c76ffc76f51eeb452ef0932a7d56d#3407288b592c76ffc76f51eeb452ef0932a7d56d"
dependencies = [
"craft-eps",
"flate2",
@@ -1955,7 +1953,7 @@ dependencies = [
[[package]]
name = "craft-psd"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=186a229c8da8db5916f8a863dfd894f1879af735#186a229c8da8db5916f8a863dfd894f1879af735"
source = "git+https://github.com/storytold/craft-libs?rev=3407288b592c76ffc76f51eeb452ef0932a7d56d#3407288b592c76ffc76f51eeb452ef0932a7d56d"
dependencies = [
"encoding_rs",
"flate2",
@@ -1966,7 +1964,7 @@ dependencies = [
[[package]]
name = "craft-quit"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=186a229c8da8db5916f8a863dfd894f1879af735#186a229c8da8db5916f8a863dfd894f1879af735"
source = "git+https://github.com/storytold/craft-libs?rev=3407288b592c76ffc76f51eeb452ef0932a7d56d#3407288b592c76ffc76f51eeb452ef0932a7d56d"
dependencies = [
"dispatch2",
"egui",
@@ -1979,7 +1977,7 @@ dependencies = [
[[package]]
name = "craft-review"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=186a229c8da8db5916f8a863dfd894f1879af735#186a229c8da8db5916f8a863dfd894f1879af735"
source = "git+https://github.com/storytold/craft-libs?rev=3407288b592c76ffc76f51eeb452ef0932a7d56d#3407288b592c76ffc76f51eeb452ef0932a7d56d"
dependencies = [
"base64 0.23.1",
"craft-behavior",
@@ -1998,7 +1996,7 @@ dependencies = [
[[package]]
name = "craft-settings"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=186a229c8da8db5916f8a863dfd894f1879af735#186a229c8da8db5916f8a863dfd894f1879af735"
source = "git+https://github.com/storytold/craft-libs?rev=3407288b592c76ffc76f51eeb452ef0932a7d56d#3407288b592c76ffc76f51eeb452ef0932a7d56d"
dependencies = [
"craft-atomic",
"craft-host",
@@ -2015,7 +2013,7 @@ dependencies = [
[[package]]
name = "craft-stream-codecs"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=186a229c8da8db5916f8a863dfd894f1879af735#186a229c8da8db5916f8a863dfd894f1879af735"
source = "git+https://github.com/storytold/craft-libs?rev=3407288b592c76ffc76f51eeb452ef0932a7d56d#3407288b592c76ffc76f51eeb452ef0932a7d56d"
dependencies = [
"fax",
"hayro-ccitt",
@@ -2026,7 +2024,7 @@ dependencies = [
[[package]]
name = "craft-svg"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=186a229c8da8db5916f8a863dfd894f1879af735#186a229c8da8db5916f8a863dfd894f1879af735"
source = "git+https://github.com/storytold/craft-libs?rev=3407288b592c76ffc76f51eeb452ef0932a7d56d#3407288b592c76ffc76f51eeb452ef0932a7d56d"
dependencies = [
"craft-image-codecs",
"craft-xml",
@@ -2047,7 +2045,7 @@ dependencies = [
[[package]]
name = "craft-table"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=186a229c8da8db5916f8a863dfd894f1879af735#186a229c8da8db5916f8a863dfd894f1879af735"
source = "git+https://github.com/storytold/craft-libs?rev=3407288b592c76ffc76f51eeb452ef0932a7d56d#3407288b592c76ffc76f51eeb452ef0932a7d56d"
dependencies = [
"craft-behavior",
"craft-keymap",
@@ -2059,7 +2057,7 @@ dependencies = [
[[package]]
name = "craft-text"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=186a229c8da8db5916f8a863dfd894f1879af735#186a229c8da8db5916f8a863dfd894f1879af735"
source = "git+https://github.com/storytold/craft-libs?rev=3407288b592c76ffc76f51eeb452ef0932a7d56d#3407288b592c76ffc76f51eeb452ef0932a7d56d"
dependencies = [
"craft-behavior",
"craft-font-manager",
@@ -2084,7 +2082,7 @@ dependencies = [
[[package]]
name = "craft-theme"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=186a229c8da8db5916f8a863dfd894f1879af735#186a229c8da8db5916f8a863dfd894f1879af735"
source = "git+https://github.com/storytold/craft-libs?rev=3407288b592c76ffc76f51eeb452ef0932a7d56d#3407288b592c76ffc76f51eeb452ef0932a7d56d"
dependencies = [
"bitflags 2.13.2",
"craft-tracked",
@@ -2099,7 +2097,7 @@ dependencies = [
[[package]]
name = "craft-theme-store"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=186a229c8da8db5916f8a863dfd894f1879af735#186a229c8da8db5916f8a863dfd894f1879af735"
source = "git+https://github.com/storytold/craft-libs?rev=3407288b592c76ffc76f51eeb452ef0932a7d56d#3407288b592c76ffc76f51eeb452ef0932a7d56d"
dependencies = [
"craft-atomic",
"craft-behavior",
@@ -2114,7 +2112,7 @@ dependencies = [
[[package]]
name = "craft-tiff"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=186a229c8da8db5916f8a863dfd894f1879af735#186a229c8da8db5916f8a863dfd894f1879af735"
source = "git+https://github.com/storytold/craft-libs?rev=3407288b592c76ffc76f51eeb452ef0932a7d56d#3407288b592c76ffc76f51eeb452ef0932a7d56d"
dependencies = [
"serde",
"thiserror 2.0.21",
@@ -2124,7 +2122,7 @@ dependencies = [
[[package]]
name = "craft-time"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=186a229c8da8db5916f8a863dfd894f1879af735#186a229c8da8db5916f8a863dfd894f1879af735"
source = "git+https://github.com/storytold/craft-libs?rev=3407288b592c76ffc76f51eeb452ef0932a7d56d#3407288b592c76ffc76f51eeb452ef0932a7d56d"
dependencies = [
"serde",
"thiserror 2.0.21",
@@ -2133,7 +2131,7 @@ dependencies = [
[[package]]
name = "craft-timeline"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=186a229c8da8db5916f8a863dfd894f1879af735#186a229c8da8db5916f8a863dfd894f1879af735"
source = "git+https://github.com/storytold/craft-libs?rev=3407288b592c76ffc76f51eeb452ef0932a7d56d#3407288b592c76ffc76f51eeb452ef0932a7d56d"
dependencies = [
"craft-behavior",
"craft-keymap",
@@ -2148,12 +2146,12 @@ dependencies = [
[[package]]
name = "craft-tracked"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=186a229c8da8db5916f8a863dfd894f1879af735#186a229c8da8db5916f8a863dfd894f1879af735"
source = "git+https://github.com/storytold/craft-libs?rev=3407288b592c76ffc76f51eeb452ef0932a7d56d#3407288b592c76ffc76f51eeb452ef0932a7d56d"
[[package]]
name = "craft-ui"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=186a229c8da8db5916f8a863dfd894f1879af735#186a229c8da8db5916f8a863dfd894f1879af735"
source = "git+https://github.com/storytold/craft-libs?rev=3407288b592c76ffc76f51eeb452ef0932a7d56d#3407288b592c76ffc76f51eeb452ef0932a7d56d"
dependencies = [
"craft-cloud-ui",
"craft-ui-canvas",
@@ -2167,7 +2165,7 @@ dependencies = [
[[package]]
name = "craft-ui-canvas"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=186a229c8da8db5916f8a863dfd894f1879af735#186a229c8da8db5916f8a863dfd894f1879af735"
source = "git+https://github.com/storytold/craft-libs?rev=3407288b592c76ffc76f51eeb452ef0932a7d56d#3407288b592c76ffc76f51eeb452ef0932a7d56d"
dependencies = [
"craft-behavior",
"craft-i18n",
@@ -2183,7 +2181,7 @@ dependencies = [
[[package]]
name = "craft-ui-contract"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=186a229c8da8db5916f8a863dfd894f1879af735#186a229c8da8db5916f8a863dfd894f1879af735"
source = "git+https://github.com/storytold/craft-libs?rev=3407288b592c76ffc76f51eeb452ef0932a7d56d#3407288b592c76ffc76f51eeb452ef0932a7d56d"
dependencies = [
"accesskit",
"craft-behavior",
@@ -2221,7 +2219,7 @@ dependencies = [
[[package]]
name = "craft-ui-macros"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=186a229c8da8db5916f8a863dfd894f1879af735#186a229c8da8db5916f8a863dfd894f1879af735"
source = "git+https://github.com/storytold/craft-libs?rev=3407288b592c76ffc76f51eeb452ef0932a7d56d#3407288b592c76ffc76f51eeb452ef0932a7d56d"
dependencies = [
"proc-macro-crate",
"proc-macro2",
@@ -2232,7 +2230,7 @@ dependencies = [
[[package]]
name = "craft-ui-panels"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=186a229c8da8db5916f8a863dfd894f1879af735#186a229c8da8db5916f8a863dfd894f1879af735"
source = "git+https://github.com/storytold/craft-libs?rev=3407288b592c76ffc76f51eeb452ef0932a7d56d#3407288b592c76ffc76f51eeb452ef0932a7d56d"
dependencies = [
"craft-behavior",
"craft-host",
@@ -2250,7 +2248,7 @@ dependencies = [
[[package]]
name = "craft-ui-patterns"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=186a229c8da8db5916f8a863dfd894f1879af735#186a229c8da8db5916f8a863dfd894f1879af735"
source = "git+https://github.com/storytold/craft-libs?rev=3407288b592c76ffc76f51eeb452ef0932a7d56d#3407288b592c76ffc76f51eeb452ef0932a7d56d"
dependencies = [
"craft-behavior",
"craft-host",
@@ -2271,7 +2269,7 @@ dependencies = [
[[package]]
name = "craft-ui-shell"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=186a229c8da8db5916f8a863dfd894f1879af735#186a229c8da8db5916f8a863dfd894f1879af735"
source = "git+https://github.com/storytold/craft-libs?rev=3407288b592c76ffc76f51eeb452ef0932a7d56d#3407288b592c76ffc76f51eeb452ef0932a7d56d"
dependencies = [
"craft-behavior",
"craft-host",
@@ -2292,7 +2290,7 @@ dependencies = [
[[package]]
name = "craft-ui-widgets"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=186a229c8da8db5916f8a863dfd894f1879af735#186a229c8da8db5916f8a863dfd894f1879af735"
source = "git+https://github.com/storytold/craft-libs?rev=3407288b592c76ffc76f51eeb452ef0932a7d56d#3407288b592c76ffc76f51eeb452ef0932a7d56d"
dependencies = [
"craft-behavior",
"craft-host",
@@ -2311,7 +2309,7 @@ dependencies = [
[[package]]
name = "craft-update"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=186a229c8da8db5916f8a863dfd894f1879af735#186a229c8da8db5916f8a863dfd894f1879af735"
source = "git+https://github.com/storytold/craft-libs?rev=3407288b592c76ffc76f51eeb452ef0932a7d56d#3407288b592c76ffc76f51eeb452ef0932a7d56d"
dependencies = [
"base64 0.22.1",
"chrono",
@@ -2343,7 +2341,7 @@ dependencies = [
[[package]]
name = "craft-vectorcraft-format"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=186a229c8da8db5916f8a863dfd894f1879af735#186a229c8da8db5916f8a863dfd894f1879af735"
source = "git+https://github.com/storytold/craft-libs?rev=3407288b592c76ffc76f51eeb452ef0932a7d56d#3407288b592c76ffc76f51eeb452ef0932a7d56d"
dependencies = [
"flate2",
"serde",
@@ -2354,7 +2352,7 @@ dependencies = [
[[package]]
name = "craft-wayland"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=186a229c8da8db5916f8a863dfd894f1879af735#186a229c8da8db5916f8a863dfd894f1879af735"
source = "git+https://github.com/storytold/craft-libs?rev=3407288b592c76ffc76f51eeb452ef0932a7d56d#3407288b592c76ffc76f51eeb452ef0932a7d56d"
dependencies = [
"raw-window-handle",
"wayland-backend",
@@ -2364,7 +2362,7 @@ dependencies = [
[[package]]
name = "craft-web-api"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=186a229c8da8db5916f8a863dfd894f1879af735#186a229c8da8db5916f8a863dfd894f1879af735"
source = "git+https://github.com/storytold/craft-libs?rev=3407288b592c76ffc76f51eeb452ef0932a7d56d#3407288b592c76ffc76f51eeb452ef0932a7d56d"
dependencies = [
"js-sys",
"serde_json",
@@ -2375,7 +2373,7 @@ dependencies = [
[[package]]
name = "craft-win32"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=186a229c8da8db5916f8a863dfd894f1879af735#186a229c8da8db5916f8a863dfd894f1879af735"
source = "git+https://github.com/storytold/craft-libs?rev=3407288b592c76ffc76f51eeb452ef0932a7d56d#3407288b592c76ffc76f51eeb452ef0932a7d56d"
dependencies = [
"winsafe",
]
@@ -2383,7 +2381,7 @@ dependencies = [
[[package]]
name = "craft-window"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=186a229c8da8db5916f8a863dfd894f1879af735#186a229c8da8db5916f8a863dfd894f1879af735"
source = "git+https://github.com/storytold/craft-libs?rev=3407288b592c76ffc76f51eeb452ef0932a7d56d#3407288b592c76ffc76f51eeb452ef0932a7d56d"
dependencies = [
"craft-appkit",
"craft-atomic",
@@ -2415,7 +2413,7 @@ dependencies = [
[[package]]
name = "craft-xml"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=186a229c8da8db5916f8a863dfd894f1879af735#186a229c8da8db5916f8a863dfd894f1879af735"
source = "git+https://github.com/storytold/craft-libs?rev=3407288b592c76ffc76f51eeb452ef0932a7d56d#3407288b592c76ffc76f51eeb452ef0932a7d56d"
dependencies = [
"quick-xml 0.41.0",
"serde",
@@ -3770,16 +3768,16 @@ checksum = "9f4d0e94ddd48749f06bbe4e5389fb9799a0c45bcaf00495042076ef05e3241a"
[[package]]
name = "hayro-cmap"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=186a229c8da8db5916f8a863dfd894f1879af735#186a229c8da8db5916f8a863dfd894f1879af735"
source = "git+https://github.com/storytold/craft-libs?rev=3407288b592c76ffc76f51eeb452ef0932a7d56d#3407288b592c76ffc76f51eeb452ef0932a7d56d"
dependencies = [
"brotli",
"brotli 8.0.4",
"hayro-postscript",
]
[[package]]
name = "hayro-interpret"
version = "0.7.0"
source = "git+https://github.com/storytold/craft-libs?rev=186a229c8da8db5916f8a863dfd894f1879af735#186a229c8da8db5916f8a863dfd894f1879af735"
source = "git+https://github.com/storytold/craft-libs?rev=3407288b592c76ffc76f51eeb452ef0932a7d56d#3407288b592c76ffc76f51eeb452ef0932a7d56d"
dependencies = [
"bitflags 2.13.2",
"hayro-cmap",
@@ -3797,7 +3795,7 @@ dependencies = [
[[package]]
name = "hayro-jbig2"
version = "0.3.0"
source = "git+https://github.com/storytold/craft-libs?rev=186a229c8da8db5916f8a863dfd894f1879af735#186a229c8da8db5916f8a863dfd894f1879af735"
source = "git+https://github.com/storytold/craft-libs?rev=3407288b592c76ffc76f51eeb452ef0932a7d56d#3407288b592c76ffc76f51eeb452ef0932a7d56d"
dependencies = [
"fearless_simd",
"hayro-ccitt",
@@ -3815,12 +3813,12 @@ dependencies = [
[[package]]
name = "hayro-postscript"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=186a229c8da8db5916f8a863dfd894f1879af735#186a229c8da8db5916f8a863dfd894f1879af735"
source = "git+https://github.com/storytold/craft-libs?rev=3407288b592c76ffc76f51eeb452ef0932a7d56d#3407288b592c76ffc76f51eeb452ef0932a7d56d"
[[package]]
name = "hayro-syntax"
version = "0.7.2"
source = "git+https://github.com/storytold/craft-libs?rev=186a229c8da8db5916f8a863dfd894f1879af735#186a229c8da8db5916f8a863dfd894f1879af735"
source = "git+https://github.com/storytold/craft-libs?rev=3407288b592c76ffc76f51eeb452ef0932a7d56d#3407288b592c76ffc76f51eeb452ef0932a7d56d"
dependencies = [
"flate2",
"hayro-ccitt",
@@ -4803,7 +4801,7 @@ dependencies = [
[[package]]
name = "krilla"
version = "0.8.2"
source = "git+https://github.com/storytold/craft-libs?rev=186a229c8da8db5916f8a863dfd894f1879af735#186a229c8da8db5916f8a863dfd894f1879af735"
source = "git+https://github.com/storytold/craft-libs?rev=3407288b592c76ffc76f51eeb452ef0932a7d56d#3407288b592c76ffc76f51eeb452ef0932a7d56d"
dependencies = [
"base64 0.22.1",
"bumpalo",
@@ -4960,7 +4958,7 @@ checksum = "d4a5ff6bcca6c4867b1c4fd4ef63e4db7436ef363e0ad7531d1558856bae64f4"
[[package]]
name = "linesweeper"
version = "0.5.0"
source = "git+https://github.com/storytold/craft-libs?rev=186a229c8da8db5916f8a863dfd894f1879af735#186a229c8da8db5916f8a863dfd894f1879af735"
source = "git+https://github.com/storytold/craft-libs?rev=3407288b592c76ffc76f51eeb452ef0932a7d56d#3407288b592c76ffc76f51eeb452ef0932a7d56d"
dependencies = [
"arrayvec",
"kurbo 0.13.1",
+38 -38
View File
@@ -10,51 +10,51 @@ license = "MIT OR Apache-2.0"
rust-version = "1.95"
[workspace.dependencies]
craft-cms = { git = "https://github.com/storytold/craft-libs", rev = "186a229c8da8db5916f8a863dfd894f1879af735" }
craft-pdf = { git = "https://github.com/storytold/craft-libs", rev = "186a229c8da8db5916f8a863dfd894f1879af735", default-features = false, features = ["interpret", "write"] }
craft-docpath = { version = "0.1.0", git = "https://github.com/storytold/craft-libs", rev = "186a229c8da8db5916f8a863dfd894f1879af735" }
craft-proof = { git = "https://github.com/storytold/craft-libs", rev = "186a229c8da8db5916f8a863dfd894f1879af735" }
craft-cms = { git = "https://github.com/storytold/craft-libs", rev = "3407288b592c76ffc76f51eeb452ef0932a7d56d" }
craft-pdf = { git = "https://github.com/storytold/craft-libs", rev = "3407288b592c76ffc76f51eeb452ef0932a7d56d", default-features = false, features = ["interpret", "write"] }
craft-docpath = { version = "0.1.0", git = "https://github.com/storytold/craft-libs", rev = "3407288b592c76ffc76f51eeb452ef0932a7d56d" }
craft-proof = { git = "https://github.com/storytold/craft-libs", rev = "3407288b592c76ffc76f51eeb452ef0932a7d56d" }
# Language packs: the Craft apps' shared font store installs them (#4936).
craft-font-store = { git = "https://github.com/storytold/craft-libs", rev = "186a229c8da8db5916f8a863dfd894f1879af735" }
craft-font-catalog = { git = "https://github.com/storytold/craft-libs", rev = "186a229c8da8db5916f8a863dfd894f1879af735" }
craft-font-store = { git = "https://github.com/storytold/craft-libs", rev = "3407288b592c76ffc76f51eeb452ef0932a7d56d" }
craft-font-catalog = { git = "https://github.com/storytold/craft-libs", rev = "3407288b592c76ffc76f51eeb452ef0932a7d56d" }
# The `.vectorcraft` envelope: its members, version, embedded images and the data after the JSON.
craft-vectorcraft-format = { git = "https://github.com/storytold/craft-libs", rev = "186a229c8da8db5916f8a863dfd894f1879af735" }
craft-gzip = { git = "https://github.com/storytold/craft-libs", rev = "186a229c8da8db5916f8a863dfd894f1879af735" }
craft-vectorcraft-format = { git = "https://github.com/storytold/craft-libs", rev = "3407288b592c76ffc76f51eeb452ef0932a7d56d" }
craft-gzip = { git = "https://github.com/storytold/craft-libs", rev = "3407288b592c76ffc76f51eeb452ef0932a7d56d" }
# `.pcraft` documents: their manifest, full-size composite, preview, layer pixels and ICC profile.
craft-doc = { git = "https://github.com/storytold/craft-libs", rev = "186a229c8da8db5916f8a863dfd894f1879af735", features = ["pcraft-pixels"] }
craft-doc = { git = "https://github.com/storytold/craft-libs", rev = "3407288b592c76ffc76f51eeb452ef0932a7d56d", features = ["pcraft-pixels"] }
# Native Affinity documents (craft-libs#914).
craft-affinity = { git = "https://github.com/storytold/craft-libs", rev = "186a229c8da8db5916f8a863dfd894f1879af735" }
craft-affinity = { git = "https://github.com/storytold/craft-libs", rev = "3407288b592c76ffc76f51eeb452ef0932a7d56d" }
# Bounded CDR (v1-v27) and CMX (32-bit) reader (craft-libs#778).
craft-cdr = { git = "https://github.com/storytold/craft-libs", rev = "186a229c8da8db5916f8a863dfd894f1879af735" }
craft-cdr = { git = "https://github.com/storytold/craft-libs", rev = "3407288b592c76ffc76f51eeb452ef0932a7d56d" }
# SVG parsing, limits, SVGZ and writer (craft-libs#778).
craft-svg = { git = "https://github.com/storytold/craft-libs", rev = "186a229c8da8db5916f8a863dfd894f1879af735", features = ["tree"] }
craft-mime = { git = "https://github.com/storytold/craft-libs", rev = "186a229c8da8db5916f8a863dfd894f1879af735" }
craft-svg = { git = "https://github.com/storytold/craft-libs", rev = "3407288b592c76ffc76f51eeb452ef0932a7d56d", features = ["tree"] }
craft-mime = { git = "https://github.com/storytold/craft-libs", rev = "3407288b592c76ffc76f51eeb452ef0932a7d56d" }
# EPS container, previews, ASCII85 and DSC comments (craft-libs#778).
craft-eps = { git = "https://github.com/storytold/craft-libs", rev = "186a229c8da8db5916f8a863dfd894f1879af735" }
craft-eps = { git = "https://github.com/storytold/craft-libs", rev = "3407288b592c76ffc76f51eeb452ef0932a7d56d" }
# DXF tags, reader and writer (craft-libs#778, #926, #927).
craft-plotter = { git = "https://github.com/storytold/craft-libs", rev = "186a229c8da8db5916f8a863dfd894f1879af735" }
craft-dxf = { git = "https://github.com/storytold/craft-libs", rev = "186a229c8da8db5916f8a863dfd894f1879af735" }
craft-plotter = { git = "https://github.com/storytold/craft-libs", rev = "3407288b592c76ffc76f51eeb452ef0932a7d56d" }
craft-dxf = { git = "https://github.com/storytold/craft-libs", rev = "3407288b592c76ffc76f51eeb452ef0932a7d56d" }
# WMF, EMF and EMF+ reader (craft-libs#778).
craft-metafile = { git = "https://github.com/storytold/craft-libs", rev = "186a229c8da8db5916f8a863dfd894f1879af735" }
craft-xml = { git = "https://github.com/storytold/craft-libs", rev = "186a229c8da8db5916f8a863dfd894f1879af735" }
craft-image-codecs = { git = "https://github.com/storytold/craft-libs", rev = "186a229c8da8db5916f8a863dfd894f1879af735" }
craft-gif = { git = "https://github.com/storytold/craft-libs", rev = "186a229c8da8db5916f8a863dfd894f1879af735" }
craft-tiff = { git = "https://github.com/storytold/craft-libs", rev = "186a229c8da8db5916f8a863dfd894f1879af735" }
craft-ps = { git = "https://github.com/storytold/craft-libs", rev = "186a229c8da8db5916f8a863dfd894f1879af735", default-features = false, features = ["read", "write"] }
craft-psd = { git = "https://github.com/storytold/craft-libs", rev = "186a229c8da8db5916f8a863dfd894f1879af735" }
craft-stream-codecs = { git = "https://github.com/storytold/craft-libs", rev = "186a229c8da8db5916f8a863dfd894f1879af735" }
craft-jxl = { git = "https://github.com/storytold/craft-libs", rev = "186a229c8da8db5916f8a863dfd894f1879af735" }
craft-codepage = { git = "https://github.com/storytold/craft-libs", rev = "186a229c8da8db5916f8a863dfd894f1879af735" }
craft-metafile = { git = "https://github.com/storytold/craft-libs", rev = "3407288b592c76ffc76f51eeb452ef0932a7d56d" }
craft-xml = { git = "https://github.com/storytold/craft-libs", rev = "3407288b592c76ffc76f51eeb452ef0932a7d56d" }
craft-image-codecs = { git = "https://github.com/storytold/craft-libs", rev = "3407288b592c76ffc76f51eeb452ef0932a7d56d" }
craft-gif = { git = "https://github.com/storytold/craft-libs", rev = "3407288b592c76ffc76f51eeb452ef0932a7d56d" }
craft-tiff = { git = "https://github.com/storytold/craft-libs", rev = "3407288b592c76ffc76f51eeb452ef0932a7d56d" }
craft-ps = { git = "https://github.com/storytold/craft-libs", rev = "3407288b592c76ffc76f51eeb452ef0932a7d56d", default-features = false, features = ["read", "write"] }
craft-psd = { git = "https://github.com/storytold/craft-libs", rev = "3407288b592c76ffc76f51eeb452ef0932a7d56d" }
craft-stream-codecs = { git = "https://github.com/storytold/craft-libs", rev = "3407288b592c76ffc76f51eeb452ef0932a7d56d" }
craft-jxl = { git = "https://github.com/storytold/craft-libs", rev = "3407288b592c76ffc76f51eeb452ef0932a7d56d" }
craft-codepage = { git = "https://github.com/storytold/craft-libs", rev = "3407288b592c76ffc76f51eeb452ef0932a7d56d" }
# The framework facade (`craft::ui`, `craft::settings`, `craft::platform`, ...). No default features: each crate names
# the members it imports.
craft = { git = "https://github.com/storytold/craft-libs", rev = "186a229c8da8db5916f8a863dfd894f1879af735" }
craft = { git = "https://github.com/storytold/craft-libs", rev = "3407288b592c76ffc76f51eeb452ef0932a7d56d" }
# Below the egui layer, so not through the facade: the colour harmony rules and their settings (craft-color-ui
# without its `ui` feature), the colour type they work in, and the craft-fonts tables the text crate's build writes.
craft-color-ui = { git = "https://github.com/storytold/craft-libs", rev = "186a229c8da8db5916f8a863dfd894f1879af735" }
craft-theme = { git = "https://github.com/storytold/craft-libs", rev = "186a229c8da8db5916f8a863dfd894f1879af735" }
craft-fonts-build = { git = "https://github.com/storytold/craft-libs", rev = "186a229c8da8db5916f8a863dfd894f1879af735" }
craft-color-ui = { git = "https://github.com/storytold/craft-libs", rev = "3407288b592c76ffc76f51eeb452ef0932a7d56d" }
craft-theme = { git = "https://github.com/storytold/craft-libs", rev = "3407288b592c76ffc76f51eeb452ef0932a7d56d" }
craft-fonts-build = { git = "https://github.com/storytold/craft-libs", rev = "3407288b592c76ffc76f51eeb452ef0932a7d56d" }
# Nightly profile isolation, launch protocol, and security fence.
craft-nightly = { git = "https://github.com/storytold/craft-libs", rev = "1f6c3a21f85ed96f8fd4ddd5a959d4e1edbedb24" }
craft-nightly = { git = "https://github.com/storytold/craft-libs", rev = "3407288b592c76ffc76f51eeb452ef0932a7d56d" }
# internal
vectorcraft-geom = { path = "crates/geom" }
vectorcraft-color = { path = "crates/color" }
@@ -194,13 +194,13 @@ lto = "thin"
codegen-units = 1
[patch.crates-io]
hayro-syntax = { git = "https://github.com/storytold/craft-libs", rev = "186a229c8da8db5916f8a863dfd894f1879af735" }
hayro-interpret = { git = "https://github.com/storytold/craft-libs", rev = "186a229c8da8db5916f8a863dfd894f1879af735" }
hayro-jbig2 = { git = "https://github.com/storytold/craft-libs", rev = "186a229c8da8db5916f8a863dfd894f1879af735" }
hayro-cmap = { git = "https://github.com/storytold/craft-libs", rev = "186a229c8da8db5916f8a863dfd894f1879af735" }
hayro-postscript = { git = "https://github.com/storytold/craft-libs", rev = "186a229c8da8db5916f8a863dfd894f1879af735" }
krilla = { git = "https://github.com/storytold/craft-libs", rev = "186a229c8da8db5916f8a863dfd894f1879af735" }
linesweeper = { git = "https://github.com/storytold/craft-libs", rev = "186a229c8da8db5916f8a863dfd894f1879af735" }
hayro-syntax = { git = "https://github.com/storytold/craft-libs", rev = "3407288b592c76ffc76f51eeb452ef0932a7d56d" }
hayro-interpret = { git = "https://github.com/storytold/craft-libs", rev = "3407288b592c76ffc76f51eeb452ef0932a7d56d" }
hayro-jbig2 = { git = "https://github.com/storytold/craft-libs", rev = "3407288b592c76ffc76f51eeb452ef0932a7d56d" }
hayro-cmap = { git = "https://github.com/storytold/craft-libs", rev = "3407288b592c76ffc76f51eeb452ef0932a7d56d" }
hayro-postscript = { git = "https://github.com/storytold/craft-libs", rev = "3407288b592c76ffc76f51eeb452ef0932a7d56d" }
krilla = { git = "https://github.com/storytold/craft-libs", rev = "3407288b592c76ffc76f51eeb452ef0932a7d56d" }
linesweeper = { git = "https://github.com/storytold/craft-libs", rev = "3407288b592c76ffc76f51eeb452ef0932a7d56d" }
ecolor = { git = "https://github.com/storytold/egui.git", rev = "14c39fed181756be6f357c284354e0ab55b64443" }
emath = { git = "https://github.com/storytold/egui.git", rev = "14c39fed181756be6f357c284354e0ab55b64443" }
epaint = { git = "https://github.com/storytold/egui.git", rev = "14c39fed181756be6f357c284354e0ab55b64443" }
+1 -1
View File
@@ -28,7 +28,7 @@ egui_extras = { workspace = true }
# `wgpu` pulls egui-wgpu's defaults: WebGPU plus the WebGL2 fallback.
eframe = { workspace = true, features = ["default_fonts", "wgpu", "accesskit"] }
# The page command API (storytold/craft-libs#413): the request plumbing behind window.vectorcraft.
craft-web-api = { git = "https://github.com/storytold/craft-libs", rev = "186a229c8da8db5916f8a863dfd894f1879af735", version = "0.1.0" }
craft-web-api = { git = "https://github.com/storytold/craft-libs", rev = "3407288b592c76ffc76f51eeb452ef0932a7d56d", version = "0.1.0" }
wasm-bindgen = "0.2"
serde_json = { workspace = true }
@@ -243,7 +243,7 @@ pub(crate) fn restore(table: &mut Value) {
set_table(table, "customPalette", json!([]));
}
/// What the table shows of `table`: its locked, transparent and shifted colours. An entry that is
/// What the table shows of `table`: its locked, transparent, shifted and web-shifted colors. An entry that is
/// not a colour is skipped, and a colour written more than once in a list is listed once.
pub(crate) fn marks(table: &Value) -> TableMarks {
let colors = |key: &str| {
@@ -255,11 +255,13 @@ pub(crate) fn marks(table: &Value) -> TableMarks {
}
out
};
let shifted = shifts(table).iter().filter_map(|(k, v)| Some((parse(k)?, parse(v.as_str()?)?))).collect();
// PLAN: TableMarks lacks `web_shifted` (ex.W9 request); the Web Shift/Unshift label needs it.
let shifted: Vec<([u8; 3], [u8; 3])> = shifts(table).iter().filter_map(|(k, v)| Some((parse(k)?, parse(v.as_str()?)?))).collect();
// A color shifted by hand is not web-shifted, as the engine reports it.
let web_shifted = colors("webShift").into_iter().filter(|c| !shifted.iter().any(|(from, to)| from == c && to != c)).collect();
let mut marks = TableMarks::default();
marks.locked = colors("locked");
marks.transparent = colors("transparent");
marks.shifted = shifted;
marks.web_shifted = Some(web_shifted);
marks
}
@@ -3,7 +3,7 @@
use serde_json::{Value, json};
use vectorcraft_engine::cmd::webexport;
use craft::ui::patterns::form_dialogs::{ColorTableEdit, TableOrder};
use craft::ui::patterns::form_dialogs::{ColorTableEdit, TableMarks, TableOrder};
use super::color_table::{apply, marks, restore, shift};
use super::tests::{app, frame, host, id, save, set};
@@ -58,12 +58,16 @@ fn every_table_edit_changes_the_lists_it_names() {
assert_eq!(t["sort"], json!(id));
}
// The marks read the same lists, and skip entries that are not colours.
let mut t =
json!({"locked": ["#000000", "nope", 7], "transparent": ["#ABCDEF"], "shifted": {"#111111": "#222222", "x": "#000000", "#333333": 5}});
let t = json!({"locked": ["#000000", "nope", 7], "transparent": ["#ABCDEF"], "shifted": {"#111111": "#222222", "x": "#000000", "#333333": 5}});
let m = marks(&t);
assert_eq!((m.locked, m.transparent, m.shifted), (vec![A], vec![[0xab, 0xcd, 0xef]], vec![(B, C)]));
t = json!(7);
assert_eq!(marks(&t), Default::default());
// The web-shifted colors are the ones in webShift that are not shifted by hand, as the engine reports them.
let t = json!({"webShift": ["#00f", "#111111", "nope"], "shifted": {"#111111": "#222222"}});
assert_eq!(marks(&t).web_shifted, Some(vec![[0, 0, 0xff]]));
let t = json!(7);
let mut empty = TableMarks::default();
empty.web_shifted = Some(Vec::new());
assert_eq!(marks(&t), empty);
}
#[test]
@@ -223,25 +227,25 @@ fn app_frame(app: &mut VectorcraftApp, ctx: &egui::Context, events: Vec<egui::Ev
crate::testing::app_frame(app, ctx, egui::RawInput { time: Some(time), focused: true, events, ..Default::default() });
}
/// The rectangle of the control named `name`, as automation finds it; `None` when no control has that name.
fn find(app: &mut VectorcraftApp, ctx: &egui::Context, name: &str) -> Option<Vec<f64>> {
let (find, _) = craft::automation::ControlRequest::new("ui.find", json!({"name": name}));
match crate::control::handle(app, ctx, &find) {
craft::automation::Reply::Done(r) if r["ok"] == true => r["result"]["rect"].as_array().map(|r| r.iter().filter_map(Value::as_f64).collect()),
_ => None,
}
}
/// Double-clicks the Color Table's cell of `hex` in drawn frames, as a user opens it, and gives the Color Picker the
/// app opens over the dialog for it.
fn open_cell(app: &mut VectorcraftApp, ctx: &egui::Context, hex: &str) -> craft::ui::dialog::DialogId {
let parent = id(app);
// The cells are named by their index and colour.
let find = |app: &mut VectorcraftApp, name: &str| {
let (find, _) = craft::automation::ControlRequest::new("ui.find", json!({"name": name}));
match crate::control::handle(app, ctx, &find) {
craft::automation::Reply::Done(r) if r["ok"] == true => {
r["result"]["rect"].as_array().map(|r| r.iter().filter_map(Value::as_f64).collect::<Vec<_>>())
}
_ => None,
}
};
// The dialog centres itself again as its panes and table fill in: the cell is clicked once it stays put.
// The cells are named by their index and colour.
let mut rect = None;
for _ in 0..20 {
app_frame(app, ctx, vec![]);
let now = (0..256).find_map(|i| find(app, &format!("{i} {hex}")));
let now = (0..256).find_map(|i| find(app, ctx, &format!("{i} {hex}")));
if now.is_some() && now == rect {
break;
}
@@ -324,6 +328,49 @@ fn done_right_after_the_color_picker_remembers_the_shift() {
assert_eq!(remembered.get("#0000ff").map(String::as_str), Some("#00ff00"));
}
/// The dialog is told which colors are web-shifted: a web-shifted selection offers Unshift and not Web Shift. A
/// selection that also holds a color shifted by hand offers both, and its Unshift takes the web shift away and
/// keeps the hand shift.
#[test]
fn the_dialog_offers_unshift_for_web_shifted_colors_and_keeps_a_hand_shift() {
let dir = vectorcraft_testkit::temp_dir("sfw-web-shifted");
let (mut app, _) = app(&dir, false);
app.run("shape.rectangle", json!({"x": 40, "y": 0, "width": 20, "height": 40})).unwrap();
app.run("paint.setFill", json!({"color": "#0000ff"})).unwrap();
app.run("file.saveForWeb", json!({})).unwrap();
for (k, v) in [("format", json!("gif")), ("antiAlias", json!("none")), ("dither", json!("none"))] {
set(&mut app, k, v);
}
app.web_export.table = json!({"webShift": ["#0000ff"], "shifted": {"#cc3300": "#00ff00"}});
let ctx = app.ui_ctx.clone().expect("the app has a window");
crate::dialogs::host::pump(&mut app, &ctx);
let mut rect = None;
for _ in 0..20 {
app_frame(&mut app, &ctx, vec![]);
let now = (0..256).find_map(|i| find(&mut app, &ctx, &format!("{i} #0000ff")));
if now.is_some() && now == rect {
break;
}
rect = now;
}
assert!(rect.is_some(), "the table shows #0000ff");
let frames = |app: &mut VectorcraftApp| (0..3).for_each(|_| app_frame(app, &ctx, vec![]));
set(&mut app, "colorSelection", json!(["#0000ff"]));
frames(&mut app);
let shown = |app: &mut VectorcraftApp| (find(app, &ctx, "Shift to Web Palette").is_some(), find(app, &ctx, "Unshift Colors").is_some());
assert_eq!(shown(&mut app), (false, true), "a web-shifted selection offers Unshift alone");
set(&mut app, "colorSelection", json!(["#0000ff", "#cc3300"]));
frames(&mut app);
assert_eq!(shown(&mut app), (true, true), "a mixed selection offers both");
let rect = find(&mut app, &ctx, "Unshift Colors").expect("the Unshift button");
let at = egui::pos2((rect[0] + rect[2] / 2.0) as f32, (rect[1] + rect[3] / 2.0) as f32);
let button = |pressed| egui::Event::PointerButton { pos: at, button: egui::PointerButton::Primary, pressed, modifiers: egui::Modifiers::NONE };
for events in [vec![egui::Event::PointerMoved(at)], vec![button(true)], vec![button(false)], vec![], vec![]] {
app_frame(&mut app, &ctx, events);
}
assert_eq!((&app.web_export.table["webShift"], &app.web_export.table["shifted"]), (&json!([]), &json!({"#cc3300": "#00ff00"})));
}
#[test]
fn restore_brings_back_a_preview_that_failed() {
let dir = vectorcraft_testkit::temp_dir("sfw-restore-table");