Commit Graph
1528 Commits
Author SHA1 Message Date
BFlat f6474fc396 Merge pull request #9335 from dotCooCoo/fix/copy-region-ids-isolated-ancestor
Fill Area: ids that name what holds the isolated group take its paths
2026-11-26 16:48:34 +07:00
BFlat d8d3abfcbc Merge pull request #9356 from dotCooCoo/fix/ellipse-three-point-preview-bound
Shape tools: a huge circle through Shift-clicked points is previewed solid
2026-11-26 16:48:08 +07:00
dotCooCoo a26d5981bd Path Precision Tools: a Tangent Circle press with Shift keeps the radius it started with
A radius written with tool.setOption during a press changed the circle
only when Shift was released and pressed again before the drag started.
The press now keeps the radius from its button press for every Shift
change until the release.
2026-11-26 00:21:12 -08:00
dotCooCoo 013cf4dacb Fill Area: outline pieces on a clipping mask's edge count as shown
clip_to kept a piece of an unfilled outline only when its middle tested
inside the mask, and a point on the mask's own outline tests inside on
some sides and outside on others. A square clipped by the same square
kept two sides, so Fill Area found no area inside it.

A piece whose middle lies on the mask's outline now counts as shown when
the mask's filled area lies on one side of it. A piece just outside the
mask, and a piece on an outline of the mask that bounds no filled area,
stay hidden.
2026-11-25 21:39:58 -08:00
dotCooCoo 3e5299a1d6 Shape tools: a huge circle through Shift-clicked points is previewed solid
The Ellipse tool previewed the circle through two Shift-clicked points
and the pointer as a dashed outline at any size. The canvas dashes an
outline along its whole length, so points nearly on one line (a radius
of about 1,250,000 pt) gave about a million dashes every frame.

The preview now uses the Circle tool's limit: a circle more than 50,000
screen points around is drawn solid. Both tools call one helper,
`circle::preview_dashed`.
2026-11-25 19:22:30 -08:00
BFlat dc0c47a9a3 Merge pull request #9329 from dotCooCoo/feat/rotate-ruler-guides
Guides: selected ruler guides rotate with the Rotate tool and Object › Transform › Rotate
2026-11-26 08:48:18 +07:00
BFlat daccee9065 Merge pull request #9100 from dotCooCoo/fix/shape-builder-color-pick
Shape Builder: a fill chosen while the tool is active leaves the selection's fills
2026-11-26 08:48:05 +07:00
BFlat 49c567dc7c Merge pull request #9001 from dotCooCoo/feat/tangent-circle-preview-prefs
Path Precision Tools: the Tangent Circle Tool's options set its preview and how near it snaps
2026-11-26 08:47:43 +07:00
BFlat 30f6381618 Merge pull request #8493 from dotCooCoo/feat/circle-from-center
Shapes: the Circle tool draws a circle from its center through a point
2026-11-26 08:47:08 +07:00
BFlat 57c0c3a429 Merge pull request #9115 from dotCooCoo/feat/smart-pen-default-toolbar
Smart Pen: the tool is in the Pen tool's flyout
2026-11-26 08:45:37 +07:00
BFlat 033504a0b7 Merge pull request #9336 from dotCooCoo/fix/fill-area-left-out-reach
Fill Area: a path left out of the search stops an area only when it reaches it
2026-11-26 08:44:51 +07:00
BFlat f412008f3f Merge pull request #9334 from dotCooCoo/fix/fill-area-clip-masks
Fill Area: clipped art bounds areas only where its mask shows it
2026-11-26 08:44:28 +07:00
BFlat 5203dda3d6 Merge pull request #8439 from ncic/pencil-redraw-smooth
Pencil: a redraw stroke's bend stops at the edit distance, and its preview shows on top in any drawing mode
2026-11-26 08:43:24 +07:00
BFlat 04631eb028 Merge pull request #8989 from dotCooCoo/feat/blob-eraser-size-stylus-wheel
Blob Brush: Size offers Stylus Wheel
2026-11-26 08:43:10 +07:00
dotCooCoo 27bdf16e04 Merge main into feat/tangent-circle-preview-prefs 2026-11-25 15:29:08 -08:00
dotCooCoo 2ef1946cfb Merge main into feat/smooth-tool-smoothness 2026-11-25 15:23:42 -08:00
dotCooCoo b81e6dbabb Merge main into feat/circle-from-center 2026-11-25 13:46:50 -08:00
dotCooCoo 0c65a8442b Fill Area: a path left out of the search stops an area only when it reaches it
When the paths together are over the segment limit, the search maps the
paths near the point and leaves out the ones with the most segments. A
path left out made the search give up on an area when it came within the
gap plus 1 pt of the area's outline, so with Gap Detection off a long line
0.75 pt outside a square stopped a click inside the square from filling
it. A gap bridge reaches at most the gap, so the check now uses the gap
plus the map's 0.05 pt contact tolerance. The 1 pt padding still decides
which paths the search picks.
2026-11-25 13:02:16 -08:00
ncic 187e9c9c8a Pencil: a redraw stroke's bend stops at the edit distance, and its preview shows on top in any drawing mode (#8438)
Most of this pull request reached main with #4221 (the smooth join and the
redraw preview). What is left:

