Dependencies: craft-libs pin to main, with the opacity and edit-target workarounds removed

Every craft-libs rev moves from 4f3e34d0dd, the head of craft-libs#5489, to craft-libs main.
The egui and winit revs are the ones that craft-libs rev pins, unchanged.

- Opacity fields (Control bar, Color Wheel, Gradient) show the stored fraction times 100 again.
  craft-libs#5466 makes the number field step on from a value such as 50.999999 %, so
  panels::shown_percent is removed.
- The Blend Options Ramp and Shift sliders, the Image Trace rows and the Divider field use
  SliderField::edit_target (craft-libs#5024) in place of the id-salt workarounds. A value typed
  for one object and not yet committed is still dropped when another is selected.
- CDR import: craft-libs now reads bitmaps as their own object kind. They are not placed; the
  warnings name them with the other objects not read, and a PowerClip frame that clips only a
  bitmap is named as a frame that opened empty.
This commit is contained in:
dotCooCoo
2026-12-05 09:07:54 -08:00
parent b1f9008704
commit d4e73489ef
14 changed files with 187 additions and 238 deletions
Generated
+91 -91
View File
@@ -1256,7 +1256,7 @@ dependencies = [
[[package]]
name = "craft"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da#4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da"
source = "git+https://github.com/storytold/craft-libs?rev=2cab29095590d3681f131e35aab2498e6cd9a0cc#2cab29095590d3681f131e35aab2498e6cd9a0cc"
dependencies = [
"craft-automation",
"craft-behavior",
@@ -1298,7 +1298,7 @@ dependencies = [
[[package]]
name = "craft-affinity"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da#4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da"
source = "git+https://github.com/storytold/craft-libs?rev=2cab29095590d3681f131e35aab2498e6cd9a0cc#2cab29095590d3681f131e35aab2498e6cd9a0cc"
dependencies = [
"crc32fast",
"flate2",
@@ -1319,7 +1319,7 @@ dependencies = [
[[package]]
name = "craft-appkit"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da#4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da"
source = "git+https://github.com/storytold/craft-libs?rev=2cab29095590d3681f131e35aab2498e6cd9a0cc#2cab29095590d3681f131e35aab2498e6cd9a0cc"
dependencies = [
"block2 0.6.2",
"objc2 0.6.5",
@@ -1331,7 +1331,7 @@ dependencies = [
[[package]]
name = "craft-atomic"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da#4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da"
source = "git+https://github.com/storytold/craft-libs?rev=2cab29095590d3681f131e35aab2498e6cd9a0cc#2cab29095590d3681f131e35aab2498e6cd9a0cc"
dependencies = [
"rustix 1.1.6",
]
@@ -1339,7 +1339,7 @@ dependencies = [
[[package]]
name = "craft-automation"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da#4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da"
source = "git+https://github.com/storytold/craft-libs?rev=2cab29095590d3681f131e35aab2498e6cd9a0cc#2cab29095590d3681f131e35aab2498e6cd9a0cc"
dependencies = [
"base64 0.23.1",
"craft-behavior",
@@ -1364,7 +1364,7 @@ dependencies = [
[[package]]
name = "craft-behavior"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da#4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da"
source = "git+https://github.com/storytold/craft-libs?rev=2cab29095590d3681f131e35aab2498e6cd9a0cc#2cab29095590d3681f131e35aab2498e6cd9a0cc"
dependencies = [
"accesskit",
"bitflags 2.13.2",
@@ -1383,7 +1383,7 @@ dependencies = [
[[package]]
name = "craft-browse"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da#4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da"
source = "git+https://github.com/storytold/craft-libs?rev=2cab29095590d3681f131e35aab2498e6cd9a0cc#2cab29095590d3681f131e35aab2498e6cd9a0cc"
dependencies = [
"craft-behavior",
"craft-docpath",
@@ -1401,7 +1401,7 @@ dependencies = [
[[package]]
name = "craft-cdr"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da#4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da"
source = "git+https://github.com/storytold/craft-libs?rev=2cab29095590d3681f131e35aab2498e6cd9a0cc#2cab29095590d3681f131e35aab2498e6cd9a0cc"
dependencies = [
"crc32fast",
"flate2",
@@ -1410,7 +1410,7 @@ dependencies = [
[[package]]
name = "craft-cloud-ui"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da#4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da"
source = "git+https://github.com/storytold/craft-libs?rev=2cab29095590d3681f131e35aab2498e6cd9a0cc#2cab29095590d3681f131e35aab2498e6cd9a0cc"
dependencies = [
"egui",
]
@@ -1418,7 +1418,7 @@ dependencies = [
[[package]]
name = "craft-cms"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da#4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da"
source = "git+https://github.com/storytold/craft-libs?rev=2cab29095590d3681f131e35aab2498e6cd9a0cc#2cab29095590d3681f131e35aab2498e6cd9a0cc"
dependencies = [
"md-5",
"rayon",
@@ -1427,12 +1427,12 @@ dependencies = [
[[package]]
name = "craft-codepage"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da#4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da"
source = "git+https://github.com/storytold/craft-libs?rev=2cab29095590d3681f131e35aab2498e6cd9a0cc#2cab29095590d3681f131e35aab2498e6cd9a0cc"
[[package]]
name = "craft-color-ui"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da#4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da"
source = "git+https://github.com/storytold/craft-libs?rev=2cab29095590d3681f131e35aab2498e6cd9a0cc#2cab29095590d3681f131e35aab2498e6cd9a0cc"
dependencies = [
"craft-behavior",
"craft-cms",
@@ -1452,7 +1452,7 @@ dependencies = [
[[package]]
name = "craft-control"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da#4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da"
source = "git+https://github.com/storytold/craft-libs?rev=2cab29095590d3681f131e35aab2498e6cd9a0cc#2cab29095590d3681f131e35aab2498e6cd9a0cc"
dependencies = [
"craft-ai-agents",
"craft-atomic",
@@ -1468,7 +1468,7 @@ dependencies = [
[[package]]
name = "craft-control-protocol"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da#4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da"
source = "git+https://github.com/storytold/craft-libs?rev=2cab29095590d3681f131e35aab2498e6cd9a0cc#2cab29095590d3681f131e35aab2498e6cd9a0cc"
dependencies = [
"getrandom 0.3.4",
"serde_json",
@@ -1478,7 +1478,7 @@ dependencies = [
[[package]]
name = "craft-dds"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da#4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da"
source = "git+https://github.com/storytold/craft-libs?rev=2cab29095590d3681f131e35aab2498e6cd9a0cc#2cab29095590d3681f131e35aab2498e6cd9a0cc"
dependencies = [
"rayon",
]
@@ -1486,7 +1486,7 @@ dependencies = [
[[package]]
name = "craft-dialogs"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da#4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da"
source = "git+https://github.com/storytold/craft-libs?rev=2cab29095590d3681f131e35aab2498e6cd9a0cc#2cab29095590d3681f131e35aab2498e6cd9a0cc"
dependencies = [
"block2 0.6.2",
"craft-appkit",
@@ -1512,7 +1512,7 @@ dependencies = [
[[package]]
name = "craft-doc"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da#4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da"
source = "git+https://github.com/storytold/craft-libs?rev=2cab29095590d3681f131e35aab2498e6cd9a0cc#2cab29095590d3681f131e35aab2498e6cd9a0cc"
dependencies = [
"blake3",
"craft-ecproj-format",
@@ -1528,7 +1528,7 @@ dependencies = [
[[package]]
name = "craft-docpath"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da#4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da"
source = "git+https://github.com/storytold/craft-libs?rev=2cab29095590d3681f131e35aab2498e6cd9a0cc#2cab29095590d3681f131e35aab2498e6cd9a0cc"
dependencies = [
"serde",
]
@@ -1536,7 +1536,7 @@ dependencies = [
[[package]]
name = "craft-draw"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da#4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da"
source = "git+https://github.com/storytold/craft-libs?rev=2cab29095590d3681f131e35aab2498e6cd9a0cc#2cab29095590d3681f131e35aab2498e6cd9a0cc"
dependencies = [
"craft-behavior",
"craft-color-ui",
@@ -1555,7 +1555,7 @@ dependencies = [
[[package]]
name = "craft-dwg"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da#4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da"
source = "git+https://github.com/storytold/craft-libs?rev=2cab29095590d3681f131e35aab2498e6cd9a0cc#2cab29095590d3681f131e35aab2498e6cd9a0cc"
dependencies = [
"acadrust",
"craft-dxf",
@@ -1565,7 +1565,7 @@ dependencies = [
[[package]]
name = "craft-dxf"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da#4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da"
source = "git+https://github.com/storytold/craft-libs?rev=2cab29095590d3681f131e35aab2498e6cd9a0cc#2cab29095590d3681f131e35aab2498e6cd9a0cc"
dependencies = [
"craft-codepage",
"encoding_rs",
@@ -1577,7 +1577,7 @@ dependencies = [
[[package]]
name = "craft-ecproj-format"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da#4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da"
source = "git+https://github.com/storytold/craft-libs?rev=2cab29095590d3681f131e35aab2498e6cd9a0cc#2cab29095590d3681f131e35aab2498e6cd9a0cc"
dependencies = [
"serde",
"serde_json",
@@ -1587,12 +1587,12 @@ dependencies = [
[[package]]
name = "craft-eps"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da#4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da"
source = "git+https://github.com/storytold/craft-libs?rev=2cab29095590d3681f131e35aab2498e6cd9a0cc#2cab29095590d3681f131e35aab2498e6cd9a0cc"
[[package]]
name = "craft-flags"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da#4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da"
source = "git+https://github.com/storytold/craft-libs?rev=2cab29095590d3681f131e35aab2498e6cd9a0cc#2cab29095590d3681f131e35aab2498e6cd9a0cc"
dependencies = [
"craft-atomic",
"dirs",
@@ -1602,7 +1602,7 @@ dependencies = [
[[package]]
name = "craft-font-catalog"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da#4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da"
source = "git+https://github.com/storytold/craft-libs?rev=2cab29095590d3681f131e35aab2498e6cd9a0cc#2cab29095590d3681f131e35aab2498e6cd9a0cc"
dependencies = [
"fontique",
"harfrust 0.13.3",
@@ -1617,7 +1617,7 @@ dependencies = [
[[package]]
name = "craft-font-manager"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da#4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da"
source = "git+https://github.com/storytold/craft-libs?rev=2cab29095590d3681f131e35aab2498e6cd9a0cc#2cab29095590d3681f131e35aab2498e6cd9a0cc"
dependencies = [
"craft-behavior",
"craft-font-catalog",
@@ -1636,7 +1636,7 @@ dependencies = [
[[package]]
name = "craft-font-os-windows"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da#4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da"
source = "git+https://github.com/storytold/craft-libs?rev=2cab29095590d3681f131e35aab2498e6cd9a0cc#2cab29095590d3681f131e35aab2498e6cd9a0cc"
dependencies = [
"windows-registry",
"windows-sys 0.61.2",
@@ -1645,7 +1645,7 @@ dependencies = [
[[package]]
name = "craft-font-store"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da#4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da"
source = "git+https://github.com/storytold/craft-libs?rev=2cab29095590d3681f131e35aab2498e6cd9a0cc#2cab29095590d3681f131e35aab2498e6cd9a0cc"
dependencies = [
"cap-primitives",
"craft-atomic",
@@ -1668,12 +1668,12 @@ dependencies = [
[[package]]
name = "craft-fonts-build"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da#4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da"
source = "git+https://github.com/storytold/craft-libs?rev=2cab29095590d3681f131e35aab2498e6cd9a0cc#2cab29095590d3681f131e35aab2498e6cd9a0cc"
[[package]]
name = "craft-gif"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da#4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da"
source = "git+https://github.com/storytold/craft-libs?rev=2cab29095590d3681f131e35aab2498e6cd9a0cc#2cab29095590d3681f131e35aab2498e6cd9a0cc"
dependencies = [
"gif",
]
@@ -1681,7 +1681,7 @@ dependencies = [
[[package]]
name = "craft-gzip"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da#4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da"
source = "git+https://github.com/storytold/craft-libs?rev=2cab29095590d3681f131e35aab2498e6cd9a0cc#2cab29095590d3681f131e35aab2498e6cd9a0cc"
dependencies = [
"flate2",
]
@@ -1689,7 +1689,7 @@ dependencies = [
[[package]]
name = "craft-host"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da#4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da"
source = "git+https://github.com/storytold/craft-libs?rev=2cab29095590d3681f131e35aab2498e6cd9a0cc#2cab29095590d3681f131e35aab2498e6cd9a0cc"
dependencies = [
"bitflags 2.13.2",
"craft-i18n",
@@ -1702,7 +1702,7 @@ dependencies = [
[[package]]
name = "craft-i18n"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da#4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da"
source = "git+https://github.com/storytold/craft-libs?rev=2cab29095590d3681f131e35aab2498e6cd9a0cc#2cab29095590d3681f131e35aab2498e6cd9a0cc"
dependencies = [
"brotli 9.1.3",
"brotli-decompressor 6.3.2",
@@ -1732,7 +1732,7 @@ dependencies = [
[[package]]
name = "craft-image-codecs"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da#4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da"
source = "git+https://github.com/storytold/craft-libs?rev=2cab29095590d3681f131e35aab2498e6cd9a0cc#2cab29095590d3681f131e35aab2498e6cd9a0cc"
dependencies = [
"craft-dds",
"craft-jpeg",
@@ -1759,7 +1759,7 @@ dependencies = [
[[package]]
name = "craft-imaging"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da#4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da"
source = "git+https://github.com/storytold/craft-libs?rev=2cab29095590d3681f131e35aab2498e6cd9a0cc#2cab29095590d3681f131e35aab2498e6cd9a0cc"
dependencies = [
"craft-behavior",
"craft-color-ui",
@@ -1777,7 +1777,7 @@ dependencies = [
[[package]]
name = "craft-jpeg"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da#4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da"
source = "git+https://github.com/storytold/craft-libs?rev=2cab29095590d3681f131e35aab2498e6cd9a0cc#2cab29095590d3681f131e35aab2498e6cd9a0cc"
dependencies = [
"thiserror 2.0.21",
]
@@ -1785,7 +1785,7 @@ dependencies = [
[[package]]
name = "craft-jxl"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da#4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da"
source = "git+https://github.com/storytold/craft-libs?rev=2cab29095590d3681f131e35aab2498e6cd9a0cc#2cab29095590d3681f131e35aab2498e6cd9a0cc"
dependencies = [
"brotli-decompressor 5.0.3",
"jixel",
@@ -1796,7 +1796,7 @@ dependencies = [
[[package]]
name = "craft-keymap"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da#4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da"
source = "git+https://github.com/storytold/craft-libs?rev=2cab29095590d3681f131e35aab2498e6cd9a0cc#2cab29095590d3681f131e35aab2498e6cd9a0cc"
dependencies = [
"craft-host",
"craft-i18n",
@@ -1811,7 +1811,7 @@ dependencies = [
[[package]]
name = "craft-layers"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da#4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da"
source = "git+https://github.com/storytold/craft-libs?rev=2cab29095590d3681f131e35aab2498e6cd9a0cc#2cab29095590d3681f131e35aab2498e6cd9a0cc"
dependencies = [
"craft-behavior",
"craft-i18n",
@@ -1825,7 +1825,7 @@ dependencies = [
[[package]]
name = "craft-menu"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da#4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da"
source = "git+https://github.com/storytold/craft-libs?rev=2cab29095590d3681f131e35aab2498e6cd9a0cc#2cab29095590d3681f131e35aab2498e6cd9a0cc"
dependencies = [
"craft-behavior",
"craft-host",
@@ -1843,7 +1843,7 @@ dependencies = [
[[package]]
name = "craft-metadata"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da#4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da"
source = "git+https://github.com/storytold/craft-libs?rev=2cab29095590d3681f131e35aab2498e6cd9a0cc#2cab29095590d3681f131e35aab2498e6cd9a0cc"
dependencies = [
"brotli-decompressor 6.3.2",
"chrono",
@@ -1855,7 +1855,7 @@ dependencies = [
[[package]]
name = "craft-metafile"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da#4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da"
source = "git+https://github.com/storytold/craft-libs?rev=2cab29095590d3681f131e35aab2498e6cd9a0cc#2cab29095590d3681f131e35aab2498e6cd9a0cc"
dependencies = [
"encoding_rs",
"image",
@@ -1866,7 +1866,7 @@ dependencies = [
[[package]]
name = "craft-mime"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da#4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da"
source = "git+https://github.com/storytold/craft-libs?rev=2cab29095590d3681f131e35aab2498e6cd9a0cc#2cab29095590d3681f131e35aab2498e6cd9a0cc"
dependencies = [
"chrono",
"craft-codepage",
@@ -1876,7 +1876,7 @@ dependencies = [
[[package]]
name = "craft-nightly"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da#4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da"
source = "git+https://github.com/storytold/craft-libs?rev=2cab29095590d3681f131e35aab2498e6cd9a0cc#2cab29095590d3681f131e35aab2498e6cd9a0cc"
dependencies = [
"uds_windows",
"winsafe",
@@ -1885,7 +1885,7 @@ dependencies = [
[[package]]
name = "craft-pages"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da#4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da"
source = "git+https://github.com/storytold/craft-libs?rev=2cab29095590d3681f131e35aab2498e6cd9a0cc#2cab29095590d3681f131e35aab2498e6cd9a0cc"
dependencies = [
"craft-behavior",
"craft-keymap",
@@ -1901,7 +1901,7 @@ dependencies = [
[[package]]
name = "craft-pbr"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da#4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da"
source = "git+https://github.com/storytold/craft-libs?rev=2cab29095590d3681f131e35aab2498e6cd9a0cc#2cab29095590d3681f131e35aab2498e6cd9a0cc"
dependencies = [
"craft-texture",
"thiserror 2.0.21",
@@ -1910,7 +1910,7 @@ dependencies = [
[[package]]
name = "craft-pcraft-format"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da#4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da"
source = "git+https://github.com/storytold/craft-libs?rev=2cab29095590d3681f131e35aab2498e6cd9a0cc#2cab29095590d3681f131e35aab2498e6cd9a0cc"
dependencies = [
"flate2",
"serde",
@@ -1921,7 +1921,7 @@ dependencies = [
[[package]]
name = "craft-pdf"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da#4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da"
source = "git+https://github.com/storytold/craft-libs?rev=2cab29095590d3681f131e35aab2498e6cd9a0cc#2cab29095590d3681f131e35aab2498e6cd9a0cc"
dependencies = [
"hayro-interpret",
"hayro-syntax",
@@ -1933,7 +1933,7 @@ dependencies = [
[[package]]
name = "craft-platform"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da#4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da"
source = "git+https://github.com/storytold/craft-libs?rev=2cab29095590d3681f131e35aab2498e6cd9a0cc#2cab29095590d3681f131e35aab2498e6cd9a0cc"
dependencies = [
"async-channel",
"async-io",
@@ -1966,7 +1966,7 @@ dependencies = [
[[package]]
name = "craft-plotter"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da#4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da"
source = "git+https://github.com/storytold/craft-libs?rev=2cab29095590d3681f131e35aab2498e6cd9a0cc#2cab29095590d3681f131e35aab2498e6cd9a0cc"
dependencies = [
"kurbo 0.13.1",
"thiserror 2.0.21",
@@ -1975,7 +1975,7 @@ dependencies = [
[[package]]
name = "craft-print"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da#4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da"
source = "git+https://github.com/storytold/craft-libs?rev=2cab29095590d3681f131e35aab2498e6cd9a0cc#2cab29095590d3681f131e35aab2498e6cd9a0cc"
dependencies = [
"craft-behavior",
"craft-host",
@@ -1999,7 +1999,7 @@ dependencies = [
[[package]]
name = "craft-proof"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da#4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da"
source = "git+https://github.com/storytold/craft-libs?rev=2cab29095590d3681f131e35aab2498e6cd9a0cc#2cab29095590d3681f131e35aab2498e6cd9a0cc"
dependencies = [
"log",
"miniz_oxide 0.9.1",
@@ -2010,7 +2010,7 @@ dependencies = [
[[package]]
name = "craft-ps"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da#4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da"
source = "git+https://github.com/storytold/craft-libs?rev=2cab29095590d3681f131e35aab2498e6cd9a0cc#2cab29095590d3681f131e35aab2498e6cd9a0cc"
dependencies = [
"craft-eps",
"flate2",
@@ -2024,7 +2024,7 @@ dependencies = [
[[package]]
name = "craft-psd"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da#4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da"
source = "git+https://github.com/storytold/craft-libs?rev=2cab29095590d3681f131e35aab2498e6cd9a0cc#2cab29095590d3681f131e35aab2498e6cd9a0cc"
dependencies = [
"encoding_rs",
"flate2",
@@ -2035,7 +2035,7 @@ dependencies = [
[[package]]
name = "craft-quit"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da#4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da"
source = "git+https://github.com/storytold/craft-libs?rev=2cab29095590d3681f131e35aab2498e6cd9a0cc#2cab29095590d3681f131e35aab2498e6cd9a0cc"
dependencies = [
"dispatch2",
"egui",
@@ -2048,7 +2048,7 @@ dependencies = [
[[package]]
name = "craft-raster3d"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da#4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da"
source = "git+https://github.com/storytold/craft-libs?rev=2cab29095590d3681f131e35aab2498e6cd9a0cc#2cab29095590d3681f131e35aab2498e6cd9a0cc"
dependencies = [
"rayon",
"thiserror 2.0.21",
@@ -2057,7 +2057,7 @@ dependencies = [
[[package]]
name = "craft-review"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da#4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da"
source = "git+https://github.com/storytold/craft-libs?rev=2cab29095590d3681f131e35aab2498e6cd9a0cc#2cab29095590d3681f131e35aab2498e6cd9a0cc"
dependencies = [
"base64 0.23.1",
"craft-behavior",
@@ -2076,7 +2076,7 @@ dependencies = [
[[package]]
name = "craft-settings"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da#4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da"
source = "git+https://github.com/storytold/craft-libs?rev=2cab29095590d3681f131e35aab2498e6cd9a0cc#2cab29095590d3681f131e35aab2498e6cd9a0cc"
dependencies = [
"craft-atomic",
"craft-host",
@@ -2093,7 +2093,7 @@ dependencies = [
[[package]]
name = "craft-stream-codecs"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da#4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da"
source = "git+https://github.com/storytold/craft-libs?rev=2cab29095590d3681f131e35aab2498e6cd9a0cc#2cab29095590d3681f131e35aab2498e6cd9a0cc"
dependencies = [
"fax",
"hayro-ccitt",
@@ -2104,7 +2104,7 @@ dependencies = [
[[package]]
name = "craft-svg"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da#4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da"
source = "git+https://github.com/storytold/craft-libs?rev=2cab29095590d3681f131e35aab2498e6cd9a0cc#2cab29095590d3681f131e35aab2498e6cd9a0cc"
dependencies = [
"craft-image-codecs",
"craft-xml",
@@ -2125,7 +2125,7 @@ dependencies = [
[[package]]
name = "craft-table"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da#4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da"
source = "git+https://github.com/storytold/craft-libs?rev=2cab29095590d3681f131e35aab2498e6cd9a0cc#2cab29095590d3681f131e35aab2498e6cd9a0cc"
dependencies = [
"craft-behavior",
"craft-keymap",
@@ -2137,7 +2137,7 @@ dependencies = [
[[package]]
name = "craft-text"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da#4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da"
source = "git+https://github.com/storytold/craft-libs?rev=2cab29095590d3681f131e35aab2498e6cd9a0cc#2cab29095590d3681f131e35aab2498e6cd9a0cc"
dependencies = [
"craft-behavior",
"craft-font-manager",
@@ -2162,7 +2162,7 @@ dependencies = [
[[package]]
name = "craft-texture"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da#4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da"
source = "git+https://github.com/storytold/craft-libs?rev=2cab29095590d3681f131e35aab2498e6cd9a0cc#2cab29095590d3681f131e35aab2498e6cd9a0cc"
dependencies = [
"thiserror 2.0.21",
]
@@ -2170,7 +2170,7 @@ dependencies = [
[[package]]
name = "craft-theme"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da#4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da"
source = "git+https://github.com/storytold/craft-libs?rev=2cab29095590d3681f131e35aab2498e6cd9a0cc#2cab29095590d3681f131e35aab2498e6cd9a0cc"
dependencies = [
"bitflags 2.13.2",
"craft-tracked",
@@ -2185,7 +2185,7 @@ dependencies = [
[[package]]
name = "craft-theme-store"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da#4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da"
source = "git+https://github.com/storytold/craft-libs?rev=2cab29095590d3681f131e35aab2498e6cd9a0cc#2cab29095590d3681f131e35aab2498e6cd9a0cc"
dependencies = [
"craft-atomic",
"craft-behavior",
@@ -2200,7 +2200,7 @@ dependencies = [
[[package]]
name = "craft-tiff"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da#4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da"
source = "git+https://github.com/storytold/craft-libs?rev=2cab29095590d3681f131e35aab2498e6cd9a0cc#2cab29095590d3681f131e35aab2498e6cd9a0cc"
dependencies = [
"serde",
"thiserror 2.0.21",
@@ -2210,7 +2210,7 @@ dependencies = [
[[package]]
name = "craft-time"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da#4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da"
source = "git+https://github.com/storytold/craft-libs?rev=2cab29095590d3681f131e35aab2498e6cd9a0cc#2cab29095590d3681f131e35aab2498e6cd9a0cc"
dependencies = [
"serde",
"thiserror 2.0.21",
@@ -2219,7 +2219,7 @@ dependencies = [
[[package]]
name = "craft-timeline"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da#4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da"
source = "git+https://github.com/storytold/craft-libs?rev=2cab29095590d3681f131e35aab2498e6cd9a0cc#2cab29095590d3681f131e35aab2498e6cd9a0cc"
dependencies = [
"craft-behavior",
"craft-keymap",
@@ -2234,12 +2234,12 @@ dependencies = [
[[package]]
name = "craft-tracked"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da#4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da"
source = "git+https://github.com/storytold/craft-libs?rev=2cab29095590d3681f131e35aab2498e6cd9a0cc#2cab29095590d3681f131e35aab2498e6cd9a0cc"
[[package]]
name = "craft-ui"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da#4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da"
source = "git+https://github.com/storytold/craft-libs?rev=2cab29095590d3681f131e35aab2498e6cd9a0cc#2cab29095590d3681f131e35aab2498e6cd9a0cc"
dependencies = [
"craft-cloud-ui",
"craft-ui-canvas",
@@ -2253,7 +2253,7 @@ dependencies = [
[[package]]
name = "craft-ui-canvas"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da#4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da"
source = "git+https://github.com/storytold/craft-libs?rev=2cab29095590d3681f131e35aab2498e6cd9a0cc#2cab29095590d3681f131e35aab2498e6cd9a0cc"
dependencies = [
"craft-behavior",
"craft-font-catalog",
@@ -2270,7 +2270,7 @@ dependencies = [
[[package]]
name = "craft-ui-contract"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da#4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da"
source = "git+https://github.com/storytold/craft-libs?rev=2cab29095590d3681f131e35aab2498e6cd9a0cc#2cab29095590d3681f131e35aab2498e6cd9a0cc"
dependencies = [
"accesskit",
"craft-behavior",
@@ -2308,7 +2308,7 @@ dependencies = [
[[package]]
name = "craft-ui-macros"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da#4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da"
source = "git+https://github.com/storytold/craft-libs?rev=2cab29095590d3681f131e35aab2498e6cd9a0cc#2cab29095590d3681f131e35aab2498e6cd9a0cc"
dependencies = [
"proc-macro-crate",
"proc-macro2",
@@ -2319,7 +2319,7 @@ dependencies = [
[[package]]
name = "craft-ui-panels"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da#4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da"
source = "git+https://github.com/storytold/craft-libs?rev=2cab29095590d3681f131e35aab2498e6cd9a0cc#2cab29095590d3681f131e35aab2498e6cd9a0cc"
dependencies = [
"craft-behavior",
"craft-host",
@@ -2337,7 +2337,7 @@ dependencies = [
[[package]]
name = "craft-ui-patterns"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da#4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da"
source = "git+https://github.com/storytold/craft-libs?rev=2cab29095590d3681f131e35aab2498e6cd9a0cc#2cab29095590d3681f131e35aab2498e6cd9a0cc"
dependencies = [
"craft-behavior",
"craft-host",
@@ -2358,7 +2358,7 @@ dependencies = [
[[package]]
name = "craft-ui-shell"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da#4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da"
source = "git+https://github.com/storytold/craft-libs?rev=2cab29095590d3681f131e35aab2498e6cd9a0cc#2cab29095590d3681f131e35aab2498e6cd9a0cc"
dependencies = [
"craft-behavior",
"craft-host",
@@ -2379,7 +2379,7 @@ dependencies = [
[[package]]
name = "craft-ui-widgets"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da#4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da"
source = "git+https://github.com/storytold/craft-libs?rev=2cab29095590d3681f131e35aab2498e6cd9a0cc#2cab29095590d3681f131e35aab2498e6cd9a0cc"
dependencies = [
"craft-behavior",
"craft-host",
@@ -2398,7 +2398,7 @@ dependencies = [
[[package]]
name = "craft-update"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da#4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da"
source = "git+https://github.com/storytold/craft-libs?rev=2cab29095590d3681f131e35aab2498e6cd9a0cc#2cab29095590d3681f131e35aab2498e6cd9a0cc"
dependencies = [
"base64 0.22.1",
"chrono",
@@ -2430,7 +2430,7 @@ dependencies = [
[[package]]
name = "craft-vectorcraft-format"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da#4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da"
source = "git+https://github.com/storytold/craft-libs?rev=2cab29095590d3681f131e35aab2498e6cd9a0cc#2cab29095590d3681f131e35aab2498e6cd9a0cc"
dependencies = [
"flate2",
"serde",
@@ -2441,7 +2441,7 @@ dependencies = [
[[package]]
name = "craft-wayland"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da#4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da"
source = "git+https://github.com/storytold/craft-libs?rev=2cab29095590d3681f131e35aab2498e6cd9a0cc#2cab29095590d3681f131e35aab2498e6cd9a0cc"
dependencies = [
"raw-window-handle",
"wayland-backend",
@@ -2451,7 +2451,7 @@ dependencies = [
[[package]]
name = "craft-web-api"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da#4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da"
source = "git+https://github.com/storytold/craft-libs?rev=2cab29095590d3681f131e35aab2498e6cd9a0cc#2cab29095590d3681f131e35aab2498e6cd9a0cc"
dependencies = [
"js-sys",
"serde_json",
@@ -2462,7 +2462,7 @@ dependencies = [
[[package]]
name = "craft-win32"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da#4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da"
source = "git+https://github.com/storytold/craft-libs?rev=2cab29095590d3681f131e35aab2498e6cd9a0cc#2cab29095590d3681f131e35aab2498e6cd9a0cc"
dependencies = [
"winsafe",
]
@@ -2470,7 +2470,7 @@ dependencies = [
[[package]]
name = "craft-window"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da#4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da"
source = "git+https://github.com/storytold/craft-libs?rev=2cab29095590d3681f131e35aab2498e6cd9a0cc#2cab29095590d3681f131e35aab2498e6cd9a0cc"
dependencies = [
"craft-appkit",
"craft-atomic",
@@ -2502,7 +2502,7 @@ dependencies = [
[[package]]
name = "craft-xml"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da#4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da"
source = "git+https://github.com/storytold/craft-libs?rev=2cab29095590d3681f131e35aab2498e6cd9a0cc#2cab29095590d3681f131e35aab2498e6cd9a0cc"
dependencies = [
"quick-xml 0.41.0",
"serde",
@@ -3862,7 +3862,7 @@ checksum = "9f4d0e94ddd48749f06bbe4e5389fb9799a0c45bcaf00495042076ef05e3241a"
[[package]]
name = "hayro-cmap"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da#4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da"
source = "git+https://github.com/storytold/craft-libs?rev=2cab29095590d3681f131e35aab2498e6cd9a0cc#2cab29095590d3681f131e35aab2498e6cd9a0cc"
dependencies = [
"brotli 8.0.4",
"hayro-postscript",
@@ -3871,7 +3871,7 @@ dependencies = [
[[package]]
name = "hayro-interpret"
version = "0.7.0"
source = "git+https://github.com/storytold/craft-libs?rev=4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da#4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da"
source = "git+https://github.com/storytold/craft-libs?rev=2cab29095590d3681f131e35aab2498e6cd9a0cc#2cab29095590d3681f131e35aab2498e6cd9a0cc"
dependencies = [
"bitflags 2.13.2",
"hayro-cmap",
@@ -3889,7 +3889,7 @@ dependencies = [
[[package]]
name = "hayro-jbig2"
version = "0.3.0"
source = "git+https://github.com/storytold/craft-libs?rev=4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da#4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da"
source = "git+https://github.com/storytold/craft-libs?rev=2cab29095590d3681f131e35aab2498e6cd9a0cc#2cab29095590d3681f131e35aab2498e6cd9a0cc"
dependencies = [
"fearless_simd",
"hayro-ccitt",
@@ -3907,12 +3907,12 @@ dependencies = [
[[package]]
name = "hayro-postscript"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da#4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da"
source = "git+https://github.com/storytold/craft-libs?rev=2cab29095590d3681f131e35aab2498e6cd9a0cc#2cab29095590d3681f131e35aab2498e6cd9a0cc"
[[package]]
name = "hayro-syntax"
version = "0.7.2"
source = "git+https://github.com/storytold/craft-libs?rev=4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da#4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da"
source = "git+https://github.com/storytold/craft-libs?rev=2cab29095590d3681f131e35aab2498e6cd9a0cc#2cab29095590d3681f131e35aab2498e6cd9a0cc"
dependencies = [
"flate2",
"hayro-ccitt",
@@ -4895,7 +4895,7 @@ dependencies = [
[[package]]
name = "krilla"
version = "0.8.2"
source = "git+https://github.com/storytold/craft-libs?rev=4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da#4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da"
source = "git+https://github.com/storytold/craft-libs?rev=2cab29095590d3681f131e35aab2498e6cd9a0cc#2cab29095590d3681f131e35aab2498e6cd9a0cc"
dependencies = [
"base64 0.22.1",
"bumpalo",
@@ -5052,7 +5052,7 @@ checksum = "d4a5ff6bcca6c4867b1c4fd4ef63e4db7436ef363e0ad7531d1558856bae64f4"
[[package]]
name = "linesweeper"
version = "0.5.0"
source = "git+https://github.com/storytold/craft-libs?rev=4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da#4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da"
source = "git+https://github.com/storytold/craft-libs?rev=2cab29095590d3681f131e35aab2498e6cd9a0cc#2cab29095590d3681f131e35aab2498e6cd9a0cc"
dependencies = [
"arrayvec",
"kurbo 0.13.1",
+41 -41
View File
@@ -10,57 +10,57 @@ license = "MIT OR Apache-2.0"
rust-version = "1.95"
[workspace.dependencies]
craft-cms = { git = "https://github.com/storytold/craft-libs", rev = "4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da" }
craft-pdf = { git = "https://github.com/storytold/craft-libs", rev = "4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da", default-features = false, features = ["interpret", "write"] }
craft-docpath = { version = "0.1.0", git = "https://github.com/storytold/craft-libs", rev = "4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da" }
craft-proof = { git = "https://github.com/storytold/craft-libs", rev = "4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da" }
craft-cms = { git = "https://github.com/storytold/craft-libs", rev = "2cab29095590d3681f131e35aab2498e6cd9a0cc" }
craft-pdf = { git = "https://github.com/storytold/craft-libs", rev = "2cab29095590d3681f131e35aab2498e6cd9a0cc", default-features = false, features = ["interpret", "write"] }
craft-docpath = { version = "0.1.0", git = "https://github.com/storytold/craft-libs", rev = "2cab29095590d3681f131e35aab2498e6cd9a0cc" }
craft-proof = { git = "https://github.com/storytold/craft-libs", rev = "2cab29095590d3681f131e35aab2498e6cd9a0cc" }
# Language packs: the Craft apps' shared font store installs them (#4936).
craft-font-store = { git = "https://github.com/storytold/craft-libs", rev = "4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da" }
craft-font-catalog = { git = "https://github.com/storytold/craft-libs", rev = "4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da" }
craft-font-store = { git = "https://github.com/storytold/craft-libs", rev = "2cab29095590d3681f131e35aab2498e6cd9a0cc" }
craft-font-catalog = { git = "https://github.com/storytold/craft-libs", rev = "2cab29095590d3681f131e35aab2498e6cd9a0cc" }
# The `.vectorcraft` envelope: its members, version, embedded images and the data after the JSON.
craft-vectorcraft-format = { git = "https://github.com/storytold/craft-libs", rev = "4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da" }
craft-gzip = { git = "https://github.com/storytold/craft-libs", rev = "4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da" }
craft-vectorcraft-format = { git = "https://github.com/storytold/craft-libs", rev = "2cab29095590d3681f131e35aab2498e6cd9a0cc" }
craft-gzip = { git = "https://github.com/storytold/craft-libs", rev = "2cab29095590d3681f131e35aab2498e6cd9a0cc" }
# `.pcraft` documents: their manifest, full-size composite, preview, layer pixels and ICC profile.
craft-doc = { git = "https://github.com/storytold/craft-libs", rev = "4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da", features = ["pcraft-pixels"] }
craft-doc = { git = "https://github.com/storytold/craft-libs", rev = "2cab29095590d3681f131e35aab2498e6cd9a0cc", features = ["pcraft-pixels"] }
# Native Affinity documents (craft-libs#914).
craft-affinity = { git = "https://github.com/storytold/craft-libs", rev = "4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da" }
craft-affinity = { git = "https://github.com/storytold/craft-libs", rev = "2cab29095590d3681f131e35aab2498e6cd9a0cc" }
# Bounded CDR (v1-v27) and CMX (32-bit) reader (craft-libs#778).
craft-cdr = { git = "https://github.com/storytold/craft-libs", rev = "4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da" }
craft-cdr = { git = "https://github.com/storytold/craft-libs", rev = "2cab29095590d3681f131e35aab2498e6cd9a0cc" }
# SVG parsing, limits, SVGZ and writer (craft-libs#778).
craft-svg = { git = "https://github.com/storytold/craft-libs", rev = "4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da", features = ["tree"] }
craft-mime = { git = "https://github.com/storytold/craft-libs", rev = "4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da" }
craft-svg = { git = "https://github.com/storytold/craft-libs", rev = "2cab29095590d3681f131e35aab2498e6cd9a0cc", features = ["tree"] }
craft-mime = { git = "https://github.com/storytold/craft-libs", rev = "2cab29095590d3681f131e35aab2498e6cd9a0cc" }
# EPS container, previews, ASCII85 and DSC comments (craft-libs#778).
craft-eps = { git = "https://github.com/storytold/craft-libs", rev = "4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da" }
craft-eps = { git = "https://github.com/storytold/craft-libs", rev = "2cab29095590d3681f131e35aab2498e6cd9a0cc" }
# DXF tags, reader and writer (craft-libs#778, #926, #927).
craft-plotter = { git = "https://github.com/storytold/craft-libs", rev = "4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da" }
craft-dxf = { git = "https://github.com/storytold/craft-libs", rev = "4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da" }
craft-plotter = { git = "https://github.com/storytold/craft-libs", rev = "2cab29095590d3681f131e35aab2498e6cd9a0cc" }
craft-dxf = { git = "https://github.com/storytold/craft-libs", rev = "2cab29095590d3681f131e35aab2498e6cd9a0cc" }
# DWG to DXF bytes, in a child process on desktop builds (acadrust 0.6.6, MPL-2.0, unmodified).
craft-dwg = { git = "https://github.com/storytold/craft-libs", rev = "4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da" }
craft-dwg = { git = "https://github.com/storytold/craft-libs", rev = "2cab29095590d3681f131e35aab2498e6cd9a0cc" }
# WMF, EMF and EMF+ reader (craft-libs#778).
craft-metafile = { git = "https://github.com/storytold/craft-libs", rev = "4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da" }
craft-xml = { git = "https://github.com/storytold/craft-libs", rev = "4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da" }
craft-image-codecs = { git = "https://github.com/storytold/craft-libs", rev = "4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da" }
craft-gif = { git = "https://github.com/storytold/craft-libs", rev = "4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da" }
craft-tiff = { git = "https://github.com/storytold/craft-libs", rev = "4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da" }
craft-ps = { git = "https://github.com/storytold/craft-libs", rev = "4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da", default-features = false, features = ["read", "write"] }
craft-psd = { git = "https://github.com/storytold/craft-libs", rev = "4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da" }
craft-stream-codecs = { git = "https://github.com/storytold/craft-libs", rev = "4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da" }
craft-jxl = { git = "https://github.com/storytold/craft-libs", rev = "4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da" }
craft-codepage = { git = "https://github.com/storytold/craft-libs", rev = "4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da" }
craft-metafile = { git = "https://github.com/storytold/craft-libs", rev = "2cab29095590d3681f131e35aab2498e6cd9a0cc" }
craft-xml = { git = "https://github.com/storytold/craft-libs", rev = "2cab29095590d3681f131e35aab2498e6cd9a0cc" }
craft-image-codecs = { git = "https://github.com/storytold/craft-libs", rev = "2cab29095590d3681f131e35aab2498e6cd9a0cc" }
craft-gif = { git = "https://github.com/storytold/craft-libs", rev = "2cab29095590d3681f131e35aab2498e6cd9a0cc" }
craft-tiff = { git = "https://github.com/storytold/craft-libs", rev = "2cab29095590d3681f131e35aab2498e6cd9a0cc" }
craft-ps = { git = "https://github.com/storytold/craft-libs", rev = "2cab29095590d3681f131e35aab2498e6cd9a0cc", default-features = false, features = ["read", "write"] }
craft-psd = { git = "https://github.com/storytold/craft-libs", rev = "2cab29095590d3681f131e35aab2498e6cd9a0cc" }
craft-stream-codecs = { git = "https://github.com/storytold/craft-libs", rev = "2cab29095590d3681f131e35aab2498e6cd9a0cc" }
craft-jxl = { git = "https://github.com/storytold/craft-libs", rev = "2cab29095590d3681f131e35aab2498e6cd9a0cc" }
craft-codepage = { git = "https://github.com/storytold/craft-libs", rev = "2cab29095590d3681f131e35aab2498e6cd9a0cc" }
# The metallic-roughness BRDF and environment light the 3D effects' Roughness and Metallic shade with.
craft-pbr = { git = "https://github.com/storytold/craft-libs", rev = "4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da" }
craft-pbr = { git = "https://github.com/storytold/craft-libs", rev = "2cab29095590d3681f131e35aab2498e6cd9a0cc" }
# The CPU rasterizer that draws a 3D effect's Render Settings › Rendered image: depth-buffered triangles, shadow maps.
craft-raster3d = { git = "https://github.com/storytold/craft-libs", rev = "4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da" }
craft-raster3d = { git = "https://github.com/storytold/craft-libs", rev = "2cab29095590d3681f131e35aab2498e6cd9a0cc" }
# The framework facade (`craft::ui`, `craft::settings`, `craft::platform`, ...). No default features: each crate names
# the members it imports.
craft = { git = "https://github.com/storytold/craft-libs", rev = "4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da" }
craft = { git = "https://github.com/storytold/craft-libs", rev = "2cab29095590d3681f131e35aab2498e6cd9a0cc" }
# Below the egui layer, so not through the facade: the colour harmony rules and their settings (craft-color-ui
# without its `ui` feature), the colour type they work in, and the craft-fonts tables the text crate's build writes.
craft-color-ui = { git = "https://github.com/storytold/craft-libs", rev = "4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da" }
craft-theme = { git = "https://github.com/storytold/craft-libs", rev = "4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da" }
craft-fonts-build = { git = "https://github.com/storytold/craft-libs", rev = "4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da" }
craft-color-ui = { git = "https://github.com/storytold/craft-libs", rev = "2cab29095590d3681f131e35aab2498e6cd9a0cc" }
craft-theme = { git = "https://github.com/storytold/craft-libs", rev = "2cab29095590d3681f131e35aab2498e6cd9a0cc" }
craft-fonts-build = { git = "https://github.com/storytold/craft-libs", rev = "2cab29095590d3681f131e35aab2498e6cd9a0cc" }
# Nightly profile isolation, launch protocol, and security fence.
craft-nightly = { git = "https://github.com/storytold/craft-libs", rev = "4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da" }
craft-nightly = { git = "https://github.com/storytold/craft-libs", rev = "2cab29095590d3681f131e35aab2498e6cd9a0cc" }
# internal
vectorcraft-geom = { path = "crates/geom" }
vectorcraft-color = { path = "crates/color" }
@@ -200,13 +200,13 @@ lto = "thin"
codegen-units = 1
[patch.crates-io]
hayro-syntax = { git = "https://github.com/storytold/craft-libs", rev = "4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da" }
hayro-interpret = { git = "https://github.com/storytold/craft-libs", rev = "4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da" }
hayro-jbig2 = { git = "https://github.com/storytold/craft-libs", rev = "4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da" }
hayro-cmap = { git = "https://github.com/storytold/craft-libs", rev = "4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da" }
hayro-postscript = { git = "https://github.com/storytold/craft-libs", rev = "4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da" }
krilla = { git = "https://github.com/storytold/craft-libs", rev = "4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da" }
linesweeper = { git = "https://github.com/storytold/craft-libs", rev = "4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da" }
hayro-syntax = { git = "https://github.com/storytold/craft-libs", rev = "2cab29095590d3681f131e35aab2498e6cd9a0cc" }
hayro-interpret = { git = "https://github.com/storytold/craft-libs", rev = "2cab29095590d3681f131e35aab2498e6cd9a0cc" }
hayro-jbig2 = { git = "https://github.com/storytold/craft-libs", rev = "2cab29095590d3681f131e35aab2498e6cd9a0cc" }
hayro-cmap = { git = "https://github.com/storytold/craft-libs", rev = "2cab29095590d3681f131e35aab2498e6cd9a0cc" }
hayro-postscript = { git = "https://github.com/storytold/craft-libs", rev = "2cab29095590d3681f131e35aab2498e6cd9a0cc" }
krilla = { git = "https://github.com/storytold/craft-libs", rev = "2cab29095590d3681f131e35aab2498e6cd9a0cc" }
linesweeper = { git = "https://github.com/storytold/craft-libs", rev = "2cab29095590d3681f131e35aab2498e6cd9a0cc" }
# skrifa 0.44 (epaint, glifo, usvg) with the automatic hinter's long blue-zone exit (craft-libs vendor/skrifa).
# It stays at this rev until craft-libs#5222 merges.
skrifa = { git = "https://github.com/storytold/craft-libs", rev = "37d0532f42eb3421769c8a454e3e25a20fbcff97" }
+1 -1
View File
@@ -28,7 +28,7 @@ egui_extras = { workspace = true }
# `wgpu` pulls egui-wgpu's defaults: WebGPU plus the WebGL2 fallback.
eframe = { workspace = true, features = ["default_fonts", "wgpu", "accesskit"] }
# The page command API (storytold/craft-libs#413): the request plumbing behind window.vectorcraft.
craft-web-api = { git = "https://github.com/storytold/craft-libs", rev = "4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da", version = "0.1.0" }
craft-web-api = { git = "https://github.com/storytold/craft-libs", rev = "2cab29095590d3681f131e35aab2498e6cd9a0cc", version = "0.1.0" }
wasm-bindgen = "0.2"
serde_json = { workspace = true }
+5 -1
View File
@@ -112,7 +112,9 @@ pub(super) fn import(bytes: &[u8]) -> Result<(Document, Vec<String>)> {
why => err(format!("this CDR drawing can't be read ({why})")),
})?;
let (doc, mut warnings) = build(&d, note, PAGES_CUT);
if d.version >= FRAMES_FROM && d.warnings.iter().any(|w| matches!(w, Warning::UnsupportedObjects | Warning::TooDeep)) {
// Objects the reader or the mapping left out (bitmaps are read but not placed), or content past the reader's limits.
let left_out = warnings.iter().any(|w| w == UNSUPPORTED_OBJECTS) || d.warnings.contains(&Warning::TooDeep);
if d.version >= FRAMES_FROM && left_out {
warnings.push(EMPTY_FRAMES.to_string());
}
Ok((doc, warnings))
@@ -423,6 +425,8 @@ fn copy_cost(objects: &[cd::Object]) -> usize {
match o {
cd::Object::Group { objects: kids, .. } => stack.extend(kids),
cd::Object::Shape(s) => n = n.saturating_add(shape_cost(s)),
// A bitmap is not placed, so it takes nothing past the object itself.
cd::Object::Image(_) => {}
cd::Object::Clip { container, objects } => {
// A container whose outline is behind its fill is built twice, as that outline
// and as the clipping path, inside a group of their own.
@@ -74,6 +74,8 @@ impl Builder {
self.learn_spot(c);
}
}
// Bitmaps are not placed, so their colors add no swatch.
cd::Object::Image(_) => {}
cd::Object::Group { objects: kids, .. } => stack.extend(kids),
cd::Object::Clip { container, objects } => {
for c in container.fill.iter().chain(container.outline.iter().map(|o| &o.color)) {
@@ -123,6 +125,8 @@ impl Builder {
for o in objects.iter().rev() {
match o {
cd::Object::Shape(s) => out.extend(self.shape(s, to_doc, false).map(|n| with_flags(n, s.flags))),
// Bitmaps are left out, and the warnings name them with the other objects not read.
cd::Object::Image(_) => self.note(Warning::UnsupportedObjects),
cd::Object::Group { objects: kids, flags } => {
let children = self.objects_at(kids, to_doc, depth + 1);
if !children.is_empty() {
+37 -2
View File
@@ -537,7 +537,7 @@ fn containers_open_as_clipping_groups() {
assert!(children[1..].iter().all(|n| matches!(n.kind, NodeKind::Path { clipping: false, .. })));
}
/// A container whose clipped group holds only objects the reader leaves out (a bitmap here), or
/// A container whose clipped group holds only objects the reader leaves out (text here), or
/// whose group holds a container of that same group, opens as a plain shape, and the warnings
/// say that such frames opened empty.
#[test]
@@ -554,7 +554,7 @@ fn containers_whose_contents_were_left_out_are_named_in_the_warnings() {
super::cdr::import(&synth::riff(1100, &[chunk(b"vrsn", 1100u16.to_le_bytes().to_vec()), doc, page])).unwrap()
};
let frames = "PowerClip frames whose contents were left out opened empty";
let (doc, warnings) = open(vec![synth::object(v, 5, &[(30, v.rect(10.0, 10.0, 0.0))], None)]);
let (doc, warnings) = open(vec![synth::object(v, 4, &[(30, v.rect(10.0, 10.0, 0.0))], None)]);
let p = paths(&doc);
let [frame] = p.as_slice() else { panic!("{p:?}") };
assert!(matches!(frame.kind, NodeKind::Path { clipping: false, .. }), "{:?}", frame.kind);
@@ -566,6 +566,41 @@ fn containers_whose_contents_were_left_out_are_named_in_the_warnings() {
assert!(warnings.iter().any(|w| w.contains(frames)), "{warnings:?}");
}
/// A bitmap the reader decodes is not placed: the drawing opens without it, and the warnings name
/// the bitmaps left out. A container that clips only a bitmap opens with its clipping path alone,
/// and the warnings say that such frames opened empty.
#[test]
fn bitmaps_are_left_out_and_named_in_the_warnings() {
let v = V(1300);
let gray = synth::Bitmap { model: 5, bpp: 8, width: 3, height: 2, palette: vec![], rows: vec![vec![0; 3], vec![0; 3]] };
let open = |bitmaps: Vec<synth::Node>, objects: Vec<synth::Node>| {
let body = vec![
chunk(b"vrsn", 1300u16.to_le_bytes().to_vec()),
list(b"bmpt", bitmaps),
synth::page(false, vec![synth::layer(v, [0, 0, 0, 0x98], "Art", objects)]),
];
super::cdr::import(&synth::riff(1300, &body)).unwrap()
};
let rect = || synth::object(v, 1, &[(30, v.rect(40.0, 40.0, 0.0))], None);
let frames = "PowerClip frames whose contents were left out opened empty";
let (doc, warnings) = open(vec![synth::bmp(v, 1, &gray, None)], vec![synth::bitmap_object(v, 1, (0.0, 2.0), (3.0, 0.0), None), rect()]);
let p = paths(&doc);
let [shape] = p.as_slice() else { panic!("{p:?}") };
assert!(matches!(shape.kind, NodeKind::Path { clipping: false, .. }), "{:?}", shape.kind);
assert!(warnings.iter().any(|w| w.contains("text, bitmaps")), "{warnings:?}");
assert!(warnings.iter().any(|w| w.contains(frames)), "{warnings:?}");
let clipped = synth::clpt(vec![(0x77, vec![synth::bitmap_object(v, 1, (0.0, 2.0), (3.0, 0.0), None)])]);
let container = synth::object(v, 1, &[(30, v.rect(40.0, 40.0, 0.0)), synth::container(0x77)], None);
let (doc, warnings) = open(vec![synth::bmp(v, 1, &gray, None), clipped], vec![container]);
let p = paths(&doc);
let [frame] = p.as_slice() else { panic!("{p:?}") };
assert!(matches!(frame.kind, NodeKind::Path { clipping: true, .. }), "{:?}", frame.kind);
assert!(warnings.iter().any(|w| w.contains("text, bitmaps")), "{warnings:?}");
assert!(warnings.iter().any(|w| w.contains(frames)), "{warnings:?}");
}
/// An object with a lens or transparency opens opaque, and the warnings say so.
#[test]
fn lenses_and_transparency_are_named_in_the_warnings() {
+1 -1
View File
@@ -289,7 +289,7 @@ fn opacity_field(app: &mut VectorcraftApp, ui: &mut Ui, opacity: f32, selected:
let target = crate::panels::transparency_target(app);
group(ui, rank::OPACITY, |ui| {
Field::new(label).side(SideLabel::new().link().scrub(true)).show(ui, |ui, _| {
let number = NumberField::new(label, Bind::given(Some(crate::panels::shown_percent(opacity))))
let number = NumberField::new(label, Bind::given(Some(f64::from(opacity) * 100.0)))
.range(0.0..=100.0)
.unit("%")
.scrub_by_label()
-9
View File
@@ -1264,15 +1264,6 @@ pub(crate) fn whole_steps(range: std::ops::RangeInclusive<f64>) -> ChannelRule {
rule
}
/// An opacity stored as an f32 fraction (0 to 1), as the percent an Opacity field shows: the whole percent when it
/// stores as the same f32, so that an arrow key steps on from it, and the exact percent otherwise. 51 % stores as
/// 0.51f32, which reads back as 50.999999 %; an Up press from there would step to 51 % again.
pub(crate) fn shown_percent(fraction: f32) -> f64 {
let percent = f64::from(fraction) * 100.0;
let whole = percent.round();
if (whole / 100.0) as f32 == fraction { whole } else { percent }
}
/// A section of a panel or dialog under its heading in label text: the reference app's section headings are regular
/// weight, not bold.
pub(crate) fn section<'a>(title: impl Into<Label>) -> Section<'a> {
+1 -83
View File
@@ -20,7 +20,6 @@ use craft::ui::form::{Field, FieldGroup};
use craft::ui::form::{SliderField, SliderFieldLayout};
use craft::ui::layout_components::Row;
use craft::ui::pickers::Select;
use craft::ui::runtime::focus::{self, FocusTarget};
use craft::ui::text::NumberField;
use egui::Ui;
use serde_json::{Value, json};
@@ -97,81 +96,13 @@ fn percent_slider(app: &mut VectorcraftApp, ui: &mut Ui, target: &EditTarget, sl
let PercentSlider { label, key, range } = slider;
Field::new(label).enabled(on).show(ui, |ui, _| {
let shown = value.unwrap_or(0.0).clamp(*range.start(), *range.end());
// Until the craft-libs pin includes storytold/craft-libs#5024 (`SliderField::edit_target`),
// which then replaces this: when the edit target changes, the slider field gets a new id salt
// only if its number field held focus in the last pass or holds it now, so an unfinished
// value is dropped and never committed to the new target. Otherwise its id stays the same,
// including during a drag. When the id changes, the focus moves to the new track if the old
// track holds it now, or to the new number field if the old number field holds it now.
// Other focus moves keep their destination.
let held = ui.scope_id().with(("blend-percent-target", key));
let mut kept = ui.ctx().data(|d| d.get_temp::<PercentField>(held)).unwrap_or_default();
let previous_round = kept.round;
if &kept.target != target {
kept.target = target.clone();
let ctx = ui.ctx();
let track_focused = kept.track.is_some_and(|id| focus::has(ctx, id));
let typed_focused = kept.typed.is_some_and(|id| focus::has(ctx, id));
if kept.typed_focused || typed_focused {
kept.round = kept.round.wrapping_add(1);
kept.hand_off = if track_focused {
Some("slider")
} else if typed_focused {
Some("field")
} else {
None
};
}
}
let out = SliderField::new(label, Bind::given(shown), range.clone())
.layout(SliderFieldLayout::Inline)
.unit("%")
.step(1.0)
.enabled(on)
.id_salt(("blend-percent", key, kept.round))
.edit_target(target)
.show(ui);
// The slider field's children are keyed "slider" (the track) and "field" (the number field
// that takes typing). A measuring pass moves no focus, so the hand-off waits for a pass that
// does.
let typed = out.edit.response.id.with("field");
// Disabled children have no focus stop. A request for one can outlive this target.
if !on {
kept.hand_off = None;
} else if ui.input(|i| i.pointer.any_pressed()) {
// Pointer focus moves settle at the end of the pass against the old ids. When these
// children are replaced, a primary press on the visible part of the row, on this layer,
// focuses the new child under it, even if released in this frame. Other button presses
// cancel the hand-off. SliderField exposes only the whole response; response_of supplies
// its child rects. A track press gets focus, but its drag cannot start on the replacement
// this frame.
let pressed = ui.input(|i| {
i.events.iter().find_map(|event| match event {
egui::Event::PointerButton { pos, button: egui::PointerButton::Primary, pressed: true, .. } => Some(*pos),
_ => None,
})
});
kept.hand_off = if previous_round != kept.round || kept.hand_off.is_some() {
let on_row = |at: &egui::Pos2| {
out.edit.response.rect.contains(*at) && ui.clip_rect().contains(*at) && ui.ctx().layer_id_at(*at) == Some(ui.layer_id())
};
pressed.filter(on_row).and_then(|at| {
["field", "slider"].into_iter().find(|child| {
craft::ui::contract::response_of(ui, out.edit.response.id.with(child)).is_some_and(|response| response.rect.contains(at))
})
})
} else {
None
};
}
if let Some(child) = kept.hand_off
&& focus::request(ui.ctx(), FocusTarget::Id(out.edit.response.id.with(child)))
{
kept.hand_off = None;
}
kept.typed_focused = focus::has(ui.ctx(), typed);
kept.typed = Some(typed);
kept.track = Some(out.edit.response.id.with("slider"));
ui.ctx().data_mut(|d| d.insert_temp(held, kept));
apply_edits(app, &out.edit, EditPath::Preview, |app, v, phase| {
crate::panels::live_run(app, "Blend Options", "object.blend.options", json!({ key: *v }), phase);
});
@@ -194,19 +125,6 @@ struct TargetCache {
objects: Arc<Vec<(NodeId, Option<NodeId>)>>,
}
/// What the Ramp or Shift slider field keeps between passes: the [`EditTarget`] it last showed, the
/// round its id salt is on, the ids of its number field and its track, whether its number field
/// held focus in the last pass, and the child that still needs focus in a new round.
#[derive(Clone, Default)]
struct PercentField {
target: EditTarget,
round: u64,
typed: Option<egui::Id>,
track: Option<egui::Id>,
typed_focused: bool,
hand_off: Option<&'static str>,
}
/// The active document's uid and revert count, with each selected id and its resolved blend id.
/// Resolution uses the same nearest-node finder and symbol-part guard as the Blend commands.
/// Unchanged document revisions and selections reuse the resolved objects between passes.
+1 -1
View File
@@ -1901,7 +1901,7 @@ fn opacity_row(app: &mut VectorcraftApp, panel: &mut WheelUi, ui: &mut Ui, tgt:
// The row reads dim and takes no edit with nothing it can set.
Stack::new().enabled(live).show(ui, |ui, _| {
let rule = super::whole_steps(0.0..=100.0);
let row = ChannelRow::new(tl!("Opacity").to_string(), Bind::given(super::shown_percent(o)), rule)
let row = ChannelRow::new(tl!("Opacity").to_string(), Bind::given(f64::from(o) * 100.0), rule)
.unit(ChannelUnit::Percent)
.track(track.clone())
.checker(true);
+1 -1
View File
@@ -720,7 +720,7 @@ fn host_fields(app: &mut VectorcraftApp, ui: &mut Ui, g: &Gradient, is_grad: boo
Row::new().wrap(true).show(ui, |ui, _| {
Row::new().show(ui, |ui, _| {
Text::new(tl!("Opacity:")).shade(Shade::Muted).show(ui);
let shown = stop.map_or(100.0, |s| super::shown_percent(s.opacity));
let shown = stop.map_or(100.0, |s| f64::from(s.opacity) * 100.0);
let opacity = NumberField::new(tl!("Opacity"), Bind::given(Some(shown)))
.range(0.0..=100.0)
.unit("%")
+2 -3
View File
@@ -299,8 +299,7 @@ pub(crate) fn split_row(app: &mut VectorcraftApp, ui: &mut Ui) {
let Some(split) = selected_split(app) else { return };
// The canvas sets the divider to a ten-thousandth: a hundredth of a percent.
let pct = (split * 10_000.0).round() / 100.0;
// Workaround until the craft-libs pin includes craft-libs#5024: keying the field on the selection drops a value
// typed for one object when another is selected. The pin bump replaces this with `edit_target`.
// A value typed for one object and not yet committed is dropped when another is selected.
let target = crate::panels::selection_target(app);
let edit = Field::new(tl!("Divider"))
.show(ui, |ui, _| {
@@ -308,7 +307,7 @@ pub(crate) fn split_row(app: &mut VectorcraftApp, ui: &mut Ui) {
.layout(SliderFieldLayout::Inline)
.step(1.0)
.unit("%")
.id_salt(("divider", &target))
.edit_target(&target)
.show(ui)
.edit
})
@@ -166,10 +166,8 @@ fn slider_row(ui: &mut Ui, params: &mut Value, data: &RowsData, spec: Slider, en
.enabled(enabled)
.show(ui, |ui, _| {
let mut field = SliderField::new(label, Bind::given(value), range.clone()).layout(SliderFieldLayout::Inline).step(1.0).enabled(enabled);
// Workaround until the craft-libs pin includes craft-libs#5024: keying the field on the selection drops a
// value typed for one object when another is selected. The pin bump replaces this with `edit_target`.
if let Some(target) = &data.target {
field = field.id_salt((key, target));
field = field.edit_target(target);
}
if let Some(unit) = unit {
field = field.unit(unit);
+1 -1
View File
@@ -5,7 +5,7 @@ use std::process::Command;
use serde_json::Value;
const REV: &str = "4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da";
const REV: &str = "2cab29095590d3681f131e35aab2498e6cd9a0cc";
const PACKAGES: &[(&str, &str, &str)] = &[
("craft-pdf", "0.1.0", REV),
("krilla", "0.8.2", REV),