Commit Graph
1068 Commits
Author SHA1 Message Date
BFlat 7c6eb1b289 Merge pull request #8426 from dotCooCoo/perf/shape-builder-hatch-sweep
Shape Builder: the hover and drag hatch tests each line only against the edges spanning it
2026-11-18 13:14:34 +07:00
BFlat 0c7b92730b Merge pull request #8467 from dotCooCoo/perf/direct-blend-spine-guard
Direct Selection: the selected blend spine check returns at once when no blend is selected
2026-11-18 13:14:15 +07:00
BFlat c5e2b4fbdd Merge pull request #8337 from dotCooCoo/fix/width-profile-brush-dimmed
Stroke: the Profile list is dimmed while the stroke's brush keeps its own size
2026-11-18 13:10:47 +07:00
BFlat ee989fe5a8 Merge pull request #8480 from dotCooCoo/feat/isolation-exit-one-level
Isolation: Exit Isolation Mode on a sublayer goes back one layer at a time
2026-11-18 13:10:37 +07:00
BFlat 62d9937c75 Merge pull request #8448 from dotCooCoo/feat/circle-tool
Shapes: the Circle tool draws a circle through two or three points
2026-11-18 13:09:51 +07:00
BFlat d9ad978f23 Merge pull request #8471 from dotCooCoo/feat/pen-info-handle-drag
Pen: the Info panel shows W, H, D and the angle while a drag pulls out a handle
2026-11-18 13:01:06 +07:00
BFlat aeaeef2f9c Merge pull request #8433 from dotCooCoo/perf/type-tool-ports-layout-cache
Type: Type tools keep the other frames' layouts between frames
2026-11-18 13:00:57 +07:00
BFlat e8b507aaee Merge pull request #7366 from dotCooCoo/fix/tool-set-option-errors
Tools: setting a tool option with a bad value returns an error
2026-11-18 12:58:18 +07:00
BFlat 0ae342ea8d Merge pull request #8368 from dotCooCoo/fix/free-transform-shear-readout
Free Transform: a shear drag shows its angle next to the pointer
2026-11-18 12:56:31 +07:00
BFlat 966ae74132 Merge pull request #8130 from dotCooCoo/feat/shape-builder-empty-feedback
Shape Builder: the status bar says why a click or drag built nothing
2026-11-18 10:25:20 +07:00
BFlat f09d81b8b3 Merge pull request #8250 from dotCooCoo/feat/pen-chosen-again-ends-path
Pen: choosing the Pen again while a path is being drawn ends that path, as Escape does
2026-11-18 10:11:37 +07:00
BFlat 19a220fae9 Merge pull request #8225 from dotCooCoo/feat/shape-widget-double-click-transform
Shapes: double-clicking a live shape's corner widget with a shape tool shows the Transform panel
2026-11-18 10:11:27 +07:00
dotCooCoo a5cc189172 Shapes: a Circle tool drag ends where it is let go
A release away from the last drag point now moves the circle's points to
the release position before the circle is drawn, for a drag from the
first press, from a second press and from a press on the first point. A
release within 2 screen points of the press is still a click and keeps
the point of the press.
2026-11-17 17:18:46 -08:00
dotCooCoo 7083061f11 Merge main into perf/shape-builder-hatch-sweep 2026-11-17 16:21:48 -08:00
dotCooCoo da010c6598 Isolation: Exit Isolation Mode on a sublayer goes back one layer at a time
With a sublayer isolated, Exit Isolation Mode now isolates its parent layer
and selects the sublayer, so repeated use goes up one layer at a time and
leaves isolation mode from the top-level layer, as the help page describes:
https://helpx.adobe.com/illustrator/desktop/manage-objects/select-objects/isolate-objects.html
This applies to the Layers panel menu item, the isolation bar's back arrow,
the Control bar button, the canvas context menu, a double-click outside the
art and object.exitIsolation {}. Before, each of them left isolation mode in
one step.

- object.exitIsolation takes all (default false); all: true leaves
  isolation mode from a sublayer at any depth. Any other value is an error.
- Esc and the top-level layer's crumb on the isolation bar pass all: true,
  so they still leave in one step. A sublayer's crumb isolates that
  sublayer.
- A hidden or locked parent layer is not isolated; the call leaves
  isolation mode. A step up records no undo step. Groups keep their rule.
