Commit Graph
15989 Commits
Author SHA1 Message Date
hnoerenberg 719792f5f9 Merge upstream/main into fix/layer-from-bg-name-14821 2026-11-19 13:42:40 +01:00
hnoerenberg d0d20b3c2f Merge upstream/main into fix/bevel-reset-angle-14843 2026-11-19 13:42:36 +01:00
hnoerenberg 9b122f4e82 Merge upstream/main into fix/rotate-interpolation-pref-14465 2026-11-19 13:42:26 +01:00
hnoerenberg be11539592 Merge upstream/main into fix/curves-composite-rounding-14446 2026-11-19 13:42:22 +01:00
hnoerenberg e037f4653d Merge upstream/main into fix/rotate-canvas-bitmap-14509 2026-11-19 13:42:14 +01:00
hnoerenberg 45286567ce Merge upstream/main into fix/rotate-canvas-guides-14508 2026-11-19 13:42:11 +01:00
David MannandClaude Opus 5.5 252773ce8c Address CodeRabbit review: stale transform picture, setup panics, UI feature check
- A pass that cancels Free Transform no longer hands the canvas the captured
  preview picture, so the moved pixels are not painted over the restored
  document in that frame (new GPU/CPU canvas test fails without it).
- The preview canvas test skips only when the GPU harness fails before the
  app callback; a panic in the app's own setup now fails the test.
- The layering check treats craft's keymap-egui as a UI feature and counts
  dependency features turned on by a crate's own [features] table.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-19 13:35:20 +01:00
