Merge pull request #18920 from davidmann4/pin/cl-4735-18917

Pin craft-libs main baf6de31 and egui 399fc6e0: background on resize, one paint per step, cheaper accessibility updates (#18917, #18929, #19072, #18825, #18799)
This commit is contained in:
David Mann authored and GitHub committed 2026-12-04 01:09:33 +01:00
commit de0a566c1a
13 files changed
+246 -224

No files matched your search

Generated
+111 -125
View File
@@ -1391,7 +1391,7 @@ dependencies = [
[[package]]
name = "craft"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=fc3262f68babdb19a98a89c415c84c6b327073d3#fc3262f68babdb19a98a89c415c84c6b327073d3"
source = "git+https://github.com/storytold/craft-libs?rev=baf6de310ebf1c77eb47a00319ccbbb07352bd49#baf6de310ebf1c77eb47a00319ccbbb07352bd49"
dependencies = [
"craft-automation",
"craft-behavior",
@@ -1432,7 +1432,7 @@ dependencies = [
[[package]]
name = "craft-affinity"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=fc3262f68babdb19a98a89c415c84c6b327073d3#fc3262f68babdb19a98a89c415c84c6b327073d3"
source = "git+https://github.com/storytold/craft-libs?rev=baf6de310ebf1c77eb47a00319ccbbb07352bd49#baf6de310ebf1c77eb47a00319ccbbb07352bd49"
dependencies = [
"crc32fast",
"flate2",
@@ -1453,7 +1453,7 @@ dependencies = [
[[package]]
name = "craft-appkit"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=fc3262f68babdb19a98a89c415c84c6b327073d3#fc3262f68babdb19a98a89c415c84c6b327073d3"
source = "git+https://github.com/storytold/craft-libs?rev=baf6de310ebf1c77eb47a00319ccbbb07352bd49#baf6de310ebf1c77eb47a00319ccbbb07352bd49"
dependencies = [
"block2 0.6.2",
"objc2 0.6.5",
@@ -1465,7 +1465,7 @@ dependencies = [
[[package]]
name = "craft-atomic"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=fc3262f68babdb19a98a89c415c84c6b327073d3#fc3262f68babdb19a98a89c415c84c6b327073d3"
source = "git+https://github.com/storytold/craft-libs?rev=baf6de310ebf1c77eb47a00319ccbbb07352bd49#baf6de310ebf1c77eb47a00319ccbbb07352bd49"
dependencies = [
"rustix 1.1.6",
]
@@ -1473,7 +1473,7 @@ dependencies = [
[[package]]
name = "craft-automation"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=fc3262f68babdb19a98a89c415c84c6b327073d3#fc3262f68babdb19a98a89c415c84c6b327073d3"
source = "git+https://github.com/storytold/craft-libs?rev=baf6de310ebf1c77eb47a00319ccbbb07352bd49#baf6de310ebf1c77eb47a00319ccbbb07352bd49"
dependencies = [
"base64 0.23.1",
"craft-behavior",
@@ -1498,7 +1498,7 @@ dependencies = [
[[package]]
name = "craft-behavior"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=fc3262f68babdb19a98a89c415c84c6b327073d3#fc3262f68babdb19a98a89c415c84c6b327073d3"
source = "git+https://github.com/storytold/craft-libs?rev=baf6de310ebf1c77eb47a00319ccbbb07352bd49#baf6de310ebf1c77eb47a00319ccbbb07352bd49"
dependencies = [
"accesskit",
"bitflags 2.13.2",
@@ -1516,7 +1516,7 @@ dependencies = [
[[package]]
name = "craft-browse"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=fc3262f68babdb19a98a89c415c84c6b327073d3#fc3262f68babdb19a98a89c415c84c6b327073d3"
source = "git+https://github.com/storytold/craft-libs?rev=baf6de310ebf1c77eb47a00319ccbbb07352bd49#baf6de310ebf1c77eb47a00319ccbbb07352bd49"
dependencies = [
"craft-behavior",
"craft-docpath",
@@ -1534,7 +1534,7 @@ dependencies = [
[[package]]
name = "craft-cloud-ui"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=fc3262f68babdb19a98a89c415c84c6b327073d3#fc3262f68babdb19a98a89c415c84c6b327073d3"
source = "git+https://github.com/storytold/craft-libs?rev=baf6de310ebf1c77eb47a00319ccbbb07352bd49#baf6de310ebf1c77eb47a00319ccbbb07352bd49"
dependencies = [
"egui",
]
@@ -1542,7 +1542,7 @@ dependencies = [
[[package]]
name = "craft-cms"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=fc3262f68babdb19a98a89c415c84c6b327073d3#fc3262f68babdb19a98a89c415c84c6b327073d3"
source = "git+https://github.com/storytold/craft-libs?rev=baf6de310ebf1c77eb47a00319ccbbb07352bd49#baf6de310ebf1c77eb47a00319ccbbb07352bd49"
dependencies = [
"md-5",
"rayon",
@@ -1551,12 +1551,12 @@ dependencies = [
[[package]]
name = "craft-codepage"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=fc3262f68babdb19a98a89c415c84c6b327073d3#fc3262f68babdb19a98a89c415c84c6b327073d3"
source = "git+https://github.com/storytold/craft-libs?rev=baf6de310ebf1c77eb47a00319ccbbb07352bd49#baf6de310ebf1c77eb47a00319ccbbb07352bd49"
[[package]]
name = "craft-color"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=fc3262f68babdb19a98a89c415c84c6b327073d3#fc3262f68babdb19a98a89c415c84c6b327073d3"
source = "git+https://github.com/storytold/craft-libs?rev=baf6de310ebf1c77eb47a00319ccbbb07352bd49#baf6de310ebf1c77eb47a00319ccbbb07352bd49"
dependencies = [
"serde",
]
@@ -1564,7 +1564,7 @@ dependencies = [
[[package]]
name = "craft-color-transform"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=fc3262f68babdb19a98a89c415c84c6b327073d3#fc3262f68babdb19a98a89c415c84c6b327073d3"
source = "git+https://github.com/storytold/craft-libs?rev=baf6de310ebf1c77eb47a00319ccbbb07352bd49#baf6de310ebf1c77eb47a00319ccbbb07352bd49"
dependencies = [
"craft-cms",
"craft-color",
@@ -1574,7 +1574,7 @@ dependencies = [
[[package]]
name = "craft-color-ui"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=fc3262f68babdb19a98a89c415c84c6b327073d3#fc3262f68babdb19a98a89c415c84c6b327073d3"
source = "git+https://github.com/storytold/craft-libs?rev=baf6de310ebf1c77eb47a00319ccbbb07352bd49#baf6de310ebf1c77eb47a00319ccbbb07352bd49"
dependencies = [
"craft-behavior",
"craft-cms",
@@ -1595,7 +1595,7 @@ dependencies = [
[[package]]
name = "craft-control"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=fc3262f68babdb19a98a89c415c84c6b327073d3#fc3262f68babdb19a98a89c415c84c6b327073d3"
source = "git+https://github.com/storytold/craft-libs?rev=baf6de310ebf1c77eb47a00319ccbbb07352bd49#baf6de310ebf1c77eb47a00319ccbbb07352bd49"
dependencies = [
"craft-ai-agents",
"craft-atomic",
@@ -1611,7 +1611,7 @@ dependencies = [
[[package]]
name = "craft-control-protocol"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=fc3262f68babdb19a98a89c415c84c6b327073d3#fc3262f68babdb19a98a89c415c84c6b327073d3"
source = "git+https://github.com/storytold/craft-libs?rev=baf6de310ebf1c77eb47a00319ccbbb07352bd49#baf6de310ebf1c77eb47a00319ccbbb07352bd49"
dependencies = [
"getrandom 0.3.4",
"serde_json",
@@ -1621,7 +1621,7 @@ dependencies = [
[[package]]
name = "craft-crs"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=fc3262f68babdb19a98a89c415c84c6b327073d3#fc3262f68babdb19a98a89c415c84c6b327073d3"
source = "git+https://github.com/storytold/craft-libs?rev=baf6de310ebf1c77eb47a00319ccbbb07352bd49#baf6de310ebf1c77eb47a00319ccbbb07352bd49"
dependencies = [
"craft-metadata",
"craft-xml",
@@ -1631,7 +1631,7 @@ dependencies = [
[[package]]
name = "craft-crw"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=fc3262f68babdb19a98a89c415c84c6b327073d3#fc3262f68babdb19a98a89c415c84c6b327073d3"
source = "git+https://github.com/storytold/craft-libs?rev=baf6de310ebf1c77eb47a00319ccbbb07352bd49#baf6de310ebf1c77eb47a00319ccbbb07352bd49"
dependencies = [
"thiserror 2.0.21",
]
@@ -1639,7 +1639,7 @@ dependencies = [
[[package]]
name = "craft-dds"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=fc3262f68babdb19a98a89c415c84c6b327073d3#fc3262f68babdb19a98a89c415c84c6b327073d3"
source = "git+https://github.com/storytold/craft-libs?rev=baf6de310ebf1c77eb47a00319ccbbb07352bd49#baf6de310ebf1c77eb47a00319ccbbb07352bd49"
dependencies = [
"rayon",
]
@@ -1647,7 +1647,7 @@ dependencies = [
[[package]]
name = "craft-develop"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=fc3262f68babdb19a98a89c415c84c6b327073d3#fc3262f68babdb19a98a89c415c84c6b327073d3"
source = "git+https://github.com/storytold/craft-libs?rev=baf6de310ebf1c77eb47a00319ccbbb07352bd49#baf6de310ebf1c77eb47a00319ccbbb07352bd49"
dependencies = [
"craft-color",
"craft-color-transform",
@@ -1662,7 +1662,7 @@ dependencies = [
[[package]]
name = "craft-develop-model"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=fc3262f68babdb19a98a89c415c84c6b327073d3#fc3262f68babdb19a98a89c415c84c6b327073d3"
source = "git+https://github.com/storytold/craft-libs?rev=baf6de310ebf1c77eb47a00319ccbbb07352bd49#baf6de310ebf1c77eb47a00319ccbbb07352bd49"
dependencies = [
"craft-geom",
"craft-metadata",
@@ -1674,7 +1674,7 @@ dependencies = [
[[package]]
name = "craft-dialogs"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=fc3262f68babdb19a98a89c415c84c6b327073d3#fc3262f68babdb19a98a89c415c84c6b327073d3"
source = "git+https://github.com/storytold/craft-libs?rev=baf6de310ebf1c77eb47a00319ccbbb07352bd49#baf6de310ebf1c77eb47a00319ccbbb07352bd49"
dependencies = [
"block2 0.6.2",
"craft-appkit",
@@ -1700,7 +1700,7 @@ dependencies = [
[[package]]
name = "craft-docpath"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=fc3262f68babdb19a98a89c415c84c6b327073d3#fc3262f68babdb19a98a89c415c84c6b327073d3"
source = "git+https://github.com/storytold/craft-libs?rev=baf6de310ebf1c77eb47a00319ccbbb07352bd49#baf6de310ebf1c77eb47a00319ccbbb07352bd49"
dependencies = [
"serde",
]
@@ -1708,7 +1708,7 @@ dependencies = [
[[package]]
name = "craft-draw"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=fc3262f68babdb19a98a89c415c84c6b327073d3#fc3262f68babdb19a98a89c415c84c6b327073d3"
source = "git+https://github.com/storytold/craft-libs?rev=baf6de310ebf1c77eb47a00319ccbbb07352bd49#baf6de310ebf1c77eb47a00319ccbbb07352bd49"
dependencies = [
"craft-behavior",
"craft-color-ui",
@@ -1727,7 +1727,7 @@ dependencies = [
[[package]]
name = "craft-drawingml"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=fc3262f68babdb19a98a89c415c84c6b327073d3#fc3262f68babdb19a98a89c415c84c6b327073d3"
source = "git+https://github.com/storytold/craft-libs?rev=baf6de310ebf1c77eb47a00319ccbbb07352bd49#baf6de310ebf1c77eb47a00319ccbbb07352bd49"
dependencies = [
"chrono",
"craft-xml",
@@ -1739,12 +1739,12 @@ dependencies = [
[[package]]
name = "craft-eps"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=fc3262f68babdb19a98a89c415c84c6b327073d3#fc3262f68babdb19a98a89c415c84c6b327073d3"
source = "git+https://github.com/storytold/craft-libs?rev=baf6de310ebf1c77eb47a00319ccbbb07352bd49#baf6de310ebf1c77eb47a00319ccbbb07352bd49"
[[package]]
name = "craft-file-formats"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=fc3262f68babdb19a98a89c415c84c6b327073d3#fc3262f68babdb19a98a89c415c84c6b327073d3"
source = "git+https://github.com/storytold/craft-libs?rev=baf6de310ebf1c77eb47a00319ccbbb07352bd49#baf6de310ebf1c77eb47a00319ccbbb07352bd49"
dependencies = [
"craft-eps",
"craft-idml",
@@ -1762,7 +1762,7 @@ dependencies = [
[[package]]
name = "craft-flags"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=fc3262f68babdb19a98a89c415c84c6b327073d3#fc3262f68babdb19a98a89c415c84c6b327073d3"
source = "git+https://github.com/storytold/craft-libs?rev=baf6de310ebf1c77eb47a00319ccbbb07352bd49#baf6de310ebf1c77eb47a00319ccbbb07352bd49"
dependencies = [
"craft-atomic",
"dirs",
@@ -1772,7 +1772,7 @@ dependencies = [
[[package]]
name = "craft-font-catalog"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=fc3262f68babdb19a98a89c415c84c6b327073d3#fc3262f68babdb19a98a89c415c84c6b327073d3"
source = "git+https://github.com/storytold/craft-libs?rev=baf6de310ebf1c77eb47a00319ccbbb07352bd49#baf6de310ebf1c77eb47a00319ccbbb07352bd49"
dependencies = [
"fontique",
"harfrust 0.13.3",
@@ -1787,7 +1787,7 @@ dependencies = [
[[package]]
name = "craft-font-manager"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=fc3262f68babdb19a98a89c415c84c6b327073d3#fc3262f68babdb19a98a89c415c84c6b327073d3"
source = "git+https://github.com/storytold/craft-libs?rev=baf6de310ebf1c77eb47a00319ccbbb07352bd49#baf6de310ebf1c77eb47a00319ccbbb07352bd49"
dependencies = [
"craft-behavior",
"craft-font-catalog",
@@ -1807,7 +1807,7 @@ dependencies = [
[[package]]
name = "craft-font-os-windows"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=fc3262f68babdb19a98a89c415c84c6b327073d3#fc3262f68babdb19a98a89c415c84c6b327073d3"
source = "git+https://github.com/storytold/craft-libs?rev=baf6de310ebf1c77eb47a00319ccbbb07352bd49#baf6de310ebf1c77eb47a00319ccbbb07352bd49"
dependencies = [
"windows-registry",
"windows-sys 0.61.2",
@@ -1816,7 +1816,7 @@ dependencies = [
[[package]]
name = "craft-font-store"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=fc3262f68babdb19a98a89c415c84c6b327073d3#fc3262f68babdb19a98a89c415c84c6b327073d3"
source = "git+https://github.com/storytold/craft-libs?rev=baf6de310ebf1c77eb47a00319ccbbb07352bd49#baf6de310ebf1c77eb47a00319ccbbb07352bd49"
dependencies = [
"cap-primitives",
"craft-atomic",
@@ -1839,12 +1839,12 @@ dependencies = [
[[package]]
name = "craft-fonts-build"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=fc3262f68babdb19a98a89c415c84c6b327073d3#fc3262f68babdb19a98a89c415c84c6b327073d3"
source = "git+https://github.com/storytold/craft-libs?rev=baf6de310ebf1c77eb47a00319ccbbb07352bd49#baf6de310ebf1c77eb47a00319ccbbb07352bd49"
[[package]]
name = "craft-geom"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=fc3262f68babdb19a98a89c415c84c6b327073d3#fc3262f68babdb19a98a89c415c84c6b327073d3"
source = "git+https://github.com/storytold/craft-libs?rev=baf6de310ebf1c77eb47a00319ccbbb07352bd49#baf6de310ebf1c77eb47a00319ccbbb07352bd49"
dependencies = [
"serde",
]
@@ -1852,7 +1852,7 @@ dependencies = [
[[package]]
name = "craft-heif"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=fc3262f68babdb19a98a89c415c84c6b327073d3#fc3262f68babdb19a98a89c415c84c6b327073d3"
source = "git+https://github.com/storytold/craft-libs?rev=baf6de310ebf1c77eb47a00319ccbbb07352bd49#baf6de310ebf1c77eb47a00319ccbbb07352bd49"
dependencies = [
"heic-rs",
"rayon",
@@ -1861,7 +1861,7 @@ dependencies = [
[[package]]
name = "craft-host"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=fc3262f68babdb19a98a89c415c84c6b327073d3#fc3262f68babdb19a98a89c415c84c6b327073d3"
source = "git+https://github.com/storytold/craft-libs?rev=baf6de310ebf1c77eb47a00319ccbbb07352bd49#baf6de310ebf1c77eb47a00319ccbbb07352bd49"
dependencies = [
"bitflags 2.13.2",
"craft-i18n",
@@ -1874,7 +1874,7 @@ dependencies = [
[[package]]
name = "craft-i18n"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=fc3262f68babdb19a98a89c415c84c6b327073d3#fc3262f68babdb19a98a89c415c84c6b327073d3"
source = "git+https://github.com/storytold/craft-libs?rev=baf6de310ebf1c77eb47a00319ccbbb07352bd49#baf6de310ebf1c77eb47a00319ccbbb07352bd49"
dependencies = [
"brotli 9.1.3",
"brotli-decompressor 6.3.2",
@@ -1904,7 +1904,7 @@ dependencies = [
[[package]]
name = "craft-idml"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=fc3262f68babdb19a98a89c415c84c6b327073d3#fc3262f68babdb19a98a89c415c84c6b327073d3"
source = "git+https://github.com/storytold/craft-libs?rev=baf6de310ebf1c77eb47a00319ccbbb07352bd49#baf6de310ebf1c77eb47a00319ccbbb07352bd49"
dependencies = [
"craft-xml",
"craft-zip",
@@ -1914,7 +1914,7 @@ dependencies = [
[[package]]
name = "craft-image-codecs"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=fc3262f68babdb19a98a89c415c84c6b327073d3#fc3262f68babdb19a98a89c415c84c6b327073d3"
source = "git+https://github.com/storytold/craft-libs?rev=baf6de310ebf1c77eb47a00319ccbbb07352bd49#baf6de310ebf1c77eb47a00319ccbbb07352bd49"
dependencies = [
"craft-dds",
"craft-heif",
@@ -1942,7 +1942,7 @@ dependencies = [
[[package]]
name = "craft-imaging"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=fc3262f68babdb19a98a89c415c84c6b327073d3#fc3262f68babdb19a98a89c415c84c6b327073d3"
source = "git+https://github.com/storytold/craft-libs?rev=baf6de310ebf1c77eb47a00319ccbbb07352bd49#baf6de310ebf1c77eb47a00319ccbbb07352bd49"
dependencies = [
"craft-behavior",
"craft-color-ui",
@@ -1960,12 +1960,12 @@ dependencies = [
[[package]]
name = "craft-ipp"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=fc3262f68babdb19a98a89c415c84c6b327073d3#fc3262f68babdb19a98a89c415c84c6b327073d3"
source = "git+https://github.com/storytold/craft-libs?rev=baf6de310ebf1c77eb47a00319ccbbb07352bd49#baf6de310ebf1c77eb47a00319ccbbb07352bd49"
[[package]]
name = "craft-jpeg"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=fc3262f68babdb19a98a89c415c84c6b327073d3#fc3262f68babdb19a98a89c415c84c6b327073d3"
source = "git+https://github.com/storytold/craft-libs?rev=baf6de310ebf1c77eb47a00319ccbbb07352bd49#baf6de310ebf1c77eb47a00319ccbbb07352bd49"
dependencies = [
"thiserror 2.0.21",
]
@@ -1973,7 +1973,7 @@ dependencies = [
[[package]]
name = "craft-keymap"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=fc3262f68babdb19a98a89c415c84c6b327073d3#fc3262f68babdb19a98a89c415c84c6b327073d3"
source = "git+https://github.com/storytold/craft-libs?rev=baf6de310ebf1c77eb47a00319ccbbb07352bd49#baf6de310ebf1c77eb47a00319ccbbb07352bd49"
dependencies = [
"craft-host",
"craft-i18n",
@@ -1988,7 +1988,7 @@ dependencies = [
[[package]]
name = "craft-kra"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=fc3262f68babdb19a98a89c415c84c6b327073d3#fc3262f68babdb19a98a89c415c84c6b327073d3"
source = "git+https://github.com/storytold/craft-libs?rev=baf6de310ebf1c77eb47a00319ccbbb07352bd49#baf6de310ebf1c77eb47a00319ccbbb07352bd49"
dependencies = [
"craft-xml",
"craft-zip",
@@ -1998,7 +1998,7 @@ dependencies = [
[[package]]
name = "craft-layers"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=fc3262f68babdb19a98a89c415c84c6b327073d3#fc3262f68babdb19a98a89c415c84c6b327073d3"
source = "git+https://github.com/storytold/craft-libs?rev=baf6de310ebf1c77eb47a00319ccbbb07352bd49#baf6de310ebf1c77eb47a00319ccbbb07352bd49"
dependencies = [
"craft-behavior",
"craft-i18n",
@@ -2012,7 +2012,7 @@ dependencies = [
[[package]]
name = "craft-menu"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=fc3262f68babdb19a98a89c415c84c6b327073d3#fc3262f68babdb19a98a89c415c84c6b327073d3"
source = "git+https://github.com/storytold/craft-libs?rev=baf6de310ebf1c77eb47a00319ccbbb07352bd49#baf6de310ebf1c77eb47a00319ccbbb07352bd49"
dependencies = [
"craft-behavior",
"craft-host",
@@ -2030,7 +2030,7 @@ dependencies = [
[[package]]
name = "craft-metadata"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=fc3262f68babdb19a98a89c415c84c6b327073d3#fc3262f68babdb19a98a89c415c84c6b327073d3"
source = "git+https://github.com/storytold/craft-libs?rev=baf6de310ebf1c77eb47a00319ccbbb07352bd49#baf6de310ebf1c77eb47a00319ccbbb07352bd49"
dependencies = [
"brotli-decompressor 6.3.2",
"chrono",
@@ -2042,7 +2042,7 @@ dependencies = [
[[package]]
name = "craft-nightly"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=fc3262f68babdb19a98a89c415c84c6b327073d3#fc3262f68babdb19a98a89c415c84c6b327073d3"
source = "git+https://github.com/storytold/craft-libs?rev=baf6de310ebf1c77eb47a00319ccbbb07352bd49#baf6de310ebf1c77eb47a00319ccbbb07352bd49"
dependencies = [
"uds_windows",
"winsafe",
@@ -2051,7 +2051,7 @@ dependencies = [
[[package]]
name = "craft-ora"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=fc3262f68babdb19a98a89c415c84c6b327073d3#fc3262f68babdb19a98a89c415c84c6b327073d3"
source = "git+https://github.com/storytold/craft-libs?rev=baf6de310ebf1c77eb47a00319ccbbb07352bd49#baf6de310ebf1c77eb47a00319ccbbb07352bd49"
dependencies = [
"craft-xml",
"craft-zip",
@@ -2061,7 +2061,7 @@ dependencies = [
[[package]]
name = "craft-pages"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=fc3262f68babdb19a98a89c415c84c6b327073d3#fc3262f68babdb19a98a89c415c84c6b327073d3"
source = "git+https://github.com/storytold/craft-libs?rev=baf6de310ebf1c77eb47a00319ccbbb07352bd49#baf6de310ebf1c77eb47a00319ccbbb07352bd49"
dependencies = [
"craft-behavior",
"craft-keymap",
@@ -2077,7 +2077,7 @@ dependencies = [
[[package]]
name = "craft-pcraft-bundle"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=fc3262f68babdb19a98a89c415c84c6b327073d3#fc3262f68babdb19a98a89c415c84c6b327073d3"
source = "git+https://github.com/storytold/craft-libs?rev=baf6de310ebf1c77eb47a00319ccbbb07352bd49#baf6de310ebf1c77eb47a00319ccbbb07352bd49"
dependencies = [
"blake3",
"craft-atomic",
@@ -2090,7 +2090,7 @@ dependencies = [
[[package]]
name = "craft-pcraft-format"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=fc3262f68babdb19a98a89c415c84c6b327073d3#fc3262f68babdb19a98a89c415c84c6b327073d3"
source = "git+https://github.com/storytold/craft-libs?rev=baf6de310ebf1c77eb47a00319ccbbb07352bd49#baf6de310ebf1c77eb47a00319ccbbb07352bd49"
dependencies = [
"flate2",
"serde",
@@ -2101,7 +2101,7 @@ dependencies = [
[[package]]
name = "craft-pdf"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=fc3262f68babdb19a98a89c415c84c6b327073d3#fc3262f68babdb19a98a89c415c84c6b327073d3"
source = "git+https://github.com/storytold/craft-libs?rev=baf6de310ebf1c77eb47a00319ccbbb07352bd49#baf6de310ebf1c77eb47a00319ccbbb07352bd49"
dependencies = [
"bytemuck",
"flate2",
@@ -2116,7 +2116,7 @@ dependencies = [
[[package]]
name = "craft-pdn"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=fc3262f68babdb19a98a89c415c84c6b327073d3#fc3262f68babdb19a98a89c415c84c6b327073d3"
source = "git+https://github.com/storytold/craft-libs?rev=baf6de310ebf1c77eb47a00319ccbbb07352bd49#baf6de310ebf1c77eb47a00319ccbbb07352bd49"
dependencies = [
"flate2",
"thiserror 2.0.21",
@@ -2125,7 +2125,7 @@ dependencies = [
[[package]]
name = "craft-platform"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=fc3262f68babdb19a98a89c415c84c6b327073d3#fc3262f68babdb19a98a89c415c84c6b327073d3"
source = "git+https://github.com/storytold/craft-libs?rev=baf6de310ebf1c77eb47a00319ccbbb07352bd49#baf6de310ebf1c77eb47a00319ccbbb07352bd49"
dependencies = [
"async-channel",
"async-io",
@@ -2158,7 +2158,7 @@ dependencies = [
[[package]]
name = "craft-plist"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=fc3262f68babdb19a98a89c415c84c6b327073d3#fc3262f68babdb19a98a89c415c84c6b327073d3"
source = "git+https://github.com/storytold/craft-libs?rev=baf6de310ebf1c77eb47a00319ccbbb07352bd49#baf6de310ebf1c77eb47a00319ccbbb07352bd49"
dependencies = [
"thiserror 2.0.21",
]
@@ -2166,7 +2166,7 @@ dependencies = [
[[package]]
name = "craft-print"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=fc3262f68babdb19a98a89c415c84c6b327073d3#fc3262f68babdb19a98a89c415c84c6b327073d3"
source = "git+https://github.com/storytold/craft-libs?rev=baf6de310ebf1c77eb47a00319ccbbb07352bd49#baf6de310ebf1c77eb47a00319ccbbb07352bd49"
dependencies = [
"craft-behavior",
"craft-host",
@@ -2190,7 +2190,7 @@ dependencies = [
[[package]]
name = "craft-psd"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=fc3262f68babdb19a98a89c415c84c6b327073d3#fc3262f68babdb19a98a89c415c84c6b327073d3"
source = "git+https://github.com/storytold/craft-libs?rev=baf6de310ebf1c77eb47a00319ccbbb07352bd49#baf6de310ebf1c77eb47a00319ccbbb07352bd49"
dependencies = [
"encoding_rs",
"flate2",
@@ -2201,7 +2201,7 @@ dependencies = [
[[package]]
name = "craft-quit"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=fc3262f68babdb19a98a89c415c84c6b327073d3#fc3262f68babdb19a98a89c415c84c6b327073d3"
source = "git+https://github.com/storytold/craft-libs?rev=baf6de310ebf1c77eb47a00319ccbbb07352bd49#baf6de310ebf1c77eb47a00319ccbbb07352bd49"
dependencies = [
"dispatch2",
"egui",
@@ -2214,7 +2214,7 @@ dependencies = [
[[package]]
name = "craft-raw"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=fc3262f68babdb19a98a89c415c84c6b327073d3#fc3262f68babdb19a98a89c415c84c6b327073d3"
source = "git+https://github.com/storytold/craft-libs?rev=baf6de310ebf1c77eb47a00319ccbbb07352bd49#baf6de310ebf1c77eb47a00319ccbbb07352bd49"
dependencies = [
"chrono",
"craft-crw",
@@ -2232,7 +2232,7 @@ dependencies = [
[[package]]
name = "craft-review"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=fc3262f68babdb19a98a89c415c84c6b327073d3#fc3262f68babdb19a98a89c415c84c6b327073d3"
source = "git+https://github.com/storytold/craft-libs?rev=baf6de310ebf1c77eb47a00319ccbbb07352bd49#baf6de310ebf1c77eb47a00319ccbbb07352bd49"
dependencies = [
"base64 0.23.1",
"craft-behavior",
@@ -2251,7 +2251,7 @@ dependencies = [
[[package]]
name = "craft-settings"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=fc3262f68babdb19a98a89c415c84c6b327073d3#fc3262f68babdb19a98a89c415c84c6b327073d3"
source = "git+https://github.com/storytold/craft-libs?rev=baf6de310ebf1c77eb47a00319ccbbb07352bd49#baf6de310ebf1c77eb47a00319ccbbb07352bd49"
dependencies = [
"craft-atomic",
"craft-host",
@@ -2268,7 +2268,7 @@ dependencies = [
[[package]]
name = "craft-svg"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=fc3262f68babdb19a98a89c415c84c6b327073d3#fc3262f68babdb19a98a89c415c84c6b327073d3"
source = "git+https://github.com/storytold/craft-libs?rev=baf6de310ebf1c77eb47a00319ccbbb07352bd49#baf6de310ebf1c77eb47a00319ccbbb07352bd49"
dependencies = [
"craft-image-codecs",
"craft-xml",
@@ -2289,7 +2289,7 @@ dependencies = [
[[package]]
name = "craft-table"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=fc3262f68babdb19a98a89c415c84c6b327073d3#fc3262f68babdb19a98a89c415c84c6b327073d3"
source = "git+https://github.com/storytold/craft-libs?rev=baf6de310ebf1c77eb47a00319ccbbb07352bd49#baf6de310ebf1c77eb47a00319ccbbb07352bd49"
dependencies = [
"craft-behavior",
"craft-keymap",
@@ -2301,7 +2301,7 @@ dependencies = [
[[package]]
name = "craft-testkit"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=fc3262f68babdb19a98a89c415c84c6b327073d3#fc3262f68babdb19a98a89c415c84c6b327073d3"
source = "git+https://github.com/storytold/craft-libs?rev=baf6de310ebf1c77eb47a00319ccbbb07352bd49#baf6de310ebf1c77eb47a00319ccbbb07352bd49"
dependencies = [
"rustix 1.1.6",
"tempfile",
@@ -2311,7 +2311,7 @@ dependencies = [
[[package]]
name = "craft-text"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=fc3262f68babdb19a98a89c415c84c6b327073d3#fc3262f68babdb19a98a89c415c84c6b327073d3"
source = "git+https://github.com/storytold/craft-libs?rev=baf6de310ebf1c77eb47a00319ccbbb07352bd49#baf6de310ebf1c77eb47a00319ccbbb07352bd49"
dependencies = [
"craft-behavior",
"craft-font-manager",
@@ -2334,7 +2334,7 @@ dependencies = [
[[package]]
name = "craft-theme"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=fc3262f68babdb19a98a89c415c84c6b327073d3#fc3262f68babdb19a98a89c415c84c6b327073d3"
source = "git+https://github.com/storytold/craft-libs?rev=baf6de310ebf1c77eb47a00319ccbbb07352bd49#baf6de310ebf1c77eb47a00319ccbbb07352bd49"
dependencies = [
"bitflags 2.13.2",
"craft-tracked",
@@ -2349,7 +2349,7 @@ dependencies = [
[[package]]
name = "craft-theme-editor"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=fc3262f68babdb19a98a89c415c84c6b327073d3#fc3262f68babdb19a98a89c415c84c6b327073d3"
source = "git+https://github.com/storytold/craft-libs?rev=baf6de310ebf1c77eb47a00319ccbbb07352bd49#baf6de310ebf1c77eb47a00319ccbbb07352bd49"
dependencies = [
"craft-behavior",
"craft-theme",
@@ -2360,7 +2360,7 @@ dependencies = [
[[package]]
name = "craft-theme-store"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=fc3262f68babdb19a98a89c415c84c6b327073d3#fc3262f68babdb19a98a89c415c84c6b327073d3"
source = "git+https://github.com/storytold/craft-libs?rev=baf6de310ebf1c77eb47a00319ccbbb07352bd49#baf6de310ebf1c77eb47a00319ccbbb07352bd49"
dependencies = [
"craft-atomic",
"craft-behavior",
@@ -2375,7 +2375,7 @@ dependencies = [
[[package]]
name = "craft-tiff"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=fc3262f68babdb19a98a89c415c84c6b327073d3#fc3262f68babdb19a98a89c415c84c6b327073d3"
source = "git+https://github.com/storytold/craft-libs?rev=baf6de310ebf1c77eb47a00319ccbbb07352bd49#baf6de310ebf1c77eb47a00319ccbbb07352bd49"
dependencies = [
"serde",
"thiserror 2.0.21",
@@ -2385,7 +2385,7 @@ dependencies = [
[[package]]
name = "craft-time"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=fc3262f68babdb19a98a89c415c84c6b327073d3#fc3262f68babdb19a98a89c415c84c6b327073d3"
source = "git+https://github.com/storytold/craft-libs?rev=baf6de310ebf1c77eb47a00319ccbbb07352bd49#baf6de310ebf1c77eb47a00319ccbbb07352bd49"
dependencies = [
"serde",
"thiserror 2.0.21",
@@ -2394,7 +2394,7 @@ dependencies = [
[[package]]
name = "craft-timeline"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=fc3262f68babdb19a98a89c415c84c6b327073d3#fc3262f68babdb19a98a89c415c84c6b327073d3"
source = "git+https://github.com/storytold/craft-libs?rev=baf6de310ebf1c77eb47a00319ccbbb07352bd49#baf6de310ebf1c77eb47a00319ccbbb07352bd49"
dependencies = [
"craft-behavior",
"craft-keymap",
@@ -2409,7 +2409,7 @@ dependencies = [
[[package]]
name = "craft-tracked"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=fc3262f68babdb19a98a89c415c84c6b327073d3#fc3262f68babdb19a98a89c415c84c6b327073d3"
source = "git+https://github.com/storytold/craft-libs?rev=baf6de310ebf1c77eb47a00319ccbbb07352bd49#baf6de310ebf1c77eb47a00319ccbbb07352bd49"
dependencies = [
"serde",
]
@@ -2417,7 +2417,7 @@ dependencies = [
[[package]]
name = "craft-ui"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=fc3262f68babdb19a98a89c415c84c6b327073d3#fc3262f68babdb19a98a89c415c84c6b327073d3"
source = "git+https://github.com/storytold/craft-libs?rev=baf6de310ebf1c77eb47a00319ccbbb07352bd49#baf6de310ebf1c77eb47a00319ccbbb07352bd49"
dependencies = [
"craft-cloud-ui",
"craft-ui-canvas",
@@ -2431,7 +2431,7 @@ dependencies = [
[[package]]
name = "craft-ui-canvas"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=fc3262f68babdb19a98a89c415c84c6b327073d3#fc3262f68babdb19a98a89c415c84c6b327073d3"
source = "git+https://github.com/storytold/craft-libs?rev=baf6de310ebf1c77eb47a00319ccbbb07352bd49#baf6de310ebf1c77eb47a00319ccbbb07352bd49"
dependencies = [
"craft-behavior",
"craft-font-catalog",
@@ -2448,7 +2448,7 @@ dependencies = [
[[package]]
name = "craft-ui-contract"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=fc3262f68babdb19a98a89c415c84c6b327073d3#fc3262f68babdb19a98a89c415c84c6b327073d3"
source = "git+https://github.com/storytold/craft-libs?rev=baf6de310ebf1c77eb47a00319ccbbb07352bd49#baf6de310ebf1c77eb47a00319ccbbb07352bd49"
dependencies = [
"accesskit",
"craft-behavior",
@@ -2490,7 +2490,7 @@ dependencies = [
[[package]]
name = "craft-ui-macros"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=fc3262f68babdb19a98a89c415c84c6b327073d3#fc3262f68babdb19a98a89c415c84c6b327073d3"
source = "git+https://github.com/storytold/craft-libs?rev=baf6de310ebf1c77eb47a00319ccbbb07352bd49#baf6de310ebf1c77eb47a00319ccbbb07352bd49"
dependencies = [
"proc-macro-crate",
"proc-macro2",
@@ -2501,7 +2501,7 @@ dependencies = [
[[package]]
name = "craft-ui-panels"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=fc3262f68babdb19a98a89c415c84c6b327073d3#fc3262f68babdb19a98a89c415c84c6b327073d3"
source = "git+https://github.com/storytold/craft-libs?rev=baf6de310ebf1c77eb47a00319ccbbb07352bd49#baf6de310ebf1c77eb47a00319ccbbb07352bd49"
dependencies = [
"craft-behavior",
"craft-host",
@@ -2519,7 +2519,7 @@ dependencies = [
[[package]]
name = "craft-ui-patterns"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=fc3262f68babdb19a98a89c415c84c6b327073d3#fc3262f68babdb19a98a89c415c84c6b327073d3"
source = "git+https://github.com/storytold/craft-libs?rev=baf6de310ebf1c77eb47a00319ccbbb07352bd49#baf6de310ebf1c77eb47a00319ccbbb07352bd49"
dependencies = [
"craft-behavior",
"craft-host",
@@ -2540,7 +2540,7 @@ dependencies = [
[[package]]
name = "craft-ui-shell"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=fc3262f68babdb19a98a89c415c84c6b327073d3#fc3262f68babdb19a98a89c415c84c6b327073d3"
source = "git+https://github.com/storytold/craft-libs?rev=baf6de310ebf1c77eb47a00319ccbbb07352bd49#baf6de310ebf1c77eb47a00319ccbbb07352bd49"
dependencies = [
"craft-behavior",
"craft-host",
@@ -2560,7 +2560,7 @@ dependencies = [
[[package]]
name = "craft-ui-widgets"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=fc3262f68babdb19a98a89c415c84c6b327073d3#fc3262f68babdb19a98a89c415c84c6b327073d3"
source = "git+https://github.com/storytold/craft-libs?rev=baf6de310ebf1c77eb47a00319ccbbb07352bd49#baf6de310ebf1c77eb47a00319ccbbb07352bd49"
dependencies = [
"craft-behavior",
"craft-host",
@@ -2579,7 +2579,7 @@ dependencies = [
[[package]]
name = "craft-update"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=fc3262f68babdb19a98a89c415c84c6b327073d3#fc3262f68babdb19a98a89c415c84c6b327073d3"
source = "git+https://github.com/storytold/craft-libs?rev=baf6de310ebf1c77eb47a00319ccbbb07352bd49#baf6de310ebf1c77eb47a00319ccbbb07352bd49"
dependencies = [
"base64 0.22.1",
"chrono",
@@ -2611,7 +2611,7 @@ dependencies = [
[[package]]
name = "craft-win32"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=fc3262f68babdb19a98a89c415c84c6b327073d3#fc3262f68babdb19a98a89c415c84c6b327073d3"
source = "git+https://github.com/storytold/craft-libs?rev=baf6de310ebf1c77eb47a00319ccbbb07352bd49#baf6de310ebf1c77eb47a00319ccbbb07352bd49"
dependencies = [
"winsafe",
]
@@ -2619,7 +2619,7 @@ dependencies = [
[[package]]
name = "craft-window"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=fc3262f68babdb19a98a89c415c84c6b327073d3#fc3262f68babdb19a98a89c415c84c6b327073d3"
source = "git+https://github.com/storytold/craft-libs?rev=baf6de310ebf1c77eb47a00319ccbbb07352bd49#baf6de310ebf1c77eb47a00319ccbbb07352bd49"
dependencies = [
"craft-appkit",
"craft-atomic",
@@ -2651,7 +2651,7 @@ dependencies = [
[[package]]
name = "craft-xcf"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=fc3262f68babdb19a98a89c415c84c6b327073d3#fc3262f68babdb19a98a89c415c84c6b327073d3"
source = "git+https://github.com/storytold/craft-libs?rev=baf6de310ebf1c77eb47a00319ccbbb07352bd49#baf6de310ebf1c77eb47a00319ccbbb07352bd49"
dependencies = [
"flate2",
"thiserror 2.0.21",
@@ -2660,7 +2660,7 @@ dependencies = [
[[package]]
name = "craft-xml"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=fc3262f68babdb19a98a89c415c84c6b327073d3#fc3262f68babdb19a98a89c415c84c6b327073d3"
source = "git+https://github.com/storytold/craft-libs?rev=baf6de310ebf1c77eb47a00319ccbbb07352bd49#baf6de310ebf1c77eb47a00319ccbbb07352bd49"
dependencies = [
"quick-xml 0.41.0",
"serde",
@@ -2670,7 +2670,7 @@ dependencies = [
[[package]]
name = "craft-zip"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=fc3262f68babdb19a98a89c415c84c6b327073d3#fc3262f68babdb19a98a89c415c84c6b327073d3"
source = "git+https://github.com/storytold/craft-libs?rev=baf6de310ebf1c77eb47a00319ccbbb07352bd49#baf6de310ebf1c77eb47a00319ccbbb07352bd49"
dependencies = [
"flate2",
"thiserror 2.0.21",
@@ -3087,7 +3087,7 @@ dependencies = [
[[package]]
name = "ecolor"
version = "0.37.0"
source = "git+https://github.com/storytold/egui.git?rev=07c20531f89717e461c0f387dd1f9649553f9321#07c20531f89717e461c0f387dd1f9649553f9321"
source = "git+https://github.com/storytold/egui.git?rev=399fc6e0ea65059e37de680f11ebbd177bf7d4ff#399fc6e0ea65059e37de680f11ebbd177bf7d4ff"
dependencies = [
"bytemuck",
"emath",
@@ -3121,7 +3121,7 @@ dependencies = [
[[package]]
name = "eframe"
version = "0.37.0"
source = "git+https://github.com/storytold/egui.git?rev=07c20531f89717e461c0f387dd1f9649553f9321#07c20531f89717e461c0f387dd1f9649553f9321"
source = "git+https://github.com/storytold/egui.git?rev=399fc6e0ea65059e37de680f11ebbd177bf7d4ff#399fc6e0ea65059e37de680f11ebbd177bf7d4ff"
dependencies = [
"ahash",
"bytemuck",
@@ -3158,7 +3158,7 @@ dependencies = [
[[package]]
name = "egui"
version = "0.37.0"
source = "git+https://github.com/storytold/egui.git?rev=07c20531f89717e461c0f387dd1f9649553f9321#07c20531f89717e461c0f387dd1f9649553f9321"
source = "git+https://github.com/storytold/egui.git?rev=399fc6e0ea65059e37de680f11ebbd177bf7d4ff#399fc6e0ea65059e37de680f11ebbd177bf7d4ff"
dependencies = [
"accesskit",
"ahash",
@@ -3179,7 +3179,7 @@ dependencies = [
[[package]]
name = "egui-wgpu"
version = "0.37.0"
source = "git+https://github.com/storytold/egui.git?rev=07c20531f89717e461c0f387dd1f9649553f9321#07c20531f89717e461c0f387dd1f9649553f9321"
source = "git+https://github.com/storytold/egui.git?rev=399fc6e0ea65059e37de680f11ebbd177bf7d4ff#399fc6e0ea65059e37de680f11ebbd177bf7d4ff"
dependencies = [
"ahash",
"bytemuck",
@@ -3198,7 +3198,7 @@ dependencies = [
[[package]]
name = "egui-winit"
version = "0.37.0"
source = "git+https://github.com/storytold/egui.git?rev=07c20531f89717e461c0f387dd1f9649553f9321#07c20531f89717e461c0f387dd1f9649553f9321"
source = "git+https://github.com/storytold/egui.git?rev=399fc6e0ea65059e37de680f11ebbd177bf7d4ff#399fc6e0ea65059e37de680f11ebbd177bf7d4ff"
dependencies = [
"accesskit_winit",
"arboard",
@@ -3224,7 +3224,7 @@ dependencies = [
[[package]]
name = "egui_extras"
version = "0.37.0"
source = "git+https://github.com/storytold/egui.git?rev=07c20531f89717e461c0f387dd1f9649553f9321#07c20531f89717e461c0f387dd1f9649553f9321"
source = "git+https://github.com/storytold/egui.git?rev=399fc6e0ea65059e37de680f11ebbd177bf7d4ff#399fc6e0ea65059e37de680f11ebbd177bf7d4ff"
dependencies = [
"ahash",
"egui",
@@ -3238,7 +3238,7 @@ dependencies = [
[[package]]
name = "egui_glow"
version = "0.37.0"
source = "git+https://github.com/storytold/egui.git?rev=07c20531f89717e461c0f387dd1f9649553f9321#07c20531f89717e461c0f387dd1f9649553f9321"
source = "git+https://github.com/storytold/egui.git?rev=399fc6e0ea65059e37de680f11ebbd177bf7d4ff#399fc6e0ea65059e37de680f11ebbd177bf7d4ff"
dependencies = [
"bytemuck",
"egui",
@@ -3251,7 +3251,7 @@ dependencies = [
[[package]]
name = "egui_kittest"
version = "0.37.0"
source = "git+https://github.com/storytold/egui.git?rev=07c20531f89717e461c0f387dd1f9649553f9321#07c20531f89717e461c0f387dd1f9649553f9321"
source = "git+https://github.com/storytold/egui.git?rev=399fc6e0ea65059e37de680f11ebbd177bf7d4ff#399fc6e0ea65059e37de680f11ebbd177bf7d4ff"
dependencies = [
"dify",
"eframe",
@@ -3277,7 +3277,7 @@ checksum = "0e9c71c2167ca323c882b99918929403426e2373ea17242ff5653e0d5e1058be"
[[package]]
name = "emath"
version = "0.37.0"
source = "git+https://github.com/storytold/egui.git?rev=07c20531f89717e461c0f387dd1f9649553f9321#07c20531f89717e461c0f387dd1f9649553f9321"
source = "git+https://github.com/storytold/egui.git?rev=399fc6e0ea65059e37de680f11ebbd177bf7d4ff#399fc6e0ea65059e37de680f11ebbd177bf7d4ff"
dependencies = [
"bytemuck",
"serde",
@@ -3370,7 +3370,7 @@ dependencies = [
[[package]]
name = "epaint"
version = "0.37.0"
source = "git+https://github.com/storytold/egui.git?rev=07c20531f89717e461c0f387dd1f9649553f9321#07c20531f89717e461c0f387dd1f9649553f9321"
source = "git+https://github.com/storytold/egui.git?rev=399fc6e0ea65059e37de680f11ebbd177bf7d4ff#399fc6e0ea65059e37de680f11ebbd177bf7d4ff"
dependencies = [
"ahash",
"bytemuck",
@@ -3397,7 +3397,7 @@ dependencies = [
[[package]]
name = "epaint_default_fonts"
version = "0.37.0"
source = "git+https://github.com/storytold/egui.git?rev=07c20531f89717e461c0f387dd1f9649553f9321#07c20531f89717e461c0f387dd1f9649553f9321"
source = "git+https://github.com/storytold/egui.git?rev=399fc6e0ea65059e37de680f11ebbd177bf7d4ff#399fc6e0ea65059e37de680f11ebbd177bf7d4ff"
dependencies = [
"brotli 9.1.3",
"brotli-decompressor 6.3.2",
@@ -4194,7 +4194,7 @@ dependencies = [
[[package]]
name = "hayro"
version = "0.7.1"
source = "git+https://github.com/storytold/craft-libs?rev=fc3262f68babdb19a98a89c415c84c6b327073d3#fc3262f68babdb19a98a89c415c84c6b327073d3"
source = "git+https://github.com/storytold/craft-libs?rev=baf6de310ebf1c77eb47a00319ccbbb07352bd49#baf6de310ebf1c77eb47a00319ccbbb07352bd49"
dependencies = [
"bytemuck",
"hayro-interpret",
@@ -4224,7 +4224,7 @@ dependencies = [
[[package]]
name = "hayro-interpret"
version = "0.7.0"
source = "git+https://github.com/storytold/craft-libs?rev=fc3262f68babdb19a98a89c415c84c6b327073d3#fc3262f68babdb19a98a89c415c84c6b327073d3"
source = "git+https://github.com/storytold/craft-libs?rev=baf6de310ebf1c77eb47a00319ccbbb07352bd49#baf6de310ebf1c77eb47a00319ccbbb07352bd49"
dependencies = [
"bitflags 2.13.2",
"hayro-cmap",
@@ -4242,7 +4242,7 @@ dependencies = [
[[package]]
name = "hayro-jbig2"
version = "0.3.0"
source = "git+https://github.com/storytold/craft-libs?rev=fc3262f68babdb19a98a89c415c84c6b327073d3#fc3262f68babdb19a98a89c415c84c6b327073d3"
source = "git+https://github.com/storytold/craft-libs?rev=baf6de310ebf1c77eb47a00319ccbbb07352bd49#baf6de310ebf1c77eb47a00319ccbbb07352bd49"
dependencies = [
"fearless_simd",
"hayro-ccitt",
@@ -4266,7 +4266,7 @@ checksum = "bc2d80da85f31c3fdc0366431f44cfd645a9da1e242ed1f4a61f213d9765660f"
[[package]]
name = "hayro-syntax"
version = "0.7.2"
source = "git+https://github.com/storytold/craft-libs?rev=fc3262f68babdb19a98a89c415c84c6b327073d3#fc3262f68babdb19a98a89c415c84c6b327073d3"
source = "git+https://github.com/storytold/craft-libs?rev=baf6de310ebf1c77eb47a00319ccbbb07352bd49#baf6de310ebf1c77eb47a00319ccbbb07352bd49"
dependencies = [
"flate2",
"hayro-ccitt",
@@ -5375,7 +5375,7 @@ checksum = "d4a5ff6bcca6c4867b1c4fd4ef63e4db7436ef363e0ad7531d1558856bae64f4"
[[package]]
name = "linesweeper"
version = "0.5.0"
source = "git+https://github.com/storytold/craft-libs?rev=fc3262f68babdb19a98a89c415c84c6b327073d3#fc3262f68babdb19a98a89c415c84c6b327073d3"
source = "git+https://github.com/storytold/craft-libs?rev=baf6de310ebf1c77eb47a00319ccbbb07352bd49#baf6de310ebf1c77eb47a00319ccbbb07352bd49"
dependencies = [
"arrayvec",
"kurbo 0.13.1",
@@ -9928,7 +9928,7 @@ dependencies = [
[[package]]
name = "vello_common"
version = "0.0.8"
source = "git+https://github.com/storytold/craft-libs?rev=fc3262f68babdb19a98a89c415c84c6b327073d3#fc3262f68babdb19a98a89c415c84c6b327073d3"
source = "git+https://github.com/storytold/craft-libs?rev=baf6de310ebf1c77eb47a00319ccbbb07352bd49#baf6de310ebf1c77eb47a00319ccbbb07352bd49"
dependencies = [
"bytemuck",
"fearless_simd",
@@ -9976,7 +9976,7 @@ dependencies = [
[[package]]
name = "vello_cpu"
version = "0.0.8"
source = "git+https://github.com/storytold/craft-libs?rev=fc3262f68babdb19a98a89c415c84c6b327073d3#fc3262f68babdb19a98a89c415c84c6b327073d3"
source = "git+https://github.com/storytold/craft-libs?rev=baf6de310ebf1c77eb47a00319ccbbb07352bd49#baf6de310ebf1c77eb47a00319ccbbb07352bd49"
dependencies = [
"bytemuck",
"glifo 0.1.1",
@@ -10296,19 +10296,6 @@ dependencies = [
"wayland-scanner",
]
[[package]]
name = "wayland-protocols-plasma"
version = "0.3.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2b6d8cf1eb2c1c31ed1f5643c88a6e53538129d4af80030c8cabd1f9fa884d91"
dependencies = [
"bitflags 2.13.2",
"wayland-backend",
"wayland-client",
"wayland-protocols",
"wayland-scanner",
]
[[package]]
name = "wayland-protocols-wlr"
version = "0.3.12"
@@ -11032,7 +11019,7 @@ checksum = "d6bbff5f0aada427a1e5a6da5f1f98158182f26556f345ac9e04d36d0ebed650"
[[package]]
name = "winit"
version = "0.30.13"
source = "git+https://github.com/storytold/winit.git?rev=f8b490f135ea439dd31aae100bb5591c63cb076f#f8b490f135ea439dd31aae100bb5591c63cb076f"
source = "git+https://github.com/storytold/winit.git?rev=3fd7ae64762f82a73b78bd24f453f82c4291067d#3fd7ae64762f82a73b78bd24f453f82c4291067d"
dependencies = [
"ahash",
"android-activity",
@@ -11071,7 +11058,6 @@ dependencies = [
"wayland-backend",
"wayland-client",
"wayland-protocols",
"wayland-protocols-plasma",
"web-sys",
"web-time",
"windows-sys 0.52.0",
@@ -11726,29 +11712,29 @@ dependencies = [
[[patch.unused]]
name = "egui_demo_lib"
version = "0.37.0"
source = "git+https://github.com/storytold/egui.git?rev=07c20531f89717e461c0f387dd1f9649553f9321#07c20531f89717e461c0f387dd1f9649553f9321"
source = "git+https://github.com/storytold/egui.git?rev=399fc6e0ea65059e37de680f11ebbd177bf7d4ff#399fc6e0ea65059e37de680f11ebbd177bf7d4ff"
[[patch.unused]]
name = "egui_inspection"
version = "0.37.0"
source = "git+https://github.com/storytold/egui.git?rev=07c20531f89717e461c0f387dd1f9649553f9321#07c20531f89717e461c0f387dd1f9649553f9321"
source = "git+https://github.com/storytold/egui.git?rev=399fc6e0ea65059e37de680f11ebbd177bf7d4ff#399fc6e0ea65059e37de680f11ebbd177bf7d4ff"
[[patch.unused]]
name = "egui_system_font_provider"
version = "0.37.0"
source = "git+https://github.com/storytold/egui.git?rev=07c20531f89717e461c0f387dd1f9649553f9321#07c20531f89717e461c0f387dd1f9649553f9321"
source = "git+https://github.com/storytold/egui.git?rev=399fc6e0ea65059e37de680f11ebbd177bf7d4ff#399fc6e0ea65059e37de680f11ebbd177bf7d4ff"
[[patch.unused]]
name = "hayro-cmap"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=fc3262f68babdb19a98a89c415c84c6b327073d3#fc3262f68babdb19a98a89c415c84c6b327073d3"
source = "git+https://github.com/storytold/craft-libs?rev=baf6de310ebf1c77eb47a00319ccbbb07352bd49#baf6de310ebf1c77eb47a00319ccbbb07352bd49"
[[patch.unused]]
name = "hayro-postscript"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=fc3262f68babdb19a98a89c415c84c6b327073d3#fc3262f68babdb19a98a89c415c84c6b327073d3"
source = "git+https://github.com/storytold/craft-libs?rev=baf6de310ebf1c77eb47a00319ccbbb07352bd49#baf6de310ebf1c77eb47a00319ccbbb07352bd49"
[[patch.unused]]
name = "krilla"
version = "0.8.2"
source = "git+https://github.com/storytold/craft-libs?rev=fc3262f68babdb19a98a89c415c84c6b327073d3#fc3262f68babdb19a98a89c415c84c6b327073d3"
source = "git+https://github.com/storytold/craft-libs?rev=baf6de310ebf1c77eb47a00319ccbbb07352bd49#baf6de310ebf1c77eb47a00319ccbbb07352bd49"
+57 -57
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 = "fc3262f68babdb19a98a89c415c84c6b327073d3", default-features = false }
craft-tracked = { git = "https://github.com/storytold/craft-libs", rev = "fc3262f68babdb19a98a89c415c84c6b327073d3" }
craft-ui-macros = { git = "https://github.com/storytold/craft-libs", rev = "fc3262f68babdb19a98a89c415c84c6b327073d3" }
craft = { git = "https://github.com/storytold/craft-libs", rev = "baf6de310ebf1c77eb47a00319ccbbb07352bd49", default-features = false }
craft-tracked = { git = "https://github.com/storytold/craft-libs", rev = "baf6de310ebf1c77eb47a00319ccbbb07352bd49" }
craft-ui-macros = { git = "https://github.com/storytold/craft-libs", rev = "baf6de310ebf1c77eb47a00319ccbbb07352bd49" }
# 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 = "fc3262f68babdb19a98a89c415c84c6b327073d3" }
craft-psd = { git = "https://github.com/storytold/craft-libs", rev = "fc3262f68babdb19a98a89c415c84c6b327073d3" }
photocraft-codecs = { package = "craft-image-codecs", git = "https://github.com/storytold/craft-libs", rev = "fc3262f68babdb19a98a89c415c84c6b327073d3" }
photocraft-formats = { package = "craft-file-formats", git = "https://github.com/storytold/craft-libs", rev = "fc3262f68babdb19a98a89c415c84c6b327073d3", features = ["raster-codecs", "pdf", "svg", "ora", "kra", "xcf", "pdn", "raw", "psd", "affinity", "pcraft"] }
craft-plist = { git = "https://github.com/storytold/craft-libs", rev = "baf6de310ebf1c77eb47a00319ccbbb07352bd49" }
craft-psd = { git = "https://github.com/storytold/craft-libs", rev = "baf6de310ebf1c77eb47a00319ccbbb07352bd49" }
photocraft-codecs = { package = "craft-image-codecs", git = "https://github.com/storytold/craft-libs", rev = "baf6de310ebf1c77eb47a00319ccbbb07352bd49" }
photocraft-formats = { package = "craft-file-formats", git = "https://github.com/storytold/craft-libs", rev = "baf6de310ebf1c77eb47a00319ccbbb07352bd49", 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 = "fc3262f68babdb19a98a89c415c84c6b327073d3" }
craft-affinity = { git = "https://github.com/storytold/craft-libs", rev = "baf6de310ebf1c77eb47a00319ccbbb07352bd49" }
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 = "fc3262f68babdb19a98a89c415c84c6b327073d3" }
craft-print = { git = "https://github.com/storytold/craft-libs", rev = "fc3262f68babdb19a98a89c415c84c6b327073d3" }
craft-cms = { git = "https://github.com/storytold/craft-libs", rev = "baf6de310ebf1c77eb47a00319ccbbb07352bd49" }
craft-print = { git = "https://github.com/storytold/craft-libs", rev = "baf6de310ebf1c77eb47a00319ccbbb07352bd49" }
# HEIC/HEIF: the shared decoder (replaces crates/heif; craft-libs#784).
craft-heif = { git = "https://github.com/storytold/craft-libs", rev = "fc3262f68babdb19a98a89c415c84c6b327073d3" }
craft-pdf = { git = "https://github.com/storytold/craft-libs", rev = "fc3262f68babdb19a98a89c415c84c6b327073d3", features = ["raster", "write-raster"] }
craft-xml = { git = "https://github.com/storytold/craft-libs", rev = "fc3262f68babdb19a98a89c415c84c6b327073d3" }
craft-docpath = { version = "0.1.0", git = "https://github.com/storytold/craft-libs", rev = "fc3262f68babdb19a98a89c415c84c6b327073d3" }
craft-jpeg = { git = "https://github.com/storytold/craft-libs", rev = "fc3262f68babdb19a98a89c415c84c6b327073d3" }
craft-pcraft-format = { git = "https://github.com/storytold/craft-libs", rev = "fc3262f68babdb19a98a89c415c84c6b327073d3" }
craft-pcraft-bundle = { git = "https://github.com/storytold/craft-libs", rev = "fc3262f68babdb19a98a89c415c84c6b327073d3" }
craft-zip = { git = "https://github.com/storytold/craft-libs", rev = "fc3262f68babdb19a98a89c415c84c6b327073d3" }
craft-ora = { git = "https://github.com/storytold/craft-libs", rev = "fc3262f68babdb19a98a89c415c84c6b327073d3" }
craft-kra = { git = "https://github.com/storytold/craft-libs", rev = "fc3262f68babdb19a98a89c415c84c6b327073d3" }
craft-xcf = { git = "https://github.com/storytold/craft-libs", rev = "fc3262f68babdb19a98a89c415c84c6b327073d3" }
craft-pdn = { git = "https://github.com/storytold/craft-libs", rev = "fc3262f68babdb19a98a89c415c84c6b327073d3" }
craft-heif = { git = "https://github.com/storytold/craft-libs", rev = "baf6de310ebf1c77eb47a00319ccbbb07352bd49" }
craft-pdf = { git = "https://github.com/storytold/craft-libs", rev = "baf6de310ebf1c77eb47a00319ccbbb07352bd49", features = ["raster", "write-raster"] }
craft-xml = { git = "https://github.com/storytold/craft-libs", rev = "baf6de310ebf1c77eb47a00319ccbbb07352bd49" }
craft-docpath = { version = "0.1.0", git = "https://github.com/storytold/craft-libs", rev = "baf6de310ebf1c77eb47a00319ccbbb07352bd49" }
craft-jpeg = { git = "https://github.com/storytold/craft-libs", rev = "baf6de310ebf1c77eb47a00319ccbbb07352bd49" }
craft-pcraft-format = { git = "https://github.com/storytold/craft-libs", rev = "baf6de310ebf1c77eb47a00319ccbbb07352bd49" }
craft-pcraft-bundle = { git = "https://github.com/storytold/craft-libs", rev = "baf6de310ebf1c77eb47a00319ccbbb07352bd49" }
craft-zip = { git = "https://github.com/storytold/craft-libs", rev = "baf6de310ebf1c77eb47a00319ccbbb07352bd49" }
craft-ora = { git = "https://github.com/storytold/craft-libs", rev = "baf6de310ebf1c77eb47a00319ccbbb07352bd49" }
craft-kra = { git = "https://github.com/storytold/craft-libs", rev = "baf6de310ebf1c77eb47a00319ccbbb07352bd49" }
craft-xcf = { git = "https://github.com/storytold/craft-libs", rev = "baf6de310ebf1c77eb47a00319ccbbb07352bd49" }
craft-pdn = { git = "https://github.com/storytold/craft-libs", rev = "baf6de310ebf1c77eb47a00319ccbbb07352bd49" }
# Keep the shared embedded-image validation API until the framework revision includes it.
craft-svg = { git = "https://github.com/storytold/craft-libs", rev = "fc3262f68babdb19a98a89c415c84c6b327073d3", features = ["tree-render", "tree-render-system-fonts"] }
craft-raw = { git = "https://github.com/storytold/craft-libs", rev = "fc3262f68babdb19a98a89c415c84c6b327073d3" }
craft-tiff = { git = "https://github.com/storytold/craft-libs", rev = "fc3262f68babdb19a98a89c415c84c6b327073d3" }
craft-svg = { git = "https://github.com/storytold/craft-libs", rev = "baf6de310ebf1c77eb47a00319ccbbb07352bd49", features = ["tree-render", "tree-render-system-fonts"] }
craft-raw = { git = "https://github.com/storytold/craft-libs", rev = "baf6de310ebf1c77eb47a00319ccbbb07352bd49" }
craft-tiff = { git = "https://github.com/storytold/craft-libs", rev = "baf6de310ebf1c77eb47a00319ccbbb07352bd49" }
# Camera-field EXIF reader/writer, shared prerequisite craft-libs#1563.
craft-metadata = { git = "https://github.com/storytold/craft-libs", rev = "fc3262f68babdb19a98a89c415c84c6b327073d3" }
craft-crs = { git = "https://github.com/storytold/craft-libs", rev = "fc3262f68babdb19a98a89c415c84c6b327073d3" }
craft-develop = { git = "https://github.com/storytold/craft-libs", rev = "fc3262f68babdb19a98a89c415c84c6b327073d3" }
craft-develop-model = { git = "https://github.com/storytold/craft-libs", rev = "fc3262f68babdb19a98a89c415c84c6b327073d3" }
craft-metadata = { git = "https://github.com/storytold/craft-libs", rev = "baf6de310ebf1c77eb47a00319ccbbb07352bd49" }
craft-crs = { git = "https://github.com/storytold/craft-libs", rev = "baf6de310ebf1c77eb47a00319ccbbb07352bd49" }
craft-develop = { git = "https://github.com/storytold/craft-libs", rev = "baf6de310ebf1c77eb47a00319ccbbb07352bd49" }
craft-develop-model = { git = "https://github.com/storytold/craft-libs", rev = "baf6de310ebf1c77eb47a00319ccbbb07352bd49" }
# 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 = "fc3262f68babdb19a98a89c415c84c6b327073d3" }
craft-i18n = { git = "https://github.com/storytold/craft-libs", rev = "baf6de310ebf1c77eb47a00319ccbbb07352bd49" }
# 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 = "fc3262f68babdb19a98a89c415c84c6b327073d3", features = ["ui"] }
craft-update = { git = "https://github.com/storytold/craft-libs", version = "=0.1.0", rev = "baf6de310ebf1c77eb47a00319ccbbb07352bd49", features = ["ui"] }
# Self-contained nightly profile isolation, launch protocol, and security fence.
craft-nightly = { git = "https://github.com/storytold/craft-libs", rev = "fc3262f68babdb19a98a89c415c84c6b327073d3" }
craft-nightly = { git = "https://github.com/storytold/craft-libs", rev = "baf6de310ebf1c77eb47a00319ccbbb07352bd49" }
thiserror = "2"
serde = { version = "1", features = ["derive", "rc"] }
serde_json = "1"
@@ -352,28 +352,28 @@ 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 = "fc3262f68babdb19a98a89c415c84c6b327073d3" }
hayro = { git = "https://github.com/storytold/craft-libs", rev = "fc3262f68babdb19a98a89c415c84c6b327073d3" }
hayro-interpret = { git = "https://github.com/storytold/craft-libs", rev = "fc3262f68babdb19a98a89c415c84c6b327073d3" }
hayro-syntax = { git = "https://github.com/storytold/craft-libs", rev = "fc3262f68babdb19a98a89c415c84c6b327073d3" }
hayro-jbig2 = { git = "https://github.com/storytold/craft-libs", rev = "fc3262f68babdb19a98a89c415c84c6b327073d3" }
hayro-cmap = { git = "https://github.com/storytold/craft-libs", rev = "fc3262f68babdb19a98a89c415c84c6b327073d3" }
hayro-postscript = { git = "https://github.com/storytold/craft-libs", rev = "fc3262f68babdb19a98a89c415c84c6b327073d3" }
linesweeper = { git = "https://github.com/storytold/craft-libs", rev = "fc3262f68babdb19a98a89c415c84c6b327073d3" }
vello_common = { git = "https://github.com/storytold/craft-libs", rev = "fc3262f68babdb19a98a89c415c84c6b327073d3" }
vello_cpu = { git = "https://github.com/storytold/craft-libs", rev = "fc3262f68babdb19a98a89c415c84c6b327073d3" }
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" }
epaint_default_fonts = { git = "https://github.com/storytold/egui.git", rev = "07c20531f89717e461c0f387dd1f9649553f9321" }
egui = { git = "https://github.com/storytold/egui.git", rev = "07c20531f89717e461c0f387dd1f9649553f9321" }
egui-winit = { git = "https://github.com/storytold/egui.git", rev = "07c20531f89717e461c0f387dd1f9649553f9321" }
egui-wgpu = { git = "https://github.com/storytold/egui.git", rev = "07c20531f89717e461c0f387dd1f9649553f9321" }
egui_glow = { git = "https://github.com/storytold/egui.git", rev = "07c20531f89717e461c0f387dd1f9649553f9321" }
egui_extras = { git = "https://github.com/storytold/egui.git", rev = "07c20531f89717e461c0f387dd1f9649553f9321" }
egui_kittest = { git = "https://github.com/storytold/egui.git", rev = "07c20531f89717e461c0f387dd1f9649553f9321" }
egui_system_font_provider = { git = "https://github.com/storytold/egui.git", rev = "07c20531f89717e461c0f387dd1f9649553f9321" }
eframe = { git = "https://github.com/storytold/egui.git", rev = "07c20531f89717e461c0f387dd1f9649553f9321" }
egui_demo_lib = { git = "https://github.com/storytold/egui.git", rev = "07c20531f89717e461c0f387dd1f9649553f9321" }
egui_inspection = { git = "https://github.com/storytold/egui.git", rev = "07c20531f89717e461c0f387dd1f9649553f9321" }
winit = { git = "https://github.com/storytold/winit.git", rev = "f8b490f135ea439dd31aae100bb5591c63cb076f" }
krilla = { git = "https://github.com/storytold/craft-libs", rev = "baf6de310ebf1c77eb47a00319ccbbb07352bd49" }
hayro = { git = "https://github.com/storytold/craft-libs", rev = "baf6de310ebf1c77eb47a00319ccbbb07352bd49" }
hayro-interpret = { git = "https://github.com/storytold/craft-libs", rev = "baf6de310ebf1c77eb47a00319ccbbb07352bd49" }
hayro-syntax = { git = "https://github.com/storytold/craft-libs", rev = "baf6de310ebf1c77eb47a00319ccbbb07352bd49" }
hayro-jbig2 = { git = "https://github.com/storytold/craft-libs", rev = "baf6de310ebf1c77eb47a00319ccbbb07352bd49" }
hayro-cmap = { git = "https://github.com/storytold/craft-libs", rev = "baf6de310ebf1c77eb47a00319ccbbb07352bd49" }
hayro-postscript = { git = "https://github.com/storytold/craft-libs", rev = "baf6de310ebf1c77eb47a00319ccbbb07352bd49" }
linesweeper = { git = "https://github.com/storytold/craft-libs", rev = "baf6de310ebf1c77eb47a00319ccbbb07352bd49" }
vello_common = { git = "https://github.com/storytold/craft-libs", rev = "baf6de310ebf1c77eb47a00319ccbbb07352bd49" }
vello_cpu = { git = "https://github.com/storytold/craft-libs", rev = "baf6de310ebf1c77eb47a00319ccbbb07352bd49" }
ecolor = { git = "https://github.com/storytold/egui.git", rev = "399fc6e0ea65059e37de680f11ebbd177bf7d4ff" }
emath = { git = "https://github.com/storytold/egui.git", rev = "399fc6e0ea65059e37de680f11ebbd177bf7d4ff" }
epaint = { git = "https://github.com/storytold/egui.git", rev = "399fc6e0ea65059e37de680f11ebbd177bf7d4ff" }
epaint_default_fonts = { git = "https://github.com/storytold/egui.git", rev = "399fc6e0ea65059e37de680f11ebbd177bf7d4ff" }
egui = { git = "https://github.com/storytold/egui.git", rev = "399fc6e0ea65059e37de680f11ebbd177bf7d4ff" }
egui-winit = { git = "https://github.com/storytold/egui.git", rev = "399fc6e0ea65059e37de680f11ebbd177bf7d4ff" }
egui-wgpu = { git = "https://github.com/storytold/egui.git", rev = "399fc6e0ea65059e37de680f11ebbd177bf7d4ff" }
egui_glow = { git = "https://github.com/storytold/egui.git", rev = "399fc6e0ea65059e37de680f11ebbd177bf7d4ff" }
egui_extras = { git = "https://github.com/storytold/egui.git", rev = "399fc6e0ea65059e37de680f11ebbd177bf7d4ff" }
egui_kittest = { git = "https://github.com/storytold/egui.git", rev = "399fc6e0ea65059e37de680f11ebbd177bf7d4ff" }
egui_system_font_provider = { git = "https://github.com/storytold/egui.git", rev = "399fc6e0ea65059e37de680f11ebbd177bf7d4ff" }
eframe = { git = "https://github.com/storytold/egui.git", rev = "399fc6e0ea65059e37de680f11ebbd177bf7d4ff" }
egui_demo_lib = { git = "https://github.com/storytold/egui.git", rev = "399fc6e0ea65059e37de680f11ebbd177bf7d4ff" }
egui_inspection = { git = "https://github.com/storytold/egui.git", rev = "399fc6e0ea65059e37de680f11ebbd177bf7d4ff" }
winit = { git = "https://github.com/storytold/winit.git", rev = "3fd7ae64762f82a73b78bd24f453f82c4291067d" }
+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 = "fc3262f68babdb19a98a89c415c84c6b327073d3" }
craft-pcraft-tip = { package = "craft-pcraft-format", git = "https://github.com/storytold/craft-libs", rev = "baf6de310ebf1c77eb47a00319ccbbb07352bd49" }
photocraft-raster = { workspace = true }
photocraft-doc = { workspace = true }
photocraft-ops = { workspace = true }
@@ -25,16 +25,16 @@ fn separate(background: &str, intent: &str, bpc: bool) -> [f32; 4] {
[px[0], px[1], px[2], px[3]].map(|v| v * 100.0)
}
/// Within 2 % per ink, except Saturation red: that patch lies between nodes of the profile's
/// table that are clipped to the magenta–yellow edge and nodes that are not, which costs 2.2 %
/// (a finer table closes it, at three times the profile size). It is held to 2.5 %.
/// Within 2.5 % per ink, the limit craft-cms holds its own reference separations to. Lab PCS
/// tables interpolate trilinearly since craft-libs#4055, which moves the absolute-intent blue
/// just past 2 %.
#[test]
fn srgb_to_fogra39_matches_the_reference_inks() {
let mut failures = Vec::new();
for (background, want) in REFERENCE {
for ((intent, bpc), want) in INTENTS.into_iter().zip(want) {
let got = separate(background, intent, bpc);
let limit = if (background, intent) == ("#c81e1e", "saturation") { 2.5 } else { 2.0 };
let limit = 2.5;
// A NaN ink compares false with `>`, so it is failed explicitly.
if (0..4).any(|i| (got[i] - want[i]).abs().is_nan() || (got[i] - want[i]).abs() > limit) {
failures.push(format!("{background} {intent} bpc {bpc}: {got:.1?}, reference {want:?}, limit {limit}"));
@@ -1033,8 +1033,9 @@ fn duotone_to_colour_modes_keeps_the_ink_colours() {
o[..target.color_channels()].to_vec()
};
// The display's gradient map samples the inks at 33 stops; dark CMYK
// separations magnify that a little.
let tol = if target == ColorMode::Cmyk { 0.03 } else { 0.02 };
// separations magnify that a little, more so with the trilinear Lab tables
// of craft-libs#4055.
let tol = if target == ColorMode::Cmyk { 0.035 } else { 0.02 };
for (g, w) in got.iter().zip(&want) {
assert!((g - w).abs() < tol, "{ctx} x={x}: got {got:?}, want {want:?}");
}
@@ -165,12 +165,18 @@ fn the_four_clicks_land_on_the_issue_s_ink_table_in_the_space_it_was_measured_in
#[test]
fn the_four_clicks_in_the_working_colour_space_store_that_space_s_inks() {
let mut s = issue_document(None);
let want: [[f32; 4]; 4] =
[[0.749_019_6, 0.772_549, 0.0, 0.0], [0.345_098, 0.356_862_7, 0.0, 0.0], [0.411_764_7, 0.427_451, 0.0, 0.0], [0.768_627_5, 0.792_156_9, 0.0, 0.0]];
let want: [[f32; 4]; 4] = [
[0.745_098_05, 0.764_705_9, 0.0, 0.0],
[0.341_176_48, 0.349_019_62, 0.0, 0.0],
[0.411_764_7, 0.423_529_42, 0.0, 0.0],
[0.768_627_46, 0.788_235_3, 0.0, 0.0],
];
let mut misses = Vec::new();
for (i, ((x, y, _), want)) in REFERENCE_ROWS.into_iter().zip(want).enumerate() {
click(&mut s, x, y, "color");
assert_inks_pinned(&format!("working-space click {i} at ({x}, {y})"), &inks(&s, x, y), want, 0.5 / 255.0);
misses.extend(pinned_miss(&format!("working-space click {i} at ({x}, {y})"), &inks(&s, x, y), want, 0.5 / 255.0));
}
assert_no_misses(&misses);
}
/// The lightness the issue is about: a Color click keeps the lightness of the pixel it lands on
@@ -285,27 +291,39 @@ fn a_live_cmyk_stroke_previews_the_documents_cmyk_profile() {
/// clicks, whatever profile the document carried.
#[test]
fn a_tagged_cmyk_16_bit_document_blends_through_its_own_profile_too() {
let mut misses = Vec::new();
for (mode, want, coated) in [
("color", [0.742_946_5, 0.606_225_67, 0.0, 0.0], [0.959_304_2, 1.0, 0.0, 0.0]),
("luminosity", [0.686_488_15, 0.992_675_66, 0.943_694_23, 0.484_611_27], [0.268_467_22, 0.990_020_6, 0.909_620_8, 0.364_675_37]),
("color", [0.737_056_55, 0.603_967_37, 0.0, 0.0], [0.969_283_6, 1.0, 0.0, 0.0]),
("luminosity", [0.357_015_34, 0.972_091_26, 0.872_770_25, 0.618_081_9], [0.261_341_27, 0.962_340_7, 0.863_279_16, 0.353_429_47]),
] {
let mut s = cmyk_session(16);
tag_cmyk_profile(&mut s, craft_cms::Builtin::CoatedFogra39.profile().to_bytes());
click(&mut s, 80, 30, mode);
assert_inks_pinned(&format!("16-bit tagged {mode}"), &inks(&s, 80, 30), want, 1.0 / 65_535.0);
misses.extend(pinned_miss(&format!("16-bit tagged {mode}"), &inks(&s, 80, 30), want, 1.0 / 65_535.0));
let apart = (0..4).map(|i| (inks(&s, 80, 30)[i] - coated[i]).abs()).fold(0.0f32, f32::max);
assert!(apart > 0.05, "16-bit {mode}: the tagged document stored the built-in coated inks {coated:?}");
}
assert_no_misses(&misses);
}
/// Compare stored inks with a pinned golden value, to the quantum of the depth. The tests say which
/// run each value came from: a run of `upstream/main`, or a run of this change.
fn assert_inks_pinned(what: &str, got: &[f32; 4], want: [f32; 4], quantum: f32) {
for i in 0..4 {
assert!((got[i] - want[i]).abs() < quantum, "{what}: ink {i} is {}, want {}", got[i], want[i]);
if let Some(miss) = pinned_miss(what, got, want, quantum) {
panic!("{miss}");
}
}
/// The mismatch [`assert_inks_pinned`] reports, so a test over several rows can name every row
/// that moved instead of stopping at the first.
fn pinned_miss(what: &str, got: &[f32; 4], want: [f32; 4], quantum: f32) -> Option<String> {
(0..4).find(|&i| (got[i] - want[i]).abs() >= quantum).map(|i| format!("{what}: ink {i} is {}, want {}; inks {got:?}, want {want:?}", got[i], want[i]))
}
fn assert_no_misses(misses: &[String]) {
assert!(misses.is_empty(), "{}", misses.join("\n"));
}
/// Neighbour, an RGB document: the Color blend and the untouched pixels are exactly what they were
/// (#11918 changes no RGB path). Guard test, passes before and after.
#[test]
@@ -327,22 +345,24 @@ fn color_blend_on_an_rgb_document_keeps_todays_pixels() {
fn the_color_click_in_the_working_colour_space_blends_on_the_ink_channels() {
let mut s = cmyk_session(8);
click(&mut s, 80, 30, "color");
assert_inks_pinned("working-space color", &inks(&s, 80, 30), [0.749_019_6, 0.772_549, 0.0, 0.0], 0.5 / 255.0);
assert_inks_pinned("working-space color", &inks(&s, 80, 30), [0.745_098_05, 0.764_705_9, 0.0, 0.0], 0.5 / 255.0);
}
/// Neighbour, the three blend modes the issue leaves unmeasured, in a CMYK/8 document on the working
/// colour space: they keep the RGB blend and the inks it stores. Guard test, passes both ways.
#[test]
fn the_unmeasured_cmyk_blend_modes_keep_todays_inks_in_the_working_colour_space() {
let mut misses = Vec::new();
for (mode, want) in [
("hue", [0.960_784_3, 1.0, 0.0, 0.0]),
("hue", [0.968_627_45, 1.0, 0.0, 0.0]),
("saturation", [0.0, 0.952_941_2, 0.996_078_43, 0.0]),
("luminosity", [0.266_666_68, 0.988_235_3, 0.909_803_9, 0.364_705_9]),
("luminosity", [0.262_745_1, 0.960_784_3, 0.862_745_1, 0.352_941_2]),
] {
let mut s = cmyk_session(8);
click(&mut s, 80, 30, mode);
assert_inks_pinned(&format!("{mode} mode"), &inks(&s, 80, 30), want, 0.5 / 255.0);
misses.extend(pinned_miss(&format!("{mode} mode"), &inks(&s, 80, 30), want, 0.5 / 255.0));
}
assert_no_misses(&misses);
}
/// Neighbour, an untagged CMYK document: no profile of its own, so the built-in coated conversions
@@ -353,16 +373,18 @@ fn an_untagged_cmyk_document_keeps_todays_inks() {
clear_profile(&mut s);
assert!(CmykSpace::for_profile(s.active().unwrap().doc.icc_profile.as_ref()).is_none(), "untagged: the built-in CMYK applies");
click(&mut s, 80, 30, "luminosity");
assert_inks_pinned("untagged luminosity", &inks(&s, 80, 30), [0.266_666_68, 0.988_235_3, 0.909_803_9, 0.364_705_9], 0.5 / 255.0);
assert_inks_pinned("untagged luminosity", &inks(&s, 80, 30), [0.262_745_1, 0.960_784_3, 0.862_745_1, 0.352_941_2], 0.5 / 255.0);
}
/// Neighbour, CMYK/16 (not measured in the issue): the RGB blend and the same inks, up to the finer
/// quantum. Guard test, passes both ways.
#[test]
fn a_cmyk_16_bit_document_keeps_todays_inks() {
for (mode, want) in [("color", [0.959_304_2, 1.0, 0.0, 0.0]), ("luminosity", [0.268_467_22, 0.990_020_6, 0.909_620_8, 0.364_675_37])] {
let mut misses = Vec::new();
for (mode, want) in [("color", [0.969_283_6, 1.0, 0.0, 0.0]), ("luminosity", [0.261_341_27, 0.962_340_7, 0.863_279_16, 0.353_429_47])] {
let mut s = cmyk_session(16);
click(&mut s, 80, 30, mode);
assert_inks_pinned(&format!("16-bit {mode}"), &inks(&s, 80, 30), want, 1.0 / 65_535.0);
misses.extend(pinned_miss(&format!("16-bit {mode}"), &inks(&s, 80, 30), want, 1.0 / 65_535.0));
}
assert_no_misses(&misses);
}
@@ -852,7 +852,7 @@ mod tests {
fn cmyk_apply_image_of_a_colour_channel_keeps_ink_and_tone_apart() {
// #5787: the Cyan channel is read as tone and written back as ink, so applying it onto its own
// CMYK layer leaves cyan as it was, and into an alpha channel it lands as tone. (The merged
// image goes through RGB, so a few levels of drift are allowed.)
// image goes through RGB and back through the CMYK profile, so a few levels of drift are allowed.)
for depth in [8, 16] {
let mut s = cmyk_session(depth);
let before = (px(&s, 5, 5), px(&s, 30, 5));
@@ -862,7 +862,12 @@ mod tests {
assert!(px(&s, 30, 5).iter().zip(&before.1).all(|(a, b)| (a - b).abs() < 1e-3), "depth {depth}: no ink stays no ink");
s.undo();
s.execute("image.applyImage", json!({"blending": "normal"})).unwrap();
assert!(px(&s, 5, 5).iter().zip(&before.0).all(|(a, b)| (a - b).abs() < 0.02), "depth {depth}: CMYK onto itself is a no-op");
assert!(
px(&s, 5, 5).iter().zip(&before.0).all(|(a, b)| (a - b).abs() < 0.025),
"depth {depth}: CMYK onto itself is a no-op, {:?} vs {:?}",
px(&s, 5, 5),
before.0
);
s.execute("channel.new", json!({"fill": "black"})).unwrap();
s.execute("image.applyImage", json!({"source": {"channel": "cyan"}, "blending": "normal"})).unwrap();
assert!((chan(&s, 0, 30, 5) - 1.0).abs() < 1e-3, "depth {depth}: tone into an alpha channel");
@@ -877,7 +882,8 @@ mod tests {
for depth in [8, 16] {
let mut s = cmyk_session(depth);
let (left, right) = (px(&s, 5, 5), px(&s, 30, 5));
let near = |a: &[f32], b: &[f32]| a.iter().zip(b).all(|(x, y)| (x - y).abs() < 0.01);
// The source goes through RGB and back through the CMYK profile: a few levels of drift.
let near = |a: &[f32], b: &[f32]| a.iter().zip(b).all(|(x, y)| (x - y).abs() < 0.015);
s.execute("channel.new", json!({"fill": "white"})).unwrap();
s.execute("channel.target", json!({"channel": "composite"})).unwrap();
s.execute("image.applyImage", json!({"source": {"channel": 0}})).unwrap();
@@ -902,7 +908,8 @@ mod tests {
#[test]
fn apply_image_onto_a_spot_channel_blends_as_tone() {
let near = |a: &[f32], b: &[f32]| a.len() == b.len() && a.iter().zip(b).all(|(x, y)| (x - y).abs() < 0.01);
// Cyan's tone is read through the CMYK profile: a few levels of drift.
let near = |a: &[f32], b: &[f32]| a.len() == b.len() && a.iter().zip(b).all(|(x, y)| (x - y).abs() < 0.015);
// #5787: a spot channel stores ink but reads and takes tone, so the spot applied onto itself
// changes nothing (Normal or Multiply), and Cyan applied onto it gives it Cyan's ink.
for depth in [8, 16] {
@@ -919,7 +926,7 @@ mod tests {
assert!(near(&ink(&s), &before), "depth {depth}: {blending} onto itself, {:?}", ink(&s));
}
s.execute("image.applyImage", json!({"source": {"channel": "cyan"}, "blending": "normal", "target": {"channel": spot}})).unwrap();
assert!(near(&ink(&s), &[cyan, cyan, 0.0]), "depth {depth}: Cyan's ink, {:?}", ink(&s));
assert!(near(&ink(&s), &[cyan, cyan, 0.0]), "depth {depth}: Cyan's ink {cyan}, {:?}", ink(&s));
}
}
+8 -2
View File
@@ -41,6 +41,12 @@ fn max_diff(d: &Document, back: &Document) -> f32 {
want.iter().zip(&got.px).flat_map(|(p, q)| p.iter().zip(q).map(|(u, v)| (u - v).abs())).fold(0.0, f32::max)
}
/// How far a reopened pattern fill may differ: CMYK goes through its profile both ways, and the
/// trilinear Lab tables of craft-libs#4055 drift a little more there.
fn limit(mode: ColorMode) -> f32 {
if mode == ColorMode::Cmyk { 0.025 } else { 0.02 }
}
#[test]
fn pattern_fill_survives_psd_and_layered_tiff_in_every_mode() {
for mode in [ColorMode::Rgb, ColorMode::Grayscale, ColorMode::Cmyk, ColorMode::Lab] {
@@ -62,7 +68,7 @@ fn pattern_fill_survives_psd_and_layered_tiff_in_every_mode() {
.unwrap_or_else(|| panic!("{mode:?}/{depth:?} {path}: layers {names:?}, warnings {:?}", r.warnings));
assert!(matches!(l.content, LayerContent::Fill(Fill::Pattern { .. })), "{mode:?}/{depth:?} {path}");
let diff = max_diff(&d, &back);
assert!(diff < 0.02, "{mode:?}/{depth:?} {path}: the reopened pattern fill differs by {diff}");
assert!(diff < limit(mode), "{mode:?}/{depth:?} {path}: the reopened pattern fill differs by {diff}");
}
}
}
@@ -87,6 +93,6 @@ fn vector_masked_pattern_fill_survives_psd() {
assert!(matches!(l.content, LayerContent::Fill(Fill::Pattern { .. })), "{mode:?}: reopened as a pattern fill");
assert!(l.vector_mask.is_some(), "{mode:?}: keeps its vector mask");
let diff = max_diff(&d, &back);
assert!(diff < 0.02, "{mode:?}: the reopened layer differs by {diff}");
assert!(diff < limit(mode), "{mode:?}: the reopened layer differs by {diff}");
}
}
+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 = "fc3262f68babdb19a98a89c415c84c6b327073d3" }
craft-ipp = { git = "https://github.com/storytold/craft-libs", rev = "baf6de310ebf1c77eb47a00319ccbbb07352bd49" }
[lints]
workspace = true
@@ -807,12 +807,12 @@ fn crop_menu_rows_act_like_the_options_bar() {
// Clear empties W x H x Resolution, as the bar's Clear.
choose(&mut app, &ctx, CROP_CLEAR);
assert_eq!(app.ui.tool_options.crop.size.width, None);
// Overlays: another overlay starts at its first orientation; when it shows.
// Overlays: another overlay keeps the orientation counter Triangle and Golden Spiral share (#17673); when it shows.
app.ui.tool_options.crop.guide = CropGuide::GoldenSpiral;
app.ui.tool_options.crop.guide_orientation = 2;
reopen(&mut app);
choose(&mut app, &ctx, "crop.overlay.triangle");
assert_eq!((app.ui.tool_options.crop.guide, app.ui.tool_options.crop.guide_orientation), (CropGuide::Triangle, 0));
assert_eq!((app.ui.tool_options.crop.guide, app.ui.tool_options.crop.guide_orientation), (CropGuide::Triangle, 2));
reopen(&mut app);
choose(&mut app, &ctx, "crop.overlayShow.never");
assert_eq!(app.ui.tool_options.crop.guide_show, GuideShow::Never);
+1 -1
View File
@@ -149,7 +149,7 @@ fn is_prompt<T: std::any::Any>(app: &PhotocraftApp, id: DialogId) -> bool {
}
fn is_unsaved(app: &PhotocraftApp, id: DialogId) -> bool {
host(app).get_by_id::<craft::ui::dialog::UnsavedChangesDialog>(id).is_some()
host(app).get_by_id::<craft::ui::dialog::HostedUnsavedChangesDialog>(id).is_some()
}
/// Whether confirming dialog `id` answers the unsaved-changes prompt with Save.
+8 -8
View File
@@ -6,7 +6,7 @@
//! tracked by id, not tab index, so closing one elsewhere while the prompt is up can't retarget it.
use craft::quit::{CloseAnswer, CloseScope};
use craft::ui::dialog::{DialogResult, UnsavedAnswer, UnsavedChangesDialog};
use craft::ui::dialog::{DialogResult, HostedUnsavedChangesDialog, UnsavedAnswer, UnsavedChangesDialog};
use craft::ui::shell::embed::CloseDecision;
use photocraft_doc::DocId;
use serde_json::{Value, json};
@@ -306,7 +306,7 @@ pub(crate) fn take(app: &mut PhotocraftApp, ctx: &egui::Context) {
}
// The answer of the open question. The host reports `Cancel` only for a question it closed from
// outside (a control client's cancel): the client wants the prompt dropped like Esc would.
let result = match app.framework.dialogs.take::<UnsavedChangesDialog>() {
let result = match app.framework.dialogs.take::<HostedUnsavedChangesDialog>() {
Some(DialogResult::Ok(given)) => Some((answer_choice(given), given.apply_to_all)),
Some(_) => Some((Answer::Cancel, false)),
None => None,
@@ -328,11 +328,11 @@ pub(crate) fn take(app: &mut PhotocraftApp, ctx: &egui::Context) {
}
return;
}
if !app.framework.dialogs.is_open::<UnsavedChangesDialog>() {
if !app.framework.dialogs.is_open::<HostedUnsavedChangesDialog>() {
let remaining = app.discard.as_ref().map_or(1, |p| p.docs.len());
// Apply to All is offered only while several documents are left, and never for a revert:
// the dialog decides from `remaining` and the scope.
app.framework.dialogs.open(UnsavedChangesDialog::new(scope, name).remaining(remaining));
app.framework.dialogs.open(HostedUnsavedChangesDialog::new(UnsavedChangesDialog::new(scope, name).remaining(remaining)));
if let Some(p) = app.discard.as_mut() {
p.asked = Some(doc);
}
@@ -353,14 +353,14 @@ fn scope_of(id: &str) -> CloseScope {
/// quitting replaced it, or its front document moved on. The result the host keeps for it is
/// dropped here so it is not taken as an answer.
fn close_stale_question(app: &mut PhotocraftApp, ctx: &egui::Context) {
if !app.framework.dialogs.is_open::<UnsavedChangesDialog>() {
if !app.framework.dialogs.is_open::<HostedUnsavedChangesDialog>() {
return;
}
let front = app.discard.as_ref().and_then(|p| p.docs.first().copied());
let asked = app.discard.as_ref().and_then(|p| p.asked);
if front.is_none() || front != asked {
app.framework.dialogs.cancel::<UnsavedChangesDialog>(ctx);
let _ = app.framework.dialogs.take::<UnsavedChangesDialog>();
app.framework.dialogs.cancel::<HostedUnsavedChangesDialog>(ctx);
let _ = app.framework.dialogs.take::<HostedUnsavedChangesDialog>();
}
}
@@ -424,7 +424,7 @@ pub const CONTROL_ID: &str = "discard";
/// The host's id of the open question, for a control request naming [`CONTROL_ID`].
pub(crate) fn host_id(app: &PhotocraftApp) -> Option<craft::ui::dialog::DialogId> {
app.framework.dialogs.get::<UnsavedChangesDialog>().map(craft::ui::dialog::StackDialog::id)
app.framework.dialogs.get::<HostedUnsavedChangesDialog>().map(craft::ui::dialog::StackDialog::id)
}
/// Lists the open question in `dialogs` (the host's `ui.inspect` entries) under [`CONTROL_ID`], its fields adding the
@@ -228,7 +228,7 @@ fn docs_left(h: &Prompted) -> Option<usize> {
/// Whether the question is on the dialog host.
fn question_open(h: &Prompted) -> bool {
h.state().framework.dialogs.is_open::<UnsavedChangesDialog>()
h.state().framework.dialogs.is_open::<HostedUnsavedChangesDialog>()
}
/// The open question's host id.