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.
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.
* 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
* 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
* 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
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.