PhotoCraft's UI moves onto the shared craft UI framework in storytold/craft-libs (next branch): shell, dock and panels, hosted dialogs, keyboard, focus, IME and pointer routing, the canvas's view commands, themes and tokens. The engine, document model, file formats, commands and automation stay. PhotoCraft pins storytold/craft-libs next.
With write_tysh refusing unsafe geometry, a layer without psd_raw can end up
with no generated TySh; the imported block (text from before the edit) was then
kept. Export now drops it so the layer is written as pixels with the existing
warning. TySh selection moves into type_tysh/type_blocks (cognitive complexity).
parse_tysh/write_tysh/translate_tysh/transform_is_safe become adapters over
craft_psd::text::envelope (extracted from here in craft-libs#1594); only the
Affine <-> [f64; 6] mapping stays. write_tysh/build_tysh return Option: a block
the shared writer refuses (unsafe transform, non-finite bounds, > 8 MiB) is not
written, and export falls back to pixels with its existing warning. craft-psd
re-pinned to craft-libs main eafb50af (additions only in crates/psd).
Reuse the byte-identical resource 1053 implementation already pinned in craft-psd. Retain existing app ordering policy, callers and byte regression tests; no dependency changes.
Co-authored-by: Jason D <[email protected]>
Keep lossy UTF-16, trailing NUL and partial-list policy unchanged. Shared parser preserves Brandon Thomas original framing and Valentin Klein checked-length safeguards.
Co-authored-by: Brandon Thomas <[email protected]>
Co-authored-by: Valentin Klein <[email protected]>
Retain PhotoCraft colour conversion and compatibility policy while delegating DisplayInfo and alternate spot wire framing to craft-psd.
Co-authored-by: Jason D <[email protected]>
Co-authored-by: Khawar Zamman Wani <[email protected]>
Main's #14220 already landed the KRA/ORA/XCF/PDN cutover, so conflicts take
main's io code, manifests and lockfile. crates/cms is gone on main, so its
synth.rs clippy edit is dropped. XCF metadata cancellation is already in main
(parse_with); the PR's regression test is kept and still fails without it.
PDN cancellation already stops before the next surface through keep_going.
Reconcile contributor #14595 fixes with #15036: retain bounded SVG refusal reclassification and shared preflight, distinguish corrupt reads from save I/O failures, preserve RAW calibration and stricter regression cases. Keep newer descendant shared pin and main GPU/test support fixes. Hosted validation required.