Commit Graph
4400 Commits
Author SHA1 Message Date
Dylan M. Taylor 2d13d97c6b fix(codecs): retain large AV1 frame support 2026-11-15 00:06:33 +00:00
Dylan M. Taylor 54a6ddd856 test(raw): encode single-plane JPEG XL fixtures as gray 2026-11-14 23:41:03 +00:00
Dylan M. Taylor e0dec0533f test(jxl): assert PQ encoded HDR samples 2026-11-14 22:50:14 +00:00
Dylan M. Taylor fea2efa39c fix(cutover): use craft-jxl decode limits by value 2026-11-14 22:25:33 +00:00
Dylan M. Taylor 176e15eeef fix(codecs): clear dead_code and useless_conversion clippy warnings 2026-11-14 21:56:22 +00:00
Dylan M. Taylor 8784024395 fix(codecs): use av1 feature and craft_video::av1 exports 2026-11-14 21:45:11 +00:00
Dylan M. Taylor a4d64049b5 fix(codecs): enable av1-encode feature and pass EncodeOptions by value 2026-11-14 21:29:53 +00:00
Dylan M. Taylor 5d22eff36c chore(codecs): cut over AVIF, AV1, and JXL tests to craft-libs 2026-11-14 21:19:39 +00:00
Dylan M. Taylor 6b2b7e6d11 fix(meta): import DateTime and Gps in exif write_tests (#4263)
* fix(meta): import DateTime and Gps in exif write_tests

* fix(meta): scope DateTime and Gps imports to write_tests
2026-11-14 15:21:35 -05:00
Dylan M. Taylor 25ffe3e5d4 codecs,raw,preview,meta,engine: cut over TIFF/JPEG/focus to craft-libs and fix CI (#4244)
* codecs,raw,preview,meta,engine: cut over TIFF/JPEG/focus to craft-libs and fix CI

* docs: update parity-checklist paths after craft-raw/craft-metadata cutover

* Remove unused codec workspace deps and cut examples over to craft-image-codecs

* chore: update Cargo.lock after removing unused codec deps
2026-11-14 13:49:38 -05: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 35ee13bf25 test: satisfy chunks exact clippy lint 2026-11-14 09:40:52 +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 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 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
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 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
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
Dylan M. Taylor 5a96dfc295 Fix Flatpak updates and bump to 0.21.1 (#4151)
* fix(flatpak): allow release checks and self-update helpers

* test: keep Flatpak permission parsing within strict Clippy rules

* chore: bump version to 0.20.1 for the Flatpak update fix

* test: map Flatpak manifests embedded by permission regression

* docs: explain the repaired Flatpak update path
2026-11-11 21:30:32 -05:00
Dylan M. Taylor c24cf70d4b WIP: raw decoding through craft-raw (not compiled) 2026-11-12 01:05:37 +00:00
Dylan M. Taylor 6aff3fb525 WIP: lensdb on craft-xml (not built) 2026-11-12 01:05:36 +00:00