FredApps c0011b0142 Refresh generated reliability scorecard 2026-11-19 13:32:00 +01:00
FredApps d53d600258 Keep shared presets on empty store attachment 2026-11-19 13:24:19 +01:00
FredApps 9321309df4 Avoid allocating blend key in test 2026-11-19 13:22:32 +01:00
FredApps 44a50908d9 Isolate exhaustive oil rounding proof 2026-11-19 13:19:45 +01:00
hnoerenberg 83390ee9b3 Merge upstream/main into fix/content-aware-stripes-14191 2026-11-19 13:17:35 +01:00
David Mann 12408b01c8 Merge remote-tracking branch 'origin/main' into HEAD
# Conflicts:
#	crates/ui-egui/src/dialogs/sizing/tests.rs
2026-11-19 13:17:05 +01:00
FredApps 5ffd988629 Keep RGB 16-bit tone table coverage 2026-11-19 13:11:40 +01:00
FredApps ef22b76a2c Update blend key iterator callbacks 2026-11-19 13:11:34 +01:00
hnoerenberg e2f94242a0 Merge upstream/main into fix/color-lookup-dialog-defaults-14422 2026-11-19 13:11:18 +01:00
hnoerenberg 3c4270f831 Merge upstream/main into fix/color-balance-action-params-14417 2026-11-19 13:11:11 +01:00
hnoerenberg db93e96a81 Merge upstream/main into fix/type-noop-edit-history-12050 2026-11-19 13:11:01 +01:00
hnoerenberg 29526cb4fd Merge upstream/main into fix/perspective-crop-refusal-11799 2026-11-19 13:10:52 +01:00
hnoerenberg 563b7820c3 Merge upstream/main into fix/gif-preserve-indexed-palette-11824 2026-11-19 13:10:49 +01:00
FredApps 19641af171 Cache legacy blend mode parsing 2026-11-19 13:06:09 +01:00
FredApps b1368133d1 Advance the surface generation once per serial write 2026-11-19 13:05:19 +01:00
NaufalDzzandOpenBot 47e4c5543e Scale Effects: title "Scale Layer Effects" and a popup-slider percent field (#14996)
The dialog now reads "Scale Layer Effects" and its Scale row is a whole-percent
field whose arrow opens a linear 1..1000 slider, instead of the schema row's
always-shown logarithmic slider. Other wide-range rows keep their slider.

Co-authored-by: OpenBot <335604065+openbotgit[bot]@users.noreply.github.com>
2026-11-19 11:57:36 +00:00
FredApps 0d2ed110e8 Keep transient surface generations out of content diagnostics 2026-11-19 12:53:45 +01:00
hnoerenberg 36066eae8f fix(algo): retry today's patch radius when 11x11 leaves no donor
Round 2 review on #15284: with the measured option set the fill asked for
11x11 patches even where no such donor window exists, so the completion
found nothing to copy and the fill answered with the smooth membrane
where today's 7x7 patch still copies pieces.

Two distinct causes, both measured at b2764ca1c on stripe buffers with
the measured options and the Rectangular area:
- a buffer narrower than the patch: at 9x9 (1 px border hole) the
  radius-3 completion fills the hole with 96 channel values differing
  from the membrane, radius 5 has no donor at all and the fill returned
  the membrane in all 243 channel values; at 10x10 that is 108 of 300.
- a hole that uses up every window of a big enough buffer: at 18x18 with
  an 8x8 centre hole there are 11x11 windows (centres x and y 5 to 12)
  but the hole is in each of them, while 7x7 windows remain; radius 5
  gives no donor and the fill returned the membrane, 192 of 972 channel
  values away from today's radius-3 completion. (The review's 18x18 with
  a 2x2 centre hole is not one of these: there the fill still completed
  with radius 5, 178 channel values from today's answer.)

Change: fill_cow now hands the completion today's default radius when the
measured radius finds nothing to copy, before the membrane fallback. A
measured fill keeps its pixels borrowed and rebuilds the attempt (the
mosaic gap follows the radius); every other option set still gets exactly
one attempt, in place as before, so the not-measured pins are untouched.
`fill_cow` also gives way to named parts: variant_specs, mosaic_variants,
mosaic_pixels, window_roles, fill_attempt and fill_retry.

New tests in the file #14191 names, red before the fix (2 failed), green
after: measured_fill_on_a_small_image_keeps_todays_patch_radius,
measured_fill_falls_back_to_todays_radius_when_the_hole_leaves_no_room_for_the_patch;
guards pinning what did not change:
measured_fill_uses_the_11x11_patch_when_a_window_fits,
measured_fill_without_room_for_todays_patch_still_falls_back_to_the_membrane.
2026-11-19 12:38:27 +01:00
aiongg 587f5e5dab Section store syncs by per-section revisions (#15704)
PrefSections tracks the sections a component wrote and the revision it last saw of each section, so a sync no longer compares or clones the whole section map.
2026-11-19 10:09:05 +00:00
aiongg a8f95bd16d Document layer index and index-ordered selection (#15704)
Document.layers is a LayerTree that builds an id index on first lookup and drops it on any mutable access. Layer lookups and selected_layers use the index instead of walking the document.
2026-11-19 10:07:19 +00:00
haranishi 378c31c92b fix(compose): render Size 1 Softer Inner Glow at edges 2026-11-19 18:38:36 +09:00
aiongg 8ff1a1862e ci: the cache prune lists main's entries only 2026-11-19 09:30:58 +00:00
FredApps 931ec750c0 Keep color move reference fixture 2026-11-19 10:27:10 +01:00
FredApps 52a5293663 Reuse content-aware crop scenes 2026-11-19 10:08:25 +01:00
FredApps 378fda83b0 Pair extrude sweep fixture axes 2026-11-19 10:02:15 +01:00
FredApps b0c0abee54 Pair sharpen tile and format cases 2026-11-19 09:56:44 +01:00
FredApps b43ffa380f Borrow shared presets as a vector 2026-11-19 09:48:31 +01:00
FredApps 83f391c3c9 Reduce sparse resampling fixture 2026-11-19 09:46:01 +01:00
FredApps de5725af2f Use strips for Camera Raw parity tests 2026-11-19 09:40:39 +01:00
hnoerenberg fe0b2f5ebe Merge upstream/main into fix/channel-mixer-whole-percents-14414 2026-11-19 09:39:33 +01:00
FredApps 16935087ab Fix shared preset mutation and sync 2026-11-19 09:30:24 +01:00
FredApps cb368d32e9 Correct pattern budget assertions 2026-11-19 09:29:51 +01:00
FredApps bd0671f017 Exercise relight bands with a smaller budget 2026-11-19 09:21:52 +01:00
FredApps 17e6b13052 Reduce preview and pattern boundary fixtures 2026-11-19 09:21:52 +01:00
aiongg c9746558d7 ci: build the tests once per OS, keep compiled workspace crates, balance the shards
- Both gate calls build the tests once into a nextest archive (cargo xtask ci archive); the
  shards run it, and the build job runs the doctests after the upload.
- The Linux gate keeps the compiled workspace crates in a rolling cache entry
  (cache-workspace-crates). A nightly cold build is its safety net; gate-cache-prune keeps the
  newest entry. test (without heif) restores that entry.
- The shards split the tests with nextest's slice partition, which spreads the slow modules:
  on one main run's times the non-GPU shards go from 728/493/523 s (hash) to about 602/506/625 s.

Fixes #15702
2026-11-19 08:06:05 +00:00
hnoerenberg 213cd3470b fix(ui): Rotate Canvas keeps its Interpolation pick out of remembered values
The Arbitrary rotation dialog fills its interpolation row from Preferences >
General > Image Interpolation on every opening, but the row was an ordinary
choice row, so the framework remembered a confirmed pick and applied it over
the opening values on the next opening: a one-time Bilinear choice silently
resampled later rotations, and a changed preference never reached the dialog
again. The row now opts out of remembering, like the rows beside it that the
open document supplies (angle, direction) and like Lens Blur's depth map.
The dropdown itself goes away with #14462.

Red before green: the new ui-egui test
arbitrary_rotation_interpolation_reopens_at_the_preference failed on the head
without the fix (left bilinear, right bicubic) and passes with it.
2026-11-19 09:00:55 +01:00
FredApps 475dcbcad1 Reduce redundant smart blur offsets 2026-11-19 08:58:53 +01:00
FredApps eb67d8f066 Cover surface tile mutation generations 2026-11-19 08:54:07 +01:00
hnoerenberg bd3fce78c5 Docs: what keeps a document switch from recording an unchanged edit (#12050)
The comment on worked_on_layer still said a document switch "still records".
commit_ending identifies that switch before worked_on_layer is read: it makes the
edit's own document active, calls commit_here with by_user false, and restores
the document that was active before, so ends_an_edit is false and nothing
records. That is the behaviour the family's another-document test pins.
Comment only, no behaviour change.
2026-11-19 08:53:18 +01:00
hnoerenberg 0ef7ab1450 Fix: a Layers panel range that excludes the edited type layer is a switch (#12050)
The panel sends layer.select with a "layers" list when a Shift-click selects
several rows, so run_actions read no "layer" key and commit_before_selecting
got no target: it counted the click as an in-place commit, and an unchanged
session ended by selecting other rows added an "Edit Type" state, while the same
gesture on one other row added nothing. It now passes every id the payload names,
and a selection that does not include the edited layer counts as the layer switch
(#6483) it is. A range that still names the edited layer keeps the row click a
commit (#5584), which the new neighbour test pins from the other side.

Red first: the new multi-layer test failed on this head before the fix, the
history list left with an extra "Edit Type" entry.
2026-11-19 08:52:41 +01:00
FredApps b3f4721c29 Reduce bitmap and color move fixtures 2026-11-19 08:52:12 +01:00
FredApps 878d5fa717 Pair scalar cell filter cases 2026-11-19 08:52:11 +01:00
Bobderto a0dd016793 Label Ellipse tool creation steps in History 2026-11-19 07:47:37 +00:00