2026-11-17 15:35:46 -08:00
dotCooCoo a5b3a216df Pen: the Info panel shows W, H, D and the angle while a drag pulls out a handle
While a Pen drag past the drag threshold shapes a handle, the Info
panel shows the change in x and y, the distance and the angle from
the anchor to the handle's end: the outgoing handle of a new, added
or last anchor, and the incoming handle of the first anchor when the
drag closes the path. Shift gives the constrained handle and Space
moves the anchor with it. The readout clears on release, a dropped
press and a tool change.
2026-11-17 14:52:13 -08:00
dotCooCoo a411d285d4 Direct Selection: the selected blend spine check returns at once when no blend is selected
The checks that look only at selected blends' spines (Direct Selection's
hover, press and marquee, the Anchor Point tool's press and handles, and
the Pen's click on a spine) walked the whole document and built every
blend's spine before keeping the selected ones. They now go through
direct::selected_spines, which returns an empty list when no selected
object is a blend and otherwise keeps the same order and filter. The
check that finds a point on any blend's spine is unchanged.

On 20,000 paths and 200 blends, 500 checks with one plain path selected
took 24 us instead of 336 ms; with one blend selected the time is the
same. Results are compared against the old filter in the tests.
2026-11-17 14:27:34 -08:00
dotCooCoo e6ec393062 Shapes: the Circle tool draws a circle through two or three points
The Circle tool, in the Ellipse tool's flyout, draws a circle with
shape.circleThroughPoints. A drag from one point to another, or a click
on each, draws the circle with the two points as the ends of a diameter.
A click on a first point, then a press on a second point dragged to a
third, draws the circle through the three. Shift keeps the second point
at 45° steps from the first. For a circle on two points, Alt rounds the
diameter to the nearest ruler tick at the current zoom in the General
unit. Each point snaps to Smart Guides. Until the release the tool shows
the circle as a dashed outline (solid once it is more than 50,000 screen
points around), a cross at its center, a line from the center to each
point and, with Measurement Labels on, the diameter by the pointer.
Three different points on one line, or a circle past the canvas, show
"Circle too large" by the pointer instead, and the release draws
nothing. Escape, a dropped press, and an edit, Undo or Redo made outside
the tool drop the first point. A second press within 3 screen points of
the first point, or one that snaps to it, places nothing when let go
there, and draws the circle on the diameter it drags out when dragged.
Each circle is one undo step. The tool's icon is new and drawn for
VectorCraft.

shape.circleThroughPoints also takes two points, or two selected anchor
points, as the ends of a diameter. Its two errors about the number of
points now say "two or three", in every catalog that translates them.

Part of #7178.
2026-11-17 13:29:12 -08:00
dotCooCoo 90f999b18c Merge main into fix/free-transform-shear-readout 2026-11-17 13:26:09 -08:00
dotCooCoo c9dd40ea54 Type: Type tools keep the other frames' layouts between frames
With a Type tool active, the overlays laid out every selected area type
and type on a path on each frame only to read whether its text
overflows, and the single kept layout of the edited frame was replaced
by each of them, so the edited frame was laid out again too. After
Select All in threaded text, the story's other frames were laid out on
every frame with no cache at all.

The tool now keeps each other frame's layout from the last overlays
call, keyed by the layout inputs (fonts and hyphenation exceptions) and
the text object, as the ports of the other tools already do. Each call
keeps only the frames it draws, up to 2,048, and choosing another tool
drops them. The overlays are the same.
2026-11-17 12:47:39 -08:00
BFlat 41b70ed172 Merge pull request #8333 from dotCooCoo/fix/issue-6117
Enclosing Lasso: the tool is in the Lasso tool's flyout
2026-11-18 03:23:25 +07:00
BFlat 0d8315801f Merge pull request #8207 from dotCooCoo/fix/issue-8090
Fix #8090: the Eyedropper samples into picked gradient mesh points
2026-11-18 03:23:07 +07:00
BFlat 7429d7247f Merge pull request #8265 from dotCooCoo/feat/live-paint-isolation-adds-paths
Live Paint: paths drawn in an isolated Live Paint group join it when isolation ends
2026-11-18 03:22:58 +07:00
BFlat bb0329a885 Merge pull request #7750 from dotCooCoo/feat/mesh-drop-color-point
Gradient mesh: a color dropped or eyedropped on a point or patch recolors it
2026-11-18 03:22:38 +07:00
BFlat a3a9b081e2 Merge pull request #8062 from dotCooCoo/feat/loaded-text-link-cursor
Selection: loaded text shows a link cursor over an object a click threads it into
2026-11-18 03:21:40 +07:00
BFlat 3ab5db4c64 Merge pull request #8092 from dotCooCoo/fix/issue-8047-group-marquee
Group Selection: a marquee selects the objects it touches, whole
2026-11-18 03:20:42 +07:00
BFlat a3a3f2dfec Merge pull request #8108 from dotCooCoo/feat/spiral-constrain-angle
Spiral: dragging turns the spiral to the pointer, and the click dialog starts it along Constrain Angle
2026-11-18 03:20:05 +07:00
BFlat 36219a7c79 Merge pull request #7905 from dotCooCoo/fix/touch-point-on-sample
Smart Guides: tangent and perpendicular snaps find a touch point that falls exactly on a sample
2026-11-18 03:19:25 +07:00
dotCooCoo 1480cb77da Shape Builder: the hover and drag hatch tests each line only against the edges spanning it
The hatch over the region under the pointer, and over each region a drag
has touched, tested every flattened edge of the region on every hatch
line, on every repaint. The edges are now sorted by their lower end once,
and each line tests the edges that span it (plus any edge with a NaN or
infinite end height, which keeps the old test on every line). The
crossing test, the crossing formula, the sort and the pairing are
unchanged, so the hatch lines are the same coordinate for coordinate.

