Commit Graph
13625 Commits
Author SHA1 Message Date
hnoerenberg 6434f86f89 Merge upstream/main into fix/inner-shadow-antialiased-14934 2026-11-16 17:26:06 +01:00
FredApps 097a7a7b79 Merge pull request #15301 from storytold/fredapps/psd-tysh-envelope
PSD type: take the TySh envelope from craft-psd (#778)
2026-11-16 14:48:12 +01: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 d53b5edb60 Merge pull request #11566 from hnoerenberg/fix/gaussian-blur-edge-parity-11528
test(algo): pin the Gaussian blur edge profile and its ATN identity
2026-11-16 11:57:45 +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 556c1c4348 Merge pull request #15152 from storytold/extract/shared-displace-payload
Use shared PSD Displace payload reader and writer
2026-11-16 11:08:11 +01:00
FredApps 5e5292c1a2 Merge remote-tracking branch 'origin/main' into raw-adapter-safety 2026-11-16 09:57:19 +01:00
FredApps 3a28b6a25e raw: keep the U16 develop sample loop to one range comparison
The per-sample normalization in fill_samples called a helper that tested
range.is_finite() and range <= 0.0 for every sample, which made 24 MP
monochrome U16 develops ~30% slower than main. A single range > 0.0
test gives the same results (NaN, zero, negative and infinite ranges all
end at 0) and restores main's speed; output hashes are unchanged.
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 f8c7076d8e Merge pull request #15218 from storytold/cutover/psd-unicode-names
io: use shared PSD Unicode channel-name framing
2026-11-16 09:25:35 +01:00
hnoerenberg d98386f43b test(engine): import craft_psd in the gaussian edge profile test
The shared PSD crate is craft_psd now. The test still imported photocraft_psd, so the engine test target did not compile on a merge with current main.
2026-11-16 08:25:49 +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 46faca42dd Merge pull request #13415 from storytold/switch-photocraft-io
Test shared XCF cancellation and document KRA/ORA limits
2026-11-16 07:58:48 +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 ea6ced03b1 Merge pull request #15191 from storytold/refactor/shared-psd-duotone
Use shared PSD Duotone ink records and block assembly
2026-11-16 03:59:00 +01:00
hnoerenberg 577c2b9070 fix(gpu): honour Anti-aliased in the Inner Shadow map program
gpu/fx: the review asks for the Done-when line "CPU and GPU compositors
agree". `B::shadow` built the Inner Shadow map from the shape shifted by
whole pixels only, so the Anti-aliased checkbox stayed invisible on the
GPU: the parity check of the issue's document measured 20.65/255
between the two compositors once the CPU honoured the flag.

The map builder now calls the same gate the CPU does (`effects::aa_shift`,
inner branch and the Gaussian contour only), and `fs_mshift` samples the
way `Map::shifted` does: four taps, bilinear, with the invert and the
`outside` fill applied per tap. A whole-pixel offset weights its taps 1
and 0, so every shift that exists today (drop shadows with Distance,
satin, the Choke/Spread field shift) reads exactly the texel it read
before. The stage radius ceils, so a sub-pixel shift's extra tap stays
inside the window the executor recomputes - what makes the paged
compositor agree.

Two tests: the stage list, which needs no device, and the issue's
document rendered on both compositors (plain and paged 256 px),
comparing the four edge ramps against the CPU and against the issue's
measured values.
2026-11-16 02:53:48 +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 7980844cbc Merge pull request #15107 from storytold/cutover/shared-cube-writer
engine: cut CUBE serialization over to craft-cms
2026-11-15 20:07:38 -05:00
Dylan M. Taylor a4f4612ed3 Normalize Cargo lock ordering after shared PSD pin 2026-11-15 19:34:51 -05:00
Dylan M. Taylor e48e49d5e2 Merge pull request #15230 from storytold/cutover/psd-alpha-identifiers
Use shared PSD alpha-channel identifier writer
2026-11-15 19:32:34 -05:00
hnoerenberg 29d0068c08 Merge upstream/main into fix/gaussian-blur-edge-parity-11528 2026-11-16 01:31:39 +01:00
FredApps c24804f285 Merge remote-tracking branch 'origin/main' into w15191
# Conflicts:
#	Cargo.lock
2026-11-16 01:21:59 +01:00
Dylan M. Taylor 51e8a99bf0 Merge pull request #8455 from Higgs32584/fix/8272-delayload-prntvpt
Windows: PhotoCraft starts without prntvpt.dll (#8272)
2026-11-15 18:23:32 -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. Taylor 52093dffb5 Merge main shortcut and artboard regression fixes 2026-11-15 16:48:57 -05:00
Dylan M. Taylor 44ec9f15d8 Merge main shortcut test and dependency fixes 2026-11-15 16:47:34 -05:00
Dylan M. Taylor 0d4d506cbf Merge main shortcut test and dependency fixes 2026-11-15 16:47:34 -05:00
Dylan M. Taylor 2f0aaf4b7f Merge main shortcut test and dependency fixes 2026-11-15 16:47:34 -05:00
Dylan M. Taylor 68c3807e88 Merge main shortcut test and dependency fixes 2026-11-15 16:47:34 -05:00
Dylan M. Taylor c1f1b42906 Merge pull request #15190 from storytold/codex/photo-shortcut-lock-order
Fix shortcut test setup and preserve canonical Cargo lock order
2026-11-15 16:41:35 -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
David Mann d547d50c7e Merge pull request #15196 from davidmann4/fix/main-green-lockfile-test
Main green: action shortcut test by index, Cargo.lock order (#15195)
2026-11-15 21:30:18 +01: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
Dylan M. Taylor 463baf8d33 deps: bump tar, zip, roxmltree, rustls-webpki and symphonia to their latest versions (#15209)
- `roxmltree`: 0.20.0, 0.21.1 → 0.20.0, 0.21.2
- `rustls-webpki`: 0.103.15 → 0.103.16
- `zip`: 9.1.0 → 9.1.3

Lockfile only.
2026-11-15 14:41:22 -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