Commit Graph
3096 Commits
Author SHA1 Message Date
FredApps 6e13443ca6 Merge approved PhotoCraft PR #3455: Undo and redo action definition edits from the Actions panel
Port behavior and regression coverage into current modules; preserve current upstream behavior.
Keep action-definition undo separate from document history and preserve upstream panel routing and layout.
2026-10-29 04:12:47 +01:00
jonathanwxh-cell df290aca5c Merge upstream main into PR #7621, preserving feature and current progress documentation 2026-10-29 11:05:44 +08:00
FredApps 030712d1ab Merge approved PhotoCraft PR #6236: Shift+Alt+right-click opens Photoshop's HUD Color Picker (#6098)
Preserve current module structure and port the approved source/test changes to unique current locations.
2026-10-29 03:58:35 +01:00
FredApps 17c4dabf90 Merge approved PhotoCraft PR #4305: Filter > Other > Frequency Separation (#1714)
Preserve current module structure and port the approved source/test changes to unique current locations.
2026-10-29 03:56:41 +01:00
FredApps 72c11b083e Align regression inventory with actual PhotoCraft subsystems 2026-10-29 03:44:34 +01:00
FredApps 4a51aa83f6 Add traceable per-PR regression cases and explicit integration acceptance gates 2026-10-29 03:43:38 +01:00
FredApps 46c1347951 Document 108-PR selection, partial integration checkpoint and testing protocol 2026-10-29 03:39:31 +01:00
FredApps 663c0204dd Merge approved PhotoCraft PR #8896: Select and Mask: Photoshop's full-window workspace (#7069, #8148)
Resolve moved test modules and independent catalog/workflow additions without changing behavior.
2026-10-29 03:32:04 +01:00
FredApps cd9ce83ae7 Merge approved PhotoCraft PR #3554: fix(packaging): launch bundled CLI directly from AppImage
Resolve moved test modules and independent catalog/workflow additions without changing behavior.
2026-10-29 03:31:02 +01:00
FredApps 99b11de5d6 Merge approved PhotoCraft PR #9436: Startup: a failed launch says why in a dialog instead of closing silently (#7643) 2026-10-29 03:29:53 +01:00
FredApps e4e75d0e2b Merge approved PhotoCraft PR #9110: test: GPU tests honour WGPU_BACKEND, so they run on Windows with an Intel GPU (#4) 2026-10-29 03:29:47 +01:00
FredApps 86fcbf26ee Merge approved PhotoCraft PR #7648: Pen: Path Operations menu, as in Photoshop (#1397) 2026-10-29 03:29:31 +01:00
FredApps c50539ea84 Merge approved PhotoCraft PR #6510: Automation: resolve configured root aliases for absolute paths (#6426) 2026-10-29 03:29:25 +01:00
FredApps cd3a054cf0 Merge approved PhotoCraft PR #6383: Windows releases ship a symbols zip: the release build's PDBs for profilers (#688) 2026-10-29 03:29:22 +01:00
FredApps 08e35bedc1 Merge approved PhotoCraft PR #4985: feat(ui): add Shift+right-click brush mode picker 2026-10-29 03:28:59 +01:00
FredApps b426bd284b Merge approved PhotoCraft PR #4742: fix(macos): bundle photocraft-cli and resolve it from droplet scripts 2026-10-29 03:28:35 +01:00
Davit MatchakhelidzeandClaude Opus 5.5 4e5804cf77 Merge upstream main into ka-language (Arabic beside Georgian)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01YMTAbGNRxnMEzRvYnQGphF
2026-10-29 06:08:09 +04:00
Claude cd111a0339 Merge storytold/photocraft main into the Fill/Stroke popover branch
Clean merge of 16 upstream commits; scorecard unchanged (12 of 182).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01TYsCL5E2GM6hUabP9dmYAv
2026-10-29 01:10:22 +00:00
saschaweissandClaude Opus 5.5 8ee89595f8 docs: order the revision entry and say 'picked colour' for the picker preview
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014QvfaMyAX4i4PbKBMnvFj6
2026-10-29 00:53:45 +01:00
Vlad Grankovsky 113a240548 Merge upstream main 0.17.0 and retain isolated tone targets 2026-10-29 00:43:22 +01:00
Vlad Grankovsky 94c1ddcb2f Merge origin/main into codex/multi-channel-editing
Integrate main 69b8fd9c1, retaining multi-channel selection and editing through extracted channel-panel, Move-pointer and tone-editor helpers. Adapt explicit imports and preserve progress-document histories.
2026-10-29 00:37:26 +01:00
e7500777b5 Swedish catalog: contested terms follow a native speaker's answers
A native Swedish speaker answered the terminology questionnaire on #10021;
his choices now apply to every row that uses the term, so each concept
still has one Swedish word: arbetsyta (workspace), fjädring (feather),
ombilda (transform), rutnät (grid), förhandsgranskning (preview),
klippmask, skiva (slice), ta prov (sample), gradient, placera, snedställ,
rasterisera, Kombinera lager (Flatten Image), indefinite tool names
(Penselverktyg), and the blend modes Skärm, Överlägg, Färgskuggning,
Differens and Luminositet. 243 rows changed.

