From 7db0dd052bdd8c37eb0d733e0397453c91475c77 Mon Sep 17 00:00:00 2001 From: David Mann Date: Sun, 29 Nov 2026 14:15:34 +0100 Subject: [PATCH 1/5] Pin craft-libs at storytold/craft-libs#4263's merge commit 955c64f1 The Keyboard Shortcuts dialog can offer one Undo button that steps only the last change and turns into Redo (Options::undo = UndoButtons::Toggle), which Edit > Keyboard Shortcuts needs for #14314. The two crates pinned on their own (craft-pcraft-tip, craft-ipp) keep their revision. --- Cargo.lock | 191 +++++++++++++++++++++++++++-------------------------- Cargo.toml | 82 +++++++++++------------ 2 files changed, 137 insertions(+), 136 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index eac136adde..b58c9b2944 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1365,7 +1365,7 @@ dependencies = [ [[package]] name = "craft" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=955c64f11948721da5766f5ca7eb99c463a2414a#955c64f11948721da5766f5ca7eb99c463a2414a" dependencies = [ "craft-automation", "craft-behavior", @@ -1406,7 +1406,7 @@ dependencies = [ [[package]] name = "craft-affinity" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=955c64f11948721da5766f5ca7eb99c463a2414a#955c64f11948721da5766f5ca7eb99c463a2414a" dependencies = [ "crc32fast", "flate2", @@ -1427,7 +1427,7 @@ dependencies = [ [[package]] name = "craft-appkit" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=955c64f11948721da5766f5ca7eb99c463a2414a#955c64f11948721da5766f5ca7eb99c463a2414a" dependencies = [ "block2 0.6.2", "objc2 0.6.5", @@ -1438,7 +1438,7 @@ dependencies = [ [[package]] name = "craft-atomic" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=955c64f11948721da5766f5ca7eb99c463a2414a#955c64f11948721da5766f5ca7eb99c463a2414a" dependencies = [ "rustix 1.1.6", ] @@ -1446,7 +1446,7 @@ dependencies = [ [[package]] name = "craft-automation" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=955c64f11948721da5766f5ca7eb99c463a2414a#955c64f11948721da5766f5ca7eb99c463a2414a" dependencies = [ "base64 0.23.1", "craft-behavior", @@ -1471,7 +1471,7 @@ dependencies = [ [[package]] name = "craft-behavior" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=955c64f11948721da5766f5ca7eb99c463a2414a#955c64f11948721da5766f5ca7eb99c463a2414a" dependencies = [ "accesskit", "bitflags 2.13.2", @@ -1489,7 +1489,7 @@ dependencies = [ [[package]] name = "craft-browse" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=955c64f11948721da5766f5ca7eb99c463a2414a#955c64f11948721da5766f5ca7eb99c463a2414a" dependencies = [ "craft-behavior", "craft-docpath", @@ -1507,7 +1507,7 @@ dependencies = [ [[package]] name = "craft-cloud-ui" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=955c64f11948721da5766f5ca7eb99c463a2414a#955c64f11948721da5766f5ca7eb99c463a2414a" dependencies = [ "egui", ] @@ -1515,7 +1515,7 @@ dependencies = [ [[package]] name = "craft-cms" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=955c64f11948721da5766f5ca7eb99c463a2414a#955c64f11948721da5766f5ca7eb99c463a2414a" dependencies = [ "md-5", "rayon", @@ -1524,12 +1524,12 @@ dependencies = [ [[package]] name = "craft-codepage" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=955c64f11948721da5766f5ca7eb99c463a2414a#955c64f11948721da5766f5ca7eb99c463a2414a" [[package]] name = "craft-color" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=955c64f11948721da5766f5ca7eb99c463a2414a#955c64f11948721da5766f5ca7eb99c463a2414a" dependencies = [ "serde", ] @@ -1537,7 +1537,7 @@ dependencies = [ [[package]] name = "craft-color-transform" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=955c64f11948721da5766f5ca7eb99c463a2414a#955c64f11948721da5766f5ca7eb99c463a2414a" dependencies = [ "craft-cms", "craft-color", @@ -1547,7 +1547,7 @@ dependencies = [ [[package]] name = "craft-color-ui" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=955c64f11948721da5766f5ca7eb99c463a2414a#955c64f11948721da5766f5ca7eb99c463a2414a" dependencies = [ "craft-behavior", "craft-cms", @@ -1567,7 +1567,7 @@ dependencies = [ [[package]] name = "craft-control" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=955c64f11948721da5766f5ca7eb99c463a2414a#955c64f11948721da5766f5ca7eb99c463a2414a" dependencies = [ "craft-ai-agents", "craft-atomic", @@ -1583,7 +1583,7 @@ dependencies = [ [[package]] name = "craft-control-protocol" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=955c64f11948721da5766f5ca7eb99c463a2414a#955c64f11948721da5766f5ca7eb99c463a2414a" dependencies = [ "getrandom 0.3.4", "serde_json", @@ -1593,7 +1593,7 @@ dependencies = [ [[package]] name = "craft-crs" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=955c64f11948721da5766f5ca7eb99c463a2414a#955c64f11948721da5766f5ca7eb99c463a2414a" dependencies = [ "craft-metadata", "craft-xml", @@ -1603,7 +1603,7 @@ dependencies = [ [[package]] name = "craft-crw" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=955c64f11948721da5766f5ca7eb99c463a2414a#955c64f11948721da5766f5ca7eb99c463a2414a" dependencies = [ "thiserror 2.0.21", ] @@ -1611,7 +1611,7 @@ dependencies = [ [[package]] name = "craft-dds" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=955c64f11948721da5766f5ca7eb99c463a2414a#955c64f11948721da5766f5ca7eb99c463a2414a" dependencies = [ "rayon", ] @@ -1619,7 +1619,7 @@ dependencies = [ [[package]] name = "craft-develop" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=955c64f11948721da5766f5ca7eb99c463a2414a#955c64f11948721da5766f5ca7eb99c463a2414a" dependencies = [ "craft-color", "craft-color-transform", @@ -1634,7 +1634,7 @@ dependencies = [ [[package]] name = "craft-develop-model" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=955c64f11948721da5766f5ca7eb99c463a2414a#955c64f11948721da5766f5ca7eb99c463a2414a" dependencies = [ "craft-geom", "craft-metadata", @@ -1646,7 +1646,7 @@ dependencies = [ [[package]] name = "craft-dialogs" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=955c64f11948721da5766f5ca7eb99c463a2414a#955c64f11948721da5766f5ca7eb99c463a2414a" dependencies = [ "block2 0.6.2", "craft-appkit", @@ -1672,7 +1672,7 @@ dependencies = [ [[package]] name = "craft-docpath" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=955c64f11948721da5766f5ca7eb99c463a2414a#955c64f11948721da5766f5ca7eb99c463a2414a" dependencies = [ "serde", ] @@ -1680,7 +1680,7 @@ dependencies = [ [[package]] name = "craft-draw" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=955c64f11948721da5766f5ca7eb99c463a2414a#955c64f11948721da5766f5ca7eb99c463a2414a" dependencies = [ "craft-behavior", "craft-color-ui", @@ -1699,12 +1699,12 @@ dependencies = [ [[package]] name = "craft-eps" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=955c64f11948721da5766f5ca7eb99c463a2414a#955c64f11948721da5766f5ca7eb99c463a2414a" [[package]] name = "craft-file-formats" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=955c64f11948721da5766f5ca7eb99c463a2414a#955c64f11948721da5766f5ca7eb99c463a2414a" dependencies = [ "craft-eps", "craft-idml", @@ -1722,7 +1722,7 @@ dependencies = [ [[package]] name = "craft-flags" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=955c64f11948721da5766f5ca7eb99c463a2414a#955c64f11948721da5766f5ca7eb99c463a2414a" dependencies = [ "craft-atomic", "dirs", @@ -1732,7 +1732,7 @@ dependencies = [ [[package]] name = "craft-font-catalog" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=955c64f11948721da5766f5ca7eb99c463a2414a#955c64f11948721da5766f5ca7eb99c463a2414a" dependencies = [ "fontique", "harfrust 0.13.3", @@ -1747,7 +1747,7 @@ dependencies = [ [[package]] name = "craft-font-manager" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=955c64f11948721da5766f5ca7eb99c463a2414a#955c64f11948721da5766f5ca7eb99c463a2414a" dependencies = [ "craft-behavior", "craft-font-catalog", @@ -1767,7 +1767,7 @@ dependencies = [ [[package]] name = "craft-font-os-windows" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=955c64f11948721da5766f5ca7eb99c463a2414a#955c64f11948721da5766f5ca7eb99c463a2414a" dependencies = [ "windows-registry", "windows-sys 0.61.2", @@ -1776,7 +1776,7 @@ dependencies = [ [[package]] name = "craft-font-store" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=955c64f11948721da5766f5ca7eb99c463a2414a#955c64f11948721da5766f5ca7eb99c463a2414a" dependencies = [ "cap-primitives", "craft-atomic", @@ -1799,12 +1799,12 @@ dependencies = [ [[package]] name = "craft-fonts-build" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=955c64f11948721da5766f5ca7eb99c463a2414a#955c64f11948721da5766f5ca7eb99c463a2414a" [[package]] name = "craft-geom" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=955c64f11948721da5766f5ca7eb99c463a2414a#955c64f11948721da5766f5ca7eb99c463a2414a" dependencies = [ "serde", ] @@ -1812,7 +1812,7 @@ dependencies = [ [[package]] name = "craft-heif" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=955c64f11948721da5766f5ca7eb99c463a2414a#955c64f11948721da5766f5ca7eb99c463a2414a" dependencies = [ "heic-rs", "rayon", @@ -1821,7 +1821,7 @@ dependencies = [ [[package]] name = "craft-host" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=955c64f11948721da5766f5ca7eb99c463a2414a#955c64f11948721da5766f5ca7eb99c463a2414a" dependencies = [ "bitflags 2.13.2", "craft-i18n", @@ -1834,7 +1834,7 @@ dependencies = [ [[package]] name = "craft-i18n" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=955c64f11948721da5766f5ca7eb99c463a2414a#955c64f11948721da5766f5ca7eb99c463a2414a" dependencies = [ "chrono", "fixed_decimal", @@ -1862,7 +1862,7 @@ dependencies = [ [[package]] name = "craft-idml" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=955c64f11948721da5766f5ca7eb99c463a2414a#955c64f11948721da5766f5ca7eb99c463a2414a" dependencies = [ "craft-xml", "craft-zip", @@ -1872,7 +1872,7 @@ dependencies = [ [[package]] name = "craft-image-codecs" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=955c64f11948721da5766f5ca7eb99c463a2414a#955c64f11948721da5766f5ca7eb99c463a2414a" dependencies = [ "craft-dds", "craft-heif", @@ -1900,7 +1900,7 @@ dependencies = [ [[package]] name = "craft-imaging" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=955c64f11948721da5766f5ca7eb99c463a2414a#955c64f11948721da5766f5ca7eb99c463a2414a" dependencies = [ "craft-behavior", "craft-color-ui", @@ -1923,7 +1923,7 @@ source = "git+https://github.com/storytold/craft-libs?rev=3eb5b528b08211844bc5c9 [[package]] name = "craft-jpeg" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=955c64f11948721da5766f5ca7eb99c463a2414a#955c64f11948721da5766f5ca7eb99c463a2414a" dependencies = [ "thiserror 2.0.21", ] @@ -1931,7 +1931,7 @@ dependencies = [ [[package]] name = "craft-keymap" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=955c64f11948721da5766f5ca7eb99c463a2414a#955c64f11948721da5766f5ca7eb99c463a2414a" dependencies = [ "craft-host", "craft-i18n", @@ -1946,7 +1946,7 @@ dependencies = [ [[package]] name = "craft-kra" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=955c64f11948721da5766f5ca7eb99c463a2414a#955c64f11948721da5766f5ca7eb99c463a2414a" dependencies = [ "craft-xml", "craft-zip", @@ -1956,7 +1956,7 @@ dependencies = [ [[package]] name = "craft-layers" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=955c64f11948721da5766f5ca7eb99c463a2414a#955c64f11948721da5766f5ca7eb99c463a2414a" dependencies = [ "craft-behavior", "craft-i18n", @@ -1970,7 +1970,7 @@ dependencies = [ [[package]] name = "craft-menu" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=955c64f11948721da5766f5ca7eb99c463a2414a#955c64f11948721da5766f5ca7eb99c463a2414a" dependencies = [ "craft-behavior", "craft-host", @@ -1988,7 +1988,7 @@ dependencies = [ [[package]] name = "craft-metadata" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=955c64f11948721da5766f5ca7eb99c463a2414a#955c64f11948721da5766f5ca7eb99c463a2414a" dependencies = [ "brotli-decompressor 6.3.2", "chrono", @@ -2000,7 +2000,7 @@ dependencies = [ [[package]] name = "craft-ora" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=955c64f11948721da5766f5ca7eb99c463a2414a#955c64f11948721da5766f5ca7eb99c463a2414a" dependencies = [ "craft-xml", "craft-zip", @@ -2010,7 +2010,7 @@ dependencies = [ [[package]] name = "craft-pages" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=955c64f11948721da5766f5ca7eb99c463a2414a#955c64f11948721da5766f5ca7eb99c463a2414a" dependencies = [ "craft-behavior", "craft-keymap", @@ -2026,11 +2026,11 @@ dependencies = [ [[package]] name = "craft-pcraft-bundle" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=955c64f11948721da5766f5ca7eb99c463a2414a#955c64f11948721da5766f5ca7eb99c463a2414a" dependencies = [ "blake3", "craft-atomic", - "craft-pcraft-format 0.1.0 (git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d)", + "craft-pcraft-format 0.1.0 (git+https://github.com/storytold/craft-libs?rev=955c64f11948721da5766f5ca7eb99c463a2414a)", "craft-zip", "ruzstd", "thiserror 2.0.21", @@ -2050,7 +2050,7 @@ dependencies = [ [[package]] name = "craft-pcraft-format" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=955c64f11948721da5766f5ca7eb99c463a2414a#955c64f11948721da5766f5ca7eb99c463a2414a" dependencies = [ "flate2", "serde", @@ -2061,7 +2061,7 @@ dependencies = [ [[package]] name = "craft-pdf" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=955c64f11948721da5766f5ca7eb99c463a2414a#955c64f11948721da5766f5ca7eb99c463a2414a" dependencies = [ "bytemuck", "flate2", @@ -2076,7 +2076,7 @@ dependencies = [ [[package]] name = "craft-pdn" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=955c64f11948721da5766f5ca7eb99c463a2414a#955c64f11948721da5766f5ca7eb99c463a2414a" dependencies = [ "flate2", "thiserror 2.0.21", @@ -2085,7 +2085,7 @@ dependencies = [ [[package]] name = "craft-platform" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=955c64f11948721da5766f5ca7eb99c463a2414a#955c64f11948721da5766f5ca7eb99c463a2414a" dependencies = [ "async-channel", "async-io", @@ -2116,7 +2116,7 @@ dependencies = [ [[package]] name = "craft-plist" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=955c64f11948721da5766f5ca7eb99c463a2414a#955c64f11948721da5766f5ca7eb99c463a2414a" dependencies = [ "thiserror 2.0.21", ] @@ -2124,7 +2124,7 @@ dependencies = [ [[package]] name = "craft-print" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=955c64f11948721da5766f5ca7eb99c463a2414a#955c64f11948721da5766f5ca7eb99c463a2414a" dependencies = [ "craft-behavior", "craft-host", @@ -2148,7 +2148,7 @@ dependencies = [ [[package]] name = "craft-psd" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=955c64f11948721da5766f5ca7eb99c463a2414a#955c64f11948721da5766f5ca7eb99c463a2414a" dependencies = [ "encoding_rs", "flate2", @@ -2159,7 +2159,7 @@ dependencies = [ [[package]] name = "craft-quit" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=955c64f11948721da5766f5ca7eb99c463a2414a#955c64f11948721da5766f5ca7eb99c463a2414a" dependencies = [ "dispatch2", "egui", @@ -2172,7 +2172,7 @@ dependencies = [ [[package]] name = "craft-raw" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=955c64f11948721da5766f5ca7eb99c463a2414a#955c64f11948721da5766f5ca7eb99c463a2414a" dependencies = [ "chrono", "craft-crw", @@ -2190,7 +2190,7 @@ dependencies = [ [[package]] name = "craft-review" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=955c64f11948721da5766f5ca7eb99c463a2414a#955c64f11948721da5766f5ca7eb99c463a2414a" dependencies = [ "base64 0.23.1", "craft-behavior", @@ -2209,7 +2209,7 @@ dependencies = [ [[package]] name = "craft-settings" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=955c64f11948721da5766f5ca7eb99c463a2414a#955c64f11948721da5766f5ca7eb99c463a2414a" dependencies = [ "craft-atomic", "craft-host", @@ -2226,7 +2226,7 @@ dependencies = [ [[package]] name = "craft-svg" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=955c64f11948721da5766f5ca7eb99c463a2414a#955c64f11948721da5766f5ca7eb99c463a2414a" dependencies = [ "craft-image-codecs", "craft-xml", @@ -2247,7 +2247,7 @@ dependencies = [ [[package]] name = "craft-table" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=955c64f11948721da5766f5ca7eb99c463a2414a#955c64f11948721da5766f5ca7eb99c463a2414a" dependencies = [ "craft-behavior", "craft-keymap", @@ -2259,15 +2259,16 @@ dependencies = [ [[package]] name = "craft-testkit" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=955c64f11948721da5766f5ca7eb99c463a2414a#955c64f11948721da5766f5ca7eb99c463a2414a" dependencies = [ "rustix 1.1.6", + "toml", ] [[package]] name = "craft-text" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=955c64f11948721da5766f5ca7eb99c463a2414a#955c64f11948721da5766f5ca7eb99c463a2414a" dependencies = [ "craft-behavior", "craft-font-manager", @@ -2290,7 +2291,7 @@ dependencies = [ [[package]] name = "craft-theme" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=955c64f11948721da5766f5ca7eb99c463a2414a#955c64f11948721da5766f5ca7eb99c463a2414a" dependencies = [ "bitflags 2.13.2", "craft-tracked", @@ -2305,7 +2306,7 @@ dependencies = [ [[package]] name = "craft-theme-editor" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=955c64f11948721da5766f5ca7eb99c463a2414a#955c64f11948721da5766f5ca7eb99c463a2414a" dependencies = [ "craft-behavior", "craft-theme", @@ -2316,7 +2317,7 @@ dependencies = [ [[package]] name = "craft-theme-store" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=955c64f11948721da5766f5ca7eb99c463a2414a#955c64f11948721da5766f5ca7eb99c463a2414a" dependencies = [ "craft-atomic", "craft-behavior", @@ -2331,7 +2332,7 @@ dependencies = [ [[package]] name = "craft-tiff" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=955c64f11948721da5766f5ca7eb99c463a2414a#955c64f11948721da5766f5ca7eb99c463a2414a" dependencies = [ "serde", "thiserror 2.0.21", @@ -2341,7 +2342,7 @@ dependencies = [ [[package]] name = "craft-time" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=955c64f11948721da5766f5ca7eb99c463a2414a#955c64f11948721da5766f5ca7eb99c463a2414a" dependencies = [ "serde", "thiserror 2.0.21", @@ -2350,7 +2351,7 @@ dependencies = [ [[package]] name = "craft-timeline" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=955c64f11948721da5766f5ca7eb99c463a2414a#955c64f11948721da5766f5ca7eb99c463a2414a" dependencies = [ "craft-behavior", "craft-keymap", @@ -2365,7 +2366,7 @@ dependencies = [ [[package]] name = "craft-tracked" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=955c64f11948721da5766f5ca7eb99c463a2414a#955c64f11948721da5766f5ca7eb99c463a2414a" dependencies = [ "serde", ] @@ -2373,7 +2374,7 @@ dependencies = [ [[package]] name = "craft-ui" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=955c64f11948721da5766f5ca7eb99c463a2414a#955c64f11948721da5766f5ca7eb99c463a2414a" dependencies = [ "craft-cloud-ui", "craft-ui-canvas", @@ -2387,7 +2388,7 @@ dependencies = [ [[package]] name = "craft-ui-canvas" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=955c64f11948721da5766f5ca7eb99c463a2414a#955c64f11948721da5766f5ca7eb99c463a2414a" dependencies = [ "craft-behavior", "craft-i18n", @@ -2403,7 +2404,7 @@ dependencies = [ [[package]] name = "craft-ui-contract" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=955c64f11948721da5766f5ca7eb99c463a2414a#955c64f11948721da5766f5ca7eb99c463a2414a" dependencies = [ "accesskit", "craft-behavior", @@ -2445,7 +2446,7 @@ dependencies = [ [[package]] name = "craft-ui-macros" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=955c64f11948721da5766f5ca7eb99c463a2414a#955c64f11948721da5766f5ca7eb99c463a2414a" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2456,7 +2457,7 @@ dependencies = [ [[package]] name = "craft-ui-panels" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=955c64f11948721da5766f5ca7eb99c463a2414a#955c64f11948721da5766f5ca7eb99c463a2414a" dependencies = [ "craft-behavior", "craft-host", @@ -2474,7 +2475,7 @@ dependencies = [ [[package]] name = "craft-ui-patterns" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=955c64f11948721da5766f5ca7eb99c463a2414a#955c64f11948721da5766f5ca7eb99c463a2414a" dependencies = [ "craft-behavior", "craft-host", @@ -2495,7 +2496,7 @@ dependencies = [ [[package]] name = "craft-ui-shell" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=955c64f11948721da5766f5ca7eb99c463a2414a#955c64f11948721da5766f5ca7eb99c463a2414a" dependencies = [ "craft-behavior", "craft-host", @@ -2515,7 +2516,7 @@ dependencies = [ [[package]] name = "craft-ui-widgets" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=955c64f11948721da5766f5ca7eb99c463a2414a#955c64f11948721da5766f5ca7eb99c463a2414a" dependencies = [ "craft-behavior", "craft-host", @@ -2534,7 +2535,7 @@ dependencies = [ [[package]] name = "craft-update" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=955c64f11948721da5766f5ca7eb99c463a2414a#955c64f11948721da5766f5ca7eb99c463a2414a" dependencies = [ "base64 0.22.1", "chrono", @@ -2566,7 +2567,7 @@ dependencies = [ [[package]] name = "craft-win32" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=955c64f11948721da5766f5ca7eb99c463a2414a#955c64f11948721da5766f5ca7eb99c463a2414a" dependencies = [ "winsafe", ] @@ -2574,7 +2575,7 @@ dependencies = [ [[package]] name = "craft-window" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=955c64f11948721da5766f5ca7eb99c463a2414a#955c64f11948721da5766f5ca7eb99c463a2414a" dependencies = [ "craft-appkit", "craft-atomic", @@ -2606,7 +2607,7 @@ dependencies = [ [[package]] name = "craft-xcf" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=955c64f11948721da5766f5ca7eb99c463a2414a#955c64f11948721da5766f5ca7eb99c463a2414a" dependencies = [ "flate2", "thiserror 2.0.21", @@ -2615,7 +2616,7 @@ dependencies = [ [[package]] name = "craft-xml" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=955c64f11948721da5766f5ca7eb99c463a2414a#955c64f11948721da5766f5ca7eb99c463a2414a" dependencies = [ "quick-xml 0.41.0", "serde", @@ -2625,7 +2626,7 @@ dependencies = [ [[package]] name = "craft-zip" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=955c64f11948721da5766f5ca7eb99c463a2414a#955c64f11948721da5766f5ca7eb99c463a2414a" dependencies = [ "flate2", "thiserror 2.0.21", @@ -4145,7 +4146,7 @@ dependencies = [ [[package]] name = "hayro" version = "0.7.1" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=955c64f11948721da5766f5ca7eb99c463a2414a#955c64f11948721da5766f5ca7eb99c463a2414a" dependencies = [ "bytemuck", "hayro-interpret", @@ -4175,7 +4176,7 @@ dependencies = [ [[package]] name = "hayro-interpret" version = "0.7.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=955c64f11948721da5766f5ca7eb99c463a2414a#955c64f11948721da5766f5ca7eb99c463a2414a" dependencies = [ "bitflags 2.13.2", "hayro-cmap", @@ -4193,7 +4194,7 @@ dependencies = [ [[package]] name = "hayro-jbig2" version = "0.3.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=955c64f11948721da5766f5ca7eb99c463a2414a#955c64f11948721da5766f5ca7eb99c463a2414a" dependencies = [ "fearless_simd", "hayro-ccitt", @@ -4217,7 +4218,7 @@ checksum = "bc2d80da85f31c3fdc0366431f44cfd645a9da1e242ed1f4a61f213d9765660f" [[package]] name = "hayro-syntax" version = "0.7.2" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=955c64f11948721da5766f5ca7eb99c463a2414a#955c64f11948721da5766f5ca7eb99c463a2414a" dependencies = [ "flate2", "hayro-ccitt", @@ -5310,7 +5311,7 @@ checksum = "d4a5ff6bcca6c4867b1c4fd4ef63e4db7436ef363e0ad7531d1558856bae64f4" [[package]] name = "linesweeper" version = "0.5.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=955c64f11948721da5766f5ca7eb99c463a2414a#955c64f11948721da5766f5ca7eb99c463a2414a" dependencies = [ "arrayvec", "kurbo 0.13.1", @@ -6833,7 +6834,7 @@ dependencies = [ "blake3", "craft-image-codecs", "craft-pcraft-bundle", - "craft-pcraft-format 0.1.0 (git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d)", + "craft-pcraft-format 0.1.0 (git+https://github.com/storytold/craft-libs?rev=955c64f11948721da5766f5ca7eb99c463a2414a)", "craft-zip", "crc32fast", "exacl", @@ -9820,7 +9821,7 @@ dependencies = [ [[package]] name = "vello_common" version = "0.0.8" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=955c64f11948721da5766f5ca7eb99c463a2414a#955c64f11948721da5766f5ca7eb99c463a2414a" dependencies = [ "bytemuck", "fearless_simd", @@ -9868,7 +9869,7 @@ dependencies = [ [[package]] name = "vello_cpu" version = "0.0.8" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=955c64f11948721da5766f5ca7eb99c463a2414a#955c64f11948721da5766f5ca7eb99c463a2414a" dependencies = [ "bytemuck", "glifo 0.1.1", @@ -11514,14 +11515,14 @@ source = "git+https://github.com/storytold/egui.git?rev=932a73b28560acb1a6955333 [[patch.unused]] name = "hayro-cmap" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=955c64f11948721da5766f5ca7eb99c463a2414a#955c64f11948721da5766f5ca7eb99c463a2414a" [[patch.unused]] name = "hayro-postscript" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=955c64f11948721da5766f5ca7eb99c463a2414a#955c64f11948721da5766f5ca7eb99c463a2414a" [[patch.unused]] name = "krilla" version = "0.8.2" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=955c64f11948721da5766f5ca7eb99c463a2414a#955c64f11948721da5766f5ca7eb99c463a2414a" diff --git a/Cargo.toml b/Cargo.toml index 61a0b4004b..a01ce6c5cf 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,21 +12,21 @@ rust-version = "1.95" [workspace.dependencies] # The craft framework through its facade (`craft::ui::…`). The egui `[patch]` below must match # `craft::egui_fork::REV` (checked by `cargo xtask ci`). -craft = { git = "https://github.com/storytold/craft-libs", rev = "af4e8181e69dd26d6f3537b881dd78ec466d374d", default-features = false } -craft-tracked = { git = "https://github.com/storytold/craft-libs", rev = "af4e8181e69dd26d6f3537b881dd78ec466d374d" } -craft-ui-macros = { git = "https://github.com/storytold/craft-libs", rev = "af4e8181e69dd26d6f3537b881dd78ec466d374d" } +craft = { git = "https://github.com/storytold/craft-libs", rev = "955c64f11948721da5766f5ca7eb99c463a2414a", default-features = false } +craft-tracked = { git = "https://github.com/storytold/craft-libs", rev = "955c64f11948721da5766f5ca7eb99c463a2414a" } +craft-ui-macros = { git = "https://github.com/storytold/craft-libs", rev = "955c64f11948721da5766f5ca7eb99c463a2414a" } # internal photocraft-geom = { path = "crates/geom" } photocraft-color = { path = "crates/color" } photocraft-raster = { path = "crates/raster" } photocraft-doc = { path = "crates/doc" } photocraft-ops = { path = "crates/ops" } -craft-plist = { git = "https://github.com/storytold/craft-libs", rev = "af4e8181e69dd26d6f3537b881dd78ec466d374d" } -craft-psd = { git = "https://github.com/storytold/craft-libs", rev = "af4e8181e69dd26d6f3537b881dd78ec466d374d" } -photocraft-codecs = { package = "craft-image-codecs", git = "https://github.com/storytold/craft-libs", rev = "af4e8181e69dd26d6f3537b881dd78ec466d374d" } -photocraft-formats = { package = "craft-file-formats", git = "https://github.com/storytold/craft-libs", rev = "af4e8181e69dd26d6f3537b881dd78ec466d374d", features = ["raster-codecs", "pdf", "svg", "ora", "kra", "xcf", "pdn", "raw", "psd", "affinity", "pcraft"] } +craft-plist = { git = "https://github.com/storytold/craft-libs", rev = "955c64f11948721da5766f5ca7eb99c463a2414a" } +craft-psd = { git = "https://github.com/storytold/craft-libs", rev = "955c64f11948721da5766f5ca7eb99c463a2414a" } +photocraft-codecs = { package = "craft-image-codecs", git = "https://github.com/storytold/craft-libs", rev = "955c64f11948721da5766f5ca7eb99c463a2414a" } +photocraft-formats = { package = "craft-file-formats", git = "https://github.com/storytold/craft-libs", rev = "955c64f11948721da5766f5ca7eb99c463a2414a", features = ["raster-codecs", "pdf", "svg", "ora", "kra", "xcf", "pdn", "raw", "psd", "affinity", "pcraft"] } photocraft-raw = { path = "crates/raw" } -craft-affinity = { git = "https://github.com/storytold/craft-libs", rev = "af4e8181e69dd26d6f3537b881dd78ec466d374d" } +craft-affinity = { git = "https://github.com/storytold/craft-libs", rev = "955c64f11948721da5766f5ca7eb99c463a2414a" } photocraft-compose = { path = "crates/compose" } photocraft-gpu = { path = "crates/gpu" } photocraft-paint = { path = "crates/paint" } @@ -48,36 +48,36 @@ photocraft-ipp = { path = "crates/ipp" } # external # ICC colour management: the shared crate (replaces crates/cms; craft-libs#779). -craft-cms = { git = "https://github.com/storytold/craft-libs", rev = "af4e8181e69dd26d6f3537b881dd78ec466d374d" } -craft-print = { git = "https://github.com/storytold/craft-libs", rev = "af4e8181e69dd26d6f3537b881dd78ec466d374d" } +craft-cms = { git = "https://github.com/storytold/craft-libs", rev = "955c64f11948721da5766f5ca7eb99c463a2414a" } +craft-print = { git = "https://github.com/storytold/craft-libs", rev = "955c64f11948721da5766f5ca7eb99c463a2414a" } # HEIC/HEIF: the shared decoder (replaces crates/heif; craft-libs#784). -craft-heif = { git = "https://github.com/storytold/craft-libs", rev = "af4e8181e69dd26d6f3537b881dd78ec466d374d" } -craft-pdf = { git = "https://github.com/storytold/craft-libs", rev = "af4e8181e69dd26d6f3537b881dd78ec466d374d", features = ["raster", "write-raster"] } -craft-xml = { git = "https://github.com/storytold/craft-libs", rev = "af4e8181e69dd26d6f3537b881dd78ec466d374d" } -craft-docpath = { version = "0.1.0", git = "https://github.com/storytold/craft-libs", rev = "af4e8181e69dd26d6f3537b881dd78ec466d374d" } -craft-jpeg = { git = "https://github.com/storytold/craft-libs", rev = "af4e8181e69dd26d6f3537b881dd78ec466d374d" } -craft-pcraft-format = { git = "https://github.com/storytold/craft-libs", rev = "af4e8181e69dd26d6f3537b881dd78ec466d374d" } -craft-pcraft-bundle = { git = "https://github.com/storytold/craft-libs", rev = "af4e8181e69dd26d6f3537b881dd78ec466d374d" } -craft-zip = { git = "https://github.com/storytold/craft-libs", rev = "af4e8181e69dd26d6f3537b881dd78ec466d374d" } -craft-ora = { git = "https://github.com/storytold/craft-libs", rev = "af4e8181e69dd26d6f3537b881dd78ec466d374d" } -craft-kra = { git = "https://github.com/storytold/craft-libs", rev = "af4e8181e69dd26d6f3537b881dd78ec466d374d" } -craft-xcf = { git = "https://github.com/storytold/craft-libs", rev = "af4e8181e69dd26d6f3537b881dd78ec466d374d" } -craft-pdn = { git = "https://github.com/storytold/craft-libs", rev = "af4e8181e69dd26d6f3537b881dd78ec466d374d" } +craft-heif = { git = "https://github.com/storytold/craft-libs", rev = "955c64f11948721da5766f5ca7eb99c463a2414a" } +craft-pdf = { git = "https://github.com/storytold/craft-libs", rev = "955c64f11948721da5766f5ca7eb99c463a2414a", features = ["raster", "write-raster"] } +craft-xml = { git = "https://github.com/storytold/craft-libs", rev = "955c64f11948721da5766f5ca7eb99c463a2414a" } +craft-docpath = { version = "0.1.0", git = "https://github.com/storytold/craft-libs", rev = "955c64f11948721da5766f5ca7eb99c463a2414a" } +craft-jpeg = { git = "https://github.com/storytold/craft-libs", rev = "955c64f11948721da5766f5ca7eb99c463a2414a" } +craft-pcraft-format = { git = "https://github.com/storytold/craft-libs", rev = "955c64f11948721da5766f5ca7eb99c463a2414a" } +craft-pcraft-bundle = { git = "https://github.com/storytold/craft-libs", rev = "955c64f11948721da5766f5ca7eb99c463a2414a" } +craft-zip = { git = "https://github.com/storytold/craft-libs", rev = "955c64f11948721da5766f5ca7eb99c463a2414a" } +craft-ora = { git = "https://github.com/storytold/craft-libs", rev = "955c64f11948721da5766f5ca7eb99c463a2414a" } +craft-kra = { git = "https://github.com/storytold/craft-libs", rev = "955c64f11948721da5766f5ca7eb99c463a2414a" } +craft-xcf = { git = "https://github.com/storytold/craft-libs", rev = "955c64f11948721da5766f5ca7eb99c463a2414a" } +craft-pdn = { git = "https://github.com/storytold/craft-libs", rev = "955c64f11948721da5766f5ca7eb99c463a2414a" } # Keep the shared embedded-image validation API until the framework revision includes it. -craft-svg = { git = "https://github.com/storytold/craft-libs", rev = "af4e8181e69dd26d6f3537b881dd78ec466d374d", features = ["tree-render", "tree-render-system-fonts"] } -craft-raw = { git = "https://github.com/storytold/craft-libs", rev = "af4e8181e69dd26d6f3537b881dd78ec466d374d" } -craft-tiff = { git = "https://github.com/storytold/craft-libs", rev = "af4e8181e69dd26d6f3537b881dd78ec466d374d" } +craft-svg = { git = "https://github.com/storytold/craft-libs", rev = "955c64f11948721da5766f5ca7eb99c463a2414a", features = ["tree-render", "tree-render-system-fonts"] } +craft-raw = { git = "https://github.com/storytold/craft-libs", rev = "955c64f11948721da5766f5ca7eb99c463a2414a" } +craft-tiff = { git = "https://github.com/storytold/craft-libs", rev = "955c64f11948721da5766f5ca7eb99c463a2414a" } # Camera-field EXIF reader/writer, shared prerequisite craft-libs#1563. -craft-metadata = { git = "https://github.com/storytold/craft-libs", rev = "af4e8181e69dd26d6f3537b881dd78ec466d374d" } -craft-crs = { git = "https://github.com/storytold/craft-libs", rev = "af4e8181e69dd26d6f3537b881dd78ec466d374d" } -craft-develop = { git = "https://github.com/storytold/craft-libs", rev = "af4e8181e69dd26d6f3537b881dd78ec466d374d" } -craft-develop-model = { git = "https://github.com/storytold/craft-libs", rev = "af4e8181e69dd26d6f3537b881dd78ec466d374d" } +craft-metadata = { git = "https://github.com/storytold/craft-libs", rev = "955c64f11948721da5766f5ca7eb99c463a2414a" } +craft-crs = { git = "https://github.com/storytold/craft-libs", rev = "955c64f11948721da5766f5ca7eb99c463a2414a" } +craft-develop = { git = "https://github.com/storytold/craft-libs", rev = "955c64f11948721da5766f5ca7eb99c463a2414a" } +craft-develop-model = { git = "https://github.com/storytold/craft-libs", rev = "955c64f11948721da5766f5ca7eb99c463a2414a" } # Interface translations: lookup, fallback, CLDR plurals and language names over the craft-i18n # catalogs that `crates/ui-egui/build.rs` embeds from `CRAFT_I18N_DIR` (storytold/craft-i18n, at # the commit in `craft-i18n.rev`). Already in the tree through craft. -craft-i18n = { git = "https://github.com/storytold/craft-libs", rev = "af4e8181e69dd26d6f3537b881dd78ec466d374d" } +craft-i18n = { git = "https://github.com/storytold/craft-libs", rev = "955c64f11948721da5766f5ca7eb99c463a2414a" } # craft-update: app-specific pretend versions apply to startup and manual checks. -craft-update = { git = "https://github.com/storytold/craft-libs", version = "=0.1.0", rev = "af4e8181e69dd26d6f3537b881dd78ec466d374d", features = ["ui"] } +craft-update = { git = "https://github.com/storytold/craft-libs", version = "=0.1.0", rev = "955c64f11948721da5766f5ca7eb99c463a2414a", features = ["ui"] } thiserror = "2" serde = { version = "1", features = ["derive", "rc"] } serde_json = "1" @@ -350,16 +350,16 @@ opt-level = 3 # Keep the complete egui family and native event bridge on reviewed fork commits. [patch.crates-io] -krilla = { git = "https://github.com/storytold/craft-libs", rev = "af4e8181e69dd26d6f3537b881dd78ec466d374d" } -hayro = { git = "https://github.com/storytold/craft-libs", rev = "af4e8181e69dd26d6f3537b881dd78ec466d374d" } -hayro-interpret = { git = "https://github.com/storytold/craft-libs", rev = "af4e8181e69dd26d6f3537b881dd78ec466d374d" } -hayro-syntax = { git = "https://github.com/storytold/craft-libs", rev = "af4e8181e69dd26d6f3537b881dd78ec466d374d" } -hayro-jbig2 = { git = "https://github.com/storytold/craft-libs", rev = "af4e8181e69dd26d6f3537b881dd78ec466d374d" } -hayro-cmap = { git = "https://github.com/storytold/craft-libs", rev = "af4e8181e69dd26d6f3537b881dd78ec466d374d" } -hayro-postscript = { git = "https://github.com/storytold/craft-libs", rev = "af4e8181e69dd26d6f3537b881dd78ec466d374d" } -linesweeper = { git = "https://github.com/storytold/craft-libs", rev = "af4e8181e69dd26d6f3537b881dd78ec466d374d" } -vello_common = { git = "https://github.com/storytold/craft-libs", rev = "af4e8181e69dd26d6f3537b881dd78ec466d374d" } -vello_cpu = { git = "https://github.com/storytold/craft-libs", rev = "af4e8181e69dd26d6f3537b881dd78ec466d374d" } +krilla = { git = "https://github.com/storytold/craft-libs", rev = "955c64f11948721da5766f5ca7eb99c463a2414a" } +hayro = { git = "https://github.com/storytold/craft-libs", rev = "955c64f11948721da5766f5ca7eb99c463a2414a" } +hayro-interpret = { git = "https://github.com/storytold/craft-libs", rev = "955c64f11948721da5766f5ca7eb99c463a2414a" } +hayro-syntax = { git = "https://github.com/storytold/craft-libs", rev = "955c64f11948721da5766f5ca7eb99c463a2414a" } +hayro-jbig2 = { git = "https://github.com/storytold/craft-libs", rev = "955c64f11948721da5766f5ca7eb99c463a2414a" } +hayro-cmap = { git = "https://github.com/storytold/craft-libs", rev = "955c64f11948721da5766f5ca7eb99c463a2414a" } +hayro-postscript = { git = "https://github.com/storytold/craft-libs", rev = "955c64f11948721da5766f5ca7eb99c463a2414a" } +linesweeper = { git = "https://github.com/storytold/craft-libs", rev = "955c64f11948721da5766f5ca7eb99c463a2414a" } +vello_common = { git = "https://github.com/storytold/craft-libs", rev = "955c64f11948721da5766f5ca7eb99c463a2414a" } +vello_cpu = { git = "https://github.com/storytold/craft-libs", rev = "955c64f11948721da5766f5ca7eb99c463a2414a" } ecolor = { git = "https://github.com/storytold/egui.git", rev = "932a73b28560acb1a695533307b2cd0d66a42081" } emath = { git = "https://github.com/storytold/egui.git", rev = "932a73b28560acb1a695533307b2cd0d66a42081" } epaint = { git = "https://github.com/storytold/egui.git", rev = "932a73b28560acb1a695533307b2cd0d66a42081" } From d2ea829cd87165823e04a972a06b2c2ff0dce902 Mon Sep 17 00:00:00 2001 From: David Mann Date: Sun, 29 Nov 2026 14:30:49 +0100 Subject: [PATCH 2/5] Move the egui and winit fork pins to the commits craft-libs 955c64f1 builds against craft-libs now matches egui's Shape::PaintChunk (storytold/egui#69), and craft::egui_fork::REV names 14c39fed; winit follows craft-libs' a517b384. --- Cargo.lock | 30 +++++++++++++++--------------- Cargo.toml | 30 +++++++++++++++--------------- 2 files changed, 30 insertions(+), 30 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index b58c9b2944..112df7071f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3043,7 +3043,7 @@ dependencies = [ [[package]] name = "ecolor" version = "0.37.0" -source = "git+https://github.com/storytold/egui.git?rev=932a73b28560acb1a695533307b2cd0d66a42081#932a73b28560acb1a695533307b2cd0d66a42081" +source = "git+https://github.com/storytold/egui.git?rev=14c39fed181756be6f357c284354e0ab55b64443#14c39fed181756be6f357c284354e0ab55b64443" dependencies = [ "bytemuck", "emath", @@ -3077,7 +3077,7 @@ dependencies = [ [[package]] name = "eframe" version = "0.37.0" -source = "git+https://github.com/storytold/egui.git?rev=932a73b28560acb1a695533307b2cd0d66a42081#932a73b28560acb1a695533307b2cd0d66a42081" +source = "git+https://github.com/storytold/egui.git?rev=14c39fed181756be6f357c284354e0ab55b64443#14c39fed181756be6f357c284354e0ab55b64443" dependencies = [ "ahash", "bytemuck", @@ -3114,7 +3114,7 @@ dependencies = [ [[package]] name = "egui" version = "0.37.0" -source = "git+https://github.com/storytold/egui.git?rev=932a73b28560acb1a695533307b2cd0d66a42081#932a73b28560acb1a695533307b2cd0d66a42081" +source = "git+https://github.com/storytold/egui.git?rev=14c39fed181756be6f357c284354e0ab55b64443#14c39fed181756be6f357c284354e0ab55b64443" dependencies = [ "accesskit", "ahash", @@ -3135,7 +3135,7 @@ dependencies = [ [[package]] name = "egui-wgpu" version = "0.37.0" -source = "git+https://github.com/storytold/egui.git?rev=932a73b28560acb1a695533307b2cd0d66a42081#932a73b28560acb1a695533307b2cd0d66a42081" +source = "git+https://github.com/storytold/egui.git?rev=14c39fed181756be6f357c284354e0ab55b64443#14c39fed181756be6f357c284354e0ab55b64443" dependencies = [ "ahash", "bytemuck", @@ -3154,7 +3154,7 @@ dependencies = [ [[package]] name = "egui-winit" version = "0.37.0" -source = "git+https://github.com/storytold/egui.git?rev=932a73b28560acb1a695533307b2cd0d66a42081#932a73b28560acb1a695533307b2cd0d66a42081" +source = "git+https://github.com/storytold/egui.git?rev=14c39fed181756be6f357c284354e0ab55b64443#14c39fed181756be6f357c284354e0ab55b64443" dependencies = [ "accesskit_winit", "arboard", @@ -3180,7 +3180,7 @@ dependencies = [ [[package]] name = "egui_extras" version = "0.37.0" -source = "git+https://github.com/storytold/egui.git?rev=932a73b28560acb1a695533307b2cd0d66a42081#932a73b28560acb1a695533307b2cd0d66a42081" +source = "git+https://github.com/storytold/egui.git?rev=14c39fed181756be6f357c284354e0ab55b64443#14c39fed181756be6f357c284354e0ab55b64443" dependencies = [ "ahash", "egui", @@ -3194,7 +3194,7 @@ dependencies = [ [[package]] name = "egui_glow" version = "0.37.0" -source = "git+https://github.com/storytold/egui.git?rev=932a73b28560acb1a695533307b2cd0d66a42081#932a73b28560acb1a695533307b2cd0d66a42081" +source = "git+https://github.com/storytold/egui.git?rev=14c39fed181756be6f357c284354e0ab55b64443#14c39fed181756be6f357c284354e0ab55b64443" dependencies = [ "bytemuck", "egui", @@ -3207,7 +3207,7 @@ dependencies = [ [[package]] name = "egui_kittest" version = "0.37.0" -source = "git+https://github.com/storytold/egui.git?rev=932a73b28560acb1a695533307b2cd0d66a42081#932a73b28560acb1a695533307b2cd0d66a42081" +source = "git+https://github.com/storytold/egui.git?rev=14c39fed181756be6f357c284354e0ab55b64443#14c39fed181756be6f357c284354e0ab55b64443" dependencies = [ "dify", "eframe", @@ -3233,7 +3233,7 @@ checksum = "0e9c71c2167ca323c882b99918929403426e2373ea17242ff5653e0d5e1058be" [[package]] name = "emath" version = "0.37.0" -source = "git+https://github.com/storytold/egui.git?rev=932a73b28560acb1a695533307b2cd0d66a42081#932a73b28560acb1a695533307b2cd0d66a42081" +source = "git+https://github.com/storytold/egui.git?rev=14c39fed181756be6f357c284354e0ab55b64443#14c39fed181756be6f357c284354e0ab55b64443" dependencies = [ "bytemuck", "serde", @@ -3326,7 +3326,7 @@ dependencies = [ [[package]] name = "epaint" version = "0.37.0" -source = "git+https://github.com/storytold/egui.git?rev=932a73b28560acb1a695533307b2cd0d66a42081#932a73b28560acb1a695533307b2cd0d66a42081" +source = "git+https://github.com/storytold/egui.git?rev=14c39fed181756be6f357c284354e0ab55b64443#14c39fed181756be6f357c284354e0ab55b64443" dependencies = [ "ahash", "bytemuck", @@ -3353,7 +3353,7 @@ dependencies = [ [[package]] name = "epaint_default_fonts" version = "0.37.0" -source = "git+https://github.com/storytold/egui.git?rev=932a73b28560acb1a695533307b2cd0d66a42081#932a73b28560acb1a695533307b2cd0d66a42081" +source = "git+https://github.com/storytold/egui.git?rev=14c39fed181756be6f357c284354e0ab55b64443#14c39fed181756be6f357c284354e0ab55b64443" [[package]] name = "equivalent" @@ -10806,7 +10806,7 @@ checksum = "d6bbff5f0aada427a1e5a6da5f1f98158182f26556f345ac9e04d36d0ebed650" [[package]] name = "winit" version = "0.30.13" -source = "git+https://github.com/storytold/winit.git?rev=f8b490f135ea439dd31aae100bb5591c63cb076f#f8b490f135ea439dd31aae100bb5591c63cb076f" +source = "git+https://github.com/storytold/winit.git?rev=a517b3846ee8457d84ee4975110bfda6797c44dc#a517b3846ee8457d84ee4975110bfda6797c44dc" dependencies = [ "ahash", "android-activity", @@ -11500,17 +11500,17 @@ dependencies = [ [[patch.unused]] name = "egui_demo_lib" version = "0.37.0" -source = "git+https://github.com/storytold/egui.git?rev=932a73b28560acb1a695533307b2cd0d66a42081#932a73b28560acb1a695533307b2cd0d66a42081" +source = "git+https://github.com/storytold/egui.git?rev=14c39fed181756be6f357c284354e0ab55b64443#14c39fed181756be6f357c284354e0ab55b64443" [[patch.unused]] name = "egui_inspection" version = "0.37.0" -source = "git+https://github.com/storytold/egui.git?rev=932a73b28560acb1a695533307b2cd0d66a42081#932a73b28560acb1a695533307b2cd0d66a42081" +source = "git+https://github.com/storytold/egui.git?rev=14c39fed181756be6f357c284354e0ab55b64443#14c39fed181756be6f357c284354e0ab55b64443" [[patch.unused]] name = "egui_system_font_provider" version = "0.37.0" -source = "git+https://github.com/storytold/egui.git?rev=932a73b28560acb1a695533307b2cd0d66a42081#932a73b28560acb1a695533307b2cd0d66a42081" +source = "git+https://github.com/storytold/egui.git?rev=14c39fed181756be6f357c284354e0ab55b64443#14c39fed181756be6f357c284354e0ab55b64443" [[patch.unused]] name = "hayro-cmap" diff --git a/Cargo.toml b/Cargo.toml index a01ce6c5cf..4bdd459f14 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -360,18 +360,18 @@ hayro-postscript = { git = "https://github.com/storytold/craft-libs", rev = "955 linesweeper = { git = "https://github.com/storytold/craft-libs", rev = "955c64f11948721da5766f5ca7eb99c463a2414a" } vello_common = { git = "https://github.com/storytold/craft-libs", rev = "955c64f11948721da5766f5ca7eb99c463a2414a" } vello_cpu = { git = "https://github.com/storytold/craft-libs", rev = "955c64f11948721da5766f5ca7eb99c463a2414a" } -ecolor = { git = "https://github.com/storytold/egui.git", rev = "932a73b28560acb1a695533307b2cd0d66a42081" } -emath = { git = "https://github.com/storytold/egui.git", rev = "932a73b28560acb1a695533307b2cd0d66a42081" } -epaint = { git = "https://github.com/storytold/egui.git", rev = "932a73b28560acb1a695533307b2cd0d66a42081" } -epaint_default_fonts = { git = "https://github.com/storytold/egui.git", rev = "932a73b28560acb1a695533307b2cd0d66a42081" } -egui = { git = "https://github.com/storytold/egui.git", rev = "932a73b28560acb1a695533307b2cd0d66a42081" } -egui-winit = { git = "https://github.com/storytold/egui.git", rev = "932a73b28560acb1a695533307b2cd0d66a42081" } -egui-wgpu = { git = "https://github.com/storytold/egui.git", rev = "932a73b28560acb1a695533307b2cd0d66a42081" } -egui_glow = { git = "https://github.com/storytold/egui.git", rev = "932a73b28560acb1a695533307b2cd0d66a42081" } -egui_extras = { git = "https://github.com/storytold/egui.git", rev = "932a73b28560acb1a695533307b2cd0d66a42081" } -egui_kittest = { git = "https://github.com/storytold/egui.git", rev = "932a73b28560acb1a695533307b2cd0d66a42081" } -egui_system_font_provider = { git = "https://github.com/storytold/egui.git", rev = "932a73b28560acb1a695533307b2cd0d66a42081" } -eframe = { git = "https://github.com/storytold/egui.git", rev = "932a73b28560acb1a695533307b2cd0d66a42081" } -egui_demo_lib = { git = "https://github.com/storytold/egui.git", rev = "932a73b28560acb1a695533307b2cd0d66a42081" } -egui_inspection = { git = "https://github.com/storytold/egui.git", rev = "932a73b28560acb1a695533307b2cd0d66a42081" } -winit = { git = "https://github.com/storytold/winit.git", rev = "f8b490f135ea439dd31aae100bb5591c63cb076f" } +ecolor = { git = "https://github.com/storytold/egui.git", rev = "14c39fed181756be6f357c284354e0ab55b64443" } +emath = { git = "https://github.com/storytold/egui.git", rev = "14c39fed181756be6f357c284354e0ab55b64443" } +epaint = { git = "https://github.com/storytold/egui.git", rev = "14c39fed181756be6f357c284354e0ab55b64443" } +epaint_default_fonts = { git = "https://github.com/storytold/egui.git", rev = "14c39fed181756be6f357c284354e0ab55b64443" } +egui = { git = "https://github.com/storytold/egui.git", rev = "14c39fed181756be6f357c284354e0ab55b64443" } +egui-winit = { git = "https://github.com/storytold/egui.git", rev = "14c39fed181756be6f357c284354e0ab55b64443" } +egui-wgpu = { git = "https://github.com/storytold/egui.git", rev = "14c39fed181756be6f357c284354e0ab55b64443" } +egui_glow = { git = "https://github.com/storytold/egui.git", rev = "14c39fed181756be6f357c284354e0ab55b64443" } +egui_extras = { git = "https://github.com/storytold/egui.git", rev = "14c39fed181756be6f357c284354e0ab55b64443" } +egui_kittest = { git = "https://github.com/storytold/egui.git", rev = "14c39fed181756be6f357c284354e0ab55b64443" } +egui_system_font_provider = { git = "https://github.com/storytold/egui.git", rev = "14c39fed181756be6f357c284354e0ab55b64443" } +eframe = { git = "https://github.com/storytold/egui.git", rev = "14c39fed181756be6f357c284354e0ab55b64443" } +egui_demo_lib = { git = "https://github.com/storytold/egui.git", rev = "14c39fed181756be6f357c284354e0ab55b64443" } +egui_inspection = { git = "https://github.com/storytold/egui.git", rev = "14c39fed181756be6f357c284354e0ab55b64443" } +winit = { git = "https://github.com/storytold/winit.git", rev = "a517b3846ee8457d84ee4975110bfda6797c44dc" } From 94f36d85a8de4f30b27f07bd0b492714bf675e48 Mon Sep 17 00:00:00 2001 From: David Mann Date: Sun, 29 Nov 2026 15:25:01 +0100 Subject: [PATCH 3/5] Tests read shapes inside egui's retained paint chunks egui 14c39fed replays unchanged paint records as Shape::PaintChunk, so the test helpers that look for painted text, paths, meshes and icons open those chunks as they open shape lists. The paper list can reopen scrolled to its chosen row, so the custom paper test's reveal scrolls down and then up. --- crates/ui-egui/src/brush_behind_key_tests.rs | 1 + .../ui-egui/src/brush_resize_overlay_tests.rs | 2 ++ crates/ui-egui/src/canvas/tests.rs | 1 + .../src/dialogs/file_ui/custom_paper_tests.rs | 9 ++++--- crates/ui-egui/src/i18n/live_tests.rs | 1 + crates/ui-egui/src/input/hold_keys/tests.rs | 1 + crates/ui-egui/src/levels_clipping_tests.rs | 1 + .../ui-egui/src/panels/brush_panel/tests.rs | 1 + crates/ui-egui/src/panels/title_bar/tests.rs | 1 + .../src/panels/toolbar_flyout_mark_tests.rs | 26 ++++++++++++++----- crates/ui-egui/src/prefs/prefs_ui/tests.rs | 1 + crates/ui-egui/src/tools/analysis/tests.rs | 1 + .../src/tools/frame_tool/labels_tests.rs | 1 + crates/ui-egui/src/transform_undo_tests.rs | 1 + .../tests/it/crop_options_bar_chrome.rs | 1 + .../ui-egui/tests/it/mixer_reset_defaults.rs | 1 + 16 files changed, 39 insertions(+), 11 deletions(-) diff --git a/crates/ui-egui/src/brush_behind_key_tests.rs b/crates/ui-egui/src/brush_behind_key_tests.rs index 3deacf0b20..8aff494bdf 100644 --- a/crates/ui-egui/src/brush_behind_key_tests.rs +++ b/crates/ui-egui/src/brush_behind_key_tests.rs @@ -34,6 +34,7 @@ fn options_show_behind(app: &mut PhotocraftApp, ctx: &Context) -> bool { match shape { egui::Shape::Text(text) => text.galley.text() == "Behind", egui::Shape::Vec(shapes) => shapes.iter().any(has_behind), + egui::Shape::PaintChunk(chunk) => chunk.iter().any(|clipped| has_behind(&clipped.shape)), _ => false, } } diff --git a/crates/ui-egui/src/brush_resize_overlay_tests.rs b/crates/ui-egui/src/brush_resize_overlay_tests.rs index 932a6e97fd..03d3cf6737 100644 --- a/crates/ui-egui/src/brush_resize_overlay_tests.rs +++ b/crates/ui-egui/src/brush_resize_overlay_tests.rs @@ -31,6 +31,8 @@ fn harness() -> Harness<'static, Box> { fn flatten<'a>(shape: &'a Shape, out: &mut Vec<&'a Shape>) { if let Shape::Vec(v) = shape { v.iter().for_each(|s| flatten(s, out)); + } else if let Shape::PaintChunk(chunk) = shape { + chunk.iter().for_each(|clipped| flatten(&clipped.shape, out)); } else { out.push(shape); } diff --git a/crates/ui-egui/src/canvas/tests.rs b/crates/ui-egui/src/canvas/tests.rs index 9c928ab231..4af188f35b 100644 --- a/crates/ui-egui/src/canvas/tests.rs +++ b/crates/ui-egui/src/canvas/tests.rs @@ -666,6 +666,7 @@ fn flattened_paint_shapes(output: &egui::FullOutput) -> Vec<&egui::Shape> { fn open<'a>(shape: &'a egui::Shape, into: &mut Vec<&'a egui::Shape>) { match shape { egui::Shape::Vec(list) => list.iter().for_each(|shape| open(shape, into)), + egui::Shape::PaintChunk(chunk) => chunk.iter().for_each(|clipped| open(&clipped.shape, into)), shape => into.push(shape), } } diff --git a/crates/ui-egui/src/dialogs/file_ui/custom_paper_tests.rs b/crates/ui-egui/src/dialogs/file_ui/custom_paper_tests.rs index 0cfd0be5c7..27f1fe7488 100644 --- a/crates/ui-egui/src/dialogs/file_ui/custom_paper_tests.rs +++ b/crates/ui-egui/src/dialogs/file_ui/custom_paper_tests.rs @@ -92,10 +92,11 @@ pub(super) fn click(h: &mut Harness<'_, Box>, label: &str) { h.run_steps(3); } -/// Scrolls the open paper list until the row `label` is shown: the list draws only the rows in view, so a row near -/// the end is not in the access tree until the wheel has brought it into view. +/// Scrolls the open paper list until the row `label` is shown: the list draws only the rows in view, so a row is not in +/// the access tree until the wheel has brought it into view. The list can open scrolled to its chosen row, so the wheel +/// goes down first and then up. fn reveal(h: &mut Harness<'_, Box>, label: &str) { - for _ in 0..40 { + for step in 0..80 { if h.query_by_label(label).is_some() { return; } @@ -104,7 +105,7 @@ fn reveal(h: &mut Harness<'_, Box>, label: &str) { h.event(Event::MouseWheel { source: egui::MouseWheelSource::Unknown, unit: egui::MouseWheelUnit::Line, - delta: vec2(0.0, -3.0), + delta: vec2(0.0, if step < 40 { -3.0 } else { 3.0 }), phase: egui::TouchPhase::Move, modifiers: Modifiers::NONE, }); diff --git a/crates/ui-egui/src/i18n/live_tests.rs b/crates/ui-egui/src/i18n/live_tests.rs index c3048a340e..5e16c09ed6 100644 --- a/crates/ui-egui/src/i18n/live_tests.rs +++ b/crates/ui-egui/src/i18n/live_tests.rs @@ -341,6 +341,7 @@ fn drawn_text(h: &egui_kittest::Harness<'_, Box>) -> Vec match shape { egui::Shape::Text(shape) => text.push(shape.galley.job.text.clone()), egui::Shape::Vec(shapes) => shapes.iter().for_each(|shape| collect(shape, text)), + egui::Shape::PaintChunk(chunk) => chunk.iter().for_each(|clipped| collect(&clipped.shape, text)), _ => {} } } diff --git a/crates/ui-egui/src/input/hold_keys/tests.rs b/crates/ui-egui/src/input/hold_keys/tests.rs index 8a3aa44764..d9de57562f 100644 --- a/crates/ui-egui/src/input/hold_keys/tests.rs +++ b/crates/ui-egui/src/input/hold_keys/tests.rs @@ -218,6 +218,7 @@ fn painted_paths(h: &Harness<'static, Box>) -> Vec> { match s { egui::Shape::Path(p) if !p.closed => out.push(p.points.clone()), egui::Shape::Vec(v) => v.iter().for_each(|s| walk(s, out)), + egui::Shape::PaintChunk(chunk) => chunk.iter().for_each(|clipped| walk(&clipped.shape, out)), _ => {} } } diff --git a/crates/ui-egui/src/levels_clipping_tests.rs b/crates/ui-egui/src/levels_clipping_tests.rs index 1624689139..712431e449 100644 --- a/crates/ui-egui/src/levels_clipping_tests.rs +++ b/crates/ui-egui/src/levels_clipping_tests.rs @@ -315,6 +315,7 @@ fn meshes_with(shapes: &[egui::epaint::ClippedShape], tex: egui::TextureId) -> u match s { egui::Shape::Mesh(m) => usize::from(m.texture_id == tex), egui::Shape::Vec(v) => v.iter().map(|s| count(s, tex)).sum(), + egui::Shape::PaintChunk(chunk) => chunk.iter().map(|clipped| count(&clipped.shape, tex)).sum(), _ => 0, } } diff --git a/crates/ui-egui/src/panels/brush_panel/tests.rs b/crates/ui-egui/src/panels/brush_panel/tests.rs index 2e3a3c5d77..9ecee23ee1 100644 --- a/crates/ui-egui/src/panels/brush_panel/tests.rs +++ b/crates/ui-egui/src/panels/brush_panel/tests.rs @@ -633,6 +633,7 @@ fn collect_text(shape: &egui::Shape, out: &mut Vec) { match shape { egui::Shape::Text(text) => out.push(text.galley.job.text.clone()), egui::Shape::Vec(shapes) => shapes.iter().for_each(|s| collect_text(s, out)), + egui::Shape::PaintChunk(chunk) => chunk.iter().for_each(|clipped| collect_text(&clipped.shape, out)), _ => {} } } diff --git a/crates/ui-egui/src/panels/title_bar/tests.rs b/crates/ui-egui/src/panels/title_bar/tests.rs index de19f43351..b3d313fc97 100644 --- a/crates/ui-egui/src/panels/title_bar/tests.rs +++ b/crates/ui-egui/src/panels/title_bar/tests.rs @@ -105,6 +105,7 @@ fn painted(h: &Harness<'static, Box>, text: &str) -> Option<(egui match shape { egui::Shape::Text(shape) if shape.galley.text() == text => Some((shape.visual_bounding_rect(), shape.galley.elided)), egui::Shape::Vec(shapes) => shapes.iter().find_map(|shape| find(shape, text)), + egui::Shape::PaintChunk(chunk) => chunk.iter().find_map(|clipped| find(&clipped.shape, text)), _ => None, } } diff --git a/crates/ui-egui/src/panels/toolbar_flyout_mark_tests.rs b/crates/ui-egui/src/panels/toolbar_flyout_mark_tests.rs index 10ab54e45c..6e964a90d4 100644 --- a/crates/ui-egui/src/panels/toolbar_flyout_mark_tests.rs +++ b/crates/ui-egui/src/panels/toolbar_flyout_mark_tests.rs @@ -49,10 +49,10 @@ fn the_shape_flyout_checks_the_shown_tool_and_marks_no_other() { // What each row paints in its mark column, the room before its tool icon (the row's image): the shown tool's // check (a stroked path), nothing at all for the others. The accessible state alone would not catch a row that // paints a mark it does not report. - let shapes = &h.output().shapes; + let output = h.output(); + let shapes = painted(&output.shapes); for (name, _, row) in &rows { - let inside: Vec<&egui::Shape> = - shapes.iter().map(|clipped| &clipped.shape).filter(|shape| row.contains(shape.visual_bounding_rect().center())).collect(); + let inside: Vec<&egui::Shape> = shapes.iter().copied().filter(|shape| row.contains(shape.visual_bounding_rect().center())).collect(); let icon = inside.iter().find(|shape| matches!(shape, egui::Shape::Mesh(_))).map(|shape| shape.visual_bounding_rect()); let icon = icon.unwrap_or_else(|| panic!("the {name} row paints its tool icon")); let marks: Vec<&&egui::Shape> = @@ -65,14 +65,26 @@ fn the_shape_flyout_checks_the_shown_tool_and_marks_no_other() { } // No empty ring (a stroked circle without fill) inside the flyout's rows. let flyout = rows.iter().fold(Rect::NOTHING, |all, (_, _, rect)| all.union(*rect)); - let rings = h - .output() - .shapes + let rings = shapes .iter() - .filter(|clipped| match &clipped.shape { + .filter(|shape| match shape { egui::Shape::Circle(circle) => circle.stroke.width > 0.0 && circle.fill == egui::Color32::TRANSPARENT && flyout.contains(circle.center), _ => false, }) .count(); assert_eq!(rings, 0, "no row of the flyout draws an empty ring"); } + +/// The shapes a frame painted, with shape lists and retained paint chunks opened. +fn painted(shapes: &[egui::epaint::ClippedShape]) -> Vec<&egui::Shape> { + fn open<'a>(shape: &'a egui::Shape, into: &mut Vec<&'a egui::Shape>) { + match shape { + egui::Shape::Vec(list) => list.iter().for_each(|shape| open(shape, into)), + egui::Shape::PaintChunk(chunk) => chunk.iter().for_each(|clipped| open(&clipped.shape, into)), + shape => into.push(shape), + } + } + let mut out = Vec::new(); + shapes.iter().for_each(|clipped| open(&clipped.shape, &mut out)); + out +} diff --git a/crates/ui-egui/src/prefs/prefs_ui/tests.rs b/crates/ui-egui/src/prefs/prefs_ui/tests.rs index 2c9ecb1840..c1f7a080ef 100644 --- a/crates/ui-egui/src/prefs/prefs_ui/tests.rs +++ b/crates/ui-egui/src/prefs/prefs_ui/tests.rs @@ -1802,6 +1802,7 @@ fn painted_texts(h: &egui_kittest::Harness<'static, Box>) -> Vec< match shape { egui::Shape::Text(text) => out.push((text.galley.text().trim_end_matches(':').to_owned(), text.galley.rect.translate(text.pos.to_vec2()))), egui::Shape::Vec(shapes) => shapes.iter().for_each(|shape| collect(shape, out)), + egui::Shape::PaintChunk(chunk) => chunk.iter().for_each(|clipped| collect(&clipped.shape, out)), _ => {} } } diff --git a/crates/ui-egui/src/tools/analysis/tests.rs b/crates/ui-egui/src/tools/analysis/tests.rs index bff3b713ec..48a025c118 100644 --- a/crates/ui-egui/src/tools/analysis/tests.rs +++ b/crates/ui-egui/src/tools/analysis/tests.rs @@ -454,6 +454,7 @@ fn count_number_height(label_size: u32) -> f32 { while let Some(shape) = stack.pop() { match shape { Shape::Vec(v) => stack.extend(v.iter()), + Shape::PaintChunk(chunk) => stack.extend(chunk.iter().map(|clipped| &clipped.shape)), Shape::Text(t) if t.galley.text() == "1" => heights.push(t.galley.size().y), _ => {} } diff --git a/crates/ui-egui/src/tools/frame_tool/labels_tests.rs b/crates/ui-egui/src/tools/frame_tool/labels_tests.rs index 23d55c27e3..95932c8918 100644 --- a/crates/ui-egui/src/tools/frame_tool/labels_tests.rs +++ b/crates/ui-egui/src/tools/frame_tool/labels_tests.rs @@ -38,6 +38,7 @@ fn drawn(h: &Harness<'_, Box>) -> Vec { match shape { egui::Shape::Text(shape) => text.push(shape.galley.job.text.clone()), egui::Shape::Vec(shapes) => shapes.iter().for_each(|shape| collect(shape, text)), + egui::Shape::PaintChunk(chunk) => chunk.iter().for_each(|clipped| collect(&clipped.shape, text)), _ => {} } } diff --git a/crates/ui-egui/src/transform_undo_tests.rs b/crates/ui-egui/src/transform_undo_tests.rs index 2cf74ab195..20b546cef9 100644 --- a/crates/ui-egui/src/transform_undo_tests.rs +++ b/crates/ui-egui/src/transform_undo_tests.rs @@ -252,6 +252,7 @@ fn transform_preview_stays_visible_while_panning() { fn shows(shape: &egui::epaint::Shape, texture: egui::TextureId) -> bool { match shape { egui::epaint::Shape::Vec(list) => list.iter().any(|shape| shows(shape, texture)), + egui::epaint::Shape::PaintChunk(chunk) => chunk.iter().any(|clipped| shows(&clipped.shape, texture)), egui::epaint::Shape::Mesh(mesh) => mesh.texture_id == texture, _ => false, } diff --git a/crates/ui-egui/tests/it/crop_options_bar_chrome.rs b/crates/ui-egui/tests/it/crop_options_bar_chrome.rs index 90d92a989b..a1f1a47147 100644 --- a/crates/ui-egui/tests/it/crop_options_bar_chrome.rs +++ b/crates/ui-egui/tests/it/crop_options_bar_chrome.rs @@ -47,6 +47,7 @@ fn drawn(h: &Harness<'_, State>) -> Vec { match shape { egui::Shape::Text(shape) => text.push(shape.galley.job.text.clone()), egui::Shape::Vec(shapes) => shapes.iter().for_each(|shape| collect(shape, text)), + egui::Shape::PaintChunk(chunk) => chunk.iter().for_each(|clipped| collect(&clipped.shape, text)), _ => {} } } diff --git a/crates/ui-egui/tests/it/mixer_reset_defaults.rs b/crates/ui-egui/tests/it/mixer_reset_defaults.rs index 1baef9cc2f..df275e321a 100644 --- a/crates/ui-egui/tests/it/mixer_reset_defaults.rs +++ b/crates/ui-egui/tests/it/mixer_reset_defaults.rs @@ -69,6 +69,7 @@ fn assert_chip(app: &mut PhotocraftApp, label: &str) { match shape { Shape::Text(text) => text.galley.text() == label && rect.contains(text.pos), Shape::Vec(shapes) => shapes.iter().any(|shape| has_text(shape, rect, label)), + Shape::PaintChunk(chunk) => chunk.iter().any(|clipped| has_text(&clipped.shape, rect, label)), _ => false, } } From 52e97e03c180c7aad94fa88d2b6bb2c9e6d61128 Mon Sep 17 00:00:00 2001 From: David Mann Date: Sun, 29 Nov 2026 15:32:10 +0100 Subject: [PATCH 4/5] Brush resize test: a retained chunk's child is checked under its own clip, intersected with the chunk's --- .../ui-egui/src/brush_resize_overlay_tests.rs | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/crates/ui-egui/src/brush_resize_overlay_tests.rs b/crates/ui-egui/src/brush_resize_overlay_tests.rs index 03d3cf6737..4cce091112 100644 --- a/crates/ui-egui/src/brush_resize_overlay_tests.rs +++ b/crates/ui-egui/src/brush_resize_overlay_tests.rs @@ -28,13 +28,13 @@ fn harness() -> Harness<'static, Box> { h } -fn flatten<'a>(shape: &'a Shape, out: &mut Vec<&'a Shape>) { - if let Shape::Vec(v) = shape { - v.iter().for_each(|s| flatten(s, out)); - } else if let Shape::PaintChunk(chunk) = shape { - chunk.iter().for_each(|clipped| flatten(&clipped.shape, out)); - } else { - out.push(shape); +/// The shapes under `shape`, each with the clip it is painted under: a retained paint chunk's child keeps its own clip, +/// intersected with the chunk's, as the tessellator does. +fn flatten<'a>(shape: &'a Shape, clip: egui::Rect, out: &mut Vec<(&'a Shape, egui::Rect)>) { + match shape { + Shape::Vec(v) => v.iter().for_each(|s| flatten(s, clip, out)), + Shape::PaintChunk(chunk) => chunk.iter().for_each(|clipped| flatten(&clipped.shape, clip.intersect(clipped.clip_rect), out)), + shape => out.push((shape, clip)), } } @@ -44,15 +44,15 @@ fn falloff_meshes(h: &Harness<'static, Box>, press: egui::Pos2) - let mut found = Vec::new(); for clipped in &h.output().shapes { let mut all = Vec::new(); - flatten(&clipped.shape, &mut all); - for s in all { + flatten(&clipped.shape, clipped.clip_rect, &mut all); + for (s, clip) in all { if let Shape::Mesh(m) = s && m.texture_id == egui::TextureId::default() && m.vertices.iter().any(|v| v.color == egui::Color32::TRANSPARENT) && m.calc_bounds().contains(press) && m.calc_bounds().width() < 400.0 { - found.push((m.calc_bounds(), clipped.clip_rect)); + found.push((m.calc_bounds(), clip)); } } } @@ -83,8 +83,8 @@ fn the_resize_drag_shows_the_size_preview_in_the_canvas_body() { let mut text = Vec::new(); for c in &h.output().shapes { let mut all = Vec::new(); - flatten(&c.shape, &mut all); - text.extend(all.iter().filter_map(|s| if let Shape::Text(t) = s { Some(t.galley.text().to_string()) } else { None })); + flatten(&c.shape, c.clip_rect, &mut all); + text.extend(all.iter().filter_map(|(s, _)| if let Shape::Text(t) = s { Some(t.galley.text().to_string()) } else { None })); } assert!(text.iter().any(|t| t == "Diameter:") && text.iter().any(|t| t.ends_with(" px")), "the diameter readout shows beside the pointer: {text:?}"); let body = h.ctx.content_rect(); From 35312061e50cf3eb998cc8742602cc63a68bace7 Mon Sep 17 00:00:00 2001 From: David Mann Date: Sun, 29 Nov 2026 16:19:11 +0100 Subject: [PATCH 5/5] Preferences: Memory Usage Percent labels itself, so its label shows once craft-libs 8c807a9a0 shows a check box's own label when it sits in a row inside the field that names it, so the row showed "Memory Usage Percent" twice. The row now draws its own label, on the check box, and the window adds none, as for Rendering Mode. Co-Authored-By: Claude Opus 5.5 --- crates/ui-egui/src/prefs/prefs_ui/fields.rs | 14 ++++---------- crates/ui-egui/src/prefs/prefs_ui/tests.rs | 4 ++-- 2 files changed, 6 insertions(+), 12 deletions(-) diff --git a/crates/ui-egui/src/prefs/prefs_ui/fields.rs b/crates/ui-egui/src/prefs/prefs_ui/fields.rs index 851e49dfea..3ec167fe52 100644 --- a/crates/ui-egui/src/prefs/prefs_ui/fields.rs +++ b/crates/ui-egui/src/prefs/prefs_ui/fields.rs @@ -165,19 +165,13 @@ pub(super) fn rules(ctx: &egui::Context) -> Vec { } // Rows the app draws itself (`PrefsCustom`). - for path in [ - "performance.memoryUsagePercent", - "performance.gpuAdapter", - "tools.pressureCurve", - "scratchDisks.disks", - "fileHandling.recentFiles", - "type.favoriteFonts", - ] { + for path in ["performance.gpuAdapter", "tools.pressureCurve", "scratchDisks.disks", "fileHandling.recentFiles", "type.favoriteFonts"] { tweak(&mut rules, path, |r| r.custom()); } // Rows that draw their own label or heading, so the window adds none: the Appearance page (Appearance Mode, the - // themes), Rendering Mode's select and the Memory Usage block. - for path in ["interface.appearanceMode", "performance.renderingMode", "performance.memoryUsageMb"] { + // themes), Rendering Mode's select, the Memory Usage block and Memory Usage Percent's check box, which shows its + // label after the box as a check box in a row does. + for path in ["interface.appearanceMode", "performance.renderingMode", "performance.memoryUsageMb", "performance.memoryUsagePercent"] { tweak(&mut rules, path, |r| r.custom_rows()); } // The favourite fonts are the user's library, not a Type setting. diff --git a/crates/ui-egui/src/prefs/prefs_ui/tests.rs b/crates/ui-egui/src/prefs/prefs_ui/tests.rs index c1f7a080ef..ca25aab1d2 100644 --- a/crates/ui-egui/src/prefs/prefs_ui/tests.rs +++ b/crates/ui-egui/src/prefs/prefs_ui/tests.rs @@ -1837,8 +1837,8 @@ fn the_interface_page_lists_appearance_presentation_then_options_on_one_label_co } /// The rows of Preferences › Performance that draw their own label or heading show it once: the window adds no second -/// "Rendering mode" beside the select's own, and no "Memory usage (MB)" beside the Memory Usage heading. Memory Usage -/// Percent's check box shows no text, so the window's label is its only one. +/// "Rendering mode" beside the select's own, no "Memory usage (MB)" beside the Memory Usage heading, and no "Memory Usage +/// Percent" beside the check box's own. #[test] fn self_labelled_performance_rows_show_their_label_once() { let (_, files) = app_with_store();