Commit Graph
11425 Commits
Author SHA1 Message Date
Dylan M. Taylor e47dee26d0 fix(gpu): saturate effect band edges at the coordinate ceiling (#11057) 2026-11-03 20:30:53 -05:00
yoriswind 1bcf7a3c6a Merge batch 14 main before action-history review fixes 2026-11-03 17:27:25 -08:00
yoriswind 1f9f37ae8e Merge batch 14 main into Content-Aware Fill recordings 2026-11-03 17:24:10 -08:00
Dylan M. Taylor d5bd171810 text: merge a run of union components once when fitting area type (#11065)
AreaShape::spans folded each Combine/Join component into the growing
interval list with a full merge, so a shape of many disjoint components
cost components x intervals per row, repeated for every row the layout
tries. Gather a run of union components' intervals and merge them once
(sort and sweep) when the run ends; other operators fold as before.
2026-11-03 20:23:51 -05:00
Dylan M. Taylor 282be0927e text: group glyphs by colour once instead of rescanning per colour (#11069)
The rasterizer found each glyph's colour with a linear search of the
colours seen so far, then walked every glyph and decoration twice per
colour (bounds, then coverage) to draw that colour's items. A text layer
with a colour per letter cost colours x glyphs before drawing anything.

Build each colour's glyph and decoration lists in one pass, keyed by the
colour's bits, and draw each pass from its own lists.
2026-11-03 20:23:29 -05:00
yoriswind 4441b87cc2 Merge current main into the Actions library implementation 2026-11-03 17:19:16 -08:00
yoriswind 140480c5c1 Persist the complete Actions library as ATN 2026-11-03 17:18:55 -08:00
yoriswind 336f95cd7d Expose Move transform controls through the control channel 2026-11-03 17:17:05 -08:00
vangel76andClaude Sonnet 5.5 0acaf05dae contributors: set names for vangel76
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-04 02:12:15 +01:00
David Mann c3bd0d893a Merge PR #10203: fix(ui): open export dialog for Data Sets as Files and gate on data sets 2026-11-04 01:57:53 +01:00
vangel76andClaude Sonnet 5.5 0d69d40c6b perf(paint): key the pattern cache on normalised levels, make the eviction test independent
The key now uses the brightness and contrast values Texture::level uses (clamped, non-finite as 0, -0.0 as 0.0), so equal levels share one entry. The cache logic moves into a PatternCache struct so the eviction test runs on its own instance instead of the shared static.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-04 01:51:30 +01:00
David Mann 59b49ca14f Merge PR #9979: feat(ui): live preview in Color Pickers for dialog colour fields and the Crop shield 2026-11-04 01:51:22 +01:00
David Mann a7d78f34d2 Merge PR #11162: Free Transform: Shift-rotate snaps the turn made by the drag (#11099) 2026-11-04 01:51:11 +01:00
David Mann 2c4666aa6e Merge PR #10814: Edit › Transform › Distort: side handles move their edge, Perspective's side handles skew (#10085) 2026-11-04 01:51:10 +01:00
David Mann 2bfbaa6956 Merge PR #10837: Load Actions: Mac Roman step names with accented letters or a degree sign read as Mac Roman (#10774) 2026-11-04 01:51:09 +01:00
vangel76 640006e794 Merge remote-tracking branch 'upstream/main' into rv2-11148 2026-11-04 01:49:26 +01:00
Trevor BrownandClaude Fable 5.1 c95b61a839 Gradient Overlay drag: off the page under a held press, the stored drag ends
Review: with `selected` taken off a Gradient Overlay page and back to the same instance during a
held press (a control client's `ui.dialog.set`, say), `drag_gradient` didn't run meanwhile and the
origin and baseline from before stayed, so the next move added the travel made while off the page
and the gradient jumped. The canvas ends the stored drag (`layer_style::end_gradient_drag`)
whenever its gradient branch is inactive on a Layer Style dialog; the page chosen again starts
from the offset shown.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-11-03 19:43:36 -05:00
vangel76andClaude Sonnet 5.5 87daffae79 Retrigger CI
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-04 01:43:21 +01:00
David Mann 205db62a29 Merge pull request #11157 from davidmann4/integration-batch-14
Integration batch 14: 9 PRs planned
2026-11-04 01:42:35 +01:00
Dylan M. Taylor 3fd5304dfe text: find paragraphs and trailing blanks without rescanning (#11045)
Layout looked up each paragraph's style with a reverse scan of every
paragraph start, tab placement re-checked the whole rest of the line for
every cluster, and PSD import found each character run's paragraph by
summing paragraph lengths from the first one. Each was quadratic in
counts a file controls.

Use the existing binary search over run starts for paragraphs, one
reverse scan for the line's last inked slot, and precomputed paragraph
ends with a binary search on import.
2026-11-03 19:35:50 -05:00
Hartmut Nörenberg 82ee6ada2e fix(atomic): the vanished-backup error names the path it looked at 2026-11-04 01:13:43 +01:00
Trevor BrownandClaude Fable 5.1 037a8c5167 Load Actions: a lone Cyrillic letter after a digit never counts, and ¡ counts only where it opens an exclamation closed by "!"
Review: Mac Roman "90°" alone has no ASCII letter, so its one windows-1251 letter made the name
"mostly Cyrillic" and the fallback showed "90Ў"; "¡Ánimo!" counted nothing for windows-1252 since
only ASCII letters were counted after ¡; and Mac Roman "20 °Celsius" tied with windows-1252
"20 ¡Celsius". A lone Cyrillic letter right after a digit never counts (a run after a digit, "5шт",
still does); the letters after a character include accented ones; and ¡ counts where it opens an
exclamation, two letters or more after it and the closing "!" later in the name, which the degree
sign before a unit never has.

Re-lands 47ee3f696, which went out under another PR's message by mistake and is reverted just
before this, with one test case less: without any hint a lone Mac Roman degree sign before an ASCII
letter is also a Big5 punctuation pair, a tie the fallback flags, so the Mac Roman cases keep their
Latin hints.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-11-03 19:11:04 -05:00
yoriswind bf9b8d2737 Merge main CMYK fix into recorded Content-Aware Fill mapping 2026-11-03 16:09:59 -08:00
Trevor Brown f3ce2e2b9e Revert "Gradient Overlay drag: no drag on an empty layer, and the origin follows the selected instance"
This reverts commit 47ee3f6960.
2026-11-03 19:07:10 -05:00
Trevor BrownandClaude Fable 5.1 1472a3c700 Gradient Overlay drag: no drag on an empty layer, and the origin follows the selected instance
Review: an empty layer gave bounds of 0 x 0, so the canvas took the drag from the Hand tool and
wrote offsets of up to ±4 layer widths from a short drag, for a gradient that paints nothing;
and the drag's one origin stayed when `selected` changed under a held press, so the next instance
moved from the previous origin and the whole travel since the press. `gradient_layer_bounds`
returns `None` for empty bounds, and `__gradientDrag` keeps the instance id, the origin and the
pointer total at that point, taken afresh when the id differs: offsets are the origin plus the
travel since.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-11-03 19:06:10 -05:00
David Mann dff83780d0 Merge main into integration-batch-14 2026-11-04 00:59:38 +01:00
yoriswind 384e9dd28c Merge commit '81bd97376f881ee3561371b7da52780844d3dfc7' into codex/10965-batch14-main 2026-11-03 15:58:39 -08:00
yoriswind fdc667e010 Report rejected action continuations and exercise a real artboard edit 2026-11-03 15:58:39 -08:00
Trevor BrownandClaude Fable 5.1 47ee3f6960 Gradient Overlay drag: no drag on an empty layer, and the origin follows the selected instance
Review: an empty layer gave bounds of 0 x 0, so the canvas took the drag from the Hand tool and
wrote offsets of up to ±4 layer widths from a short drag, for a gradient that paints nothing;
and the drag's one origin stayed when `selected` changed under a held press, so the next instance
moved from the previous origin and the whole travel since the press. `gradient_layer_bounds`
returns `None` for empty bounds, and `__gradientDrag` keeps the instance id, the origin and the
pointer total at that point, taken afresh when the id differs: offsets are the origin plus the
travel since.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-11-03 18:55:03 -05:00
David Mann 545d447c10 Merge PR #10998: Actions: map recorded Scale Effects and Create Layers 2026-11-04 00:51:01 +01:00
Psychotoxical 69fe389555 fix(ui): Empty counts an opaque default pixel and is found once per revision (#10881)
A pixel layer whose default pixel is opaque covers the canvas without
stored tiles, so it is not Empty. The empty layers are now found once
per document revision (Filter::of_app, like Smart Object's missing
links) instead of reading every pixel of an erased layer on each
repaint of the Layers panel.
2026-11-04 00:42:47 +01:00
Hartmut Nörenberg 30c617cc79 fix(atomic): a vanished backup is not a recovery copy 2026-11-04 00:36:12 +01:00
vangel76 b5b8f738b0 Merge remote-tracking branch 'upstream/main' into perf/paint-dab-walk-stream 2026-11-04 00:19:17 +01:00
vangel76 f761c8b03c Merge remote-tracking branch 'upstream/main' into perf/paint-retouch-smudge-selection 2026-11-04 00:19:17 +01:00
vangel76 df2663a7c2 Merge remote-tracking branch 'upstream/main' into perf/paint-procedural-texture-cache 2026-11-04 00:19:17 +01:00
vangel76 f35bd84aad Merge remote-tracking branch 'upstream/main' into perf/11130-texture-wrap 2026-11-04 00:19:16 +01:00
vangel76andClaude Sonnet 5.5 93d41f434f paint: test NaN dual hardness and spacing fall back to the defaults
CodeRabbit review point: the dual-brush fallbacks in bounded_for_render were not covered.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-04 00:18:52 +01:00
vangel76andClaude Sonnet 5.5 c2a6a80b1f paint: refresh a duplicate pattern-cache key; test eviction and key separation
CodeRabbit review points: a duplicate insert should promote the entry, the key-separation test could pass after the base entry was evicted, and the entry limit was untested.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-04 00:18:41 +01:00
vangel76andClaude Sonnet 5.5 5ee9f56139 paint: test that Smudge::dab leaves a zero-channel region alone
CodeRabbit review point: the zero-channel early return was not covered.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-04 00:18:35 +01:00
vangel76andClaude Sonnet 5.5 247deb7a15 paint: take the slow wrap path for texture sides past i32::MAX; test texture_at on a scaled texture
CodeRabbit review points: the i32 rem_euclid in sample_bilinear_wrap differs from sample_wrap for sides past i32::MAX, and nothing checked the x/y argument order at the texture_at call.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-04 00:18:34 +01:00
David MannandClaude Opus 5.5 c430647bb0 Batch: drop the Info panel's crop Ratio line from #10453
The reference application's Info panel shows the crop frame's W and H but no
ratio line, so it stays out for now; W and H keep following the frame.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 00:18:12 +01:00
David MannandClaude Opus 5.5 75a6828f53 Batch: picking the Crop tool again keeps a committed crop's frame hidden
Measured in the reference application: after ↵ commits a crop, the Crop
tool shows no frame; pressing C again, or another tool and back, keeps it
hidden, and only a press on the canvas brings the frame back. A crop
committed by leaving the tool is different: back on the Crop tool the idle
frame shows at once. #10642 brought the frame back on re-picking; picking
the tool no longer ends the hidden state, and a commit on leaving the tool
does not start it. Tests follow.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 00:13:42 +01:00
yoriswind 41631c6c80 Integrate Actions editor with current playback and recording paths 2026-11-03 15:07:34 -08:00
Hartmut Nörenberg fbe7680328 fix(atomic): report where the original survives when the Windows restore fails 2026-11-03 23:55:50 +01:00
Trevor BrownandClaude Fable 5.1 bab43c66d7 Gradient Overlay drag: the layer-bounds test checks the lookup, not an empty layer's size
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-11-03 17:53:03 -05:00
Trevor BrownandClaude Fable 5.1 22d89281fa Gradient Overlay drag: a longer offset array counts by its first two, and the Hand tool pans when the dialog's layer is gone
Review: `drag_gradient` ignored a stored `offset` of three elements or more, which the engine
renders by its first two, so the first movement jumped the gradient; and `gradient_drag` took the
Hand tool over on the page kind alone, so with the dialog's layer gone the canvas neither panned
nor moved anything. The drag reads the first two elements as the engine does, and the layer
lookup is `layer_style::gradient_layer_bounds`, used by the decision and by the drag alike.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-11-03 17:51:16 -05:00
Trevor BrownandClaude Fable 5.1 f80955ce0d Load Actions: a lowercase rare letter opening a word counts for windows-1252, and so does ¡ opening a word
Review: "šuma" (0x9A u m a) read as Mac Roman "öuma", certain, where main tied it and read
windows-1252; and "¡Hola!" read as Mac Roman "°Hola!". The word-initial rule for windows-1252's
0x80–0x9F letters no longer asks for a capital (the file's own alphabet still decides: a file that
writes ö and never š reads the byte as Mac Roman ö), and ¡ counts as common text for windows-1252
where it opens a word of two letters or more (`opens_word`, in `score` and in the final
windows-1252/Mac Roman comparison), while Mac Roman's degree sign on the same byte, after a
number ("Rotation 90°") or before a single letter ("20 °C"), stays as it was.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-11-03 17:47:32 -05:00
yoriswind 32f1af86c8 Checkpoint Actions editor candidate for current-main integration 2026-11-03 14:42:54 -08:00
David MannandClaude Opus 5.5 37c84c18e5 Batch: Ctrl-held Straighten test expects transparent corners with Delete Cropped Pixels off
Main's #10905 (#10867) turns the Background into Layer 0 when a crop keeps
the cropped pixels, so the corners a turn uncovers stay transparent instead
of taking the background colour. The #10950 test now expects that for its
Delete Cropped Pixels off cases; with it on the corners are still the
background colour.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 23:39:48 +01:00
Hartmut Nörenberg 0122a97a40 fix(ui): the Image Assets failure keeps the full path and what did go out
Review follow-up on the Image Assets PR: the notice title carries the full saved path so same-named documents in different folders stay distinguishable, and the status line keeps the success count and assets folder alongside the first failure.
2026-11-03 23:37:50 +01:00