mirror of
https://github.com/storytold/wordcraft.git
synced 2026-12-02 02:37:26 -06:00
Compare commits
4
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2adc42a80b | ||
|
|
f8a42491c6 | ||
|
|
402fab32c8 | ||
|
|
815e6f71c3 |
@@ -95,15 +95,7 @@
|
||||
"unsigned_artifact_name": "nightly-unsigned-linux-x86_64",
|
||||
"trust": {
|
||||
"fingerprint": "2B76741B414AAD6CD33E631213A005C0B9D7C3ED"
|
||||
},
|
||||
"package_formats": [
|
||||
"appimage",
|
||||
"arch",
|
||||
"deb",
|
||||
"flatpak",
|
||||
"oci",
|
||||
"rpm"
|
||||
]
|
||||
}
|
||||
},
|
||||
"macos-aarch64": {
|
||||
"unsigned_artifact_name": "nightly-unsigned-macos-aarch64",
|
||||
|
||||
Generated
+109
-109
@@ -1192,7 +1192,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "craft"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=9949e08d6f29b6c4462f14af1d5007acac163dbf#9949e08d6f29b6c4462f14af1d5007acac163dbf"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=7097741460d683b4ddf1ba78026e7759f2d5ee21#7097741460d683b4ddf1ba78026e7759f2d5ee21"
|
||||
dependencies = [
|
||||
"craft-automation",
|
||||
"craft-behavior",
|
||||
@@ -1233,7 +1233,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "craft-appkit"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=9949e08d6f29b6c4462f14af1d5007acac163dbf#9949e08d6f29b6c4462f14af1d5007acac163dbf"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=7097741460d683b4ddf1ba78026e7759f2d5ee21#7097741460d683b4ddf1ba78026e7759f2d5ee21"
|
||||
dependencies = [
|
||||
"block2 0.6.2",
|
||||
"objc2 0.6.5",
|
||||
@@ -1244,7 +1244,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "craft-atomic"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=9949e08d6f29b6c4462f14af1d5007acac163dbf#9949e08d6f29b6c4462f14af1d5007acac163dbf"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=7097741460d683b4ddf1ba78026e7759f2d5ee21#7097741460d683b4ddf1ba78026e7759f2d5ee21"
|
||||
dependencies = [
|
||||
"rustix 1.1.6",
|
||||
]
|
||||
@@ -1252,7 +1252,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "craft-automation"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=9949e08d6f29b6c4462f14af1d5007acac163dbf#9949e08d6f29b6c4462f14af1d5007acac163dbf"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=7097741460d683b4ddf1ba78026e7759f2d5ee21#7097741460d683b4ddf1ba78026e7759f2d5ee21"
|
||||
dependencies = [
|
||||
"base64 0.23.1",
|
||||
"craft-behavior",
|
||||
@@ -1277,7 +1277,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "craft-behavior"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=9949e08d6f29b6c4462f14af1d5007acac163dbf#9949e08d6f29b6c4462f14af1d5007acac163dbf"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=7097741460d683b4ddf1ba78026e7759f2d5ee21#7097741460d683b4ddf1ba78026e7759f2d5ee21"
|
||||
dependencies = [
|
||||
"accesskit",
|
||||
"bitflags 2.13.2",
|
||||
@@ -1295,7 +1295,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "craft-browse"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=9949e08d6f29b6c4462f14af1d5007acac163dbf#9949e08d6f29b6c4462f14af1d5007acac163dbf"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=7097741460d683b4ddf1ba78026e7759f2d5ee21#7097741460d683b4ddf1ba78026e7759f2d5ee21"
|
||||
dependencies = [
|
||||
"craft-behavior",
|
||||
"craft-docpath",
|
||||
@@ -1313,12 +1313,12 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "craft-cfb"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=9949e08d6f29b6c4462f14af1d5007acac163dbf#9949e08d6f29b6c4462f14af1d5007acac163dbf"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=7097741460d683b4ddf1ba78026e7759f2d5ee21#7097741460d683b4ddf1ba78026e7759f2d5ee21"
|
||||
|
||||
[[package]]
|
||||
name = "craft-cloud-ui"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=9949e08d6f29b6c4462f14af1d5007acac163dbf#9949e08d6f29b6c4462f14af1d5007acac163dbf"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=7097741460d683b4ddf1ba78026e7759f2d5ee21#7097741460d683b4ddf1ba78026e7759f2d5ee21"
|
||||
dependencies = [
|
||||
"egui",
|
||||
]
|
||||
@@ -1326,7 +1326,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "craft-cms"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=9949e08d6f29b6c4462f14af1d5007acac163dbf#9949e08d6f29b6c4462f14af1d5007acac163dbf"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=7097741460d683b4ddf1ba78026e7759f2d5ee21#7097741460d683b4ddf1ba78026e7759f2d5ee21"
|
||||
dependencies = [
|
||||
"md-5",
|
||||
"rayon",
|
||||
@@ -1335,12 +1335,12 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "craft-codepage"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=9949e08d6f29b6c4462f14af1d5007acac163dbf#9949e08d6f29b6c4462f14af1d5007acac163dbf"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=7097741460d683b4ddf1ba78026e7759f2d5ee21#7097741460d683b4ddf1ba78026e7759f2d5ee21"
|
||||
|
||||
[[package]]
|
||||
name = "craft-color"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=9949e08d6f29b6c4462f14af1d5007acac163dbf#9949e08d6f29b6c4462f14af1d5007acac163dbf"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=7097741460d683b4ddf1ba78026e7759f2d5ee21#7097741460d683b4ddf1ba78026e7759f2d5ee21"
|
||||
dependencies = [
|
||||
"serde",
|
||||
]
|
||||
@@ -1348,7 +1348,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "craft-color-ui"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=9949e08d6f29b6c4462f14af1d5007acac163dbf#9949e08d6f29b6c4462f14af1d5007acac163dbf"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=7097741460d683b4ddf1ba78026e7759f2d5ee21#7097741460d683b4ddf1ba78026e7759f2d5ee21"
|
||||
dependencies = [
|
||||
"craft-behavior",
|
||||
"craft-cms",
|
||||
@@ -1368,7 +1368,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "craft-control"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=9949e08d6f29b6c4462f14af1d5007acac163dbf#9949e08d6f29b6c4462f14af1d5007acac163dbf"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=7097741460d683b4ddf1ba78026e7759f2d5ee21#7097741460d683b4ddf1ba78026e7759f2d5ee21"
|
||||
dependencies = [
|
||||
"craft-control-protocol",
|
||||
"craft-platform",
|
||||
@@ -1379,7 +1379,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "craft-control-protocol"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=9949e08d6f29b6c4462f14af1d5007acac163dbf#9949e08d6f29b6c4462f14af1d5007acac163dbf"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=7097741460d683b4ddf1ba78026e7759f2d5ee21#7097741460d683b4ddf1ba78026e7759f2d5ee21"
|
||||
dependencies = [
|
||||
"getrandom 0.3.4",
|
||||
"serde_json",
|
||||
@@ -1389,7 +1389,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "craft-dds"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=9949e08d6f29b6c4462f14af1d5007acac163dbf#9949e08d6f29b6c4462f14af1d5007acac163dbf"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=7097741460d683b4ddf1ba78026e7759f2d5ee21#7097741460d683b4ddf1ba78026e7759f2d5ee21"
|
||||
dependencies = [
|
||||
"rayon",
|
||||
]
|
||||
@@ -1397,7 +1397,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "craft-dialogs"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=9949e08d6f29b6c4462f14af1d5007acac163dbf#9949e08d6f29b6c4462f14af1d5007acac163dbf"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=7097741460d683b4ddf1ba78026e7759f2d5ee21#7097741460d683b4ddf1ba78026e7759f2d5ee21"
|
||||
dependencies = [
|
||||
"block2 0.6.2",
|
||||
"craft-appkit",
|
||||
@@ -1423,7 +1423,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "craft-doc-binary"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=9949e08d6f29b6c4462f14af1d5007acac163dbf#9949e08d6f29b6c4462f14af1d5007acac163dbf"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=7097741460d683b4ddf1ba78026e7759f2d5ee21#7097741460d683b4ddf1ba78026e7759f2d5ee21"
|
||||
dependencies = [
|
||||
"chrono",
|
||||
"craft-cfb",
|
||||
@@ -1440,7 +1440,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "craft-docpath"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=9949e08d6f29b6c4462f14af1d5007acac163dbf#9949e08d6f29b6c4462f14af1d5007acac163dbf"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=7097741460d683b4ddf1ba78026e7759f2d5ee21#7097741460d683b4ddf1ba78026e7759f2d5ee21"
|
||||
dependencies = [
|
||||
"serde",
|
||||
]
|
||||
@@ -1448,7 +1448,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "craft-docx"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=9949e08d6f29b6c4462f14af1d5007acac163dbf#9949e08d6f29b6c4462f14af1d5007acac163dbf"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=7097741460d683b4ddf1ba78026e7759f2d5ee21#7097741460d683b4ddf1ba78026e7759f2d5ee21"
|
||||
dependencies = [
|
||||
"base64 0.23.1",
|
||||
"chrono",
|
||||
@@ -1468,7 +1468,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "craft-draw"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=9949e08d6f29b6c4462f14af1d5007acac163dbf#9949e08d6f29b6c4462f14af1d5007acac163dbf"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=7097741460d683b4ddf1ba78026e7759f2d5ee21#7097741460d683b4ddf1ba78026e7759f2d5ee21"
|
||||
dependencies = [
|
||||
"craft-behavior",
|
||||
"craft-color-ui",
|
||||
@@ -1487,7 +1487,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "craft-drawingml"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=9949e08d6f29b6c4462f14af1d5007acac163dbf#9949e08d6f29b6c4462f14af1d5007acac163dbf"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=7097741460d683b4ddf1ba78026e7759f2d5ee21#7097741460d683b4ddf1ba78026e7759f2d5ee21"
|
||||
dependencies = [
|
||||
"chrono",
|
||||
"craft-xml",
|
||||
@@ -1499,7 +1499,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "craft-flow"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=9949e08d6f29b6c4462f14af1d5007acac163dbf#9949e08d6f29b6c4462f14af1d5007acac163dbf"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=7097741460d683b4ddf1ba78026e7759f2d5ee21#7097741460d683b4ddf1ba78026e7759f2d5ee21"
|
||||
dependencies = [
|
||||
"craft-wordmodel",
|
||||
"image",
|
||||
@@ -1509,7 +1509,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "craft-font-catalog"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=9949e08d6f29b6c4462f14af1d5007acac163dbf#9949e08d6f29b6c4462f14af1d5007acac163dbf"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=7097741460d683b4ddf1ba78026e7759f2d5ee21#7097741460d683b4ddf1ba78026e7759f2d5ee21"
|
||||
dependencies = [
|
||||
"fontique",
|
||||
"harfrust 0.13.3",
|
||||
@@ -1524,7 +1524,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "craft-font-manager"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=9949e08d6f29b6c4462f14af1d5007acac163dbf#9949e08d6f29b6c4462f14af1d5007acac163dbf"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=7097741460d683b4ddf1ba78026e7759f2d5ee21#7097741460d683b4ddf1ba78026e7759f2d5ee21"
|
||||
dependencies = [
|
||||
"craft-behavior",
|
||||
"craft-font-catalog",
|
||||
@@ -1543,7 +1543,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "craft-font-os-windows"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=9949e08d6f29b6c4462f14af1d5007acac163dbf#9949e08d6f29b6c4462f14af1d5007acac163dbf"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=7097741460d683b4ddf1ba78026e7759f2d5ee21#7097741460d683b4ddf1ba78026e7759f2d5ee21"
|
||||
dependencies = [
|
||||
"windows-registry",
|
||||
"windows-sys 0.61.2",
|
||||
@@ -1552,7 +1552,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "craft-font-store"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=9949e08d6f29b6c4462f14af1d5007acac163dbf#9949e08d6f29b6c4462f14af1d5007acac163dbf"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=7097741460d683b4ddf1ba78026e7759f2d5ee21#7097741460d683b4ddf1ba78026e7759f2d5ee21"
|
||||
dependencies = [
|
||||
"cap-primitives",
|
||||
"craft-atomic",
|
||||
@@ -1575,7 +1575,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "craft-font-subset"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=9949e08d6f29b6c4462f14af1d5007acac163dbf#9949e08d6f29b6c4462f14af1d5007acac163dbf"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=7097741460d683b4ddf1ba78026e7759f2d5ee21#7097741460d683b4ddf1ba78026e7759f2d5ee21"
|
||||
dependencies = [
|
||||
"brotli 9.1.3",
|
||||
"harfbuzz-subset-sys",
|
||||
@@ -1588,7 +1588,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "craft-fonts-build"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=9949e08d6f29b6c4462f14af1d5007acac163dbf#9949e08d6f29b6c4462f14af1d5007acac163dbf"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=7097741460d683b4ddf1ba78026e7759f2d5ee21#7097741460d683b4ddf1ba78026e7759f2d5ee21"
|
||||
dependencies = [
|
||||
"craft-font-subset",
|
||||
]
|
||||
@@ -1596,7 +1596,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "craft-gpu"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=9949e08d6f29b6c4462f14af1d5007acac163dbf#9949e08d6f29b6c4462f14af1d5007acac163dbf"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=7097741460d683b4ddf1ba78026e7759f2d5ee21#7097741460d683b4ddf1ba78026e7759f2d5ee21"
|
||||
dependencies = [
|
||||
"egui-wgpu",
|
||||
"log",
|
||||
@@ -1608,7 +1608,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "craft-host"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=9949e08d6f29b6c4462f14af1d5007acac163dbf#9949e08d6f29b6c4462f14af1d5007acac163dbf"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=7097741460d683b4ddf1ba78026e7759f2d5ee21#7097741460d683b4ddf1ba78026e7759f2d5ee21"
|
||||
dependencies = [
|
||||
"bitflags 2.13.2",
|
||||
"craft-i18n",
|
||||
@@ -1621,7 +1621,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "craft-html"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=9949e08d6f29b6c4462f14af1d5007acac163dbf#9949e08d6f29b6c4462f14af1d5007acac163dbf"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=7097741460d683b4ddf1ba78026e7759f2d5ee21#7097741460d683b4ddf1ba78026e7759f2d5ee21"
|
||||
dependencies = [
|
||||
"craft-codepage",
|
||||
"craft-flow",
|
||||
@@ -1634,7 +1634,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "craft-i18n"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=9949e08d6f29b6c4462f14af1d5007acac163dbf#9949e08d6f29b6c4462f14af1d5007acac163dbf"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=7097741460d683b4ddf1ba78026e7759f2d5ee21#7097741460d683b4ddf1ba78026e7759f2d5ee21"
|
||||
dependencies = [
|
||||
"chrono",
|
||||
"fixed_decimal",
|
||||
@@ -1662,7 +1662,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "craft-image-codecs"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=9949e08d6f29b6c4462f14af1d5007acac163dbf#9949e08d6f29b6c4462f14af1d5007acac163dbf"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=7097741460d683b4ddf1ba78026e7759f2d5ee21#7097741460d683b4ddf1ba78026e7759f2d5ee21"
|
||||
dependencies = [
|
||||
"craft-dds",
|
||||
"craft-jpeg",
|
||||
@@ -1689,7 +1689,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "craft-imaging"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=9949e08d6f29b6c4462f14af1d5007acac163dbf#9949e08d6f29b6c4462f14af1d5007acac163dbf"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=7097741460d683b4ddf1ba78026e7759f2d5ee21#7097741460d683b4ddf1ba78026e7759f2d5ee21"
|
||||
dependencies = [
|
||||
"craft-behavior",
|
||||
"craft-color-ui",
|
||||
@@ -1707,7 +1707,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "craft-jpeg"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=9949e08d6f29b6c4462f14af1d5007acac163dbf#9949e08d6f29b6c4462f14af1d5007acac163dbf"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=7097741460d683b4ddf1ba78026e7759f2d5ee21#7097741460d683b4ddf1ba78026e7759f2d5ee21"
|
||||
dependencies = [
|
||||
"thiserror 2.0.21",
|
||||
]
|
||||
@@ -1715,7 +1715,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "craft-keymap"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=9949e08d6f29b6c4462f14af1d5007acac163dbf#9949e08d6f29b6c4462f14af1d5007acac163dbf"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=7097741460d683b4ddf1ba78026e7759f2d5ee21#7097741460d683b4ddf1ba78026e7759f2d5ee21"
|
||||
dependencies = [
|
||||
"craft-host",
|
||||
"craft-i18n",
|
||||
@@ -1730,7 +1730,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "craft-latex"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=9949e08d6f29b6c4462f14af1d5007acac163dbf#9949e08d6f29b6c4462f14af1d5007acac163dbf"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=7097741460d683b4ddf1ba78026e7759f2d5ee21#7097741460d683b4ddf1ba78026e7759f2d5ee21"
|
||||
dependencies = [
|
||||
"craft-flow",
|
||||
"craft-math",
|
||||
@@ -1741,7 +1741,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "craft-markdown"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=9949e08d6f29b6c4462f14af1d5007acac163dbf#9949e08d6f29b6c4462f14af1d5007acac163dbf"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=7097741460d683b4ddf1ba78026e7759f2d5ee21#7097741460d683b4ddf1ba78026e7759f2d5ee21"
|
||||
dependencies = [
|
||||
"craft-flow",
|
||||
"craft-html",
|
||||
@@ -1751,7 +1751,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "craft-math"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=9949e08d6f29b6c4462f14af1d5007acac163dbf#9949e08d6f29b6c4462f14af1d5007acac163dbf"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=7097741460d683b4ddf1ba78026e7759f2d5ee21#7097741460d683b4ddf1ba78026e7759f2d5ee21"
|
||||
dependencies = [
|
||||
"craft-xml",
|
||||
"roxmltree",
|
||||
@@ -1761,7 +1761,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "craft-mcp-server"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=9949e08d6f29b6c4462f14af1d5007acac163dbf#9949e08d6f29b6c4462f14af1d5007acac163dbf"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=7097741460d683b4ddf1ba78026e7759f2d5ee21#7097741460d683b4ddf1ba78026e7759f2d5ee21"
|
||||
dependencies = [
|
||||
"serde_json",
|
||||
]
|
||||
@@ -1769,7 +1769,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "craft-menu"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=9949e08d6f29b6c4462f14af1d5007acac163dbf#9949e08d6f29b6c4462f14af1d5007acac163dbf"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=7097741460d683b4ddf1ba78026e7759f2d5ee21#7097741460d683b4ddf1ba78026e7759f2d5ee21"
|
||||
dependencies = [
|
||||
"craft-behavior",
|
||||
"craft-host",
|
||||
@@ -1787,7 +1787,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "craft-metadata"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=9949e08d6f29b6c4462f14af1d5007acac163dbf#9949e08d6f29b6c4462f14af1d5007acac163dbf"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=7097741460d683b4ddf1ba78026e7759f2d5ee21#7097741460d683b4ddf1ba78026e7759f2d5ee21"
|
||||
dependencies = [
|
||||
"brotli-decompressor 6.3.1",
|
||||
"chrono",
|
||||
@@ -1799,7 +1799,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "craft-metafile"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=9949e08d6f29b6c4462f14af1d5007acac163dbf#9949e08d6f29b6c4462f14af1d5007acac163dbf"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=7097741460d683b4ddf1ba78026e7759f2d5ee21#7097741460d683b4ddf1ba78026e7759f2d5ee21"
|
||||
dependencies = [
|
||||
"encoding_rs",
|
||||
"image",
|
||||
@@ -1810,7 +1810,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "craft-mime"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=9949e08d6f29b6c4462f14af1d5007acac163dbf#9949e08d6f29b6c4462f14af1d5007acac163dbf"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=7097741460d683b4ddf1ba78026e7759f2d5ee21#7097741460d683b4ddf1ba78026e7759f2d5ee21"
|
||||
dependencies = [
|
||||
"chardetng",
|
||||
"chrono",
|
||||
@@ -1821,7 +1821,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "craft-odf"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=9949e08d6f29b6c4462f14af1d5007acac163dbf#9949e08d6f29b6c4462f14af1d5007acac163dbf"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=7097741460d683b4ddf1ba78026e7759f2d5ee21#7097741460d683b4ddf1ba78026e7759f2d5ee21"
|
||||
dependencies = [
|
||||
"aes",
|
||||
"base64 0.23.1",
|
||||
@@ -1847,7 +1847,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "craft-ods"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=9949e08d6f29b6c4462f14af1d5007acac163dbf#9949e08d6f29b6c4462f14af1d5007acac163dbf"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=7097741460d683b4ddf1ba78026e7759f2d5ee21#7097741460d683b4ddf1ba78026e7759f2d5ee21"
|
||||
dependencies = [
|
||||
"craft-odf",
|
||||
"craft-sheet",
|
||||
@@ -1858,7 +1858,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "craft-offcrypto"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=9949e08d6f29b6c4462f14af1d5007acac163dbf#9949e08d6f29b6c4462f14af1d5007acac163dbf"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=7097741460d683b4ddf1ba78026e7759f2d5ee21#7097741460d683b4ddf1ba78026e7759f2d5ee21"
|
||||
dependencies = [
|
||||
"aes",
|
||||
"base64 0.23.1",
|
||||
@@ -1875,7 +1875,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "craft-opc"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=9949e08d6f29b6c4462f14af1d5007acac163dbf#9949e08d6f29b6c4462f14af1d5007acac163dbf"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=7097741460d683b4ddf1ba78026e7759f2d5ee21#7097741460d683b4ddf1ba78026e7759f2d5ee21"
|
||||
dependencies = [
|
||||
"craft-xml",
|
||||
"craft-zip",
|
||||
@@ -1886,7 +1886,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "craft-pages"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=9949e08d6f29b6c4462f14af1d5007acac163dbf#9949e08d6f29b6c4462f14af1d5007acac163dbf"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=7097741460d683b4ddf1ba78026e7759f2d5ee21#7097741460d683b4ddf1ba78026e7759f2d5ee21"
|
||||
dependencies = [
|
||||
"craft-behavior",
|
||||
"craft-keymap",
|
||||
@@ -1902,7 +1902,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "craft-pdf"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=9949e08d6f29b6c4462f14af1d5007acac163dbf#9949e08d6f29b6c4462f14af1d5007acac163dbf"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=7097741460d683b4ddf1ba78026e7759f2d5ee21#7097741460d683b4ddf1ba78026e7759f2d5ee21"
|
||||
dependencies = [
|
||||
"krilla",
|
||||
"serde",
|
||||
@@ -1912,7 +1912,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "craft-platform"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=9949e08d6f29b6c4462f14af1d5007acac163dbf#9949e08d6f29b6c4462f14af1d5007acac163dbf"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=7097741460d683b4ddf1ba78026e7759f2d5ee21#7097741460d683b4ddf1ba78026e7759f2d5ee21"
|
||||
dependencies = [
|
||||
"arboard",
|
||||
"async-channel",
|
||||
@@ -1948,7 +1948,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "craft-print"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=9949e08d6f29b6c4462f14af1d5007acac163dbf#9949e08d6f29b6c4462f14af1d5007acac163dbf"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=7097741460d683b4ddf1ba78026e7759f2d5ee21#7097741460d683b4ddf1ba78026e7759f2d5ee21"
|
||||
dependencies = [
|
||||
"craft-behavior",
|
||||
"craft-host",
|
||||
@@ -1972,7 +1972,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "craft-proof"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=9949e08d6f29b6c4462f14af1d5007acac163dbf#9949e08d6f29b6c4462f14af1d5007acac163dbf"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=7097741460d683b4ddf1ba78026e7759f2d5ee21#7097741460d683b4ddf1ba78026e7759f2d5ee21"
|
||||
dependencies = [
|
||||
"log",
|
||||
"miniz_oxide 0.9.1",
|
||||
@@ -1983,7 +1983,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "craft-quit"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=9949e08d6f29b6c4462f14af1d5007acac163dbf#9949e08d6f29b6c4462f14af1d5007acac163dbf"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=7097741460d683b4ddf1ba78026e7759f2d5ee21#7097741460d683b4ddf1ba78026e7759f2d5ee21"
|
||||
dependencies = [
|
||||
"dispatch2",
|
||||
"egui",
|
||||
@@ -1996,7 +1996,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "craft-review"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=9949e08d6f29b6c4462f14af1d5007acac163dbf#9949e08d6f29b6c4462f14af1d5007acac163dbf"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=7097741460d683b4ddf1ba78026e7759f2d5ee21#7097741460d683b4ddf1ba78026e7759f2d5ee21"
|
||||
dependencies = [
|
||||
"base64 0.23.1",
|
||||
"craft-behavior",
|
||||
@@ -2015,7 +2015,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "craft-rtf"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=9949e08d6f29b6c4462f14af1d5007acac163dbf#9949e08d6f29b6c4462f14af1d5007acac163dbf"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=7097741460d683b4ddf1ba78026e7759f2d5ee21#7097741460d683b4ddf1ba78026e7759f2d5ee21"
|
||||
dependencies = [
|
||||
"craft-codepage",
|
||||
"craft-flow",
|
||||
@@ -2028,7 +2028,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "craft-settings"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=9949e08d6f29b6c4462f14af1d5007acac163dbf#9949e08d6f29b6c4462f14af1d5007acac163dbf"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=7097741460d683b4ddf1ba78026e7759f2d5ee21#7097741460d683b4ddf1ba78026e7759f2d5ee21"
|
||||
dependencies = [
|
||||
"craft-atomic",
|
||||
"craft-host",
|
||||
@@ -2045,17 +2045,17 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "craft-sheet"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=9949e08d6f29b6c4462f14af1d5007acac163dbf#9949e08d6f29b6c4462f14af1d5007acac163dbf"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=7097741460d683b4ddf1ba78026e7759f2d5ee21#7097741460d683b4ddf1ba78026e7759f2d5ee21"
|
||||
|
||||
[[package]]
|
||||
name = "craft-ssip"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=9949e08d6f29b6c4462f14af1d5007acac163dbf#9949e08d6f29b6c4462f14af1d5007acac163dbf"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=7097741460d683b4ddf1ba78026e7759f2d5ee21#7097741460d683b4ddf1ba78026e7759f2d5ee21"
|
||||
|
||||
[[package]]
|
||||
name = "craft-svg"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=9949e08d6f29b6c4462f14af1d5007acac163dbf#9949e08d6f29b6c4462f14af1d5007acac163dbf"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=7097741460d683b4ddf1ba78026e7759f2d5ee21#7097741460d683b4ddf1ba78026e7759f2d5ee21"
|
||||
dependencies = [
|
||||
"craft-xml",
|
||||
"flate2",
|
||||
@@ -2072,7 +2072,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "craft-table"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=9949e08d6f29b6c4462f14af1d5007acac163dbf#9949e08d6f29b6c4462f14af1d5007acac163dbf"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=7097741460d683b4ddf1ba78026e7759f2d5ee21#7097741460d683b4ddf1ba78026e7759f2d5ee21"
|
||||
dependencies = [
|
||||
"craft-behavior",
|
||||
"craft-keymap",
|
||||
@@ -2084,7 +2084,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "craft-text"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=9949e08d6f29b6c4462f14af1d5007acac163dbf#9949e08d6f29b6c4462f14af1d5007acac163dbf"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=7097741460d683b4ddf1ba78026e7759f2d5ee21#7097741460d683b4ddf1ba78026e7759f2d5ee21"
|
||||
dependencies = [
|
||||
"craft-behavior",
|
||||
"craft-host",
|
||||
@@ -2108,7 +2108,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "craft-theme"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=9949e08d6f29b6c4462f14af1d5007acac163dbf#9949e08d6f29b6c4462f14af1d5007acac163dbf"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=7097741460d683b4ddf1ba78026e7759f2d5ee21#7097741460d683b4ddf1ba78026e7759f2d5ee21"
|
||||
dependencies = [
|
||||
"bitflags 2.13.2",
|
||||
"craft-tracked",
|
||||
@@ -2123,7 +2123,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "craft-theme-store"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=9949e08d6f29b6c4462f14af1d5007acac163dbf#9949e08d6f29b6c4462f14af1d5007acac163dbf"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=7097741460d683b4ddf1ba78026e7759f2d5ee21#7097741460d683b4ddf1ba78026e7759f2d5ee21"
|
||||
dependencies = [
|
||||
"craft-atomic",
|
||||
"craft-behavior",
|
||||
@@ -2138,7 +2138,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "craft-tiff"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=9949e08d6f29b6c4462f14af1d5007acac163dbf#9949e08d6f29b6c4462f14af1d5007acac163dbf"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=7097741460d683b4ddf1ba78026e7759f2d5ee21#7097741460d683b4ddf1ba78026e7759f2d5ee21"
|
||||
dependencies = [
|
||||
"serde",
|
||||
"thiserror 2.0.21",
|
||||
@@ -2148,7 +2148,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "craft-time"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=9949e08d6f29b6c4462f14af1d5007acac163dbf#9949e08d6f29b6c4462f14af1d5007acac163dbf"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=7097741460d683b4ddf1ba78026e7759f2d5ee21#7097741460d683b4ddf1ba78026e7759f2d5ee21"
|
||||
dependencies = [
|
||||
"serde",
|
||||
"thiserror 2.0.21",
|
||||
@@ -2157,7 +2157,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "craft-timeline"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=9949e08d6f29b6c4462f14af1d5007acac163dbf#9949e08d6f29b6c4462f14af1d5007acac163dbf"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=7097741460d683b4ddf1ba78026e7759f2d5ee21#7097741460d683b4ddf1ba78026e7759f2d5ee21"
|
||||
dependencies = [
|
||||
"craft-behavior",
|
||||
"craft-keymap",
|
||||
@@ -2172,12 +2172,12 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "craft-tracked"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=9949e08d6f29b6c4462f14af1d5007acac163dbf#9949e08d6f29b6c4462f14af1d5007acac163dbf"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=7097741460d683b4ddf1ba78026e7759f2d5ee21#7097741460d683b4ddf1ba78026e7759f2d5ee21"
|
||||
|
||||
[[package]]
|
||||
name = "craft-ui"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=9949e08d6f29b6c4462f14af1d5007acac163dbf#9949e08d6f29b6c4462f14af1d5007acac163dbf"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=7097741460d683b4ddf1ba78026e7759f2d5ee21#7097741460d683b4ddf1ba78026e7759f2d5ee21"
|
||||
dependencies = [
|
||||
"craft-cloud-ui",
|
||||
"craft-ui-canvas",
|
||||
@@ -2191,7 +2191,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "craft-ui-canvas"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=9949e08d6f29b6c4462f14af1d5007acac163dbf#9949e08d6f29b6c4462f14af1d5007acac163dbf"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=7097741460d683b4ddf1ba78026e7759f2d5ee21#7097741460d683b4ddf1ba78026e7759f2d5ee21"
|
||||
dependencies = [
|
||||
"craft-behavior",
|
||||
"craft-i18n",
|
||||
@@ -2207,7 +2207,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "craft-ui-contract"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=9949e08d6f29b6c4462f14af1d5007acac163dbf#9949e08d6f29b6c4462f14af1d5007acac163dbf"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=7097741460d683b4ddf1ba78026e7759f2d5ee21#7097741460d683b4ddf1ba78026e7759f2d5ee21"
|
||||
dependencies = [
|
||||
"accesskit",
|
||||
"craft-behavior",
|
||||
@@ -2245,7 +2245,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "craft-ui-macros"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=9949e08d6f29b6c4462f14af1d5007acac163dbf#9949e08d6f29b6c4462f14af1d5007acac163dbf"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=7097741460d683b4ddf1ba78026e7759f2d5ee21#7097741460d683b4ddf1ba78026e7759f2d5ee21"
|
||||
dependencies = [
|
||||
"proc-macro-crate",
|
||||
"proc-macro2",
|
||||
@@ -2256,7 +2256,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "craft-ui-panels"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=9949e08d6f29b6c4462f14af1d5007acac163dbf#9949e08d6f29b6c4462f14af1d5007acac163dbf"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=7097741460d683b4ddf1ba78026e7759f2d5ee21#7097741460d683b4ddf1ba78026e7759f2d5ee21"
|
||||
dependencies = [
|
||||
"craft-behavior",
|
||||
"craft-host",
|
||||
@@ -2274,7 +2274,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "craft-ui-patterns"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=9949e08d6f29b6c4462f14af1d5007acac163dbf#9949e08d6f29b6c4462f14af1d5007acac163dbf"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=7097741460d683b4ddf1ba78026e7759f2d5ee21#7097741460d683b4ddf1ba78026e7759f2d5ee21"
|
||||
dependencies = [
|
||||
"craft-behavior",
|
||||
"craft-host",
|
||||
@@ -2295,7 +2295,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "craft-ui-shell"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=9949e08d6f29b6c4462f14af1d5007acac163dbf#9949e08d6f29b6c4462f14af1d5007acac163dbf"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=7097741460d683b4ddf1ba78026e7759f2d5ee21#7097741460d683b4ddf1ba78026e7759f2d5ee21"
|
||||
dependencies = [
|
||||
"craft-behavior",
|
||||
"craft-host",
|
||||
@@ -2316,7 +2316,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "craft-ui-test-kit"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=9949e08d6f29b6c4462f14af1d5007acac163dbf#9949e08d6f29b6c4462f14af1d5007acac163dbf"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=7097741460d683b4ddf1ba78026e7759f2d5ee21#7097741460d683b4ddf1ba78026e7759f2d5ee21"
|
||||
dependencies = [
|
||||
"craft-behavior",
|
||||
"craft-host",
|
||||
@@ -2327,7 +2327,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "craft-ui-widgets"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=9949e08d6f29b6c4462f14af1d5007acac163dbf#9949e08d6f29b6c4462f14af1d5007acac163dbf"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=7097741460d683b4ddf1ba78026e7759f2d5ee21#7097741460d683b4ddf1ba78026e7759f2d5ee21"
|
||||
dependencies = [
|
||||
"craft-behavior",
|
||||
"craft-host",
|
||||
@@ -2346,7 +2346,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "craft-update"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=9949e08d6f29b6c4462f14af1d5007acac163dbf#9949e08d6f29b6c4462f14af1d5007acac163dbf"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=7097741460d683b4ddf1ba78026e7759f2d5ee21#7097741460d683b4ddf1ba78026e7759f2d5ee21"
|
||||
dependencies = [
|
||||
"base64 0.22.1",
|
||||
"chrono",
|
||||
@@ -2378,7 +2378,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "craft-web-api"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=9949e08d6f29b6c4462f14af1d5007acac163dbf#9949e08d6f29b6c4462f14af1d5007acac163dbf"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=7097741460d683b4ddf1ba78026e7759f2d5ee21#7097741460d683b4ddf1ba78026e7759f2d5ee21"
|
||||
dependencies = [
|
||||
"js-sys",
|
||||
"serde_json",
|
||||
@@ -2389,7 +2389,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "craft-web-host"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=9949e08d6f29b6c4462f14af1d5007acac163dbf#9949e08d6f29b6c4462f14af1d5007acac163dbf"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=7097741460d683b4ddf1ba78026e7759f2d5ee21#7097741460d683b4ddf1ba78026e7759f2d5ee21"
|
||||
dependencies = [
|
||||
"craft-host",
|
||||
"craft-platform",
|
||||
@@ -2401,7 +2401,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "craft-win32"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=9949e08d6f29b6c4462f14af1d5007acac163dbf#9949e08d6f29b6c4462f14af1d5007acac163dbf"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=7097741460d683b4ddf1ba78026e7759f2d5ee21#7097741460d683b4ddf1ba78026e7759f2d5ee21"
|
||||
dependencies = [
|
||||
"winsafe",
|
||||
]
|
||||
@@ -2409,7 +2409,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "craft-window"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=9949e08d6f29b6c4462f14af1d5007acac163dbf#9949e08d6f29b6c4462f14af1d5007acac163dbf"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=7097741460d683b4ddf1ba78026e7759f2d5ee21#7097741460d683b4ddf1ba78026e7759f2d5ee21"
|
||||
dependencies = [
|
||||
"craft-appkit",
|
||||
"craft-atomic",
|
||||
@@ -2441,7 +2441,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "craft-wordmodel"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=9949e08d6f29b6c4462f14af1d5007acac163dbf#9949e08d6f29b6c4462f14af1d5007acac163dbf"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=7097741460d683b4ddf1ba78026e7759f2d5ee21#7097741460d683b4ddf1ba78026e7759f2d5ee21"
|
||||
dependencies = [
|
||||
"base64 0.23.1",
|
||||
"craft-math",
|
||||
@@ -2455,7 +2455,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "craft-xls"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=9949e08d6f29b6c4462f14af1d5007acac163dbf#9949e08d6f29b6c4462f14af1d5007acac163dbf"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=7097741460d683b4ddf1ba78026e7759f2d5ee21#7097741460d683b4ddf1ba78026e7759f2d5ee21"
|
||||
dependencies = [
|
||||
"craft-cfb",
|
||||
"craft-sheet",
|
||||
@@ -2468,7 +2468,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "craft-xlsx"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=9949e08d6f29b6c4462f14af1d5007acac163dbf#9949e08d6f29b6c4462f14af1d5007acac163dbf"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=7097741460d683b4ddf1ba78026e7759f2d5ee21#7097741460d683b4ddf1ba78026e7759f2d5ee21"
|
||||
dependencies = [
|
||||
"craft-drawingml",
|
||||
"craft-opc",
|
||||
@@ -2480,7 +2480,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "craft-xml"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=9949e08d6f29b6c4462f14af1d5007acac163dbf#9949e08d6f29b6c4462f14af1d5007acac163dbf"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=7097741460d683b4ddf1ba78026e7759f2d5ee21#7097741460d683b4ddf1ba78026e7759f2d5ee21"
|
||||
dependencies = [
|
||||
"quick-xml 0.41.0",
|
||||
"serde",
|
||||
@@ -2490,7 +2490,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "craft-zip"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=9949e08d6f29b6c4462f14af1d5007acac163dbf#9949e08d6f29b6c4462f14af1d5007acac163dbf"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=7097741460d683b4ddf1ba78026e7759f2d5ee21#7097741460d683b4ddf1ba78026e7759f2d5ee21"
|
||||
dependencies = [
|
||||
"flate2",
|
||||
"thiserror 2.0.21",
|
||||
@@ -2846,7 +2846,7 @@ checksum = "92773504d58c093f6de2459af4af33faa518c13451eb8f2b5698ed3d36e7c813"
|
||||
[[package]]
|
||||
name = "ecolor"
|
||||
version = "0.37.0"
|
||||
source = "git+https://github.com/storytold/egui.git?rev=14c39fed181756be6f357c284354e0ab55b64443#14c39fed181756be6f357c284354e0ab55b64443"
|
||||
source = "git+https://github.com/storytold/egui.git?rev=932a73b28560acb1a695533307b2cd0d66a42081#932a73b28560acb1a695533307b2cd0d66a42081"
|
||||
dependencies = [
|
||||
"bytemuck",
|
||||
"emath",
|
||||
@@ -2879,7 +2879,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "eframe"
|
||||
version = "0.37.0"
|
||||
source = "git+https://github.com/storytold/egui.git?rev=14c39fed181756be6f357c284354e0ab55b64443#14c39fed181756be6f357c284354e0ab55b64443"
|
||||
source = "git+https://github.com/storytold/egui.git?rev=932a73b28560acb1a695533307b2cd0d66a42081#932a73b28560acb1a695533307b2cd0d66a42081"
|
||||
dependencies = [
|
||||
"ahash",
|
||||
"bytemuck",
|
||||
@@ -2914,7 +2914,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "egui"
|
||||
version = "0.37.0"
|
||||
source = "git+https://github.com/storytold/egui.git?rev=14c39fed181756be6f357c284354e0ab55b64443#14c39fed181756be6f357c284354e0ab55b64443"
|
||||
source = "git+https://github.com/storytold/egui.git?rev=932a73b28560acb1a695533307b2cd0d66a42081#932a73b28560acb1a695533307b2cd0d66a42081"
|
||||
dependencies = [
|
||||
"accesskit",
|
||||
"ahash",
|
||||
@@ -2933,7 +2933,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "egui-wgpu"
|
||||
version = "0.37.0"
|
||||
source = "git+https://github.com/storytold/egui.git?rev=14c39fed181756be6f357c284354e0ab55b64443#14c39fed181756be6f357c284354e0ab55b64443"
|
||||
source = "git+https://github.com/storytold/egui.git?rev=932a73b28560acb1a695533307b2cd0d66a42081#932a73b28560acb1a695533307b2cd0d66a42081"
|
||||
dependencies = [
|
||||
"ahash",
|
||||
"bytemuck",
|
||||
@@ -2952,7 +2952,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "egui-winit"
|
||||
version = "0.37.0"
|
||||
source = "git+https://github.com/storytold/egui.git?rev=14c39fed181756be6f357c284354e0ab55b64443#14c39fed181756be6f357c284354e0ab55b64443"
|
||||
source = "git+https://github.com/storytold/egui.git?rev=932a73b28560acb1a695533307b2cd0d66a42081#932a73b28560acb1a695533307b2cd0d66a42081"
|
||||
dependencies = [
|
||||
"accesskit_winit",
|
||||
"arboard",
|
||||
@@ -2978,7 +2978,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "egui_extras"
|
||||
version = "0.37.0"
|
||||
source = "git+https://github.com/storytold/egui.git?rev=14c39fed181756be6f357c284354e0ab55b64443#14c39fed181756be6f357c284354e0ab55b64443"
|
||||
source = "git+https://github.com/storytold/egui.git?rev=932a73b28560acb1a695533307b2cd0d66a42081#932a73b28560acb1a695533307b2cd0d66a42081"
|
||||
dependencies = [
|
||||
"ahash",
|
||||
"egui",
|
||||
@@ -2991,7 +2991,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "egui_glow"
|
||||
version = "0.37.0"
|
||||
source = "git+https://github.com/storytold/egui.git?rev=14c39fed181756be6f357c284354e0ab55b64443#14c39fed181756be6f357c284354e0ab55b64443"
|
||||
source = "git+https://github.com/storytold/egui.git?rev=932a73b28560acb1a695533307b2cd0d66a42081#932a73b28560acb1a695533307b2cd0d66a42081"
|
||||
dependencies = [
|
||||
"bytemuck",
|
||||
"egui",
|
||||
@@ -3004,7 +3004,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "egui_kittest"
|
||||
version = "0.37.0"
|
||||
source = "git+https://github.com/storytold/egui.git?rev=14c39fed181756be6f357c284354e0ab55b64443#14c39fed181756be6f357c284354e0ab55b64443"
|
||||
source = "git+https://github.com/storytold/egui.git?rev=932a73b28560acb1a695533307b2cd0d66a42081#932a73b28560acb1a695533307b2cd0d66a42081"
|
||||
dependencies = [
|
||||
"dify",
|
||||
"eframe",
|
||||
@@ -3030,7 +3030,7 @@ checksum = "0e9c71c2167ca323c882b99918929403426e2373ea17242ff5653e0d5e1058be"
|
||||
[[package]]
|
||||
name = "emath"
|
||||
version = "0.37.0"
|
||||
source = "git+https://github.com/storytold/egui.git?rev=14c39fed181756be6f357c284354e0ab55b64443#14c39fed181756be6f357c284354e0ab55b64443"
|
||||
source = "git+https://github.com/storytold/egui.git?rev=932a73b28560acb1a695533307b2cd0d66a42081#932a73b28560acb1a695533307b2cd0d66a42081"
|
||||
dependencies = [
|
||||
"bytemuck",
|
||||
]
|
||||
@@ -3111,7 +3111,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "epaint"
|
||||
version = "0.37.0"
|
||||
source = "git+https://github.com/storytold/egui.git?rev=14c39fed181756be6f357c284354e0ab55b64443#14c39fed181756be6f357c284354e0ab55b64443"
|
||||
source = "git+https://github.com/storytold/egui.git?rev=932a73b28560acb1a695533307b2cd0d66a42081#932a73b28560acb1a695533307b2cd0d66a42081"
|
||||
dependencies = [
|
||||
"ahash",
|
||||
"bytemuck",
|
||||
@@ -3137,7 +3137,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "epaint_default_fonts"
|
||||
version = "0.37.0"
|
||||
source = "git+https://github.com/storytold/egui.git?rev=14c39fed181756be6f357c284354e0ab55b64443#14c39fed181756be6f357c284354e0ab55b64443"
|
||||
source = "git+https://github.com/storytold/egui.git?rev=932a73b28560acb1a695533307b2cd0d66a42081#932a73b28560acb1a695533307b2cd0d66a42081"
|
||||
|
||||
[[package]]
|
||||
name = "equivalent"
|
||||
@@ -3866,7 +3866,7 @@ checksum = "9f4d0e94ddd48749f06bbe4e5389fb9799a0c45bcaf00495042076ef05e3241a"
|
||||
[[package]]
|
||||
name = "hayro-cmap"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=9949e08d6f29b6c4462f14af1d5007acac163dbf#9949e08d6f29b6c4462f14af1d5007acac163dbf"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=7097741460d683b4ddf1ba78026e7759f2d5ee21#7097741460d683b4ddf1ba78026e7759f2d5ee21"
|
||||
dependencies = [
|
||||
"brotli 8.0.4",
|
||||
"hayro-postscript",
|
||||
@@ -3875,7 +3875,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "hayro-interpret"
|
||||
version = "0.7.0"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=9949e08d6f29b6c4462f14af1d5007acac163dbf#9949e08d6f29b6c4462f14af1d5007acac163dbf"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=7097741460d683b4ddf1ba78026e7759f2d5ee21#7097741460d683b4ddf1ba78026e7759f2d5ee21"
|
||||
dependencies = [
|
||||
"bitflags 2.13.2",
|
||||
"hayro-cmap",
|
||||
@@ -3893,7 +3893,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "hayro-jbig2"
|
||||
version = "0.3.0"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=9949e08d6f29b6c4462f14af1d5007acac163dbf#9949e08d6f29b6c4462f14af1d5007acac163dbf"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=7097741460d683b4ddf1ba78026e7759f2d5ee21#7097741460d683b4ddf1ba78026e7759f2d5ee21"
|
||||
dependencies = [
|
||||
"fearless_simd",
|
||||
"hayro-ccitt",
|
||||
@@ -3911,12 +3911,12 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "hayro-postscript"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=9949e08d6f29b6c4462f14af1d5007acac163dbf#9949e08d6f29b6c4462f14af1d5007acac163dbf"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=7097741460d683b4ddf1ba78026e7759f2d5ee21#7097741460d683b4ddf1ba78026e7759f2d5ee21"
|
||||
|
||||
[[package]]
|
||||
name = "hayro-syntax"
|
||||
version = "0.7.2"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=9949e08d6f29b6c4462f14af1d5007acac163dbf#9949e08d6f29b6c4462f14af1d5007acac163dbf"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=7097741460d683b4ddf1ba78026e7759f2d5ee21#7097741460d683b4ddf1ba78026e7759f2d5ee21"
|
||||
dependencies = [
|
||||
"flate2",
|
||||
"hayro-ccitt",
|
||||
@@ -4645,7 +4645,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "krilla"
|
||||
version = "0.8.2"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=9949e08d6f29b6c4462f14af1d5007acac163dbf#9949e08d6f29b6c4462f14af1d5007acac163dbf"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=7097741460d683b4ddf1ba78026e7759f2d5ee21#7097741460d683b4ddf1ba78026e7759f2d5ee21"
|
||||
dependencies = [
|
||||
"base64 0.22.1",
|
||||
"bumpalo",
|
||||
@@ -4784,7 +4784,7 @@ checksum = "d4a5ff6bcca6c4867b1c4fd4ef63e4db7436ef363e0ad7531d1558856bae64f4"
|
||||
[[package]]
|
||||
name = "linesweeper"
|
||||
version = "0.5.0"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=9949e08d6f29b6c4462f14af1d5007acac163dbf#9949e08d6f29b6c4462f14af1d5007acac163dbf"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=7097741460d683b4ddf1ba78026e7759f2d5ee21#7097741460d683b4ddf1ba78026e7759f2d5ee21"
|
||||
dependencies = [
|
||||
"arrayvec",
|
||||
"kurbo",
|
||||
@@ -10012,19 +10012,19 @@ dependencies = [
|
||||
[[patch.unused]]
|
||||
name = "egui_demo_lib"
|
||||
version = "0.37.0"
|
||||
source = "git+https://github.com/storytold/egui.git?rev=14c39fed181756be6f357c284354e0ab55b64443#14c39fed181756be6f357c284354e0ab55b64443"
|
||||
source = "git+https://github.com/storytold/egui.git?rev=932a73b28560acb1a695533307b2cd0d66a42081#932a73b28560acb1a695533307b2cd0d66a42081"
|
||||
|
||||
[[patch.unused]]
|
||||
name = "egui_inspection"
|
||||
version = "0.37.0"
|
||||
source = "git+https://github.com/storytold/egui.git?rev=14c39fed181756be6f357c284354e0ab55b64443#14c39fed181756be6f357c284354e0ab55b64443"
|
||||
source = "git+https://github.com/storytold/egui.git?rev=932a73b28560acb1a695533307b2cd0d66a42081#932a73b28560acb1a695533307b2cd0d66a42081"
|
||||
|
||||
[[patch.unused]]
|
||||
name = "egui_system_font_provider"
|
||||
version = "0.37.0"
|
||||
source = "git+https://github.com/storytold/egui.git?rev=14c39fed181756be6f357c284354e0ab55b64443#14c39fed181756be6f357c284354e0ab55b64443"
|
||||
source = "git+https://github.com/storytold/egui.git?rev=932a73b28560acb1a695533307b2cd0d66a42081#932a73b28560acb1a695533307b2cd0d66a42081"
|
||||
|
||||
[[patch.unused]]
|
||||
name = "hayro"
|
||||
version = "0.7.1"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=9949e08d6f29b6c4462f14af1d5007acac163dbf#9949e08d6f29b6c4462f14af1d5007acac163dbf"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=7097741460d683b4ddf1ba78026e7759f2d5ee21#7097741460d683b4ddf1ba78026e7759f2d5ee21"
|
||||
|
||||
+53
-53
@@ -33,25 +33,25 @@ wordcraft-pdf = { path = "crates/pdf" }
|
||||
# Proofing is craft-libs' craft-proof (it was crates/proof); its Language data is craft-i18n's
|
||||
# language-data/, embedded from CRAFT_I18N_DIR (craft-i18n.rev). The package keeps the
|
||||
# `wordcraft-proof` name here so `wordcraft_proof::` paths are unchanged.
|
||||
# craft-proof is storytold/craft-libs main at 9949e08d. That tree has #590 (ca-ES-valencia
|
||||
# craft-proof is storytold/craft-libs main at 93dac78c. That tree has #590 (ca-ES-valencia
|
||||
# reads the ca-valencia pack), #589 (French elision suggestions first), #497 (flag-based
|
||||
# compounding), #496 (review follow-ups, en-AU) and the merged #482–#490/#495 stack; the font
|
||||
# store's `language-pack` kind is #486 (CP4.1).
|
||||
wordcraft-proof = { package = "craft-proof", git = "https://github.com/storytold/craft-libs", rev = "9949e08d6f29b6c4462f14af1d5007acac163dbf", version = "=0.1.0" }
|
||||
craft-font-store = { git = "https://github.com/storytold/craft-libs", rev = "9949e08d6f29b6c4462f14af1d5007acac163dbf", version = "=0.1.0" }
|
||||
craft-font-catalog = { git = "https://github.com/storytold/craft-libs", rev = "9949e08d6f29b6c4462f14af1d5007acac163dbf", version = "=0.1.0" }
|
||||
craft-ssip = { git = "https://github.com/storytold/craft-libs", rev = "9949e08d6f29b6c4462f14af1d5007acac163dbf", version = "=0.1.0" }
|
||||
wordcraft-proof = { package = "craft-proof", git = "https://github.com/storytold/craft-libs", rev = "7097741460d683b4ddf1ba78026e7759f2d5ee21", version = "=0.1.0" }
|
||||
craft-font-store = { git = "https://github.com/storytold/craft-libs", rev = "7097741460d683b4ddf1ba78026e7759f2d5ee21", version = "=0.1.0" }
|
||||
craft-font-catalog = { git = "https://github.com/storytold/craft-libs", rev = "7097741460d683b4ddf1ba78026e7759f2d5ee21", version = "=0.1.0" }
|
||||
craft-ssip = { git = "https://github.com/storytold/craft-libs", rev = "7097741460d683b4ddf1ba78026e7759f2d5ee21", version = "=0.1.0" }
|
||||
wordcraft-engine = { path = "crates/engine" }
|
||||
wordcraft-mcp = { path = "crates/mcp" }
|
||||
wordcraft-zotero = { path = "crates/zotero" }
|
||||
wordcraft-control-key = { path = "crates/control-key" }
|
||||
wordcraft-ui-egui = { path = "crates/ui-egui" }
|
||||
wordcraft-validate = { path = "crates/validate" }
|
||||
craft-codepage = { git = "https://github.com/storytold/craft-libs", rev = "9949e08d6f29b6c4462f14af1d5007acac163dbf", version = "=0.1.0" }
|
||||
craft = { git = "https://github.com/storytold/craft-libs", rev = "9949e08d6f29b6c4462f14af1d5007acac163dbf", version = "=0.1.0", default-features = false }
|
||||
craft-ui-test-kit = { git = "https://github.com/storytold/craft-libs", rev = "9949e08d6f29b6c4462f14af1d5007acac163dbf", version = "=0.1.0" }
|
||||
craft-keymap = { git = "https://github.com/storytold/craft-libs", rev = "9949e08d6f29b6c4462f14af1d5007acac163dbf", version = "=0.1.0" }
|
||||
craft-metafile = { git = "https://github.com/storytold/craft-libs", rev = "9949e08d6f29b6c4462f14af1d5007acac163dbf", version = "=0.1.0" }
|
||||
craft-codepage = { git = "https://github.com/storytold/craft-libs", rev = "7097741460d683b4ddf1ba78026e7759f2d5ee21", version = "=0.1.0" }
|
||||
craft = { git = "https://github.com/storytold/craft-libs", rev = "7097741460d683b4ddf1ba78026e7759f2d5ee21", version = "=0.1.0", default-features = false }
|
||||
craft-ui-test-kit = { git = "https://github.com/storytold/craft-libs", rev = "7097741460d683b4ddf1ba78026e7759f2d5ee21", version = "=0.1.0" }
|
||||
craft-keymap = { git = "https://github.com/storytold/craft-libs", rev = "7097741460d683b4ddf1ba78026e7759f2d5ee21", version = "=0.1.0" }
|
||||
craft-metafile = { git = "https://github.com/storytold/craft-libs", rev = "7097741460d683b4ddf1ba78026e7759f2d5ee21", version = "=0.1.0" }
|
||||
|
||||
# foundation
|
||||
kurbo = { version = "0.13", features = ["serde"] }
|
||||
@@ -84,28 +84,28 @@ wuff = "0.2.9"
|
||||
brotli-decompressor = "5"
|
||||
vello_cpu = "0.2"
|
||||
image = { version = "0.25", default-features = false }
|
||||
craft-image-codecs = { git = "https://github.com/storytold/craft-libs", rev = "9949e08d6f29b6c4462f14af1d5007acac163dbf", version = "=0.1.0" }
|
||||
craft-tiff = { git = "https://github.com/storytold/craft-libs", rev = "9949e08d6f29b6c4462f14af1d5007acac163dbf", version = "=0.1.0" }
|
||||
craft-pdf = { git = "https://github.com/storytold/craft-libs", rev = "9949e08d6f29b6c4462f14af1d5007acac163dbf", version = "=0.1.0", default-features = false, features = ["write"] }
|
||||
craft-image-codecs = { git = "https://github.com/storytold/craft-libs", rev = "7097741460d683b4ddf1ba78026e7759f2d5ee21", version = "=0.1.0" }
|
||||
craft-tiff = { git = "https://github.com/storytold/craft-libs", rev = "7097741460d683b4ddf1ba78026e7759f2d5ee21", version = "=0.1.0" }
|
||||
craft-pdf = { git = "https://github.com/storytold/craft-libs", rev = "7097741460d683b4ddf1ba78026e7759f2d5ee21", version = "=0.1.0", default-features = false, features = ["write"] }
|
||||
|
||||
craft-wordmodel = { git = "https://github.com/storytold/craft-libs", rev = "9949e08d6f29b6c4462f14af1d5007acac163dbf", version = "=0.1.0" }
|
||||
craft-docx = { git = "https://github.com/storytold/craft-libs", rev = "9949e08d6f29b6c4462f14af1d5007acac163dbf", version = "=0.1.0" }
|
||||
craft-mcp-server = { git = "https://github.com/storytold/craft-libs", rev = "9949e08d6f29b6c4462f14af1d5007acac163dbf", version = "=0.1.0" }
|
||||
craft-rtf = { git = "https://github.com/storytold/craft-libs", rev = "9949e08d6f29b6c4462f14af1d5007acac163dbf", version = "=0.1.0", features = ["doc"] }
|
||||
craft-doc-binary = { git = "https://github.com/storytold/craft-libs", rev = "9949e08d6f29b6c4462f14af1d5007acac163dbf", version = "=0.1.0" }
|
||||
craft-flow = { git = "https://github.com/storytold/craft-libs", rev = "9949e08d6f29b6c4462f14af1d5007acac163dbf", version = "=0.1.0" }
|
||||
craft-odf = { git = "https://github.com/storytold/craft-libs", rev = "9949e08d6f29b6c4462f14af1d5007acac163dbf", version = "=0.1.0", features = ["text"] }
|
||||
craft-markdown = { git = "https://github.com/storytold/craft-libs", rev = "9949e08d6f29b6c4462f14af1d5007acac163dbf", version = "=0.1.0" }
|
||||
craft-html = { git = "https://github.com/storytold/craft-libs", rev = "9949e08d6f29b6c4462f14af1d5007acac163dbf", version = "=0.1.0", features = ["flow"] }
|
||||
craft-latex = { git = "https://github.com/storytold/craft-libs", rev = "9949e08d6f29b6c4462f14af1d5007acac163dbf", version = "=0.1.0" }
|
||||
craft-math = { git = "https://github.com/storytold/craft-libs", rev = "9949e08d6f29b6c4462f14af1d5007acac163dbf", version = "=0.1.0" }
|
||||
craft-mime = { git = "https://github.com/storytold/craft-libs", rev = "9949e08d6f29b6c4462f14af1d5007acac163dbf", version = "=0.1.0", features = ["detect"] }
|
||||
craft-sheet = { git = "https://github.com/storytold/craft-libs", rev = "9949e08d6f29b6c4462f14af1d5007acac163dbf", version = "=0.1.0" }
|
||||
craft-ods = { git = "https://github.com/storytold/craft-libs", rev = "9949e08d6f29b6c4462f14af1d5007acac163dbf", version = "=0.1.0" }
|
||||
craft-xls = { git = "https://github.com/storytold/craft-libs", rev = "9949e08d6f29b6c4462f14af1d5007acac163dbf", version = "=0.1.0" }
|
||||
craft-xlsx = { git = "https://github.com/storytold/craft-libs", rev = "9949e08d6f29b6c4462f14af1d5007acac163dbf", version = "=0.1.0" }
|
||||
craft-xml = { git = "https://github.com/storytold/craft-libs", rev = "9949e08d6f29b6c4462f14af1d5007acac163dbf", version = "=0.1.0" }
|
||||
craft-zip = { git = "https://github.com/storytold/craft-libs", rev = "9949e08d6f29b6c4462f14af1d5007acac163dbf", version = "=0.1.0" }
|
||||
craft-wordmodel = { git = "https://github.com/storytold/craft-libs", rev = "7097741460d683b4ddf1ba78026e7759f2d5ee21", version = "=0.1.0" }
|
||||
craft-docx = { git = "https://github.com/storytold/craft-libs", rev = "7097741460d683b4ddf1ba78026e7759f2d5ee21", version = "=0.1.0" }
|
||||
craft-mcp-server = { git = "https://github.com/storytold/craft-libs", rev = "7097741460d683b4ddf1ba78026e7759f2d5ee21", version = "=0.1.0" }
|
||||
craft-rtf = { git = "https://github.com/storytold/craft-libs", rev = "7097741460d683b4ddf1ba78026e7759f2d5ee21", version = "=0.1.0", features = ["doc"] }
|
||||
craft-doc-binary = { git = "https://github.com/storytold/craft-libs", rev = "7097741460d683b4ddf1ba78026e7759f2d5ee21", version = "=0.1.0" }
|
||||
craft-flow = { git = "https://github.com/storytold/craft-libs", rev = "7097741460d683b4ddf1ba78026e7759f2d5ee21", version = "=0.1.0" }
|
||||
craft-odf = { git = "https://github.com/storytold/craft-libs", rev = "7097741460d683b4ddf1ba78026e7759f2d5ee21", version = "=0.1.0", features = ["text"] }
|
||||
craft-markdown = { git = "https://github.com/storytold/craft-libs", rev = "7097741460d683b4ddf1ba78026e7759f2d5ee21", version = "=0.1.0" }
|
||||
craft-html = { git = "https://github.com/storytold/craft-libs", rev = "7097741460d683b4ddf1ba78026e7759f2d5ee21", version = "=0.1.0", features = ["flow"] }
|
||||
craft-latex = { git = "https://github.com/storytold/craft-libs", rev = "7097741460d683b4ddf1ba78026e7759f2d5ee21", version = "=0.1.0" }
|
||||
craft-math = { git = "https://github.com/storytold/craft-libs", rev = "7097741460d683b4ddf1ba78026e7759f2d5ee21", version = "=0.1.0" }
|
||||
craft-mime = { git = "https://github.com/storytold/craft-libs", rev = "7097741460d683b4ddf1ba78026e7759f2d5ee21", version = "=0.1.0", features = ["detect"] }
|
||||
craft-sheet = { git = "https://github.com/storytold/craft-libs", rev = "7097741460d683b4ddf1ba78026e7759f2d5ee21", version = "=0.1.0" }
|
||||
craft-ods = { git = "https://github.com/storytold/craft-libs", rev = "7097741460d683b4ddf1ba78026e7759f2d5ee21", version = "=0.1.0" }
|
||||
craft-xls = { git = "https://github.com/storytold/craft-libs", rev = "7097741460d683b4ddf1ba78026e7759f2d5ee21", version = "=0.1.0" }
|
||||
craft-xlsx = { git = "https://github.com/storytold/craft-libs", rev = "7097741460d683b4ddf1ba78026e7759f2d5ee21", version = "=0.1.0" }
|
||||
craft-xml = { git = "https://github.com/storytold/craft-libs", rev = "7097741460d683b4ddf1ba78026e7759f2d5ee21", version = "=0.1.0" }
|
||||
craft-zip = { git = "https://github.com/storytold/craft-libs", rev = "7097741460d683b4ddf1ba78026e7759f2d5ee21", version = "=0.1.0" }
|
||||
# zlib streams (compressed metafile pictures in `.doc` drawings); already in the lock as a dependency of other crates.
|
||||
miniz_oxide = "0.9"
|
||||
cfb = "0.15"
|
||||
@@ -173,27 +173,27 @@ debug = 0
|
||||
# The framework's patches, which Cargo does not carry over to dependents: its vendored crates from craft-libs,
|
||||
# and the egui and winit forks it builds with.
|
||||
[patch.crates-io]
|
||||
krilla = { git = "https://github.com/storytold/craft-libs", rev = "9949e08d6f29b6c4462f14af1d5007acac163dbf" }
|
||||
hayro = { git = "https://github.com/storytold/craft-libs", rev = "9949e08d6f29b6c4462f14af1d5007acac163dbf" }
|
||||
hayro-interpret = { git = "https://github.com/storytold/craft-libs", rev = "9949e08d6f29b6c4462f14af1d5007acac163dbf" }
|
||||
hayro-syntax = { git = "https://github.com/storytold/craft-libs", rev = "9949e08d6f29b6c4462f14af1d5007acac163dbf" }
|
||||
hayro-jbig2 = { git = "https://github.com/storytold/craft-libs", rev = "9949e08d6f29b6c4462f14af1d5007acac163dbf" }
|
||||
hayro-cmap = { git = "https://github.com/storytold/craft-libs", rev = "9949e08d6f29b6c4462f14af1d5007acac163dbf" }
|
||||
hayro-postscript = { git = "https://github.com/storytold/craft-libs", rev = "9949e08d6f29b6c4462f14af1d5007acac163dbf" }
|
||||
linesweeper = { git = "https://github.com/storytold/craft-libs", rev = "9949e08d6f29b6c4462f14af1d5007acac163dbf" }
|
||||
ecolor = { git = "https://github.com/storytold/egui.git", rev = "14c39fed181756be6f357c284354e0ab55b64443" }
|
||||
emath = { git = "https://github.com/storytold/egui.git", rev = "14c39fed181756be6f357c284354e0ab55b64443" }
|
||||
epaint = { git = "https://github.com/storytold/egui.git", rev = "14c39fed181756be6f357c284354e0ab55b64443" }
|
||||
epaint_default_fonts = { git = "https://github.com/storytold/egui.git", rev = "14c39fed181756be6f357c284354e0ab55b64443" }
|
||||
egui = { git = "https://github.com/storytold/egui.git", rev = "14c39fed181756be6f357c284354e0ab55b64443" }
|
||||
egui-winit = { git = "https://github.com/storytold/egui.git", rev = "14c39fed181756be6f357c284354e0ab55b64443" }
|
||||
egui-wgpu = { git = "https://github.com/storytold/egui.git", rev = "14c39fed181756be6f357c284354e0ab55b64443" }
|
||||
egui_glow = { git = "https://github.com/storytold/egui.git", rev = "14c39fed181756be6f357c284354e0ab55b64443" }
|
||||
egui_extras = { git = "https://github.com/storytold/egui.git", rev = "14c39fed181756be6f357c284354e0ab55b64443" }
|
||||
egui_kittest = { git = "https://github.com/storytold/egui.git", rev = "14c39fed181756be6f357c284354e0ab55b64443" }
|
||||
egui_system_font_provider = { git = "https://github.com/storytold/egui.git", rev = "14c39fed181756be6f357c284354e0ab55b64443" }
|
||||
eframe = { git = "https://github.com/storytold/egui.git", rev = "14c39fed181756be6f357c284354e0ab55b64443" }
|
||||
egui_demo_lib = { git = "https://github.com/storytold/egui.git", rev = "14c39fed181756be6f357c284354e0ab55b64443" }
|
||||
egui_inspection = { git = "https://github.com/storytold/egui.git", rev = "14c39fed181756be6f357c284354e0ab55b64443" }
|
||||
krilla = { git = "https://github.com/storytold/craft-libs", rev = "7097741460d683b4ddf1ba78026e7759f2d5ee21" }
|
||||
hayro = { git = "https://github.com/storytold/craft-libs", rev = "7097741460d683b4ddf1ba78026e7759f2d5ee21" }
|
||||
hayro-interpret = { git = "https://github.com/storytold/craft-libs", rev = "7097741460d683b4ddf1ba78026e7759f2d5ee21" }
|
||||
hayro-syntax = { git = "https://github.com/storytold/craft-libs", rev = "7097741460d683b4ddf1ba78026e7759f2d5ee21" }
|
||||
hayro-jbig2 = { git = "https://github.com/storytold/craft-libs", rev = "7097741460d683b4ddf1ba78026e7759f2d5ee21" }
|
||||
hayro-cmap = { git = "https://github.com/storytold/craft-libs", rev = "7097741460d683b4ddf1ba78026e7759f2d5ee21" }
|
||||
hayro-postscript = { git = "https://github.com/storytold/craft-libs", rev = "7097741460d683b4ddf1ba78026e7759f2d5ee21" }
|
||||
linesweeper = { git = "https://github.com/storytold/craft-libs", rev = "7097741460d683b4ddf1ba78026e7759f2d5ee21" }
|
||||
ecolor = { git = "https://github.com/storytold/egui.git", rev = "932a73b28560acb1a695533307b2cd0d66a42081" }
|
||||
emath = { git = "https://github.com/storytold/egui.git", rev = "932a73b28560acb1a695533307b2cd0d66a42081" }
|
||||
epaint = { git = "https://github.com/storytold/egui.git", rev = "932a73b28560acb1a695533307b2cd0d66a42081" }
|
||||
epaint_default_fonts = { git = "https://github.com/storytold/egui.git", rev = "932a73b28560acb1a695533307b2cd0d66a42081" }
|
||||
egui = { git = "https://github.com/storytold/egui.git", rev = "932a73b28560acb1a695533307b2cd0d66a42081" }
|
||||
egui-winit = { git = "https://github.com/storytold/egui.git", rev = "932a73b28560acb1a695533307b2cd0d66a42081" }
|
||||
egui-wgpu = { git = "https://github.com/storytold/egui.git", rev = "932a73b28560acb1a695533307b2cd0d66a42081" }
|
||||
egui_glow = { git = "https://github.com/storytold/egui.git", rev = "932a73b28560acb1a695533307b2cd0d66a42081" }
|
||||
egui_extras = { git = "https://github.com/storytold/egui.git", rev = "932a73b28560acb1a695533307b2cd0d66a42081" }
|
||||
egui_kittest = { git = "https://github.com/storytold/egui.git", rev = "932a73b28560acb1a695533307b2cd0d66a42081" }
|
||||
egui_system_font_provider = { git = "https://github.com/storytold/egui.git", rev = "932a73b28560acb1a695533307b2cd0d66a42081" }
|
||||
eframe = { git = "https://github.com/storytold/egui.git", rev = "932a73b28560acb1a695533307b2cd0d66a42081" }
|
||||
egui_demo_lib = { git = "https://github.com/storytold/egui.git", rev = "932a73b28560acb1a695533307b2cd0d66a42081" }
|
||||
egui_inspection = { git = "https://github.com/storytold/egui.git", rev = "932a73b28560acb1a695533307b2cd0d66a42081" }
|
||||
winit = { git = "https://github.com/storytold/winit.git", rev = "a517b3846ee8457d84ee4975110bfda6797c44dc" }
|
||||
|
||||
|
||||
@@ -506,11 +506,6 @@ pub struct ParaProps {
|
||||
/// file (not laid out yet); Word sizes a line by it, so dropping it changes Word's pages.
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
pub text_alignment: Option<TextAlignment>,
|
||||
/// A list item's paragraph after its first (or a list header's), with no number of its own,
|
||||
/// at this list level (0..=8): formats with list items (ODT, HTML, Markdown) keep it in the
|
||||
/// item. Set only directly, never by a style.
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
pub list_item: Option<u8>,
|
||||
}
|
||||
|
||||
impl ParaProps {
|
||||
|
||||
@@ -100,35 +100,18 @@ fn object_value_from_shared(
|
||||
float: convert(float)?,
|
||||
ch_w,
|
||||
ch_h,
|
||||
children: group_children_from_shared(children, graphics)?,
|
||||
children: children.into_iter().map(|c| group_child_value_from_shared(c, graphics)).collect::<Result<_, _>>()?,
|
||||
canvas: canvas.map(convert).transpose()?,
|
||||
}),
|
||||
other => convert(other),
|
||||
}
|
||||
}
|
||||
|
||||
/// A group's members. The shared reader keeps a hyperlinked nested group whole; WordCraft's
|
||||
/// text box, layout and edit code looks one level deep, so lift its members into this group
|
||||
/// (their offsets composed, scaled from the nested group's child space), as the reader does for
|
||||
/// an unlinked one. The nested group's own link is dropped.
|
||||
// lean: nested groups are flattened until WordCraft supports them (follow-up issue).
|
||||
fn group_children_from_shared(
|
||||
children: Vec<craft_wordmodel::para::GroupChild>,
|
||||
fn group_child_value_from_shared(
|
||||
source: craft_wordmodel::para::GroupChild,
|
||||
graphics: &mut GraphicCache,
|
||||
) -> Result<Vec<wordcraft_doc::para::GroupChild>, DocxError> {
|
||||
let mut out = Vec::with_capacity(children.len());
|
||||
for c in children {
|
||||
let (x, y) = (c.x, c.y);
|
||||
match object_value_from_shared(c.obj, graphics)? {
|
||||
wordcraft_doc::para::InlineObject::Group { w, h, ch_w, ch_h, children, .. } => {
|
||||
let (kx, ky) = (if ch_w > 0.0 { w / ch_w } else { 1.0 }, if ch_h > 0.0 { h / ch_h } else { 1.0 });
|
||||
// `children` is already flat: the recursion converted the nested group first.
|
||||
out.extend(children.into_iter().map(|m| wordcraft_doc::para::GroupChild { x: x + m.x * kx, y: y + m.y * ky, obj: m.obj }));
|
||||
}
|
||||
obj => out.push(wordcraft_doc::para::GroupChild { x, y, obj }),
|
||||
}
|
||||
}
|
||||
Ok(out)
|
||||
) -> Result<wordcraft_doc::para::GroupChild, DocxError> {
|
||||
Ok(wordcraft_doc::para::GroupChild { x: source.x, y: source.y, obj: object_value_from_shared(source.obj, graphics)? })
|
||||
}
|
||||
|
||||
fn table_value_from_shared(source: craft_wordmodel::table::Table, graphics: &mut GraphicCache) -> Result<wordcraft_doc::table::Table, DocxError> {
|
||||
|
||||
@@ -229,7 +229,6 @@ fn every_para_prop_round_trips() {
|
||||
fmt_change: None,
|
||||
snap_to_grid: Some(false),
|
||||
text_alignment: Some(TextAlignment::Top),
|
||||
list_item: None, // not a DOCX property
|
||||
};
|
||||
let variants = [
|
||||
ParaProps { line_spacing: Some(LineSpacing::AtLeast(14.0)), indent_first: Some(24.0), align: Some(Align::Center), ..Default::default() },
|
||||
|
||||
@@ -265,23 +265,3 @@ fn story_shared_by_many_shapes_is_written_once() {
|
||||
// fallback. The other shapes do not repeat it.
|
||||
assert_eq!(xml.matches(text.as_str()).count(), 2);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn text_box_in_a_linked_nested_group_survives_pruning() {
|
||||
// The shared reader keeps a hyperlinked nested group whole; the box inside must still be
|
||||
// reachable (`text_boxes` looks one level deep), or the first edit's prune deletes its story.
|
||||
let inner = r#"<wpg:grpSp><wpg:cNvPr id="3" name="Inner"><a:hlinkClick r:id="rId9"/></wpg:cNvPr><wpg:cNvGrpSpPr/><wpg:grpSpPr><a:xfrm><a:off x="635000" y="0"/><a:ext cx="635000" cy="635000"/><a:chOff x="0" y="0"/><a:chExt cx="635000" cy="635000"/></a:xfrm></wpg:grpSpPr><wps:wsp><wps:cNvPr id="4" name="Box"/><wps:cNvSpPr txBox="1"/><wps:spPr><a:xfrm><a:off x="0" y="0"/><a:ext cx="635000" cy="635000"/></a:xfrm><a:prstGeom prst="rect"/></wps:spPr><wps:txbx><w:txbxContent><w:p><w:r><w:t>Inside</w:t></w:r></w:p></w:txbxContent></wps:txbx><wps:bodyPr/></wps:wsp></wpg:grpSp>"#;
|
||||
let doc = format!(
|
||||
r#"<w:document xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:wp="http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing" xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:wps="http://schemas.microsoft.com/office/word/2010/wordprocessingShape" xmlns:wpg="http://schemas.microsoft.com/office/word/2010/wordprocessingGroup"><w:body><w:p><w:r><w:drawing><wp:inline><wp:extent cx="1270000" cy="635000"/><wp:docPr id="1" name="Outer"/><a:graphic><a:graphicData uri="http://schemas.microsoft.com/office/word/2010/wordprocessingGroup"><wpg:wgp><wpg:cNvGrpSpPr/><wpg:grpSpPr><a:xfrm><a:off x="0" y="0"/><a:ext cx="1270000" cy="635000"/><a:chOff x="0" y="0"/><a:chExt cx="1270000" cy="635000"/></a:xfrm></wpg:grpSpPr>{inner}</wpg:wgp></a:graphicData></a:graphic></wp:inline></w:drawing></w:r></w:p></w:body></w:document>"#
|
||||
);
|
||||
let rels = br#"<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" Target="word/document.xml"/></Relationships>"#;
|
||||
let doc_rels = br#"<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Id="rId9" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink" Target="https://example.com/" TargetMode="External"/></Relationships>"#;
|
||||
let bytes = zip(&[("_rels/.rels", rels), ("word/document.xml", doc.as_bytes()), ("word/_rels/document.xml.rels", doc_rels)]);
|
||||
let mut d = wordcraft_docx::read(&bytes).unwrap();
|
||||
assert_eq!(boxes(&d).len(), 1);
|
||||
// What every mutating command does after it runs.
|
||||
d.prune_text_boxes();
|
||||
assert_eq!(boxes(&d).len(), 1, "the nested box lost its story");
|
||||
let xml = document_xml(&wordcraft_docx::write(&d).unwrap());
|
||||
assert!(xml.contains("Inside"), "{xml}");
|
||||
}
|
||||
|
||||
@@ -906,7 +906,6 @@ pub fn state(s: &Session) -> Value {
|
||||
"italic": all.iter().all(shown_italic),
|
||||
"underline": all.iter().all(|r| r.underline != Underline::None),
|
||||
"underlineColor": same(&|r| json!(r.underline_color.map_or_else(|| "auto".to_string(), |c| c.hex()))),
|
||||
"shading": same(&|r| json!(r.shading.map(|c| c.hex()))),
|
||||
"strike": all.iter().all(|r| r.strike),
|
||||
"border": all.iter().all(|r| r.border.is_some()),
|
||||
"subscript": all.iter().all(|r| r.vert_align == VertAlign::Subscript),
|
||||
|
||||
@@ -304,7 +304,7 @@ pub fn specs() -> Vec<CommandSpec> {
|
||||
/// start, so all of a paragraph's text is still text, except in the last paragraph of its story,
|
||||
/// cell or box, where it stands for the paragraph with its mark. A selected picture, shape or text
|
||||
/// box is its object character, not text (a field's object character is).
|
||||
pub fn shades_text(s: &Session) -> bool {
|
||||
fn shades_text(s: &Session) -> bool {
|
||||
let (a, b) = s.sel.ordered();
|
||||
if a == b || a.story != b.story || a.path != b.path {
|
||||
return false;
|
||||
|
||||
@@ -1258,16 +1258,3 @@ fn html_container_shading_is_paragraph_shading_while_inline_highlight_stays_on_r
|
||||
assert_eq!(p2.runs.first().and_then(|r| r.props.shading), Some(wordcraft_doc::Rgb(0xff, 0xff, 0x00)), "{exported}");
|
||||
}
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn odt_list_item_later_paragraphs_stay_in_the_item() {
|
||||
// "One" has two paragraphs. The second must stay inside item 1, so HTML's "Two" is item 2.
|
||||
let fodt = r#"<?xml version="1.0" encoding="UTF-8"?>
|
||||
<office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0" xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0" office:version="1.3" office:mimetype="application/vnd.oasis.opendocument.text"><office:automatic-styles><text:list-style style:name="L1"><text:list-level-style-number text:level="1" style:num-format="1"/></text:list-style></office:automatic-styles><office:body><office:text><text:list text:style-name="L1"><text:list-item><text:p>One</text:p><text:p>Still one</text:p></text:list-item><text:list-item><text:p>Two</text:p></text:list-item></text:list></office:text></office:body></office:document>"#;
|
||||
let doc = crate::odt::import_flat(fodt.as_bytes()).unwrap();
|
||||
let html = crate::html::export(&doc);
|
||||
assert_eq!(html.matches("<ol").count(), 1, "one list, not restarted: {html}");
|
||||
let (one, still, two) = (html.find("One").unwrap(), html.find("Still one").unwrap(), html.find("Two").unwrap());
|
||||
assert!(one < still && still < two, "{html}");
|
||||
assert!(html[one..still].matches("</li>").count() == 0, "later paragraph left item 1: {html}");
|
||||
}
|
||||
|
||||
@@ -16,7 +16,7 @@ craft = { workspace = true, features = [
|
||||
"color", "color-ui", "control", "draw", "font-manager", "gpu", "menu", "pages", "print", "review", "table", "text",
|
||||
"text-find", "web-api", "web-host", "window",
|
||||
] }
|
||||
craft-fonts-build = { git = "https://github.com/storytold/craft-libs", rev = "9949e08d6f29b6c4462f14af1d5007acac163dbf" }
|
||||
craft-fonts-build = { git = "https://github.com/storytold/craft-libs", rev = "7097741460d683b4ddf1ba78026e7759f2d5ee21" }
|
||||
wordcraft-geom = { workspace = true, features = ["image"] }
|
||||
wordcraft-doc = { workspace = true }
|
||||
wordcraft-fonts = { workspace = true }
|
||||
@@ -76,7 +76,7 @@ craft-ui-test-kit = { workspace = true }
|
||||
craft = { workspace = true, features = ["ui-testing"] }
|
||||
|
||||
[build-dependencies]
|
||||
craft-fonts-build = { git = "https://github.com/storytold/craft-libs", rev = "9949e08d6f29b6c4462f14af1d5007acac163dbf", features = ["subset"] }
|
||||
craft-fonts-build = { git = "https://github.com/storytold/craft-libs", rev = "7097741460d683b4ddf1ba78026e7759f2d5ee21", features = ["subset"] }
|
||||
serde_json = { workspace = true }
|
||||
toml = "1"
|
||||
|
||||
|
||||
@@ -241,67 +241,14 @@ pub fn apply(app: &mut WordApp, target: &Target, hex: &str) {
|
||||
}
|
||||
}
|
||||
|
||||
/// The colour every item has, `None` for no items, no colour, or items that differ.
|
||||
fn agree(mut colors: impl Iterator<Item = Option<Rgb>>) -> Option<Rgb> {
|
||||
let first = colors.next()??;
|
||||
colors.all(|c| c == Some(first)).then_some(first)
|
||||
}
|
||||
|
||||
/// The shading the given cells share; cells a ragged table lacks are skipped, not read as unshaded.
|
||||
fn cell_shading(table: &wordcraft_doc::Table, cells: impl IntoIterator<Item = (usize, usize)>) -> Option<Rgb> {
|
||||
agree(cells.into_iter().filter_map(|(r, c)| table.rows.get(r)?.cells.get(c).map(|cell| cell.props.shading)))
|
||||
}
|
||||
|
||||
/// The colour a target has now (the dialog's Current swatch), read from what its command changes:
|
||||
/// `para.shading` reads the selected text's shading when the selection is text within one paragraph,
|
||||
/// else the paragraphs'; `shape.effects` reads shapes only. `None` when it has none, is Automatic,
|
||||
/// differs across the selection, or cannot be read (a picture's icon colour is not stored).
|
||||
/// The colour a target has now (the dialog's Current swatch).
|
||||
fn current_of(app: &mut WordApp, target: &Target) -> Option<Rgb> {
|
||||
use wordcraft_doc::InlineObject;
|
||||
let Target::Run { cmd, .. } = target else { return None };
|
||||
let s = &app.session;
|
||||
let shapes = |o: &InlineObject| matches!(o, InlineObject::Shape { .. }) || o.is_canvas();
|
||||
let objects = || wordcraft_engine::cmd::objects::target_objects(s, shapes).into_iter().map(|(_, o)| o);
|
||||
match cmd.as_str() {
|
||||
"format.color" | "format.underlineColor" => {
|
||||
let st = wordcraft_engine::cmd::format::state(s);
|
||||
let key = if cmd == "format.color" { "color" } else { "underlineColor" };
|
||||
st.get(key).and_then(Value::as_str).and_then(parse)
|
||||
"format.color" => {
|
||||
let st = wordcraft_engine::cmd::format::state(&app.session);
|
||||
st.get("color").and_then(Value::as_str).and_then(parse)
|
||||
}
|
||||
// The command shades the selected text, not its paragraph, when the selection is text within one.
|
||||
"para.shading" if wordcraft_engine::cmd::para::shades_text(s) => {
|
||||
wordcraft_engine::cmd::format::state(s).get("shading").and_then(Value::as_str).and_then(parse)
|
||||
}
|
||||
"para.shading" => agree(
|
||||
wordcraft_engine::cmd::selected_paths(s)
|
||||
.iter()
|
||||
.map(|path| s.doc.para(s.sel.focus.story, path).and_then(|p| s.doc.styles.resolve_para(&p.props).shading)),
|
||||
),
|
||||
"table.shading" => {
|
||||
let (tp, _, _) = s.sel.focus.path.cell()?;
|
||||
let table = s.doc.table(s.sel.focus.story, &tp)?;
|
||||
cell_shading(table, wordcraft_engine::cmd::table::selected_cells(s))
|
||||
}
|
||||
"design.pageColor" => s.doc.settings.page_color,
|
||||
"shape.fill" => agree(objects().map(|o| {
|
||||
let fill = match &o {
|
||||
InlineObject::Shape { fill, .. } => fill.as_ref(),
|
||||
o => o.canvas_style().and_then(|c| c.fill.as_ref()),
|
||||
};
|
||||
match fill {
|
||||
Some(wordcraft_doc::fill::Fill::Solid { color, .. }) => Some(*color),
|
||||
_ => None,
|
||||
}
|
||||
})),
|
||||
"shape.outline" => agree(objects().map(|o| match &o {
|
||||
InlineObject::Shape { stroke, .. } => *stroke,
|
||||
o => o.canvas_style().and_then(|c| c.stroke),
|
||||
})),
|
||||
// Glow is applied to shapes only, so a canvas in the selection is not read.
|
||||
"shape.effects" => agree(objects().filter(|o| matches!(o, InlineObject::Shape { .. })).map(|o| match &o {
|
||||
InlineObject::Shape { effects, .. } => effects.glow.as_ref().map(|g| g.color),
|
||||
_ => None,
|
||||
})),
|
||||
_ => None,
|
||||
}
|
||||
}
|
||||
@@ -582,15 +529,14 @@ pub fn highlight_split(ui: &mut Ui, app: &mut WordApp, label: impl Into<Label>)
|
||||
// More Colors…
|
||||
|
||||
/// The Colors dialog: Standard honeycomb and greys, Custom compact picker. `current` is the colour
|
||||
/// the target has now, `None` when it has none: Current then shows no colour (as in v0.19.1) and
|
||||
/// Restore does nothing, while New starts on black. `key` comes back in the result.
|
||||
/// the target has now; `key` comes back in the result.
|
||||
pub fn more_colors(current: Option<Rgb>, key: String, tab: ColorPickerTab) -> ColorPickerDialog {
|
||||
let (cells, greys) = standard_cells();
|
||||
let dialog = ColorPickerDialog::new(key, tl!("Colors").to_string(), current.map_or(Srgba::rgb(0.0, 0.0, 0.0), srgba))
|
||||
ColorPickerDialog::new(key, tl!("Colors").to_string(), current.map_or(Srgba::rgb(0.0, 0.0, 0.0), srgba))
|
||||
.layout(ColorPickerDialogLayout::Tabbed)
|
||||
.standard(cells, greys)
|
||||
.tab(tab);
|
||||
if current.is_some() { dialog } else { dialog.no_current() }
|
||||
.compare(current.is_some())
|
||||
.tab(tab)
|
||||
}
|
||||
|
||||
/// Opens the Colors dialog for `target`, remembering where its answer goes.
|
||||
@@ -820,62 +766,4 @@ mod tests {
|
||||
assert_eq!(app.ui.recent_colors.first().map(String::as_str), Some("7A3EC8"));
|
||||
assert!(app.more_colors.is_empty(), "no entry outlives its dialog");
|
||||
}
|
||||
|
||||
/// The Current swatch reads what the selection has, and says "no colour" where there is none or it
|
||||
/// differs (#7984).
|
||||
#[test]
|
||||
fn current_reads_the_selection_and_is_none_when_unset_or_mixed() {
|
||||
let c = |hex: u8| Rgb(hex, hex, hex);
|
||||
assert_eq!(agree([Some(c(1)), Some(c(1))].into_iter()), Some(c(1)), "all alike");
|
||||
assert_eq!(agree([Some(c(1)), Some(c(2))].into_iter()), None, "mixed");
|
||||
assert_eq!(agree([Some(c(1)), None].into_iter()), None, "one has none");
|
||||
assert_eq!(agree(std::iter::empty()), None, "nothing selected");
|
||||
|
||||
// Set on the caret's paragraph directly: the commands lay the page out, which costs ~0.7 s.
|
||||
let mut app = WordApp::new(Session::new(wordcraft_doc::Document::new()), crate::Services::default());
|
||||
let shading = Target::cmd("para.shading");
|
||||
assert_eq!(current_of(&mut app, &shading), None, "no shading yet");
|
||||
assert_eq!(current_of(&mut app, &Target::cmd("table.shading")), None, "no table, no colour");
|
||||
assert_eq!(current_of(&mut app, &Target::cmd("shape.fill")), None, "no shape selected");
|
||||
let at = app.session.sel.focus.clone();
|
||||
app.session.doc.para_mut(at.story, &at.path).unwrap().props.shading = Some(c(0xAA));
|
||||
assert_eq!(current_of(&mut app, &shading), Some(c(0xAA)), "a collapsed caret reads its paragraph");
|
||||
}
|
||||
|
||||
/// Text selected inside a paragraph is what Shading changes, so Current must not report the
|
||||
/// paragraph's shading for it (#7984).
|
||||
#[test]
|
||||
fn partial_selection_reads_the_text_shading_not_the_paragraph() {
|
||||
let mut app = WordApp::new(Session::new(wordcraft_doc::Document::from_text("hello world")), crate::Services::default());
|
||||
let at = app.session.sel.focus.clone();
|
||||
app.session.doc.para_mut(at.story, &at.path).unwrap().props.shading = Some(Rgb(0xAA, 0xAA, 0xAA));
|
||||
let mut end = at.clone();
|
||||
end.off = 5;
|
||||
app.session.sel = wordcraft_engine::Selection { anchor: at, focus: end };
|
||||
let shading = Target::cmd("para.shading");
|
||||
assert_eq!(current_of(&mut app, &shading), None, "the text has no shading, whatever its paragraph has");
|
||||
let _ = app.session.run("format.shading", &json!({"color": "112233"}));
|
||||
assert_eq!(current_of(&mut app, &shading), Some(Rgb(0x11, 0x22, 0x33)), "the selected run's shading");
|
||||
}
|
||||
|
||||
/// A ragged table's missing cells do not blank Current when the real cells agree (#7984).
|
||||
#[test]
|
||||
fn table_shading_skips_missing_cells() {
|
||||
let mut t = wordcraft_doc::Table::new(2, 2, 100.0);
|
||||
t.rows[1].cells.pop();
|
||||
for cell in t.rows.iter_mut().flat_map(|r| r.cells.iter_mut()) {
|
||||
cell.props.shading = Some(Rgb(1, 2, 3));
|
||||
}
|
||||
let all = [(0, 0), (0, 1), (1, 0), (1, 1)];
|
||||
assert_eq!(cell_shading(&t, all), Some(Rgb(1, 2, 3)), "the missing (1,1) is skipped");
|
||||
t.rows[0].cells[1].props.shading = None;
|
||||
assert_eq!(cell_shading(&t, all), None, "a real unshaded cell still blanks it");
|
||||
}
|
||||
|
||||
/// A target with no colour opens with no Current colour, not black (#7984).
|
||||
#[test]
|
||||
fn no_current_colour_is_not_black() {
|
||||
assert!(more_colors(None, "k".into(), ColorPickerTab::Standard).has_no_current());
|
||||
assert!(!more_colors(Some(Rgb(0, 0, 0)), "k".into(), ColorPickerTab::Standard).has_no_current(), "a real black stays a current colour");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,7 +6,7 @@ use std::borrow::Cow;
|
||||
|
||||
use craft::behavior::{Mixed, SelectionChange, keyed};
|
||||
use craft::color_ui::ui::ColorPickerTab;
|
||||
use craft::pages::ui::table::{BorderEdges, EdgeKey, EdgeLook, EdgePicker, EdgeSize, SampleArea};
|
||||
use craft::pages::ui::table::{BorderEdges, EdgeKey, EdgeLook, EdgePicker, SampleArea};
|
||||
use craft::text::ui::DocUnit;
|
||||
use craft::text::ui::ruler::{TabAlign as UiAlign, TabLeader as UiLeader, TabStop as UiStop};
|
||||
use craft::text::ui::tabs_dialog::{MAX_STOPS, TabStopsDialog, TabStopsResult};
|
||||
@@ -518,7 +518,7 @@ fn lines(ui: &mut Ui, key: &'static str, l: &mut LineForm, area: SampleArea, fil
|
||||
Stack::new().show(ui, |ui, _| {
|
||||
let mut edges = l.edges(between);
|
||||
let sample = EdgeLook::sample(area, fill.map(srgba));
|
||||
let picker = EdgePicker::new(word(tl!("Preview")), Bind::bound(&mut edges)).look(sample).preview(EdgeSize::Sample);
|
||||
let picker = EdgePicker::new(word(tl!("Preview")), Bind::bound(&mut edges)).look(sample);
|
||||
let picker = if between { picker.paragraph() } else { picker };
|
||||
picker.show(ui);
|
||||
l.take_edges(edges, between);
|
||||
@@ -572,7 +572,7 @@ impl WordForm for BordersForm {
|
||||
let mut none = BorderEdges::default();
|
||||
let area = if self.fill_to_text { SampleArea::Text } else { SampleArea::Paragraph };
|
||||
let sample = EdgeLook::sample(area, Rgb::parse(&self.fill).map(srgba));
|
||||
EdgePicker::new(word(tl!("Preview")), Bind::bound(&mut none)).look(sample).preview(EdgeSize::Sample).enabled(false).show(ui);
|
||||
EdgePicker::new(word(tl!("Preview")), Bind::bound(&mut none)).look(sample).enabled(false).show(ui);
|
||||
Self::apply_to(ui, &mut self.fill_to_text, word(tl!("Paragraph")), word(tl!("Text")));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2340,18 +2340,6 @@ fn dialog_previews_are_drawn_larger_than_a_control() {
|
||||
);
|
||||
}
|
||||
}
|
||||
/// #7977: Borders and Shading draws its edge preview at sample size, not as a thumbnail.
|
||||
#[test]
|
||||
fn borders_preview_is_larger_than_a_thumbnail() {
|
||||
use egui::accesskit::Role;
|
||||
let mut h = app_harness(app_with("Lanterns"));
|
||||
h.state_mut().run("ui.dialog", json!({"name": "borders"})).unwrap();
|
||||
h.run_steps(6);
|
||||
let preview = h.get_by_role_and_label(Role::Group, "Preview").rect();
|
||||
let button = h.get_by_role_and_label(Role::Button, "Cancel").rect();
|
||||
assert!(preview.height() > 2.0 * button.height(), "the preview is {}pt high beside a {}pt button", preview.height(), button.height());
|
||||
}
|
||||
|
||||
/// #7982: Custom Properties' hint wraps inside the dialog instead of running under the Cancel button.
|
||||
#[test]
|
||||
fn custom_properties_hint_does_not_run_under_the_buttons() {
|
||||
|
||||
@@ -570,25 +570,18 @@ fn context_menu_panel_keeps_its_own_width_under_the_toolbar() {
|
||||
assert!(copy.max.x + 20.0 < justify.max.x, "the panel ({copy:?}) is narrower than the toolbar ({justify:?})");
|
||||
}
|
||||
|
||||
/// Open the ribbon's size combo through its text area and its supported Alt+Down shortcut.
|
||||
/// The pointer-only chevron is inside the combo's bounds and its position depends on the shared field metrics.
|
||||
fn open_ribbon_size_list(h: &mut H) {
|
||||
let current = format_state(h).get("size").and_then(Value::as_f64).unwrap_or_default();
|
||||
#[test]
|
||||
fn escape_in_a_ribbon_list_does_not_open_the_context_menu() {
|
||||
let mut h = bar_over("brown fox");
|
||||
let current = format_state(&mut h).get("size").and_then(Value::as_f64).unwrap_or_default();
|
||||
let current = if current.fract() == 0.0 { format!("{current:.0}") } else { current.to_string() };
|
||||
let text = h
|
||||
let size = h
|
||||
.get_all_by_role(Role::TextInput)
|
||||
.filter(|n| n.value().as_deref() == Some(current.as_str()))
|
||||
.map(|n| n.rect())
|
||||
.min_by(|a, b| a.min.y.total_cmp(&b.min.y))
|
||||
.expect("the ribbon has a size field");
|
||||
click_at(h, text.center());
|
||||
press_key(h, egui::Key::ArrowDown, egui::Modifiers::ALT);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn escape_in_a_ribbon_list_does_not_open_the_context_menu() {
|
||||
let mut h = bar_over("brown fox");
|
||||
open_ribbon_size_list(&mut h);
|
||||
click_at(&mut h, pos2(size.max.x + 8.0, size.center().y));
|
||||
let list_open = |h: &H| h.query_all_by_label("28").next().is_some();
|
||||
assert!(list_open(&h), "the size list is open");
|
||||
press_key(&mut h, egui::Key::Escape, Default::default());
|
||||
@@ -640,7 +633,15 @@ fn a_click_on_the_ribbon_puts_the_bar_away_until_the_selection_changes() {
|
||||
#[test]
|
||||
fn picking_from_a_ribbon_list_over_the_page_keeps_the_bar_away() {
|
||||
let mut h = bar_over("brown fox");
|
||||
open_ribbon_size_list(&mut h);
|
||||
let size = format_state(&mut h).get("size").and_then(Value::as_f64).unwrap_or_default();
|
||||
let size = if size.fract() == 0.0 { format!("{size:.0}") } else { size.to_string() };
|
||||
let size_box = h
|
||||
.get_all_by_role(Role::TextInput)
|
||||
.filter(|n| n.value().as_deref() == Some(size.as_str()))
|
||||
.map(|n| n.rect())
|
||||
.min_by(|a, b| a.min.y.total_cmp(&b.min.y))
|
||||
.expect("the ribbon has a size box");
|
||||
click_at(&mut h, pos2(size_box.max.x + 8.0, size_box.center().y));
|
||||
assert!(!bar_shown(&h), "opening the ribbon's list puts the bar away");
|
||||
let item = h.get_by_label("28").rect().center();
|
||||
assert!(canvas(&h).contains(item), "the list's 28 should hang over the page for this test");
|
||||
|
||||
@@ -129,8 +129,6 @@ struct Strings {
|
||||
numeral_id: String,
|
||||
proofing_language: String,
|
||||
autosave_reason: String,
|
||||
/// The Initials box's placeholder: the initials an empty box falls back to (#8018).
|
||||
initials_hint: String,
|
||||
}
|
||||
|
||||
impl Strings {
|
||||
@@ -201,7 +199,6 @@ impl Strings {
|
||||
numeral_id,
|
||||
proofing_language,
|
||||
autosave_reason: crate::AutoSaveBlock::Browser.reason().to_string(),
|
||||
initials_hint: app.session.user_initials(),
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -360,7 +357,7 @@ impl PreferencesModel for OptionsModel<'_> {
|
||||
Some(tl!("Personalize")),
|
||||
vec![
|
||||
RowSpec::new("general.userName", tl!("User name:"), RowKind::Text(&app.session.author)).enabled(!protected),
|
||||
RowSpec::new("general.initials", tl!("Initials:"), RowKind::Text(&app.session.initials)).placeholder(&s.initials_hint),
|
||||
RowSpec::new("general.initials", tl!("Initials:"), RowKind::Text(&app.session.initials)),
|
||||
],
|
||||
),
|
||||
],
|
||||
|
||||
@@ -539,36 +539,3 @@ fn folder_settings_have_apply_and_clear() {
|
||||
}
|
||||
let _ = std::fs::remove_dir_all(&dir);
|
||||
}
|
||||
|
||||
/// #8018: an empty Initials box paints the initials it falls back to.
|
||||
#[test]
|
||||
fn empty_initials_box_paints_the_default_initials() {
|
||||
fn painted(shapes: &[egui::epaint::ClippedShape], out: &mut Vec<String>) {
|
||||
fn walk(shape: &egui::Shape, out: &mut Vec<String>) {
|
||||
match shape {
|
||||
egui::Shape::Text(t) => out.push(t.galley.text().to_string()),
|
||||
egui::Shape::Vec(v) => v.iter().for_each(|c| walk(c, out)),
|
||||
_ => {}
|
||||
}
|
||||
}
|
||||
shapes.iter().for_each(|c| walk(&c.shape, out));
|
||||
}
|
||||
let shown = || {
|
||||
let mut a = app();
|
||||
a.session.author = "Zora Quentin".into();
|
||||
a.run("ui.backstage", json!({"value": true, "page": "options", "pane": "general"})).unwrap();
|
||||
let mut h = crate::test_harness::builder().build_ui_state(
|
||||
|ui, app: &mut WordApp| {
|
||||
let ctx = ui.ctx().clone();
|
||||
app.logic(&ctx);
|
||||
app.ui(ui);
|
||||
},
|
||||
a,
|
||||
);
|
||||
options_frames(&mut h, 3);
|
||||
let mut texts = Vec::new();
|
||||
painted(&h.output().shapes, &mut texts);
|
||||
texts
|
||||
};
|
||||
assert!(shown().iter().any(|t| t == "ZQ"), "empty box paints the default initials");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user