Tests compare every coordinate's bits against a copy of the old function
on 12 paths at three gaps, check the sweep's crossings line by line
against the old test, and count the edges tested on a 2,000-sided region.
2026-11-17 12:14:51 -08:00
dotCooCoo bbf11feac3 Stroke: Delete and Escape skip width points hidden on a brushed stroke
Width points selected before their stroke took a brush show no handles,
but the Width tool still took Delete, Backspace and Escape for them. The
tool now leaves those keys to the app, as it does with no width points
selected.

- The Profile list shows its hover border whenever a click opens it,
  including on a brushed stroke with a profile, where it lists Uniform.
- A test checks that the list's hover text and the Width tool's status
  message are the same string, so the two share their catalog rows.
- An engine test checks that a press or a double-click on a brushed
  compound path puts the message in the status bar and runs no command.
- The doc comment of Session::brushed_strokes_profiled says when type
  counts, and the progress-doc line names the double-click and says that
  art and pattern brushes do not follow a width profile yet.
2026-11-17 10:45:44 -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 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 3c7f03f62d Stroke: the Profile list is dimmed while the stroke's brush keeps its own size
Brush art does not follow a stroke's width profile, so picking a profile
for a brushed stroke changed nothing on the canvas.

- While every stroke the Profile list edits draws with a brush, the list
  in the Stroke panel, the Properties panel and the Control bar is
  dimmed and says why when hovered. It opens no list while those strokes
  are uniform, and offers only Uniform, which removes the profiles, while
  one has a profile. The Flip Along and Flip Across buttons beside it
  are off. The strokes are the ones stroke.set edits: the
  active Appearance stroke row, a selected group's or compound shape's
  own stroke, or the objects' top strokes. Images and symbol instances
  do not count. A selection where one stroke has no brush keeps the full
  list.
- The Width tool adds, edits and deletes no width points on a brushed
  stroke; a press or double-click on one, or Delete with its width
  points selected, shows the same reason in the status bar. Without
  Shift, the press deselects the width points of other strokes. A
  plain stroke under a
  selected brushed one stays reachable, and width points selected
  before their stroke took a brush show no handles.
- The reason has a row in every complete catalog.
2026-11-17 07:30:44 -08:00
dotCooCoo d1afba560d Enclosing Lasso: the tool is in the Lasso tool's flyout
The Enclosing Lasso Tool joins the Lasso group in both shipped
toolbars, right after the Lasso, and stays in Object › Plug-ins ›
Enclosing Lasso. The All Tools drawer lists it once, under Select, and
Edit › Keyboard Shortcuts › Tools lists it once. It has no default
shortcut, and the Lasso keeps Q. A toolbar the user already edited
keeps its saved layout; Reset Toolbar adds the tool.

