Commit Graph
1022 Commits
Author SHA1 Message Date
yoriswind 2dba20477b Integrate current main into gradient stop mode menu 2026-11-26 11:50:42 -08:00
yoriswind 98b6631c09 Merge main and port gradient stop Color mode menu to native controls 2026-11-26 11:22:18 -08:00
BFlat de96544ea2 Merge pull request #8832 from dotCooCoo/feat/corners-link-popup
Live Corners: a Corners link opens the corner settings of the picked corners
2026-11-27 00:53:43 +07:00
BFlat 1d31f7ee5d Merge pull request #9006 from dotCooCoo/feat/tangent-circle-add-points
Tangent Circle Tool: Add Points to Existing Paths adds anchors where the circle touches
2026-11-26 23:19:49 +07:00
dotCooCoo b0241804b7 Merge main into feat/corners-link-popup 2026-11-26 06:37:26 -08:00
FredApps 4400a904ff Merge main into History row context menus (docs: keep both evidence entries and change rows) 2026-11-26 20:55:09 +07:00
dotCooCoo 6a8b80f3d6 Merge main into fix/shortcuts-optional-param-commands 2026-11-25 23:04:07 -08:00
dotCooCoo 7291fe1aed Merge main into feat/tangent-circle-add-points 2026-11-25 18:51:00 -08:00
dotCooCoo a868058b44 Shortcuts: panel and dialog commands whose params are all optional can be given a key
Edit › Keyboard Shortcuts left out UI commands with no default key, no
menu bar item and a params doc other than {} or {path…}, so New Swatch…,
New Color Group…, Color Group Options…, New Brush…, Brush Options…,
the Layers panel's Options for Selection…, Corners…, Placement Options…,
Relink…, Perspective Plane Options…, Bullets and Numbering…, Missing
Fonts Dialog and Find Fonts in Folder… could not get a key, although
each runs with no params. They are now listed
through a KEY_ONLY_UI list that replaces the `id ==` checks for Rename
and Color Picker…. A key opens the dialog for the selection or the
current item, or the status bar says why it cannot.

Color Group Options… with no group selected now says "select a color
group in the Swatches panel, or pass group" instead of "missing `group`".

Docs: docs/mcp.md, docs/ui-parity.md.
2026-11-25 18:44:51 -08:00
FredApps ae70a8f174 Resolve main documentation conflict in History row menu PR #8845 2026-11-26 03:27:16 +01: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 8ee6295e3e Merge pull request #9103 from dotCooCoo/feat/recolor-preset-library
Recolor with Preset: ask whether to limit colors to a swatch library first
2026-11-26 08:46:55 +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
dotCooCoo c7ae974cf3 Merge main into feat/corners-link-popup 2026-11-25 15:35:14 -08:00
ruchirguitar c766f2f450 History panel: add snapshot-safe row context menus and keyboard access 2026-11-26 04:54:14 +05:30
dotCooCoo d535668a20 Merge main into feat/tangent-circle-add-points 2026-11-25 14:12:11 -08:00
dotCooCoo 7e8904f424 Merge main into feat/smart-pen-default-toolbar 2026-11-25 09:28:56 -08:00
dotCooCoo c71fc0a25b Merge main into feat/recolor-preset-library 2026-11-25 09:11:53 -08:00
dotCooCoo a23efc0620 Merge main into fix/overprint-preview-canvas 2026-11-25 09:11:47 -08:00
dotCooCoo 6125e7e920 Merge main into feat/tangent-circle-preview-prefs 2026-11-25 05:09:16 -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 254bcf4226 Merge main into feat/corners-link-popup 2026-11-24 22:39:31 -08:00
BFlat 461e758fe7 Look: Home, the dock frame and the panels' spacing as production 0.24.1 draws them (#9276)
* Dock: rail_cards is now column_cards in craft-libs

* Dock: pill panel tabs and rounded floating bodies, as production drew them

* Root looks: neutral link labels, hover command highlight, strong choices, accent slider tracks, filled dialog buttons, spaced sections

* Canvas: artboard edges black for the active artboard and grey for the others, as production drew them

* Canvas: smart guide labels in their overlay's colour, as production drew them

* Canvas: bleed in the error red and artboard marks in the grid grey, as production drew them

* Document tabs: production's strip heights, regular and large

* Floating window close test: aim at the title bar above the window's tab strip

* Place the selection widgets over the canvas, so a frame runs its UI once

SelectionWidgets was laid out in the canvas body's flow, which the layout
check found changed in every frame the canvas drew: the frame was discarded
and its whole UI ran a second time. It is placed over the canvas's rect, as
the other canvas controls are.

