LightCraft: An open-source non-destructive photo editor written by scratch in pure Rust
Merge PR #2607: LR-IMP-FORMATS: GIF and BMP sizes from the header; a canvas the file can't fill is refused (#2553)
aionggcc4855b3a26b
diff --cc docs/whats-new.mdindex a0213da82,eb39c8722..f249f7dce--- a/docs/whats-new.md+++ b/docs/whats-new.md@@@ -1,37 -1,16 +1,46 @@@# What's new in LightCraft+## 2026-10-27++### The Edit menu groups Select Only Active Photo and Paste Settings from Previous with their kin+- Select Only Active Photo now sits under Deselect All, and Paste Settings from Previous under Paste Selected Settings…, instead of both after Settings…, near the end of the Edit menu. On macOS, where Settings… lives in the application menu, the Edit menu no longer shows two separator lines in a row.++## 2026-10-25++### `>=` and `<=` work in the search box+- Fielded search tokens now take inclusive comparisons: `rating:>=3`, `iso:<=400`, `f:>=2.8`, `focal:<=50`. Before,+ the `=` was read as part of the number, so such a search quietly showed no photos at all.++## 2026-10-24++### Relative-date filters and smart albums follow the clock+- A current view or source count using “in the last” rules now refreshes when the session clock moves into a new+ minute, even when no catalog edit occurred. This fixes stale photos remaining in the grid and stale counts for+ direct or nested smart albums. Held views keep photos that expired until Refresh View while admitting photos that+ newly match; expiry itself does not create an undo step.++### The histogram's tonal zones adjust the Basic tones+- The histogram is a control surface again, as in Lightroom Classic: hovering one of its five zones (Blacks, Shadows,+ Exposure, Highlights, Whites) tints it and shows its name and value under the plot ("Exposure: +0.45 EV"). Dragging one+ sideways moves that control — the zone you pressed stays locked while the pointer crosses the others, Shift drags a+ tenth as far, and the whole drag is one undo step. Double-clicking a zone puts its control back to its default.++### Drag the parametric Tone Curve+- In the Tone Curve's parametric mode the graph is now drawn from the renderer's own curve, so it always matches the+ photo, and the line can be dragged: pressing it picks the region under the pointer (Highlights, Lights, Darks or+ Shadows) and moving up or down changes that slider, as one undo step. Hovering the line names the region first.+## 2026-10-23+ ### A damaged GIF or BMP can no longer crash an import+ - A GIF or BMP whose header claims an enormous picture (a file of a few dozen bytes can claim a billion pixels) is+ now refused with an error when importing or opening it (issue #2553). Before, LightCraft set aside memory for the+ whole picture, several gigabytes, and could close without warning, losing unsaved work. At import, a GIF or BMP+ picture larger than 4 megapixels now has its size read from the header instead of being decoded; smaller ones are+ still decoded, so a damaged file is caught then. A picture that is mostly blank (a run-length-encoded BMP that ends+ early, or a GIF whose first frame is smaller than the picture) still opens up to 4 megapixels; a larger one is+ refused, because opening it would still set aside memory for the whole picture.+### Tab leaves the name field in New Album, New Smart Album and the name prompts- In New Album, New Smart Album, Save Metadata Preset and the other dialogs with one name field, the field has thekeyboard focus when the dialog opens, and Tab now moves on to the check box, Cancel and OK (Shift+Tab goes back).