Commit Graph
3891 Commits
Author SHA1 Message Date
David MannandClaude Opus 5.5 5ca6fc7767 PSD export: embed a linked file only when it is an image PhotoCraft can open
A PSD/PSB/layered-TIFF save read every linked smart object's file and
embedded it, even when no importer can decode it (a text or settings
file the link happened to point at). Such a layer can't show its
contents in any reader. A linked file is now embedded only when it
decodes; otherwise the layer is written as pixels with a warning.
Embedded sources are unchanged.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-24 18:35:23 +02:00
aiongg 360150dcd4 Merge pull request #7281 from wanikhawar/claude/blur-tool-lag-684245
perf(retouch): releasing a Blur/Smudge/Dodge stroke takes its live pixels
2026-10-24 11:13:32 -04:00
Ayan 47d9266fa1 Make Crystallize 4x and Pointillize 3x faster on 24 MP layers (#6200)
* Speed up Crystallize and Pointillize with cell-space rasterization

* Measure pixelate commands on unlocked layers and Background separately

* Record pixel-exact 24 MP filter and command benchmarks
2026-10-24 11:13:03 -04:00
GyoJoong Kum b367dfb6a9 Merge upstream main and resolve scorecard and UI parity conflicts 2026-10-24 14:09:34 +00:00
squirrelnoobandClaude Opus 5.5 3eebdec501 Merge upstream/main into feat/histogram-panel-parity
Conflicts resolved by keeping both sides:
- ui-egui control.rs: UI_SET_FIELDS has main's updatesOpen and the
  histogramPanel, histogramRange and histogramRefresh fields (42).
- automation server.rs: the ui_set description names all of them.
- docs/ui-parity.md: main's header, with the Histogram panel entry
  added to its change list.
- docs/scorecard.md: regenerated with `cargo xtask scorecard`.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 16:41:46 +03:00
squirrelnoobandClaude Opus 5.5 049abb7d42 Histogram panel: views, channels, statistics, source, Uncached Refresh and live preview
- Compact, Expanded and All Channels views; the channel is kept across views.
- Channels per colour mode, plus Luminosity and Colors (overlaid, mixed where
  channels overlap); Show Channels in Color and Show Statistics in the panel menu.
- Statistics for the level under the pointer or a dragged range: Mean, Std Dev,
  Median, Pixels, Level, Count, Percentile, Cache Level.
- Source (Entire Image, Selected Layer, Adjustment Composite) for multilayer
  documents.
- Adjustment previews counted live, with the original outlined over them.
- Cached-data warning and Uncached Refresh; Preferences > Performance > Cache
  Levels (1-8) caps the cache level.
- ui.set histogramPanel / histogramRange / histogramRefresh, ui.inspect histogram.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 16:41:46 +03:00
vangel76 053e1e0d03 Merge upstream/main into fix/3290-filter-mask-paint 2026-10-24 14:24:45 +02:00
vangel76 8c855f3fcd Merge upstream/main into fix/vp-stamp-tearoff 2026-10-24 13:56:35 +02:00
Khawar Zamman Wani 254e501de9 fix(engine): a recorded several-layer Free Transform replays on the selection
The canvas box commits `edit.transform` with the `layers` it opened on, and
the Action recorder kept those ids verbatim, so replaying in another document
failed with NoLayer or moved unrelated layers. When the listed layers are the
ones the selection gives the command, the recorded step drops `layers` and
replays on the layers selected then; other explicit lists keep their ids.

Claude-Session: https://claude.ai/code/session_01D8r6W6haR5FWJyxUakMEfA
2026-10-24 14:47:13 +05:30
dotCooCoo 55df342307 Batch: folder sources take every format PhotoCraft opens
The folder listing behind Batch and the other folder inputs used a
hand-kept extension list that lacked formats PhotoCraft opens: Cineon,
DICOM, Amiga IFF, PCX, XPM, DDS, PBM, PAM, PFM, Photoshop templates and
the CR3, ORF, RW2, RAF, SRF and SR2 raws. Those files were left out of a
batch without a message. The listing now takes every extension of a
format photocraft-codecs reads in the build and every camera raw
extension, and keeps its own list only for the document and vector
formats.

With Format "Same", inputs that PhotoCraft opens but does not write
(DICOM, Amiga IFF, GIMP's .xcf and .xcf.gz, .psdt, and any codec format
without a writer) are saved as PSD, as camera raws already were. Without this,
each such file would fail to save.
2026-10-24 01:54:23 -07:00
Daniel 8e1cf9dc97 Merge latest upstream main and preserve GNOME titlebar defaults
Retain PhotoCraft's updated UI and preferences, while preserving explicit saved titlebar settings, Linux frame dependencies, regression tests, packaging notices and roadmap entry.
2026-10-24 10:32:26 +02:00
Khawar Zamman Wani 069d14d998 Merge remote-tracking branch 'origin/main' into pen-path-operations
# Conflicts:
#	crates/ui-egui/src/control.rs
#	crates/ui-egui/src/tool_reset.rs
#	docs/ui-parity.md
2026-10-24 13:39:11 +05:30
jonathnwxh 050ac592d4 Merge main preserving CSH, ASL and contour imports and translations 2026-10-24 15:57:08 +08:00
Khawar Zamman Wani 754c61fd7f feat(ui-egui): change the operation of drawn path components; carry on open shape paths
Feedback on #7648 from testing a vector portrait workflow:

- Path Selection selects path components: a click selects the one under the pointer, ⇧-click
  adds or removes one, a click off every component deselects, and a drag moves only the
  selected components (one `path.moveAnchors`). Their anchors show solid, as in Photoshop.
- Path Selection gets the Path Operations menu. With components selected, the menu changes
  their operation through the new engine command `path.setOperation` (Work Path, saved path,
  shape layer or vector mask; one History step), and its icon shows their operation.
- `+` (Combine Shapes) and `-` (Subtract Front Shape) pick the operation with the Pen tools and
  Path Selection, on the selected components and for the next path. `+` is ⇧= on a US layout, so
  with these tools it no longer steps the blend mode.
- The Pen carries on an open path from its endpoint in Shape mode (the selected shape layer)
  and on a targeted vector mask, as it already did on the Work Path and saved paths. Closing the
  open path a stroked-only shape layer was made of gives it the options bar's fill and stroke,
  as if it had been drawn closed.
2026-10-24 13:20:17 +05:30
eiketre f074016208 Merge remote-tracking branch 'upstream/main' into fix/multilayer-transform-handles
# Conflicts:
#	crates/engine/src/transform_cmds.rs
#	crates/ui-egui/src/transform_tool.rs
#	docs/ui-parity.md
2026-10-24 09:39:37 +02:00
ArjenS-LA 81988038ff Execute Average through the shared smart-filter pipeline 2026-10-24 00:38:17 -07:00
ArjenS-LA 8e0fc5299a Fix Average colour weighting and preserve per-pixel alpha 2026-10-24 00:38:17 -07:00
Khawar Zamman WaniandClaude Opus 5.5 f3e66beea6 Merge origin/main into fix/6501-multi-layer-free-transform
Main's smart-object cache handling in edit.transform (take_caches /
restore_unrendered) now covers every transformed layer; the params doc
keeps both the layers field and main's bicubic variants.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 13:07:24 +05:30
Khawar Zamman Wani 6a74abbe09 Merge remote-tracking branch 'origin/main' into save-for-web-webp 2026-10-24 12:04:57 +05:30
Federico Olivares e386cc2ae9 Format the acceptance tests 2026-10-24 02:33:02 -03:00
Federico Olivares aad49d3213 Acceptance tests: drop the BMP header check, its PR left the batch 2026-10-24 00:55:36 -03:00
Federico Olivares 7e4ff3222d Acceptance test: Gaussian Blur radius starts at 0.1 2026-10-24 00:51:31 -03:00
Federico Olivares 35c6c82b2d Add cross-PR acceptance tests for the parity batch 2026-10-24 00:51:31 -03:00
Federico Olivares af83232e83 Merge PR #8902 into integration batch 2026-10-24 00:51:30 -03:00
Federico Olivares 7367dc58e5 Merge PR #8807 into integration batch 2026-10-24 00:51:29 -03:00
Federico Olivares 88b4de4a08 Merge PR #8779 into integration batch 2026-10-24 00:51:28 -03:00
Federico Olivares f863d9bd21 Merge PR #8811 into integration batch 2026-10-24 00:51:27 -03:00
Federico Olivares 466627872f Merge PR #8548 into integration batch 2026-10-24 00:51:27 -03:00
Federico Olivares 3b318e4dad Merge PR #8640 into integration batch 2026-10-24 00:51:26 -03:00
Federico Olivares 6cba11edc0 Merge PR #8923 into integration batch 2026-10-24 00:51:24 -03:00
Federico Olivares aecd686fef Merge PR #8823 into integration batch 2026-10-24 00:51:22 -03:00
Federico Olivares 73f4129c0a Merge PR #8728 into integration batch 2026-10-24 00:51:20 -03:00
Ratul Paul 2818bc1e7c Merge upstream main and preserve UI scale progress
Keep all upstream contributor entries, progress notes and current document
dates alongside the existing intermediate UI scale feature.