Co-authored-by: FredApps <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-29 00:29:17 +01:00
saschaweissandClaude Opus 5.5 bc94987337 Merge upstream main into type-color-live-preview
Resolves the docs/ui-parity.md status line: upstream's current line with
this change's entry (#5530) added.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014QvfaMyAX4i4PbKBMnvFj6
2026-10-28 23:09:50 +01:00
dotCooCoo 9b30424431 Merge commit 'refs/check/bf-9604-main' into bf-9604
# Conflicts:
#	crates/engine/src/atn_cmds.rs
#	crates/engine/src/cmd/extra_cmds.rs
#	crates/ui-egui/src/dialogs.rs
#	crates/ui-egui/src/lib.rs
#	crates/ui-egui/src/menus.rs
#	docs/target-app-parity.md
2026-10-28 15:01:46 -07:00
David Mann 19f11c190f Merge main (69b8fd9c14) 2026-10-28 22:36:00 +01:00
5ab3025bcf Swedish interface language, combined from the community catalogs
Adds Swedish (sv, Svenska) as an interface language. The catalog combines
the open Swedish catalogs of #5985 and #9536: each row takes the best of
their translations, with one Swedish term per concept across the UI and
the reference application's established Swedish terms where they are
unambiguous, and the strings added since are filled in. 4,537 rows, every
measured key; plural rule one|other.

Where the rows come from: 2,710 both catalogs agreed on, 979 from #5985,
655 from #9536, 193 written new; 177 of the taken rows
were edited for consistency.

The tests that used sv-SE as an unsupported locale now use sw-KE and
fi-FI, and sv-SE / sv_FI.UTF-8 are positive cases. macOS lists sv in
CFBundleLocalizations.

Fixes #10020.

Co-authored-by: kler <[email protected]>
Co-authored-by: davvarn <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-28 22:35:59 +01:00
David MannandClaude Opus 5.5 f66f749f96 Merge main
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-28 22:18:30 +01:00
David MannandClaude Opus 5.5 15dc4092f8 Web build: served script fonts draw the interface too
The web build has no system fonts and embeds no craft fonts, so an Arabic
(or Japanese, Chinese, Korean, Hindi) interface had no font for its labels:
served fonts were registered only in the document text engine. A served
script fallback now also joins the end of every egui font family, and the
font stack theme::install_fonts rebuilds on a language change includes it
again. The web shell asks for the interface language's script font, not
only the browser languages'.

