5261 Commits
Author SHA1 Message Date
FredApps c4bbc92b6f Release: LightCraft v0.22.0 (main 487833ad19) 2026-11-14 21:47:23 +01:00
FredApps f6a5a1a230 Release: LightCraft v0.22.0 2026-11-14 21:47:20 +01:00
FredApps 487833ad19 Merge pull request #1692 from FredApps/fix/1619-shutter-precision
Preserve shutter precision through import and export (#1619)
2026-11-14 16:22:29 +01:00
FredApps a9ea230a1b fix: preserve existing UTF-8 source comments 2026-11-14 13:32:46 +01:00
FredApps e686c73109 fix: repair legacy shutter values in virtual copies 2026-11-14 13:32:20 +01:00
Dylan M. Taylor f72ba11a29 Merge pull request #4245 from dylanmtaylor/codex/png-hdr-consumer
LightCraft: use shared encoder for HDR PNG
2026-11-14 07:03:56 -05:00
FredApps e2d1befd0b Merge branch 'main' into fix/1619-shutter-precision
# Conflicts:
#	docs/parity-checklist.md
2026-11-14 12:43:49 +01:00
FredApps 4c9211ccd6 Merge pull request #3982 from FredApps/fix/artcraft-feature-names-20261108
Naming: distinguish perspective controls from external feature names
2026-11-14 12:16:29 +01:00
Dylan M. Taylor 1a8f831b83 Merge remote-tracking branch 'origin/main' into codex/png-hdr-consumer 2026-11-14 10:49:19 +00:00
Dylan M. Taylor 7513dadbd7 Merge pull request #4241 from dylanmtaylor/codex/psd-malformed-import
test: import PSD before corrupting resources
2026-11-14 05:48:12 -05:00
Dylan M. Taylor 35ee13bf25 test: satisfy chunks exact clippy lint 2026-11-14 09:40:52 +00:00
Dylan M. Taylor 88d825eb53 Merge remote-tracking branch 'fork/codex/parity-checklist-paths' into codex/psd-malformed-import 2026-11-14 09:27:58 +00:00
Dylan M. Taylor b406f217fa codecs: use shared image encoder for HDR PNG 2026-11-14 09:24:51 +00:00
Dylan M. Taylor 48a5de3276 test: import PSD before corrupting resources 2026-11-14 08:14:57 +00:00
Dylan M. Taylor 864b761f0c docs: clarify raw preview fallback in parity tracker 2026-11-14 06:51:48 +00:00
Dylan M. Taylor de565ff902 docs: refresh shared metadata and raw parity paths 2026-11-14 06:43:43 +00:00
Dylan M. Taylor c6f95d542d docs: update metadata parity source paths 2026-11-14 06:28:57 +00:00
Dylan M. Taylor c4b899f9d5 Merge pull request #4238 from storytold/fix/heif-options-chroma
fix(codecs): fix craft_heif::Options missing chroma field
2026-11-14 01:06:18 -05:00
Dylan M. Taylor 4e7c9d74af fix(codecs): initialize craft_heif::Options with ..Default::default() 2026-11-14 06:06:00 +00:00
Dylan M. Taylor 9381392579 Merge pull request #4234 from storytold/switch-lightcraft/wip-craft-raw
WIP: cut over crates/raw, lensdb XML, and gainmap to craft-libs (#778)
2026-11-14 00:44:19 -05:00
Dylan M. Taylor 989735d60e Merge pull request #4237 from storytold/codex/fix-ci
Fix 16-bit ZIP TIFF compression size test in CI
2026-11-14 00:44:15 -05:00
Dylan M. Taylor 6f012c10b7 chore: finish craft-raw/craft-libs cutover after merge with main 2026-11-14 05:38:31 +00:00
Dylan M. Taylor 8a2f20f1ac Merge remote-tracking branch 'origin/main' into switch-lightcraft/wip-craft-raw
# Conflicts:
#	Cargo.lock
#	Cargo.toml
#	crates/codecs/Cargo.toml
#	crates/codecs/src/heif.rs
#	crates/codecs/src/psd.rs
#	crates/meta/Cargo.toml
#	crates/raw/Cargo.toml
#	crates/raw/src/dcp.rs
#	crates/raw/src/dng.rs
#	crates/raw/src/gaintable.rs
#	crates/raw/src/lib.rs
#	crates/raw/src/semantic.rs
#	crates/raw/src/vendor/arw6.rs
#	crates/raw/src/vendor/cr2.rs
#	crates/raw/src/vendor/cr2/sraw.rs
#	crates/raw/src/vendor/crw.rs
#	crates/raw/src/vendor/erf.rs
#	crates/raw/src/vendor/hasselblad.rs
#	crates/raw/src/vendor/kodak.rs
#	crates/raw/src/vendor/mef.rs
#	crates/raw/src/vendor/mrw.rs
#	crates/raw/src/vendor/nef.rs
#	crates/raw/src/vendor/nef_lens.rs
#	crates/raw/src/vendor/nefc.rs
#	crates/raw/src/vendor/pef.rs
#	crates/raw/src/vendor/srw.rs
2026-11-14 05:26:37 +00:00
Dylan M. Taylor 7927090f19 codecs: use DeflateLevel::Balanced for TIFF ZIP compression 2026-11-14 05:15:48 +00:00
Dylan M. Taylor 8be5abcef1 Merge pull request #4233 from Bruno-Alumn/fix/fmt-meta-merge-rules
meta: cargo fmt the MergeRules call (main's CI fails at fmt)
2026-11-13 22:36:55 -05:00
Bruno-Alumn be2cb6e727 meta: cargo fmt the MergeRules call so CI's fmt step passes 2026-11-14 04:34:50 +01:00
Dylan M. Taylor 4ed1fc4d77 Merge pull request #4231 from storytold/codex/lightcraft-craftlibs
Migrate metadata, PSD header/resources, GIF, and JXL to craft-libs (#778)
2026-11-13 22:13:17 -05:00
Dylan M. Taylor 08aefe52d7 codecs: use shared craft-jxl codec in LightCraft (craft-libs#1229) 2026-11-14 00:14:06 +00:00
Dylan M. Taylor 27791850a0 codecs: migrate GIF decoding and bounds to craft-gif (#4222) 2026-11-14 00:12:10 +00:00
Dylan M. Taylor 9cd6817c3b codecs, meta: read PSD header and image resources with craft-psd (#4167) 2026-11-14 00:09:58 +00:00
Dylan M. Taylor 264330d7e9 meta: migrate DateTime, gpx, and xmp_merge to craft-metadata 2026-11-14 00:03:58 +00:00
FredApps 1f8e1ef1ad Merge branch 'main' into fix/1619-shutter-precision
# Conflicts:
#	crates/catalog/src/model.rs
#	crates/engine/src/files/tests.rs
#	docs/parity-checklist.md
2026-11-13 20:49:01 +01:00
FredApps 039fbdc645 Merge branch 'main' into fix/artcraft-feature-names-20261108 2026-11-13 20:43:08 +01:00
FredApps 0b64e349c0 CI: use the shared git-sources check and WiX install (#4156)
nix.yml ran its own copy of the git-sources job; it now calls
craft-common-actions git-sources.yml. release.yml's copy is removed:
the shared release.yml runs the same check before any build.
packaging-lint.yml's install-folder job installs WiX through the shared
install-wix action instead of its own dotnet tool install.
2026-11-13 14:04:46 +01:00
skylar taylor-barrick fd0b914e6c Guard opened-library catalog and settings writes (#3825)
Partial mitigation for #3240, preserving the original contribution and follow-up commits. Clone/remount trade-offs, directory-relative I/O, Windows folder identity and other path-based writers remain tracked under #3240.
2026-11-12 21:42:53 -06:00
skylar taylor-barrick d23de47288 test(engine): isolate the initial availability notifications 2026-11-12 20:28:09 -06:00
skylar taylor-barrick d7372407bb fix(catalog): make held caller logs writable for rollback 2026-11-12 20:28:09 -06:00
skylar 5bc8dbe30c test(engine): wait for availability wake notifications 2026-11-12 20:06:31 -06:00
skylar 18e8980d2a test(catalog): gate Unix-only folder test imports 2026-11-12 20:06:31 -06:00
skylar 5c5981898c fix(catalog): bind log recovery to observed files 2026-11-12 18:50:54 -06:00
skylar e689453e57 fix(catalog): refuse gaps in synchronous fallback logs 2026-11-12 18:01:17 -06:00
skylar fbdf4f5760 chore(ui): simplify render request boolean for clippy 2026-11-12 17:28:08 -06:00
skylar 19985a3f19 fix(catalog): reopen fallback appends in the accepted folder 2026-11-12 17:28:07 -06:00
skylar 690f6cfb58 fix(catalog): verify staging identity after streamed writes 2026-11-12 16:53:15 -06:00
skylar 5fa4d0eba6 Merge current main into library folder safety work 2026-11-12 15:52:20 -06:00
Dylan M. Taylor a75497d634 security: importers and preset application index instead of rescanning
* security: importers and preset application index instead of rescanning

* address review: keep first match when indexing names, skip used mask ids, move presets instead of cloning

* address review: a dry-run import keeps its rows, not the parsed presets

* merge main into fix/sec-importers-indexed

* address review: key duplicate presets by the settings value, so 0.0 and -0.0 are one preset

* preset import index: key numbers as f64 so 0 and 0.0 cannot collide
2026-11-12 06:29:07 -05:00
Dylan M. Taylor 9563f22969 security(pipeline): one dab budget per brush mask; linear-time defringe min/max
* security(pipeline): one dab budget per brush mask; linear-time defringe min/max

* address review: drop min_filter transpose buffers once consumed

* address review: an over-budget brush mask fails the render instead of dropping later strokes

* merge main into fix/sec-pipeline-render-work; the web worker rejects an over-budget brush mask

* address review: validate brush budgets on the mask's own frame; an exactly filled budget is not over it
2026-11-12 06:28:59 -05:00
Dylan M. Taylor 0d88706ec5 security(meta): bound namespace declarations in scope while parsing XMP
* security(meta): bound namespace declarations in scope while parsing XMP

* address review: a readable sidecar that fails the merge read-back is kept and the save fails

* address review: a sidecar over the XMP complexity limit is kept and the save fails

* merge main into fix/sec-xmp-namespace-bound

* address review: text with no rdf:RDF element is backed up and replaced, not kept as readable

* xmp merge: open a self-closing rdf:RDF element instead of replacing the sidecar
2026-11-12 06:28:53 -05:00
Dylan M. Taylor 49c9d4e0ca security: bound token expansion, sanitize the name fallback, regular-file sidecar reads, recased sidecar guard
* engine: cap token expansion, clean the catalog-name fallback, bound sidecar and raw reads, protect recased sidecars, cap graphic pixels
2026-11-12 06:28:46 -05:00
Dylan M. Taylor e4dd081dd4 Use craft-gainmap from craft-libs for gain map metadata and arithmetic
Use craft-gainmap from craft-libs for gain map metadata and arithmetic

* Use craft-heif from craft-libs; remove crates/heif

lightcraft-heif moved to craft-libs unchanged as craft-heif
(storytold/craft-libs#784), so PhotoCraft can share it. The layer table,
the heif CI step and the change triggers drop the local crate; a workspace
file change (which a craft-heif rev bump is) still runs the heif step.

* Pin craft-heif to the merge of storytold/craft-libs#794

* docs: the HEIF rows point at craft-heif, not the removed crates/heif

* Use craft-gainmap from craft-libs for gain map metadata and arithmetic

crates/codecs/src/gainmap.rs keeps the JPEG layout (encode_jpeg, read_jpeg,
is_gain_map_jpeg) and re-exports GainMapMeta, GainImage, GainMapOptions,
ISO_URN, compute and apply from craft-gainmap, which is this file's metadata
and arithmetic moved to craft-libs (storytold/craft-libs#904). The tests of
the moved code went with it.

* craft-heif's Options has a chroma field at this rev: keep the libheif upsampling LightCraft had

* raw: count the chunks a TIFF declares from its offsets table

craft-tiff builds at most one chunk descriptor per byte of file
(craft-libs#827), so a grid of tiles sharing one payload lists fewer
chunks than the image declares. Compare the offsets table, which is the
source of truth, so such a file reaches the byte-accounting check and is
refused for the data it actually holds.
2026-11-12 00:43:54 -05:00