Validation: fmt, locked engine/UI tests (6389 passed), Clippy, layers, wasm,
scorecard generation/check, and panic_hunt all passed.
2026-10-24 09:41:37 +06:00
jonathanwxh-cell 3ddf80566a Merge main into document-offset fix
Resolve overlapping gap documentation while preserving opening-order activation and current upstream changes. Retain both sets of regression tests.
2026-10-24 11:32:50 +08:00
Dylan M. Taylor 1c3db2e5c3 security(engine): bound script, batch, adjustment, import and export work (#8954)
* security(engine): bound script, batch, adjustment, import and export work from file input

Scripts calling scripts share depth and step budgets; batch inside a played action charges the playback tree; destructive adjustments and mask adjustments visit stored tiles when the content bounds are a huge sparse grid; Copy Layers checks group depth; aux flattening and brush import refuse oversized canvases; video footage frames are budgeted, Render Video names frames after the leaf of the document name and reads no linked files for restricted sessions; ATN names are clipped; profile paths are read as regular files only; prefs.set no longer treats colorSettingsX as colorSettings.

* style(engine): rustfmt

* engine: address review - refuse unbounded sparse adjustments, carry batch playback charges, charge played steps to scripts, clip ATN targets, stricter colorSettings paths, cap image-sequence frames
2026-10-23 22:09:29 -04:00
Jeremy YaoandClaude Opus 5.5 e332010d92 Merge branch 'main' into feature/animation-effects
Brings in 412 commits from main (cf9ff2a2). Two conflicts:
- crates/ui-egui/src/lib.rs: main added updates_ui::tick right after
  prefs_ui::tick, where this branch calls wheel_nav::unsmooth. Both stay,
  main's first; the update tick reads no input.
- Cargo.lock: main's, with cargo adding back this branch's one line (the
  desktop app's direct windows dependency).

docs/scorecard.md is regenerated; it differs from main only in UI-217-10.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 22:08:50 -04:00
David MannandClaude Opus 5.5 adb9298341 Give main's new Group literals in the asset tests a frame_stroke
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-24 03:16:48 +02:00
David Mann 23d8f053cb Merge remote-tracking branch 'origin/main' into HEAD
# Conflicts:
#	crates/compose/src/shape_split.rs
2026-10-24 03:12:55 +02:00
David Mann 6914464b9d Merge remote-tracking branch 'origin/main' into HEAD
# Conflicts:
#	crates/ui-egui/src/panels.rs
#	docs/ui-parity.md
2026-10-24 03:09:54 +02:00
David Mann feb20ebc60 Merge remote-tracking branch 'origin/main' into HEAD
# Conflicts:
#	crates/gpu/src/plan.rs
#	crates/io/src/adjust_map.rs
2026-10-24 02:59:10 +02:00
David Mann 1226df9633 Merge remote-tracking branch 'origin/main' into HEAD
# Conflicts:
#	crates/ui-egui/src/i18n/cs.tsv
#	crates/ui-egui/src/i18n/de.tsv
#	crates/ui-egui/src/i18n/ko.tsv
#	crates/ui-egui/src/i18n/vi.tsv
#	crates/ui-egui/src/i18n/zh-hans.tsv
#	crates/ui-egui/src/i18n/zh-hant.tsv
#	crates/ui-egui/src/panels.rs
#	docs/scorecard.md
#	docs/ui-parity.md
2026-10-24 02:57:47 +02:00
David MannandClaude Opus 5.5 224ba351d1 Merge origin/main into feat/ui-217-4-columns-unit
Keeps main's humanize label and docs entries next to the PR's; scorecard regenerated:
settings that do nothing 18 of 177.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-24 02:55:05 +02:00
midasdf ef7bc41cc0 Merge remote-tracking branch 'origin/main' into jp/print-paper-sizes
# Conflicts:
#	docs/target-app-parity.md
2026-10-24 09:45:16 +09:00
David Mann 7e29a7005a Merge remote-tracking branch 'origin/main' into HEAD
# Conflicts:
#	docs/scorecard.md
2026-10-24 02:38:18 +02:00
Finn Newick a0c67694b2 Merge remote-tracking branch 'origin/main' into HEAD
# Conflicts:
#	crates/engine/src/atn_cmds/tests.rs
2026-10-24 01:32:48 +01:00
David Mann 2b0deddec2 Merge remote-tracking branch 'origin/main' into integration-batch-7
# Conflicts:
#	crates/ui-egui/src/panels.rs
2026-10-24 00:51:37 +02:00
Omar SaidahmedandBrandon Thomas afd5127dc8 perf: skip redundant smart object resamples and per-pixel reads (#6406)
* skip redundant smart object resamples and per-pixel reads

* resample smart objects only when their re-render fails

---------

Co-authored-by: Brandon Thomas <echelon@gmail.com>
2026-10-23 18:36:54 -04:00
aaaa990314 Crop: Delete Cropped Pixels keeps type and smart objects whole (#7116) (#7117)
* Crop: Delete Cropped Pixels keeps type and smart objects whole (#7116)

crop_doc cropped every surface for_each_surface visits, including the
rendered caches of type layers and smart objects. Those move by shifting
their stored pixels, so the cut stayed and showed as soon as they were
moved. Like Photoshop, Delete Cropped Pixels now deletes pixel-layer data
(and fill caches) only; shapes are re-rendered as before.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Address review: Delete Cropped Pixels crops stored video frames again (#4956)

The pixel-layer-only crop path skipped a video layer's stored frames and
original footage, so scrubbing brought the cropped pixels back. Crop them
with the displayed content, as before, and test a shrinking crop.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* Address CodeRabbit review: the turned crop keeps type and smart objects whole before rotating

The pass that drops what a turned crop deletes before the rotation still cut
every cached surface. The rotation re-renders type and smart objects, but a
smart object whose source is unavailable keeps its cache, so it stayed clipped.
That pass now uses the same pixel-layer-only rule as the crop itself.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Brandon Thomas <echelon@gmail.com>
2026-10-23 18:36:28 -04:00
Lucas RodriguesandBrandon Thomas 15db2d8560 Paste: keep the pasted image on the canvas (#6759) (#6798)
* Paste: keep the pasted image on the canvas (#6759)

Paste centred the clipboard image on the view centre with no clamp, so an
image that fit the canvas could land partly off it, and one larger than
the canvas could leave blank edges. Now, per axis, an image that fits stays
wholly inside the canvas, as close to the view centre as it can, and one
larger than the canvas starts at the canvas's top-left edge, as in
Photoshop. Paste Into / Outside still centre on the selection
("clampToCanvas": false). Centres are computed edge by edge in f64, so
extreme coordinates no longer overflow.

* Paste: doc comments for Paste Into and the paste placement tests

---------

Co-authored-by: Brandon Thomas <echelon@gmail.com>
2026-10-23 18:35:21 -04:00
6e52641508 Auto-Align: a locked layer becomes the reference instead of being moved (#7080) (#7081)
* Auto-Align: a locked layer becomes the reference instead of being moved (#7080)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Address review: Auto-Align moves the Background as a normal layer

With the Background selected and a Cylindrical or Spherical result (every
layer is reprojected), or another layer as the reference, the Background's
own position lock made Auto-Align refuse. Like Free Transform and Photoshop,
the Background's built-in position lock no longer pins it: it becomes a
normal layer ("Layer 0") when it has to move. Lock All, Lock Pixels and a
user's Lock Position on any other layer still keep it as the reference.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* Address CodeRabbit review: the Auto-Align params doc names the locked layer as the default reference

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Brandon Thomas <echelon@gmail.com>
2026-10-23 18:35:08 -04:00