Commit Graph
1186 Commits
Author SHA1 Message Date
aiongg ed14e1c413 PhotoCraft on the craft UI framework (#15449)
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.
2026-11-17 10:41:35 -05:00
Dylan M. Taylor d71e9fd1bf text: bound copies of preserved style data and font names (#11046) 2026-11-16 21:59:36 -05:00
Dylan M. Taylor 3ef7d5cf7a oracle_diff example: skip directory symlinks, refuse an oversized dump (#13362) 2026-11-16 21:59:26 -05:00
Dylan M. Taylor ee2482c662 Merge pull request #15341 from storytold/cutover/shared-tysh-fallback
psd: preserve lenient TySh recovery through craft-psd
2026-11-16 17:56:31 -05:00
FredApps 6fce43018c io: drop an imported TySh when a type layer's block can't be rebuilt
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).
2026-11-16 13:41:10 +01:00
FredApps 193661aea3 io: keep PSD export's content_blocks under the cognitive-complexity limit 2026-11-16 12:59:29 +01:00
FredApps 421adc18cf io tests: forge hostile TySh transforms in the bytes (the shared writer refuses them) 2026-11-16 12:37:37 +01:00
FredApps a94e84dd8d text: take the TySh envelope from craft-psd (#778)
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).
2026-11-16 12:35:11 +01:00
FredApps 6f4a2cbaed Merge pull request #15036 from Terra854/codex/raw-adapter-safety
Unify shared adapters and preserve RAW calibration and provenance
2026-11-16 11:14:43 +01:00
FredApps 5e5292c1a2 Merge remote-tracking branch 'origin/main' into raw-adapter-safety 2026-11-16 09:57:19 +01:00
FredApps 7ba9f0d619 Merge main into extract/shared-displace-payload 2026-11-16 09:50:24 +01:00
FredApps 2d4bc13c49 Merge main into cutover/psd-unicode-names 2026-11-16 08:10:43 +01:00
FredApps ca014193a3 Merge pull request #15210 from storytold/cutover/psd-channel-resources
io: use shared PSD DisplayInfo and alternate spot records
2026-11-16 08:09:16 +01:00
FredApps e8531bbfd9 Merge main into codex/raw-adapter-safety
Keep main's newer craft-psd (2284a6bf) and craft-cms (c6eb84d4) pins;
keep this branch's unified fe6b443a pins elsewhere (newer than main's
ad8faa1c). Cargo.lock regenerated from main's lock.
2026-11-16 07:04:22 +01:00
FredApps 1ad3e068b5 Merge main into cutover/psd-unicode-names 2026-11-16 06:52:53 +01:00
FredApps 40076f8c56 Merge main into cutover/psd-channel-resources 2026-11-16 06:52:35 +01:00
FredApps f06fc89d31 Merge branch 'main' into switch-photocraft-io 2026-11-16 06:51:35 +01:00
FredApps 471d97c3c2 Merge remote-tracking branch 'origin/main' into w15191
# Conflicts:
#	Cargo.lock
#	crates/io/Cargo.toml
2026-11-16 02:33:37 +01:00
Dylan M. Taylor 8531232050 Merge shared annotation and guide integrations into channel names cutover 2026-11-15 20:23:16 -05:00
Dylan M. Taylor e76ca374e8 Merge pull request #15189 from storytold/refactor/shared-psd-guides
Use shared PSD guides resource decoding
2026-11-15 20:21:08 -05:00
Dylan M. Taylor 99657bbbf5 Merge pull request #15148 from storytold/refactor/shared-psd-annotations
io: cut PSD annotation records over to shared codec
2026-11-15 20:12:25 -05:00
Dylan M. Taylor f557e43982 Integrate main shortcut fix and merged PSD names codec 2026-11-15 17:21:20 -05:00
Dylan M. Taylor c1fa809f74 Pin shared PSD guides to its merged prerequisite 2026-11-15 16:51:07 -05:00
Dylan M. TaylorandJason D 07eeaf8e94 Use shared PSD alpha-channel identifier writer
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]>
2026-11-15 15:39:38 -05:00
Dylan M. Taylor 2d74ae4aab io: retain note popup normalization and target layered TIFF tests 2026-11-15 15:14:57 -05:00
e276dbcd26 io: use shared PSD Unicode channel-name framing
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]>
2026-11-15 15:10:15 -05:00
fa146af499 refactor(io): use shared PSD channel resource records
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]>
2026-11-15 14:40:24 -05:00
Dylan M. Taylor e879da042c fix: preserve bounded annotation text and unchanged legacy bytes 2026-11-15 14:22:37 -05:00
Dylan M. Taylor 3c3976e4b9 Merge current main while preserving shared annotation codec 2026-11-15 14:13:07 -05:00
Dylan M. Taylor 7f2b5eb204 Merge current main and isolate merged shared displacement codec 2026-11-15 14:08:58 -05:00
Dylan M. Taylor 607c8b9a62 Use shared PSD Duotone record parsing and assembly
Preserve Gert Pellin and David Mann original document colour, curve and fallback policy; compare output against frozen original writer.
2026-11-15 13:36:05 -05:00
Dylan M. Taylor 3e0b20be31 Use shared PSD guides resource decoder
Retain PhotoCraft guide colour and resource retention policy. Shared implementation extracted from Bram Heerink original f49564d281.
2026-11-15 13:20:43 -05:00
Dylan M. Taylor e847761ce9 Integrate main while preserving SVG resource and RAW safety guards 2026-11-15 11:37:06 -05:00
Dylan M. Taylor 3f29649ff4 test(io): handle fallible palette PSD conversion results 2026-11-15 10:10:39 -05:00
Dylan M. Taylor 57c79bc82f Merge pull request #15100 from storytold/refactor/linked-shared-records
io: cut PSD linked-record parsing and editing over to craft-psd
2026-11-15 09:50:43 -05:00
Dylan M. Taylor bdac588592 Remove obsolete local payload header constant 2026-11-15 09:32:01 -05:00
Dylan M. Taylor e2ddde50e2 Use shared PSD Displace payload IO without intermediate plane copies 2026-11-15 09:31:13 -05:00
Dylan M. Taylor 14bcf7962e test(io): document bounded annotation smart-source fallback 2026-11-15 09:29:05 -05:00
Dylan M. Taylor db0ff2778e io: delegate PSD annotations to shared bounded codec 2026-11-15 09:27:42 -05:00
Brandon Thomasandwstock 4bd0727b9f test(io): retain original annotation writer as parity oracle
Source: PhotoCraft aa87012a and saturation correction 0d6e58e2. Frozen test-only writer; application adaptation follows separately.

