Commit Graph
17545 Commits
Author SHA1 Message Date
dotCooCoo f9e6399195 Layers: with Show Layers Only on, Locate Object becomes Locate Layer
With Panel Options > Show Layers Only on, the panel lists no object
rows, so Locate Object highlighted a row that was not there. The panel
menu, the bottom bar's button and a row's menu now read Locate Layer in
that mode and send layer.locate with layersOnly: true, which highlights
the innermost layer or sublayer holding the object (a layer locates
itself) and returns {id, objectId, ancestry}. The panel opens the layers
around it and scrolls to it. With the option off nothing changes.

Help page: https://helpx.adobe.com/illustrator/desktop/manage-layers/create-and-organize-layers/locate-objects-in-the-layers-panel.html

Adds Locate Layer rows to the 28 catalogs that translate Locate Object.
2026-11-17 09:58:54 -08:00
datatimp f531179713 Merge upstream/main into fix/8237-layers-alt-drop-copy-beside-itself 2026-11-17 12:58:32 -05:00
dotCooCoo 57601ec0a4 .ai import: pattern fills in brush art turn over with the art
A Scatter or Art brush's art is read turned over, and the tiles of its
pattern fills now turn over with it, so they keep their place on the
art. The version 7 pattern test reads a Scatter brush's tile moves in
the file's own space (y up), as the art now is.
2026-11-17 09:57:58 -08:00
dotCooCoo cd4e9e9506 Transform: a live line shows Line Properties with Line Length and Line Angle
A line drawn with the Line Segment tool now shows Line Properties in the
Transform panel and the Properties panel's Transform section, with the two
properties the help page lists for a line:
https://helpx.adobe.com/illustrator/desktop/draw-shapes-and-paths/modify-live-shapes/live-shape-properties.html

- object.setLiveShape takes lineLength (pt, above 0) and lineAngle
  (degrees, brought into 0 to 360). Every selected line changes in one
  undo step; a value that changes nothing records none.
- VectorCraft's own rules: the angle runs counterclockwise from 3 o'clock,
  as the Rotate field does; a new length keeps the first end in place and
  a new angle turns the line about its midpoint; a line whose ends meet
  reads 0 degrees; the section shows only while every selected object is a
  live line; a line that would reach past the coordinate limit is an error
  that changes no line.

Docs: docs/mcp.md, docs/target-app-parity.md.
2026-11-17 09:57:07 -08:00
dotCooCoo 70545c5e2b Shapes: a very long side widget drag stops at 3 or 11 sides without overflowing
sides_after adds the drag steps with saturating arithmetic, so a drag to an
extreme coordinate gives 3 or 11 sides instead of an overflow. A drag whose
distance is too long to measure keeps its direction and also stops at 3 or
11, and a pointer position that is not finite leaves the count and the
readout as they were.
2026-11-17 09:57:06 -08:00
dotCooCoo c7c14be61b Save PDF: the PDF/X note covers a loaded Don't Include Profiles
Params or a preset can open the dialog with PDF/X-3 or PDF/X-4 and
Profile inclusion set to none, without the standard being chosen. The
dialog keeps that value, and with a CMYK output intent every CMYK color
is then written as DeviceCMYK unless it is converted to a CMYK
destination of another profile. The Output section now says so under
the PDF/X note, in every catalog.
2026-11-17 09:56:43 -08:00
dotCooCoo a09bcb3ecd Free Transform: a shear drag shows its angle next to the pointer
With Smart Guides' Transform Tools on, a Cmd/Ctrl side-handle shear with
the Free Transform tool now shows its angle next to the pointer, with
the same sign and one decimal place as the Shear tool's label. Before,
a shear showed no value, and a scale drag turned into a shear kept
showing the scale's size. Transform Tools off still hides the label.

