Commit Graph
2574 Commits
Author SHA1 Message Date
David MannandClaude Opus 5.5 0543f25682 Merge main into feat/tool-213-7-live-retouch
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-14 15:07:24 +02:00
Lorenzo Fasolino 5e57be89cf Merge remote-tracking branch 'origin/main' into task/T-0003 2026-10-14 13:49:20 +02:00
Lorenzo Fasolino 8ba6af8c84 Merge remote-tracking branch 'origin/main' into task/T-0001 2026-10-14 13:49:18 +02:00
Khawar Zamman WaniandClaude Opus 5.5 20735ab521 Value fields: the mouse wheel steps them, as in Photoshop (#5473)
A field that has been clicked into takes the wheel wherever the pointer
is: field_wheel::begin_frame takes plain and Shift wheel events out of
the frame's input before anything is laid out, so the canvas and panels
neither scroll nor pan. Alt and Ctrl/Cmd + wheel stay the view's.

Over a field that hasn't been clicked, the wheel steps it too (as in
Photopea, #4061), but only for a gesture that starts over the field. A
panel being scrolled keeps scrolling when a field passes under the
pointer.

One step a notch, as the Up/Down keys: 1, or 0.01 for small ranges,
x10 with Shift. A typed sum is worked out first. Hovering never takes
focus, and a non-finite step is dropped. The slider wheel and the
fields share widgets::count_notches.

Closes #5473

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-14 17:06:45 +05:30
Ikki Nishihara 8d72fffb5f Merge upstream main into fix/brush-shift-right-blend-4929
Resolve the docs/brush-parity.md conflict by keeping both sides: the
upstream notes (Hue Jitter amount track, Color Replacement) and the
Brush Shift+right-click Mode picker note, in the header and the change table.
2026-10-14 18:38:51 +09:00
ZhuanTou33212 ac3cac0b95 Add opt-out startup release checks and manual update status 2026-10-14 17:31:43 +08:00
Finn NewickandClaude Opus 5.5 7fae49548d Merge remote-tracking branch 'origin/main' into fix/tiff-alpha-compression
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-14 09:34:37 +01:00
augrclkandGPT-6 25f12c5009 Merge upstream main into PR #5317
Keep both sets of progress notes and preserve the automatic source merge.

Co-authored-by: GPT-6 <noreply@openai.com>
2026-10-14 11:33:35 +03:00
augrclkandGPT-6 b5528efc72 Merge upstream main into PR #5365
Keep both sets of progress notes and preserve the automatic source merge.

Co-authored-by: GPT-6 <noreply@openai.com>
2026-10-14 11:33:34 +03:00
augrclkandGPT-6 b355dacc77 Merge upstream main into PR #5269
Keep both sets of progress notes and preserve the automatic source merge.

Co-authored-by: GPT-6 <noreply@openai.com>
2026-10-14 11:33:32 +03:00
augrclkandGPT-6 cf87e8a7f8 Merge upstream main into PR #5250
Keep both sets of progress notes and preserve the automatic source merge.

Co-authored-by: GPT-6 <noreply@openai.com>
2026-10-14 11:33:32 +03:00
augrclkandGPT-6 16fb0f50e3 Merge upstream main into PR #5199
Keep both sets of progress notes and preserve the automatic source merge.

Co-authored-by: GPT-6 <noreply@openai.com>
2026-10-14 11:33:32 +03:00
augrclkandGPT-6 8cc08cdd52 Merge upstream main into PR #5224
Keep both sets of progress notes and preserve the automatic source merge.

Co-authored-by: GPT-6 <noreply@openai.com>
2026-10-14 11:32:51 +03:00
jonathnwxh 88efb46eb7 Import Photoshop custom shape sets into the Shapes library
Add bounded CSH version 2 reading and a persistent engine import command,
with Shapes-panel and File Open integration. Preserve the existing library
on malformed sets and disambiguate imported names.

Focused checks: 6 engine, 4 parser, 3 UI routing, 6 preset reader tests;
explicit GPU rendering; strict affected-crate Clippy; panic_hunt; layering;
parity generation (unchanged output). Original generated fixture cross-read
with ag-psd. Photoshop-written CSH fixtures and export remain out of scope.

Full repository CI is verified separately before upstream submission.
Prepared with OpenAI Codex assistance for jonathnwxh.
2026-10-14 15:27:52 +08:00
Gustavo Ziger e6d3c70835 Merge main into feat/zoom-animation-566 2026-10-14 03:56:28 -03:00
Finn NewickandClaude Opus 5.5 4c4138d6eb docs: TIFF alpha channels and compression (#5301)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-14 07:38:36 +01:00
abc2cbandClaude Opus 5.5 53e12c04a8 Merge upstream main into feat/psd-distort-invert-smart-filters
Resolve docs/file-format-parity.md: keep both the smart-filter and the
Mt16/Mt32 entries in the status line and the revision history.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-14 09:06:58 +03:00
Timothy DalyandClaude Opus 5.5 ff57499774 PSD: Mt16/Mt32 blocks mark the merged image's transparency (#5178)
The merged image carries its transparency in the first extra channel
when the layer count is stored negative, or when a "Saving Merged
Transparency" global block (Mtrn, Mt16, Mt32) is present. Photoshop
saves 32-bit documents the second way: a positive layer count, Mt32,
and a fourth channel named "Transparency" (psd-tools transparentbg).
merged_has_alpha only knew the first, so opening such a file added a
"Transparency" alpha channel to the document, and the oracle compared
it as if it were opaque white (83.7 % of pixels off; now 0.9 %, all on
the shape's edge).

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-14 01:59:32 -04:00
Nicolas FalesyandClaude Opus 5.5 7a0e60c104 test(engine): add Color Range fuzziness 0 exact-match test (TOOL-214-3) (#3581)
* test(engine): add Color Range fuzziness 0 exact-match test (#214)

Adds an explicit test for Sampled Colors at Fuzziness 0 (point sampling
and hex colors) asserting that exact matches are fully selected and
adjacent shades are rejected. Updates scorecard TOOL-214-3 to done.

* docs: regenerate scorecard (TOOL-214-3 done)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017WeVmjnnPPKdxVTpr2Vjtw

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-14 01:59:13 -04:00
Michael HigginsandClaude Opus 5.5 2388d82165 Docs: oracle floor, open issues, workspace size and layer filters match main (#5376) (#5382)
- ROADMAP.md: the oracle floor is 145 of 258 (crates/io/tests/corpus.rs,
  gaps.md G1), not 133 of 256; 953 open issues, not 579.
- docs/architecture.md: ~539,000 lines in ~1,310 files and ~8,040
  #[test] functions, recounted 2026-10-13.
- README.md: "a layer kind filter" instead of "layer filters"; only the
  Kind filter exists.
- AGENTS.md: drop an empty bullet at the end of section 7.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-14 01:58:22 -04:00
LorenzoFasolino d11be6de78 docs: drop stale missing-tool rows, only Art History Brush is missing (#5063)
Task T-0002 del lab artcraft-lab.

File toccati:
   docs/brush-parity.md      | 5 +++--
   docs/gaps.md              | 6 +++---
   docs/target-app-parity.md | 5 +++--
   docs/ui-parity.md         | 7 ++++---
   4 files changed, 13 insertions(+), 10 deletions(-)

Evidenze: artifacts/T-0002/ (nel lab, non in questo repo).
2026-10-14 01:58:18 -04:00
wwew 9df59c96b8 docs: write product name as PhotoCraft in development guide (#5228) 2026-10-14 01:58:14 -04:00
Finn NewickandClaude Opus 5.5 d658c13c4e fix(format): serialise directory bundle saves with a bundle-wide lock
A directory save lists the existing objects, writes its own, publishes its manifest and removes what that manifest doesn't reference. Two writers (two stores, or two processes) saving the same bundle could interleave, and one writer's cleanup could remove an object the other's winning manifest needs. Each save now holds an OS advisory lock on save.lock for its whole transaction; a held lock is waited for (10 s by default, PcraftWriter::set_lock_wait), then the save fails without writing. A crash releases the lock; a file system without file locks saves unlocked as before. Fixes #4957.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-14 06:12:49 +01:00
augrclkandGPT-6 61b0f4699f Brush Settings: show keyboard focus on section locks
Co-authored-by: GPT-6 <noreply@openai.com>
2026-10-14 05:12:20 +03:00
augrclkandGPT-6 17abae9741 Brush Settings: expose section lock names and state
Co-authored-by: GPT-6 <noreply@openai.com>
2026-10-14 04:52:47 +03:00
Tanish Manku 583425b4df Stroke latency trace: PHOTOCRAFT_STROKE_TRACE times each frame of a brush stroke (#1343) (#4403)
Testers report ~50 ms input-to-pixel while painting on Linux and macOS, and asked for a
per-stage breakdown. With PHOTOCRAFT_STROKE_TRACE=1 the app prints, per stroke, p50/p95 of
the frame interval, pointer moves per frame, the live stroke's render, the canvas refresh
(composite + upload), the UI build, eframe's CPU time (UI, tessellation, submission) and the
remaining vsync/swap-chain wait, with the GPU backend; =<file.csv> also appends every frame.
The last summary is in the control channel's perf.strokeTrace.

RTX 5090, Vulkan, 120 Hz: interval 8.33, cpu 2.2 (ui 0.9, stroke 0.8, canvas 0.4), wait 6.0 ms.
2026-10-13 18:09:37 -07:00
augrclkandGPT-6 811a40bda2 Brush Pose: preserve independent tilt-axis overrides
Keep X/Y flags through ABR import, presets, commands and painting; retain legacy combined inputs and expose both controls with regression coverage.

Co-authored-by: GPT-6 <noreply@openai.com>
2026-10-14 01:47:21 +03:00
vistaero 89ed4cb284 Stream native PSD and EXR imports through bounded seekable bands 2026-10-14 00:45:43 +02:00
vistaero 72dd11087b Stream viewport pages with bounded GPU staging and cancellation 2026-10-14 00:45:43 +02:00
vistaero 0456bc3f22 Add guarded scratch storage with owned memory supervision 2026-10-14 00:45:24 +02:00
Lorenzo Fasolino c09aff2517 Merge remote-tracking branch 'origin/main' into task/T-0001 2026-10-13 22:46:09 +02:00
Lorenzo Fasolino bc38bf15be Merge remote-tracking branch 'origin/main' into task/T-0003 2026-10-13 22:45:28 +02:00
augrclkandGPT-6 17f8f80b8c Brush Settings: align Angle and Roundness left of the tip widget
Put the numeric controls in a right-aligned left column and keep the
interactive ellipse on the right. Preserve units, limits, imported values
and existing field/drag command routing. Addresses only the Angle/Roundness
layout subsection of #3825.

Co-authored-by: GPT-6 <noreply@openai.com>
2026-10-13 23:41:12 +03:00
Fabio Lussi c45d01eafe Merge remote-tracking branch 'origin/main' into fix-3674
# Conflicts:
#	docs/control-protocol.md
2026-10-13 22:20:59 +02:00
Fabio Lissi 9db1c7ae1d Layer Style: Gradient Overlay takes any number of colour stops (#5177)
The Gradient Overlay page modelled its gradient as a From and To colour,
so a rainbow gradient on text, as in Photoshop, was impossible; richer
gradients only survived the dialog through the snapshot.

Engine: `layer.layerStyle.gradientOverlay` (and a gradient `stroke`) take
`"stops": [[position, "#rrggbb"], …]` (2..256, sorted) and
`"opacityStops": [[position, opacity %], …]` ([] = opaque), replacing
From/To. Malformed lists are refused at the command entry (set and replace),
so a bad edit changes nothing; given lists replace the gradient's, and
without them intermediate stops still survive an edit.

Dialog: the page shows a ramp with colour-stop markers edited as in the
Gradient Editor: click under the ramp to add a stop with the colour there,
drag to move, drag away to delete (two stay), double-click or the Color
swatch opens the shared Color Picker on that stop (`__openColorPicker
{stop}`, `ui.dialog.open {kind: colorPicker, field: "stops", stop: i}`),
Location and Delete for the selected stop, and the Gradients panel's presets
to start from. The page always writes `stops` and `opacityStops`; the factory
From/To defaults become two stops. Transparency stops are carried, not
edited on the page.

Tests: engine stops and refusals; the field grammar, the factory conversion,
ramp add/move/delete, presets and Delete, the picker's stop preview and
confirm, and the control channel.
2026-10-13 15:18:49 -05:00
vangel76 732293653f Merge remote-tracking branch 'upstream/main' into m4/x
# Conflicts:
#	crates/automation/src/server.rs
#	crates/engine/src/jobs.rs
#	crates/engine/src/paint_cmds.rs
#	crates/ui-egui/src/canvas.rs
#	crates/ui-egui/src/lib.rs
#	crates/ui-egui/src/smart_ui.rs
2026-10-13 22:04:09 +02:00
augrclkandGPT-6 fe083602a4 Brush Settings: place Both Axes on the Scatter header
Share the header layout between Scattering and Dual Brush, retaining label
scrubbing, percentage limits, fractional values and tools.setBrush routing.
Cover layout in all themes and guard disabled input and independent brush
blocks. Addresses only the Both Axes placement subsection of #3825.

Co-authored-by: GPT-6 <noreply@openai.com>
2026-10-13 22:29:15 +03:00
Claude e4dd35ce23 docs: Content-Aware Scale (P28) measured within its budget
docs/content-aware-scale-performance.md records what changed, the
exactness contract (bit-identical wherever the energy stays a number;
NaN and infinities now deterministic), and interleaved before/after
timings on a 4-core VM: the carve of P28's 24 MP photo 2013 -> 556 ms,
the P28 row 3281 -> 1639 ms against its 3 s budget, smaller images
1.65-2.3x faster, peak memory unchanged or lower.

gaps.md G2 and target-app-parity.md get the dated measurement;
budgets.toml's P28 comment says the target is met. Its enforce flag and
the committed baseline stay as they are until the reference machine
reruns cargo xtask perf --update-baseline.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LELc5BQzgV5dA7dxdMejkK
2026-10-13 19:00:14 +00:00
augrclkandGPT-6 02fff63cb4 Brush Settings: combine the Spacing checkbox and percentage header
Keep the saved spacing while Off or toggling, and retain percentage limits
and tools.setBrush routing. Cover the shared header in all themes and add
disabled-input, value-retention and journal regressions. Addresses only the
Spacing header subsection of #3825.

Co-authored-by: GPT-6 <noreply@openai.com>
2026-10-13 21:55:47 +03:00
abc2cbandClaude Opus 5.5 b464a334ca PSD: Distort smart filters and Invert open and save like Photoshop
Smart filters PhotoCraft applied with Pinch, Polar Coordinates, Ripple,
Spherize, Twirl, Wave, ZigZag or Invert were dropped when saving a PSD ("this
filter has no PSD equivalent"), and the same filters in a Photoshop file opened
as kept-verbatim entries that didn't render. They are now mapped both ways in
`smart_map.rs`, with the keys, enum codes and key order Photoshop 27 writes
(checked against a Photoshop-saved file holding one smart object per filter):

- Pinch `Pnch` Amnt; Twirl `Twrl` Angl; Ripple `Rple` Amnt + RplS (Sml/Mdm/Lrg);
  Spherize `Sphr` Amnt + SphM (Nrml/HrzO/VrtO); Polar Coordinates `Plr ` Cnvr
  (RctP/PlrR); ZigZag `ZgZg` Amnt, NmbR, ZZTy (PndR/OtFr/ArnC);
- Wave `Wave` Wvtp, NmbG, WLMn/WLMx, AmMn/AmMx, SclH/SclV, UndA, RndS.
  PhotoCraft's Wave has no Scale, so a Photoshop wave scaled off 100% stays
  verbatim rather than lose it;
- Invert `Invr`: no `Fltr`, `hasoptions` true, like Photoshop.

Shear stays unmapped for now: Photoshop stores its curve on its own grid.

Tests: the Photoshop `Fltr` bytes read back as the PhotoCraft settings and are
rewritten with the same keys, values and order; a scaled Wave round-trips
unchanged; Invert's item; the new filters join modelled_filters_round_trip.
The verbatim-filter tests now use Crystallize and Shear.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-13 21:52:02 +03:00
Gustavo Ziger 1105b5da6a Merge main into feat/zoom-animation-566 2026-10-13 15:48:48 -03:00
Claude 42a19785c0 Merge main into claude/new-group-dialog
Conflicts resolved:
- layer.new.layer: main's `position: above|below` (its Cmd/Ctrl-click New Layer) replaces this
  branch's `below` flag, and `layer_place` still places the layer, so a layer added below
  joins the open group or clip group it lands in. `layer.new.group` takes the same `position`
  param, and the Layers panel's Cmd-click on New Group sends it.
- Paste keeps main's linked smart-object blocks and this branch's placement; Auto-Blend's new
  Depth and Blended layers go through `layer_place` like its other new layers.
- dialogs.rs and menus.rs keep main's Channel Options / New Spot Channel dialogs next to the
  New Group dialog; ui-parity.md keeps main's change list and rows next to this branch's.
- hu, tr and sr (complete catalogs on main) get "New Group…" and "New Group from Layers…".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NyBcWJNZ3eRotC5HNZuwge
2026-10-13 18:29:00 +00:00
augrclkandGPT-6 69cd2abafc Brush Settings: disable Wetness/Mix controls outside Mixer Brush
Pass the active tool to the section renderer and disable the complete
Wetness/Mix Transfer blocks when they do not apply, preserving saved settings.
Cover all themes/tools, disabled input, active edits and real tool-cache swaps
with three regressions, including exact tools.setBrush journal routing.

Addresses the Wetness/Mix tool-applicability subsection of #3825.

Co-authored-by: GPT-6 <noreply@openai.com>
2026-10-13 21:19:24 +03:00
David MannandClaude Opus 5.5 577c4eea67 Merge origin/main into feat/tool-213-7-live-retouch
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-13 20:10:40 +02:00
Vikram Bhaskaran ab596db6ae Codecs: open Amiga IFF/ILBM bitmaps read-only
Amiga IFF/ILBM (EA 85) artwork opens read-only: the FORM chunks BMHD,
CMAP and BODY, both the interleaved ILBM and planar PBM variants, 1-8
bitplanes through the palette (a grey ramp when there is none), masking
0/1/2, and both stored (0) and ByteRun1/PackBits (1) compression. Chunk
lengths and Run lengths are checked, so a malformed file errors rather
than panicking; other bit-plane counts return Unsupported. No writer, so
.iff/.lbm/.ilbm join the open filters and the format opens in Photoshop
parity's Amiga IFF row.
2026-10-14 05:09:01 +11:00
David MannandClaude Opus 5.5 79b2bee666 docs: regenerate scorecard after merging main
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-13 20:07:38 +02:00
harrisonoconnorhover 5c60b4d50f actions: add atomic Blur Background starter preset
Detect and exclude the subject from blur sampling while preserving selection, alpha, masks, and other layers in one undoable edit. Add the fifth preset and verify pixel behavior, failure handling, UI playback, and full-size performance.

Generated with Codex.
2026-10-13 14:03:51 -04:00
Fabio Lissi 9c1ec22701 Merge remote-tracking branch 'origin/main' into feat/actions-record-independent
# Conflicts:
#	docs/gaps.md
2026-10-13 13:00:43 -05:00
Fabio Lissi db45e58d45 Merge remote-tracking branch 'origin/main' into feat/camera-raw-calibration-prefs-sidecars
# Conflicts:
#	crates/ui-egui/src/i18n/hu.tsv
#	crates/ui-egui/src/i18n/ru.tsv
#	crates/ui-egui/src/i18n/sr.tsv
#	crates/ui-egui/src/i18n/tr.tsv
#	crates/ui-egui/src/jobs_ui.rs
#	crates/ui-egui/src/lib.rs
#	docs/gaps.md
#	docs/scorecard.md
2026-10-13 13:00:24 -05:00
Fabio Lissi 9e953aa897 Merge remote-tracking branch 'origin/main' into feat/atn-corpus 2026-10-13 13:00:18 -05:00