Commit Graph
1830 Commits
Author SHA1 Message Date
dependabot[bot] 68ddff2da0 chore(deps): bump the cargo-dependencies group across 1 directory with 12 updates
Bumps the cargo-dependencies group with 12 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [jixel](https://github.com/awxkee/jixel) | `0.3.4` | `0.5.10` |
| [log](https://github.com/rust-lang/log) | `0.4.34` | `0.4.35` |
| [crc32fast](https://github.com/srijs/rust-crc32fast) | `1.5.3` | `1.5.5` |
| [candle-core](https://github.com/huggingface/candle) | `0.9.2` | `0.11.1` |
| [candle-nn](https://github.com/huggingface/candle) | `0.9.2` | `0.11.1` |
| [wgpu](https://github.com/gfx-rs/wgpu) | `30.0.1` | `30.0.2` |
| [rfd](https://github.com/PolyMeilex/rfd) | `0.17.2` | `0.18.0` |
| [harfrust](https://github.com/harfbuzz/harfrust) | `0.13.3` | `0.16.0` |
| [rustls-rustcrypto](https://github.com/RustCrypto/rustls-rustcrypto) | `0.0.2-alpha` | `0.1.0-pre.0` |
| [webpki-roots](https://github.com/rustls/webpki-roots) | `1.0.10` | `1.0.12` |
| [flate2](https://github.com/rust-lang/flate2-rs) | `1.1.10` | `1.1.11` |
| [brotli](https://github.com/dropbox/rust-brotli) | `9.0.0` | `9.1.3` |



Updates `jixel` from 0.3.4 to 0.5.10
- [Release notes](https://github.com/awxkee/jixel/releases)
- [Commits](https://github.com/awxkee/jixel/compare/0.3.4...0.5.10)

Updates `log` from 0.4.34 to 0.4.35
- [Release notes](https://github.com/rust-lang/log/releases)
- [Changelog](https://github.com/rust-lang/log/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/log/compare/0.4.34...v0.4.35)

Updates `crc32fast` from 1.5.3 to 1.5.5
- [Commits](https://github.com/srijs/rust-crc32fast/compare/v1.5.3...v1.5.5)

Updates `candle-core` from 0.9.2 to 0.11.1
- [Changelog](https://github.com/huggingface/candle/blob/main/CHANGELOG.md)
- [Commits](https://github.com/huggingface/candle/commits)

Updates `candle-nn` from 0.9.2 to 0.11.1
- [Changelog](https://github.com/huggingface/candle/blob/main/CHANGELOG.md)
- [Commits](https://github.com/huggingface/candle/commits)

Updates `wgpu` from 30.0.1 to 30.0.2
- [Release notes](https://github.com/gfx-rs/wgpu/releases)
- [Changelog](https://github.com/gfx-rs/wgpu/blob/trunk/CHANGELOG.md)
- [Commits](https://github.com/gfx-rs/wgpu/compare/wgpu-v30.0.1...wgpu-v30.0.2)

Updates `rfd` from 0.17.2 to 0.18.0
- [Release notes](https://github.com/PolyMeilex/rfd/releases)
- [Changelog](https://github.com/PolyMeilex/rfd/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PolyMeilex/rfd/compare/0.17.2...0.18.0)

Updates `harfrust` from 0.13.3 to 0.16.0
- [Release notes](https://github.com/harfbuzz/harfrust/releases)
- [Changelog](https://github.com/harfbuzz/harfrust/blob/main/CHANGELOG.md)
- [Commits](https://github.com/harfbuzz/harfrust/compare/0.13.3...0.16.0)

Updates `rustls-rustcrypto` from 0.0.2-alpha to 0.1.0-pre.0
- [Changelog](https://github.com/RustCrypto/rustls-rustcrypto/blob/master/CHANGELOG.md)
- [Commits](https://github.com/RustCrypto/rustls-rustcrypto/compare/v0.0.2-alpha...v0.1.0-pre.0)

Updates `webpki-roots` from 1.0.10 to 1.0.12
- [Release notes](https://github.com/rustls/webpki-roots/releases)
- [Commits](https://github.com/rustls/webpki-roots/compare/v/1.0.10...v/1.0.12)

Updates `flate2` from 1.1.10 to 1.1.11
- [Release notes](https://github.com/rust-lang/flate2-rs/releases)
- [Changelog](https://github.com/rust-lang/flate2-rs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/flate2-rs/compare/1.1.10...v1.1.11)

Updates `brotli` from 9.0.0 to 9.1.3
- [Release notes](https://github.com/dropbox/rust-brotli/releases)
- [Commits](https://github.com/dropbox/rust-brotli/compare/9.0.0...9.1.3)

---
updated-dependencies:
- dependency-name: brotli
  dependency-version: 9.1.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: cargo-dependencies
- dependency-name: candle-core
  dependency-version: 0.11.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: cargo-dependencies
- dependency-name: candle-nn
  dependency-version: 0.11.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: cargo-dependencies
- dependency-name: crc32fast
  dependency-version: 1.5.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo-dependencies
- dependency-name: flate2
  dependency-version: 1.1.11
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo-dependencies
- dependency-name: harfrust
  dependency-version: 0.16.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: cargo-dependencies
- dependency-name: jixel
  dependency-version: 0.5.7
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: cargo-dependencies
- dependency-name: log
  dependency-version: 0.4.35
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo-dependencies
- dependency-name: rfd
  dependency-version: 0.18.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: cargo-dependencies
- dependency-name: rustls-rustcrypto
  dependency-version: 0.1.0-pre.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: cargo-dependencies
- dependency-name: webpki-roots
  dependency-version: 1.0.12
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo-dependencies
- dependency-name: wgpu
  dependency-version: 30.0.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-11-19 04:33:41 +00:00
Dylan M. Taylor 5a24289898 raw: consume merged DJI DNG and Sony ZV-E10 fixes (#4532)
* raw: consume merged DJI DNG and Sony ZV-E10 fixes (#587)

Pin craft-raw to merged f589ff48, carrying craft-libs #2042 and #2039. Preserve the Fuji Kelvin adapter and other application codec pins. Bridge the RAW writer TIFF identity explicitly and regenerate Flatpak sources.

* raw: align engine preview fallback test TIFF error identity
2026-11-18 23:27:04 -05:00
eliets2andeliets2 2e49c4561e Match bundled camera profiles to Nikon model spellings (#3861)
* Match bundled camera profiles to Nikon model spellings

NEF files without colour matrices depend on the bundled camera profile for colour; missing it leaves the image flat and desaturated.

Normalize the model name (case, spacing and separators) when looking up bundled profiles so variant EXIF spellings find the same profile.

Test: bundled_profile_matches_nikon_model_spelling_variants failed before the change and passes after.

* Find the bundled Nikon Z 8 profile under the Z8 spelling and rebuild older previews

Add an explicit alias for the Exif spelling "NIKON Z8", which the case and spacing fold does not cover.
Advance the camera look version so previews made without the bundled profile are rebuilt.
Test: bundled_profile_matches_nikon_model_spelling_variants and a_proxy_from_the_previous_look_version_is_stale pass.

* Address review for pull request 3861

* Address remaining review requests

* Address review for pull request 3861

* Format the files this pull request changes

* Repair review branch integration

* Address remaining review requests

* Address review for pull request 3861

* Format the files this pull request changes

* Repair review branch integration

---------

Co-authored-by: eliets2 <287273517+eliets2@users.noreply.github.com>
2026-11-18 14:49:56 -06:00
cf3d0205ef Decode AVIF through shared image codecs (#4312)
* Decode AVIF through shared image codecs

* Include JPEG encoder distribution notices

* Exercise AVIF HDR decoding through public API

* Preserve AVIF source bit depth

* Test AVIF alpha through public entrypoints

* Update AVIF round trip for supported decode

* Document native AVIF decode support

* Clarify import feature gates

* Keep RAW fixtures valid under shared container and strip bounds

* Include sample-to-chunk mappings in CR3 fixtures

* Find Similar test: a photo read from memory isn't a missing read (#3823)

The second search after a stop plans its reads after frames in which the
loupe and filmstrip decoded photos; those are measured from memory
(source_ref takes the cached source), so the drive sees fewer than 12 reads
on a loaded machine. Check instead that no file is read twice, the searched
photo above all; the answer still needs every photo's signature.

* Find Similar test: every photo is measured after the resumed search

* Bound AVIF padded picture storage and preserve integer source flag

* Size the AVIF picture-store budget for the stored canvas, not the clap-cropped size

* Attribute the AVIF lossless decode fixture

* Keep the AVIF clap test helpers free of unwrap for the codecs lint gate

* lightcraft: keep the newer craft-cms pin after merging main

---------

Co-authored-by: Bruno-Alumn <171815746+Bruno-Alumn@users.noreply.github.com>
Co-authored-by: FredApps <153173854+FredApps@users.noreply.github.com>
2026-11-18 01:58:41 -05:00
Dylan M. Taylor 9de93337c5 Use shared HEIF metadata and preserve location checks (#4315) 2026-11-16 21:58:40 -05:00
FredApps 444dff540e Merge remote-tracking branch 'origin/main' into t4270b
# Conflicts:
#	packaging/linux/flatpak/cargo-sources.json
2026-11-16 09:10:10 +01:00
FredApps 7557fa5f78 Merge remote-tracking branch 'origin/main' into t4270b 2026-11-16 07:38:59 +01:00
FredApps e193b5daff Merge main and pin craft-plist to craft-libs#1633 merge 2026-11-16 06:58:21 +01:00
Dylan M. Taylor 829ed6f69a Delegate print PDF serialization to shared bounded raster writer 2026-11-15 17:53:24 -05:00
Dylan M. Taylor 478cb3bac6 Merge remote-tracking branch 'origin/main' into codex/light-plist-ci-refresh
# Conflicts:
#	Cargo.lock
#	crates/engine/Cargo.toml
2026-11-15 18:58:35 +00:00
Dylan M. Taylor 8a30374550 Merge remote-tracking branch 'origin/main' into feat/cutover-avif-jxl-tests
# Conflicts:
#	Cargo.lock
2026-11-15 18:47:45 +00:00
Dylan M. Taylor 116d3d6334 Retain Luminar date whitespace with shared XML policy 2026-11-15 11:24:34 -05:00
Dylan M. Taylor 3518393ce0 Delegate Luminar XML property lists to shared bounded reader 2026-11-15 11:23:32 -05:00
Dylan M. Taylor a14c333312 Reuse shared Base64 encoding for masks and image replies 2026-11-15 10:24:11 -05:00
Dylan M. Taylor 54d7531a73 Merge remote-tracking branch 'origin/main' into codex/lightcraft-av1-buffered-caller 2026-11-15 13:04:51 +00:00
Dylan M. Taylor 6afb3e1758 Merge remote-tracking branch 'origin/main' into codex/local-coverage-review-fix 2026-11-15 03:41:20 +00:00
Dylan M. Taylor ca4bbd2f94 test: extend slideshow waits under coverage 2026-11-15 03:40:48 +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 5d22eff36c chore(codecs): cut over AVIF, AV1, and JXL tests to craft-libs 2026-11-14 21:19:39 +00: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
Dylan M. Taylor f028b6ff66 Merge remote-tracking branch 'origin/main' into codex/local-coverage-review-fix 2026-11-14 16:08:59 +00: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
FredApps e2d1befd0b Merge branch 'main' into fix/1619-shutter-precision
# Conflicts:
#	docs/parity-checklist.md
2026-11-14 12:43:49 +01:00
Dylan M. Taylor 81d10df318 Merge remote-tracking branch 'origin/main' into codex/local-coverage-review-fix 2026-11-14 11:43:23 +00: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 48a5de3276 test: import PSD before corrupting resources 2026-11-14 08:14:57 +00: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 523f4418be test: fix timeout helper imports 2026-11-14 03:37:42 +00:00
Dylan M. Taylor 445efb07eb Merge remote-tracking branch 'origin/main' into codex/coverage-settle-budget 2026-11-14 03:33:08 +00:00
Dylan M. Taylor 0ee8704a29 test: extend coverage-only wait budgets 2026-11-14 03:29:32 +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
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 5bc8dbe30c test(engine): wait for availability wake notifications 2026-11-12 20:06:31 -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 c24cf70d4b WIP: raw decoding through craft-raw (not compiled) 2026-11-12 01:05:37 +00:00
Dylan M. Taylor c5d60d2fa7 Use craft-tiff from craft-libs for TIFF/IFD (#4088)
* Use craft-tiff from craft-libs; remove crates/tiff

lightcraft-tiff moved to craft-libs unchanged as craft-tiff
(storytold/craft-libs#783), the first step of sharing RAW support with
PhotoCraft (storytold/craft-libs#587). The layer table drops tiff and its
intra-layer ordering before raster.

* Pin craft-tiff to the merge of storytold/craft-libs#795
2026-11-11 19:51:47 -05:00
Dylan M. Taylor aea4b80554 Merge main into the craft-heif + craft-tiff base 2026-11-12 00:37:58 +00:00
Dylan M. Taylor 55b14eaa31 Merge #4085 (craft-heif) into #4088 (craft-tiff) 2026-11-12 00:37:30 +00:00
Dylan M. Taylor 8ef35987d4 security: mask.exportEffects refuses originals and sidecars, writes atomically (#4125)
* mask.exportEffects refuses originals and sidecars and writes atomically

* check_write_target refuses unresolvable .. components in a missing destination folder

* test: accept either refusal for a missing/.. destination (Windows resolves .. lexically)
2026-11-11 15:14:21 -05:00
Dylan M. Taylor d6ae2e9e7e security(engine): read user-named files through the opened regular file under a byte cap (#3703)
* security(engine): read user-named files through the opened regular file under a byte cap

* address review: compare the probe error with the std::fs::read error

* address review: open files for reading without waiting for a FIFO writer
2026-11-11 14:34:39 -05:00
Dylan M. Taylor f786b87533 security(meta): linear entity decoding, indexed keyword de-duplication, bounded XMP path building (#3672)
* security(meta): linear entity decoding, indexed keyword de-duplication, bounded XMP path building

* address review: decode zero-padded numeric references in the three entity decoders
2026-11-11 04:26:21 -05:00