Commit Graph
11425 Commits
Author SHA1 Message Date
Eng. Mahmoud Bek ElNemer 47eea2fb88 Patch tool: start Content-Aware Sample All Layers on (#12125)
- Implement `Default` for `SampleAllLayers` with `patch: true` and all other
  tools `false` so a fresh start and `Reset Tool` on the Patch tool leave
  Sample All Layers on.
- Update `sample_all_key` in `crates/ui-egui/src/tools/tool_reset.rs` to
  toggle the probed tool's slot against `SampleAllLayers::default()`.
- Add `crates/ui-egui/src/patch_sample_all_default_tests.rs`.

Fixes #12125
2026-11-07 21:35:43 +02:00
David Mann 3b9a8b5b30 Merge remote-tracking branch 'origin/main' into pr-9272
# Conflicts:
#	docs/ui-parity.md
2026-11-07 20:33:40 +01:00
8bf381f2d9 Find Layers: keep the Name text on every run path; no focus for a hidden filter row (#11238)
CodeRabbit found three things after the last fix-up:
- `engine.execute` and action steps without `name` replied `selected: []`
  while the panel listed the layers its kept Name text matches. `run` now
  fills in the panel's Name text for every path, as the menu did.
- With Filter Options > Hide, Find Layers left a focus request that took
  the caret once the row was shown again. In the reference application the
  row stays hidden and showing it later does not focus the field, so the
  request is only made for a drawn row.
- The control protocol said the selection never changes; the Name filter
  deselects a selected layer it hides (#10879). The doc now says so and
  describes each entry point and the reply.

Tests for the first two fail without the fix.

Co-Authored-By: NaufalDzz <NaufalDzz@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 20:24:22 +01:00
Hector VillarrealandClaude Opus 5.5 5252735c97 Free Transform: a flattened box reads its reference point's own offset (CodeRabbit pre-merge check on #12139)
With no inverse map, the offset now comes from the pseudo-inverse of the box map's linear part, not from how far the top-left corner moved.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 13:22:29 -06:00
5de6aa4e04 Merge origin/main into feat/psd-puppet-warp-2 (PR #8140)
Conflicts: psd_import.rs (main's vector_preview field kept, the SmartObject
still built as a binding so pin_puppet_meshes runs), smart_cmds/rendering.rs
(main's JobCtx argument kept next to the PR's placed_puppet_params).

Co-Authored-By: Tungtono <Tungtono@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 20:18:37 +01:00
David Mann 087a5e6293 Merge remote-tracking branch 'origin/main' into pr-9348 2026-11-07 20:17:06 +01:00
Triwarr d297dd3a2d PDF: validate --pdf-dpi, band the raster conversion, complete the notices
- --pdf-dpi now rejects zero, negative, NaN and infinite values at parse time (unit-tested) instead of silently falling back to 300 DPI.
- The RGBA8 raster is converted and written in 256-row bands with a cancellation check per band, so the f32 buffer no longer duplicates a whole page; the pixel-memory estimate charges the retained raster instead of that buffer.
- docs/file-format-parity.md: the 2026-11-07 revision row is inside the revision table.
- NOTICE now reproduces the Hayro MIT notice, the Foxit/PDFium BSD-3-Clause text, Adobe's CMaps BSD-3-Clause text and the CC0 statement for the ICC profile; package.ps1 ships NOTICE and ATTRIBUTION.md in both installers.
2026-11-07 20:12:46 +01:00
texjer f3348efd90 Merge remote-tracking branch 'upstream/main' into cr/7121a
# Conflicts:
#	crates/ui-egui/src/i18n/cs.tsv
#	crates/ui-egui/src/i18n/de.tsv
#	crates/ui-egui/src/i18n/el.tsv
#	crates/ui-egui/src/i18n/es.tsv
#	crates/ui-egui/src/i18n/fr.tsv
#	crates/ui-egui/src/i18n/hu.tsv
#	crates/ui-egui/src/i18n/id.tsv
#	crates/ui-egui/src/i18n/it.tsv
#	crates/ui-egui/src/i18n/ja.tsv
#	crates/ui-egui/src/i18n/ko.tsv
#	crates/ui-egui/src/i18n/nl.tsv
#	crates/ui-egui/src/i18n/pl.tsv
#	crates/ui-egui/src/i18n/pt-br.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/i18n/uk.tsv
#	crates/ui-egui/src/i18n/vi.tsv
#	crates/ui-egui/src/i18n/zh-hans.tsv
#	crates/ui-egui/src/i18n/zh-hant.tsv
2026-11-07 14:12:46 -05:00
yoriswind 012aec123b Merge current main into Free Transform hit zones 2026-11-07 11:06:16 -08:00
vangel76andClaude Sonnet 5.5 93630bfd62 Merge upstream/main into fix-11096-corner-projection
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-07 20:04:03 +01:00
Triwarr c5a9288c4b PDF: keep the craft-pdf imports off the wasm build
The module compiles for wasm (only its import entry point is stubbed), so the renderer imports and the native document types are gated; the web build no longer sees a dependency it does not have.
2026-11-07 19:52:35 +01:00
Triwarr 060d35265a PDF: keep the raster importer clippy-clean and refresh the scorecard
- Iterate the page sizes with their index instead of indexing the vector (clippy::needless_range_loop).
- Fix the .ai dispatch test's module path.
- Regenerate docs/scorecard.md after the merge (10 of 197 settings).
2026-11-07 19:46:18 +01:00
Hector Villarreal 18fd853447 Move tool: Auto-Select target defaults to Layer; dropdown lists Group, Layer (#11380) 2026-11-07 12:42:46 -06:00
Triwarr 2de7a9c042 Revert "Export: split nested groups into separate layers/files"
This reverts commit c1662d4911.
2026-11-07 19:41:28 +01:00
Triwarr ca92d936c0 PDF: import raster pages through craft-pdf instead of PDFium
- craft-pdf (the shared Rust/Hayro reader in craft-libs, rev c5a1cbf) renders each page; no shared library is loaded or shipped, and every desktop platform works.
- Raster pages only: editable text/vector import and the pdf_text/pdf_vectors options are removed (they can return later through craft-pdf's interpret device). Page geometry, artboards, page range, budgets, cancellation and warnings are kept; the effective DPI now respects craft-pdf's 8192 px side and 64M px page limits.
- Drops pdfium-render, the PDFium download in CI, the build-script copy and the packaging/licence staging; records the Hayro/fonts/CMaps/ICC assets in ATTRIBUTION.md and NOTICE.
- \.ai\ files starting with %PDF- now take the PDF importer, matching the comment.
- Attribution, architecture and file-format-parity docs updated.
2026-11-07 19:41:22 +01:00
Hector VillarrealandClaude Opus 5.5 4b3eb2ffd1 Free Transform: typing X or Y leaves the other axis at full precision (CodeRabbit review on options_bar.rs:308)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 12:39:37 -06:00
Hector VillarrealandClaude Opus 5.5 e1d7429266 Actions: Create Droplet steps follow a renamed loaded action, as Batch steps do (CodeRabbit review on steps_droplet.rs:59)
Also point the module comments at #10710's table: mapped events leave docs/atn.md's measured table (CodeRabbit review on docs/atn.md:1002).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 12:39:36 -06:00
ba3ea95007 raw: honour ActiveArea in Hasselblad 3FR/FFF (PR #9058)
The decoder set the active area and the crop to the whole plane and never
read ActiveArea, so a file with masked borders and no DefaultCrop developed
with the borders in. Read ActiveArea like the DNG path, use it as the
initial crop, and place DefaultCrop relative to it as DNG does. Also give
3FR/FFF its own row in the camera raw table instead of "embedded preview
only".

Co-Authored-By: Gotya-OFFCIAL <Gotya-OFFCIAL@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 19:39:30 +01:00
David Mann 0f0e76c44b Merge remote-tracking branch 'origin/main' into pr-11238
# Conflicts:
#	crates/ui-egui/src/panels/layer_filter_ui.rs
#	docs/control-protocol.md
2026-11-07 19:37:29 +01:00
David Mann b8b539c845 Merge origin/main into PR #9058 (raw: Hasselblad 3FR/FFF) 2026-11-07 19:37:23 +01:00
Hartmut Nörenberg 5c0bec3036 fix(engine): grey out Straighten Layer where the reference does
Straighten Layer was offered wherever a ruler line existed, so its button was
live for every target and the command turned whatever it was pointed at: it
rotated and cropped the canvas on the Background, turned several selected
layers or a group, failed on a locked layer with `layer "..." is locked`, and
rotated pixels nobody could see on a hidden layer. The reference application
(#12033) keeps the button off for the Background, a multi-layer selection, a
group, Lock All and Lock Position, and answers a hidden target layer with its
alert and no change at all. The command's own `enabled` check now says the
first set, so the options bar, the CLI, the control channel and an action step
all agree about what is offered; the hidden layer stays enabled and is refused
by the command, before it reads anything for the edit, so a refused click
leaves the document, its History and the ruler line exactly as they were. The
states the ticket marks *not measured* keep today's behaviour.
2026-11-07 19:36:53 +01:00
David MannandClaude Opus 5.5 25b62801e5 Merge main into fix/scale-effects-bevel-texture
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-11-07 19:35:28 +01:00
David Mann 9a079c811f Merge remote-tracking branch 'origin/main' into pr-8485-merge
# Conflicts:
#	docs/ui-parity.md
2026-11-07 19:28:44 +01:00
David MannandClaude Opus 5.5 b7fe8eaccc Merge main into fix/11819-brush-picker-gear-menu
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-11-07 19:28:26 +01:00
Triwarr 5cb7c5a9ab Merge remote-tracking branch 'origin/main' into pdf
# Conflicts:
#	docs/scorecard.md
2026-11-07 19:27:23 +01:00
89f5946829 Merge main into #5238: keep main's live Mixer Brush, port the same-frame paint order
Main gained its own live Mixer Brush in #3627 (engine `cmd/brush_cmds/mixer_live.rs`, the
release path in `canvas/gesture.rs`), so this merge takes main's side for the engine, paint,
docs and scorecard files and drops this PR's parallel `LiveMixer` API and its engine test.

What stays from #5238 is the paint order: while a live painting tool is selected (and no dialog
owns the canvas), the image is prepared after this frame's pointer and navigation input, so a
dab or a wheel pan/pinch zoom shows in the frame it happens instead of one frame later. Ported
onto main's split `canvas.rs`, with its tests in `canvas/live_frame_tests.rs` and
`tests/it/live_stroke_canvas.rs`, adjusted for main (the removed `interface.enableAnimations`
preference, the new wheel event `source`, and the Mixer release that commits its preview pixels).

Co-Authored-By: bommerts <44821497+bommerts@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 19:26:17 +01:00
David Mann b919607cd8 Merge main into #10445 2026-11-07 19:24:49 +01:00
yoriswind 99653a4626 fix(actions): preserve the Equalize dialog on recorded playback 2026-11-07 10:24:40 -08:00
David MannandClaude Opus 5.5 4932df0770 Merge main into fix/11907-bg-eraser-digit-keys
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-11-07 19:20:20 +01:00
David Mann e6ba4aca42 Merge pull request #5845 from devius/ka-language
i18n: Georgian (ka) interface language
2026-11-07 19:19:01 +01:00
Hector Villarreal f0e753ee8d Magnetic Lasso: Caps Lock swaps in the Width circle cursor (#11690) 2026-11-07 12:18:59 -06:00
David Mann c1ec8e6adf Merge pull request #10744 from Lcoding15/fix/curvature-pen-resumes
Curvature Pen: carry an open path on from its selected endpoint (#10726)
2026-11-07 19:15:55 +01:00
David Mann 90cdaa615d Merge pull request #10695 from Lcoding15/feat/arrange-drag-borders
Window > Arrange: drag the borders between arranged documents (#10101)
2026-11-07 19:14:43 +01:00
61a7cffbd5 Merge origin/main into feat/smart-sharpen-canvas-preview (#9981)
Conflict: docs/ui-parity.md status line keeps main's Reset Transform entry
and #9648's.

Co-Authored-By: ljkx <ljkx@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 19:14:16 +01:00
53ea374123 Filter preview locator: only the press centres the preview (#9981)
In the reference application's filter dialogs (measured with Unsharp Mask)
a press on the image centres the preview window there, but dragging on
afterwards leaves it: neither the held moves nor the release move it. The
locator here followed the drag, on the canvas and through ui.pointer. Now
only the press centres it, so the held-press state ui.pointer kept across
requests (__pvPointerDown, clear_pointer_state) is gone, and the tests
check that a drag stays where it was pressed.

Co-Authored-By: ljkx <ljkx@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 19:13:20 +01:00
David MannandClaude Opus 5.5 7c0cc59ca3 Merge main into feat/auto-219-8-panel-command-check
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 19:13:19 +01:00
David Mann f8ab0858e7 Merge pull request #9604 from dotCooCoo/feat/equalize-entire-image
Equalize: with a selection, choose the selected area only or the entire image based on it
2026-11-07 19:12:42 +01:00
David MannandClaude Opus 5.5 3db6e29ae9 Merge main into fix/11733-color-sampler-context-menu
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-11-07 19:12:04 +01:00
David MannandClaude Opus 5.5 cd26d1f9d2 Merge main into fix/11812-brush-opacity-minimum
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 19:10:23 +01:00
Hartmut Nörenberg 16b842a67f fix(engine): the Type tool leaves a selection in Indexed Color
In an Indexed Color or a Bitmap document Photoshop keeps no type layer: the
Type tool still lets you click and type and shows the text while editing, but
committing it leaves a selection in the shape of the glyphs and no layer, as
one history state named "New Type Layer", and paints nothing.

commit_here already made that result for the Type Mask tools, with
type.createSelection and removeLayer in the typing session's one step, so the
commit now runs it for a new Type tool layer in those two modes as well, and
names the step back after type.create's own label. The mode check is the
engine's (type_cmds::commits_as_selection) and not the type.create command's:
that command is the primitive the tools make their working layer with, on the
first click already with text in it while the placeholder preference is on, so
a mode branch there would leave nothing to type into.

Tests: cmd::type_indexed_mode_tests pins the commit in both modes (no type
layer, the selection the Type Mask of the same text makes, one state named
"New Type Layer", every pixel unchanged, one undo back), RGB, Grayscale, CMYK
and Lab at 8, 16 and 32 bit, the command's own role, and a refused conversion;
editing.rs pins the tool's commit and its cancel through the canvas' own
pointer_up, insert and commit.

Fixes #12041
2026-11-07 19:06:33 +01:00
David Mann e5e731b64e Merge pull request #11857 from DuBearte/fix/11813-brush-options-tooltips
fix(ui): the Brush options bar gets the reference tooltips and Smoothing Options title (#11813)
2026-11-07 19:04:34 +01:00
David Mann 56d7bbe95f Merge pull request #11701 from TrevorBrown-dev/feat/magnetic-lasso-shift-bracket-width-11688
Magnetic Lasso: Shift+[ and Shift+] jump to the width limits (#11688)
2026-11-07 19:00:56 +01:00
Hector Villarreal e25be5e77b Magic Wand: Anti-alias keeps the region whole and softens only near-matching neighbours (#11776) 2026-11-07 12:00:07 -06:00
David Mann 67e903786a Merge pull request #11710 from TrevorBrown-dev/fix/magnetic-lasso-composite-11686
Magnetic Lasso: the edge comes from the visible composite, not the active layer (#11686)
2026-11-07 18:59:02 +01:00
David Mann b9e8859f89 Merge pull request #11545 from TrevorBrown-dev/feat/artboard-options-bar-11385
The Artboard tool's options bar gets the iPhone 8/7/6 default size, a background control, the Align panel and the gear menu (#11385)
2026-11-07 18:56:12 +01:00
yoriswind 57d346b0c4 Warn when PSD export omits nonfinite Count points 2026-11-07 09:51:42 -08:00
David Mann 7d18bc5217 Merge pull request #11675 from hnoerenberg/feat/reset-transform-smart-object-11662
feat: Layer > Smart Objects > Reset Transform (#11662)
2026-11-07 18:51:10 +01:00
024c7c0310 Regenerate docs/scorecard.md for #10448's export.lastFolder setting
#10448 adds the export.lastFolder preference, so the prefs audit now counts
195 settings instead of 194 and the gate failed on a stale scorecard.

Co-Authored-By: qvest-ssels <qvest-ssels@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 18:50:40 +01:00
David Mann cd1582bc60 Merge remote-tracking branch 'origin/main' into pr-10448 2026-11-07 18:49:27 +01:00
7f09b2013d Merge current main into #9077 (Average on Smart Objects)
Resolves the status-line conflicts in docs/gaps.md and
docs/target-app-parity.md (both sides kept) and the module list in
crates/engine/tests/it/main.rs.

Co-Authored-By: arjen <76012639+ArjenS-LA@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 18:48:12 +01:00