Commit Graph
443 Commits
Author SHA1 Message Date
FredApps 1980f52709 Merge upstream main into panorama diagnostics
Preserve both the panorama and SAM GPU documentation history.
2026-11-30 02:49:18 +01:00
Dylan M. Taylor 746a147bee feat(nightly): adopt craft-nightly for self-isolating nightly startup (#4910)
* feat(nightly): adopt craft-nightly for self-isolating nightly startup

* fix(nightly): answer bare version queries before profile resolution

* fix(nightly): preserve launcher -- separator ahead of forwarded files

* test(nightly): preserve app profile preparation behavior
2026-11-29 20:05:09 -05:00
FredApps 41481bed53 Release: bump to 0.22.0 (#4869)
cargo xtask version set 0.22.0 (Cargo.toml, Cargo.lock), and What's New's
Unreleased section becomes the 0.22.0 section, so Help > What's New in the
release does not call shipped changes unreleased.
2026-11-28 20:58:13 +01:00
FredApps 1d5898b0b0 Merge main (4edf1ee286) into fix-2284-local-file-dates
Conflicts:
Cargo.lock

Ported in this merge: Cargo.lock conflicted only because this PR adds jiff; the lock is main's with just jiff 0.2.46 and its jiff-core/jiff-static/jiff-tzdb-platform entries added (53 lines, no other version changes). Engine clippy (all targets, -D warnings) passes locally.
2026-11-26 21:24:31 +07:00
FredApps 3649cafdc6 Merge branch 'sam3-gpu-1-plumbing' (with main merged) into sam3-gpu-2-backbone 2026-11-26 19:19:30 +07:00
FredApps 8fc5c8d1bf Merge branch 'main' into sam3-cpu-speed 2026-11-26 10:29:14 +01:00
FredApps 6541fa5ac3 Merge pull request #4608 from dotCooCoo/fix/zip-advisory
deps: update candle to 0.11.1 to move zip past GHSA-m665-v7pm-7grj
2026-11-26 10:05:28 +01:00
Dylan M. Taylor ea033fbe1c packaging(linux): support co-installable nightly packages (#4723)
Linux nightly packaging by @dylanmtaylor, with the per-app Nightly flavor commits stacked on his branch.

SonarCloud coverage shard fails on pre-existing teardown crashes that also fail on main (tests::scan_probes::a_browse_through_a_link_and_dot_dot_reads_the_folder_the_system_names and tests::lifecycle_037::a_widget_gesture_cancels_if_its_target_moves_between_resolution_and_the_press, the GPU warm-up thread at process exit), fixed by #4697; reported to the LightCraft owner.

Co-authored-by: Dylan M. Taylor <[email protected]>
2026-11-25 01:43:25 -06:00
dotCooCoo 76bcfaae45 deps: update zip to 9.8.2 for GHSA-h5xf-qc2v-94w6 and GHSA-fpwh-q2m5-vfm2
zip 9.1.3 is in the range of GHSA-h5xf-qc2v-94w6 (fixed in 9.2.0) and
GHSA-fpwh-q2m5-vfm2 (fixed in 9.2.3). candle-core 0.11.1, craft-zip and
craft-update all require zip ^9, so `cargo update -p zip` moves the
workspace to 9.8.2, which adds constant_time_eq 0.6.1. The other
dependency edges in Cargo.lock are unchanged.
2026-11-24 13:05:44 -08:00
Dylan M. Taylor 3575564abf raw, engine: bump craft-libs to b2d2a1e94 and use WB-before-demosaic + clip mask (#3042) 2026-11-22 22:50:05 -05:00
FredApps f53de4399a build: pin craft-libs to main 2be967e (craft-libs#778)
Moves every storytold/craft-libs crate from 33be356 to 2be967ec, the
merge of storytold/craft-libs#3042, refreshes Cargo.lock with
cargo update -w and regenerates the Flatpak cargo sources.
2026-11-23 07:54:32 +07:00
FredApps a65bb94bd6 build: pin craft-libs to main 33be356 (craft-libs#778)
Move every craft-libs crate to one rev merged on craft-libs main, so the
shared WAL committed-prefix scan from craft-libs#3066 is available for
the follow-up catalog caller switch.
2026-11-23 05:57:03 +07:00
Dylan M. Taylor f3aa598c69 pipeline, raw, inpaint: delegate extracted #587 modules to craft-develop (#4656)
* pipeline, raw, inpaint: delegate extracted #587 modules to craft-develop

* raw: fix craft_raw ColorData/RawImage bridge and opcode test imports

* raw: remove unused to_craft_mat3 in bridge

* pipeline: fix craft-develop bridge, Cargo.toml, Planes Clone, and light_v3 tests

* pipeline: remove unused is_bw, from_craft_mat3, and srgb_to_linear

* raw, pipeline: preserve lightcraft_geom::Orientation in SourcePlacement

* pipeline: use camera-space wb_matrix_for in white_balance and scene_linear_pre

* pipeline: forward masks and LocalAdjustments in to_craft_settings

* pipeline: fill remaining LocalAdjustments fields in bridge
2026-11-22 16:57:48 -05:00
Terra854 fdcfc4e5aa deps: align LightCraft on merged craft-libs (#4645)
* deps: pin shared HDR histogram and SQLite record helpers

* deps: align LightCraft on merged craft-libs

* test(codecs): distinguish a missing PSD pad from truncated data
2026-11-22 20:49:31 +07:00
Terra854 b24a5b228e Use the shared PSD and PSB prefix check for file routing (#4639) 2026-11-21 22:20:02 -05:00
Terra854 81db84ab43 Use shared ISO-BMFF brand framing for image sniffing (#4617)
* Stage the shared brand reader dependency

* Use shared ISO-BMFF brand framing for image sniffing
2026-11-21 13:04:34 -05:00
dotCooCoo 1a97520181 deps: update candle to 0.11.1 to move zip past GHSA-m665-v7pm-7grj
candle-core 0.9.2 pulled zip 7.4.0, which GHSA-m665-v7pm-7grj
(CVE-2026-115905, critical) covers for every release up to 9.0.4.
candle-core and candle-nn 0.11.1 require zip ^9.1.3, so the
workspace now resolves a single zip 9.1.3.

candle-core 0.11.1 builds `tokenizers` with its pure-Rust
`fancy-regex` backend instead of Oniguruma. The pin comment in
Cargo.toml and docs/ai-masks.md now state that.
2026-11-20 19:06:25 -08:00
Dylan M. Taylor be760ee524 engine: adopt shared craft-sqlite page/record helpers and cross-app parity tests (#4605)
* engine: adopt shared craft-sqlite page/record helpers and cross-app parity tests

* engine: drop unused be_u16_at and bump craft-sqlite rev

* engine: adopt #2696 PayloadKind local_payload_len and fix cyclic overflow fixture

* chore: pin craft-sqlite to merged craft-libs main (0350c2edc)
2026-11-20 20:57:14 -05:00
Dylan M. Taylor 1c778f150b pipeline,color: use shared 1024-entry LUT composition and tone/finish math (#587) (#4598)
* pipeline,color: use shared 1024-entry LUT composition and tone/finish math (#587)

* test(pipeline): satisfy clippy field_reassign_with_default

* fix(color): preserve legacy MonotoneCurve points past 1024 before sorting

* test(pipeline): verify composed channel samples and pinned tone/finish render parity

* test(pipeline): match ToneMap::display log-EV LUT tolerance (2e-3)
2026-11-20 20:37:28 -05:00
Dylan M. TaylorandTerra854 10b2c2e3e1 codecs(psd): recover PSD/PSB composites from original bytes via craft-psd (#4602)
* T010: recover PSD composites from original bytes

* test(codecs): cover odd final pad, truncated resource, and huge pixel limit

---------

Co-authored-by: Terra854 <[email protected]>
2026-11-20 19:55:33 -05:00
tecari0andClaude Opus 5.5 f59ce8451f Merge main into fix-2284-local-file-dates
Main split files.rs, import.rs and headless.rs into modules. The
local-time changes now live in import/commit.rs, files/fs.rs,
files/tests.rs and headless/tests.rs. The new
write_png_with_metadata helper also pins its file date with
local_instant.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-20 14:00:24 -08:00
Dylan M. Taylor 368855cd1e codecs: use shared container muxing for slideshow video (#4557)
* codecs: use shared container muxing for slideshow video

* codecs: format shared mux adapter and return invalid writer state

* codecs: box active WebM mux state to keep writer variants compact

* test(slideshow): ignore craft-media Mp4Writer placeholder free box

* fix(codecs): include av01 ftyp brand and real WebM ReferenceBlock delta
2026-11-20 06:21:27 -05:00
Dylan M. Taylor 5eca431541 engine: use craft-sqlite for varint and serial-type decoding (#4576) 2026-11-20 03:54:34 -05:00
Dylan M. Taylor 89d11ab116 fix(engine): allow duplicate non-catalog entries in Lightroom backup ZIPs (#4581) 2026-11-20 03:01:52 -05:00
Dylan M. Taylor 2d905e0ab3 fix(engine): reject duplicate .lrcat central directory records in Lightroom backups (#4574)
* fix(engine): reject duplicate .lrcat central directory records in Lightroom backups

* fix(engine): use craft_zip::lenient::file::directory_record_names path

* build: enable lenient feature on craft-zip for directory_record_names

* fix(engine): decode DirectoryRecordName::name lossily as UTF-8

* fix(engine): use SeekableArchive::has_duplicate_names for strict directory parity
2026-11-19 23:32:35 -05:00
976f52ab69 geocode: use craft-zip for GeoNames downloads (#4566)
* T006: read GeoNames ZIPs with craft-zip

* geocode: take craft-zip at the workspace's craft-libs rev; build the fixture with its writer

craft-zip at 23acc704, the rev every other craft-libs crate here uses, has
the same Archive and Writer code as 5c496f6e (that rev only adds the
seekable reader), so the workspace stays on one craft-libs rev.

unzip::make now builds its one-file fixture with craft_zip::Writer instead
of hand-written headers, so geocode no longer needs crc32fast or
miniz_oxide.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* geocode: retain the selected ZIP entry index

---------

Co-authored-by: FredApps <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
2026-11-19 21:31:08 -05:00
Dylan M. Taylor a3f65b67b8 fetch: use shared craft_http_url::parse_content_range (#4546)
* fetch: use shared craft_http_url::parse_content_range

* chore: repin craft-http-url to craft-libs main
2026-11-19 20:41:29 -05:00
Dylan M. Taylor 1901762de2 engine: read Lightroom backup zip via craft-zip (#4555)
* engine: read Lightroom backup zip via craft-zip

* engine: pin Lightroom ZIP reader to merged shared revision

* engine: add mid-stream cancellation test for Lightroom backup extraction
2026-11-19 18:49:30 -05:00
Dylan M. Taylor 78b575658a fetch: delegate HTTP URL and redirect syntax to craft-http-url (#4337) 2026-11-19 09:14:32 -05: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
Dylan M. Taylor f52841444e chore(codecs): bump craft-psd to storytold/craft-libs main (#4529) 2026-11-18 18:57:40 -05:00
.CooCoo 7db608d694 Dependencies: take craft-libs main at 23acc70493 (#4127)
* Updates: take craft-update from craft-libs main at 6e03f65bf

craft-update moves from storytold/craft-libs at 1b34eba41 to 6e03f65bf,
craft-libs main with the update fixes from #763 and #803. Cargo.lock
records the new revision. The other craft-libs pins are unchanged.

* Updates: take craft-update from craft-libs main at e98299546

craft-libs e98299546 includes #923: the check of whether the copy can install itself now runs on the update-check thread instead of in Updater::tick on the UI thread.

* Dependencies: take craft-libs main at 3af2280ee3

Every craft-libs crate in the workspace moves to craft-libs main at
3af2280ee3, so the app builds against one craft-libs commit.

- crates/codecs: the separate craft-avif-encode alias of
  craft-image-codecs is removed. With both on one commit, cargo refuses
  the same package under two names. On native targets the avif feature
  now enables craft-image-codecs' avif and threads features, so a build
  without avif, and the wasm32 build, still leave the AV1 encoder out.
- crates/ui-egui: GroupLocation has two new fields, flyout_width and
  flyout_offset (storytold/craft-libs#627); the default dock location
  sets both to None, as craft-ui does for a new group.

* Dependencies: take craft-libs main at 3af718585c

Every craft-libs crate moves from 3af2280ee3 to craft-libs main at
3af718585c. craft-image-codecs now depends on the new craft-dds crate.

* Flatpak: regenerate cargo sources for craft-libs at 3af718585c

cargo-sources.json now lists the craft-libs git sources that Cargo.lock locks: one
commit, 3af718585c, for every craft-libs crate, and the new craft-dds crate. It
was generated with ./packaging/linux/flatpak/generate-cargo-sources.py.

* Dependencies: take craft-libs main at 453b0da782

Every craft-libs crate moves from 3af718585c to craft-libs main at
453b0da782. Cargo.lock changes only the craft-libs source lines, and
packaging/linux/flatpak/cargo-sources.json is regenerated with
generate-cargo-sources.py for the new commit.

craft-update now reads the installed files for a release the app offers
on a thread of its own, and the prompt opens at a later tick
(storytold/craft-libs#1149). startup_prompt_shows_and_closes offered a
release and checked the prompt after one frame, so it failed when that
thread had not answered yet. The test now waits for the thread's repaint
request and ticks until the prompt opens.

* Updates: startup prompt test fails instead of waiting forever

The offer's thread sends its answer before it asks for a repaint, so the
tick after that repaint reads the answer. The helper now ticks once after
the repaint and asserts that the prompt is open, instead of waiting for
another repaint that never comes when the answer opens no prompt.

The test also gives its updater a pins file that does not exist, so a
launcher choice on the machine running the tests does not stop the offer.
2026-11-18 11:43:24 -06:00
Dylan M. Taylor 8e26d2b7fb Pin craft-metadata and the TIFF cluster to the rev that has the shared helpers 2026-11-18 10:25:40 -05:00
Dylan M. Taylor e49049cdfd Merge branch 'codex/shared-raw-exif-consumer' of github.com:storytold/lightcraft into pr-4309
# Conflicts:
#	Cargo.lock
#	Cargo.toml
#	packaging/linux/flatpak/cargo-sources.json
2026-11-18 10:06:35 -05:00
Dylan M. Taylor ef8be0af03 Merge remote-tracking branch 'base-src/main' into pr-4309
# Conflicts:
#	Cargo.toml
#	packaging/linux/flatpak/cargo-sources.json
2026-11-18 10:05:56 -05:00
Dylan M. Taylor 18fa1bebce Merge branch 'codex/shared-jpeg-sef-consumer' into codex/shared-raw-exif-consumer 2026-11-18 10:04:03 -05:00
Dylan M. Taylor b800c6e573 Merge remote-tracking branch 'base-src/main' into tmp4308
# Conflicts:
#	Cargo.lock
#	Cargo.toml
#	crates/codecs/Cargo.toml
#	crates/raw/tests/it/dng.rs
#	packaging/linux/flatpak/cargo-sources.json
2026-11-18 10:02:00 -05:00
Dylan M. Taylor 8d8e5b89d2 Restore merged DNG dependency pins after metadata stack integration
Keep the RAW, TIFF and metadata public types at the merged writer revision. Drop only the unused egui patches already removed on main, and regenerate Flatpak sources. Preserve the existing metadata and JPEG cutovers and contributor history.
2026-11-18 10:00:31 -05:00
Dylan M. Taylor 19bfe49c2a Merge remote-tracking branch 'base-src/main' into pr-4426
# Conflicts:
#	packaging/linux/flatpak/cargo-sources.json
2026-11-18 09:57:56 -05:00
Dylan M. Taylor 635b542e0b Merge remote-tracking branch 'base-src/main' into pr-4426
# Conflicts:
#	Cargo.lock
#	crates/codecs/Cargo.toml
#	packaging/linux/flatpak/cargo-sources.json
2026-11-18 09:53:00 -05:00
Dylan M. Taylor 44add76111 Merge remote-tracking branch 'base-src/main' into pr-4304
# Conflicts:
#	packaging/linux/flatpak/cargo-sources.json
2026-11-18 09:51:18 -05:00
Dylan M. Taylor 0354bb81f9 Merge remote-tracking branch 'origin/main' into pr-4309 2026-11-18 09:21:36 -05:00
Dylan M. Taylor 2a07c3398e Merge remote-tracking branch 'origin/main' into pr-4426 2026-11-18 09:19:02 -05:00
Dylan M. Taylor 2abd2881b9 Merge remote-tracking branch 'origin/main' into pr-4304 2026-11-18 09:15:54 -05:00
Dylan M. Taylor 6e6b9d62ce Merge remote-tracking branch 'origin/main' into codex/shared-webp-consumer 2026-11-18 09:11:44 -05:00
Dylan M. Taylor d5382f20b4 Merge pull request #4340 from storytold/refactor/shared-dng-writer
raw: cut DNG wire writing over to craft-raw
2026-11-18 08:33:34 -05:00
Dylan M. Taylor 5606bccb4f Merge remote-tracking branch 'origin/main' into codex/shared-webp-consumer 2026-11-18 07:50:02 -05:00
FredApps b49622bdb6 Merge branch 'main' into issue-3404-unused-egui-patches 2026-11-18 16:30:12 +07:00
FredApps a607230a55 Merge branch 'main' into sam3-gpu-2-backbone 2026-11-18 16:23:41 +07:00
FredApps 7b96200f9b Merge branch 'main' into sam3-cpu-speed 2026-11-18 16:23:10 +07:00