Fixes #6117
2026-11-17 06:51:00 -08:00
datatimp 6c3809ab2c Merge upstream/main into fix/8217-layers-alt-drag-copy-cursor 2026-11-17 01:09:30 -05:00
dotCooCoo a8b658a33e Merge main into fix/tool-set-option-errors 2026-11-16 20:33:41 -08:00
BFlat 973a33e1fb Merge pull request #7949 from dotCooCoo/feat/circle-through-three-points
Shapes: draw the circle through three points
2026-11-17 09:49:57 +07:00
BFlat 39b7ed38f8 Merge pull request #8261 from dotCooCoo/feat/place-shift-click-import-options
Place: a Shift-click with the loaded place cursor shows the file's import options
2026-11-17 09:47:24 +07:00
BFlat 6d8db923c2 Merge pull request #8221 from dotCooCoo/feat/flare-alt-click-default
Flare: an Alt-click draws a flare at the click with the tool's options
2026-11-17 09:46:34 +07:00
BFlat 95aede8b49 Merge pull request #8195 from dotCooCoo/feat/trim-crossings-knife-flyout
Trim at Crossings: the tool is in the Scissors tool's flyout and shows a knife cursor
2026-11-17 08:20:36 +07:00
BFlat 84a8d781fc Merge pull request #8043 from dotCooCoo/fix/issue-8024
Eyedropper: Escape ends a gradient stop's or Key Color's pick and returns to the previous tool
2026-11-17 08:20:01 +07:00
BFlat b99a5cf798 Merge pull request #8091 from dotCooCoo/fix/issue-8047
Selection: a press on members picked with Group Selection drags only them
2026-11-17 08:19:37 +07:00
BFlat 79d2536e8e Merge pull request #8089 from dotCooCoo/fix/issue-8063
Part of #8063: Dimension tool points snap to drawn dimensions and show anchor and path labels
2026-11-17 08:19:12 +07:00
BFlat f619888fe2 Merge pull request #8074 from dotCooCoo/feat/intertwine-layers-drop
Layers: dragging objects into an Intertwine group adds them to it
2026-11-17 08:19:04 +07:00
dotCooCoo 8051a7face Live Paint: art drawn in a group under a part's name is not counted as a part
Faces and edges are the group's paths named Face or Edge, so type or a
group drawn in an isolated Live Paint group under one of those names is
no longer counted by Gap Options, Info or Make, and Expand keeps it, as
it keeps type named like the sources group.

Exit Isolation Mode while editing a pattern, an opacity mask or a symbol
applies a shape still being drawn with Real-time Drawing and Editing off
before the paths drawn in an isolated Live Paint group join it.
2026-11-16 17:14:01 -08:00
datatimp 2f37809bf6 Layers panel: the Alt-drag copy cursor is the panels' add cursor, so Windows shows the plus (#8217) 2026-11-16 19:12:53 -05:00
dotCooCoo 7a0fe84a8f Pen: test that choosing the Pen again inside a compound path selects the compound path
Choosing the Pen again while it draws a path inside a compound path sends only select.set for the compound path, as Escape and Enter do: the path stays open, no undo step is added and the next click starts a new path. Ending a path outside any compound path sends no selection change.
2026-11-16 14:30:37 -08:00
datatimp 993e79b2fd Gradient panel: the add-stop strip shows the white arrow with a plus on Windows (#8241) 2026-11-16 17:21:25 -05:00
dotCooCoo 2d1ecbab32 Place: a Shift-click with the loaded place cursor shows the file's import options
A Shift-click with the place cursor now opens the current file's import
options (Text, DXF, Place PDF or Place PSD) before it is placed, whether
the cursor was loaded with Show Import Options on or off or by
file.place.queue. OK places the file at the click and the cursor moves to
the next file. The options the cursor was loaded with for the file's
format are put aside so the dialog opens, and are used when no dialog
opens for the file (a PNG image, a one-page PDF, a linked PSD file). A
Shift-drag places at the dragged size, as a drag does. Headless, where no
dialog can open, a Shift-click places as a click does.

The place tool marks a Shift-click's file.place with
showImportOptions: true.

Docs: docs/mcp.md, docs/target-app-parity.md.
2026-11-16 14:18:21 -08:00
dotCooCoo 963dd42d1a Pen: choosing the Pen again while a path is being drawn ends that path, as Escape does
P, a click on the active Pen's button and `tool.select {tool: "pen"}`
now end the path being drawn through the same cleanup as Escape: the
path stays open and selected (a path inside a compound path leaves the
compound path selected), the Pen stays chosen, no undo step is added,
and the next click starts a new path. An anchor or handle being dragged
is committed first. With no path being drawn nothing changes.

Before this change the Pen kept drawing the same open path when it was
chosen again; the Blend test that stated that rule now checks the new
behavior.
2026-11-16 14:13:32 -08:00