593 Commits
Author SHA1 Message Date
Dylan M. Taylor 448b9cce15 ci(nightly): roll out signing pin, macOS docs layout, and profile reopen fix (#4865) 2026-11-28 12:17:29 -05:00
FredApps 85c38c487b Merge pull request #2974 from OneSlips/pr/windows-maximized-window
LR-BEHAV-WINDOW: on Windows a maximized window opens maximized
2026-11-26 18:29:19 +01:00
FredApps 2fac6b8351 Merge main (5ced0a20dc) into catalog-keep-before-upgrade
Conflicts:
crates/engine/src/tests/persist.rs

Ported: crates/engine/src/tests/persist.rs keeps both sides' new tests (this PR's upgrade-notice tests and main's partly-applied-rollback tests). The persist tests and clippy pass locally.
2026-11-26 23:53:58 +07:00
FredApps a0d543bd10 Merge main (a5531d485d) into pr/windows-maximized-window
Conflicts:
docs/parity-checklist.md

Ported: the locale and docs conflicts keep both sides' entries.
2026-11-26 23:36:24 +07:00
FredApps a5531d485d Merge pull request #3217 from nledford/mac-menu-appkit-help
MENU-HELP-FEEDBACK: the macOS Help menu has one feedback row, LightCraft's
2026-11-26 17:35:29 +01:00
FredApps 4ea3682baa Merge main (fc10a3faa6) into pr/windows-maximized-window
Conflicts:
docs/parity-checklist.md

Re-merged main after today's merges.  Conflicts: docs/parity-checklist.md   Docs/locale conflicts are resolved by keeping both sides. Also folds in two fixes for main so the gate passes: crates/engine/src/import/job.rs gets rustfmt (the #1995 merge left it unformatted, so every gate failed at fmt), and the Windows-only folders test joins each path component.
2026-11-26 22:34:22 +07:00
FredApps d31f84ffa7 Merge main (fc10a3faa6) into mac-menu-appkit-help
Re-merged main after today's merges. Conflicts: docs/parity-checklist.md  Re-merged main after 2092/2204/2418 landed: only docs/parity-checklist.md conflicted (rows from both sides kept, summary regenerated); no code change since the last merge.   Docs/locale conflicts are resolved by keeping both sides. Also folds in two fixes for main so the gate passes: crates/engine/src/import/job.rs gets rustfmt (the #1995 merge left it unformatted, so every gate failed at fmt), and the Windows-only folders test joins each path component.
2026-11-26 22:34:09 +07:00
FredApps d09958267f Merge main (fc10a3faa6) into codex/startup-detail-file-open
Re-merged main after today's merges. Conflicts: docs/gaps.md docs/parity-checklist.md docs/whats-new.md  Re-merged main (no conflicts); the earlier gate-windows failure was main's test, fixed here. Also in this merge: main's folders test a_date_folder_inside_the_library_can_be_renamed_but_the_librarys_own_folders_cannot built its expected path as lib.join("Originals/Beach/a.jpg"), which fails on Windows (mixed separators). It now joins each component, so the Windows gate passes; the test passes locally.   Docs/locale conflicts are resolved by keeping both sides. Also folds in two fixes for main so the gate passes: crates/engine/src/import/job.rs gets rustfmt (the #1995 merge left it unformatted, so every gate failed at fmt), and the Windows-only folders test joins each path component.
2026-11-26 22:34:04 +07:00
FredApps 07696219dd Merge main (fc10a3faa6) into catalog-keep-before-upgrade
Re-merged main after today's merges. Conflicts: docs/whats-new.md  Re-merged main: only docs/whats-new.md conflicted (both entries kept). Includes my 8b05bc2b CodeRabbit fixes (a landed snapshot reconciled after an error; persistence doc). Also in this merge: main's folders test a_date_folder_inside_the_library_can_be_renamed_but_the_librarys_own_folders_cannot built its expected path as lib.join("Originals/Beach/a.jpg"), which fails on Windows (mixed separators). It now joins each component, so the Windows gate passes; the test passes locally.   Docs/locale conflicts are resolved by keeping both sides. Also folds in two fixes for main so the gate passes: crates/engine/src/import/job.rs gets rustfmt (the #1995 merge left it unformatted, so every gate failed at fmt), and the Windows-only folders test joins each path component.
2026-11-26 22:33:59 +07:00
FredApps 4ce839b216 Merge pull request #2988 from radialmonster/fix-2970-export-sharpness
Export: Lanczos-3 downscale and a Gaussian luma unsharp mask for crisper exports
2026-11-26 16:15:27 +01:00
FredApps 43f5eb93f0 Merge main (30e25557cb) into catalog-keep-before-upgrade
Conflicts:
docs/whats-new.md

Re-merged main: only docs/whats-new.md conflicted (both entries kept). Includes my 8b05bc2b CodeRabbit fixes (a landed snapshot reconciled after an error; persistence doc). Also in this merge: main's folders test a_date_folder_inside_the_library_can_be_renamed_but_the_librarys_own_folders_cannot built its expected path as lib.join("Originals/Beach/a.jpg"), which fails on Windows (mixed separators). It now joins each component, so the Windows gate passes; the test passes locally.
2026-11-26 22:09:18 +07:00
FredApps f4c377de13 Merge main (30e25557cb) into codex/startup-detail-file-open
Conflicts:
docs/gaps.md
docs/parity-checklist.md
docs/whats-new.md

Re-merged main (no conflicts); the earlier gate-windows failure was main's test, fixed here. Also in this merge: main's folders test a_date_folder_inside_the_library_can_be_renamed_but_the_librarys_own_folders_cannot built its expected path as lib.join("Originals/Beach/a.jpg"), which fails on Windows (mixed separators). It now joins each component, so the Windows gate passes; the test passes locally.
2026-11-26 22:09:08 +07:00
FredApps a84157b464 Merge main (ca5c4c1a30) into mac-menu-appkit-help
Conflicts:
docs/parity-checklist.md

Re-merged main after #2092/#2204/#2418 landed: only docs/parity-checklist.md conflicted (rows from both sides kept, summary regenerated); no code change since the last merge.
2026-11-26 21:47:28 +07:00
FredApps e7d729535f window placement: the time limit runs while the window is hidden, so a hidden start ends placement and its repaints (CodeRabbit on #2974) 2026-11-26 21:27:53 +07:00
FredApps fb14545c65 Merge main (4edf1ee286) into codex/startup-detail-file-open
Conflicts:
apps/lightcraft/src/main.rs
docs/gaps.md
docs/parity-checklist.md
docs/whats-new.md

Ported in this merge: main.rs keeps main's nightly identity setup and then this PR's start_launch_files call. The startup_view tests pass locally.
2026-11-26 21:21:23 +07:00
FredApps 6937d937f9 Merge main (4edf1ee286) into fix-2970-export-sharpness
Clean merge of main; engine clippy (all targets, -D warnings) passes locally.
2026-11-26 21:21:19 +07:00
FredApps 1800971382 Merge main (3c6a9f2c47) into camera-colour-pushed-shadows
Conflicts:
crates/engine/src/media/source.rs
docs/parity-checklist.md

Delta since approval (2630748a..91620b0f: doc cites, panic! in a test, render-cache bump) reviewed. Conflict: RENDER_CACHE_VERSION goes to 86 (main is at 85, 83 reserved by #3943), documented in main's version list.
2026-11-26 21:06:09 +07:00
FredApps ba6e5423d5 Merge main (3c6a9f2c47) into pr/windows-maximized-window
Conflicts:
apps/lightcraft/src/main.rs
docs/parity-checklist.md

Delta since approval (fb4bd215, 5242e7db, d69d76d3, 36a1cf29: window minimum weighed at the interface zoom, fitted or maximized within small screens, with tests) reviewed. Conflict: main.rs takes main's channel window title with the PR's MAXIMIZE_LATER argument.
2026-11-26 21:01:30 +07:00
FredApps 39fd014463 Merge main (f8aee307b2) into catalog-keep-before-upgrade
Conflicts:
docs/whats-new.md

Delta since approval (6934ade5 remove ends the log thread + test; f8e5be99 staging-file cleanup guarded) reviewed. Clean merge.
2026-11-26 20:49:41 +07:00
FredApps 98dc44c3d6 Merge main (46ab3c1387) into mac-menu-appkit-help
Conflicts:
Cargo.toml
apps/lightcraft/src/main.rs
docs/parity-checklist.md
docs/whats-new.md

Conflicts: Cargo.toml takes main's objc2-app-kit line (0.3.2, NSAccessibility, NSWorkspace) plus this PR's NSString/NSUserDefaults foundation features; main.rs keeps both module lists. docs/whats-new.md: main's file plus this PR's entry under 2026-10-27 (the branch's earlier merges had moved main's 10-28/10-29 sections; main's layout is kept). Parity: both revision rows.
2026-11-26 19:59:46 +07:00
FredApps 9866f15af8 Merge pull request #2373 from nledford/reduce-motion
LR-BEHAV-ACCESS: Reduce motion stops zoom, scroll and spinner animations, and follows macOS until you choose
2026-11-26 12:27:10 +01:00
FredApps dee3cf4840 Merge remote-tracking branch 'origin/main' into pr3203
# Conflicts:
#	docs/parity-checklist.md
2026-11-26 17:40:43 +07:00
FredApps 1dedbed74a Merge remote-tracking branch 'origin/main' into pr2373
# Conflicts:
#	crates/ui-egui/locales/cs.json
#	crates/ui-egui/locales/de.json
#	crates/ui-egui/locales/es.json
#	crates/ui-egui/locales/fi.json
#	crates/ui-egui/locales/fr.json
#	crates/ui-egui/locales/id.json
#	crates/ui-egui/locales/it.json
#	crates/ui-egui/locales/ja.json
#	crates/ui-egui/locales/ka.json
#	crates/ui-egui/locales/pl.json
#	crates/ui-egui/locales/pt-br.json
#	crates/ui-egui/locales/ru.json
#	crates/ui-egui/locales/sv.json
#	crates/ui-egui/locales/uk.json
#	crates/ui-egui/locales/vi.json
#	crates/ui-egui/locales/zh-hans.json
#	crates/ui-egui/locales/zh-hant.json
2026-11-26 17:40:38 +07:00
FredApps bccdf4d539 Merge pull request #3461 from dotCooCoo/feat/slideshow-pan-and-zoom
LRC-SS-PLAYBACK: pan and zoom moves and zooms each photo during playback
2026-11-26 11:19:24 +01:00
FredApps 4af1602b6d Merge branch 'main' into feat/slideshow-pan-and-zoom 2026-11-26 10:30:51 +01:00
FredApps 11516ce39b Merge branch 'main' into mac-window-menu 2026-11-26 10:14:56 +01:00
FredApps f61d16bc21 Merge branch 'main' into reduce-motion 2026-11-26 10:14:30 +01:00
FredApps c7bc20f893 Merge branch 'main' into ui-menu-path-separator 2026-11-26 10:14:20 +01:00
skylar taylor-barrick baeaac722d Nightly: stop blocking a refused launch on macOS (#4752)
Nightly launch fix under Skylar's Exec 454: the Launcher's trailing `--` no longer reaches the file list where that applied, and a refused launch no longer blocks on macOS (the reason goes to stderr and the app exits 2).

The red sonarcloud / SonarCloud Scan check is inherited: coverage shards 1, 3, 4, 7 and 8 each report three teardown SIGSEGVs in lightcraft-ui-egui UI tests, with zero FAILED tests and zero panics. It is the GPU warm-up thread still running at process exit, which lightcraft #4697 fixes (awaiting Fred). Every gate and test job on this PR is green.
2026-11-26 02:00:17 -06: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
Nathaniel Ledford e928a11f0c Merge origin/main (78b575658a) into reduce-motion
origin/main at 78b575658a
2026-11-19 10:48:14 -05:00
Nathaniel Ledford a3cac015c1 Merge origin/main (78b575658a) into catalog-keep-before-upgrade
origin/main at 78b575658a
2026-11-19 10:34:40 -05:00
FredApps ff3e054877 Merge branch 'main' into ui-menu-path-separator 2026-11-18 16:23:16 +07:00
FredApps 3719c9889d Merge branch 'main' into mac-menu-appkit-help 2026-11-18 16:22:14 +07:00
FredApps 991209531a Merge branch 'main' into mac-window-menu 2026-11-18 16:22:11 +07:00
dotCooCoo bd8409cdb4 Slideshow: pan and zoom moves the strip an extreme crop is composed into
The part of a composed slide that pan and zoom moves came from the crop's
aspect. The composer lays the photo out at its render's size in whole
pixels, at least 1 px a side, so for a very narrow or wide crop the two
differ: at aspect 0.001 the crop's aspect gave the whole image cell while
the photo was a 1 px strip, and the backdrop in the cell moved with it.

A slide job's result now records the size of the photo's render it was
composed from (RenderResult::slide_photo, also set by the web build's
render workers), the slide's texture keeps it, and moving_part lays the
slide out with that size.
2026-11-17 19:05:56 -08:00
robmdunn 38fa8bc5cc Merge branch 'raw-negative-channels' into camera-colour-pushed-shadows 2026-11-15 09:19:42 -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 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
FredApps 4ecbd194fd LRC-LIB-CATALOG-IMPORT: reconcile backup import with main
Preserve collection ownership, check extraction space, and resolve the upstream merge.
2026-11-09 22:14:17 +01:00
robmdunn 592131afa4 Merge raw-negative-channels (with main) into camera-colour-pushed-shadows 2026-11-09 08:02:56 -05:00
dotCooCoo 9e8a7b7c88 Updates: the updater reports installing, ready, installed and failed, and installs at exit
craft-update moves from a231e517 to the head of storytold/craft-libs#696.
The check result window now shows for every status but idle, so the first
start after an update reports that it installed or why it failed. Restart
to Update on a ready update asks the app to close.

The install helper now starts when the app exits. on_exit calls
Updater::start_pending_update through LightcraftApp on macOS, because the
process ends there without dropping the app.
2026-11-08 18:26:40 -08:00
helgehelge123andClaude Opus 5.5 025dd072e4 Merge remote-tracking branch 'origin/main' into ui-menu-path-separator
dialogs.rs keeps What's New's whats_new_line and main's first-run tour;
the grid's Find Similar Photos follows main (the toast moved to
find_similar.rs, whose menu path now uses → like the catalogs' key).
ka.json merged key by key: main's new tour keys kept, the stale
External Editor key stays dropped as in the other catalogs.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-09 01:47:06 +01:00
Nathaniel LedfordandClaude Opus 5.5 70a7c2bf8d Catalog: an upgrade keeps the files it replaces
Opening a library in an older format rewrites it in this build's, and older
builds then refuse it: a one-way step. Journal::open now first keeps the
files the library was, byte for byte, as catalog.snap.v<format>-<seq> and
catalog.log.v<format>-<seq>, and reports their names (LoadReport::kept).
Put back under their own names they are the library as the older build
left it (docs/catalog-persistence.md, Going back to an older version).

A library whose files can't be kept is not upgraded (it opens as it is; the
next open tries again), and an upgrade that fails leaves no copy; kept files
stay whenever the upgrade may have been written. A library whose log was
damaged is an upgrade like any other: its snapshot is kept beside the
damaged log, and it is refused if that log can't be replaced. The person is
told once where the library as it was is kept. A library left in its old format
at open is upgraded by a later snapshot (compaction, or closing), which keeps its
files first and is not written when it can't. The browser build keeps none
(Store::keeps_replaced_formats).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-07 16:41:05 -05:00
radialmonsterandClaude Opus 5.5 8246dd00d6 Export: downscale with Lanczos-3 and sharpen with a Gaussian luma USM (#2970)
Exports shrank with the preview's Mitchell filter, which left small exports
(800 px web sizes) visibly soft even with output sharpening on. Exports now
downscale with Lanczos-3 (RenderRequest::downscale = Sharp, CPU and GPU);
previews and thumbnails keep Mitchell.

Output sharpening is an unsharp mask on luma at output scale: a Gaussian of
0.7 / 0.8 / 1.0 output px for screen / glossy / matte, amount x0.5 / x1 /
x1.6 for low / standard / high, with overshoot clamped to 10 % of the local
3x3 range so edges get no halos or colour fringes. Full-size exports keep
their size and, with sharpening off, are bit-identical to before.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014ti8KemZbjE2ZgHgV1q1BM
2026-11-07 04:21:03 -05:00
lostwaldandFredApps 1b5b766513 WEB-WORKER-PARITY: compare serialized jobs with the CPU reference (#3782)
Fix #3778: native thumbnail jobs can use an already initialized GPU, making exact worker serialization assertions depend on test order. Keep exact image and histogram assertions against the engine CPU pipeline. The separate native window equivalence test is unchanged.

Validation: reproduced on clean main 56d1cc28 using serial web tests (37 pass, 1 fail), then all 38 web tests pass both serially and in parallel. Full cargo xtask ci passes all eight gates on parent 2e66a00d with craft-fonts and Metal (152 external-data skips). Latest main has separate dithering/cutoff-test failures tracked as #3780; no GPU disabling or assertion weakening used.

Assisted-by: OpenAI GPT-6.1 Sol

Co-authored-by: FredApps <[email protected]>
2026-11-06 17:46:43 +01:00
e354de502b Use adapter texture limit for probed window device (#3853)
* Use adapter texture limit for probed window device

Mixed-DPI dragging can grow the window past 8192 px; the probed device should allow the adapter's full texture size so the window keeps rendering.

Change probe to request the adapter's max_texture_dimension_2d and add a GPU test asserting the probed device matches the adapter limit.

Test: probed_device_uses_adapter_max_texture_size failed before the change and passes after.

* Window device: the adapter's texture limit on GL too, which the conservative defaults would cap at 2048

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

---------

Co-authored-by: eliets2 <[email protected]>
Co-authored-by: FredApps <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
2026-11-06 15:15:23 +01:00
9c07f427f0 Arm the window renderer marker before probing the driver (#3817)
* Arm the window renderer marker before probing the driver

The issue's own table says the window renderer is created without a crash marker, so a launch that dies in the driver writes nothing and repeats itself. The window does have a marker, but it is armed only after the risky probe has already run, which is exactly the case the reporter's Windows launch hit.

Arm the window-init.marker with the renderer name before each probe in pick_probed, so the marker on disk names the renderer being tried while the driver is touched, and re-arm it for the next renderer when a probe fails. The next launch then reads that renderer via take_failed and reports it (the existing 'the window could not start with its ... renderer last time' notice) instead of failing silently again.

Test: the_window_marker_is_written_while_the_renderer_is_probed failed before the change and passes after.

* Window marker: fix the test's closing brace, skip it under forced glow, sync the marker to disk

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

* Format

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

---------

Co-authored-by: eliets2 <[email protected]>
Co-authored-by: FredApps <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
2026-11-06 10:46:24 +01:00
Nathaniel Ledford cfa873bbe5 MENU-HELP-FEEDBACK: the test sets the default on itself first 2026-11-05 20:40:57 -05:00
Nathaniel Ledford 314525c340 MENU-HELP-FEEDBACK: say a --memory session leaves macOS's row alone 2026-11-05 20:40:57 -05:00