From 42a43cf36cc096bcabcca83fc04b42df1892071d Mon Sep 17 00:00:00 2001 From: dotCooCoo Date: Mon, 30 Nov 2026 22:31:15 -0800 Subject: [PATCH 1/2] Panels: a panel floated in Essentials opens a window that shows In Essentials, a panel or the Tools rail dragged out of the dock left the dock but its OS window never appeared, and only Reset Workspace brought it back. The Contextual Task Bar counted as a layer that palette windows hide under, so a floating window opened hidden and stayed hidden while the bar showed. craft-libs now hides palette windows only under popup and modal layers (storytold/craft-libs#4616). The craft-libs pin moves to that pull request's head, and a test floats the Tools rail and the Properties group in every built-in workspace and checks that each OS window shows. --- Cargo.lock | 172 +++++++++--------- Cargo.toml | 76 ++++---- apps/vectorcraft-web/Cargo.toml | 2 +- .../ui-egui/src/panel_docking/native_tests.rs | 24 +++ xtask/src/pdf_deps.rs | 2 +- 5 files changed, 150 insertions(+), 126 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 344ae8dc34..a378b5a2a7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1231,7 +1231,7 @@ dependencies = [ [[package]] name = "craft" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=965c7beeb6076480e016e448bddddcce0a738ff6#965c7beeb6076480e016e448bddddcce0a738ff6" +source = "git+https://github.com/storytold/craft-libs?rev=adb8c1c22a42a7e67389b7428d01c9c630f6f71e#adb8c1c22a42a7e67389b7428d01c9c630f6f71e" dependencies = [ "craft-automation", "craft-behavior", @@ -1272,7 +1272,7 @@ dependencies = [ [[package]] name = "craft-affinity" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=965c7beeb6076480e016e448bddddcce0a738ff6#965c7beeb6076480e016e448bddddcce0a738ff6" +source = "git+https://github.com/storytold/craft-libs?rev=adb8c1c22a42a7e67389b7428d01c9c630f6f71e#adb8c1c22a42a7e67389b7428d01c9c630f6f71e" dependencies = [ "crc32fast", "flate2", @@ -1283,7 +1283,7 @@ dependencies = [ [[package]] name = "craft-appkit" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=965c7beeb6076480e016e448bddddcce0a738ff6#965c7beeb6076480e016e448bddddcce0a738ff6" +source = "git+https://github.com/storytold/craft-libs?rev=adb8c1c22a42a7e67389b7428d01c9c630f6f71e#adb8c1c22a42a7e67389b7428d01c9c630f6f71e" dependencies = [ "block2 0.6.2", "objc2 0.6.5", @@ -1295,7 +1295,7 @@ dependencies = [ [[package]] name = "craft-atomic" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=965c7beeb6076480e016e448bddddcce0a738ff6#965c7beeb6076480e016e448bddddcce0a738ff6" +source = "git+https://github.com/storytold/craft-libs?rev=adb8c1c22a42a7e67389b7428d01c9c630f6f71e#adb8c1c22a42a7e67389b7428d01c9c630f6f71e" dependencies = [ "rustix 1.1.6", ] @@ -1303,7 +1303,7 @@ dependencies = [ [[package]] name = "craft-automation" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=965c7beeb6076480e016e448bddddcce0a738ff6#965c7beeb6076480e016e448bddddcce0a738ff6" +source = "git+https://github.com/storytold/craft-libs?rev=adb8c1c22a42a7e67389b7428d01c9c630f6f71e#adb8c1c22a42a7e67389b7428d01c9c630f6f71e" dependencies = [ "base64 0.23.1", "craft-behavior", @@ -1328,7 +1328,7 @@ dependencies = [ [[package]] name = "craft-behavior" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=965c7beeb6076480e016e448bddddcce0a738ff6#965c7beeb6076480e016e448bddddcce0a738ff6" +source = "git+https://github.com/storytold/craft-libs?rev=adb8c1c22a42a7e67389b7428d01c9c630f6f71e#adb8c1c22a42a7e67389b7428d01c9c630f6f71e" dependencies = [ "accesskit", "bitflags 2.13.2", @@ -1346,7 +1346,7 @@ dependencies = [ [[package]] name = "craft-browse" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=965c7beeb6076480e016e448bddddcce0a738ff6#965c7beeb6076480e016e448bddddcce0a738ff6" +source = "git+https://github.com/storytold/craft-libs?rev=adb8c1c22a42a7e67389b7428d01c9c630f6f71e#adb8c1c22a42a7e67389b7428d01c9c630f6f71e" dependencies = [ "craft-behavior", "craft-docpath", @@ -1364,7 +1364,7 @@ dependencies = [ [[package]] name = "craft-cdr" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=965c7beeb6076480e016e448bddddcce0a738ff6#965c7beeb6076480e016e448bddddcce0a738ff6" +source = "git+https://github.com/storytold/craft-libs?rev=adb8c1c22a42a7e67389b7428d01c9c630f6f71e#adb8c1c22a42a7e67389b7428d01c9c630f6f71e" dependencies = [ "crc32fast", "flate2", @@ -1373,7 +1373,7 @@ dependencies = [ [[package]] name = "craft-cloud-ui" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=965c7beeb6076480e016e448bddddcce0a738ff6#965c7beeb6076480e016e448bddddcce0a738ff6" +source = "git+https://github.com/storytold/craft-libs?rev=adb8c1c22a42a7e67389b7428d01c9c630f6f71e#adb8c1c22a42a7e67389b7428d01c9c630f6f71e" dependencies = [ "egui", ] @@ -1381,7 +1381,7 @@ dependencies = [ [[package]] name = "craft-cms" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=965c7beeb6076480e016e448bddddcce0a738ff6#965c7beeb6076480e016e448bddddcce0a738ff6" +source = "git+https://github.com/storytold/craft-libs?rev=adb8c1c22a42a7e67389b7428d01c9c630f6f71e#adb8c1c22a42a7e67389b7428d01c9c630f6f71e" dependencies = [ "md-5", "rayon", @@ -1390,12 +1390,12 @@ dependencies = [ [[package]] name = "craft-codepage" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=965c7beeb6076480e016e448bddddcce0a738ff6#965c7beeb6076480e016e448bddddcce0a738ff6" +source = "git+https://github.com/storytold/craft-libs?rev=adb8c1c22a42a7e67389b7428d01c9c630f6f71e#adb8c1c22a42a7e67389b7428d01c9c630f6f71e" [[package]] name = "craft-color-ui" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=965c7beeb6076480e016e448bddddcce0a738ff6#965c7beeb6076480e016e448bddddcce0a738ff6" +source = "git+https://github.com/storytold/craft-libs?rev=adb8c1c22a42a7e67389b7428d01c9c630f6f71e#adb8c1c22a42a7e67389b7428d01c9c630f6f71e" dependencies = [ "craft-behavior", "craft-cms", @@ -1415,7 +1415,7 @@ dependencies = [ [[package]] name = "craft-control" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=965c7beeb6076480e016e448bddddcce0a738ff6#965c7beeb6076480e016e448bddddcce0a738ff6" +source = "git+https://github.com/storytold/craft-libs?rev=adb8c1c22a42a7e67389b7428d01c9c630f6f71e#adb8c1c22a42a7e67389b7428d01c9c630f6f71e" dependencies = [ "craft-control-protocol", "craft-platform", @@ -1426,7 +1426,7 @@ dependencies = [ [[package]] name = "craft-control-protocol" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=965c7beeb6076480e016e448bddddcce0a738ff6#965c7beeb6076480e016e448bddddcce0a738ff6" +source = "git+https://github.com/storytold/craft-libs?rev=adb8c1c22a42a7e67389b7428d01c9c630f6f71e#adb8c1c22a42a7e67389b7428d01c9c630f6f71e" dependencies = [ "getrandom 0.3.4", "serde_json", @@ -1436,7 +1436,7 @@ dependencies = [ [[package]] name = "craft-dds" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=965c7beeb6076480e016e448bddddcce0a738ff6#965c7beeb6076480e016e448bddddcce0a738ff6" +source = "git+https://github.com/storytold/craft-libs?rev=adb8c1c22a42a7e67389b7428d01c9c630f6f71e#adb8c1c22a42a7e67389b7428d01c9c630f6f71e" dependencies = [ "rayon", ] @@ -1444,7 +1444,7 @@ dependencies = [ [[package]] name = "craft-dialogs" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=965c7beeb6076480e016e448bddddcce0a738ff6#965c7beeb6076480e016e448bddddcce0a738ff6" +source = "git+https://github.com/storytold/craft-libs?rev=adb8c1c22a42a7e67389b7428d01c9c630f6f71e#adb8c1c22a42a7e67389b7428d01c9c630f6f71e" dependencies = [ "block2 0.6.2", "craft-appkit", @@ -1470,7 +1470,7 @@ dependencies = [ [[package]] name = "craft-doc" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=965c7beeb6076480e016e448bddddcce0a738ff6#965c7beeb6076480e016e448bddddcce0a738ff6" +source = "git+https://github.com/storytold/craft-libs?rev=adb8c1c22a42a7e67389b7428d01c9c630f6f71e#adb8c1c22a42a7e67389b7428d01c9c630f6f71e" dependencies = [ "blake3", "craft-ecproj-format", @@ -1486,7 +1486,7 @@ dependencies = [ [[package]] name = "craft-docpath" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=965c7beeb6076480e016e448bddddcce0a738ff6#965c7beeb6076480e016e448bddddcce0a738ff6" +source = "git+https://github.com/storytold/craft-libs?rev=adb8c1c22a42a7e67389b7428d01c9c630f6f71e#adb8c1c22a42a7e67389b7428d01c9c630f6f71e" dependencies = [ "serde", ] @@ -1494,7 +1494,7 @@ dependencies = [ [[package]] name = "craft-draw" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=965c7beeb6076480e016e448bddddcce0a738ff6#965c7beeb6076480e016e448bddddcce0a738ff6" +source = "git+https://github.com/storytold/craft-libs?rev=adb8c1c22a42a7e67389b7428d01c9c630f6f71e#adb8c1c22a42a7e67389b7428d01c9c630f6f71e" dependencies = [ "craft-behavior", "craft-color-ui", @@ -1513,7 +1513,7 @@ dependencies = [ [[package]] name = "craft-dxf" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=965c7beeb6076480e016e448bddddcce0a738ff6#965c7beeb6076480e016e448bddddcce0a738ff6" +source = "git+https://github.com/storytold/craft-libs?rev=adb8c1c22a42a7e67389b7428d01c9c630f6f71e#adb8c1c22a42a7e67389b7428d01c9c630f6f71e" dependencies = [ "craft-codepage", "encoding_rs", @@ -1525,7 +1525,7 @@ dependencies = [ [[package]] name = "craft-ecproj-format" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=965c7beeb6076480e016e448bddddcce0a738ff6#965c7beeb6076480e016e448bddddcce0a738ff6" +source = "git+https://github.com/storytold/craft-libs?rev=adb8c1c22a42a7e67389b7428d01c9c630f6f71e#adb8c1c22a42a7e67389b7428d01c9c630f6f71e" dependencies = [ "serde", "serde_json", @@ -1535,12 +1535,12 @@ dependencies = [ [[package]] name = "craft-eps" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=965c7beeb6076480e016e448bddddcce0a738ff6#965c7beeb6076480e016e448bddddcce0a738ff6" +source = "git+https://github.com/storytold/craft-libs?rev=adb8c1c22a42a7e67389b7428d01c9c630f6f71e#adb8c1c22a42a7e67389b7428d01c9c630f6f71e" [[package]] name = "craft-font-catalog" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=965c7beeb6076480e016e448bddddcce0a738ff6#965c7beeb6076480e016e448bddddcce0a738ff6" +source = "git+https://github.com/storytold/craft-libs?rev=adb8c1c22a42a7e67389b7428d01c9c630f6f71e#adb8c1c22a42a7e67389b7428d01c9c630f6f71e" dependencies = [ "fontique", "harfrust 0.13.3", @@ -1555,7 +1555,7 @@ dependencies = [ [[package]] name = "craft-font-manager" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=965c7beeb6076480e016e448bddddcce0a738ff6#965c7beeb6076480e016e448bddddcce0a738ff6" +source = "git+https://github.com/storytold/craft-libs?rev=adb8c1c22a42a7e67389b7428d01c9c630f6f71e#adb8c1c22a42a7e67389b7428d01c9c630f6f71e" dependencies = [ "craft-behavior", "craft-font-catalog", @@ -1574,7 +1574,7 @@ dependencies = [ [[package]] name = "craft-font-os-windows" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=965c7beeb6076480e016e448bddddcce0a738ff6#965c7beeb6076480e016e448bddddcce0a738ff6" +source = "git+https://github.com/storytold/craft-libs?rev=adb8c1c22a42a7e67389b7428d01c9c630f6f71e#adb8c1c22a42a7e67389b7428d01c9c630f6f71e" dependencies = [ "windows-registry", "windows-sys 0.61.2", @@ -1583,7 +1583,7 @@ dependencies = [ [[package]] name = "craft-font-store" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=965c7beeb6076480e016e448bddddcce0a738ff6#965c7beeb6076480e016e448bddddcce0a738ff6" +source = "git+https://github.com/storytold/craft-libs?rev=adb8c1c22a42a7e67389b7428d01c9c630f6f71e#adb8c1c22a42a7e67389b7428d01c9c630f6f71e" dependencies = [ "cap-primitives", "craft-atomic", @@ -1606,12 +1606,12 @@ dependencies = [ [[package]] name = "craft-fonts-build" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=965c7beeb6076480e016e448bddddcce0a738ff6#965c7beeb6076480e016e448bddddcce0a738ff6" +source = "git+https://github.com/storytold/craft-libs?rev=adb8c1c22a42a7e67389b7428d01c9c630f6f71e#adb8c1c22a42a7e67389b7428d01c9c630f6f71e" [[package]] name = "craft-gif" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=965c7beeb6076480e016e448bddddcce0a738ff6#965c7beeb6076480e016e448bddddcce0a738ff6" +source = "git+https://github.com/storytold/craft-libs?rev=adb8c1c22a42a7e67389b7428d01c9c630f6f71e#adb8c1c22a42a7e67389b7428d01c9c630f6f71e" dependencies = [ "gif", ] @@ -1619,7 +1619,7 @@ dependencies = [ [[package]] name = "craft-gzip" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=965c7beeb6076480e016e448bddddcce0a738ff6#965c7beeb6076480e016e448bddddcce0a738ff6" +source = "git+https://github.com/storytold/craft-libs?rev=adb8c1c22a42a7e67389b7428d01c9c630f6f71e#adb8c1c22a42a7e67389b7428d01c9c630f6f71e" dependencies = [ "flate2", ] @@ -1627,7 +1627,7 @@ dependencies = [ [[package]] name = "craft-host" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=965c7beeb6076480e016e448bddddcce0a738ff6#965c7beeb6076480e016e448bddddcce0a738ff6" +source = "git+https://github.com/storytold/craft-libs?rev=adb8c1c22a42a7e67389b7428d01c9c630f6f71e#adb8c1c22a42a7e67389b7428d01c9c630f6f71e" dependencies = [ "bitflags 2.13.2", "craft-i18n", @@ -1640,7 +1640,7 @@ dependencies = [ [[package]] name = "craft-i18n" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=965c7beeb6076480e016e448bddddcce0a738ff6#965c7beeb6076480e016e448bddddcce0a738ff6" +source = "git+https://github.com/storytold/craft-libs?rev=adb8c1c22a42a7e67389b7428d01c9c630f6f71e#adb8c1c22a42a7e67389b7428d01c9c630f6f71e" dependencies = [ "brotli 9.1.3", "brotli-decompressor 6.3.2", @@ -1670,7 +1670,7 @@ dependencies = [ [[package]] name = "craft-image-codecs" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=965c7beeb6076480e016e448bddddcce0a738ff6#965c7beeb6076480e016e448bddddcce0a738ff6" +source = "git+https://github.com/storytold/craft-libs?rev=adb8c1c22a42a7e67389b7428d01c9c630f6f71e#adb8c1c22a42a7e67389b7428d01c9c630f6f71e" dependencies = [ "craft-dds", "craft-jpeg", @@ -1697,7 +1697,7 @@ dependencies = [ [[package]] name = "craft-imaging" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=965c7beeb6076480e016e448bddddcce0a738ff6#965c7beeb6076480e016e448bddddcce0a738ff6" +source = "git+https://github.com/storytold/craft-libs?rev=adb8c1c22a42a7e67389b7428d01c9c630f6f71e#adb8c1c22a42a7e67389b7428d01c9c630f6f71e" dependencies = [ "craft-behavior", "craft-color-ui", @@ -1715,7 +1715,7 @@ dependencies = [ [[package]] name = "craft-jpeg" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=965c7beeb6076480e016e448bddddcce0a738ff6#965c7beeb6076480e016e448bddddcce0a738ff6" +source = "git+https://github.com/storytold/craft-libs?rev=adb8c1c22a42a7e67389b7428d01c9c630f6f71e#adb8c1c22a42a7e67389b7428d01c9c630f6f71e" dependencies = [ "thiserror 2.0.21", ] @@ -1723,7 +1723,7 @@ dependencies = [ [[package]] name = "craft-jxl" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=965c7beeb6076480e016e448bddddcce0a738ff6#965c7beeb6076480e016e448bddddcce0a738ff6" +source = "git+https://github.com/storytold/craft-libs?rev=adb8c1c22a42a7e67389b7428d01c9c630f6f71e#adb8c1c22a42a7e67389b7428d01c9c630f6f71e" dependencies = [ "brotli-decompressor 5.0.3", "jixel", @@ -1734,7 +1734,7 @@ dependencies = [ [[package]] name = "craft-keymap" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=965c7beeb6076480e016e448bddddcce0a738ff6#965c7beeb6076480e016e448bddddcce0a738ff6" +source = "git+https://github.com/storytold/craft-libs?rev=adb8c1c22a42a7e67389b7428d01c9c630f6f71e#adb8c1c22a42a7e67389b7428d01c9c630f6f71e" dependencies = [ "craft-host", "craft-i18n", @@ -1749,7 +1749,7 @@ dependencies = [ [[package]] name = "craft-layers" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=965c7beeb6076480e016e448bddddcce0a738ff6#965c7beeb6076480e016e448bddddcce0a738ff6" +source = "git+https://github.com/storytold/craft-libs?rev=adb8c1c22a42a7e67389b7428d01c9c630f6f71e#adb8c1c22a42a7e67389b7428d01c9c630f6f71e" dependencies = [ "craft-behavior", "craft-i18n", @@ -1763,7 +1763,7 @@ dependencies = [ [[package]] name = "craft-menu" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=965c7beeb6076480e016e448bddddcce0a738ff6#965c7beeb6076480e016e448bddddcce0a738ff6" +source = "git+https://github.com/storytold/craft-libs?rev=adb8c1c22a42a7e67389b7428d01c9c630f6f71e#adb8c1c22a42a7e67389b7428d01c9c630f6f71e" dependencies = [ "craft-behavior", "craft-host", @@ -1781,7 +1781,7 @@ dependencies = [ [[package]] name = "craft-metadata" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=965c7beeb6076480e016e448bddddcce0a738ff6#965c7beeb6076480e016e448bddddcce0a738ff6" +source = "git+https://github.com/storytold/craft-libs?rev=adb8c1c22a42a7e67389b7428d01c9c630f6f71e#adb8c1c22a42a7e67389b7428d01c9c630f6f71e" dependencies = [ "brotli-decompressor 6.3.2", "chrono", @@ -1793,7 +1793,7 @@ dependencies = [ [[package]] name = "craft-metafile" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=965c7beeb6076480e016e448bddddcce0a738ff6#965c7beeb6076480e016e448bddddcce0a738ff6" +source = "git+https://github.com/storytold/craft-libs?rev=adb8c1c22a42a7e67389b7428d01c9c630f6f71e#adb8c1c22a42a7e67389b7428d01c9c630f6f71e" dependencies = [ "encoding_rs", "image", @@ -1804,7 +1804,7 @@ dependencies = [ [[package]] name = "craft-mime" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=965c7beeb6076480e016e448bddddcce0a738ff6#965c7beeb6076480e016e448bddddcce0a738ff6" +source = "git+https://github.com/storytold/craft-libs?rev=adb8c1c22a42a7e67389b7428d01c9c630f6f71e#adb8c1c22a42a7e67389b7428d01c9c630f6f71e" dependencies = [ "chrono", "craft-codepage", @@ -1814,7 +1814,7 @@ dependencies = [ [[package]] name = "craft-nightly" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=965c7beeb6076480e016e448bddddcce0a738ff6#965c7beeb6076480e016e448bddddcce0a738ff6" +source = "git+https://github.com/storytold/craft-libs?rev=adb8c1c22a42a7e67389b7428d01c9c630f6f71e#adb8c1c22a42a7e67389b7428d01c9c630f6f71e" dependencies = [ "uds_windows", "winsafe", @@ -1823,7 +1823,7 @@ dependencies = [ [[package]] name = "craft-pages" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=965c7beeb6076480e016e448bddddcce0a738ff6#965c7beeb6076480e016e448bddddcce0a738ff6" +source = "git+https://github.com/storytold/craft-libs?rev=adb8c1c22a42a7e67389b7428d01c9c630f6f71e#adb8c1c22a42a7e67389b7428d01c9c630f6f71e" dependencies = [ "craft-behavior", "craft-keymap", @@ -1839,7 +1839,7 @@ dependencies = [ [[package]] name = "craft-pcraft-format" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=965c7beeb6076480e016e448bddddcce0a738ff6#965c7beeb6076480e016e448bddddcce0a738ff6" +source = "git+https://github.com/storytold/craft-libs?rev=adb8c1c22a42a7e67389b7428d01c9c630f6f71e#adb8c1c22a42a7e67389b7428d01c9c630f6f71e" dependencies = [ "flate2", "serde", @@ -1850,7 +1850,7 @@ dependencies = [ [[package]] name = "craft-pdf" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=965c7beeb6076480e016e448bddddcce0a738ff6#965c7beeb6076480e016e448bddddcce0a738ff6" +source = "git+https://github.com/storytold/craft-libs?rev=adb8c1c22a42a7e67389b7428d01c9c630f6f71e#adb8c1c22a42a7e67389b7428d01c9c630f6f71e" dependencies = [ "hayro-interpret", "hayro-syntax", @@ -1862,7 +1862,7 @@ dependencies = [ [[package]] name = "craft-platform" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=965c7beeb6076480e016e448bddddcce0a738ff6#965c7beeb6076480e016e448bddddcce0a738ff6" +source = "git+https://github.com/storytold/craft-libs?rev=adb8c1c22a42a7e67389b7428d01c9c630f6f71e#adb8c1c22a42a7e67389b7428d01c9c630f6f71e" dependencies = [ "async-channel", "async-io", @@ -1895,7 +1895,7 @@ dependencies = [ [[package]] name = "craft-plotter" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=965c7beeb6076480e016e448bddddcce0a738ff6#965c7beeb6076480e016e448bddddcce0a738ff6" +source = "git+https://github.com/storytold/craft-libs?rev=adb8c1c22a42a7e67389b7428d01c9c630f6f71e#adb8c1c22a42a7e67389b7428d01c9c630f6f71e" dependencies = [ "kurbo 0.13.1", "thiserror 2.0.21", @@ -1904,7 +1904,7 @@ dependencies = [ [[package]] name = "craft-print" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=965c7beeb6076480e016e448bddddcce0a738ff6#965c7beeb6076480e016e448bddddcce0a738ff6" +source = "git+https://github.com/storytold/craft-libs?rev=adb8c1c22a42a7e67389b7428d01c9c630f6f71e#adb8c1c22a42a7e67389b7428d01c9c630f6f71e" dependencies = [ "craft-behavior", "craft-host", @@ -1928,7 +1928,7 @@ dependencies = [ [[package]] name = "craft-proof" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=965c7beeb6076480e016e448bddddcce0a738ff6#965c7beeb6076480e016e448bddddcce0a738ff6" +source = "git+https://github.com/storytold/craft-libs?rev=adb8c1c22a42a7e67389b7428d01c9c630f6f71e#adb8c1c22a42a7e67389b7428d01c9c630f6f71e" dependencies = [ "log", "miniz_oxide 0.9.1", @@ -1939,7 +1939,7 @@ dependencies = [ [[package]] name = "craft-ps" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=965c7beeb6076480e016e448bddddcce0a738ff6#965c7beeb6076480e016e448bddddcce0a738ff6" +source = "git+https://github.com/storytold/craft-libs?rev=adb8c1c22a42a7e67389b7428d01c9c630f6f71e#adb8c1c22a42a7e67389b7428d01c9c630f6f71e" dependencies = [ "craft-eps", "flate2", @@ -1953,7 +1953,7 @@ dependencies = [ [[package]] name = "craft-psd" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=965c7beeb6076480e016e448bddddcce0a738ff6#965c7beeb6076480e016e448bddddcce0a738ff6" +source = "git+https://github.com/storytold/craft-libs?rev=adb8c1c22a42a7e67389b7428d01c9c630f6f71e#adb8c1c22a42a7e67389b7428d01c9c630f6f71e" dependencies = [ "encoding_rs", "flate2", @@ -1964,7 +1964,7 @@ dependencies = [ [[package]] name = "craft-quit" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=965c7beeb6076480e016e448bddddcce0a738ff6#965c7beeb6076480e016e448bddddcce0a738ff6" +source = "git+https://github.com/storytold/craft-libs?rev=adb8c1c22a42a7e67389b7428d01c9c630f6f71e#adb8c1c22a42a7e67389b7428d01c9c630f6f71e" dependencies = [ "dispatch2", "egui", @@ -1977,7 +1977,7 @@ dependencies = [ [[package]] name = "craft-review" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=965c7beeb6076480e016e448bddddcce0a738ff6#965c7beeb6076480e016e448bddddcce0a738ff6" +source = "git+https://github.com/storytold/craft-libs?rev=adb8c1c22a42a7e67389b7428d01c9c630f6f71e#adb8c1c22a42a7e67389b7428d01c9c630f6f71e" dependencies = [ "base64 0.23.1", "craft-behavior", @@ -1996,7 +1996,7 @@ dependencies = [ [[package]] name = "craft-settings" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=965c7beeb6076480e016e448bddddcce0a738ff6#965c7beeb6076480e016e448bddddcce0a738ff6" +source = "git+https://github.com/storytold/craft-libs?rev=adb8c1c22a42a7e67389b7428d01c9c630f6f71e#adb8c1c22a42a7e67389b7428d01c9c630f6f71e" dependencies = [ "craft-atomic", "craft-host", @@ -2013,7 +2013,7 @@ dependencies = [ [[package]] name = "craft-stream-codecs" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=965c7beeb6076480e016e448bddddcce0a738ff6#965c7beeb6076480e016e448bddddcce0a738ff6" +source = "git+https://github.com/storytold/craft-libs?rev=adb8c1c22a42a7e67389b7428d01c9c630f6f71e#adb8c1c22a42a7e67389b7428d01c9c630f6f71e" dependencies = [ "fax", "hayro-ccitt", @@ -2024,7 +2024,7 @@ dependencies = [ [[package]] name = "craft-svg" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=965c7beeb6076480e016e448bddddcce0a738ff6#965c7beeb6076480e016e448bddddcce0a738ff6" +source = "git+https://github.com/storytold/craft-libs?rev=adb8c1c22a42a7e67389b7428d01c9c630f6f71e#adb8c1c22a42a7e67389b7428d01c9c630f6f71e" dependencies = [ "craft-image-codecs", "craft-xml", @@ -2045,7 +2045,7 @@ dependencies = [ [[package]] name = "craft-table" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=965c7beeb6076480e016e448bddddcce0a738ff6#965c7beeb6076480e016e448bddddcce0a738ff6" +source = "git+https://github.com/storytold/craft-libs?rev=adb8c1c22a42a7e67389b7428d01c9c630f6f71e#adb8c1c22a42a7e67389b7428d01c9c630f6f71e" dependencies = [ "craft-behavior", "craft-keymap", @@ -2057,7 +2057,7 @@ dependencies = [ [[package]] name = "craft-text" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=965c7beeb6076480e016e448bddddcce0a738ff6#965c7beeb6076480e016e448bddddcce0a738ff6" +source = "git+https://github.com/storytold/craft-libs?rev=adb8c1c22a42a7e67389b7428d01c9c630f6f71e#adb8c1c22a42a7e67389b7428d01c9c630f6f71e" dependencies = [ "craft-behavior", "craft-font-manager", @@ -2082,7 +2082,7 @@ dependencies = [ [[package]] name = "craft-theme" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=965c7beeb6076480e016e448bddddcce0a738ff6#965c7beeb6076480e016e448bddddcce0a738ff6" +source = "git+https://github.com/storytold/craft-libs?rev=adb8c1c22a42a7e67389b7428d01c9c630f6f71e#adb8c1c22a42a7e67389b7428d01c9c630f6f71e" dependencies = [ "bitflags 2.13.2", "craft-tracked", @@ -2097,7 +2097,7 @@ dependencies = [ [[package]] name = "craft-theme-store" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=965c7beeb6076480e016e448bddddcce0a738ff6#965c7beeb6076480e016e448bddddcce0a738ff6" +source = "git+https://github.com/storytold/craft-libs?rev=adb8c1c22a42a7e67389b7428d01c9c630f6f71e#adb8c1c22a42a7e67389b7428d01c9c630f6f71e" dependencies = [ "craft-atomic", "craft-behavior", @@ -2112,7 +2112,7 @@ dependencies = [ [[package]] name = "craft-tiff" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=965c7beeb6076480e016e448bddddcce0a738ff6#965c7beeb6076480e016e448bddddcce0a738ff6" +source = "git+https://github.com/storytold/craft-libs?rev=adb8c1c22a42a7e67389b7428d01c9c630f6f71e#adb8c1c22a42a7e67389b7428d01c9c630f6f71e" dependencies = [ "serde", "thiserror 2.0.21", @@ -2122,7 +2122,7 @@ dependencies = [ [[package]] name = "craft-time" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=965c7beeb6076480e016e448bddddcce0a738ff6#965c7beeb6076480e016e448bddddcce0a738ff6" +source = "git+https://github.com/storytold/craft-libs?rev=adb8c1c22a42a7e67389b7428d01c9c630f6f71e#adb8c1c22a42a7e67389b7428d01c9c630f6f71e" dependencies = [ "serde", "thiserror 2.0.21", @@ -2131,7 +2131,7 @@ dependencies = [ [[package]] name = "craft-timeline" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=965c7beeb6076480e016e448bddddcce0a738ff6#965c7beeb6076480e016e448bddddcce0a738ff6" +source = "git+https://github.com/storytold/craft-libs?rev=adb8c1c22a42a7e67389b7428d01c9c630f6f71e#adb8c1c22a42a7e67389b7428d01c9c630f6f71e" dependencies = [ "craft-behavior", "craft-keymap", @@ -2146,12 +2146,12 @@ dependencies = [ [[package]] name = "craft-tracked" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=965c7beeb6076480e016e448bddddcce0a738ff6#965c7beeb6076480e016e448bddddcce0a738ff6" +source = "git+https://github.com/storytold/craft-libs?rev=adb8c1c22a42a7e67389b7428d01c9c630f6f71e#adb8c1c22a42a7e67389b7428d01c9c630f6f71e" [[package]] name = "craft-ui" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=965c7beeb6076480e016e448bddddcce0a738ff6#965c7beeb6076480e016e448bddddcce0a738ff6" +source = "git+https://github.com/storytold/craft-libs?rev=adb8c1c22a42a7e67389b7428d01c9c630f6f71e#adb8c1c22a42a7e67389b7428d01c9c630f6f71e" dependencies = [ "craft-cloud-ui", "craft-ui-canvas", @@ -2165,7 +2165,7 @@ dependencies = [ [[package]] name = "craft-ui-canvas" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=965c7beeb6076480e016e448bddddcce0a738ff6#965c7beeb6076480e016e448bddddcce0a738ff6" +source = "git+https://github.com/storytold/craft-libs?rev=adb8c1c22a42a7e67389b7428d01c9c630f6f71e#adb8c1c22a42a7e67389b7428d01c9c630f6f71e" dependencies = [ "craft-behavior", "craft-font-catalog", @@ -2182,7 +2182,7 @@ dependencies = [ [[package]] name = "craft-ui-contract" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=965c7beeb6076480e016e448bddddcce0a738ff6#965c7beeb6076480e016e448bddddcce0a738ff6" +source = "git+https://github.com/storytold/craft-libs?rev=adb8c1c22a42a7e67389b7428d01c9c630f6f71e#adb8c1c22a42a7e67389b7428d01c9c630f6f71e" dependencies = [ "accesskit", "craft-behavior", @@ -2220,7 +2220,7 @@ dependencies = [ [[package]] name = "craft-ui-macros" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=965c7beeb6076480e016e448bddddcce0a738ff6#965c7beeb6076480e016e448bddddcce0a738ff6" +source = "git+https://github.com/storytold/craft-libs?rev=adb8c1c22a42a7e67389b7428d01c9c630f6f71e#adb8c1c22a42a7e67389b7428d01c9c630f6f71e" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2231,7 +2231,7 @@ dependencies = [ [[package]] name = "craft-ui-panels" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=965c7beeb6076480e016e448bddddcce0a738ff6#965c7beeb6076480e016e448bddddcce0a738ff6" +source = "git+https://github.com/storytold/craft-libs?rev=adb8c1c22a42a7e67389b7428d01c9c630f6f71e#adb8c1c22a42a7e67389b7428d01c9c630f6f71e" dependencies = [ "craft-behavior", "craft-host", @@ -2249,7 +2249,7 @@ dependencies = [ [[package]] name = "craft-ui-patterns" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=965c7beeb6076480e016e448bddddcce0a738ff6#965c7beeb6076480e016e448bddddcce0a738ff6" +source = "git+https://github.com/storytold/craft-libs?rev=adb8c1c22a42a7e67389b7428d01c9c630f6f71e#adb8c1c22a42a7e67389b7428d01c9c630f6f71e" dependencies = [ "craft-behavior", "craft-host", @@ -2270,7 +2270,7 @@ dependencies = [ [[package]] name = "craft-ui-shell" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=965c7beeb6076480e016e448bddddcce0a738ff6#965c7beeb6076480e016e448bddddcce0a738ff6" +source = "git+https://github.com/storytold/craft-libs?rev=adb8c1c22a42a7e67389b7428d01c9c630f6f71e#adb8c1c22a42a7e67389b7428d01c9c630f6f71e" dependencies = [ "craft-behavior", "craft-host", @@ -2291,7 +2291,7 @@ dependencies = [ [[package]] name = "craft-ui-widgets" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=965c7beeb6076480e016e448bddddcce0a738ff6#965c7beeb6076480e016e448bddddcce0a738ff6" +source = "git+https://github.com/storytold/craft-libs?rev=adb8c1c22a42a7e67389b7428d01c9c630f6f71e#adb8c1c22a42a7e67389b7428d01c9c630f6f71e" dependencies = [ "craft-behavior", "craft-host", @@ -2310,7 +2310,7 @@ dependencies = [ [[package]] name = "craft-update" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=965c7beeb6076480e016e448bddddcce0a738ff6#965c7beeb6076480e016e448bddddcce0a738ff6" +source = "git+https://github.com/storytold/craft-libs?rev=adb8c1c22a42a7e67389b7428d01c9c630f6f71e#adb8c1c22a42a7e67389b7428d01c9c630f6f71e" dependencies = [ "base64 0.22.1", "chrono", @@ -2342,7 +2342,7 @@ dependencies = [ [[package]] name = "craft-vectorcraft-format" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=965c7beeb6076480e016e448bddddcce0a738ff6#965c7beeb6076480e016e448bddddcce0a738ff6" +source = "git+https://github.com/storytold/craft-libs?rev=adb8c1c22a42a7e67389b7428d01c9c630f6f71e#adb8c1c22a42a7e67389b7428d01c9c630f6f71e" dependencies = [ "flate2", "serde", @@ -2353,7 +2353,7 @@ dependencies = [ [[package]] name = "craft-wayland" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=965c7beeb6076480e016e448bddddcce0a738ff6#965c7beeb6076480e016e448bddddcce0a738ff6" +source = "git+https://github.com/storytold/craft-libs?rev=adb8c1c22a42a7e67389b7428d01c9c630f6f71e#adb8c1c22a42a7e67389b7428d01c9c630f6f71e" dependencies = [ "raw-window-handle", "wayland-backend", @@ -2363,7 +2363,7 @@ dependencies = [ [[package]] name = "craft-web-api" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=965c7beeb6076480e016e448bddddcce0a738ff6#965c7beeb6076480e016e448bddddcce0a738ff6" +source = "git+https://github.com/storytold/craft-libs?rev=adb8c1c22a42a7e67389b7428d01c9c630f6f71e#adb8c1c22a42a7e67389b7428d01c9c630f6f71e" dependencies = [ "js-sys", "serde_json", @@ -2374,7 +2374,7 @@ dependencies = [ [[package]] name = "craft-win32" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=965c7beeb6076480e016e448bddddcce0a738ff6#965c7beeb6076480e016e448bddddcce0a738ff6" +source = "git+https://github.com/storytold/craft-libs?rev=adb8c1c22a42a7e67389b7428d01c9c630f6f71e#adb8c1c22a42a7e67389b7428d01c9c630f6f71e" dependencies = [ "winsafe", ] @@ -2382,7 +2382,7 @@ dependencies = [ [[package]] name = "craft-window" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=965c7beeb6076480e016e448bddddcce0a738ff6#965c7beeb6076480e016e448bddddcce0a738ff6" +source = "git+https://github.com/storytold/craft-libs?rev=adb8c1c22a42a7e67389b7428d01c9c630f6f71e#adb8c1c22a42a7e67389b7428d01c9c630f6f71e" dependencies = [ "craft-appkit", "craft-atomic", @@ -2414,7 +2414,7 @@ dependencies = [ [[package]] name = "craft-xml" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=965c7beeb6076480e016e448bddddcce0a738ff6#965c7beeb6076480e016e448bddddcce0a738ff6" +source = "git+https://github.com/storytold/craft-libs?rev=adb8c1c22a42a7e67389b7428d01c9c630f6f71e#adb8c1c22a42a7e67389b7428d01c9c630f6f71e" dependencies = [ "quick-xml 0.41.0", "serde", @@ -3773,7 +3773,7 @@ checksum = "9f4d0e94ddd48749f06bbe4e5389fb9799a0c45bcaf00495042076ef05e3241a" [[package]] name = "hayro-cmap" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=965c7beeb6076480e016e448bddddcce0a738ff6#965c7beeb6076480e016e448bddddcce0a738ff6" +source = "git+https://github.com/storytold/craft-libs?rev=adb8c1c22a42a7e67389b7428d01c9c630f6f71e#adb8c1c22a42a7e67389b7428d01c9c630f6f71e" dependencies = [ "brotli 8.0.4", "hayro-postscript", @@ -3782,7 +3782,7 @@ dependencies = [ [[package]] name = "hayro-interpret" version = "0.7.0" -source = "git+https://github.com/storytold/craft-libs?rev=965c7beeb6076480e016e448bddddcce0a738ff6#965c7beeb6076480e016e448bddddcce0a738ff6" +source = "git+https://github.com/storytold/craft-libs?rev=adb8c1c22a42a7e67389b7428d01c9c630f6f71e#adb8c1c22a42a7e67389b7428d01c9c630f6f71e" dependencies = [ "bitflags 2.13.2", "hayro-cmap", @@ -3800,7 +3800,7 @@ dependencies = [ [[package]] name = "hayro-jbig2" version = "0.3.0" -source = "git+https://github.com/storytold/craft-libs?rev=965c7beeb6076480e016e448bddddcce0a738ff6#965c7beeb6076480e016e448bddddcce0a738ff6" +source = "git+https://github.com/storytold/craft-libs?rev=adb8c1c22a42a7e67389b7428d01c9c630f6f71e#adb8c1c22a42a7e67389b7428d01c9c630f6f71e" dependencies = [ "fearless_simd", "hayro-ccitt", @@ -3818,12 +3818,12 @@ dependencies = [ [[package]] name = "hayro-postscript" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=965c7beeb6076480e016e448bddddcce0a738ff6#965c7beeb6076480e016e448bddddcce0a738ff6" +source = "git+https://github.com/storytold/craft-libs?rev=adb8c1c22a42a7e67389b7428d01c9c630f6f71e#adb8c1c22a42a7e67389b7428d01c9c630f6f71e" [[package]] name = "hayro-syntax" version = "0.7.2" -source = "git+https://github.com/storytold/craft-libs?rev=965c7beeb6076480e016e448bddddcce0a738ff6#965c7beeb6076480e016e448bddddcce0a738ff6" +source = "git+https://github.com/storytold/craft-libs?rev=adb8c1c22a42a7e67389b7428d01c9c630f6f71e#adb8c1c22a42a7e67389b7428d01c9c630f6f71e" dependencies = [ "flate2", "hayro-ccitt", @@ -4806,7 +4806,7 @@ dependencies = [ [[package]] name = "krilla" version = "0.8.2" -source = "git+https://github.com/storytold/craft-libs?rev=965c7beeb6076480e016e448bddddcce0a738ff6#965c7beeb6076480e016e448bddddcce0a738ff6" +source = "git+https://github.com/storytold/craft-libs?rev=adb8c1c22a42a7e67389b7428d01c9c630f6f71e#adb8c1c22a42a7e67389b7428d01c9c630f6f71e" dependencies = [ "base64 0.22.1", "bumpalo", @@ -4963,7 +4963,7 @@ checksum = "d4a5ff6bcca6c4867b1c4fd4ef63e4db7436ef363e0ad7531d1558856bae64f4" [[package]] name = "linesweeper" version = "0.5.0" -source = "git+https://github.com/storytold/craft-libs?rev=965c7beeb6076480e016e448bddddcce0a738ff6#965c7beeb6076480e016e448bddddcce0a738ff6" +source = "git+https://github.com/storytold/craft-libs?rev=adb8c1c22a42a7e67389b7428d01c9c630f6f71e#adb8c1c22a42a7e67389b7428d01c9c630f6f71e" dependencies = [ "arrayvec", "kurbo 0.13.1", diff --git a/Cargo.toml b/Cargo.toml index fcc2a1ad8f..4db7b20cb5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,51 +10,51 @@ license = "MIT OR Apache-2.0" rust-version = "1.95" [workspace.dependencies] -craft-cms = { git = "https://github.com/storytold/craft-libs", rev = "965c7beeb6076480e016e448bddddcce0a738ff6" } -craft-pdf = { git = "https://github.com/storytold/craft-libs", rev = "965c7beeb6076480e016e448bddddcce0a738ff6", default-features = false, features = ["interpret", "write"] } -craft-docpath = { version = "0.1.0", git = "https://github.com/storytold/craft-libs", rev = "965c7beeb6076480e016e448bddddcce0a738ff6" } -craft-proof = { git = "https://github.com/storytold/craft-libs", rev = "965c7beeb6076480e016e448bddddcce0a738ff6" } +craft-cms = { git = "https://github.com/storytold/craft-libs", rev = "adb8c1c22a42a7e67389b7428d01c9c630f6f71e" } +craft-pdf = { git = "https://github.com/storytold/craft-libs", rev = "adb8c1c22a42a7e67389b7428d01c9c630f6f71e", default-features = false, features = ["interpret", "write"] } +craft-docpath = { version = "0.1.0", git = "https://github.com/storytold/craft-libs", rev = "adb8c1c22a42a7e67389b7428d01c9c630f6f71e" } +craft-proof = { git = "https://github.com/storytold/craft-libs", rev = "adb8c1c22a42a7e67389b7428d01c9c630f6f71e" } # Language packs: the Craft apps' shared font store installs them (#4936). -craft-font-store = { git = "https://github.com/storytold/craft-libs", rev = "965c7beeb6076480e016e448bddddcce0a738ff6" } -craft-font-catalog = { git = "https://github.com/storytold/craft-libs", rev = "965c7beeb6076480e016e448bddddcce0a738ff6" } +craft-font-store = { git = "https://github.com/storytold/craft-libs", rev = "adb8c1c22a42a7e67389b7428d01c9c630f6f71e" } +craft-font-catalog = { git = "https://github.com/storytold/craft-libs", rev = "adb8c1c22a42a7e67389b7428d01c9c630f6f71e" } # 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 = "965c7beeb6076480e016e448bddddcce0a738ff6" } -craft-gzip = { git = "https://github.com/storytold/craft-libs", rev = "965c7beeb6076480e016e448bddddcce0a738ff6" } +craft-vectorcraft-format = { git = "https://github.com/storytold/craft-libs", rev = "adb8c1c22a42a7e67389b7428d01c9c630f6f71e" } +craft-gzip = { git = "https://github.com/storytold/craft-libs", rev = "adb8c1c22a42a7e67389b7428d01c9c630f6f71e" } # `.pcraft` documents: their manifest, full-size composite, preview, layer pixels and ICC profile. -craft-doc = { git = "https://github.com/storytold/craft-libs", rev = "965c7beeb6076480e016e448bddddcce0a738ff6", features = ["pcraft-pixels"] } +craft-doc = { git = "https://github.com/storytold/craft-libs", rev = "adb8c1c22a42a7e67389b7428d01c9c630f6f71e", features = ["pcraft-pixels"] } # Native Affinity documents (craft-libs#914). -craft-affinity = { git = "https://github.com/storytold/craft-libs", rev = "965c7beeb6076480e016e448bddddcce0a738ff6" } +craft-affinity = { git = "https://github.com/storytold/craft-libs", rev = "adb8c1c22a42a7e67389b7428d01c9c630f6f71e" } # Bounded CDR (v1-v27) and CMX (32-bit) reader (craft-libs#778). -craft-cdr = { git = "https://github.com/storytold/craft-libs", rev = "965c7beeb6076480e016e448bddddcce0a738ff6" } +craft-cdr = { git = "https://github.com/storytold/craft-libs", rev = "adb8c1c22a42a7e67389b7428d01c9c630f6f71e" } # SVG parsing, limits, SVGZ and writer (craft-libs#778). -craft-svg = { git = "https://github.com/storytold/craft-libs", rev = "965c7beeb6076480e016e448bddddcce0a738ff6", features = ["tree"] } -craft-mime = { git = "https://github.com/storytold/craft-libs", rev = "965c7beeb6076480e016e448bddddcce0a738ff6" } +craft-svg = { git = "https://github.com/storytold/craft-libs", rev = "adb8c1c22a42a7e67389b7428d01c9c630f6f71e", features = ["tree"] } +craft-mime = { git = "https://github.com/storytold/craft-libs", rev = "adb8c1c22a42a7e67389b7428d01c9c630f6f71e" } # EPS container, previews, ASCII85 and DSC comments (craft-libs#778). -craft-eps = { git = "https://github.com/storytold/craft-libs", rev = "965c7beeb6076480e016e448bddddcce0a738ff6" } +craft-eps = { git = "https://github.com/storytold/craft-libs", rev = "adb8c1c22a42a7e67389b7428d01c9c630f6f71e" } # DXF tags, reader and writer (craft-libs#778, #926, #927). -craft-plotter = { git = "https://github.com/storytold/craft-libs", rev = "965c7beeb6076480e016e448bddddcce0a738ff6" } -craft-dxf = { git = "https://github.com/storytold/craft-libs", rev = "965c7beeb6076480e016e448bddddcce0a738ff6" } +craft-plotter = { git = "https://github.com/storytold/craft-libs", rev = "adb8c1c22a42a7e67389b7428d01c9c630f6f71e" } +craft-dxf = { git = "https://github.com/storytold/craft-libs", rev = "adb8c1c22a42a7e67389b7428d01c9c630f6f71e" } # WMF, EMF and EMF+ reader (craft-libs#778). -craft-metafile = { git = "https://github.com/storytold/craft-libs", rev = "965c7beeb6076480e016e448bddddcce0a738ff6" } -craft-xml = { git = "https://github.com/storytold/craft-libs", rev = "965c7beeb6076480e016e448bddddcce0a738ff6" } -craft-image-codecs = { git = "https://github.com/storytold/craft-libs", rev = "965c7beeb6076480e016e448bddddcce0a738ff6" } -craft-gif = { git = "https://github.com/storytold/craft-libs", rev = "965c7beeb6076480e016e448bddddcce0a738ff6" } -craft-tiff = { git = "https://github.com/storytold/craft-libs", rev = "965c7beeb6076480e016e448bddddcce0a738ff6" } -craft-ps = { git = "https://github.com/storytold/craft-libs", rev = "965c7beeb6076480e016e448bddddcce0a738ff6", default-features = false, features = ["read", "write"] } -craft-psd = { git = "https://github.com/storytold/craft-libs", rev = "965c7beeb6076480e016e448bddddcce0a738ff6" } -craft-stream-codecs = { git = "https://github.com/storytold/craft-libs", rev = "965c7beeb6076480e016e448bddddcce0a738ff6" } -craft-jxl = { git = "https://github.com/storytold/craft-libs", rev = "965c7beeb6076480e016e448bddddcce0a738ff6" } -craft-codepage = { git = "https://github.com/storytold/craft-libs", rev = "965c7beeb6076480e016e448bddddcce0a738ff6" } +craft-metafile = { git = "https://github.com/storytold/craft-libs", rev = "adb8c1c22a42a7e67389b7428d01c9c630f6f71e" } +craft-xml = { git = "https://github.com/storytold/craft-libs", rev = "adb8c1c22a42a7e67389b7428d01c9c630f6f71e" } +craft-image-codecs = { git = "https://github.com/storytold/craft-libs", rev = "adb8c1c22a42a7e67389b7428d01c9c630f6f71e" } +craft-gif = { git = "https://github.com/storytold/craft-libs", rev = "adb8c1c22a42a7e67389b7428d01c9c630f6f71e" } +craft-tiff = { git = "https://github.com/storytold/craft-libs", rev = "adb8c1c22a42a7e67389b7428d01c9c630f6f71e" } +craft-ps = { git = "https://github.com/storytold/craft-libs", rev = "adb8c1c22a42a7e67389b7428d01c9c630f6f71e", default-features = false, features = ["read", "write"] } +craft-psd = { git = "https://github.com/storytold/craft-libs", rev = "adb8c1c22a42a7e67389b7428d01c9c630f6f71e" } +craft-stream-codecs = { git = "https://github.com/storytold/craft-libs", rev = "adb8c1c22a42a7e67389b7428d01c9c630f6f71e" } +craft-jxl = { git = "https://github.com/storytold/craft-libs", rev = "adb8c1c22a42a7e67389b7428d01c9c630f6f71e" } +craft-codepage = { git = "https://github.com/storytold/craft-libs", rev = "adb8c1c22a42a7e67389b7428d01c9c630f6f71e" } # 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 = "965c7beeb6076480e016e448bddddcce0a738ff6" } +craft = { git = "https://github.com/storytold/craft-libs", rev = "adb8c1c22a42a7e67389b7428d01c9c630f6f71e" } # 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 = "965c7beeb6076480e016e448bddddcce0a738ff6" } -craft-theme = { git = "https://github.com/storytold/craft-libs", rev = "965c7beeb6076480e016e448bddddcce0a738ff6" } -craft-fonts-build = { git = "https://github.com/storytold/craft-libs", rev = "965c7beeb6076480e016e448bddddcce0a738ff6" } +craft-color-ui = { git = "https://github.com/storytold/craft-libs", rev = "adb8c1c22a42a7e67389b7428d01c9c630f6f71e" } +craft-theme = { git = "https://github.com/storytold/craft-libs", rev = "adb8c1c22a42a7e67389b7428d01c9c630f6f71e" } +craft-fonts-build = { git = "https://github.com/storytold/craft-libs", rev = "adb8c1c22a42a7e67389b7428d01c9c630f6f71e" } # Nightly profile isolation, launch protocol, and security fence. -craft-nightly = { git = "https://github.com/storytold/craft-libs", rev = "965c7beeb6076480e016e448bddddcce0a738ff6" } +craft-nightly = { git = "https://github.com/storytold/craft-libs", rev = "adb8c1c22a42a7e67389b7428d01c9c630f6f71e" } # internal vectorcraft-geom = { path = "crates/geom" } vectorcraft-color = { path = "crates/color" } @@ -194,13 +194,13 @@ lto = "thin" codegen-units = 1 [patch.crates-io] -hayro-syntax = { git = "https://github.com/storytold/craft-libs", rev = "965c7beeb6076480e016e448bddddcce0a738ff6" } -hayro-interpret = { git = "https://github.com/storytold/craft-libs", rev = "965c7beeb6076480e016e448bddddcce0a738ff6" } -hayro-jbig2 = { git = "https://github.com/storytold/craft-libs", rev = "965c7beeb6076480e016e448bddddcce0a738ff6" } -hayro-cmap = { git = "https://github.com/storytold/craft-libs", rev = "965c7beeb6076480e016e448bddddcce0a738ff6" } -hayro-postscript = { git = "https://github.com/storytold/craft-libs", rev = "965c7beeb6076480e016e448bddddcce0a738ff6" } -krilla = { git = "https://github.com/storytold/craft-libs", rev = "965c7beeb6076480e016e448bddddcce0a738ff6" } -linesweeper = { git = "https://github.com/storytold/craft-libs", rev = "965c7beeb6076480e016e448bddddcce0a738ff6" } +hayro-syntax = { git = "https://github.com/storytold/craft-libs", rev = "adb8c1c22a42a7e67389b7428d01c9c630f6f71e" } +hayro-interpret = { git = "https://github.com/storytold/craft-libs", rev = "adb8c1c22a42a7e67389b7428d01c9c630f6f71e" } +hayro-jbig2 = { git = "https://github.com/storytold/craft-libs", rev = "adb8c1c22a42a7e67389b7428d01c9c630f6f71e" } +hayro-cmap = { git = "https://github.com/storytold/craft-libs", rev = "adb8c1c22a42a7e67389b7428d01c9c630f6f71e" } +hayro-postscript = { git = "https://github.com/storytold/craft-libs", rev = "adb8c1c22a42a7e67389b7428d01c9c630f6f71e" } +krilla = { git = "https://github.com/storytold/craft-libs", rev = "adb8c1c22a42a7e67389b7428d01c9c630f6f71e" } +linesweeper = { git = "https://github.com/storytold/craft-libs", rev = "adb8c1c22a42a7e67389b7428d01c9c630f6f71e" } ecolor = { git = "https://github.com/storytold/egui.git", rev = "07c20531f89717e461c0f387dd1f9649553f9321" } emath = { git = "https://github.com/storytold/egui.git", rev = "07c20531f89717e461c0f387dd1f9649553f9321" } epaint = { git = "https://github.com/storytold/egui.git", rev = "07c20531f89717e461c0f387dd1f9649553f9321" } diff --git a/apps/vectorcraft-web/Cargo.toml b/apps/vectorcraft-web/Cargo.toml index 824600f90a..a4e97babd7 100644 --- a/apps/vectorcraft-web/Cargo.toml +++ b/apps/vectorcraft-web/Cargo.toml @@ -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 = "965c7beeb6076480e016e448bddddcce0a738ff6", version = "0.1.0" } +craft-web-api = { git = "https://github.com/storytold/craft-libs", rev = "adb8c1c22a42a7e67389b7428d01c9c630f6f71e", version = "0.1.0" } wasm-bindgen = "0.2" serde_json = { workspace = true } diff --git a/crates/ui-egui/src/panel_docking/native_tests.rs b/crates/ui-egui/src/panel_docking/native_tests.rs index 3ceb28ad9f..1d69d478cd 100644 --- a/crates/ui-egui/src/panel_docking/native_tests.rs +++ b/crates/ui-egui/src/panel_docking/native_tests.rs @@ -25,6 +25,9 @@ struct Window { hovered: Vec, dropped: Vec, close_requested: bool, + /// Whether the window shows on the desktop: the builder's visibility when it opened, then each + /// `Visible` command. + visible: bool, frames: usize, /// The texts its last frame drew, with their rects in the window. texts: Vec<(String, Rect)>, @@ -72,6 +75,7 @@ impl Host { ViewportCommand::OuterPosition(pos) => window.rect = Rect::from_min_size(*pos, window.rect.size()), ViewportCommand::InnerSize(size) => window.rect = Rect::from_min_size(window.rect.min, *size), ViewportCommand::CancelClose => window.close_requested = false, + ViewportCommand::Visible(visible) => window.visible = *visible, _ => {} } } @@ -91,6 +95,7 @@ impl Host { hovered: Vec::new(), dropped: Vec::new(), close_requested: false, + visible: builder.visible != Some(false), frames: 0, texts: Vec::new(), nodes: Vec::new(), @@ -572,3 +577,22 @@ fn copy_and_cut_in_a_native_window_act_on_the_art_while_another_windows_label_ha assert!(![copied, cut].concat().iter().any(|t| t == LABEL), "{what}: the floating window copied no label text"); } } + +/// A panel or the Tools rail floated out of the dock opens an OS window that shows, in every built-in workspace, +/// including those whose Contextual Task Bar shows over the canvas. +#[test] +fn a_panel_floated_in_any_built_in_workspace_opens_a_shown_window() { + for workspace in crate::workspaces::builtins() { + for panel in ["tools", "properties"] { + let mut h = Harness::new(); + h.app.run("window.workspace", json!({"name": workspace.name})).unwrap(); + h.frames(3); + h.app.run("window.panel.float", json!({"panel": panel, "x": 200, "y": 200})).unwrap(); + h.frames(6); + let viewport = h.viewport(panel); + let host = h.host.borrow(); + let window = host.windows.get(&viewport).expect("the panel opened an OS window"); + assert!(window.visible, "{}: the {panel} window shows", workspace.name); + } + } +} diff --git a/xtask/src/pdf_deps.rs b/xtask/src/pdf_deps.rs index 337ba6325e..f5717712de 100644 --- a/xtask/src/pdf_deps.rs +++ b/xtask/src/pdf_deps.rs @@ -5,7 +5,7 @@ use std::process::Command; use serde_json::Value; -const REV: &str = "965c7beeb6076480e016e448bddddcce0a738ff6"; +const REV: &str = "adb8c1c22a42a7e67389b7428d01c9c630f6f71e"; const PACKAGES: &[(&str, &str, &str)] = &[ ("craft-pdf", "0.1.0", REV), ("krilla", "0.8.2", REV), From 0a9d0ad95091b228f4d30d55077db4aceec932fd Mon Sep 17 00:00:00 2001 From: dotCooCoo Date: Tue, 1 Dec 2026 02:36:05 -0800 Subject: [PATCH 2/2] Tests: hold the font scan in a lister so the menu list test runs on the new craft-libs The craft-libs revision this branch moves to skips any font file that is not a regular file (craft-libs adb8c1c2, font-catalog `Catalog::rescan`), so the scan never opened the named pipe that `the_menu_family_list_now_does_not_wait_for_the_scan` used to hold it. The test's release thread then blocked opening the pipe for writing with no reader, and gate shard 5/6 ran the test for over two hours before the job was canceled. The test now holds the scan in a file lister added by a test-only constructor, `FontDb::with_font_dirs_and_scan_hook`. The lister reports that the scan started and waits until the lookups under test return. A lookup that waits for the scan makes the lister give up after 120 s and the test fails on that record instead of hanging. The test no longer needs `mkfifo`, so it runs on every platform. Its assertions are unchanged. --- crates/text/src/fontdb/db.rs | 14 ++++++++++++ crates/text/src/tests/sysfonts.rs | 38 ++++++++++++++++++------------- 2 files changed, 36 insertions(+), 16 deletions(-) diff --git a/crates/text/src/fontdb/db.rs b/crates/text/src/fontdb/db.rs index f506de34c5..dfc57e6bf8 100644 --- a/crates/text/src/fontdb/db.rs +++ b/crates/text/src/fontdb/db.rs @@ -34,6 +34,20 @@ impl FontDb { Self::new(catalog) } + /// [`FontDb::with_font_dirs`] whose every scan first calls `hook`, for tests that hold a scan + /// part way. + #[cfg(test)] + pub(crate) fn with_font_dirs_and_scan_hook(font_dirs: Vec, hook: impl Fn() + Send + Sync + 'static) -> Self { + let catalog = Catalog::new(FontEnv { os: Os::None, ..FontEnv::default() }).with_font_service(false); + let (folders, files): (Vec, Vec) = font_dirs.into_iter().partition(|p| p.is_dir()); + let catalog = catalog.with_lister(Arc::new(move || { + hook(); + files.clone() + })); + catalog.set_app_dirs(folders); + Self::new(catalog) + } + /// Same scan paths as [`FontDb::global`] (platform lister and font folders), for tests. #[cfg(test)] pub(crate) fn for_system_scan_test() -> Self { diff --git a/crates/text/src/tests/sysfonts.rs b/crates/text/src/tests/sysfonts.rs index 261cc1c54c..3d3776c7f6 100644 --- a/crates/text/src/tests/sysfonts.rs +++ b/crates/text/src/tests/sysfonts.rs @@ -524,30 +524,36 @@ fn a_background_scan_serves_the_first_lookup() { /// for the scan of the installed fonts: a large library would hold the first frame past the /// first-frame watchdog, and the app would never show its window (#5483). Once the scan ends, the /// list has the installed fonts. -#[cfg(unix)] #[test] fn the_menu_family_list_now_does_not_wait_for_the_scan() { let dir = font_dir("held-scan"); - // A named pipe with a font's name: the scan opens it and waits there until something writes. - let pipe = dir.join("Held.ttf"); - assert!(std::process::Command::new("mkfifo").arg(&pipe).status().unwrap().success()); - let db: &'static FontDb = Box::leak(Box::new(FontDb::with_font_dirs(vec![dir]))); + // The scan reports that it has started, then waits in its file lister until the calls below + // have returned and the sender is dropped. Every later scan proceeds with the sender disconnected. + // The gate CI runs has no test timeout, so a list that waited for the scan would hang its shard: + // after 120 s the lister lets the scan go on and records it, and the test fails on that record. + // A passing run never reaches the bound. + const BOUND: std::time::Duration = std::time::Duration::from_secs(120); + let (started, scanning) = std::sync::mpsc::channel::<()>(); + let (returned, waiting) = std::sync::mpsc::channel::<()>(); + let held = std::sync::Mutex::new((started, waiting)); + let gave_up = Arc::new(std::sync::atomic::AtomicBool::new(false)); + let gave_up_in_scan = gave_up.clone(); + let hold = move || { + if let Ok(held) = held.lock() { + let _ = held.0.send(()); + if let Err(std::sync::mpsc::RecvTimeoutError::Timeout) = held.1.recv_timeout(BOUND) { + gave_up_in_scan.store(true, std::sync::atomic::Ordering::SeqCst); + } + } + }; + let db: &'static FontDb = Box::leak(Box::new(FontDb::with_font_dirs_and_scan_hook(vec![dir], hold))); let generation = db.generation(); db.scan_in_background(); - // The scan can't end until the pipe is opened for writing, so a list that waited for it would - // hold the installed fonts. This thread lets the scan go on once the calls return, or after 10 s - // if they are still waiting, so that such a test fails instead of hanging. - let (returned, waiting) = std::sync::mpsc::channel::<()>(); - let release = pipe.clone(); - let guard = std::thread::spawn(move || { - let _ = waiting.recv_timeout(std::time::Duration::from_secs(10)); - // The pipe is opened and closed with nothing written. - drop(std::fs::OpenOptions::new().write(true).open(&release).unwrap()); - }); + scanning.recv_timeout(BOUND).expect("the background scan started"); let ready = db.installed_fonts_ready(); let listed = db.menu_family_list_now(); drop(returned); - guard.join().unwrap(); + assert!(!gave_up.load(std::sync::atomic::Ordering::SeqCst), "the list waited for the held scan"); assert!(!ready && !has(&listed, FAMILY), "before the scan ends, only the fonts already loaded"); // Waits for the scan. assert!(has(&db.menu_family_list(), FAMILY));