* Give nine trials the frames their behaviour needs now that a frame runs its UI once

* Give the merge-press and corner-list trials what their behaviour needs now that a frame runs its UI once

A merge the press frame applies changes the layout, so that frame runs again and its second pass already makes
the held press: the check accepts the lent tool once the merge is no longer pending. The picked corner list fades
out on the clock, which the trial now moves past before it checks the list is gone.

* Pin craft-libs at 357f332549af53e1a273c2952c3e9c44157bef72

* Field labels in the normal ink, semibold document tabs, Stroke and Opacity without a colon, a plain Properties Rotate field, as production drew them

* Only the shown pass of the canvas body starts the frame's panes, so a release over a floating window in the frame the pointer reached it drops the art

* Pin craft-libs at 75efd247498d47e41604f418bceb2adaf0e3b329

* A collapsed panel column's icon groups stand apart by a hairline, as production drew them

* Fill and Stroke chips: production's small square wells with their arrow, in the Properties panel and the Control bar

* The dock's columns stand flush and square at production's widths: a 310-point panel column and a 38-point icon column, the panel tabs in the framework's plain look

* The app bar's end shows Discord, a search icon and the workspace switcher, as production 0.24.1 does; tutorials and Arrange Documents stay in the Window menu

* Home: StartScreen's Column layout as production lays it out: the centred welcome title and subtitle, New and Open, the recent files as rows, Learn, the presets as page cards under Quickly start a new file, and Community's links with Join our Discord as the call to action; the Home title is 26-point (typography.display). The recent-files trial finds rows by name and folder. Needs the framework's StartLayout::Column (craft-libs fix/vc-home)

* Properties: the kind line heads the sections under it (QuietHeader::Heads), so the first draws no divider above it, as production's did

* Link labels (Stroke, Opacity:) draw their underline inside the label (LinkLabelUnderline::Inside), under the text as production drew it; it was clipped away

* Push buttons stand 24 points high (size.button), as production's flat buttons; fields stay 26

* Quiet headings (the kind line, Ellipse Properties:) stand a line of text high over their fields (QuietTitleRow::Text), as production's did

* Layers rows: the thumbnail with a tight gap and 14 points of indent per level (ThumbRows::Tight): 26-point rows as production's

* Layers: the Objects search field fills the filter bar up to its Filter button (ObjectsSearch::Fill), as production's did

* Home: production's "New file" and "Open" words, 60 points of page margin above the title and a 36-point Join our Discord (size.page.margin, size.page.action); New Document's preset cards show blank paper on flat cards (PresetCardLook::Page), as production drew them. Needs craft-libs fix/vc-home 9cf00b80e or later

* Control screenshots: frames keep coming until a capture is answered, not only until it is issued; its readback finishes in a later frame, so with nothing else repainting (the Color flyout open) a screenshot waited for the next wake, where production's capture kept painting

* Icon buttons draw 16-point glyphs (size.icon.glyph_md) in their 26-point buttons, as production's did (60% of the button): Align, the Transform flips, More Options

* craft-libs at next 461493afc: the panel spacing options, the menu Copy after Select All and Home's Column page options; pdf-deps follows

* Files dropped on a floating panel window open as before: the dock now names the panel each drop landed on (craft-libs a2967e3cc), which the app does not use

* The dock takes production 0.24.1's frame: block panel tabs on canvas strips with the column bars 14 points high, the tool column the only card with a square canvas strip on top, docks flush against the canvas with framed icon columns and square docked flyouts, the open panel's icon on the control surface; the status bar's rotation and artboard selects are filled

* craft-libs at next 4bed21baa: VectorCraft's dock frame options (block panel tabs, stepped column cards, flush docks, ruled icon groups with production's grip bands, filled status selects); egui follows the framework to b15ffe9bf; pdf-deps follows

* Color Wheel: the opacity row reads the target and color from the rows' pick