- A redraw stroke's end bends onto the path over Edit selected paths' distance.
  When the stroke's points are far apart (a fast stroke), the bend used to run
  on to the next point; a point is now added where the bend stops, and only one
  where both ends' bends stop at the same place.
- The preview of a redraw stroke is drawn on top, as with Draw Normal, in Draw
  Behind and Draw Inside too; before, it went behind the path or into its clip
  group. path.freehand's `leaveSelection` becomes `preview`, which does both.
2026-11-25 21:51:08 +01:00
dotCooCoo 9567d7349a Fill Area: clipped art bounds areas only where its mask shows it
Fill Area used the full outline of art inside a clipping group, so a
click in the part a mask hides still found an area, and the new path
above the clipping group showed art the mask hid. Now each clipped
path is cut to every mask around it before it bounds areas, nested
clipping groups and clipped layers included: a filled path keeps its
overlap with the mask, and the outline of an unfilled path and open
paths keep only their pieces inside it. A mask that clips to nothing
hides what it clips. The new path still goes above the clipping group.

Follows #8001.
2026-11-25 12:21:49 -08:00
dotCooCoo 05b6a15d48 Guides: selected ruler guides rotate with the Rotate tool and Object › Transform › Rotate
A selected ruler guide was left out of every transform but a move: the
Rotate tool did nothing with only guides selected, and Object › Transform
› Rotate… refused with "nothing selected".

Each selected ruler guide now transforms as the line Release Guides makes
of it (across its artboard, or across the artboards' bounds for a canvas
guide), about the center of the selected objects' box and those lines
together. A guide that ends up vertical or horizontal stays a ruler guide:
a half turn keeps it and a quarter turn makes a horizontal guide vertical.
At any other angle it becomes a guide path along its line, on the guide's
layer, so it snaps, releases, locks and saves as other guide paths do.

- Object › Transform › Rotate… (Copy included), Transform Again and the
  Rotate tool's drag and Alt-click work with only guides selected, in one
  undo step. A turn that leaves the guides where they were records none.
- Scale, Reflect, Shear and the bounding box now transform selected guides
  along with the selected objects and direct-selected anchors, where
  before the guides stayed put.
- Locked and hidden guides, guides with ids given and guides with
  Transform Objects off do not transform. `absolute` with only guides
  selected is an error.

