Commit Graph
11489 Commits
Author SHA1 Message Date
Dan 96fa700f29 Read the accessible field label by reference 2026-11-13 17:16:00 +00:00
Dan 8572e353f8 Cover dialog confirmation and recovery paths 2026-11-13 17:13:29 +00:00
Dan 799d3bf41a Validate Fit Image dialog dimensions 2026-11-13 17:08:51 +00:00
David Mann de93ee2d38 Merge pull request #13396 from davidmann4/integration-mcp
Integration batch MCP: agents in the open PhotoCraft window, one switch in the ArtCraft Launcher (#11363, #5525)
2026-11-13 17:41:24 +01:00
David Mann 19c4632a18 Merge pull request #13797 from TrevorBrown-dev/fix/paths-ai-path-blocks-13780
Paths to Illustrator: each path is its own marked block, with a group and combine note per subpath (#13780)
2026-11-13 17:38:23 +01:00
David Mann eb726ecc4a Merge pull request #13795 from TrevorBrown-dev/fix/clut-cube-header-13750
Color Lookup Tables export: the CUBE file's comment layout and, for 8- and 16-bit documents, values on 1/32768 steps (#13750)
2026-11-13 17:38:09 +01:00
David Mann 85d713723d Merge pull request #13746 from ljkx/fix/13740-export-as-enter
Export As: Enter no longer starts the export (#13740)
2026-11-13 16:58:38 +01:00
David Mann e56668ee40 Merge pull request #13769 from TrevorBrown-dev/fix/automate-menu-groups-13704
File > Automate: Crop and Straighten Photos and Contact Sheet II each get their own separator group (#13704)
2026-11-13 15:35:18 +01:00
David Mann 1940153e65 Merge pull request #13744 from Bobderto/codex/export-as-srgb
Export As: default Convert to sRGB to on
2026-11-13 15:35:07 +01:00
David Mann 75a4455673 Merge pull request #12999 from slafebre/fix/12938-sharpen-protect-detail
Sharpen tool: Protect Detail sharpens gently instead of doing nothing (#12938)
2026-11-13 15:32:07 +01:00
David Mann f4ebab1aa3 Merge pull request #13757 from rmsff/fix/line-live-handles-13263
Line tool: end handles and a midpoint widget on the live line
2026-11-13 15:04:42 +01:00
David Mann 5031e79478 Merge pull request #13731 from rmsff/fix/ellipse-center-mark-13239
Ellipse tool: a centre mark on the live shape's box
2026-11-13 15:04:30 +01:00
David Mann ee7ca611e2 Merge pull request #13578 from TrevorBrown-dev/fix/13350-triangle-fills-box
Triangle tool: the shape fills the dragged box (#13350)
2026-11-13 15:04:19 +01:00
David Mann 300799b462 Merge pull request #13728 from wanikhawar/claude/github-issue-13370-5134a1
Triangle tool: Align Edges checkbox (#13370)
2026-11-13 15:04:08 +01:00
David Mann 4577c20e52 Merge pull request #13187 from rmsff/fix/remove-hidden-layer-message-12554
Remove: no message on a hidden active pixel layer
2026-11-13 15:03:56 +01:00
David Mann 9226bee0d5 Merge pull request #13603 from RickiNano/fix/11741-sampler-extras-hide
View › Extras hides the Color Sampler markers (#11741)
2026-11-13 15:03:44 +01:00
David Mann 2c29fc2cf1 Merge pull request #13527 from RickiNano/fix/12965-smudge-refusal-alerts
Smudge tool: a press on a hidden, locked or group layer opens an alert (#12965)
2026-11-13 15:03:32 +01:00
David Mann 858093640d Merge pull request #13532 from indy2kro/fix/13267-arrowhead-history-names
Line Properties: arrowhead edits are named in History (#13267)
2026-11-13 15:03:21 +01:00
David Mann adf849eb8b Merge pull request #13487 from ljkx/fix/12912-remove-only-split-restores-default-grid
engine: removing the only split of the Default warp grid restores it (#12912)
2026-11-13 15:03:10 +01:00
David Mann 0391fd88c4 Merge pull request #13124 from mlo0352/fix/clone-layer-source-and-preview
Fix Clone Stamp layer/document sources, preview strength and X/Y offsets
2026-11-13 15:02:58 +01:00
Trevor BrownandClaude Sonnet 5.5 56fe93fd71 Paths to Illustrator: each path is its own marked block, with a group and combine note per subpath (#13780)
paths_to_ai now writes one Path_Begin/Path_End block per path, one *u/*U group per subpath with its combine note and 1 XR, and no path name. A Join subpath takes the note of its component.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Model-Effort: Opus 5.5 drove; Opus 5.5 briefed; Sonnet 5.5 wrote at medium
2026-11-13 09:01:51 -05:00
Trevor BrownandClaude Sonnet 5.5 d62728aeae Color Lookup Tables export: the CUBE file's comment layout and, for 8- and 16-bit documents, values on 1/32768 steps (#13750)
bake_cube_layers now takes the document's sample type, writes the reference
comment layout around the header, and rounds 8- and 16-bit values to
multiples of 1/32768. 32-bit values stay unquantised.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Model-Effort: Opus 5.5 drove; Opus 5.5 briefed; Sonnet 5.5 wrote at medium
2026-11-13 08:59:46 -05:00
ljkx 1404739cc4 Export As Enter tests: open the dialog once the app's fonts are in
The harness draws a first frame as it is built, so a dialog opened before
setup_context was drawn with no fonts and panicked on its semibold title.
2026-11-13 14:46:00 +01:00
Sven Lafebre 61ae264e89 Merge remote-tracking branch 'origin/main' into fix/12938-sharpen-protect-detail 2026-11-13 14:42:55 +01:00
David MannandClaude Opus 5.5 309fdf1cde Address CodeRabbit review: document per-direction root overrides
In closed-app headless MCP mode, a given --automation-read-root or
--automation-write-root replaces the app's agent folder for that
direction only. Say so in control-protocol.md and mcp.md, and pin it
with a test for each direction.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-13 14:19:38 +01:00
Trevor BrownandClaude Sonnet 5.5 e3a13a41e1 File > Automate: Crop and Straighten Photos and Contact Sheet II each get their own separator group (#13704)
Adds a separator after Crop and Straighten Photos and after Contact Sheet II, and removes the one between Lens Correction and Merge to HDR Pro, matching the measured reference order. Ids and order are unchanged.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Model-Effort: Opus 5.5 drove; Opus 5.5 briefed; Sonnet 5.5 wrote at medium
2026-11-13 08:14:14 -05:00
rmsff 07015f42d8 Test the Line tool's live line controls 2026-11-13 15:39:39 +03:00
rmsff 8b61ebd521 Show a live line's end handles and midpoint widget with the Line tool
The Line tool framed its active live line with the shape tools' axis-aligned box and eight handles. It now shows a handle at each end and a round widget at the midpoint instead, and with an arrowhead the box aligned with the segment and its side handles. The ends still scale the line as the box's corner handles there did; the hidden handles and sides take no press. The box for the other tools, and for other shapes under the Line tool, is unchanged.
2026-11-13 15:39:39 +03:00
Dan 9c847c867a Import the accessibility test node trait 2026-11-13 12:38:33 +00:00
Dan 1571cb5d32 Exercise the saved JPEG preset through the dialog 2026-11-13 12:34:23 +00:00
Dan ce4885876d Verify Export As color conversion and saved choices 2026-11-13 12:32:31 +00:00
ljkx 32ec0b2ea0 Export As: Enter no longer starts the export (#13740)
Export As starts only from a click on its Export button, as in the reference
application: Enter, with no text field taking it, leaves the dialog open. Enter
in Scale, Width or Height still commits the field, and Escape still cancels.
Every other dialog keeps Enter = OK.
2026-11-13 13:32:30 +01:00
David Mann 0b15ad2401 Merge pull request #13660 from ljkx/fix/12933-quick-selection-group-target
Quick Selection: a group active without Sample All Layers selects the brush disc (#12933)
2026-11-13 13:32:20 +01:00
David Mann e5d9b839c4 Merge pull request #13684 from rmsff/fix/direct-selection-shift-angle-13207
Direct Selection: a shallow Shift anchor drag stays on the axis
2026-11-13 13:32:09 +01:00
David Mann 398f6e16a0 Merge pull request #13301 from rmsff/fix/healing-alt-cursor-12113
Healing Brush: Alt shows the fixed target cursor at any tip size
2026-11-13 13:31:57 +01:00
Dan fa29149dfb Default Export As to Convert to sRGB 2026-11-13 12:30:07 +00:00
rmsff db34089f12 Test the Ellipse tool's centre mark 2026-11-13 15:03:41 +03:00
rmsff 97220f6698 Show a centre mark on the Ellipse tool's shape box 2026-11-13 15:03:41 +03:00
David MannandClaude Opus 5.5 dbd2cd1628 fix(mcp): plain mcp stays headless without the AI-MCP flag; integrations read leniently
- Without the AI-MCP flag plain `photocraft-cli mcp` is headless as before: a
  Control Port saved before the agents switch no longer makes it look for the
  app, start it or apply When PhotoCraft Is Closed. Test in
  mcp_without_consent_works_headless (fails without the gate).
- `prefs::read_integrations_section` (migrate + lenient read) is shared by the
  app's launch read and `photocraft-cli mcp`: one bad value resets only itself,
  so a saved "error" closed-app choice no longer falls back to Launch in the CLI.
  Replaces the app's hand-written per-field reader. Test in
  integrations_come_from_the_saved_preferences_or_default (fails without it).
- docs/development.md: the headless client examples pass --headless.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-13 12:36:22 +01:00
Trevor BrownandClaude Sonnet 5.5 87ee062e41 Merge remote-tracking branch 'upstream/main' into fix/13350-triangle-fills-box
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Model-Effort: Opus 5.5 drove; Opus 5.5 briefed; Sonnet 5.5 wrote at medium
2026-11-13 05:53:44 -05:00
e5dfa6bd0d PR #13124: use as_chunks_mut in the off-canvas resample test
Clippy's chunks_exact_to_as_chunks lint rejects chunks_exact_mut(4) under
-D warnings; main uses as_chunks_mut for the same pattern.

Co-Authored-By: mlo0352 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-13 11:52:26 +01:00
ljkx bf4b20b025 Quick Selection: a frame active keeps reading the composite
A frame is a group too, but the reference application was not measured
with one active, so it keeps today's behaviour, as an artboard does.
2026-11-13 11:43:08 +01:00
Khawar Zamman Wani 9d666973b2 Reset Tool restores the shape tools' Align Edges (#13370) 2026-11-13 16:04:43 +05:30
Khawar Zamman Wani fd351562b9 Triangle Align Edges tests: import NodeT for accesskit_node 2026-11-13 16:04:43 +05:30
Khawar Zamman Wani a6f63f3ee0 Triangle tool: Align Edges checkbox, on by default, greyed outside Shape mode (#13370)
The Triangle tool's options bar gets an Align Edges checkbox, saved with the
tool options and on by default. It is enabled in Shape mode and greyed in Path
mode. With it off, a Triangle drag in Shape mode keeps the drag's fractional
coordinates; with it on, or greyed, the box snaps to whole pixels as before.
The other shape tools keep snapping.
2026-11-13 16:04:43 +05:30
rmsff b173c9b587 Test the Shift angle of a Direct Selection anchor drag 2026-11-13 13:32:56 +03:00
rmsff 98ec3b4b93 Keep a shallow Shift anchor drag on the axis in Direct Selection
The reference application keeps a (+60, -25) Shift drag of an anchor horizontal, just past the 22.5 degree split of snap45. A new snap45_anchor keeps drags up to that slope on the axis; steeper drags and the Gradient tool's snap45 are unchanged.
2026-11-13 13:32:56 +03:00
David Mann 968ba560e5 Merge origin/main into PR #13124 2026-11-13 11:16:48 +01:00
ljkx 9ff5aa8565 Quick Selection: a group active without Sample All Layers selects the brush disc (#12933)
A group has no pixels of its own, so with Sample All Layers off Quick
Selection fell back to the composite and a click selected a whole shape
from the layers inside. The reference application selects only the brush
disc there, as on a flat area. Quick Selection now reads a flat image for a
group (not an artboard) when Sample All Layers is off; with it on, and for
an adjustment layer, it reads the composite as before.
2026-11-13 10:46:01 +01:00
RickiNanoandFredApps bf0377c28d Live stroke canvas test: wait for the stroke to settle before the drawing picture (#13477) (#13514)
* Live stroke canvas test: wait for the stroke to settle before the drawing picture (#13477)

The live stroke paints on its own thread and a frame waits only 6 ms for it.
A step that finishes later is collected only by the next pointer event, so on
a slow runner the "drawing" picture could show the stroke one step behind and
release painted the rest (76/255 on CI). The test now holds the pointer still
(repeats its last move) and takes pictures with short real waits until three
in a row match, bounded so it can't hang.

Test-only change.

* Live stroke canvas test: also wait for the stroke to go idle (#13477)

Matching pictures alone don't prove a slow step has finished, so the settle loop
now also requires the live stroke to be idle. PhotocraftApp::live_stroke_busy
exposes the existing internal check read-only for that.

* Fail the live stroke test if settling times out

---------

Co-authored-by: FredApps <[email protected]>
2026-11-13 10:30:45 +01:00