Review finding on #10006.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-28 22:18:28 +01:00
dotCooCoo e8bfa3f6ce Merge main into feat/layers-filter-by-smart-object 2026-10-28 14:06:31 -07:00
dotCooCoo 24a2fba6dd Merge main into feat/layers-filter-by-artboard 2026-10-28 14:06:00 -07:00
aiongg e2f9ae6bfb Merge main into perf/9328-slow-frames
Conflicts in perf/budgets.toml and docs/scorecard.md: both sides added perf rows (P80 here, P81 and P82 from #9942). Kept all three; scorecard regenerated with cargo xtask scorecard.
2026-10-28 20:30:50 +00:00
bd9590d060 Arabic interface language, combined from the community catalogs
Adds Arabic (ar, العربية) as an interface language. The catalog combines
the open Arabic catalogs of #2505, #4520, #4569, #5593, #5915, #6092 and
#6287: each row takes the best of their translations, with one Arabic
term per concept across the UI, and the strings added since are filled
in. Modern Standard Arabic, Western digits, the six CLDR plural forms
(zero|one|two|few|many|other).

The two tests that used ar-SA as an unsupported locale now use sw-KE, and
the direction test expects Arabic to be the one right-to-left catalog.

Co-authored-by: azizr12 <[email protected]>
Co-authored-by: hicbest <[email protected]>
Co-authored-by: hasan-sdaif <[email protected]>
Co-authored-by: NibrasAz7 <[email protected]>
Co-authored-by: vfggf95565 <[email protected]>
Co-authored-by: syrrevshin4202-prog <[email protected]>
Co-authored-by: test-bit-sys <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
2026-10-28 21:22:26 +01:00
ljkxandClaude Opus 5.5 2780df1f30 Camera Raw sidecars: apply the crop, stop reporting RawFileName
A raw opened with a Lightroom or Camera Raw sidecar reported
"3 not supported: CropBottom, CropRight, RawFileName" (#9985): the crop
keys fell through to the unsupported list (CropTop/CropLeft were only
spared because they were 0), and the raw's file name was treated as a
setting.

The XMP reader now resolves the crop from the public crs: schema:
crs:HasCrop="True" with CropTop/CropLeft/CropBottom/CropRight, fractions
of the developed frame in the raw's stored orientation. A missing or
False HasCrop means no crop (the keys are stale and are not reported).
Fractions are clamped to 0..1; an inverted, empty or unreadable crop,
and a straightened one (CropAngle not 0, whose rectangle is measured on
the rotated frame), is not applied and its keys are named as not
supported. RawFileName is bookkeeping.

Camera Raw's settings have no crop stage, so the crop is applied the way
the sidecar's other raw-stage settings are: Open re-develops the raw
(RawTuning::crop) and crops the upright frame after mapping the
fractions through the raw's Orientation, before the Camera Raw step, so
the post-crop vignette centres on the crop. This works with the dialog
and with Open in Camera Raw off; the dialog previews the whole frame.
PhotoCraft's own sidecar keeps the crop when it is rewritten, and Load
Settings in the Camera Raw Filter names a crop as not supported.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-28 19:47:26 +01:00
ljkxandClaude Opus 5.5 f2aa279ba7 Filter dialogs: a click on the image centres the preview window (#9648)
In Photoshop, while a filter dialog with a preview window is open (Smart
Sharpen, Unsharp Mask, Reduce Noise...), the pointer over the document is
a small square and a click centres the dialog's preview on that point.
PhotoCraft ignored canvas clicks under the dialog, so the preview could
only be panned from inside it.

The shared in-dialog preview (filter_preview_ui) gains locator(), the top
dialog when it shows the preview window (not while the image holds the
Blur Gallery pins or Replace Color's armed eyedropper), and center_at(),
which writes the clamped document point into the dialog's existing
private view fields. No command runs, so the document and its history
are untouched.

The canvas's dialog input routes a press or drag on the free canvas
through the view transform to center_at, with any tool, and shows a
small square locator cursor there, like the Color Picker's pipette.
Space, middle-drag and the held zoom keys still pan and zoom. ui.pointer
does the same for agents; before, its events reached the tool under the
dialog and a Brush gesture painted.

Tests: harness tests through the real canvas path (Smart Sharpen click
and drag, Unsharp Mask off-image clamp, rotated view, ui.pointer, and a
click with no dialog still painting), plus a unit test for center_at.
docs/ui-parity.md gets the row and revision entry.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-28 17:21:01 +01:00
ljkxandClaude Opus 5.5 6ab74d70ab feat(ui): live preview in Color Pickers for dialog fields and the Crop shield (#9886)
While a Color Picker opened for another dialog's colour field is open
(Edit > Fill's Color..., Stroke, a filter's or adjustment's colour,
Replace Color's Result, New Document, guide and channel colours,
Preferences), its colour now shows in that field before OK, as in
Photoshop. The dialog's swatch and its own preview follow the picker.
The Crop shield's custom colour previews the same way.

The new color_picker_ui::live_preview module saves the target when the
picker opens. The parent dialog's fields are kept on PhotocraftApp, not
in the picker's fields, which automation can rewrite. On each colour
change it resets the target to that saved state and applies the new
colour, so a dialog that derives settings from the colour never builds
on a colour it was only shown. Cancel, or a picker closed any other
way, restores the target exactly. OK restores it and then sets the
field as before. The document is never touched, so the parent dialog's
OK still makes the single history step, and the parent's own Cmd+Z
history records nothing while a colour is only previewed. Confirming a
dialog while its colour picker is still open is now refused for every
dialog, not only for the guide layout. ui.dialog.set on a picker shows
the colour at once.

Command targets (text colour, gradient stops, artboard, count groups)
and the pasteboard colour are unchanged: open PR #9757 previews text
and gradient stops, the rest are follow-ups. The foreground/background
pickers keep changing the swatches only on OK, as in Photoshop.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-28 17:20:04 +01:00
ljkxandClaude Opus 5.5 abdce46337 Options bar: Opacity right after Mode in every theme (#9784)
Outside the four Pro themes (Studio, Studio Light, Classic, Solarized
Dark, Adwaita, Adwaita Dark, Breeze Light, Breeze Dark, Soft Dark, Soft
Light), the Brush and Eraser options bar read Size | Mode, Hardness,
Opacity, Flow, so Hardness split Mode from Opacity. Photoshop, and the
Pro bar, put Opacity right after Mode. Hardness now sits beside Size,
before the separator (Size, Hardness | Mode, Opacity, Flow, Smoothing);
it keeps its enabled state (off in the Eraser's Pencil and Block modes)
and the rest of the non-Pro order is unchanged. Pencil and Clone Stamp
already had Opacity after Mode in every theme.

tool_options_theme_tests gains every_theme_puts_opacity_right_after_mode:
for Brush, Eraser, Pencil and Clone Stamp in every ThemeKind, the control
after Mode (by accessible label and rect, left to right) is Opacity, and
outside Pro the Brush and Eraser still show Hardness before Mode. The
Studio Tab test that relied on Hardness and Opacity being neighbours now
tabs from Opacity to Flow, which neighbour in every theme. docs/ui-parity.md
gets a row, a revision-history row and the status line.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-28 17:15:49 +01:00
Khawar Zamman Wani 64422e7ef1 Merge main into save-for-web-webp 2026-10-28 21:09:35 +05:30
ljkxandClaude Opus 5.5 a9b878834d Photo Filter opens at its last settings (#9879)
Image › Adjustments › Photo Filter… now opens at the filter, colour,
density and Preserve Luminosity of its last OK, as Photoshop's does,
without holding ⌥. The other adjustment dialogs keep opening at their
neutral settings (⌥ still reopens them at the last ones, #8900).

`adjust_dialog::open` picks the last settings for the kinds listed in
`REMEMBERS_LAST`; the old neutral behaviour is `open_neutral`, which the
smart filter editor now uses so a smart filter's dialog always shows that
filter's own settings.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-28 15:50:32 +01:00
Claude 08a654c043 test(ui): the popover's Color Picker samples the screen for the next shape
CodeRabbit: removing the popover's inline eyedropper dropped the only test
of screen sampling from the shape Fill/Stroke controls. The sample now
waits in the Color Picker until OK, then sets the next shape's colours.
docs/ui-parity.md: the status line's preference count matches the
scorecard (12 of 182).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01TYsCL5E2GM6hUabP9dmYAv
2026-10-28 13:15:19 +00:00
ashokram-si 9a9eaa7860 JPEG Options size: keep recent sizes, mark a pending one
Review follow-up for the size readout:

- The last 8 worked-out sizes are kept by their full settings, so going
  back to a quality or format already tried shows its size at once
  instead of encoding the document again.
- While the size for new settings is worked out, the last size of the
  same document stays up marked as pending ("152.3K…"), or "…" when
  there is none yet, so it is never read as the new settings' size.
- The book, parity, gaps and scorecard lines say the estimate runs on
  a worker thread on desktop and within the frame on the web.
2026-10-28 16:22:53 +05:30
Daniel 480fc6186b Merge current PhotoCraft main and preserve font-free Wayland frame feature
Reapply Linux Adwaita no-title winit feature and its lockfile,
keep integrated title bar as default, and port compatible tests/docs.
Preserve upstream's preferences UI refactor rather than restoring
its removed prefs_ui.rs file.
2026-10-28 11:35:18 +01:00
ashokram-si 22272b8d95 JPEG Options: show how big the file will be (FILE-215-19, #7843)
Choosing a JPEG quality is a trade between how the picture looks and how
big the file gets, but the dialog gave no idea of the size. It now shows
it at the left of OK and Cancel ("152.3K", "1.5M"), updated as Quality
and Format Options change.

The size is the file's: the document is encoded in memory with the
settings OK writes (same encoder and ExportSettings as the save, so the
file's own quality, profile and metadata count). The encode runs on a
worker thread in the native app and in the frame on the web; one runs at
a time and its answer is kept per settings, so a frame that changes
nothing encodes nothing, and the last size stays up while a new one is
worked out. Documents over 40 MP (4 MP on the web) read "—".

Docs: gaps (G10), file-format and target-app parity, the scorecard row
and the book drop the size preview from what JPEG Options lacks.
2026-10-28 14:52:24 +05:30
Claude 1505c42605 fix(ui): address review notes on the shape Fill/Stroke popover
- The Stroke Color Picker on a shape whose stroke is off (none or 0 px)
  previews the stroke its OK turns on, at the enabled width, even for the
  colour it opened on (CodeRabbit).
- No Color's diagonal uses the theme's danger token, not a fixed red.
- docs/ui-parity.md: the history entry notes Recently Used Colors is a new
  preference, so 12 of 182 do nothing (matching the row).
- The Fill/Stroke swatches clip their checker to the rounded corners, so
  dark themes no longer show white specks there (#8741).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01TYsCL5E2GM6hUabP9dmYAv
2026-10-28 08:23:00 +00:00
Claude 30abc52781 Merge storytold/photocraft main into the Fill/Stroke popover branch
Upstream's strict-Clippy refactor removed glob imports and split the
Content-Aware Fill properties into caf_props_panel: the swatch title moved
there, and the frame loop calls crate::color_picker_ui::widget_tick.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01TYsCL5E2GM6hUabP9dmYAv
2026-10-28 07:55:52 +00:00
SvenCarstensen e7acfbfc52 Merge branch 'main' into codex/guide-position-units 2026-10-28 08:40:49 +01:00
Ikki Nishihara 1dc98f80f6 docs(control): associate brush mode gesture with ui.pointer
Signed-off-by: Ikki Nishihara <[email protected]>
2026-10-28 16:24:15 +09:00
Ikki Nishihara ca17e9b627 Merge current main and preserve brush mode picker behavior
Signed-off-by: Ikki Nishihara <[email protected]>
2026-10-28 15:55:25 +09:00
Brennan StehlingandClaude Opus 5.5 a9c26551f1 perf: add P81/P82 redraw-area rows on full-canvas layers (#9329)
Track-only rows that check they hit the whole-document-redraw path and
print the refreshed pixel count: undo of a brush dab on a 16-bit
15000x10000 full-canvas layer (reps capped at 5) and a fill of a 2 %
selection on a 24 MP full-canvas layer.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
2026-10-27 23:08:30 -07:00
Brennan StehlingandClaude Opus 5.5 ce8f3e719e Docs: perf.slowFrames, and the stroke trace reads the shared frame stages (#9328)
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
2026-10-27 23:08:06 -07:00
Brennan Stehling 00522c852e Perf: P80, app frame time for a full CPU refresh of a 24 MP document (#9328)
Track-only row, the slow-frame recorder's worst case. A 24 MP photo plus
three full-canvas blended copies (Multiply, Screen, Overlay); each sample
toggles the top copy and times one harness.step(), so every frame
recomposites all 24 MP on the CPU (the photo's tiles are never uniform,
which keeps the reduced render's one-colour shortcut out of the way).
The row errors unless each frame recorded a CPU refresh covering at least
95 % of the canvas, so it can't silently take a fast path. 10 samples.
2026-10-27 23:06:56 -07:00