Commit Graph
23685 Commits
Author SHA1 Message Date
dotCooCoo 673124e8f5 Merge feat/color-wheel-contrast into feat/color-wheel-contrast-lines 2026-11-20 14:21:50 -08:00
dotCooCoo 3023335b59 Mesh: picked points stay picked between the mesh-point tools
Gradient mesh points picked with the Mesh tool, Direct Selection, the
Lasso or the Polygonal Lasso now stay picked when another of these tools
is chosen, and when one of them lends Direct Selection for a Cmd/Ctrl
click, so a fill color chosen afterwards recolors just those points.
Before, only a switch to or from the Eyedropper kept them. Any other
tool, Group Selection included, drops them.

Session::switch_tool, lend_selection_tool and give_back_tool share one
test of which tools pick mesh points. Giving the tool back leaves the
lender's picks alone when they did not change, so the Mesh tool keeps
the point whose handles it shows.

Tests: crates/engine/src/tests/mesh_picks.rs.
Docs: docs/mcp.md, docs/target-app-parity.md.
2026-11-20 14:14:48 -08:00
dotCooCoo 4df75635da Tests: a confined single-file PDF of several artboards checks every artboard it carries
A single-file PDF with Preserve Editing of an artboard range carries the
whole document, so a confined export of it checks the links on every
chosen artboard. The new test exports artboards 1-2 as one PDF, then
places an image linked outside the read roots on the second artboard
only and checks that the export is refused without writing its folder.
It also checks that assets.export refuses pdfs `single`, the source
that pdfs `single` does not accept.
2026-11-20 14:14:26 -08:00
dotCooCoo 12edbb1073 Swatches: a pattern swatch dropped on empty canvas places a copy of its tile art
A pattern swatch dragged from the Swatches panel and released where there
is no art now runs the new `pattern.placeArt {name, x?, y?}`: one group
holding a rectangle of the tile with no fill and no stroke at its back and
the tile art in its place in the tile, centered on the drop point,
selected, in one undo step. Dropped on art, the swatch fills it as before.

`object.pattern.replaceArt` now reads a rectangle with no fill and no
stroke at the back of the art (or at the back of one selected group) as
the tile and leaves it out of the tile art, so the placed copy, edited and
Alt-dragged back onto the swatch, keeps its place in the tile. Without
such a rectangle the tile keeps its size and moves as far as the art's
bounds moved from the old tile art's, instead of staying where it was.

The help page describes this edit cycle and the unpainted bounding
rectangle:
https://help.adobe.com/archive/en_US/illustrator/cs5/illustrator_cs5_help.pdf#page=208
https://help.adobe.com/archive/en_US/illustrator/cs5/illustrator_cs5_help.pdf#page=204

Docs: docs/mcp.md, docs/target-app-parity.md.
2026-11-20 14:09:30 -08:00
adambelis c871e7858a Width profiles: only reuse points that lie inside the segment
Boundary points alone cannot show whether the width bends inside a segment:
two collinear vertices on the segment's ends let a single midpoint probe
accept a curve that leaves the chord nearer the ends. Require a flattened
point strictly inside the segment, and cover it with collinear vertices at
both boundaries of the rising span in the regression test.
2026-11-20 22:52:18 +01:00
adambelis ccd107d344 Width profiles: measure a wrapped window where its widths wrap
Two follow-ups from the review of #8846. A profile segment with no flattened
point of its own is a straight run, and a single midpoint probe can match the
chord while the curve leaves it nearer the ends, so let the sampler measure
it. A window past the seam of a closed path (a dash crossing it) probed
profile positions past 1, where the widths wrap; shift the probes to the
window's own positions, as the sampler already does.

Both have a regression test that fails without its fix.
2026-11-20 22:35:12 +01:00
adambelis b333a0b23e Width profiles: judge a segment's samples by its own flattened points
Whether a profile segment can reuse the flattened path's points was decided
from the whole subpath's point density, so a long straight run beside a
densely flattened curve counted points it did not have: the run drew its
width as one straight chord across the segment. Compare the width curve
with the points inside the segment instead, and keep reusing them where
they already follow it.

