Commit Graph
3891 Commits
Author SHA1 Message Date
David MannandClaude Opus 5.5 375cf82c10 Merge origin/main into feat/tool-213-4-cam-preview-large
docs/scorecard.md: take main's and regenerate.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21 12:15:27 +02:00
David MannandClaude Opus 5.5 28c195b856 Address CodeRabbit review: clean document after non-linear Delete, redo-row drag label
Deleting a past or later state in non-linear history leaves the document
unchanged, so a saved document now stays clean (view-only revision bump, as
select_layer and channel eye toggles do). Dragging a later (dimmed) History row
now shows its label at the pointer instead of an empty ghost. Adds a test for
undoing a mixed visible + opacity layer.setProps with visibility changes not
undoable.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21 12:15:26 +02:00
David MannandClaude Opus 5.5 e5f4f8e260 Address CodeRabbit review: soft shape frame from the hard render, feather claim
A soft shape's transform frame, snap rectangle and Properties X/Y/W/H came from
the path plus the full stroke width on every side, so a centred or inside stroke
grew the frame when Density or Feather was set. The frame is now the pixels the
same shape renders at full Density without Feather (edge strips only, clipped to
the canvas), identical to the hard shape's for every stroke alignment.

feather_matches_photoshops_ramp now enforces the 1-level claim the scorecard
makes (measured max deviation 1 at 8, 16 and 32 bit).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21 12:14:46 +02:00
David MannandClaude Opus 5.5 901e19d30b Address CodeRabbit review: budget the Bitmap conversion's working buffers
A higher Output resolution passed the resample budget (document bytes only)
but then allocated ~40 B/px of f32 composite, gray and output buffers at the
new size. Budget the whole working set before resampling.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21 12:07:41 +02:00
David Mann 5abe294af7 Merge remote-tracking branch 'origin/main' into fix/5559-bitmap-dialog 2026-10-21 11:40:10 +02:00
David Mann b68b64ccb5 Merge PR #6160: feat(psd): editable Render smart filters (Clouds, Difference Clouds, Fibers, Lens Flare)
# Conflicts:
#	docs/file-format-parity.md
2026-10-21 11:37:14 +02:00
David Mann 86811ddeee Merge PR #6002: Stroke: keep Overprint (overprint)
# Conflicts:
#	crates/engine/src/layer_style.rs
#	crates/ui-egui/src/layer_style.rs
#	docs/file-format-parity.md
2026-10-21 11:36:58 +02:00
David MannandClaude Opus 5.5 87fbf348c1 Merge #6088's current head (fix/snapshot-followups) into feat/history-snapshot-options
#3634 builds on #3567 with #6088's follow-ups and on #3535; it now carries the current head of each.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21 11:36:42 +02:00
David Mann 5bf2898f4e Merge remote-tracking branch 'origin/main' into feat/tool-214-12-shape-feather
# Conflicts:
#	docs/scorecard.md
2026-10-21 11:36:04 +02:00
David Mann a492716367 Merge PR #5990: Bevel & Emboss: keep the Gloss Contour's Anti-aliased (antialiasGloss) 2026-10-21 11:29:05 +02:00
David Mann 213eaa260d Merge PR #5407: Support .act color tables end to end (swatches + Color Table dialog) 2026-10-21 11:28:43 +02:00
David Mann 4cfb576ee0 Merge PR #4496: .atn: a pinned corpus of real action sets, with byte-exact and load/save/reload tests (#219) 2026-10-21 11:28:19 +02:00
David MannandClaude Opus 5.5 093945cb82 Merge #3567's current head (feat/2966-snapshot-dialog) into feat/history-snapshot-options
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21 11:28:04 +02:00
David MannandClaude Opus 5.5 30789f4557 Merge #3535's current head (fix/history-options) into feat/history-snapshot-options
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21 11:27:54 +02:00
f5543e85fc Integration: merge main, resolve conflicts (#5407)
main added the GPU adapter strings (#1885) at the end of every
translation table, where this PR adds the Color Table strings. Both
blocks are kept.

Co-authored-by: abdul-karim-mia <97598943+abdul-karim-mia@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21 11:23:09 +02:00
David MannandClaude Opus 5.5 09562dc898 Address review: undo restores visibility a recorded step changed; non-linear Delete at the oldest state
With Make Layer Visibility Changes Undoable off, stepping through history kept every layer's
current visibility, so undoing a recorded step that changed visibility (Apply Layer Comp, a
snapshot, a compound) left the new visibility in place. Each history state now remembers the
layers whose visibility its own step changed (History::current_visibility, set by the session
when it records); Undo, Redo, History rows and non-linear Delete carry only the other layers'
visibility, so only the unrecorded eye changes survive. Deleting, purging or branching keeps the
lists consistent by merging them into the following step.

history.deleteState is now enabled in non-linear history while the oldest state is current and
later states exist, so a later state can still be deleted there.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-21 11:05:50 +02:00
David MannandClaude Opus 5.5 937ee12300 Address review: Content-Aware Scale on the Background vacates to the background colour
Shrinking a selection's Content-Aware Scale on the Background left the
vacated area transparent. It now goes through Delete's `clear_area`
(background colour on the Background, transparent elsewhere), as
Photoshop does; the transform box's live preview shows the same.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-21 11:01:19 +02:00
David Mann 14b928e8a8 Merge remote-tracking branch 'origin/main' into HEAD 2026-10-21 10:56:06 +02:00
paulou-jpgandClaude Opus 5.5 b1a939f265 Mode dropdowns for Clone Stamp, Pattern Stamp, History Brush, Healing and Paint Bucket
Photoshop gives these painting tools a Mode in the options bar; here they
always painted in Normal.

- Clone Stamp, Pattern Stamp and History Brush offer the layer modes, and
  Healing its own list (Normal, Multiply, Screen, Darken, Lighten, Color,
  Luminosity). The mode is kept in each tool's own brush, like its size,
  and reaches the live stroke and the commit.
- Paint Bucket: paint.bucket takes "mode" (any blend mode, or "clear" to
  erase the filled area). algo's bucket fill gains a FillMode for it. The
  options bar's Mode has Clear after Dissolve, as the Brush's does.
- A tool's first brush now starts in Normal instead of inheriting the
  previous tool's mode, so a Multiply Brush no longer makes the first
  Clone Stamp stroke multiply.
- The Shift+Alt letter and Shift+Plus/Minus mode keys reach these tools,
  within each tool's menu. Tools with no blend mode (the Erasers, Mixer
  Brush, Dodge, Burn, Sponge) now pass the keys to the selected layers.

Not yet: Healing's Replace mode, and a Mode for Spot Healing, Color
Replacement, Blur, Sharpen and Smudge (they ignore the keys meanwhile).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21 01:23:22 -07:00
dotCooCoo c4d741c5bf Print: list the stand-in printers on the GDI route on Windows only
With a printer stand-in installed, file.print.printers and the Print
dialog's driver Printer menu listed its printers on every platform,
while the GDI route answers Unsupported off Windows. Tests on Linux and
macOS then opened the Windows Print dialog instead of the system
printers and paper controls. The stand-in now answers Unsupported off
Windows too, and the tests that read the driver menu expect it on
Windows only.
2026-10-21 01:17:12 -07:00
David Mann f6f93838d8 Merge main into fix/history-options 2026-10-21 09:51:06 +02:00
David MannandClaude Opus 5.5 4d25188410 Address review: add frame_stroke: None to the Group literal main gained in web_cmds tests (#6668)
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-21 09:43:50 +02:00
David Mann 2027e85a44 Merge remote-tracking branch 'origin/main' into HEAD
# Conflicts:
#	docs/scorecard.md
2026-10-21 09:35:08 +02:00
David Mann d25387a459 Merge remote-tracking branch 'origin/main' into HEAD 2026-10-21 09:35:08 +02:00
jonathnwxh 50acc30111 Return exported byte count from EXR Quick Export 2026-10-21 15:05:33 +08:00
VishnuByrraju c088250481 fix(actions): .atn export of Image Size with resample none no longer adds a pixel resize (#7189) 2026-10-21 12:15:13 +05:30
VishnuByrraju b65e0af197 fix(actions): strict .atn export keeps Apply Image's flat source fields (#7197) 2026-10-21 12:11:59 +05:30
Higgs32584andClaude Opus 5.5 b105c6b47f Crop: Content-Aware Fill keeps the pixels a non-deleting crop hid (#8060)
A frame pulled back out over pixels an earlier crop with Delete Cropped
Pixels off hid treated everything past the old canvas as uncovered, so
Content-Aware Fill painted over the hidden image. The fill now snapshots
the target layer before the crop and counts its opaque pixels past the
canvas as covered (kept and sampled), for unrotated and rotated crops.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21 02:37:32 -04:00
Eddi Andree Salazar MatosandClaude Opus 5.5 196238fe95 File names: superscript COM/LPT ports, and _ before the dot in web exports
Review follow-ups:

- Windows also reserves COM¹–COM³ and LPT¹–LPT³ (the ISO 8859-1
  superscript digits), with any extension. `is_windows_device_name`
  takes them too; `sanitize` keeps those characters, so `COM¹` became a
  device file name before.
- Save for Web's `portable_generated_stem` added `_` at the end, so
  `path: nul.v2.png` gave `nul.v2_.html`, still the NUL device, and the
  export failed as an unsafe component. Both it and `sanitize` now share
  `portable_device_name`, which puts `_` before the first dot.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21 01:29:31 -05:00
VishnuByrraju d04871b5fd fix(layers): mark adjustment layers kept as imported but not rendered (#6541) 2026-10-21 11:54:42 +05:30
jonathanwxh-cell c5e25bba8f Merge current main and validate document activation replies 2026-10-21 14:12:39 +08:00
D-monized 195c02a8ea Merge branch 'main' into feature/font-recent-favorites 2026-10-21 00:12:25 -06:00
Eddi Andree Salazar MatosandClaude Opus 5.5 7c0d307293 File names: keep Windows device names (nul, con, com1…) off the disk
File › Package named its folder and document after the document with
`file_cmds::sanitize`, which let Windows device names through. On
Windows 11 a document named `nul` failed to package with "path not
found (os error 3)"; on Windows 10 `con`, `prn`, `aux`, `comN` and
`lptN` are devices too.

`sanitize` now adds `_` before the first dot of a device name
(`nul` -> `nul_`, `com1.v2` -> `com1_.v2`) on every platform, so a
package written anywhere can be copied to Windows. The device check
moves from web_cmds.rs to `file_cmds::is_windows_device_name`, and
web_cmds uses it unchanged.

The new package test fails on Windows without the fix.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21 01:02:05 -05:00
VishnuByrraju 881226c60b fix(swatches): a CMYK swatch keeps its inks as the foreground (#7474)
swatches.use converted a CMYK swatch (e.g. a Pantone .ase colour 0/0/100/0) to sRGB and
forgot the inks, so the Color Picker showed 5/1/92/0 and CMYK documents were painted with
the round-tripped inks. It now records them like a colour picked in CMYK (#4196).
2026-10-21 11:17:33 +05:30
VishnuByrraju a1d235b77f fix(info): Info panel CMYK uses the Color Picker's colour-managed conversion (#8101)
The Info panel and Color Sampler readouts used a naive (1-r-k)/(1-k) formula while the
Color Picker converts through the CMYK profile, so the two never agreed (white-to-black
rows differed by tens of percent). device_cmyk now calls convert::rgb_to_cmyk, inside the
document's CMYK space for readouts.
2026-10-21 11:14:14 +05:30
VishnuByrraju 6b99ac877c fix(automation): doc.replaceSmartObject replaces Smart Object contents from the read root (#8061)
layer.smartObjects.replaceContents takes an ambient path and is refused in
serve/mcp. Add the capability-scoped sibling of doc.place: the file is read
beneath --automation-read-root and handed to the command's own core, as an
RPC method (doc.replaceSmartObject) and an MCP tool (doc_replace_smart_object).
2026-10-21 11:04:23 +05:30
aiongg c5176efd93 Integration: a scale beyond f32 range is refused, not clamped, for #7048
Main's 3f216a0cd1 rejects numeric overflow before document edits; #7048's test predates it and expected 1e39 to clamp to 150 %.
2026-10-21 05:04:04 +00:00
aiongg b1e408d28f Merge the smart-filter track (#7066 #6398 #6397 #6297 #6299 #6301 #6303 #6315 #6305 #6317)
# Conflicts:
#	docs/file-format-parity.md
2026-10-21 05:04:04 +00:00
aiongg cb8bea1636 Merge PR #7044: Conditional Mode Change: "gray" as a single source mode matches Grayscale (#7042)
# Conflicts:
#	crates/engine/src/file_cmds/tests.rs
2026-10-21 05:04:04 +00:00
aiongg 1d567a115f Merge PR #7015: Actions: deleting an action removes its function key (#7014)
# Conflicts:
#	crates/engine/src/actions_cmds.rs
2026-10-21 05:04:04 +00:00
aiongg 2a1ac6a6fb Merge PR #6208: Preferences: Save in Background off saves in the foreground (#6207)
# Conflicts:
#	docs/gaps.md
#	docs/scorecard.md
2026-10-21 05:04:04 +00:00
aiongg 050caf9ecd Merge PR #6681: Content-Aware Move: live preview for large selections (TOOL-213-4, #6680)
# Conflicts:
#	docs/gaps.md
#	docs/scorecard.md
#	docs/target-app-parity.md
2026-10-21 05:04:04 +00:00
aiongg 4804148ff9 Merge PR #3759: Pattern Stamp and Background Eraser draw live; Spot Healing shows its heal area (TOOL-213-7, #3754)
# Conflicts:
#	docs/gaps.md
#	docs/target-app-parity.md
2026-10-21 05:04:04 +00:00
aiongg f163e3ce0b Merge PR #6211: Zoom tool: hold to zoom continuously with Animated Zoom on (#6210)
# Conflicts:
#	docs/gaps.md
#	docs/scorecard.md
#	docs/ui-parity.md
2026-10-21 05:04:03 +00:00
aiongg fc371711e6 Merge PR #5847: Shapes: Density and Feather on shape layers (#5846)
# Conflicts:
#	docs/scorecard.md
#	docs/target-app-parity.md
#	docs/ui-parity.md
2026-10-21 05:04:03 +00:00
aiongg cd710ca898 Merge PR #5622: Filters: Lens Correction, Adaptive Wide Angle and Camera Raw Filter respect locks on smart objects (#5621)
# Conflicts:
#	crates/engine/src/lens_cmds.rs
2026-10-21 05:04:02 +00:00
aiongg 34c5e7d49e Merge PR #3536: History: set the History Brush source from the panel (history.setSource) (#2966)
# Conflicts:
#	crates/engine/src/commands.rs
#	crates/ops/src/lib.rs
2026-10-21 05:04:02 +00:00
aiongg c23a6c9b90 Merge PR #6206: Performance: a cancelled Gaussian Blur job stops within budget (#6205)
# Conflicts:
#	docs/gaps.md
2026-10-21 05:04:02 +00:00
aiongg 375c5e1517 Merge PR #7085: Actions: an imported Crop step in a unit other than pixels is not applied as pixels (#7084) 2026-10-21 05:04:02 +00:00
aiongg 3d233afd31 Merge PR #7028: Transform Selection: an unknown reference point is an error (#7027) 2026-10-21 05:04:02 +00:00