Co-authored-by: wstock <[email protected]>
2026-11-15 09:27:42 -05:00
FredApps ba12f3e9f4 Merge main into switch-photocraft-io
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.
2026-11-15 15:18:27 +01:00
Dylan M. Taylor a7cae622cd merge: retain latest main adapters with shared linked records 2026-11-15 08:54:27 -05:00
Dylan M. Taylor cff119582b test: target SVG child budget and synchronize JPEG estimate 2026-11-15 08:41:58 -05:00
FredApps 4ff1927338 fix(svg): enforce decoded text budget during embedded image retries 2026-11-15 14:29:35 +01:00
Dylan M. Taylor cbecb5cc71 Charge legacy text conversion to SVG refusal recheck budget 2026-11-15 07:47:55 -05:00
Dylan M. Taylor dcbe68e718 Preserve RAW assertions and bound SVG text expansion after damaged children 2026-11-15 07:47:16 -05:00
Dylan M. Taylor 2a0e50526f Merge main CI repairs while preserving shared RAW and SVG adapters
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.
2026-11-15 07:43:37 -05:00
David Mann 5bdbcc1181 Merge pull request #14595 from davidmann4/fix/14592-main-green
main CI green: SVG, .pcraft store, raw and flaky-test fixes in one PR (#14592)
2026-11-15 13:28:31 +01:00
Dylan M. Taylor 8e5ace3e04 test(io): use bounded fallible pixel conversion in banded fixtures 2026-11-15 06:48:28 -05:00
Dylan M. Taylor d94f9701af io: remove local PSD linked parsing and editing in favor of craft-psd 2026-11-15 06:26:19 -05:00