Commit Graph
8580 Commits
Author SHA1 Message Date
dotCooCoo 56c9d73a8a Reflect tool: a second click reflects across the line through both points
A click with the Reflect tool now also sets the first point of an axis.
The next click on the same selection reflects it across the line through
the two points as one undo step, and Alt held at that release reflects a
copy. A drag after the first click draws the axis from it, and a dashed
line runs from the first point to the pointer until the second click.

A second click within 3 px of the first point does nothing. Escape,
Enter, a double-click, a changed selection or document, a new reference
point and switching tools drop the waiting axis. Alt on a first click
still opens the Reflect dialog. Rotate, Scale and Shear are unchanged.
2026-11-17 15:24:01 -08:00
dotCooCoo 1f41683f58 Color Themes: Set Active Color paints the current fill or stroke with the selected color
A button on the Create tab, beside the pipette that copies the current
color into the theme, does the reverse: it sends the selected theme color
to the proxy in front, through paint.setFill or paint.setStroke with
keepModel, so the selection and the default for new art take it in its
own color model. A click is one undo step; a click that changes no art
adds none. The button is off without a document.

The help page describes this action for creating a color theme:
https://web.archive.org/web/20210601162814/https://helpx.adobe.com/pdf/illustrator_reference.pdf#page=222
2026-11-17 15:12:20 -08:00
dotCooCoo c894fd6a2d Recolor Artwork: an edit with the pointer down from the first frame is an Undo Changes step
The dialog's history takes the fields it read from the art as its first
state on the first frame, before the controls run. A pointer held from
that frame no longer leaves the first state unset until release, which
made the first edit the starting state with nothing to undo.

