Commit Graph
11425 Commits
Author SHA1 Message Date
Psychotoxical c5defb8873 Layers panel: show the filter row in every theme
The filter row (Kind, Name, Mode) was drawn only in the Pro themes, while
Filter Options > Show is in every theme's panel menu, so in Studio,
Classic, Solarized and the others the toggle did nothing.

A hidden filter row no longer filters either: criteria set in Pro used
to keep hiding layers after switching to another theme, with no row to
show or clear them. They are kept and apply again once the row is shown.

Related: #5546, #2729
2026-11-01 21:56:58 +01:00
yoriswind 21b6546907 Resolve recorded Action reference forms at playback 2026-11-01 12:55:02 -08:00
yoriswind 5881923406 fix(engine): replay recorded link and unlink explicitly 2026-11-01 12:49:47 -08:00
yoriswind e8c5608966 Strengthen paste and profile playback checks
Include the default frosted Glass code in the reference allowed values.
2026-11-01 12:38:07 -08:00
yoriswind 1e3a04c34b Document selection descriptor encoding 2026-11-01 12:23:00 -08:00
David MannandClaude Opus 5.5 02316e552d Integration: a paused set Play ends at an action replaced under its name (#10459)
CodeRabbit on batch 11: the rest of a set paused at a step dialog was kept by name, so an action
deleted and made again under the same name while the dialog was open played under the original
Play. Actions have no id, so the rest is now kept as the actions themselves and continues only
while each one is unchanged; moving them in the list still works.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 21:20:38 +01:00
RickiNanoandClaude Opus 5.5 5314c8e11b perf(bench): split command and refresh time; refresh like the app; stop rows timing setup
perf_scenarios rows that time a command and then the canvas refresh now also record each part
(cmd_samples_ms, refresh_samples_ms; samples_ms stays their sum, so budgets and the baseline are
unaffected), the refresh kinds (gpu-rect, gpu-full, rect/full on the CPU compositor, none) and the
CpuReason kind of any fallback. The console line ends with the medians (Summary::of's p50, as
p50_ms uses).

Bench::refresh follows the app's damage_since: it tracks the (document, revision) the canvas
shows and redraws nothing at the same revision, the last edit's rect one revision on, else
everything; drag_frame invalidates it. A timed refresh that also drew untimed setup edits, or
redrew everything because the canvas showed nothing or another document, is reported on stderr.

Rows that timed setup:
- P8-P11 (duplicate/paste a 12 MP layer): the fresh layer and the copied clipboard are refreshed
  before the timer; the "first" rows delete what each sample added, so the stack no longer grows
  by two 12 MP layers per sample; the repeat rows get their own source and clipboard, warm up
  first, and are set up only when --only/--group selects them
- Spot Healing 10 MP refreshes before its timer, so sample 1 no longer redraws the new document
  and the Content-Aware Fill row's edits
- Open PSD drops the previous sample's session before the timer and frees its GPU textures and
  compositor pages (GpuCanvas::retain, as closing a document does); gpu_bytes 293 -> 112 MB

Ported from perf/fix-measurement, which is too far behind main to merge; its xtask baseline
merge, regressions_fail setting, 40-sample rows and nightly workflow change are left out.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 21:20:35 +01:00
yoriswind 2854b4f9fb Preserve named transparency sources and allow false depth flags 2026-11-01 12:17:43 -08:00
yoriswind 408f48d0bc Reproduce named transparency and false depth-flag import failures 2026-11-01 12:16:02 -08:00
Lcoding15 02ab616249 Curvature Pen: carry an open path on from its selected endpoint (#10726)
After another tool, the Curvature Pen could not continue an open path: a
click on its endpoint only selected it and the next click started a new
path. As in Photoshop, with an endpoint of an open path selected (a click
or Ctrl-click on it) the next click now carries that path on from there,
and the commit extends the same subpath in one History step.

The resumed knots are kept in PenPath::fixed and curvature_refresh puts
them back after each pass, so the existing segments keep their shape;
only the endpoint's outgoing handle (and, once closed, the first knot's
incoming one) follows the new anchors. Old anchors don't move while
drawing on.
2026-11-01 21:11:52 +01:00
yoriswind 0ad7ddd317 Keep the SVG marker when normal Paste retains an internal copy 2026-11-01 11:53:21 -08:00
yoriswind 713aa92ba5 Exercise legacy action imports through the integration suite 2026-11-01 11:50:10 -08:00
yoriswind 4c6ddb9cb7 Correct legacy action import expectations and document version support 2026-11-01 11:49:17 -08:00
yoriswind 7ca16e9eba Read Photoshop Actions version 12 descriptors 2026-11-01 11:45:32 -08:00
yoriswind 027b2cdd3c Cover normal Paste followed by Paste As after an internal copy 2026-11-01 11:43:45 -08:00
yoriswind a78b1f1bf8 Keep command-option dependencies limited to style scaling and profile intent 2026-11-01 11:33:53 -08:00
yoriswind a547bdcb30 Connect SVG clipboard source to explicit Paste modes
Read bounded original SVG through the platform clipboard service for native
Paste options and action playback. Preserve a newer internal copy when an
older OS source remains unchanged, and report failed or panicking reads
without losing the existing copy. Retain ordinary raster clipboard routes.

Add source replacement, mode/output, Undo, action playback, stale-source,
size-bound and panic/retry regressions. Completes the app intake for the
source-backed backend adapted from Skyfuller1303's PR #3409.

Validation: 104 unique UI/Actions/native-service passes, one existing manual
clipboard ignore; actual app-model Pixels/Shape renders and saved Path;
2921 engine package passes (22 ignores), adversarial pass, all-target strict
engine/UI/app Clippy, full format, 31-crate layers and standard wasm/HEIF.
2026-11-01 11:06:36 -08:00
Brandon ThomasandClaude Opus 5.5 2df9f80770 Release 0.19.0
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
v0.19.0
2026-11-01 13:58:51 -05:00
yoriswind 33ee38b431 Merge main and preserve the Render gap update 2026-11-01 10:22:26 -08:00
RickiNanoandClaude Opus 5.5 b800c40cfd Don't auto-select off-canvas layers from the pasteboard (#10665)
A Move-tool click on the pasteboard with Auto-Select only cleared the layer
selection (#4991) when nothing was hit there, but `layers_hit` was not clipped
to the canvas: fill layers and pixels hanging past the edge were hit on the
pasteboard, so the click selected a layer that isn't drawn there instead.

Outside the canvas of a document without artboards, nothing is hit now, and
the layer marquee is clipped to the canvas the same way. Artboard documents
keep picking over the pasteboard, where they draw their layers (#5712).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 19:17:45 +01:00
Lcoding15 856c6e9398 Actions: typed text records as one step; Batch says which files failed (#10113, #10682)
While an action recorded, the Type tool's every keystroke (a type.edit
with the session's coalesce key) became a step. A typing session now
folds into the type.create that made the layer (its text becomes the
layer's text) or into one type.edit setting the whole text, with no layer
id, so it plays on the new or current type layer of any document.

Batch and the other folder runs went on past a file that failed and only
listed it in the result's errors, which no UI showed: a Batch whose action
failed on every file looked like nothing happened. The status bar and a
notice now name each file that failed and why.
2026-11-01 19:17:42 +01:00
yoriswind 363caa53c3 Check pixel orientation after relative rotation 2026-11-01 10:07:36 -08:00
yoriswind 7e0bf9ab6c Merge main and retain both gap log updates 2026-11-01 10:04:57 -08:00
yoriswind 53f3ef7c41 Record the default resampler for point-sized actions 2026-11-01 09:57:05 -08:00
David MannandClaude Opus 5.5 5a9ca48f8a docs(atn): Convert Stroke to Fill exists only internally; where it was looked for
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 18:37:35 +01:00
yoriswind 46fb7822c9 Support source-backed SVG Paste modes and ATN classes
Retain bounded original SVG alongside its raster mirror. Explicit Pixels,
Path and Shape modes use real source data, validate destination and workload
limits before editing, and preserve legacy Paste when the mode is omitted.
Round-trip typed Photoshop Paste classes and keep unsupported descriptors.

Adapted-from: Skyfuller1303's PR #3409
Original-commit: 897f200727
Original-source: https://github.com/storytold/photocraft/pull/3409

Validation: engine check --tests; strict lib and vector target Clippy;
7 focused native/ATN tests; owned-file formatting and diff checks.
2026-11-01 09:35:13 -08:00
yoriswind c345eef785 Validate ATN sizing and opacity and honor transform anchors 2026-11-01 09:34:25 -08:00
Dylan M. Taylor cf8e3d352b docs: sync Craft App Suite list with ArtCraft Launcher 2026-11-01 12:29:54 -05:00
David MannandClaude Opus 5.5 ea326374b2 docs(atn): Convert Stroke to Fill is not a user command, nothing to map
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 18:23:54 +01:00
David MannandClaude Opus 5.5 2ec27abb95 docs(atn): measure the remaining menu events through recordings
Every remaining event recorded in the reference application through its
menus: Scale Effects, Create Layers, Frame and Artboards, all eleven
Stack Modes with their plug-in codes, video layer and frame commands,
Create Work Path, Find and Replace, Check Spelling, measurement scale
and Scale Marker, Close All, data sets (apply, import, export), Package,
Video Frames to Layers, Import Notes, Photomerge, Crop and Straighten
Photos, Conditional Mode Change and Fit Image. Close Others and Define
Variables record nothing.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 18:10:32 +01:00
yoriswind d3392e6124 Honor fill rotation and style paste group eligibility 2026-11-01 09:09:00 -08:00
yoriswind 2703d88a35 Document preserved settings in mapped ATN events
Build on davidmann4's ATN reference in #10603 and move the 22 repaired settings out of its gap table.
2026-11-01 09:08:58 -08:00
5f63b3fe4c Integration: address CodeRabbit review of batch 11
- #8714: a Camera Raw Filter step imports only with a process version
  the PSD mapping has verified (PrVN/PrVe 5/184549376 or 6/251920384)
  and a CrVe text; other steps stay kept steps that save back unchanged.
- #7642: the patternName fallback matches names only, so a pattern
  whose id equals that text no longer wins. A step that names its
  pattern only by patternName exports that name.
- #8327: the iso-2022-jp label is refused (its names are 7-bit escape
  sequences that would pass through as ASCII).
- #10417: the Levels export gate also refuses endpoints of the wrong
  shape (both ends text, a text gamma) and channels that aren't objects.
- #10459: a set paused at a step dialog keeps the rest of the set by
  action name, so actions.move while the dialog is open neither plays a
  foreign action nor skips one; "Played N steps" covers the whole Play
  (steps before the pause and the dialog's own step); the suggested .atn
  name is cut to 255 bytes at a character boundary; actions.list returns
  every set, empty ones too; set_names dedups with a HashSet.

Co-authored-by: FinnNk <1424666+FinnNk@users.noreply.github.com>
Co-authored-by: Silvertree2010 <133535268+Silvertree2010@users.noreply.github.com>
Co-authored-by: regexer <3689390+regexer@users.noreply.github.com>
Co-authored-by: marshiyar <57055687+marshiyar@users.noreply.github.com>
Co-authored-by: hectorviov <1501713+hectorviov@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 17:51:02 +01:00
David MannandClaude Opus 5.5 0588012b29 docs(atn): measure Batch behaviour, document-independent recording, Trace Contour
Measured in the reference application: Batch source and destination keys
(open documents, Save and Close, override Open and Save As, suppress open
options), file naming output (the extension component only gets a dot as
the last component), processing order, flat output with subfolders, name
clashes, stop and log error modes with the log file format, and Esc.
What a normal recording names (layers by name, merged nudges and typing,
document offsets) and how it plays on another document. Trace Contour's
recorded keys and its 0..255 level; Quick Export records no step.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 17:11:39 +01:00
yoriswindandbommerts bfe096a988 Preserve named Vibrance exports and adjustment creation opacity
Port the relevant changes from @bommerts in PR #8659:
c4d5c63259,
9f0ae2e43f,
35d1102540 and
668f006ef8.

Keep current mask handling and layer placement. Separate layer opacity from
adjustment settings so a default Gradient Map still saves as a default preset.

Co-authored-by: bommerts <44821497+bommerts@users.noreply.github.com>
2026-11-01 08:11:10 -08:00
yoriswind c2c5b5c30f Cover Vibrance and adjustment opacity action round trips
Vibrance playback coverage adapted from bommerts' PR #8659, commit c4d5c63259. Add the reported Gradient Map opacity case, metadata-only defaults, and atomic validation controls.
2026-11-01 08:09:11 -08:00
yoriswind 54809e8609 Merge commit '209bce8d4671708364842ff0ff5cda76d3153fc3' into codex/10694-missing-options 2026-11-01 07:48:45 -08:00
yoriswind ab0b26a9c6 Wire profile action options and dither 8-bit conversions 2026-11-01 07:46:48 -08:00
yoriswind b3d928e86f Merge commit '209bce8d4671708364842ff0ff5cda76d3153fc3' into codex/atn-mapped-settings 2026-11-01 07:42:00 -08:00
yoriswind f64e3b39f2 Update Image Size import expectation for explicit style scaling 2026-11-01 07:38:01 -08:00
David MannandClaude Opus 5.5 5020854dde docs(atn): measure Shear, gradients, workspaces, Print, Droplet, Sky Replacement, layer comps
Measured in the reference application through its dialogs and recorded
actions: Shear point ranges and what ShrS/ShrE mean, the classic and the
new Gradient tool steps, Content-Aware Fill, Perspective Warp, Print,
Create Droplet and Sky Replacement descriptors, the mmdd/ddmm Batch date
components, and every layer comp reference form. Export As records no
step; Convert Stroke to Fill was not available in the measured version.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 16:31:26 +01:00
yoriswind 23f1b8bce7 Revert "Add optional layer-style scaling to Image Size"
This reverts commit d7bce26deb.
2026-11-01 07:15:45 -08:00
yoriswind 947d4fd1b0 Revert "Preserve Image Size style scaling through ATN actions"
This reverts commit de9c5e743e.
2026-11-01 07:15:45 -08:00
yoriswind 91fd170570 Resolve recorded ATN dimensions at playback and write mode classes 2026-11-01 07:15:34 -08:00
yoriswind 69e93b8ca1 Add native profile flatten and placed-rasterization options 2026-11-01 07:05:52 -08:00
yoriswind 84a84851cb Cover recorded canvas percentages, point sizes and mode flags 2026-11-01 07:04:05 -08:00
Khawar Zamman WaniandFredApps 209bce8d46 Budget PSD pattern expansion and bound multichannel conversion (#10541)
* Stream PSD user and real masks into tile rows

* Correct streamed-mask fixture metadata and test lint issues

* Budget PSD pattern expansion and bound multichannel conversion

---------

Co-authored-by: FredApps <FredApps@users.noreply.github.com>
2026-11-01 16:00:21 +01:00
yoriswind c56822347b Preserve Image Size style scaling through ATN actions 2026-11-01 06:59:02 -08:00
yoriswind db1fb662a8 Add optional layer-style scaling to Image Size 2026-11-01 06:59:02 -08:00
David MannandClaude Opus 5.5 a02e1211e9 Docs (atn): Custom ranges from the dialog; only Spatter of the Filter Gallery is mapped
Addresses CodeRabbit on #10603: the Group A intro said every Filter Gallery effect loads as a
kept step, but Spatter is mapped; Custom's scale, offset and matrix cells now have their
measured ranges and the matrix has no default (a step carries all 25 cells).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 15:51:23 +01:00