#7642's opacity row used the target, color and color settings of the old panel function, which #9256 split into show_rows. It now reads them from the Pick show_rows gets, and leaves the gap to the stack, as the other rows do.
2026-11-25 13:29:00 +07:00
dotCooCoo 2b4e34c7a2 Merge main into feat/corners-link-popup 2026-11-24 20:39:43 -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 617f5d6d71 Merge pull request #9066 from dotCooCoo/feat/inscribed-circle
Path Precision Tools: Add Inscribed Circle draws the largest circle inside a path
2026-11-25 11:27:35 +07:00
dotCooCoo 0a36ef97e1 Merge main into fix/ctrl-lends-selection-tool 2026-11-24 18:02:30 -08:00
dotCooCoo da4cc3e9f9 Merge main into feat/inscribed-circle 2026-11-24 13:39:51 -08:00
dotCooCoo b4c214169b Merge main into feat/quick-pen-length-handles 2026-11-24 09:16:09 -08:00
BFlat 0773e17df5 Merge pull request #9161 from dotCooCoo/feat/outline-linked-image-x
Outline view: linked images and placed documents show their box with an X
2026-11-24 16:07:52 +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
yoriswind f7a8565ca4 Merge current main for the gradient stop color-mode menu 2026-11-23 09:34:00 -08:00
ncic 563cbb298c Pencil: a redraw on an open path follows the way its ends run along it (#3793)
A stroke that starts and ends on an open path away from its ends now looks
at the way it runs along the path at each end. Where it starts it replaces
the part it runs along; where it lands it joins the part it runs into. So it
replaces the part between (and the path stays open), keeps the part between
and closes the path along the stroke, or, when its two ends disagree, keeps
the start's choice and ends where the pen is lifted.

An end runs along the path when its first stretch, as long as Edit Selected
Paths' distance, stays within that distance and moves along the path more
than away from it. An end that leaves or meets the path squarely follows the
other end; when both do, the stroke closes the path only if it goes round
both pieces beyond its ends.

This brings back closing across an open shape's opening (a C drawn over both
arms closes into a ring), which the previous commit had taken out, and keeps
a bump over an L's corner redrawing the corner.
2026-11-23 04:58:44 +01:00
dotCooCoo 97ac3c8c8b Outline view: linked images and placed documents show their box with an X
In Outline mode, with File > Document Setup > Show Images in Outline Mode
off, a linked image's frame is crossed from corner to corner, following
the corners of a turned or distorted image. A placed document shows its
box crossed, and its file's art no longer draws in Outline mode unless
the option is on. Embedded images keep a plain frame, and so do the
pieces that an envelope cuts an image into.

A placed document with raster effects or color adjustments stays
crossed. One with an effect that changes geometry, its own or its
group's, still draws its file's art reshaped and is not crossed yet.

With the option on, images show their pixels in gray and placed
documents show their art. The art inside a placed document now follows
the option of the document it is placed in rather than the placed
file's own setting.

Linked files showing as a box with an X in Outline mode is described at
https://helpx.adobe.com/illustrator/using/viewing-artwork.html; the
other rules are VectorCraft's own.