The docs say that fields set with ui.dialog.set become one step at the
next frame or step, and that Save All Colors and Save Prominent Colors
add a color group to the document at once, which Cancel and Undo
Changes leave in place.
2026-11-17 14:52:39 -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 9e6c2b7c23 Merge branch 'feat/eps-options-custom-flattener' into feat/save-pdf-custom-flattener 2026-11-17 14:43:34 -08:00
dotCooCoo f4608d1e90 Docs: Spanish untranslated counts after the merge of main 2026-11-17 14:38:36 -08:00
dotCooCoo d65c87b9c9 Control bar: a click on the X, Y, W or H label opens the Transform panel
A click on the Control bar's X:, Y:, W: or H: label, with objects selected
or with the Artboard tool, opens the Transform panel in a popover under the
label, as the Transform link does; a second click closes it. The help page
(https://web.archive.org/web/20210601162814/https://helpx.adobe.com/pdf/illustrator_reference.pdf#page=374)
describes these labels as another way to bring up the Transform panel.

The click no longer gives the field the keyboard. A drag on the label still
scrubs the field, and the labels are not tab stops, so Tab still moves from
one field to the next.
2026-11-17 14:36:50 -08:00
dotCooCoo 95615a56f5 Docs: Spanish message counts after the merge of main 2026-11-17 14:33:21 -08:00
dotCooCoo 4c78b10c31 Type: new type takes the font and size of a redefined [Normal Character Style]
New type started in [Normal Character Style]'s fill only and always used the
default font and size. It now takes the style's font, style, size and other
character attributes too, so redefining that style in a New Document profile
sets the default font of the profile's documents. A font, style, size or
color given to text.create still wins.

Part of #8350
2026-11-17 14:29:18 -08:00
dotCooCoo 2209a64dc2 Save for Web: double-clicking a color-table swatch shifts that color
Double-clicking an opaque GIF or PNG-8 color-table swatch opens the
Color Picker. Its OK writes that color as the color picked wherever it
appears in the image; Cancel changes nothing. A shifted swatch shows the
original color at its upper left and the new one at its lower right,
with the lock mark. Double-clicking it opens the picker on the original
color, and OK on it takes the shift away. Unshift All Colors in the
table's menu clears shifts and web shifts.

- colorTable.shifted {"#source": "#rrggbb"} carries the shifts by
  source color, in the settings, the remembered settings and presets.
  A shifted color is kept when reducing, before locked colors, and wins
  over Web Shift, Web Snap and Lock; a color mapped to transparent stays
  transparent. Bad colors, duplicate keys and more than 256 entries are
  refused. The preview marks shifted colors.
- GIF lossy compression compares pixels with the reduction's colors
  before the table's edits, so a shifted or web-shifted color does not
  take in the pixels of a nearby color.
- Web Shift replaces a shift by hand, Lock stays on for a shifted color,
  and Delete Color drops a deleted color's shift.

Docs: docs/mcp.md, docs/target-app-parity.md.
2026-11-17 14:28:52 -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 a0228dd460 Brushes: Scatter Brush Options has Hue Jitter, a per-copy hue turn
A scatter brush takes a Hue Jitter amount from 0 to 180 degrees (0 by
default). Each copy turns the hue of its solid fills and strokes, type
included, by its own amount up to that far either way, after the
colorization. The amounts come from the stroke's path and the brush
name, so a stroke draws the same colors on every redraw, after Save and
Open, and in export. Copies keep their places, sizes and rotations.

A color turns in its own model (RGB in the HSB of its values, CMYK over
C, M and Y with K kept, Lab by turning a and b). White, black and grays
stay as they are, and a symbol instance in the art turns only its stain.
A brush at 0 draws its copies in the colors the colorization gives them
and saves no hue_jitter key; a brush without the key reads as 0.

- brush.options takes hue_jitter, and brush.get shows it for every
  scatter brush. Brush Options shows a Hue Jitter field (ui.brushOptions
  field hueJitter) with rows in every catalog.
- The .ai editing data writer does not write the amount, so a jittered
  brush is left out of the Brushes panel there and reported, as other
  brushes that would open with other settings are.

Docs: docs/mcp.md, docs/target-app-parity.md.
2026-11-17 14:24:19 -08:00
dotCooCoo f5456410b2 Recolor Artwork: Undo Changes and Redo Changes step through the dialog's own color edits
Two buttons beside the Color Theme Picker go back and forward one color
edit made in the open dialog: the rows, Colors, Method, the Preserve
options, Limit to Library, the harmony rule, Global Adjust, the Color
Theme Picker's picks and the Prominent Colors weights. The art previews
each step. The dialog's history is separate from the document's: OK
still records one undo step and Cancel discards the edits with their
history. Each opening starts with nothing to undo, as the help page
describes (https://helpx.adobe.com/illustrator/desktop/manage-colors/modify-colors/recolor-options-overview.html).

VectorCraft's own rules: a change is one step once the pointer is
released, so a drag is one step; Reset is a step of its own; a new edit
after Undo Changes leaves nothing to redo; a button with no step to go
to is disabled; the dialog keeps at most 64 steps and 4 MiB of them.

ui.recolorUndo and ui.recolorRedo run the buttons and return
{changed, canUndo, canRedo}.
2026-11-17 14:11:12 -08:00
dotCooCoo fa53623567 Merge main into fix/native-panel-command-geometry 2026-11-17 14:09:15 -08:00
dotCooCoo 7aaa43b1e4 Merge main into fix/path-freehand-connect-needs-extend 2026-11-17 14:09:14 -08:00
dotCooCoo e3554a155a Merge main into fix/i18n-recent-feature-messages-translated 2026-11-17 14:09:05 -08:00
dotCooCoo 0b398be194 Merge main into fix/i18n-script-run-parameter-refusals 2026-11-17 14:09:04 -08:00
dotCooCoo a997b92c90 Merge main into fix/es-message-rows 2026-11-17 14:09:02 -08:00
dotCooCoo 226847f65f Swatches: Color Group Options renames the selected color group
The Swatches panel menu gets Color Group Options..., available when one
color group is the whole panel selection. Its dialog shows the group's
name, and OK renames the group with the new swatch.renameGroup command
(ui.colorGroupOptions opens the dialog). The group's swatches, their
colors and the art linked to them stay as they are, and the group stays
selected in the panel under its new name.

The name is trimmed. An empty name, or a name another color group or a
swatch has, is an error and keeps the dialog open. A rename is one undo
step; the group's own name records none. Double-clicking a group's
folder and the options button still open Edit or Apply Color Group.

The Color Guide's spot color base follows a group renamed in a batch,
so deleting the group under its new name ends the link.

Help page: https://helpx.adobe.com/illustrator/desktop/manage-colors/learn-color-basics/create-color-groups-in-the-color-guide-panel.html
2026-11-17 14:05:35 -08:00
dotCooCoo 6a1be1e26e Symbols: the bottom bar's Symbol Options button edits the current symbol
The Symbols panel's bottom bar gets a Symbol Options button between Break
Link to Symbol and New Symbol. A click, with or without Alt, opens Symbol
Options on the current symbol, as the panel menu's Symbol Options… does
(`ui.symbolOptions {edit: true}`). The button is disabled while the
document has no current symbol, and it uses the Swatch Options icon.
2026-11-17 14:02:54 -08:00
dotCooCoo 0727e8fb5f New Document: a profile's redefined Default Graphic Style sets the starting fill and stroke
When a New Document profile's Default Graphic Style differs from the shipped
one (white fill, 1 pt black stroke), file.new resets new art in documents
from that profile to the style's fills, strokes and effects, not linked to
the style. Default Fill and Stroke (paint.default, D) gives the defaults and
the selected art the same look in those documents; type still gets a black
fill and no stroke. A profile with the shipped style leaves the current fill
and stroke as they were.

Part of #8350
2026-11-17 13:53:20 -08:00
dotCooCoo d04b8b3f21 Layers: a repeated Locate reveals the row it already highlighted
Running Locate Object or Locate Layer again on the row it already
highlighted wrote the same highlight, so the Layers panel did not open
the layers around the row or scroll to it: a sublayer whose layer was
closed since stayed hidden. layer.locate now leaves a one-time request
on the document (DocState::locate_reveal) that the panel takes on its
next frame, opening the layers around the located row and scrolling to
it whether or not the highlight changed. The request is not saved and
adds no undo step, and the panel drops it when the row is no longer
highlighted.
2026-11-17 13:47:51 -08:00
dotCooCoo cc759b0135 Document Setup: the Transparency tab previews the grid
A checkered box to the right of Grid Size and Grid Colors shows the grid
the dialog holds before OK: the chosen square size and the two colors,
the first in the top-left square. It is drawn with the canvas's own
transparency grid tile and cell size, through the same display profile,
so it matches the canvas for every size and color pair. It changes
nothing in the document, and Simulate Colored Paper and View > Show
Transparency Grid do not change it. A grid value the dialog cannot read
shows as the document's setting.

The canvas's tile code now takes the colors and a cache key, so the
dialog's tile is cached apart from the canvas's.
2026-11-17 13:44:53 -08:00
dotCooCoo f4359f39b9 Merge main into fix/twist-boundary-tangent 2026-11-17 13:42:02 -08:00
dotCooCoo 7fc76a7397 Merge main into perf/metafile-artboards-bake-once 2026-11-17 13:42:00 -08:00
dotCooCoo 3fe3a00aca Merge main into feat/graphic-styles-alt-drag-style-onto-style 2026-11-17 13:41:56 -08:00
dotCooCoo 4967500c21 Merge main into feat/font-menu-sample-size 2026-11-17 13:41:54 -08:00
dotCooCoo 647478f9a6 Docs: qualify the CMYK JPEG and DeviceCMYK claims for PDF export and import
A CMYK JPEG loses its ICC_PROFILE segments in some DeviceCMYK cases, masked CMYK images keep their inks on PDF import, and the none rule needs no CMYK destination of another profile.
2026-11-17 13:40:46 -08:00
dotCooCoo 127e1e0ca3 Merge main into fix/font-menu-document-brush-text 2026-11-17 13:35:51 -08:00
dotCooCoo 9a2e931e1c Merge main into feat/separations-alt-click-show-all 2026-11-17 13:35:50 -08:00
dotCooCoo 5aed23a9f3 Merge main into perf/svg-image-key-once 2026-11-17 13:35:31 -08:00
dotCooCoo 1b1f60ba8c SVG Options: Show in Browser opens the SVG in the default browser
The SVG export options on the help page list a Show in browser option
beside Show Code, which displays the image in the default web browser:
https://helpx.adobe.com/illustrator/desktop/save-and-export/export-files-to-different-formats/export-file-format-options-in-illustrator.html

SVG Options gets a Show in Browser button beside Show Code. It writes
the SVG of the dialog's current, unconfirmed choices for one page (the
selection's crop under Export Selection, otherwise the first artboard
the options choose) to a new folder inside "VectorCraft SVG Preview" in
the system's temporary folder and opens it (file.export.svg.browser).
The dialog stays open, the choices are not remembered, and nothing is
written to the chosen file. The folder follows Save for Web's preview
folders: a private folder per preview, and folders an hour old are
removed; each kind removes only its own. The button is disabled on the
web build, and control and MCP requests are refused, as Save for Web's
Preview in Browser is.

Show Code and Show in Browser share one encoding step, so Show Code
changes in two ways. A range that OK refuses now shows OK's error:
before, Show Code showed the first artboard's code for a range it could
not read, and the first artboard named for a range such as "1, 9" when
the document has no artboard 9. A range naming one missing artboard was
already an error, with a different message. From Save As or Save a
Copy, both keep hidden layers, as the save does. A document with no
artboards shows the bounds of its art.
2026-11-17 13:33:33 -08:00
dotCooCoo 1ff8f065ee Merge main into perf/appearance-written-set 2026-11-17 13:30:44 -08:00
dotCooCoo 9591bdf68d Merge main into perf/inline-refresh-changed-subtrees 2026-11-17 13:30:42 -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 978000411a Eraser: the tip preview sets the Angle and Roundness by dragging
Eraser Tool Options now show the Blob Brush's tip preview under the
Roundness rows. A drag on the arrowhead sets the Angle and a drag that
starts on a black dot sets the Roundness, within the Eraser's 1% to 100%
for the drag and for the Roundness slider's keys. The fields show the new
values, OK sets the tool's options and Cancel leaves them as they were.

The Blob Brush's preview becomes one function for both tools, taking the
tool's lowest Roundness.
2026-11-17 13:26:52 -08:00
dotCooCoo 90f999b18c Merge main into fix/free-transform-shear-readout 2026-11-17 13:26:09 -08:00
dotCooCoo 1ea1fd8556 Merge main into feat/transform-line-properties 2026-11-17 13:26:08 -08:00
dotCooCoo 2bc8a8f9da Merge main into fix/print-near-black-missing-swatch 2026-11-17 13:26:00 -08:00
dotCooCoo 01f5be9470 Merge main into feat/prefs-descriptions-slices 2026-11-17 13:21:50 -08:00
dotCooCoo 20a95fb861 Merge main into feat/control-bar-shape-widgets 2026-11-17 13:21:48 -08:00
dotCooCoo cad5ace5b4 Merge main into feat/stipple-brush-library 2026-11-17 13:21:36 -08:00
dotCooCoo 32d04737b7 Merge main into feat/symbols-new-symbol-shift-keeps-art 2026-11-17 13:18:51 -08:00
dotCooCoo cc4ce97fc3 Symbols: Shift with New Symbol keeps the art as ordinary art
Making a new symbol from the selected art with Shift held now adds the
symbol and leaves the art as ordinary art, as the Create a symbol section
of the help page describes
(https://web.archive.org/web/20210601162814/https://helpx.adobe.com/pdf/illustrator_reference.pdf#page=192).
Without Shift the art still becomes an instance.

- symbol.new takes keepArt (default false). With true the art keeps its
  ids, layer and stacking position and stays selected, apart from art
  that cannot be selected, frames of threaded text stay in their
  thread, and the result's id is null. A keepArt that is not true or
  false is an error.
- The Symbols panel's New Symbol button and its New Symbol... menu item
  read Shift when clicked and carry it through Symbol Options' OK;
  Shift with Alt on the button makes the symbol at once and keeps the
  art. Art dragged onto the panel reads Shift as it is released.
- ui.symbolOptions takes keepArt for a new symbol and refuses it when
  editing a symbol.

Docs: docs/mcp.md, docs/target-app-parity.md.
2026-11-17 13:18:49 -08:00
ruchirguitar b268319320 Production Preflight: fix review issues and merge main 2026-11-18 02:48:20 +05:30
dotCooCoo ba890e4d05 Merge main into fix/cmyk-profile-paper-white 2026-11-17 13:17:29 -08:00
dotCooCoo 513b4aefaa Merge main into fix/issue-1954 2026-11-17 13:17:24 -08:00
dotCooCoo 3a64d72a64 Merge main into fix/painted-type-used-as-a-clipping-path-loses-its 2026-11-17 13:15:58 -08:00
dotCooCoo 7f92a8ec6e Merge main into fix/instance-row-effects-outline-hit 2026-11-17 13:13:10 -08:00
dotCooCoo 140f64a872 Merge main into feat/polygon-side-widget 2026-11-17 13:13:08 -08:00