Merge main into fix/stroke-weight-draft-target

This commit is contained in:
dotCooCoo committed 2026-12-05 10:23:53 -08:00
commit 07ba517a0d
9 files changed
+302 -149

No files matched your search

Generated
+93 -93
View File
@@ -1256,7 +1256,7 @@ dependencies = [
[[package]]
name = "craft"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4b82545cfa30364bf5ad7140ec8ffa0784aa3135#4b82545cfa30364bf5ad7140ec8ffa0784aa3135"
source = "git+https://github.com/storytold/craft-libs?rev=bd7c9e342a33796c9b36b33763c5b63883a22b79#bd7c9e342a33796c9b36b33763c5b63883a22b79"
dependencies = [
"craft-automation",
"craft-behavior",
@@ -1298,7 +1298,7 @@ dependencies = [
[[package]]
name = "craft-affinity"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4b82545cfa30364bf5ad7140ec8ffa0784aa3135#4b82545cfa30364bf5ad7140ec8ffa0784aa3135"
source = "git+https://github.com/storytold/craft-libs?rev=bd7c9e342a33796c9b36b33763c5b63883a22b79#bd7c9e342a33796c9b36b33763c5b63883a22b79"
dependencies = [
"crc32fast",
"flate2",
@@ -1319,7 +1319,7 @@ dependencies = [
[[package]]
name = "craft-appkit"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4b82545cfa30364bf5ad7140ec8ffa0784aa3135#4b82545cfa30364bf5ad7140ec8ffa0784aa3135"
source = "git+https://github.com/storytold/craft-libs?rev=bd7c9e342a33796c9b36b33763c5b63883a22b79#bd7c9e342a33796c9b36b33763c5b63883a22b79"
dependencies = [
"block2 0.6.2",
"objc2 0.6.5",
@@ -1331,7 +1331,7 @@ dependencies = [
[[package]]
name = "craft-atomic"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4b82545cfa30364bf5ad7140ec8ffa0784aa3135#4b82545cfa30364bf5ad7140ec8ffa0784aa3135"
source = "git+https://github.com/storytold/craft-libs?rev=bd7c9e342a33796c9b36b33763c5b63883a22b79#bd7c9e342a33796c9b36b33763c5b63883a22b79"
dependencies = [
"rustix 1.1.6",
]
@@ -1339,7 +1339,7 @@ dependencies = [
[[package]]
name = "craft-automation"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4b82545cfa30364bf5ad7140ec8ffa0784aa3135#4b82545cfa30364bf5ad7140ec8ffa0784aa3135"
source = "git+https://github.com/storytold/craft-libs?rev=bd7c9e342a33796c9b36b33763c5b63883a22b79#bd7c9e342a33796c9b36b33763c5b63883a22b79"
dependencies = [
"base64 0.23.1",
"craft-behavior",
@@ -1364,7 +1364,7 @@ dependencies = [
[[package]]
name = "craft-behavior"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4b82545cfa30364bf5ad7140ec8ffa0784aa3135#4b82545cfa30364bf5ad7140ec8ffa0784aa3135"
source = "git+https://github.com/storytold/craft-libs?rev=bd7c9e342a33796c9b36b33763c5b63883a22b79#bd7c9e342a33796c9b36b33763c5b63883a22b79"
dependencies = [
"accesskit",
"bitflags 2.13.2",
@@ -1383,7 +1383,7 @@ dependencies = [
[[package]]
name = "craft-browse"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4b82545cfa30364bf5ad7140ec8ffa0784aa3135#4b82545cfa30364bf5ad7140ec8ffa0784aa3135"
source = "git+https://github.com/storytold/craft-libs?rev=bd7c9e342a33796c9b36b33763c5b63883a22b79#bd7c9e342a33796c9b36b33763c5b63883a22b79"
dependencies = [
"craft-behavior",
"craft-docpath",
@@ -1401,7 +1401,7 @@ dependencies = [
[[package]]
name = "craft-cdr"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4b82545cfa30364bf5ad7140ec8ffa0784aa3135#4b82545cfa30364bf5ad7140ec8ffa0784aa3135"
source = "git+https://github.com/storytold/craft-libs?rev=bd7c9e342a33796c9b36b33763c5b63883a22b79#bd7c9e342a33796c9b36b33763c5b63883a22b79"
dependencies = [
"crc32fast",
"flate2",
@@ -1410,7 +1410,7 @@ dependencies = [
[[package]]
name = "craft-cloud-ui"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4b82545cfa30364bf5ad7140ec8ffa0784aa3135#4b82545cfa30364bf5ad7140ec8ffa0784aa3135"
source = "git+https://github.com/storytold/craft-libs?rev=bd7c9e342a33796c9b36b33763c5b63883a22b79#bd7c9e342a33796c9b36b33763c5b63883a22b79"
dependencies = [
"egui",
]
@@ -1418,7 +1418,7 @@ dependencies = [
[[package]]
name = "craft-cms"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4b82545cfa30364bf5ad7140ec8ffa0784aa3135#4b82545cfa30364bf5ad7140ec8ffa0784aa3135"
source = "git+https://github.com/storytold/craft-libs?rev=bd7c9e342a33796c9b36b33763c5b63883a22b79#bd7c9e342a33796c9b36b33763c5b63883a22b79"
dependencies = [
"md-5",
"rayon",
@@ -1427,12 +1427,12 @@ dependencies = [
[[package]]
name = "craft-codepage"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4b82545cfa30364bf5ad7140ec8ffa0784aa3135#4b82545cfa30364bf5ad7140ec8ffa0784aa3135"
source = "git+https://github.com/storytold/craft-libs?rev=bd7c9e342a33796c9b36b33763c5b63883a22b79#bd7c9e342a33796c9b36b33763c5b63883a22b79"
[[package]]
name = "craft-color-ui"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4b82545cfa30364bf5ad7140ec8ffa0784aa3135#4b82545cfa30364bf5ad7140ec8ffa0784aa3135"
source = "git+https://github.com/storytold/craft-libs?rev=bd7c9e342a33796c9b36b33763c5b63883a22b79#bd7c9e342a33796c9b36b33763c5b63883a22b79"
dependencies = [
"craft-behavior",
"craft-cms",
@@ -1452,7 +1452,7 @@ dependencies = [
[[package]]
name = "craft-control"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4b82545cfa30364bf5ad7140ec8ffa0784aa3135#4b82545cfa30364bf5ad7140ec8ffa0784aa3135"
source = "git+https://github.com/storytold/craft-libs?rev=bd7c9e342a33796c9b36b33763c5b63883a22b79#bd7c9e342a33796c9b36b33763c5b63883a22b79"
dependencies = [
"craft-ai-agents",
"craft-atomic",
@@ -1468,7 +1468,7 @@ dependencies = [
[[package]]
name = "craft-control-protocol"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4b82545cfa30364bf5ad7140ec8ffa0784aa3135#4b82545cfa30364bf5ad7140ec8ffa0784aa3135"
source = "git+https://github.com/storytold/craft-libs?rev=bd7c9e342a33796c9b36b33763c5b63883a22b79#bd7c9e342a33796c9b36b33763c5b63883a22b79"
dependencies = [
"getrandom 0.3.4",
"serde_json",
@@ -1478,7 +1478,7 @@ dependencies = [
[[package]]
name = "craft-dds"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4b82545cfa30364bf5ad7140ec8ffa0784aa3135#4b82545cfa30364bf5ad7140ec8ffa0784aa3135"
source = "git+https://github.com/storytold/craft-libs?rev=bd7c9e342a33796c9b36b33763c5b63883a22b79#bd7c9e342a33796c9b36b33763c5b63883a22b79"
dependencies = [
"rayon",
]
@@ -1486,7 +1486,7 @@ dependencies = [
[[package]]
name = "craft-dialogs"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4b82545cfa30364bf5ad7140ec8ffa0784aa3135#4b82545cfa30364bf5ad7140ec8ffa0784aa3135"
source = "git+https://github.com/storytold/craft-libs?rev=bd7c9e342a33796c9b36b33763c5b63883a22b79#bd7c9e342a33796c9b36b33763c5b63883a22b79"
dependencies = [
"block2 0.6.2",
"craft-appkit",
@@ -1512,7 +1512,7 @@ dependencies = [
[[package]]
name = "craft-doc"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4b82545cfa30364bf5ad7140ec8ffa0784aa3135#4b82545cfa30364bf5ad7140ec8ffa0784aa3135"
source = "git+https://github.com/storytold/craft-libs?rev=bd7c9e342a33796c9b36b33763c5b63883a22b79#bd7c9e342a33796c9b36b33763c5b63883a22b79"
dependencies = [
"blake3",
"craft-ecproj-format",
@@ -1528,7 +1528,7 @@ dependencies = [
[[package]]
name = "craft-docpath"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4b82545cfa30364bf5ad7140ec8ffa0784aa3135#4b82545cfa30364bf5ad7140ec8ffa0784aa3135"
source = "git+https://github.com/storytold/craft-libs?rev=bd7c9e342a33796c9b36b33763c5b63883a22b79#bd7c9e342a33796c9b36b33763c5b63883a22b79"
dependencies = [
"serde",
]
@@ -1536,7 +1536,7 @@ dependencies = [
[[package]]
name = "craft-draw"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4b82545cfa30364bf5ad7140ec8ffa0784aa3135#4b82545cfa30364bf5ad7140ec8ffa0784aa3135"
source = "git+https://github.com/storytold/craft-libs?rev=bd7c9e342a33796c9b36b33763c5b63883a22b79#bd7c9e342a33796c9b36b33763c5b63883a22b79"
dependencies = [
"craft-behavior",
"craft-color-ui",
@@ -1555,7 +1555,7 @@ dependencies = [
[[package]]
name = "craft-dwg"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4b82545cfa30364bf5ad7140ec8ffa0784aa3135#4b82545cfa30364bf5ad7140ec8ffa0784aa3135"
source = "git+https://github.com/storytold/craft-libs?rev=bd7c9e342a33796c9b36b33763c5b63883a22b79#bd7c9e342a33796c9b36b33763c5b63883a22b79"
dependencies = [
"acadrust",
"craft-dxf",
@@ -1565,7 +1565,7 @@ dependencies = [
[[package]]
name = "craft-dxf"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4b82545cfa30364bf5ad7140ec8ffa0784aa3135#4b82545cfa30364bf5ad7140ec8ffa0784aa3135"
source = "git+https://github.com/storytold/craft-libs?rev=bd7c9e342a33796c9b36b33763c5b63883a22b79#bd7c9e342a33796c9b36b33763c5b63883a22b79"
dependencies = [
"craft-codepage",
"encoding_rs",
@@ -1577,7 +1577,7 @@ dependencies = [
[[package]]
name = "craft-ecproj-format"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4b82545cfa30364bf5ad7140ec8ffa0784aa3135#4b82545cfa30364bf5ad7140ec8ffa0784aa3135"
source = "git+https://github.com/storytold/craft-libs?rev=bd7c9e342a33796c9b36b33763c5b63883a22b79#bd7c9e342a33796c9b36b33763c5b63883a22b79"
dependencies = [
"serde",
"serde_json",
@@ -1587,12 +1587,12 @@ dependencies = [
[[package]]
name = "craft-eps"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4b82545cfa30364bf5ad7140ec8ffa0784aa3135#4b82545cfa30364bf5ad7140ec8ffa0784aa3135"
source = "git+https://github.com/storytold/craft-libs?rev=bd7c9e342a33796c9b36b33763c5b63883a22b79#bd7c9e342a33796c9b36b33763c5b63883a22b79"
[[package]]
name = "craft-flags"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4b82545cfa30364bf5ad7140ec8ffa0784aa3135#4b82545cfa30364bf5ad7140ec8ffa0784aa3135"
source = "git+https://github.com/storytold/craft-libs?rev=bd7c9e342a33796c9b36b33763c5b63883a22b79#bd7c9e342a33796c9b36b33763c5b63883a22b79"
dependencies = [
"craft-atomic",
"dirs",
@@ -1602,7 +1602,7 @@ dependencies = [
[[package]]
name = "craft-font-catalog"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4b82545cfa30364bf5ad7140ec8ffa0784aa3135#4b82545cfa30364bf5ad7140ec8ffa0784aa3135"
source = "git+https://github.com/storytold/craft-libs?rev=bd7c9e342a33796c9b36b33763c5b63883a22b79#bd7c9e342a33796c9b36b33763c5b63883a22b79"
dependencies = [
"fontique",
"harfrust 0.13.3",
@@ -1617,7 +1617,7 @@ dependencies = [
[[package]]
name = "craft-font-manager"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4b82545cfa30364bf5ad7140ec8ffa0784aa3135#4b82545cfa30364bf5ad7140ec8ffa0784aa3135"
source = "git+https://github.com/storytold/craft-libs?rev=bd7c9e342a33796c9b36b33763c5b63883a22b79#bd7c9e342a33796c9b36b33763c5b63883a22b79"
dependencies = [
"craft-behavior",
"craft-font-catalog",
@@ -1636,7 +1636,7 @@ dependencies = [
[[package]]
name = "craft-font-os-windows"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4b82545cfa30364bf5ad7140ec8ffa0784aa3135#4b82545cfa30364bf5ad7140ec8ffa0784aa3135"
source = "git+https://github.com/storytold/craft-libs?rev=bd7c9e342a33796c9b36b33763c5b63883a22b79#bd7c9e342a33796c9b36b33763c5b63883a22b79"
dependencies = [
"windows-registry",
"windows-sys 0.61.2",
@@ -1645,7 +1645,7 @@ dependencies = [
[[package]]
name = "craft-font-store"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4b82545cfa30364bf5ad7140ec8ffa0784aa3135#4b82545cfa30364bf5ad7140ec8ffa0784aa3135"
source = "git+https://github.com/storytold/craft-libs?rev=bd7c9e342a33796c9b36b33763c5b63883a22b79#bd7c9e342a33796c9b36b33763c5b63883a22b79"
dependencies = [
"cap-primitives",
"craft-atomic",
@@ -1668,12 +1668,12 @@ dependencies = [
[[package]]
name = "craft-fonts-build"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4b82545cfa30364bf5ad7140ec8ffa0784aa3135#4b82545cfa30364bf5ad7140ec8ffa0784aa3135"
source = "git+https://github.com/storytold/craft-libs?rev=bd7c9e342a33796c9b36b33763c5b63883a22b79#bd7c9e342a33796c9b36b33763c5b63883a22b79"
[[package]]
name = "craft-gif"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4b82545cfa30364bf5ad7140ec8ffa0784aa3135#4b82545cfa30364bf5ad7140ec8ffa0784aa3135"
source = "git+https://github.com/storytold/craft-libs?rev=bd7c9e342a33796c9b36b33763c5b63883a22b79#bd7c9e342a33796c9b36b33763c5b63883a22b79"
dependencies = [
"gif",
]
@@ -1681,7 +1681,7 @@ dependencies = [
[[package]]
name = "craft-gzip"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4b82545cfa30364bf5ad7140ec8ffa0784aa3135#4b82545cfa30364bf5ad7140ec8ffa0784aa3135"
source = "git+https://github.com/storytold/craft-libs?rev=bd7c9e342a33796c9b36b33763c5b63883a22b79#bd7c9e342a33796c9b36b33763c5b63883a22b79"
dependencies = [
"flate2",
]
@@ -1689,7 +1689,7 @@ dependencies = [
[[package]]
name = "craft-host"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4b82545cfa30364bf5ad7140ec8ffa0784aa3135#4b82545cfa30364bf5ad7140ec8ffa0784aa3135"
source = "git+https://github.com/storytold/craft-libs?rev=bd7c9e342a33796c9b36b33763c5b63883a22b79#bd7c9e342a33796c9b36b33763c5b63883a22b79"
dependencies = [
"bitflags 2.13.2",
"craft-i18n",
@@ -1702,7 +1702,7 @@ dependencies = [
[[package]]
name = "craft-i18n"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4b82545cfa30364bf5ad7140ec8ffa0784aa3135#4b82545cfa30364bf5ad7140ec8ffa0784aa3135"
source = "git+https://github.com/storytold/craft-libs?rev=bd7c9e342a33796c9b36b33763c5b63883a22b79#bd7c9e342a33796c9b36b33763c5b63883a22b79"
dependencies = [
"brotli 9.1.3",
"brotli-decompressor 6.3.2",
@@ -1732,7 +1732,7 @@ dependencies = [
[[package]]
name = "craft-image-codecs"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4b82545cfa30364bf5ad7140ec8ffa0784aa3135#4b82545cfa30364bf5ad7140ec8ffa0784aa3135"
source = "git+https://github.com/storytold/craft-libs?rev=bd7c9e342a33796c9b36b33763c5b63883a22b79#bd7c9e342a33796c9b36b33763c5b63883a22b79"
dependencies = [
"craft-dds",
"craft-jpeg",
@@ -1759,7 +1759,7 @@ dependencies = [
[[package]]
name = "craft-imaging"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4b82545cfa30364bf5ad7140ec8ffa0784aa3135#4b82545cfa30364bf5ad7140ec8ffa0784aa3135"
source = "git+https://github.com/storytold/craft-libs?rev=bd7c9e342a33796c9b36b33763c5b63883a22b79#bd7c9e342a33796c9b36b33763c5b63883a22b79"
dependencies = [
"craft-behavior",
"craft-color-ui",
@@ -1777,7 +1777,7 @@ dependencies = [
[[package]]
name = "craft-jpeg"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4b82545cfa30364bf5ad7140ec8ffa0784aa3135#4b82545cfa30364bf5ad7140ec8ffa0784aa3135"
source = "git+https://github.com/storytold/craft-libs?rev=bd7c9e342a33796c9b36b33763c5b63883a22b79#bd7c9e342a33796c9b36b33763c5b63883a22b79"
dependencies = [
"thiserror 2.0.21",
]
@@ -1785,7 +1785,7 @@ dependencies = [
[[package]]
name = "craft-jxl"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4b82545cfa30364bf5ad7140ec8ffa0784aa3135#4b82545cfa30364bf5ad7140ec8ffa0784aa3135"
source = "git+https://github.com/storytold/craft-libs?rev=bd7c9e342a33796c9b36b33763c5b63883a22b79#bd7c9e342a33796c9b36b33763c5b63883a22b79"
dependencies = [
"brotli-decompressor 5.0.3",
"jixel",
@@ -1796,7 +1796,7 @@ dependencies = [
[[package]]
name = "craft-keymap"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4b82545cfa30364bf5ad7140ec8ffa0784aa3135#4b82545cfa30364bf5ad7140ec8ffa0784aa3135"
source = "git+https://github.com/storytold/craft-libs?rev=bd7c9e342a33796c9b36b33763c5b63883a22b79#bd7c9e342a33796c9b36b33763c5b63883a22b79"
dependencies = [
"craft-host",
"craft-i18n",
@@ -1811,7 +1811,7 @@ dependencies = [
[[package]]
name = "craft-layers"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4b82545cfa30364bf5ad7140ec8ffa0784aa3135#4b82545cfa30364bf5ad7140ec8ffa0784aa3135"
source = "git+https://github.com/storytold/craft-libs?rev=bd7c9e342a33796c9b36b33763c5b63883a22b79#bd7c9e342a33796c9b36b33763c5b63883a22b79"
dependencies = [
"craft-behavior",
"craft-i18n",
@@ -1825,7 +1825,7 @@ dependencies = [
[[package]]
name = "craft-menu"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4b82545cfa30364bf5ad7140ec8ffa0784aa3135#4b82545cfa30364bf5ad7140ec8ffa0784aa3135"
source = "git+https://github.com/storytold/craft-libs?rev=bd7c9e342a33796c9b36b33763c5b63883a22b79#bd7c9e342a33796c9b36b33763c5b63883a22b79"
dependencies = [
"craft-behavior",
"craft-host",
@@ -1843,7 +1843,7 @@ dependencies = [
[[package]]
name = "craft-metadata"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4b82545cfa30364bf5ad7140ec8ffa0784aa3135#4b82545cfa30364bf5ad7140ec8ffa0784aa3135"
source = "git+https://github.com/storytold/craft-libs?rev=bd7c9e342a33796c9b36b33763c5b63883a22b79#bd7c9e342a33796c9b36b33763c5b63883a22b79"
dependencies = [
"brotli-decompressor 6.3.2",
"chrono",
@@ -1855,7 +1855,7 @@ dependencies = [
[[package]]
name = "craft-metafile"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4b82545cfa30364bf5ad7140ec8ffa0784aa3135#4b82545cfa30364bf5ad7140ec8ffa0784aa3135"
source = "git+https://github.com/storytold/craft-libs?rev=bd7c9e342a33796c9b36b33763c5b63883a22b79#bd7c9e342a33796c9b36b33763c5b63883a22b79"
dependencies = [
"encoding_rs",
"image",
@@ -1866,7 +1866,7 @@ dependencies = [
[[package]]
name = "craft-mime"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4b82545cfa30364bf5ad7140ec8ffa0784aa3135#4b82545cfa30364bf5ad7140ec8ffa0784aa3135"
source = "git+https://github.com/storytold/craft-libs?rev=bd7c9e342a33796c9b36b33763c5b63883a22b79#bd7c9e342a33796c9b36b33763c5b63883a22b79"
dependencies = [
"chrono",
"craft-codepage",
@@ -1876,7 +1876,7 @@ dependencies = [
[[package]]
name = "craft-nightly"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4b82545cfa30364bf5ad7140ec8ffa0784aa3135#4b82545cfa30364bf5ad7140ec8ffa0784aa3135"
source = "git+https://github.com/storytold/craft-libs?rev=bd7c9e342a33796c9b36b33763c5b63883a22b79#bd7c9e342a33796c9b36b33763c5b63883a22b79"
dependencies = [
"uds_windows",
"winsafe",
@@ -1885,7 +1885,7 @@ dependencies = [
[[package]]
name = "craft-pages"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4b82545cfa30364bf5ad7140ec8ffa0784aa3135#4b82545cfa30364bf5ad7140ec8ffa0784aa3135"
source = "git+https://github.com/storytold/craft-libs?rev=bd7c9e342a33796c9b36b33763c5b63883a22b79#bd7c9e342a33796c9b36b33763c5b63883a22b79"
dependencies = [
"craft-behavior",
"craft-keymap",
@@ -1901,7 +1901,7 @@ dependencies = [
[[package]]
name = "craft-pbr"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4b82545cfa30364bf5ad7140ec8ffa0784aa3135#4b82545cfa30364bf5ad7140ec8ffa0784aa3135"
source = "git+https://github.com/storytold/craft-libs?rev=bd7c9e342a33796c9b36b33763c5b63883a22b79#bd7c9e342a33796c9b36b33763c5b63883a22b79"
dependencies = [
"craft-texture",
"thiserror 2.0.21",
@@ -1910,7 +1910,7 @@ dependencies = [
[[package]]
name = "craft-pcraft-format"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4b82545cfa30364bf5ad7140ec8ffa0784aa3135#4b82545cfa30364bf5ad7140ec8ffa0784aa3135"
source = "git+https://github.com/storytold/craft-libs?rev=bd7c9e342a33796c9b36b33763c5b63883a22b79#bd7c9e342a33796c9b36b33763c5b63883a22b79"
dependencies = [
"flate2",
"serde",
@@ -1921,7 +1921,7 @@ dependencies = [
[[package]]
name = "craft-pdf"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4b82545cfa30364bf5ad7140ec8ffa0784aa3135#4b82545cfa30364bf5ad7140ec8ffa0784aa3135"
source = "git+https://github.com/storytold/craft-libs?rev=bd7c9e342a33796c9b36b33763c5b63883a22b79#bd7c9e342a33796c9b36b33763c5b63883a22b79"
dependencies = [
"hayro-interpret",
"hayro-syntax",
@@ -1933,7 +1933,7 @@ dependencies = [
[[package]]
name = "craft-platform"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4b82545cfa30364bf5ad7140ec8ffa0784aa3135#4b82545cfa30364bf5ad7140ec8ffa0784aa3135"
source = "git+https://github.com/storytold/craft-libs?rev=bd7c9e342a33796c9b36b33763c5b63883a22b79#bd7c9e342a33796c9b36b33763c5b63883a22b79"
dependencies = [
"async-channel",
"async-io",
@@ -1966,7 +1966,7 @@ dependencies = [
[[package]]
name = "craft-plotter"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4b82545cfa30364bf5ad7140ec8ffa0784aa3135#4b82545cfa30364bf5ad7140ec8ffa0784aa3135"
source = "git+https://github.com/storytold/craft-libs?rev=bd7c9e342a33796c9b36b33763c5b63883a22b79#bd7c9e342a33796c9b36b33763c5b63883a22b79"
dependencies = [
"kurbo 0.13.1",
"thiserror 2.0.21",
@@ -1975,7 +1975,7 @@ dependencies = [
[[package]]
name = "craft-print"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4b82545cfa30364bf5ad7140ec8ffa0784aa3135#4b82545cfa30364bf5ad7140ec8ffa0784aa3135"
source = "git+https://github.com/storytold/craft-libs?rev=bd7c9e342a33796c9b36b33763c5b63883a22b79#bd7c9e342a33796c9b36b33763c5b63883a22b79"
dependencies = [
"craft-behavior",
"craft-host",
@@ -1999,7 +1999,7 @@ dependencies = [
[[package]]
name = "craft-proof"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4b82545cfa30364bf5ad7140ec8ffa0784aa3135#4b82545cfa30364bf5ad7140ec8ffa0784aa3135"
source = "git+https://github.com/storytold/craft-libs?rev=bd7c9e342a33796c9b36b33763c5b63883a22b79#bd7c9e342a33796c9b36b33763c5b63883a22b79"
dependencies = [
"log",
"miniz_oxide 0.9.1",
@@ -2010,7 +2010,7 @@ dependencies = [
[[package]]
name = "craft-ps"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4b82545cfa30364bf5ad7140ec8ffa0784aa3135#4b82545cfa30364bf5ad7140ec8ffa0784aa3135"
source = "git+https://github.com/storytold/craft-libs?rev=bd7c9e342a33796c9b36b33763c5b63883a22b79#bd7c9e342a33796c9b36b33763c5b63883a22b79"
dependencies = [
"craft-eps",
"flate2",
@@ -2024,7 +2024,7 @@ dependencies = [
[[package]]
name = "craft-psd"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4b82545cfa30364bf5ad7140ec8ffa0784aa3135#4b82545cfa30364bf5ad7140ec8ffa0784aa3135"
source = "git+https://github.com/storytold/craft-libs?rev=bd7c9e342a33796c9b36b33763c5b63883a22b79#bd7c9e342a33796c9b36b33763c5b63883a22b79"
dependencies = [
"encoding_rs",
"flate2",
@@ -2035,7 +2035,7 @@ dependencies = [
[[package]]
name = "craft-quit"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4b82545cfa30364bf5ad7140ec8ffa0784aa3135#4b82545cfa30364bf5ad7140ec8ffa0784aa3135"
source = "git+https://github.com/storytold/craft-libs?rev=bd7c9e342a33796c9b36b33763c5b63883a22b79#bd7c9e342a33796c9b36b33763c5b63883a22b79"
dependencies = [
"dispatch2",
"egui",
@@ -2048,7 +2048,7 @@ dependencies = [
[[package]]
name = "craft-raster3d"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4b82545cfa30364bf5ad7140ec8ffa0784aa3135#4b82545cfa30364bf5ad7140ec8ffa0784aa3135"
source = "git+https://github.com/storytold/craft-libs?rev=bd7c9e342a33796c9b36b33763c5b63883a22b79#bd7c9e342a33796c9b36b33763c5b63883a22b79"
dependencies = [
"rayon",
"thiserror 2.0.21",
@@ -2057,7 +2057,7 @@ dependencies = [
[[package]]
name = "craft-review"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4b82545cfa30364bf5ad7140ec8ffa0784aa3135#4b82545cfa30364bf5ad7140ec8ffa0784aa3135"
source = "git+https://github.com/storytold/craft-libs?rev=bd7c9e342a33796c9b36b33763c5b63883a22b79#bd7c9e342a33796c9b36b33763c5b63883a22b79"
dependencies = [
"base64 0.23.1",
"craft-behavior",
@@ -2076,7 +2076,7 @@ dependencies = [
[[package]]
name = "craft-settings"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4b82545cfa30364bf5ad7140ec8ffa0784aa3135#4b82545cfa30364bf5ad7140ec8ffa0784aa3135"
source = "git+https://github.com/storytold/craft-libs?rev=bd7c9e342a33796c9b36b33763c5b63883a22b79#bd7c9e342a33796c9b36b33763c5b63883a22b79"
dependencies = [
"craft-atomic",
"craft-host",
@@ -2093,7 +2093,7 @@ dependencies = [
[[package]]
name = "craft-stream-codecs"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4b82545cfa30364bf5ad7140ec8ffa0784aa3135#4b82545cfa30364bf5ad7140ec8ffa0784aa3135"
source = "git+https://github.com/storytold/craft-libs?rev=bd7c9e342a33796c9b36b33763c5b63883a22b79#bd7c9e342a33796c9b36b33763c5b63883a22b79"
dependencies = [
"fax",
"hayro-ccitt",
@@ -2104,7 +2104,7 @@ dependencies = [
[[package]]
name = "craft-svg"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4b82545cfa30364bf5ad7140ec8ffa0784aa3135#4b82545cfa30364bf5ad7140ec8ffa0784aa3135"
source = "git+https://github.com/storytold/craft-libs?rev=bd7c9e342a33796c9b36b33763c5b63883a22b79#bd7c9e342a33796c9b36b33763c5b63883a22b79"
dependencies = [
"craft-image-codecs",
"craft-xml",
@@ -2125,7 +2125,7 @@ dependencies = [
[[package]]
name = "craft-table"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4b82545cfa30364bf5ad7140ec8ffa0784aa3135#4b82545cfa30364bf5ad7140ec8ffa0784aa3135"
source = "git+https://github.com/storytold/craft-libs?rev=bd7c9e342a33796c9b36b33763c5b63883a22b79#bd7c9e342a33796c9b36b33763c5b63883a22b79"
dependencies = [
"craft-behavior",
"craft-keymap",
@@ -2137,7 +2137,7 @@ dependencies = [
[[package]]
name = "craft-text"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4b82545cfa30364bf5ad7140ec8ffa0784aa3135#4b82545cfa30364bf5ad7140ec8ffa0784aa3135"
source = "git+https://github.com/storytold/craft-libs?rev=bd7c9e342a33796c9b36b33763c5b63883a22b79#bd7c9e342a33796c9b36b33763c5b63883a22b79"
dependencies = [
"craft-behavior",
"craft-font-manager",
@@ -2162,7 +2162,7 @@ dependencies = [
[[package]]
name = "craft-texture"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4b82545cfa30364bf5ad7140ec8ffa0784aa3135#4b82545cfa30364bf5ad7140ec8ffa0784aa3135"
source = "git+https://github.com/storytold/craft-libs?rev=bd7c9e342a33796c9b36b33763c5b63883a22b79#bd7c9e342a33796c9b36b33763c5b63883a22b79"
dependencies = [
"thiserror 2.0.21",
]
@@ -2170,7 +2170,7 @@ dependencies = [
[[package]]
name = "craft-theme"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4b82545cfa30364bf5ad7140ec8ffa0784aa3135#4b82545cfa30364bf5ad7140ec8ffa0784aa3135"
source = "git+https://github.com/storytold/craft-libs?rev=bd7c9e342a33796c9b36b33763c5b63883a22b79#bd7c9e342a33796c9b36b33763c5b63883a22b79"
dependencies = [
"bitflags 2.13.2",
"craft-tracked",
@@ -2185,7 +2185,7 @@ dependencies = [
[[package]]
name = "craft-theme-store"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4b82545cfa30364bf5ad7140ec8ffa0784aa3135#4b82545cfa30364bf5ad7140ec8ffa0784aa3135"
source = "git+https://github.com/storytold/craft-libs?rev=bd7c9e342a33796c9b36b33763c5b63883a22b79#bd7c9e342a33796c9b36b33763c5b63883a22b79"
dependencies = [
"craft-atomic",
"craft-behavior",
@@ -2200,7 +2200,7 @@ dependencies = [
[[package]]
name = "craft-tiff"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4b82545cfa30364bf5ad7140ec8ffa0784aa3135#4b82545cfa30364bf5ad7140ec8ffa0784aa3135"
source = "git+https://github.com/storytold/craft-libs?rev=bd7c9e342a33796c9b36b33763c5b63883a22b79#bd7c9e342a33796c9b36b33763c5b63883a22b79"
dependencies = [
"serde",
"thiserror 2.0.21",
@@ -2210,7 +2210,7 @@ dependencies = [
[[package]]
name = "craft-time"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4b82545cfa30364bf5ad7140ec8ffa0784aa3135#4b82545cfa30364bf5ad7140ec8ffa0784aa3135"
source = "git+https://github.com/storytold/craft-libs?rev=bd7c9e342a33796c9b36b33763c5b63883a22b79#bd7c9e342a33796c9b36b33763c5b63883a22b79"
dependencies = [
"serde",
"thiserror 2.0.21",
@@ -2219,7 +2219,7 @@ dependencies = [
[[package]]
name = "craft-timeline"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4b82545cfa30364bf5ad7140ec8ffa0784aa3135#4b82545cfa30364bf5ad7140ec8ffa0784aa3135"
source = "git+https://github.com/storytold/craft-libs?rev=bd7c9e342a33796c9b36b33763c5b63883a22b79#bd7c9e342a33796c9b36b33763c5b63883a22b79"
dependencies = [
"craft-behavior",
"craft-keymap",
@@ -2234,12 +2234,12 @@ dependencies = [
[[package]]
name = "craft-tracked"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4b82545cfa30364bf5ad7140ec8ffa0784aa3135#4b82545cfa30364bf5ad7140ec8ffa0784aa3135"
source = "git+https://github.com/storytold/craft-libs?rev=bd7c9e342a33796c9b36b33763c5b63883a22b79#bd7c9e342a33796c9b36b33763c5b63883a22b79"
[[package]]
name = "craft-ui"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4b82545cfa30364bf5ad7140ec8ffa0784aa3135#4b82545cfa30364bf5ad7140ec8ffa0784aa3135"
source = "git+https://github.com/storytold/craft-libs?rev=bd7c9e342a33796c9b36b33763c5b63883a22b79#bd7c9e342a33796c9b36b33763c5b63883a22b79"
dependencies = [
"craft-cloud-ui",
"craft-ui-canvas",
@@ -2253,7 +2253,7 @@ dependencies = [
[[package]]
name = "craft-ui-canvas"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4b82545cfa30364bf5ad7140ec8ffa0784aa3135#4b82545cfa30364bf5ad7140ec8ffa0784aa3135"
source = "git+https://github.com/storytold/craft-libs?rev=bd7c9e342a33796c9b36b33763c5b63883a22b79#bd7c9e342a33796c9b36b33763c5b63883a22b79"
dependencies = [
"craft-behavior",
"craft-font-catalog",
@@ -2270,7 +2270,7 @@ dependencies = [
[[package]]
name = "craft-ui-contract"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4b82545cfa30364bf5ad7140ec8ffa0784aa3135#4b82545cfa30364bf5ad7140ec8ffa0784aa3135"
source = "git+https://github.com/storytold/craft-libs?rev=bd7c9e342a33796c9b36b33763c5b63883a22b79#bd7c9e342a33796c9b36b33763c5b63883a22b79"
dependencies = [
"accesskit",
"craft-behavior",
@@ -2308,7 +2308,7 @@ dependencies = [
[[package]]
name = "craft-ui-macros"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4b82545cfa30364bf5ad7140ec8ffa0784aa3135#4b82545cfa30364bf5ad7140ec8ffa0784aa3135"
source = "git+https://github.com/storytold/craft-libs?rev=bd7c9e342a33796c9b36b33763c5b63883a22b79#bd7c9e342a33796c9b36b33763c5b63883a22b79"
dependencies = [
"proc-macro-crate",
"proc-macro2",
@@ -2319,7 +2319,7 @@ dependencies = [
[[package]]
name = "craft-ui-panels"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4b82545cfa30364bf5ad7140ec8ffa0784aa3135#4b82545cfa30364bf5ad7140ec8ffa0784aa3135"
source = "git+https://github.com/storytold/craft-libs?rev=bd7c9e342a33796c9b36b33763c5b63883a22b79#bd7c9e342a33796c9b36b33763c5b63883a22b79"
dependencies = [
"craft-behavior",
"craft-host",
@@ -2337,7 +2337,7 @@ dependencies = [
[[package]]
name = "craft-ui-patterns"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4b82545cfa30364bf5ad7140ec8ffa0784aa3135#4b82545cfa30364bf5ad7140ec8ffa0784aa3135"
source = "git+https://github.com/storytold/craft-libs?rev=bd7c9e342a33796c9b36b33763c5b63883a22b79#bd7c9e342a33796c9b36b33763c5b63883a22b79"
dependencies = [
"craft-behavior",
"craft-host",
@@ -2358,7 +2358,7 @@ dependencies = [
[[package]]
name = "craft-ui-shell"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4b82545cfa30364bf5ad7140ec8ffa0784aa3135#4b82545cfa30364bf5ad7140ec8ffa0784aa3135"
source = "git+https://github.com/storytold/craft-libs?rev=bd7c9e342a33796c9b36b33763c5b63883a22b79#bd7c9e342a33796c9b36b33763c5b63883a22b79"
dependencies = [
"craft-behavior",
"craft-host",
@@ -2379,7 +2379,7 @@ dependencies = [
[[package]]
name = "craft-ui-widgets"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4b82545cfa30364bf5ad7140ec8ffa0784aa3135#4b82545cfa30364bf5ad7140ec8ffa0784aa3135"
source = "git+https://github.com/storytold/craft-libs?rev=bd7c9e342a33796c9b36b33763c5b63883a22b79#bd7c9e342a33796c9b36b33763c5b63883a22b79"
dependencies = [
"craft-behavior",
"craft-host",
@@ -2398,7 +2398,7 @@ dependencies = [
[[package]]
name = "craft-update"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4b82545cfa30364bf5ad7140ec8ffa0784aa3135#4b82545cfa30364bf5ad7140ec8ffa0784aa3135"
source = "git+https://github.com/storytold/craft-libs?rev=bd7c9e342a33796c9b36b33763c5b63883a22b79#bd7c9e342a33796c9b36b33763c5b63883a22b79"
dependencies = [
"base64 0.22.1",
"chrono",
@@ -2430,7 +2430,7 @@ dependencies = [
[[package]]
name = "craft-vectorcraft-format"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4b82545cfa30364bf5ad7140ec8ffa0784aa3135#4b82545cfa30364bf5ad7140ec8ffa0784aa3135"
source = "git+https://github.com/storytold/craft-libs?rev=bd7c9e342a33796c9b36b33763c5b63883a22b79#bd7c9e342a33796c9b36b33763c5b63883a22b79"
dependencies = [
"flate2",
"serde",
@@ -2441,7 +2441,7 @@ dependencies = [
[[package]]
name = "craft-wayland"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4b82545cfa30364bf5ad7140ec8ffa0784aa3135#4b82545cfa30364bf5ad7140ec8ffa0784aa3135"
source = "git+https://github.com/storytold/craft-libs?rev=bd7c9e342a33796c9b36b33763c5b63883a22b79#bd7c9e342a33796c9b36b33763c5b63883a22b79"
dependencies = [
"raw-window-handle",
"wayland-backend",
@@ -2451,7 +2451,7 @@ dependencies = [
[[package]]
name = "craft-web-api"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4b82545cfa30364bf5ad7140ec8ffa0784aa3135#4b82545cfa30364bf5ad7140ec8ffa0784aa3135"
source = "git+https://github.com/storytold/craft-libs?rev=bd7c9e342a33796c9b36b33763c5b63883a22b79#bd7c9e342a33796c9b36b33763c5b63883a22b79"
dependencies = [
"js-sys",
"serde_json",
@@ -2462,7 +2462,7 @@ dependencies = [
[[package]]
name = "craft-win32"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4b82545cfa30364bf5ad7140ec8ffa0784aa3135#4b82545cfa30364bf5ad7140ec8ffa0784aa3135"
source = "git+https://github.com/storytold/craft-libs?rev=bd7c9e342a33796c9b36b33763c5b63883a22b79#bd7c9e342a33796c9b36b33763c5b63883a22b79"
dependencies = [
"winsafe",
]
@@ -2470,7 +2470,7 @@ dependencies = [
[[package]]
name = "craft-window"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4b82545cfa30364bf5ad7140ec8ffa0784aa3135#4b82545cfa30364bf5ad7140ec8ffa0784aa3135"
source = "git+https://github.com/storytold/craft-libs?rev=bd7c9e342a33796c9b36b33763c5b63883a22b79#bd7c9e342a33796c9b36b33763c5b63883a22b79"
dependencies = [
"craft-appkit",
"craft-atomic",
@@ -2502,7 +2502,7 @@ dependencies = [
[[package]]
name = "craft-xml"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4b82545cfa30364bf5ad7140ec8ffa0784aa3135#4b82545cfa30364bf5ad7140ec8ffa0784aa3135"
source = "git+https://github.com/storytold/craft-libs?rev=bd7c9e342a33796c9b36b33763c5b63883a22b79#bd7c9e342a33796c9b36b33763c5b63883a22b79"
dependencies = [
"quick-xml 0.41.0",
"serde",
@@ -3862,7 +3862,7 @@ checksum = "9f4d0e94ddd48749f06bbe4e5389fb9799a0c45bcaf00495042076ef05e3241a"
[[package]]
name = "hayro-cmap"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4b82545cfa30364bf5ad7140ec8ffa0784aa3135#4b82545cfa30364bf5ad7140ec8ffa0784aa3135"
source = "git+https://github.com/storytold/craft-libs?rev=bd7c9e342a33796c9b36b33763c5b63883a22b79#bd7c9e342a33796c9b36b33763c5b63883a22b79"
dependencies = [
"brotli 8.0.4",
"hayro-postscript",
@@ -3871,7 +3871,7 @@ dependencies = [
[[package]]
name = "hayro-interpret"
version = "0.7.0"
source = "git+https://github.com/storytold/craft-libs?rev=4b82545cfa30364bf5ad7140ec8ffa0784aa3135#4b82545cfa30364bf5ad7140ec8ffa0784aa3135"
source = "git+https://github.com/storytold/craft-libs?rev=bd7c9e342a33796c9b36b33763c5b63883a22b79#bd7c9e342a33796c9b36b33763c5b63883a22b79"
dependencies = [
"bitflags 2.13.2",
"hayro-cmap",
@@ -3889,7 +3889,7 @@ dependencies = [
[[package]]
name = "hayro-jbig2"
version = "0.3.0"
source = "git+https://github.com/storytold/craft-libs?rev=4b82545cfa30364bf5ad7140ec8ffa0784aa3135#4b82545cfa30364bf5ad7140ec8ffa0784aa3135"
source = "git+https://github.com/storytold/craft-libs?rev=bd7c9e342a33796c9b36b33763c5b63883a22b79#bd7c9e342a33796c9b36b33763c5b63883a22b79"
dependencies = [
"fearless_simd",
"hayro-ccitt",
@@ -3907,12 +3907,12 @@ dependencies = [
[[package]]
name = "hayro-postscript"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4b82545cfa30364bf5ad7140ec8ffa0784aa3135#4b82545cfa30364bf5ad7140ec8ffa0784aa3135"
source = "git+https://github.com/storytold/craft-libs?rev=bd7c9e342a33796c9b36b33763c5b63883a22b79#bd7c9e342a33796c9b36b33763c5b63883a22b79"
[[package]]
name = "hayro-syntax"
version = "0.7.2"
source = "git+https://github.com/storytold/craft-libs?rev=4b82545cfa30364bf5ad7140ec8ffa0784aa3135#4b82545cfa30364bf5ad7140ec8ffa0784aa3135"
source = "git+https://github.com/storytold/craft-libs?rev=bd7c9e342a33796c9b36b33763c5b63883a22b79#bd7c9e342a33796c9b36b33763c5b63883a22b79"
dependencies = [
"flate2",
"hayro-ccitt",
@@ -4895,7 +4895,7 @@ dependencies = [
[[package]]
name = "krilla"
version = "0.8.2"
source = "git+https://github.com/storytold/craft-libs?rev=4b82545cfa30364bf5ad7140ec8ffa0784aa3135#4b82545cfa30364bf5ad7140ec8ffa0784aa3135"
source = "git+https://github.com/storytold/craft-libs?rev=bd7c9e342a33796c9b36b33763c5b63883a22b79#bd7c9e342a33796c9b36b33763c5b63883a22b79"
dependencies = [
"base64 0.22.1",
"bumpalo",
@@ -5052,7 +5052,7 @@ checksum = "d4a5ff6bcca6c4867b1c4fd4ef63e4db7436ef363e0ad7531d1558856bae64f4"
[[package]]
name = "linesweeper"
version = "0.5.0"
source = "git+https://github.com/storytold/craft-libs?rev=4b82545cfa30364bf5ad7140ec8ffa0784aa3135#4b82545cfa30364bf5ad7140ec8ffa0784aa3135"
source = "git+https://github.com/storytold/craft-libs?rev=bd7c9e342a33796c9b36b33763c5b63883a22b79#bd7c9e342a33796c9b36b33763c5b63883a22b79"
dependencies = [
"arrayvec",
"kurbo 0.13.1",
@@ -9888,9 +9888,9 @@ dependencies = [
[[package]]
name = "wgpu-hal"
version = "30.0.1"
version = "30.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b6b7fb58561a792bc237628ba0792e332de418fefe145f13b5ed8201e6d52f58"
checksum = "a57452fe453658e141aafdb09de1028afa498805fab518238ddf372a518813ff"
dependencies = [
"android_system_properties",
"arrayvec",
+41 -41
View File
@@ -10,60 +10,60 @@ license = "MIT OR Apache-2.0"
rust-version = "1.95"
[workspace.dependencies]
craft-cms = { git = "https://github.com/storytold/craft-libs", rev = "4b82545cfa30364bf5ad7140ec8ffa0784aa3135" }
craft-pdf = { git = "https://github.com/storytold/craft-libs", rev = "4b82545cfa30364bf5ad7140ec8ffa0784aa3135", default-features = false, features = ["interpret", "write"] }
craft-docpath = { version = "0.1.0", git = "https://github.com/storytold/craft-libs", rev = "4b82545cfa30364bf5ad7140ec8ffa0784aa3135" }
craft-proof = { git = "https://github.com/storytold/craft-libs", rev = "4b82545cfa30364bf5ad7140ec8ffa0784aa3135" }
craft-cms = { git = "https://github.com/storytold/craft-libs", rev = "bd7c9e342a33796c9b36b33763c5b63883a22b79" }
craft-pdf = { git = "https://github.com/storytold/craft-libs", rev = "bd7c9e342a33796c9b36b33763c5b63883a22b79", default-features = false, features = ["interpret", "write"] }
craft-docpath = { version = "0.1.0", git = "https://github.com/storytold/craft-libs", rev = "bd7c9e342a33796c9b36b33763c5b63883a22b79" }
craft-proof = { git = "https://github.com/storytold/craft-libs", rev = "bd7c9e342a33796c9b36b33763c5b63883a22b79" }
# Language packs: the Craft apps' shared font store installs them (#4936).
craft-font-store = { git = "https://github.com/storytold/craft-libs", rev = "4b82545cfa30364bf5ad7140ec8ffa0784aa3135" }
craft-font-catalog = { git = "https://github.com/storytold/craft-libs", rev = "4b82545cfa30364bf5ad7140ec8ffa0784aa3135" }
craft-font-store = { git = "https://github.com/storytold/craft-libs", rev = "bd7c9e342a33796c9b36b33763c5b63883a22b79" }
craft-font-catalog = { git = "https://github.com/storytold/craft-libs", rev = "bd7c9e342a33796c9b36b33763c5b63883a22b79" }
# 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 = "4b82545cfa30364bf5ad7140ec8ffa0784aa3135" }
craft-gzip = { git = "https://github.com/storytold/craft-libs", rev = "4b82545cfa30364bf5ad7140ec8ffa0784aa3135" }
craft-vectorcraft-format = { git = "https://github.com/storytold/craft-libs", rev = "bd7c9e342a33796c9b36b33763c5b63883a22b79" }
craft-gzip = { git = "https://github.com/storytold/craft-libs", rev = "bd7c9e342a33796c9b36b33763c5b63883a22b79" }
# `.pcraft` documents: their manifest, full-size composite, preview, layer pixels and ICC profile.
craft-doc = { git = "https://github.com/storytold/craft-libs", rev = "4b82545cfa30364bf5ad7140ec8ffa0784aa3135", features = ["pcraft-pixels"] }
craft-doc = { git = "https://github.com/storytold/craft-libs", rev = "bd7c9e342a33796c9b36b33763c5b63883a22b79", features = ["pcraft-pixels"] }
# Native Affinity documents (craft-libs#914).
craft-affinity = { git = "https://github.com/storytold/craft-libs", rev = "4b82545cfa30364bf5ad7140ec8ffa0784aa3135" }
craft-affinity = { git = "https://github.com/storytold/craft-libs", rev = "bd7c9e342a33796c9b36b33763c5b63883a22b79" }
# Bounded CDR (v1-v27) and CMX (32-bit) reader (craft-libs#778).
craft-cdr = { git = "https://github.com/storytold/craft-libs", rev = "4b82545cfa30364bf5ad7140ec8ffa0784aa3135" }
craft-cdr = { git = "https://github.com/storytold/craft-libs", rev = "bd7c9e342a33796c9b36b33763c5b63883a22b79" }
# SVG parsing, limits, SVGZ and writer (craft-libs#778).
craft-svg = { git = "https://github.com/storytold/craft-libs", rev = "4b82545cfa30364bf5ad7140ec8ffa0784aa3135", features = ["tree"] }
craft-mime = { git = "https://github.com/storytold/craft-libs", rev = "4b82545cfa30364bf5ad7140ec8ffa0784aa3135" }
craft-svg = { git = "https://github.com/storytold/craft-libs", rev = "bd7c9e342a33796c9b36b33763c5b63883a22b79", features = ["tree"] }
craft-mime = { git = "https://github.com/storytold/craft-libs", rev = "bd7c9e342a33796c9b36b33763c5b63883a22b79" }
# EPS container, previews, ASCII85 and DSC comments (craft-libs#778).
craft-eps = { git = "https://github.com/storytold/craft-libs", rev = "4b82545cfa30364bf5ad7140ec8ffa0784aa3135" }
craft-eps = { git = "https://github.com/storytold/craft-libs", rev = "bd7c9e342a33796c9b36b33763c5b63883a22b79" }
# DXF tags, reader and writer (craft-libs#778, #926, #927).
craft-plotter = { git = "https://github.com/storytold/craft-libs", rev = "4b82545cfa30364bf5ad7140ec8ffa0784aa3135" }
craft-dxf = { git = "https://github.com/storytold/craft-libs", rev = "4b82545cfa30364bf5ad7140ec8ffa0784aa3135" }
craft-plotter = { git = "https://github.com/storytold/craft-libs", rev = "bd7c9e342a33796c9b36b33763c5b63883a22b79" }
craft-dxf = { git = "https://github.com/storytold/craft-libs", rev = "bd7c9e342a33796c9b36b33763c5b63883a22b79" }
# DWG to DXF bytes, in a child process on desktop builds (acadrust 0.6.6, MPL-2.0, unmodified).
craft-dwg = { git = "https://github.com/storytold/craft-libs", rev = "4b82545cfa30364bf5ad7140ec8ffa0784aa3135" }
craft-dwg = { git = "https://github.com/storytold/craft-libs", rev = "bd7c9e342a33796c9b36b33763c5b63883a22b79" }
# The DWG reader and writer craft-dwg uses, at the rev craft-libs pins (its Cargo.toml). Tests only: it writes the
# R12, R13 and R14 DWG files that craft-dwg's writer, 2000 and later, does not.
acadrust = { git = "https://github.com/storytold/acadrust.git", rev = "468b9d8e317755209020d5d3f2f1c8a76210c47f" }
# WMF, EMF and EMF+ reader (craft-libs#778).
craft-metafile = { git = "https://github.com/storytold/craft-libs", rev = "4b82545cfa30364bf5ad7140ec8ffa0784aa3135" }
craft-xml = { git = "https://github.com/storytold/craft-libs", rev = "4b82545cfa30364bf5ad7140ec8ffa0784aa3135" }
craft-image-codecs = { git = "https://github.com/storytold/craft-libs", rev = "4b82545cfa30364bf5ad7140ec8ffa0784aa3135" }
craft-gif = { git = "https://github.com/storytold/craft-libs", rev = "4b82545cfa30364bf5ad7140ec8ffa0784aa3135" }
craft-tiff = { git = "https://github.com/storytold/craft-libs", rev = "4b82545cfa30364bf5ad7140ec8ffa0784aa3135" }
craft-ps = { git = "https://github.com/storytold/craft-libs", rev = "4b82545cfa30364bf5ad7140ec8ffa0784aa3135", default-features = false, features = ["read", "write"] }
craft-psd = { git = "https://github.com/storytold/craft-libs", rev = "4b82545cfa30364bf5ad7140ec8ffa0784aa3135" }
craft-stream-codecs = { git = "https://github.com/storytold/craft-libs", rev = "4b82545cfa30364bf5ad7140ec8ffa0784aa3135" }
craft-jxl = { git = "https://github.com/storytold/craft-libs", rev = "4b82545cfa30364bf5ad7140ec8ffa0784aa3135" }
craft-codepage = { git = "https://github.com/storytold/craft-libs", rev = "4b82545cfa30364bf5ad7140ec8ffa0784aa3135" }
craft-metafile = { git = "https://github.com/storytold/craft-libs", rev = "bd7c9e342a33796c9b36b33763c5b63883a22b79" }
craft-xml = { git = "https://github.com/storytold/craft-libs", rev = "bd7c9e342a33796c9b36b33763c5b63883a22b79" }
craft-image-codecs = { git = "https://github.com/storytold/craft-libs", rev = "bd7c9e342a33796c9b36b33763c5b63883a22b79" }
craft-gif = { git = "https://github.com/storytold/craft-libs", rev = "bd7c9e342a33796c9b36b33763c5b63883a22b79" }
craft-tiff = { git = "https://github.com/storytold/craft-libs", rev = "bd7c9e342a33796c9b36b33763c5b63883a22b79" }
craft-ps = { git = "https://github.com/storytold/craft-libs", rev = "bd7c9e342a33796c9b36b33763c5b63883a22b79", default-features = false, features = ["read", "write"] }
craft-psd = { git = "https://github.com/storytold/craft-libs", rev = "bd7c9e342a33796c9b36b33763c5b63883a22b79" }
craft-stream-codecs = { git = "https://github.com/storytold/craft-libs", rev = "bd7c9e342a33796c9b36b33763c5b63883a22b79" }
craft-jxl = { git = "https://github.com/storytold/craft-libs", rev = "bd7c9e342a33796c9b36b33763c5b63883a22b79" }
craft-codepage = { git = "https://github.com/storytold/craft-libs", rev = "bd7c9e342a33796c9b36b33763c5b63883a22b79" }
# The metallic-roughness BRDF and environment light the 3D effects' Roughness and Metallic shade with.
craft-pbr = { git = "https://github.com/storytold/craft-libs", rev = "4b82545cfa30364bf5ad7140ec8ffa0784aa3135" }
craft-pbr = { git = "https://github.com/storytold/craft-libs", rev = "bd7c9e342a33796c9b36b33763c5b63883a22b79" }
# The CPU rasterizer that draws a 3D effect's Render Settings › Rendered image: depth-buffered triangles, shadow maps.
craft-raster3d = { git = "https://github.com/storytold/craft-libs", rev = "4b82545cfa30364bf5ad7140ec8ffa0784aa3135" }
craft-raster3d = { git = "https://github.com/storytold/craft-libs", rev = "bd7c9e342a33796c9b36b33763c5b63883a22b79" }
# 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 = "4b82545cfa30364bf5ad7140ec8ffa0784aa3135" }
craft = { git = "https://github.com/storytold/craft-libs", rev = "bd7c9e342a33796c9b36b33763c5b63883a22b79" }
# 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 = "4b82545cfa30364bf5ad7140ec8ffa0784aa3135" }
craft-theme = { git = "https://github.com/storytold/craft-libs", rev = "4b82545cfa30364bf5ad7140ec8ffa0784aa3135" }
craft-fonts-build = { git = "https://github.com/storytold/craft-libs", rev = "4b82545cfa30364bf5ad7140ec8ffa0784aa3135" }
craft-color-ui = { git = "https://github.com/storytold/craft-libs", rev = "bd7c9e342a33796c9b36b33763c5b63883a22b79" }
craft-theme = { git = "https://github.com/storytold/craft-libs", rev = "bd7c9e342a33796c9b36b33763c5b63883a22b79" }
craft-fonts-build = { git = "https://github.com/storytold/craft-libs", rev = "bd7c9e342a33796c9b36b33763c5b63883a22b79" }
# Nightly profile isolation, launch protocol, and security fence.
craft-nightly = { git = "https://github.com/storytold/craft-libs", rev = "4b82545cfa30364bf5ad7140ec8ffa0784aa3135" }
craft-nightly = { git = "https://github.com/storytold/craft-libs", rev = "bd7c9e342a33796c9b36b33763c5b63883a22b79" }
# internal
vectorcraft-geom = { path = "crates/geom" }
vectorcraft-color = { path = "crates/color" }
@@ -203,13 +203,13 @@ lto = "thin"
codegen-units = 1
[patch.crates-io]
hayro-syntax = { git = "https://github.com/storytold/craft-libs", rev = "4b82545cfa30364bf5ad7140ec8ffa0784aa3135" }
hayro-interpret = { git = "https://github.com/storytold/craft-libs", rev = "4b82545cfa30364bf5ad7140ec8ffa0784aa3135" }
hayro-jbig2 = { git = "https://github.com/storytold/craft-libs", rev = "4b82545cfa30364bf5ad7140ec8ffa0784aa3135" }
hayro-cmap = { git = "https://github.com/storytold/craft-libs", rev = "4b82545cfa30364bf5ad7140ec8ffa0784aa3135" }
hayro-postscript = { git = "https://github.com/storytold/craft-libs", rev = "4b82545cfa30364bf5ad7140ec8ffa0784aa3135" }
krilla = { git = "https://github.com/storytold/craft-libs", rev = "4b82545cfa30364bf5ad7140ec8ffa0784aa3135" }
linesweeper = { git = "https://github.com/storytold/craft-libs", rev = "4b82545cfa30364bf5ad7140ec8ffa0784aa3135" }
hayro-syntax = { git = "https://github.com/storytold/craft-libs", rev = "bd7c9e342a33796c9b36b33763c5b63883a22b79" }
hayro-interpret = { git = "https://github.com/storytold/craft-libs", rev = "bd7c9e342a33796c9b36b33763c5b63883a22b79" }
hayro-jbig2 = { git = "https://github.com/storytold/craft-libs", rev = "bd7c9e342a33796c9b36b33763c5b63883a22b79" }
hayro-cmap = { git = "https://github.com/storytold/craft-libs", rev = "bd7c9e342a33796c9b36b33763c5b63883a22b79" }
hayro-postscript = { git = "https://github.com/storytold/craft-libs", rev = "bd7c9e342a33796c9b36b33763c5b63883a22b79" }
krilla = { git = "https://github.com/storytold/craft-libs", rev = "bd7c9e342a33796c9b36b33763c5b63883a22b79" }
linesweeper = { git = "https://github.com/storytold/craft-libs", rev = "bd7c9e342a33796c9b36b33763c5b63883a22b79" }
# skrifa 0.44 (epaint, glifo, usvg) with the automatic hinter's long blue-zone exit (craft-libs vendor/skrifa).
# It stays at this rev until craft-libs#5222 merges.
skrifa = { git = "https://github.com/storytold/craft-libs", rev = "37d0532f42eb3421769c8a454e3e25a20fbcff97" }
+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 = "4b82545cfa30364bf5ad7140ec8ffa0784aa3135", version = "0.1.0" }
craft-web-api = { git = "https://github.com/storytold/craft-libs", rev = "bd7c9e342a33796c9b36b33763c5b63883a22b79", version = "0.1.0" }
wasm-bindgen = "0.2"
serde_json = { workspace = true }
+16 -2
View File
@@ -2,6 +2,8 @@
//! Options, Dynamic Text, Fill with Placeholder Text, Insert Special/Whitespace/Break characters)
//! and the text commands of the Edit menu (Find and Replace, Find Next, Paste without Formatting).
use std::ops::ControlFlow;
use serde_json::{Value, json};
use vectorcraft_doc::{AreaFit, CharStyle, Document, Justify, LockedArtboards, Node, NodeId, NodeKind, Quotes, TextKind, TextObject, TextRun};
use vectorcraft_geom::{Affine, Rect, shapes};
@@ -40,7 +42,7 @@ pub fn specs() -> Vec<CommandSpec> {
["Type"],
None,
"{ids?|id?} point type → area type framed by its current layout bounds → {ids}",
has_selection,
|s| has_selected_text_kind(s, |kind| matches!(kind, TextKind::Point), "select point type"),
to_area
),
cmd!(
@@ -49,7 +51,7 @@ pub fn specs() -> Vec<CommandSpec> {
["Type"],
None,
"{ids?|id?} area type → point type; soft line wraps become line breaks, a frame of threaded text leaves its thread with the text it holds, and Dynamic Text (Block) is turned off, keeping the sizes it set → {ids}",
has_selection,
|s| has_selected_text_kind(s, |kind| matches!(kind, TextKind::Area { .. }), "select area type"),
to_point
),
cmd!(
@@ -154,6 +156,18 @@ pub fn specs() -> Vec<CommandSpec> {
]
}
/// A selected object or one of its descendants has the source kind a conversion needs.
fn has_selected_text_kind(s: &Session, matches_kind: fn(&TextKind) -> bool, reason: &str) -> std::result::Result<(), String> {
let st = s.active().ok_or("no document open")?;
let found = st.selection.objects.iter().filter_map(|id| st.doc.node(*id)).any(|node| {
node.try_walk(&mut |child| {
if matches!(&child.kind, NodeKind::Text(text) if matches_kind(&text.kind)) { ControlFlow::Break(()) } else { ControlFlow::Continue(()) }
})
.is_break()
});
found.then_some(()).ok_or_else(|| reason.into())
}
/// Text objects among `ids` and their descendants.
pub(crate) fn text_ids(d: &Document, ids: &[NodeId]) -> Vec<NodeId> {
let paths = d.index_paths(ids.iter().copied());
+55 -3
View File
@@ -869,7 +869,9 @@ fn items_remove_all(h: &super::Host, a: &[Data]) -> Answer {
/// Whether a subpath of `outline` encloses an area. Each subpath's area is measured from its first
/// point, so its position does not change the result, and an area within roundoff of its own
/// bounding box's is counted as none.
/// bounding box's is counted as none. A subpath that crosses itself, such as a figure eight whose
/// loops turn opposite ways and cancel in its signed area, is measured by the area it fills under
/// nonzero, which every loop counts toward.
fn encloses(outline: &kurbo::BezPath) -> bool {
let mut subpaths: Vec<kurbo::BezPath> = Vec::new();
for el in outline.elements() {
@@ -883,11 +885,35 @@ fn encloses(outline: &kurbo::BezPath) -> bool {
subpaths.into_iter().any(|mut sub| {
let Some(start) = sub.elements().iter().find_map(|e| e.end_point()) else { return false };
sub.apply_affine(kurbo::Affine::translate(-start.to_vec2()));
let area = kurbo::Shape::area(&sub).abs();
area > 0.0 && area > 64.0 * f64::EPSILON * kurbo::Shape::bounding_box(&sub).area()
let floor = 64.0 * f64::EPSILON * kurbo::Shape::bounding_box(&sub).area();
let counts = |area: f64| area > 0.0 && area > floor;
counts(kurbo::Shape::area(&sub).abs())
|| (!collinear(&sub)
&& vectorcraft_pathops::try_area(&vectorcraft_geom::PathData::from_bezpath(&sub), vectorcraft_geom::FillRule::NonZero)
.is_ok_and(counts))
})
}
/// Whether every point and control point of `sub` lies within roundoff of one straight line, as
/// in a frame collapsed to a line, which encloses no area however the path operations snap it.
fn collinear(sub: &kurbo::BezPath) -> bool {
let points: Vec<kurbo::Point> = sub
.elements()
.iter()
.flat_map(|e| match *e {
kurbo::PathEl::MoveTo(p) | kurbo::PathEl::LineTo(p) => vec![p],
kurbo::PathEl::QuadTo(a, p) => vec![a, p],
kurbo::PathEl::CurveTo(a, b, p) => vec![a, b, p],
kurbo::PathEl::ClosePath => vec![],
})
.collect();
let Some(&first) = points.first() else { return true };
let Some(&far) = points.iter().max_by(|a, b| a.distance(first).total_cmp(&b.distance(first))) else { return true };
let axis = far - first;
let length = axis.hypot();
length == 0.0 || points.iter().all(|p| axis.cross(*p - first).abs() <= 64.0 * f64::EPSILON * length * length)
}
/// Whether `outline` fills an area under `rule`: a subpath encloses an area ([`encloses`]) and the
/// outline with its overlaps resolved, thin strips included, has an area. An outline the path
/// operations refuse is judged by [`encloses`] alone.
@@ -2536,6 +2562,32 @@ mod tests {
assert_eq!(anchors, vec![(0, 1), (0, 3)], "the undo puts back the selection the write changed");
}
#[test]
fn a_figure_eight_clip_outline_fills_its_loops() {
let mut eight = kurbo::BezPath::new();
eight.move_to((0.0, 0.0));
eight.line_to((10.0, 10.0));
eight.line_to((10.0, 0.0));
eight.line_to((0.0, 10.0));
eight.close_path();
assert!(kurbo::Shape::area(&eight).abs() < 1e-9, "the loops cancel in the signed area");
assert!(encloses(&eight), "each loop of the figure eight encloses an area");
assert!(fills(&eight, vectorcraft_geom::FillRule::NonZero));
assert!(fills(&eight, vectorcraft_geom::FillRule::EvenOdd));
let mut line = kurbo::BezPath::new();
line.move_to((0.0, 0.0));
line.line_to((10.0, 10.0));
line.close_path();
assert!(!encloses(&line), "a closed line still encloses nothing");
let mut flat = kurbo::BezPath::new();
flat.move_to((0.0, 0.0));
flat.line_to((1000.0, 0.001));
flat.line_to((2000.0, 0.002));
flat.line_to((1000.0, 0.001));
flat.close_path();
assert!(!encloses(&flat), "a frame collapsed onto a shallow diagonal encloses nothing");
}
#[test]
fn a_made_id_above_two_to_the_53_stays_exact() {
let made = |v: Value| made_id(&(Data::Undefined, v));
+31 -6
View File
@@ -4275,19 +4275,44 @@ fn convert_point_area_roundtrip() {
assert_eq!(tt.plain_text(), "Some words");
}
/// Convert To Area Type with no point type selected, and Convert To Point Type with no area type
/// selected, record no undo step and reply with the objects. With point type and area type
/// selected, Convert To Area Type converts the point type in one undo step, and Convert To Point
/// Type then converts both in another.
#[test]
fn converting_type_to_the_kind_it_is_records_no_undo_step() {
fn type_conversion_availability_requires_its_source_kind() {
let mut s = session();
let point = text(&mut s, "Point");
let area = id_of(&s.execute("text.create", &json!({"x": 0, "y": 100, "text": "Area", "area": {"width": 100, "height": 50}})).unwrap());
let rectangle = rect(&mut s, 200.0, 50.0, 20.0, 20.0);
let to_area = find_command("type.convertToAreaType").unwrap();
let to_point = find_command("type.convertToPointType").unwrap();
for (selection, can_convert_to_area, can_convert_to_point) in
[(&[point][..], true, false), (&[area][..], false, true), (&[rectangle][..], false, false), (&[area, point][..], true, true)]
{
sel(&mut s, selection);
for (spec, can_convert) in [(to_area, can_convert_to_area), (to_point, can_convert_to_point)] {
let info = spec.info(&s);
assert_eq!(info.enabled, can_convert, "{} on {selection:?}", info.id);
assert_eq!(info.disabled_reason.is_some(), !can_convert, "{} on {selection:?}", info.id);
}
}
sel(&mut s, &[rectangle, point]);
let group = id_of(&s.execute("object.group", &json!({})).unwrap());
sel(&mut s, &[group]);
assert!(to_area.info(&s).enabled);
assert!(!to_point.info(&s).enabled);
}
/// An inapplicable conversion is disabled and leaves undo history intact. With point type and
/// area type selected, Convert To Area Type converts the point type in one undo step, and
/// Convert To Point Type then converts both in another.
#[test]
fn inapplicable_type_conversions_record_no_undo_step() {
let mut s = session();
let p = text(&mut s, "Point");
let a = id_of(&s.execute("text.create", &json!({"x": 0, "y": 100, "text": "Area", "area": {"width": 100, "height": 50}})).unwrap());
for (c, id) in [("type.convertToAreaType", a), ("type.convertToPointType", p)] {
select_with_a_step_to_redo(&mut s, &[id]);
let before = history(&s);
assert_eq!(s.execute(c, &json!({})).unwrap(), json!({"ids": [id.0]}), "{c}");
assert!(matches!(s.execute(c, &json!({})), Err(EngineError::Disabled(..))), "{c}");
assert_eq!(history(&s), before, "{c}");
}
for c in ["type.convertToAreaType", "type.convertToPointType"] {
+4 -2
View File
@@ -172,7 +172,7 @@ fn east_asian_hidden(app: &VectorcraftApp, id: &str) -> bool {
/// How the menus show item `id` (params `p`) now: (enabled, checked: `Some` for an item that is on
/// or off), or `None` while they leave it out: an empty slot ([`hidden_when_disabled`]), an item
/// another stands in for ([`swapped_out`]) or an East Asian item with those options hidden
/// ([`east_asian_hidden`]).
/// ([`east_asian_hidden`]), or a disabled type conversion.
pub fn shown_state(app: &VectorcraftApp, id: &str, p: &Value) -> Option<(bool, Option<bool>)> {
shown_state_with(app, id, p, &mut |id| why_off(app, id))
}
@@ -194,7 +194,9 @@ pub(crate) fn shown_state_with(
})
&& (id != crate::addons::select::link_status::COMMAND || crate::addons::select::link_status::enabled(app, p))
&& (!vectorcraft_engine::cmd::plugin::is_command_id(id) || crate::dialogs::plugin::canvas_item_enabled(app, id, p));
if (!en && hidden_when_disabled(id)) || swapped_out(id, why_off) || east_asian_hidden(app, id) {
// Keep conversion labels in the catalog while leaving unavailable rows out of the Type menu.
let hide_disabled = hidden_when_disabled(id) || matches!(id, "type.convertToAreaType" | "type.convertToPointType");
if (!en && hide_disabled) || swapped_out(id, why_off) || east_asian_hidden(app, id) {
return None;
}
Some((en, checked(app, id, p)))
+60
View File
@@ -164,6 +164,66 @@ fn snapping_menu_clicks_toggle_view_state_and_painted_checkmarks() {
assert_eq!(menu.toggled("Pixel Snapping Options…"), None);
}
#[test]
fn type_menu_offers_only_conversions_that_apply_to_selected_text() {
use crate::tests::panel_harness::Panel;
use craft::ui::contract::Role;
fn draw(app: &mut VectorcraftApp, ui: &mut egui::Ui) {
model::refresh(app, ui.ctx());
craft::menu::MenuBarUi::new(&app.menus.laid).show(ui);
}
const TO_AREA: &str = "Convert To Area Type";
const TO_POINT: &str = "Convert To Point Type";
crate::i18n::set_current(crate::i18n::Lang::EN);
let mut app = VectorcraftApp::new(vectorcraft_engine::Session::new(), crate::Services::default());
app.run("file.new", json!({})).unwrap();
let point = app.run("text.create", json!({"x": 20, "y": 40, "text": "Point type"})).unwrap()["id"].clone();
let area = app.run("text.create", json!({"x": 20, "y": 100, "text": "Area type", "area": {"width": 120, "height": 60}})).unwrap()["id"].clone();
let rectangle = app.run("shape.rectangle", json!({"x": 160, "y": 40, "width": 40, "height": 40})).unwrap()["id"].clone();
app.run("select.set", json!({"ids": [point.clone()]})).unwrap();
let mut menu = Panel::new(app, draw);
menu.click("Type");
assert!(menu.menu_item_enabled(TO_AREA));
assert!(!menu.shows_role(TO_POINT, Role::MENU_ITEM));
menu.click_menu_item(TO_AREA);
menu.click("Type");
assert!(menu.menu_item_enabled(TO_POINT));
assert!(!menu.shows_role(TO_AREA, Role::MENU_ITEM));
menu.click_menu_item(TO_POINT);
menu.click("Type");
assert!(menu.menu_item_enabled(TO_AREA));
assert!(!menu.shows_role(TO_POINT, Role::MENU_ITEM));
menu.click("Type");
menu.app().run("select.set", json!({"ids": [point.clone(), area]})).unwrap();
menu.click("Type");
assert!(menu.menu_item_enabled(TO_AREA));
assert!(menu.menu_item_enabled(TO_POINT));
menu.click("Type");
menu.app().run("select.set", json!({"ids": []})).unwrap();
menu.click("Type");
assert!(!menu.shows_role(TO_AREA, Role::MENU_ITEM));
assert!(!menu.shows_role(TO_POINT, Role::MENU_ITEM));
menu.click("Type");
menu.app().run("select.set", json!({"ids": [rectangle.clone()]})).unwrap();
menu.click("Type");
assert!(!menu.shows_role(TO_AREA, Role::MENU_ITEM));
assert!(!menu.shows_role(TO_POINT, Role::MENU_ITEM));
menu.click("Type");
menu.app().run("select.set", json!({"ids": [rectangle, point]})).unwrap();
let group = menu.app().run("object.group", json!({})).unwrap()["id"].clone();
menu.app().run("select.set", json!({"ids": [group]})).unwrap();
menu.click("Type");
assert!(menu.menu_item_enabled(TO_AREA));
assert!(!menu.shows_role(TO_POINT, Role::MENU_ITEM));
}
/// The Window menu keeps one check column: the labels of checked and unchecked panels, of plain
/// commands and of submenus all start at the same x.
#[test]
+1 -1
View File
@@ -5,7 +5,7 @@ use std::process::Command;
use serde_json::Value;
const REV: &str = "4b82545cfa30364bf5ad7140ec8ffa0784aa3135";
const REV: &str = "bd7c9e342a33796c9b36b33763c5b63883a22b79";
const PACKAGES: &[(&str, &str, &str)] = &[
("craft-pdf", "0.1.0", REV),
("krilla", "0.8.2", REV),