Docs: docs/ui-parity.md, docs/mcp.md; document.setup params text for
outlineImages.
2026-11-22 19:49:08 -08:00
ncic aea7ae116a Pencil: a redraw stroke in the middle of an open path never closes it (#3793)
A stroke that starts and ends on an open path away from its ends now always
replaces the part between and leaves the path open. Before, a stroke across
the opening (over most of an L, or across a C) could keep the part between
and close the path along the stroke instead. Closing stays where the Pencil
shows the closing cursor: a stroke from one end that finishes on the other.
2026-11-23 01:42:18 +01:00
ncic 3b668aec46 Pencil: a tall redraw keeps an open line's ends and a thin shape's body (#3793) 2026-11-22 21:59:44 +01:00
dotCooCoo 14e5fae4ca Docs: Overprint Preview's white canvas applies while the artboards show
The ui-parity row, the Views evidence line and docs/mcp.md now state the
condition that white_canvas() checks: the canvas around the artboards is
white in Overprint Preview and Separations Preview while the artboards
show.
2026-11-22 12:03:06 -08:00
dotCooCoo da5344af2c Recolor with Preset: test that grays of different lightness get different tints
The 1 Color Job test now requires a strictly higher tint on the darker of
two grays for a linked ink, and different colors for a process swatch, so
a flat tint fails it. docs/ui-parity.md gets a Recolor with Preset item
and the M3 row in docs/roadmap.md names the preset flow.
2026-11-22 11:14:02 -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 f9679bf92b Overprint Preview: the canvas around the artboards is white, with no artboard shadows
In Overprint Preview, and in Separations Preview, which turns it on, the
canvas outside the artboards was drawn in the pasteboard color. It is now
white, and the artboards draw no drop shadows. Turning the preview off
brings back the pasteboard color and the shadows.

- With a display profile, translucent art around the artboards is blended
  with the white canvas before the conversion, as it is on the paper.
- Artboard names and the ruler origin's crosshair use the dark gray they
  use in Outline. Where the Artboard tool's Fade Region Outside Artboard
  darkens a white canvas, in Overprint Preview and in Outline, the names
  and the crosshair are black.
- Over a white canvas the Artboard tool's names of its selected artboards
  are dark blue instead of the selection blue.
- proof::overprint_preview_on() reads the proof view without copying it,
  since the canvas now asks for it several times a frame.
- The canvas tests that check the pasteboard, the names or the display
  profile's frames hold the proof view while they run, and the tests that
  change it outside the Proof Setup tests take it for writing.
- docs/mcp.md, docs/target-app-parity.md and docs/ui-parity.md describe
  the white canvas.
2026-11-22 06:46:46 -08:00
dotCooCoo 70a56fb5be Path Precision Tools: Add Inscribed Circle bounds its work and memory
- The searches for all the selected objects share one limit of
  134,217,728 distances from a point to an edge, as Add Bounding Circle
  shares its splits, and each cell is measured only when the limit has
  room for it. One search keeps at most 1,048,576 cells waiting. The
  pathops crate adds inscribed_circle_within for a shared budget.
- The search stops once its best center is within the precision of half
  the box's narrower side, so a long rectangle ends at its first cells,
  and cells that cannot beat the best center are no longer queued.
- A fill much smaller than the precision still gets a circle: the
  search keeps splitting until it finds a center inside the outline.
- The precision also follows the box of the area the fill rule leaves.
- Flattening stops at the first curve past the edge limit. An outline
  that flattening closes up, or whose center lands outside the curves,
  is flattened up to four times, 16 times finer each time; one it still
  cannot resolve is too complex to measure, not empty. Areas are summed
  from each contour's own first point.
- An outline with more than 262,144 anchors in its filled subpaths is
  refused before it is resolved.
- A selected layer is refused like any other object that is not a path,
  and inside an isolated compound path the circles join it, as Tangent
  Circle's do.
- The menu item uses a named constant, and a UI test checks that it
  runs the command with no dialog and selects a new live circle in each
  selected shape, as one undo step.
- The params text and docs say that the 0.02 pt bound holds before the
  circle is drawn 0.03% smaller, that a shape under 10 pt across is
  measured to a five-hundredth of its narrower side, when long curves
  are flattened more coarsely, and that edges can move by 1e-6 pt as in
  the other path operations.
2026-11-21 23:53:37 -08:00
dotCooCoo e10c3f1157 Merge main into feat/quick-pen-length-handles 2026-11-21 20:17:47 -08:00
dotCooCoo 80f96d11f9 Path Precision Tools: Add Inscribed Circle draws the largest circle inside a path
Object › Plug-ins › Path Precision Tools › Add Inscribed Circle
(`addon.pathtools.inscribedCircle`) draws the largest live circle inside
each selected closed path or compound path, centered on its pole of
inaccessibility. Part of #6966.

- The outline is resolved under its fill rule into outer contours and
  holes, so overlapping subpaths count as the area they fill and holes
  bound the circle down to 1e-6 pt wide, the path operations'
  resolution. Square cells are searched best
  first, and the radius is measured from the center to the curves:
  within 0.02 pt of the largest, or a thousandth of the narrower side
  for a shape less than 10 pt across.
- The circle is drawn up to 0.03% smaller, by as much as its four curves
  reach past a true circle, so it stays inside where it touches.
- Open paths, other objects, shapes that fill no area, and outlines past
  262,144 flattened pieces or the search's work limit are errors that
  leave the document unchanged. The first cells are sized to the work
  limit.
- The circles get the current paint, go on top of the current layer or
  the isolated group, and are one undo step.
- Docs: docs/mcp.md, docs/target-app-parity.md, docs/ui-parity.md,
  ROADMAP.
2026-11-21 18:49:56 -08:00
dotCooCoo 555b619228 Selection: Cmd Select Behind works on grouped art and line art
A Cmd press with the Selection tool now selects behind on a group that
holds a selected member, as it does on a selected object, so repeated
Cmd-clicks on grouped art reach the object behind the group. A path's
segments no longer keep the press for Direct Selection, so a Cmd-click
on a selected stroke-only path selects behind it. Select Behind needs
another object under the pointer: on a lone object the press is lent.
The bounding box's handles and rotate zones also lend the press.

- A double-click that follows a Cmd-click selecting behind keeps what
  that click selected, without isolating or editing, also when the
  press and the double-click come in one frame. After an edit or a
  selection change, or after a press that drags or is released away
  from where it began, it is an ordinary double-click.
- Whether a press selects behind is kept for the pointer's position
  while the document, the selection, the live inputs and the hit-test
  settings stay as they are, so the cursor, the canvas marks and the
  press do not walk the document again. A layer or group effect that
  draws art widens the area checked; raster effects and color
  adjustments do not.
- The selected blends' spines are built once per check.
- The status bar and the help bar name the tool a press at the pointer
  takes, which is the Selection tool where the press selects behind,
  and they are drawn again when it changes. The canvas drops a hover's
  decision once the tool, the selection or a preference it depends on
  changes.

Docs: docs/mcp.md (pointer_gesture, and Cmd+Alt with Direct
Selection), docs/control-protocol.md, docs/ui-parity.md,
docs/target-app-parity.md.
2026-11-21 18:34:20 -08:00
dotCooCooandSofiaAFigueredo dcff4edc3d Selection: Cmd/Ctrl lends Direct Selection until it is released
With the Selection tool chosen, holding Cmd (Ctrl on Windows and Linux)
now lends Direct Selection, or Group Selection when that was chosen
last, for each press; the Selection tool is back on the release. With
Group Selection chosen, Cmd lends the Selection tool, as it already did
with Direct Selection. Selection & Anchor Display > Command Click to
Select Objects Behind keeps a Cmd press on a selected object, away from
its anchors, handles, mesh points and spine, for selecting the object
behind it. A wide stroke's painted area counts as on the object there.

- The double-click or triple-click after Cmd-clicks goes to the tool
  the clicks went to.
- Cmd pressed once a drag is under way lends nothing, and the pointer
  stays the active tool's.
- While Cmd is held, the status bar's Current Tool and the help bar
  name the lent tool, and the canvas shows the lent tool's marks and
  widgets (blend, Shaper, mirror, trace divider and repeat handles) for
  the pointer's position in the same frame.
- The help bar has hints for Group Selection.

The helper that finds a selected object's editable parts under the
pointer follows the one in pull request 6597 by SofiaAFigueredo.

Docs: docs/ui-parity.md, docs/control-protocol.md (ui.pointer).

Co-authored-by: SofiaAFigueredo <223278896+SofiaAFigueredo@users.noreply.github.com>
2026-11-21 11:55:41 -08:00
ncic 6cd0de02b1 Merge remote-tracking branch 'upstream/main' into pencil-redraw-extend
# Conflicts:
#	docs/target-app-parity.md
#	docs/ui-parity.md
2026-11-21 18:13:24 +01:00
dotCooCoo 88f496d873 Tangent Circle Tool: Add Points to Existing Paths adds anchors where the circle touches
The tool gets an `addPoints` option (Add Points to Existing Paths in its
options, off to start). When it is on, drawing a circle also adds an
anchor point where the circle touches the first segment and the second
segment, splitting them without changing their shape. The anchors and
the circle are one undo step. A touch at an existing anchor adds none.

Alt held at the release turns the option the other way for that
circle, and a dot beside the pointer shows while it is in effect. When
a touched path was not selected, the selection is put back before the
circle is drawn, so Draw Behind places the circle behind the selected
objects.

The option label has a row in every complete catalog.

Part of #7178.
2026-11-21 01:54:54 -08:00
dotCooCoo 34a0070618 Path Precision Tools: the Tangent Circle Tool's options set its preview and how near it snaps
The Tangent Circle Tool's options dialog and tool.setOption take five more
options, kept with the preferences: center and radii show or hide the
preview's center cross and the lines to the two touch points, color sets
the color of the circle, the cross, the lines and the no-circle note (red,
blue, magenta, green, black or gray), snapTolerance sets how near (screen
pixels, 0 to 25) the pointer picks a segment, and snapWithoutGuides keeps
that reach with Smart Guides off. With Smart Guides on, their Snapping
Tolerance counts when it is larger; with snapping off a segment is picked
within the Selection Tolerance. The help page lists these options:
https://docs.astutegraphics.com/subscribe/tangent-circle-tool

The defaults (both shown, red, 3 px, snapping on) are VectorCraft's own.
With Smart Guides on, the default reach is now their Snapping Tolerance
(4 px) instead of the 3 px Selection Tolerance.

Of the segments within reach the tool now picks the nearest one, not the
first one found, so a larger tolerance does not pick a farther path over
a nearer one. tool.setOption gives an error for an unknown color, a
tolerance outside its range or a value of the wrong type, and sets none
of the values.

Docs: docs/mcp.md, docs/target-app-parity.md, docs/ui-parity.md.
2026-11-21 01:17:24 -08: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
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