Docs: docs/mcp.md (transformToolsGuides), docs/target-app-parity.md.
2026-11-17 09:52:11 -08:00
dotCooCoo 2559231664 Print: a near black linked to a missing swatch keeps its faint ink off PostScript plates
On PostScript separations, up to half a percent of another ink in a color
that counts as 100% black is left off that ink's plate, so an overprinting
near black does not knock out the ink below it. A color linked to a swatch
the document does not have was left out of that rule, although it separates
from its own values like an unlinked color and Overprint Black marks it to
overprint. A 100% K with 0.4% cyan linked to such a name then stayed on the
cyan plate and knocked out the cyan under it.

A link to a missing swatch now counts as unlinked for this rule, on solid
fills, strokes, character fills and gradient stops. Spot swatches and
Registration are still excluded, and PDF plates still draw the faint ink.
2026-11-17 09:49:50 -08:00
dotCooCoo c226533bc9 Swatches: linking the selection's paints checks ancestors through a set
Add Used Colors and New Color Group link the selected art's paints to
global swatches through Document::map_solid_paints_in, which drops each
id that sits inside another listed id. It searched the whole id list for
each ancestor of each id, so the work grew with the square of the
selection. It now looks each ancestor up in a set of the ids, as
without_inner in crates/engine/src/cmd/edit.rs does. The roots keep the
order of the list, duplicates and ids missing from the document, so the
same paints are linked in the same order.

- mapping_within_ids_matches_a_search_of_the_ids compares the count, the
  paints visited and the resulting document with the search for every
  list of up to three ids from a nested tree (nested ids in both orders,
  duplicates, a missing id and an empty list).
- crates/engine/examples/link_colors_bench.rs times both ways in one
  process. With 20,000 selected rectangles the call takes 16 ms of CPU
  time instead of 128 ms; with 2,000 it takes 1.4 ms instead of 2.5 ms.
2026-11-17 09:49:45 -08:00
dotCooCoo f40f085d21 Stroke panel: stroke.set collects its targets through a set
A Stroke panel edit with no item lists the selected groups and layers
that have a stroke of their own, then adds the leaves of the other
targets, and it checked each leaf against the growing list, so
collecting the targets took time that grows with the square of the
object count. The command now checks each leaf against a set seeded
with the listed groups and layers. The list is the same: its order is
kept, a group or layer named twice is still listed twice, and a leaf is
listed once.

crates/engine/examples/stroke_targets_bench.rs times both merges on the
same leaves in one process. With 20,000 paths in one group, collecting
the targets takes 0.66 ms of thread CPU time against 55 ms with the list
search, and the whole command takes 60 ms.
2026-11-17 09:49:10 -08:00
dotCooCoo 623d0b48e7 Merge main into feat/polygon-side-widget 2026-11-17 09:45:34 -08:00
dotCooCoo 6f12103147 .ai import: Scatter brush art turns over with its unlinked opacity masks
Scatter brush art is read turned over, as Art brush art is. The turn now
goes through the same helper as Art brushes, so the art of opacity masks
that don't move with their objects is turned over too and stays lined up
with the art. Fixes the "Unlinked spray" case of
scatter_and_art_brush_mask_art_round_trips.
2026-11-17 09:45:03 -08:00
dotCooCoo 17a8152cd0 Merge main into feat/object-mosaic-dialog 2026-11-17 09:44:16 -08:00
dotCooCoo 2733c8c85c Merge main into fix/ai-scatter-brush-art-upright 2026-11-17 09:41:16 -08:00
dotCooCoo 9e905635bf Preferences: Slices settings show a sentence on hover and focus
The line under the Preferences fields now shows a sentence for Show
Slice Numbers and Line Color when the pointer is over the row or its
control has the keyboard focus. A screen reader gets the same sentence
as the control's description. Every complete catalog has a row for each
one.