Reported in review of #8846. A 200 pt line whose second half is 128
collinear pieces now draws the same lens outline as the two-segment line
(1167.2 pt² against 1168.3 pt²), where the density shortcut left it at
1000.6 pt².
2026-11-20 20:05:23 +01:00
ruchirguitar 6bca6cb51e Variables panel: add row context menu 2026-11-21 00:18:56 +05:30
yoriswind d241e34c15 #8687: bound Snapping to the panel row before other controls expand it 2026-11-20 10:04:31 -08:00
Dylan M. Taylor 063f550802 doc: share CMYK TIFF read and write (#8751)
* doc: share CMYK TIFF read and write

* doc: fix craft_image_codecs encode/Image/Truncated calls and fmt

* cmyk: decode TIFF samples from the metadata directory

* doc: guard TIFF metadata tag sizes before decoding CMYK source

* doc: fix TIFF metadata preflight scan bound and repin craft-libs

* test(doc): distinguish shared craft-image-codecs CMYK TIFF read/write

* test(doc): pass written.bytes.as_slice() to Cursor

* chore: restore origin/main craft-libs pin (d7c9632bfb)
2026-11-20 12:45:50 -05:00
jmvergesandClaude Opus 5.5 fa18e9607a Merge main (71ba804d38) into fix/6983-followup-page-widths-pick-font-copy
Conflicts in docs only (status lines and table rows): main's entries and
this branch's are both kept, each once.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 17:45:30 +00:00
adambelis cd3dda3f2a Width profiles: keep the profile docs in step with its shape
The end-slope removal leaves the profile's ends on their span's own slope;
say so in the interpolation and tangent docs, and keep the neighboring
comment wording.
2026-11-20 18:40:33 +01:00
HassanKhan b31dd2fea2 Merge remote-tracking branch 'origin/main' into docs-8312-3d-status
# Conflicts:
#	docs/gaps.md
2026-11-20 22:36:30 +05:00
HassanKhan 933f365034 Merge remote-tracking branch 'origin/main' into fix-8531-snap-budget-edges
# Conflicts:
#	docs/roadmap.md
#	docs/target-app-parity.md
#	docs/ui-parity.md
2026-11-20 22:34:16 +05:00
yoriswind daacafe5c2 #8687: fit the closed Snapping menu inside the status row 2026-11-20 09:33:11 -08:00
BFlat 71ba804d38 Merge pull request #8844 from storytold/train/carry8802
Asset Export panel: add tile context menu (Export, Remove, Rename, Select Artwork on Canvas) (#8802)
2026-11-21 00:26:32 +07:00
jmvergesandClaude Opus 5.5 c8fb03bf37 Merge main (774abbc7d9) into fix/6983-followup-page-widths-pick-font-copy
Conflicts in docs only (status lines and table rows): main's entries and
this branch's are both kept, each once.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 17:23:42 +00:00
HassanKhan 971997f18c docs: state the 100,000-object cap in the roadmap's Smart Guides line (#8531) 2026-11-20 22:23:30 +05:00
adambelis 82c3c38ecc Merge remote-tracking branch 'origin/main' into fix/width-profile-shape
# Conflicts:
#	docs/target-app-parity.md
2026-11-20 18:19:32 +01:00
bflatastic baa6e46658 Merge remote-tracking branch 'origin/main' into HEAD
# Conflicts:
#	docs/gaps.md
#	docs/roadmap.md
#	docs/target-app-parity.md
#	docs/ui-parity.md
2026-11-21 00:18:52 +07:00
HassanKhan fece2bdfe4 Merge remote-tracking branch 'origin/main' into docs-8312-3d-status
# Conflicts:
#	docs/gaps.md
2026-11-20 22:15:50 +05:00
adambelis d4e4888ef4 Width profiles: keep the profile's shape and smooth its outline (#3145)
Sample a profile until the straight line between samples stays within the
outline tolerance, in points, and fit the sampled edges at that same
tolerance. A profiled outline now covers the same area as the shape before
the smoothing (star with Wave: 15597.7 pt² against 15595.4 pt² on the same
fixture), while staying G1 cubics rather than one cubic per flatten step.

Profile interpolation again takes each run's own secant slope at its ends,
so a preset draws the shape it drew before the smoothing work.
2026-11-20 18:15:25 +01:00
HassanKhan a85462ff77 Merge remote-tracking branch 'origin/main' into fix-8531-snap-budget-edges
# Conflicts:
#	docs/roadmap.md
#	docs/target-app-parity.md
#	docs/ui-parity.md
2026-11-20 22:13:35 +05:00
BFlat 774abbc7d9 Merge pull request #8843 from storytold/train/carry8809
Appearance panel: add row context menu (Duplicate, Delete, Hide/Show, Edit Effect, Clear Appearance) (#8809)
2026-11-21 00:07:59 +07:00
HassanKhan 57172c8a58 Merge remote-tracking branch 'origin/main' into docs-8312-3d-status
# Conflicts:
#	docs/gaps.md
2026-11-20 22:06:00 +05:00
Dylan M. Taylor c43c35e8d4 eps: add smooth shading edge-case tests (#8841)
* eps: add smooth shading edge-case tests

* eps: fix hard-edge padded stop assertion in shading test
2026-11-20 12:04:13 -05:00
yoriswind dfaf4bedb8 Private #8779 focused failure diagnostics; preserve all assertions 2026-11-20 09:03:06 -08:00
bflatastic 8a4f750d4e Merge remote-tracking branch 'origin/main' into HEAD
# Conflicts:
#	docs/target-app-parity.md
2026-11-21 00:00:27 +07:00
BFlat 8ae8169846 Merge pull request #8842 from storytold/train/carry8644
Fix #8639: target circles ignore Ctrl/Cmd-click and Shift-click ranges that layer names honor (#8644)
2026-11-20 23:59:46 +07:00
bflatastic cc0f98ed6a Merge remote-tracking branch 'origin/main' into HEAD
# Conflicts:
#	docs/gaps.md
#	docs/roadmap.md
#	docs/target-app-parity.md
#	docs/ui-parity.md
2026-11-20 23:46:03 +07:00
ruchirguitar ae21438d48 G12: add Asset Export tile context menus 2026-11-20 22:15:57 +05:30
ruchirguitar edf4e97959 Text styles panel: add item right-click context menu (Options, Duplicate, Delete, Redefine) (#8745)
* Text styles panel: add item right-click context menu (Options, Duplicate, Delete, Redefine)

* fix(text-styles): require text target for clear overrides and update parity docs
2026-11-20 23:43:35 +07:00
ruchirguitar 0b57d2233b Properties panel: add contextual Quick Actions for text (Create Outlines, Retype, Find and Replace) (#8778)
* Properties panel: add contextual Quick Actions for text (Create Outlines, Retype, Find and Replace)

* Properties panel: address review comments on Retype reveal idempotency, test assertions and parity docs
2026-11-20 23:43:09 +07:00
bflatastic e1aa78590a Merge remote-tracking branch 'origin/main' into HEAD
# Conflicts:
#	docs/target-app-parity.md
2026-11-20 23:41:24 +07:00
yoriswind aa4c313baa Merge current main and preserve both progress records for #8779 2026-11-20 08:37:15 -08:00
ruchirguitar bffbb1493d Appearance panel: address CodeRabbit review feedback
- Forward secondary clicks on name label links for stroke/fill and effect rows
- Enable Reduce to Basic Appearance when any selected subject needs reduction (including compound path children)
- Add headless regression tests for label context clicks and multi-selection reduction
- Update M14 roadmap entry and UI parity evidence, and clean conflict markers in ui-parity.md
2026-11-20 21:53:59 +05:30
ruchirguitar 05709aa624 Appearance panel: add row context menu (Duplicate, Delete, Hide/Show, Edit Effect, Clear Appearance) 2026-11-20 21:53:58 +05:30
yoriswind ff1fd9108c #8687: assert the actual AccessKit pressed state in snapping tests 2026-11-20 08:13:24 -08:00
ruchirguitar eca3bb5d0e Actions panel: add context menu for action sets and actions (Play, Duplicate, Delete, Options, Batch) (#8815) 2026-11-20 23:07:41 +07:00
dotCooCoo 05c8c7df95 Quick Pen: a length drag that keeps the length records no undo step
A drag across a line's length handle leaves the line's length as it
was. It started an interaction and previewed the path anyway, so letting
go recorded an undo step for an unchanged path. The drag now previews
nothing until the length changes.
2026-11-20 07:55:55 -08:00
dotCooCoo 018d6c87aa Command Palette: the grown-popup test puts the button just under the popup
The test placed the toolbar 2 points under the popup, but the button sits
lower inside the toolbar, so one more row did not reach it. With the
path.quickPenLength command, "pen tool" lists 11 results and "pen" grows
the list by one row only, and the test failed. The test now moves the
toolbar so the button's top is 2 points under the popup, and checks that
the popup does not cover it before the query changes.
2026-11-20 07:33:33 -08:00
jmverges b8cc1f2788 Merge main (f363f0a3e) into fix/6983-followup-page-widths-pick-font-copy 2026-11-20 15:32:52 +00:00
dotCooCoo 6c1eb02a57 Circle: From Center tests compare against the Circle Tool Options defaults
The two Circle From Center tests in the engine's tool settings compared the
tool's options with {"fromCenter": ...} alone. Since the Circle tool also
reports the Circle Tool Options (center, radii, diameter, color,
standardAnchors and dragThird), the tests take the options the tool starts
with and check that only fromCenter changes.
2026-11-20 07:06:06 -08:00
dotCooCoo 5dda1d5440 MCP: regenerate the UI command catalog for Retype's installed-font search
`cargo xtask ui-commands` writes the new `installed` parameter of
retype.find and the new retype.cancelSearch row into
crates/mcp/src/ui_catalog.rs, so `cargo xtask ui-commands --check`
passes again.
2026-11-20 07:01:26 -08:00
yoriswind 1232209b3b #8687: identify artboard navigator controls by their actual labels 2026-11-20 06:53:32 -08:00
dotCooCoo 562bc30860 Merge main into fix/live-paint-contents-group-targets 2026-11-20 06:45:10 -08:00
f363f0a3e0 Adopt the shared AGENTS.md (RFC-0072) (#8805)
* Adopt the shared AGENTS.md (RFC-0072) and test rules (RFC-0071)

* Drop a restated rule from This repository

* Remove the cleanroom xtask command, which does not exist

* AGENTS.md: correct the repository facts

The desktop app's platform modules allow unsafe; list them.

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

---------

Co-authored-by: FredApps <FredApps@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: FredApps <153173854+FredApps@users.noreply.github.com>
2026-11-20 21:30:25 +07:00
dotCooCoo f9c00a5ae5 Live Paint: graphic styles on a group's contents give fills to its faces and strokes to its edges
Follows #8765. graphicStyle.apply with target "contents" gave every face
and edge of a Live Paint group the whole style, so faces drew the style's
strokes along their outlines and edges drew its fills. Each face now takes
only the style's fills and each edge only its strokes, with or without
add, and neither is linked to the style. An add that gives a face or edge
nothing leaves it and its link as they are, and an apply that changes
nothing records no undo step.

appearance.clear on the contents leaves a face one empty fill and an edge
one empty stroke, and appearance.reduceToBasic keeps only a face's fill
and only an edge's stroke.

Docs: docs/mcp.md, params text, docs/target-app-parity.md.
2026-11-20 06:26:51 -08:00
BFlat 3f7620e00b test: compare the cut tests' documents without their creation stamps (#8836) 2026-11-20 21:11:52 +07:00
dotCooCoo 3e4e4e255f Merge main into feat/retype-near-matches 2026-11-20 06:02:09 -08:00