Commit Graph
16782 Commits
Author SHA1 Message Date
David Mann 4bd8ad3ba8 Merge #16453 into the merge queue batch
Dodge: tone a 32-bit document's linear values with the reference's curve
2026-11-27 12:51:06 +01:00
David Mann 732c231953 Merge #15372 into the merge queue batch
Smudge: add Pressure for Size to the options bar
2026-11-27 12:51:05 +01:00
David Mann 5c242df758 Merge #16645 into the merge queue batch
Apply Image: Mask... checkbox opens its Source, Layer, Channel and Invert
2026-11-27 12:51:05 +01:00
David Mann abd82788af Merge queue batch #17152: #17145, #15154, #16174, #14426, #16653, #17059, #15766, #17090
Merge queue batch: 8 PRs (#17145, #15154, #16174, #14426, #16653, #17059, #15766, #17090)
2026-11-27 12:50:08 +01:00
David Mann fece541445 Merge #17090 into the merge queue batch
Window > Arrange: match measured order and active document label (#16888)
2026-11-27 12:08:39 +01:00
David Mann 3597c13275 Merge #15766 into the merge queue batch
Cover translucent raster pixels with Inside and Center strokes (#15002)
2026-11-27 12:08:38 +01:00
David Mann 6c2adf860e Merge #17059 into the merge queue batch
Pasteboard menu: Hide/Show Contextual Task Bar heads the Move tool's menu (#16757)
2026-11-27 12:08:38 +01:00
David Mann ca09020a6c Merge #16653 into the merge queue batch
Layers to Files: Include ICC Profile checkbox and iccProfile param
2026-11-27 12:08:37 +01:00
David Mann 87c936bbd6 Merge #14426 into the merge queue batch
ui-egui: Paint Bucket Shift+click on the pasteboard sets its colour (#12534)
2026-11-27 12:08:37 +01:00
David Mann e97ed7dfff Merge #16174 into the merge queue batch
Tests: the Custom Shape tool's Make row in Path mode

# Conflicts:
#	crates/ui-egui/src/tools/vector_ui/options.rs
2026-11-27 12:08:37 +01:00
David Mann e5645b570e Merge #15154 into the merge queue batch
Actions: load every recorded Content-Aware Fill value and empty steps (#14254)
2026-11-27 12:08:36 +01:00
David Mann 235b67b7b9 Merge #17145 into the merge queue batch
Healing Brush: Replace in both Mode menus, and a straight source copy (#12101)
2026-11-27 12:08:35 +01:00
mlo0352 8303d38c60 fix: preserve unsaved Duplicate Image copies and their initial history (#14680)
* fix: mark duplicate images unsaved with their own history state

* test: use engine save API for duplicate close regression

* test: install commands for duplicate history cases

* test: keep duplicate history fixture core-only
2026-11-27 09:29:50 +00:00
qvest-ssels 3e59fbae77 Merge main into fix/dodge-32bit-linear-12687
# Conflicts:
#	crates/engine-paint/src/cmd/retouch_cmds/dodge_32bit_linear_tests.rs
2026-11-27 07:01:46 +01:00
qvest-ssels 7d0e773e61 Merge main into feat/apply-image-mask-group-14489
# Conflicts:
#	crates/ui-egui/src/menus/view_cmds/dialogs.rs
2026-11-27 06:12:49 +01:00
yoriswind a5862ce07b Integrate current Smudge options with its pressure control 2026-11-26 19:36:57 -08:00
David Mann 702da02787 Merge queue batch #17136: #14621, #15962, #17117
Merge queue batch: 3 PRs (#14621, #15962, #17117)
2026-11-27 01:49:55 +01:00
David Mann 321c383171 Merge #17117 into the merge queue batch
Color Settings: Blend Text Colors Using Gamma is a checkbox with a 1.00–3.00 field
2026-11-27 00:59:34 +01:00
David Mann 2d2c6ce5a2 Merge #15962 into the merge queue batch
fix(ui): the Healing Brush's refusals are the reference application's alerts (#12111)
2026-11-27 00:59:34 +01:00
David Mann 294fbe3351 Merge #14621 into the merge queue batch
Correct Calculations Gray values for default RGB composites
2026-11-27 00:59:33 +01:00
David Mann 1975f8f1f7 Merge pull request #17143 from davidmann4/perf/toolbar-footer-memo-15493
perf(ui): faster frames: Windows allocator, view commands, Layers header (#17141, #17142)
2026-11-27 00:58:07 +01:00
hnoerenberg a438a96675 test(retouch,ui): pin the Replace rim, widen its exact disc, and test the dropdown pick (#12101)
Review round one: a hardness-50 dab pins that Replace at partial coverage composites the
source through the coverage (strictly between ground and source at the rim, exact copy at the
centre); the bit-exact loop widens to the full-coverage disc of the 20 px hard tip, measured at
221 pixels (pixel-centre distance under 9 of the 10 px radius); and the options bar dropdown
route is now click-tested end to end: open Mode, pick Replace, the stroke would send
mode:"replace" and no History step is added, pick Multiply and Replace is left.
2026-11-27 00:43:55 +01:00
qvest-ssels ab2c75f621 Color Settings: only a legacy blendTextGamma of 1 loads as the box off
Settings saved before the checkbox (#14243) held one number, with 1 meaning off. Any number up to 1
loaded as the box off with 1.45, so a hand-edited 0.5 was silently replaced and not reported. Only
exactly 1 is the off sentinel now; a smaller number is reported as an invalid preference and loads
as 1.45 with the box on, as an out-of-range value in the new format does.
2026-11-26 23:47:29 +01:00
hnoerenberg 1f486fbc1c style: rustfmt on the new #12101 test files 2026-11-26 22:56:22 +01:00
hnoerenberg 5cb23ca42a feat(ui): the Healing Brush Mode menus gain Replace and the reference's rules (#12101)
Both measured menus, options bar dropdown and Shift+right-click, now list
Normal, Replace, a rule, Multiply, Screen, Darken, Lighten, a rule, Color,
Luminosity. Replace is a Healing Brush tool option, like the painting tools'
Clear flags: picking it runs no command and adds no History step, and the
stroke params carry mode:"replace" to the engine commit this branch adds. The
seven blend modes, their keyboard letters, the step cycle and Reset Tool keep
their meanings; the new option resets with the Healing Brush.
2026-11-26 22:55:35 +01:00
hnoerenberg de75f47644 feat(retouch): paint.healingBrush accepts mode "replace" as a straight source copy (#12101)
The Healing Brush's Replace row, measured in the reference application: the
stroke copies the source pixels with no healing solve, composited through
Normal. `blend_param` accepts the exact word "replace" for `paint.healingBrush`
alone, so the live stroke parser starts too (its texture preview already draws
what Replace commits); every other command keeps refusing it, and an unknown
mode string stays an error. `healing_brush` reads the word from the params and
paints the sampled source region as it stands: the Normal and other modes run
the unchanged solve path, pinned pixel-for-pixel by the tests.
2026-11-26 22:29:42 +01:00
hnoerenberg 752d83c078 test(retouch): the Healing Brush Replace stroke copies its source exactly (#12101)
Red: `paint.healingBrush {"mode":"replace"}` is refused today ("unknown blend
mode `replace`"). The new file pins what the ticket measures: every pixel the
hard tip covers fully equals the source pixel mapped there, bit for bit, taken
from the document state before the stroke; Normal's healed pixels are pinned
byte for byte; an unknown mode string stays an error; and one Replace stroke
is one History step named "Healing Brush".
2026-11-26 22:28:42 +01:00
David MannandClaude Opus 5.5 d201f0ebe5 build: move craft-libs to storytold next a46af76c (storytold/craft-libs#3788 merged)
Also brings storytold/craft-libs#3773 (readout flicker between moves).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-26 22:17:14 +01:00
David MannandClaude Opus 5.5 a5fb6aa532 build: pin craft-libs at storytold/craft-libs#3788 (Layers blend rows replay, #17131)
main's pin 5d2c8bdcf with the PR's one change merged in; move to next once it merges.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-26 21:00:10 +01:00
David Mann 00617e6b11 Merge remote-tracking branch 'origin/main' into perf/toolbar-footer-memo-15493 2026-11-26 20:59:39 +01:00
Ian 4fe21f6e50 test: install channel command registry 2026-11-26 14:50:51 -05:00
David Mann 984c304b20 Merge pull request #17135 from davidmann4/perf/toolbar-footer-memo-15493
perf(ui): the toolbar footer replays while nothing it shows changes (#17130)
2026-11-26 20:50:00 +01:00
David Mann d35b090490 Merge pull request #17113 from davidmann4/fix/17112-dialog-band-whole-top-strip
A dialog moves by its whole top strip (#17112)
2026-11-26 20:36:26 +01:00
David Mann 18c90f2499 Merge pull request #17103 from davidmann4/fix/17102-flyout-no-empty-ring
Tool flyouts mark only the shown tool (#17102)
2026-11-26 20:36:13 +01:00
David Mann 85d572665c Merge queue batch #17134: #17107, #17111, #15463, #15371
Merge queue batch: 4 PRs (#17107, #17111, #15463, #15371)
2026-11-26 20:34:26 +01:00
David MannandClaude Opus 5.5 112af3d7af perf(ui): a view command runs only the regions that show the view (#15493)
Zoom, fit, print size and rotate counted as command runs, so each ran every
panel body in the next frame. The regions that show the view hold it in their
versions already; while an action is recorded a view command still counts,
since the Actions panel lists the step.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-26 20:34:09 +01:00
David MannandClaude Opus 5.5 edada7542f perf(app): mimalloc as the allocator on Windows (#15493)
The UI builds and frees many small values every frame, and the system heap's
alloc and free were about 14 % of the UI thread. Windows only: Linux keeps
glibc, tuned by malloc_tuning to return closed documents' memory (#8743).
mimalloc and libmimalloc-sys are MIT.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-26 20:34:08 +01:00
David Mann 76571e51a3 Merge remote-tracking branch 'origin/main' into perf/toolbar-footer-memo-15493 2026-11-26 20:14:33 +01:00
x-labb bb33b25bd6 Healing alert tests: gate the test module (#12111) 2026-11-26 20:05:17 +01:00
x-labb fabff1a28a Healing alert tests: reach the presets through PresetsExt (#12111) 2026-11-26 19:52:42 +01:00
x-labb 82961c01bb fix(ui): a hidden group keeps the Healing Brush's status-bar error (#12111)
The Healing Brush's alert is for a hidden or locked pixel layer. A hidden group, like a shown
one, is the no-source case (#12109) and keeps today's messages. Adds a real-canvas test that an
Alt-click on a hidden or locked layer still sets the clone source.
2026-11-26 19:52:42 +01:00
x-labb 18d30e30db fix(ui): the Healing Brush's refusals are the reference application's alerts (#12111)
A Healing Brush press on a hidden target layer or a layer with Lock All only said why in
the status bar. The reference application opens a modal alert with OK and paints nothing.

Adds the Healing Brush to brush_refusal's tool_name table. A group keeps its own message
(#12109), Lock Image Pixels and Lock position keep today's behaviour, and an Alt-click
still only sets the clone source.
2026-11-26 19:52:42 +01:00
Dan 9f81f17b2d Use document layer lookup in the cache regression 2026-11-26 18:46:07 +00:00
Dan d2dec04f01 Invalidate group effect maps when a child changes type 2026-11-26 18:27:10 +00:00
David MannandClaude Opus 5.5 bc0276fe81 style: rustfmt the footer view (#17130)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-26 19:26:41 +01:00
David Mann cb49b1ac59 Merge #15371 into the merge queue batch
Smudge: add the brush Angle field to the options bar
2026-11-26 19:24:23 +01:00
David Mann e8b003a205 Merge #15463 into the merge queue batch
Preserve custom-pattern phase coverage across bitmap bands
2026-11-26 19:24:22 +01:00
David Mann c41a6cd422 Merge #17111 into the merge queue batch
Star tool: Align Edges in the options bar (#16869)
2026-11-26 19:24:22 +01:00
David Mann c56ed19ede Merge #17107 into the merge queue batch
Layers panel: name an Indexed document's Background row "Index" in italics (#16763)
2026-11-26 19:24:21 +01:00
David Mann 99ecf3db1e Merge queue batch #17106: #16400, #17092
Merge queue batch: 2 PRs (#16400, #17092)
2026-11-26 19:23:25 +01:00