Part of #2418.
2026-11-25 10:37:15 -08:00
dotCooCoo 9d3bbb8fa6 Merge main into feat/blob-eraser-size-stylus-wheel 2026-11-25 09:46:23 -08:00
dotCooCoo 9e3b3efed0 Merge main into fix/shape-builder-color-pick 2026-11-25 09:45:57 -08:00
dotCooCoo 7e8904f424 Merge main into feat/smart-pen-default-toolbar 2026-11-25 09:28:56 -08:00
dotCooCoo 6125e7e920 Merge main into feat/tangent-circle-preview-prefs 2026-11-25 05:09:16 -08:00
BFlat 9ddc6b64e0 Merge pull request #8906 from dotCooCoo/feat/eyedropper-hover-highlight
Eyedropper: Object Highlighting outlines the object a click would act on
2026-11-25 19:56:02 +07:00
dotCooCoo 435570b7c1 Merge main into feat/smooth-tool-smoothness 2026-11-25 04:45:17 -08:00
.CooCoo 518f435c02 Tool icons: tools on a generic icon get one that shows what the tool does (#9032) 2026-11-25 19:28:14 +07:00
dotCooCoo 5e775d840b Merge main into feat/blob-eraser-size-stylus-wheel 2026-11-25 04:00:44 -08:00
BFlat 7df7885a11 Merge pull request #4221 from ncic/pencil-redraw-extend
Pencil: Edit Selected Paths follows a stroke lifted away from the path, carves, loops and closes
2026-11-25 17:44:43 +07:00
dotCooCoo 34b5706d1f Merge main into feat/eyedropper-hover-highlight 2026-11-24 23:28:44 -08:00
.CooCoo 99f7de5262 Direct Selection: Double-Click Adds Anchor Points preference adds an anchor on a segment (#9122) 2026-11-25 14:18:29 +07:00
dotCooCoo cecaf16bae Circle: switching Third Point by Dragging keeps a center placed with From Center 2026-11-24 20:39:34 -08:00
dotCooCoo bd597c019d Merge main into feat/circle-from-center 2026-11-24 20:32:39 -08:00
BFlat 5158ad606c Merge pull request #9047 from dotCooCoo/fix/ctrl-lends-selection-tool
Selection: Cmd/Ctrl lends Direct Selection until it is released
2026-11-25 11:31:03 +07:00
BFlat a29219540c Merge pull request #9025 from dotCooCoo/fix/distinct-tool-icons
Tool icons: every tool gets an icon of its own instead of sharing its group's
2026-11-25 11:30:50 +07:00
dotCooCoo 0a36ef97e1 Merge main into fix/ctrl-lends-selection-tool 2026-11-24 18:02:30 -08:00
dotCooCoo 80ae7f8923 Merge main into fix/distinct-tool-icons 2026-11-24 15:23:27 -08:00
dotCooCoo b4c214169b Merge main into feat/quick-pen-length-handles 2026-11-24 09:16:09 -08:00
dotCooCoo 1752a0c2d6 Merge main into fix/distinct-tool-icons 2026-11-24 04:57:52 -08:00
BFlat 2e09e5135f Merge pull request #9046 from dotCooCoo/feat/quick-pen-arc-center-i9314
Pen: Quick Pen marks an arc's center with a cross while the arc is drawn
2026-11-24 16:05:16 +07:00
BFlat 86a03fcdff Merge pull request #8986 from dotCooCoo/feat/dimension-alt-object-size
Dimension tool: Alt over a path places its overall width or height
2026-11-24 16:04:27 +07:00
BFlat eddd17cd27 Merge pull request #8921 from dotCooCoo/fix/missing-font-wrong-token-test
Tests: the missing-font question's tests check the open question and the clicked caret
2026-11-24 16:02:48 +07:00
BFlat 8b4a57f4e3 Merge pull request #8818 from dotCooCoo/fix/selection-widget-double-click-transform
Live Corners: a Selection tool double-click on a corner widget shows the Transform panel
2026-11-24 16:01:41 +07:00
dotCooCoo 50cf5ef9c7 Merge main into feat/quick-pen-length-handles 2026-11-24 00:31:54 -08:00
BFlat 6f37bd839c VectorCraft on the craft UI framework (#8800)
VectorCraft's UI moves onto the shared craft UI framework in storytold/craft-libs (`next`; the framework side is storytold/craft-libs#2809), as PhotoCraft's did. The app keeps its engine, document model, file formats, commands and automation; its windows, panels, bars, dialogs and canvas are now built and driven by the framework: shell, docking and panels, hosted dialogs, keyboard, focus, IME and pointer routing, and theme tokens.

About 264,000 lines of VectorCraft's own egui UI code are removed and about 154,000 added. craft-libs is pinned at bf62d509f (in `next`), the egui fork at f5025284.

Tests that drove the old UI were rewritten against the port where only their premise changed, with their assertions kept. The UI tests still failing at merge, and their follow-ups, are listed in the pull request.
2026-11-24 08:25:24 +07:00
dotCooCoo 6af6b2b13e Quick Pen: a length drag shows no Smart Guide from the hover before it
A press on a length handle kept the Smart Guides of the hover before
it, so a guide or label at the handle stayed on screen for the whole
drag. The press now clears them, as a press away from a handle does
when it places a point.
2026-11-23 12:16:38 -08:00
dotCooCoo e2334a2165 Smart Pen: the tool is in the Pen tool's flyout
The Smart Pen Tool joins the Pen group in both shipped toolbars, after
the Quick Pen, and stays in Object › Plug-ins › Smart Pen. The All Tools
drawer lists it once, under Draw, and Edit › Keyboard Shortcuts › Tools
lists it once. It has no default shortcut, and the Pen keeps P. A
toolbar the user already edited keeps its saved layout; Reset Toolbar
adds the tool.

A group torn off the Tools panel's toolbar now shows the tools of the
current layout's group that starts with the same tool, after toolbar
edits, Reset Toolbar, a switch between Basic and Advanced, loading the
preferences and switching workspaces, as groups torn off a toolbar made
with New Toolbar already did. A strip with no such group keeps its
tools.

Part of #8326
2026-11-22 08:16:20 -08:00
dotCooCoo a1bd1ba906 Shape Builder: a fill chosen while the tool is active leaves the selection's fills
Choosing a fill while the Shape Builder was active (a swatch, the Color
panel, the Fill box or a paint command) ran paint.setFill on every
selected path, so all of them took the color. With Pick Color From set
to Color Swatches the tool merges with the current fill, so the pick is
the color for the next merge.

While the Shape Builder is active, a fill chosen without ids, id or item
now changes only the current fill, with either Pick Color From: with
Color Swatches the next merge fills with it, and with Artwork merges
still take their look from the art. A stroke chosen then still goes to
the selection. Swap Fill and Stroke and Default Fill and Stroke change
only the paint for new art, and Swap gives the current fill the stroke
the Stroke proxy shows. This is VectorCraft's own rule; no default
setting changes.

- painting_tool_of says which tool paints with the chosen fill or
  stroke: the Live Paint Bucket with both, the Shape Builder with the
  fill. Session::tool_paints(stroke) replaces bucket_paints, so the
  paint and gradient commands, previews, the proxies, the Stroke panel
  and the Gradient panel's eyedropper follow it for each kind.
- A new selection does not replace the tool's fill for new art, with
  New Art Has Basic Appearance on or off, and new art is not linked to
  a graphic style whose fill it does not have.
- A cancel puts back a fill previewed for the tool, also after another
  tool was chosen during the drag.
- An Eyedropper pick armed for a stop of the tool's gradient samples
  only into a stop of that gradient, and ends once that stop is gone.
  Choosing another tool drops the stop the pick was armed for, and a
  pick armed while the Eyedropper waits for a Cmd-drag keeps its stop.
- The paint.freeform commands refuse the Shape Builder's fill as they
  refuse the Live Paint Bucket's colors, which lie on no object. For
  the gradient either tool paints with, the Color panel, the Gradient
  panel, the stop popover and swatch drops edit its stops instead of
  points, and the Gradient panel shows its Draw toggle, ramp and stop
  fields in place of the point controls. paint.editGradient keeps the
  given stops of a freeform gradient that has no points yet.
- A gradient command that names no kind edits the proxy in front when
  the tool paints with it, else the kind the selection's active
  Appearance row stands for.
- set_paint lists the commands that painted no object in unpainted.
- Params text and docs/mcp.md describe the rule.

Help (Pick Color From, Color Swatches):
https://helpx.adobe.com/illustrator/desktop/draw-shapes-and-paths/draw-shapes/shape-builder-tool-options.html
https://help.adobe.com/archive/en_US/illustrator/cs5/illustrator_cs5_help.pdf#page=266
https://help.adobe.com/archive/en_US/illustrator/cs5/illustrator_cs5_help.pdf#page=267
2026-11-22 06:01:44 -08:00
dotCooCoo 80b90c5ebb Quick Pen: a length drag out and back to the same length records no undo step
A length drag that changed the length and then came back to where it
started previewed the path again at its first length, so letting go
recorded an undo step for an unchanged path. A drag that ends at the
length the piece started with is now taken back as Escape takes it
back, on the path being drawn and on a selected path.
2026-11-22 02:07:27 -08:00