* LR-EDIT-CURVE: show sampled Tone Curve input (#987)
Keep the output Histogram separate. Sample each selected curve's input
with the production prefix LUT builder and strict request identity.
Preserve current main's source facts, mask behavior and render output.
Credit @zelefogs for the request and @aiongg for the input/output
clarification. Human contributor credit remains @AlexChambers.
Co-Authored-By: GPT-6-Astra <noreply@openai.com>
* LR-EDIT-CURVE: refresh curve input source after relink (#987)
Rebuild the prepared diagnostic job when its origin changes, even if
the content hash and render key stay the same. Retain completed
histograms for identical content.
Add a real-file regression through import, relink, the prepared-job
caller flow and the native worker. Check the actual retry path,
source facts and successful recovery.
Co-Authored-By: GPT-6-Astra <noreply@openai.com>
* LR-EDIT-CURVE: bound histogram UI test work (#987)
Use two small generated PNGs for the input-histogram tests. Keep the
production decoder, render queue and pipeline, and retain the 20-second
settle budget. The full demo library adds unrelated thumbnail and
neighbor work when the failure gate opens.
Assert that stale cached histograms stay hidden during pending and
failed replacements, and verify that clearing the selection leaves
no active photo. Keep the existing histogram stage checks.
Human contributor credit remains @AlexChambers.
Co-Authored-By: GPT-6-Astra <noreply@openai.com>
* LR-EDIT-CURVE: adapt the histogram to main's render parameters (#987)
Carry the curve input source, edit panel and tests into the module layout and
render-parameter API on current main.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* LR-EDIT-CURVE: register the histogram label with the panel's Ui (#987)
Main's register now takes the Ui, not its Context.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* LR-EDIT-CURVE: match unknown channels to the Point input (#987)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* LR-EDIT-CURVE: refresh the parity summary after the merge
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* LR-EDIT-CURVE: fit the merge to main's three-argument file loader; histogram-only slots in one helper (#987)
Main's loaders take the camera profile as a third argument, so the curve tests' loaders take it too. Keeping the Tone Curve and HDR histograms moves into keep_histogram, which brings Renderer::collect back under the cognitive complexity limit.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* LR-EDIT-CURVE: the input diagnostic's pixels are dithered like the render's (#987)
Main's finish dithers its 8-bit output with an 8x8 Bayer pattern (#3509). The diagnostic's image used plain rounding, so it no longer matched a render with the later curves removed; it now encodes with finish's dither at the same output position. Its histogram still bins the undithered samples.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* LR-EDIT-CURVE: refresh the parity summary after the merge
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* LR-EDIT-CURVE: refresh the parity summary after the merge
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* LR-EDIT-CURVE: refresh the parity summary after the merge
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* Trim duplicate Tone Curve histogram tests (#987)
* LR-EDIT-CURVE: check the brush budget before sampling a curve's input (#987)
The Tone Curve input diagnostic went straight into mask preparation in
both the native render job and the web worker, skipping
check_brush_budget. An over-budget brush then lost its later strokes and
the backdrop showed that partial sample as the curve's input.
curve_input::render now runs check_brush_budget on its own clamped,
full-crop request (at most 256 px, no window) and returns a Result, so
both callers fail the request and the UI shows "Input histogram
unavailable". Regression tests cover the pipeline, the native job, the
worker and the headless UI.
* LR-EDIT-CURVE: tell screen readers the selected channel and the input status (#987)
The Tone Curve's channel buttons now report which channel is selected
(toggled), through the same helper the segmented controls use. The input
histogram's caption is a polite live region, so screen readers read it
when it changes between loading, sampled and unavailable, and the focus
stays where it is. A new announce_live helper sets the live region; the
AccessKit adapters read a live node only when its text changes.
The headless test view keeps the last frame's AccessKit tree in test
builds, and a new test checks both behaviours through it.
---------
Co-authored-by: GPT-6-Astra <noreply@openai.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: FredApps <153173854+FredApps@users.noreply.github.com>
Keep main’s drop contract, settings search, HSL mixer, brush and activity changes on the framework’s lists, dialogs, and controls. Keep both histories and the port’s dependency pin.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
Brings main's Nightly channel work (launch profile, Nightly session record and exit,
startup update check skipped on Nightly, About naming the channel and build) and the
Crop/Remove mode dropdowns into the framework port.
- Cargo: main's other craft-libs crates at b2d2a1e; craft-ui comes only through
`craft` at the integration rev 7036b630 (one copy). Cargo.lock regenerated by cargo.
- apps/lightcraft: App keeps the port's HostWindow and gains main's NightlyExit;
menu field moves to index 4; startup update check after the framework install,
Nightly only skips it.
- About: the framework AboutDialog takes channel::name(), display_version() and,
on Nightly, the build commit.
- Updates: Nightly never blocks input; otherwise the port's modal-result rule.
- widgets::labeled_dropdown is built on the framework value menu (as White Balance);
Crop Overlay (scoped to the photo, probe-guarded), Perspective Correction and the
Remove Mode dropdown (with None) use it; Tool Overlay keeps the port's menu.
- The port's crop overlay radio flow tests and the remove mode flow tests now drive
the dropdowns.
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 <dylan@dylanmtaylor.com>
Brings the joined private parent (General Library, By Date, Monitor profile and the
earlier integrated panels) onto current main as one starting point for the port
branch. The craft facade now comes from a craft-libs checkout of current next, and
the egui fork pin matches next. Keyword field conflicts keep upstream's Enter
Keywords view and hierarchy-mark parsing on top of the framework field.