Tests: the one-sentence test covers the Slices category, and new tests
check the hover and keyboard-focus sentences.
2026-11-17 09:32:25 -08:00
dotCooCoo 99cb4f4190 Import PDF: All checks Import PDF pages as links and Range clears it
File > Open's Import PDF dialog now starts with Import PDF pages as links
checked for All, so every page of a PDF opened from its file opens
linked, and clears the box when Range is picked, so a range opens as
art. A box checked or cleared by hand keeps that state until the other
of All and Range is picked; ui.dialog.set of allPages does the same.
The box stays clear for a file without its path, with a password, or
over the 256 MB that linkPages takes (fileio::pages_can_link).

Docs: docs/mcp.md, docs/target-app-parity.md, docs/file-format-parity.md.
2026-11-17 09:30:55 -08:00
dotCooCoo ea782ca87e Swatches: a user swatch whose name starts with [ can be deleted and edited
The panel's Delete Swatch and Swatch Options, in the footer and the panel
menu, treated every selected name starting with "[" as reserved, so a
user swatch such as [Mine] or a color group such as [Team] could not be
deleted or edited there, and New Color Group and Save Swatch Library left
them out. The checks now use Swatch::is_reserved, as the engine's
swatch.delete and swatch.edit and the item context menu already do, so
only None and [Registration] stay protected. Selected names the document
no longer holds are left out instead of reaching the command as errors.
2026-11-17 09:22:26 -08:00
dotCooCoo 9e18b39ec6 Save PDF: choosing PDF/X-3 or PDF/X-4 unsets Profile inclusion
Profile inclusion is disabled with a standard. A Don't Include Profiles
choice made before picking PDF/X-3 or PDF/X-4 stayed in the dialog and
wrote every CMYK color as DeviceCMYK, which the PDF/X note does not
describe. Choosing either standard now sets it back to unset.
2026-11-17 09:15:14 -08:00
jmvergesandClaude Opus 5.5 02555b2f95 Merge main (36b5a5920) into fix/ai-dashes-aligned-to-corners
Conflicts in docs (the status lines, the changelog rows, the M4 Files row
and the File formats rows): main's entries and this branch's are both
kept, each once. In crates/eps/src/import/ai.rs main's brush re-export
(now with `turn_over as turn_brush_art_over`) and this branch's
test-only `DASH_CHECKS_MADE` re-export are both kept.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 17:10:38 +00:00
jmvergesandClaude Opus 5.5 e5571b5c15 Merge main (36b5a5920) into fix/ai-grouped-clipping-paths-in-compound
Conflicts in docs only (the status lines, the changelog rows, the M4 Files
row and the File formats 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-17 17:10:15 +00:00
jmvergesandClaude Opus 5.5 518301e848 Merge main (36b5a5920) into fix/ai-pattern-fill-in-an-art-style
Conflicts in docs only (the status lines, the changelog rows, the M4 Files
row and the File formats 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-17 17:10:15 +00:00
jmvergesandClaude Opus 5.5 e344e510d6 Merge main (36b5a5920) into fix/ai-envelope-of-type-that-draws-nothing
Conflicts in docs only (the status lines, the changelog rows, the M4 Files
row and the File formats 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-17 17:10:15 +00:00
jmvergesandClaude Opus 5.5 9f372756ed Merge main (36b5a5920) into fix/ai-type-clipping-mask
Conflicts in docs only (the status lines, the changelog rows, the M4 Files
row and the File formats 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-17 17:10:14 +00:00
dotCooCoo a36ab077f6 Merge main into perf/ai-save-images-decode-once 2026-11-17 09:09:11 -08:00
dotCooCoo f47035a6bb Merge main into feat/layers-drag-into-live-paint
# Conflicts:
#	crates/engine/src/cmd/layer.rs
2026-11-17 09:07:33 -08:00
dotCooCoo 7c2129d9df Merge feat/live-paint-isolation-adds-paths into feat/layers-drag-into-live-paint 2026-11-17 09:06:41 -08:00
dotCooCoo a2c91044e0 Layers: dragging a path into a Live Paint group adds it to the group as Live Paint › Merge does
A path, compound path or group of them dropped inside a Live Paint group
in the Layers panel, or above or below one of its rows, now joins the
group's paths as livePaint.merge adds them, in one "Merge Live Paint"
undo step that selects the group. An Alt-drag adds copies, and node.move
into the group does the same. With type, an image or another object
among the rows, the drop is refused with Merge's message and nothing
moves.

A row moved into or out of the group's hidden sources makes the group's
faces and edges again, keeping the paint of those that stay; with no
path left the group has no faces until a path joins it again. Before, a
dropped path became a plain child that cut no faces, and a source dragged
out left stale faces behind.
2026-11-17 09:06:36 -08:00
dotCooCoo ffae374bac Merge main into feat/graphic-styles-alt-drag-replace 2026-11-17 09:04:06 -08:00
dotCooCoo 8d7708f1c0 Graphic Styles: art or an appearance dropped on a style with Alt replaces that style
Art dragged off the canvas, or the Appearance panel's thumbnail, dropped
on a style in the Graphic Styles panel with Alt held runs
graphicStyle.redefine with that style's name and the object's id (the
first object of the art), in one undo step. The style keeps its name,
id and place in the list, and the art still linked to it takes the new
look. The style is outlined while one is held over it with Alt. An
object already linked to the style with its look changes nothing.
Without Alt the drop still makes a new style, and a style dropped on a
style still moves it.
2026-11-17 09:04:01 -08:00
dotCooCoo b4cd6b6fa0 .ai save: read each embedded image's pixels once a save
The .ai writer kept only the image it read last, so a document that
placed two images in turn decoded each again at every placement. The
writer now keeps every image it reads during a save, by the address of
its data and its MIME type, up to 256 MiB of samples and 256 images,
with the image read last kept beside them when they are full. The file
written is unchanged; the tests compare the whole output and warnings
with the old one-image policy.

Two 2048 x 2048 images placed in turn 25 times each, release build,
thread CPU time, median of 7 alternating runs: 3774 ms with 50 decodes
before, 748 ms with 2 decodes after.
2026-11-17 09:03:45 -08:00
dotCooCoo 55590e1131 Symbols: Delete Symbol tests carry the dragged symbol's document
The Delete Symbol drop tests that landed on main set the dragged symbol's
document through the removed panel state key and built the old tuple
payload. They now build PanelDrag::Symbol with the active document's uid,
as the New Symbol tests do.
2026-11-17 09:02:39 -08:00
dotCooCoo 22d44c6fae Tools: the Spiral and Arc tools refuse the values they would keep as others
The Spiral tool's option check took a decay up to 150 while the tool keeps
at most 99.99, so `tool.setOption` reported success with another value. It
now takes 5 to 99.99. The Arc tool's lengths are checked from 1e-9 to 1e6,
the lengths it keeps. The Spiral dialog sends a typed decay past 99.99 as
99.99, the decay the spiral was already drawn with.

The Arc dialog test now expects OK to refuse a slope outside -100 to 100
and a Base Along other than X or Y, leaving the dialog open and the options
unchanged. The Slope field and its slider keep a typed value within that
range.
2026-11-17 08:55:24 -08:00
dotCooCoo 8038d7bf3a Symbols: drawn art keeps its evaluation as an Evaluated
The drawn-art store that main added for clicks now keeps its entries as
the shared Evaluated type, so a kept entry is also measured again when a
symbol's 9-slice guides or natural size change. Evaluated::new builds an
entry for both stores.
2026-11-17 08:46:06 -08:00
dotCooCoo ee10fbc9f6 Merge main into fix/symbol-drop-across-documents 2026-11-17 08:42:42 -08:00
dotCooCoo 4ab773494e Workspace: the Tools drop strip lights up where Tools docks, and the docs name the exceptions
With no panels docked on the left and a toolbar made with New Toolbar docked there, a drop on
the canvas's left edge docks Tools at the window's edge, left of the toolbar's lane. The strip
that lit up during the move was the canvas's edge, right of the lane. The window's edge now
lights up instead.

The window.toolsBesideCanvas params text, docs/control-protocol.md, docs/target-app-parity.md and
the UiState doc comment now say that a drop with no panels docked on the left, or in the column
both edges share beside panels collapsed to icons, leaves Window › Toolbars › Keep Tools Beside
the Canvas as it is. ROADMAP's progress log gets a line for the changed drop rule.

The test of a release where the move started now presses on the title bar, moves past the drag
threshold so the move starts, and releases within the travel limit over the canvas's edge; it
fails without that limit.
2026-11-17 08:41:27 -08:00
dotCooCoo 6e44c63cc3 Undo: undo and redo keep the settings changed without an undo step
Undo and redo put back the whole document a step stored, so settings
that change without an undo step went back with it. Undoing any
earlier edit turned the perspective grid's Lock Grid off again, turned
its Snap to Grid back on, showed a hidden grid and switched the active
plane back. It also reset the grid from Gridline every and
Subdivisions, the export settings assets.settings.set stores, and the
current brush and symbol.

Each undo step now also records these settings as the step left them.
Undo and redo compare that record with the document they bring back:
a setting the step did not change stays as it is now, and a setting
the step changed comes back with the step. So undoing a perspective
grid preset still hides the grid the preset showed, and undoing a grid
definition that locked the grid unlocks it. The point Automatic Plane
Positioning holds still follows the steps, and is let go when the
active plane kept is another one.
2026-11-17 08:40:50 -08:00
dotCooCoo 4d1a36fb34 Merge main into fix/instance-row-effects-outline-hit 2026-11-17 08:37:25 -08:00
dotCooCoo 63eeb73a26 Merge main into feat/toast-messages 2026-11-17 08:35:45 -08:00
dotCooCoo 102cfd0cde Color: built-in CMYK profiles carry their paper and an exact colorimetric table
The ICC profile written for a built-in CMYK working space (embedded in
PDF, TIFF, JPEG and PSD exports) changes in two ways:

- The media white point (wtpt) is the model's paper instead of D50, so
  the ICC-absolute colorimetric intent reproduces the paper.
- The colorimetric Lab -> CMYK table (B2A1), which the gamut tag is also
  sampled from, is the inverse of the CMYK -> Lab table without
  black-point compensation. Before, all three Lab -> CMYK tables had
  compensation built in, so a dark build such as C40 M30 Y30 K60 that
  went through the profile and back missed by Delta E 2000 2.7 on
  Generic CMYK. The perceptual and saturation tables keep compensation.
2026-11-17 08:30:52 -08:00
dotCooCoo 04c65a85af Messages: app.toast shows a message over the window without stopping work
`app.toast {message, level?, seconds?}` queues a short message that the
desktop app shows at the window's bottom right. It closes after its time
(4 seconds by default, 0.5 to 60) or when clicked. At most 5 show at
once, the newest lowest; a message shows at most 6 lines with the whole
text on hover, and a stack taller than the window scrolls. `level`
(info, success, warning, error) sets the color of its edge.

Scripts raise one with `vc.run`, MCP clients and plug-ins through the
command, and an action records it as a step. The app's own code calls
`Session::toast`. The command edits no document and adds no undo step;
invalid values are errors. Part of #7523: the tick sound is not
included.

Docs: docs/mcp.md, the Automation evidence in docs/target-app-parity.md.
2026-11-17 08:30:51 -08:00
dotCooCoo c4ead8e46f Transform: Rotate Bounding Box… turns the selection's bounding box without moving the art
Object › Transform › Rotate Bounding Box… asks for an angle and turns the
bounding box of the selected objects by it, leaving their art where it
is. Reset Bounding Box squares it again.

- object.rotateBoundingBox {angle, absolute?}: by default the box turns
  by angle from the angle the selected objects share (0 when theirs
  differ); absolute: true turns it to angle. Objects with different
  angles get one shared angle, and the objects inside a group or a
  linked opacity mask turn with it and keep their relative angle. A path
  of a compound path selected on its own turns only its own box, the
  same objects the transforms move. An angle within 1e-6° of 0 is
  stored as 0. One undo step, none when every box is already at the
  angle. A missing or non-numeric angle is an error. changed counts
  every box that turned, as object.resetBoundingBox counts the boxes it
  squares.
- object.resetBoundingBox squares only the box of a compound path's
  path selected on its own, instead of the whole compound path.
- Menu labels in every catalog.

Docs: docs/mcp.md, docs/target-app-parity.md.

Part of #5954.
2026-11-17 08:28:29 -08:00
dotCooCoo 9c586a2b4f Sync PNG export options in the MCP command catalog 2026-11-17 08:17:11 -08:00
dotCooCoo 0a212624c1 Object Mosaic: OK keeps the dialog open when the command refuses its fields
OK closed the dialog whether or not object.createObjectMosaic succeeded, so a field the command refused, set through ui.dialog.set, was lost. The dialog now closes only when the command succeeds, as form::commit_preview does.
2026-11-17 08:09:58 -08:00
dotCooCoo 9ae9da71b8 Fix numeric reference points in bounds transforms 2026-11-17 08:02:50 -08:00
dotCooCoo 2d1832394a Help: result paths name the menus as they are drawn
A command result's menu path now reads as the menus draw it in the UI
language: plug-in submenus and Scripts folders keep their own names.
menu_entries carries that shown path beside the English one. Outside
macOS, items that only the VectorCraft application menu lists are left
out of Help, since the window's menu bar has no such menu.
2026-11-17 07:59:10 -08:00
dotCooCoo c0342e63aa Swatches: quick clicks after a double-click do not apply the swatch
A third quick click on a swatch counts as a triple click, and so does
each quick click after it. Those clicks still applied the swatch, so a
triple click on a pattern swatch opened pattern editing and then
painted the tile art with the pattern itself. Only the first click of
a run of quick clicks now applies and selects the swatch.

The test now sends four quick clicks and gives the art a solid fill in
each view, so the list view's first click is checked on its own.
2026-11-17 07:59:01 -08:00
dotCooCoo 0586232cbf i18n: French Object Mosaic labels use a no-break space before colons
The six Object Mosaic dialog labels that end in a colon now put U+00A0 before it, as the other colon rows in fr.tsv do, so french_catalog_uses_nonbreaking_prose_punctuation passes.
2026-11-17 07:53:39 -08:00
dotCooCoo 8f16658498 Fix #7906: a dialog that opens closes the Command Palette, flyouts and menus
A dialog opened without a press in the window, such as a pick in the
macOS menu bar, an automation command or a run that ends in a dialog,
left the Command Palette open over it, and the palette's search field
kept the keyboard focus. A tool group's flyout, the All Tools drawer
and an open menu or popup also stayed open above the dialog's backdrop.
The palette could also be opened over an open dialog from the macOS
menu bar or by an automation command, and its field then took the
keyboard focus from the dialog.

In the pass a dialog, the About window, a file dialog, the update
prompt or a progress window opens, the app now closes the palette, the
flyout, the drawer and any open popup. A flyout, drawer or menu opened
while a progress window is waiting to appear also closes when it
appears. While such a window is open, the palette stays closed, and the
widget that had the focus before the palette opened does not take it
back under the window. A palette opened after the window closes stays
open until the next window opens.
2026-11-17 07:52:30 -08:00
yoriswind 5f0e011379 Preserve open outlines painted by ancestor strokes 2026-11-17 07:48:02 -08:00
dotCooCoo 5a96aff5da Help: command results use the labels their menus show
Help now searches and shows a command by the label its menu draws in
the UI language, so Effect > Pathfinder > Add is found as Réunion in
French. menus::shown_label holds the menus' item-label rule, and the
menu bar and Help both call it.
2026-11-17 07:44:19 -08:00