Commit Graph
18594 Commits
Author SHA1 Message Date
dotCooCoo af23d7fed1 Preferences: Appearance of Black settings show a sentence on hover and focus
The line under the Preferences fields now shows a sentence for On Screen
and for Printing / Exporting when the pointer is over the row or its
menu 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.

The sentences state what VectorCraft does today: Rich Black shows pure
CMYK black (black ink alone at 100%) as RGB black on the canvas, and in
RGB raster exports and Print as Bitmap; vector exports, CMYK JPEG and
TIFF, and other printing do not change.

Tests: the one-sentence test covers the Appearance of Black category, and
new tests check the hover and keyboard-focus sentences of both rows.
2026-11-17 16:39:21 -08:00
dotCooCoo f2f33b3a32 Width Point Edit: either half finds its pair as the engine pairs it
The dialog paired the points within 1e-6 of the opened point, so with
three points each that close to the next it paired the opened point
with a different neighbor than stroke.widthPoint.set accepts, and OK
failed. It now pairs a point with the next one when they are the only
points within 1e-6 of the first one's place, as the engine does, so
either half opens the same pair.
2026-11-17 16:33:11 -08:00
dotCooCoo 507a864c29 Rerun CI 2026-11-17 16:32:22 -08:00
dotCooCoo afcf8b6f78 Rerun CI 2026-11-17 16:32:15 -08:00
dotCooCoo 03c8a4ba1b Rerun CI 2026-11-17 16:32:04 -08:00
dotCooCoo 2829343e00 Rerun CI 2026-11-17 16:32:03 -08:00
dotCooCoo 5ed88cecc9 Rerun CI 2026-11-17 16:31:55 -08:00
dotCooCoo 8dabfbabab Rerun CI 2026-11-17 16:31:45 -08:00
dotCooCoo e7428b7cd3 Rerun CI 2026-11-17 16:31:44 -08:00
dotCooCoo 579b8a0316 Rerun CI 2026-11-17 16:31:36 -08:00
dotCooCoo 92020b43bc Rerun CI 2026-11-17 16:31:34 -08:00
dotCooCoo 52c696379c Rerun CI 2026-11-17 16:31:28 -08:00
dotCooCoo abc0ec208b Rerun CI 2026-11-17 16:31:23 -08:00
dotCooCoo fd26667fbf Rerun CI 2026-11-17 16:31:16 -08:00
dotCooCoo b4404cceb0 Rerun CI 2026-11-17 16:31:15 -08:00
dotCooCoo fa817f9b28 Rerun CI 2026-11-17 16:31:00 -08:00
dotCooCoo 0d3249e44e Rerun CI 2026-11-17 16:30:58 -08:00
dotCooCoo b192b589ca Rerun CI 2026-11-17 16:30:53 -08:00
dotCooCoo 8842a9d6ea Rerun CI 2026-11-17 16:30:43 -08:00
dotCooCoo f8c510f6f1 Rerun CI 2026-11-17 16:30:41 -08:00
dotCooCoo d0de758155 Rerun CI 2026-11-17 16:30:39 -08:00
dotCooCoo be920daf04 Rerun CI 2026-11-17 16:30:37 -08:00
dotCooCoo ed0a241b7d Brushes: Make bristle strokes follow recorded pen pose 2026-11-17 16:27:47 -08:00
dotCooCoo 1328d4a7aa Reflect tool: Escape during a drag from the first point drops the axis
Escape canceled a drag that drew the axis from its first point but kept
that first point waiting, so the next click reflected the selection.
Escape now drops the axis along with the drag.
2026-11-17 16:26:36 -08:00
dotCooCoo 20201c98e9 Merge main into feat/swatch-options-gamut-warnings 2026-11-17 16:26:12 -08:00
dotCooCoo 771e190c9a Merge main into feat/shear-angle-axis 2026-11-17 16:25:50 -08:00
dotCooCoo dc30166813 Merge main into feat/save-for-web-delete-color 2026-11-17 16:25:37 -08:00
dotCooCoo fc294d56b6 Transform panel: the Shear field takes -359 to 359 and shows the error for an angle Shear refuses
The Shear field stopped at -89 and dropped any value of 90 or more without a word.
It now sends every typed, stepped or picked value to `object.shear`, which shears by
the tangent of an angle from -359 to 359. For ±90, ±270 and an angle outside that
range the status bar shows the command's error; the art is unchanged and no undo step
is recorded.
2026-11-17 16:25:32 -08:00
dotCooCoo de501d73f2 PDF export: Patch::apply finds where each object moved with a binary search
Patch::apply wrote each cross-reference entry by walking every edit, so a
pass with many edits took time in proportion to objects times edits. It
now keeps the running total of the length changes and finds, by binary
search over the edits' ends, how far each object moved. For every edit
set that apply still accepts, the written file is byte for byte the same.

An offset that no longer fits the ten digits of a cross-reference entry
(ISO 32000-1, 7.5.4) is now refused with an error instead of writing an
eleven-digit entry that breaks the table. A change in length too large
for an isize is refused with an error instead of wrapping.
2026-11-17 16:24:59 -08:00
dotCooCoo 18ee377382 Recolor Artwork: ui.recolorUndo and ui.recolorRedo preview the step at once
The commands restored the dialog's fields, but the art kept showing the
previous recolor until the next frame drew the dialog. They now run the
dialog's preview for the step they went to, with Find and Preview as
the dialog has them. A command that finds no step leaves the art and
the preview as they are.
2026-11-17 16:23:38 -08:00
dotCooCoo 336cde15fe Merge main into fix/action-batch-step-numbers 2026-11-17 16:21:50 -08:00
dotCooCoo 7083061f11 Merge main into perf/shape-builder-hatch-sweep 2026-11-17 16:21:48 -08:00
dotCooCoo b8fcb2e38f PDF 1.3: flattened rasters keep no alpha whatever the flattener options
A PDF 1.3 save with `flattener.preserveAlpha: true` failed on transparent
art that the flattener rasterized: the rasters kept their alpha as soft
masks, and the writer refuses soft masks in a PDF 1.3 file. The writer
now turns Preserve Alpha Transparency off, as it already turns Clip
Complex Regions on.

Custom Transparency Flattener Options shows Preserve Alpha Transparency
off and locked, as the save writes it, and its OK stores the preset's
value.
2026-11-17 16:20:45 -08:00
dotCooCoo b16e5f633e Docs: SVG export's single type layout is for its writers
The progress line now says that the writers share one layout of each
type object, and that the check for glyphs hanging outside a path's
brackets and the advances a reader gives live text can still lay out
a changed copy.
2026-11-17 16:15:56 -08:00
dotCooCoo 2fa56b60e8 Reflect tool: Escape during the second click also cancels that click
Escape dropped a Reflect axis waiting for its second point but kept the
press of a click not yet released, so the release set a new first point
and the click after it reflected the selection. Escape now ends that
press too, and the release sets no point.
2026-11-17 16:15:50 -08:00
dotCooCoo ced7bccc90 i18n: drop the Georgian PSD rows that main already has
main's ka.tsv already carries the PSD Import Options labels and the PSD
layer and slice messages, so the branch's 22 copies of them are removed
and main's rows are kept.
2026-11-17 16:11:33 -08:00
dotCooCoo f516d74fcd Place: a file read in the background goes into the layer it was placed in
File › Place and a file dropped on the canvas read the file off the UI
thread, and the file was then placed wherever new art went when the read
ended. When the user made another layer current, isolated a group or
selected an object in another layer while a large file was read, the file
went into that layer or group.

The file now goes into the layer or isolated group that was current at
the dialog's OK or the drop, as a bitmap pasted from another app already
does, and the layer or isolation the user changed meanwhile stays as the
user left it.

When that layer or group is deleted, hidden or locked while the file is
read or the bitmap is decoded, the placed file or the pasted bitmap goes
where new art goes at that point, not into the topmost layer. A paste in
Draw Inside still goes inside the object it draws into while that object
can be edited.
2026-11-17 16:06:36 -08:00
dotCooCoo 5e0496cd2e 3D and Materials: the Export 3D Object button's state is worked out once per document revision
The 3D and Materials panel checked on every frame whether a selected object has a 3D effect that Export 3D Object exports, looking up each selected object's parent and the node twice. With a plain selection of 200,000 paths that scan ran in full on every frame, about 60 ms of thread CPU time. The state is now kept in the canvas cache for the document's uid and revision, beside the other per-revision panel states, and the button shows the same state.
2026-11-17 16:05:31 -08:00
dotCooCoo c580548ef2 Symbols: find selected symbol instances once per document revision
The Properties panel's Reset quick action and the Symbols panel's Break
Link to Symbol each walked the selected subtrees on every repaint,
reading each one in full until one held an instance, to learn whether
the selection holds a symbol instance. One walk per document revision
now records the instances and whether one has appearance changes of
its own, and later frames reuse it. Whether Reset Transformation would
change an instance is worked out from those instances on the first
request and kept with them.

The buttons and menu items are enabled exactly as before. With one
selected group of 300,000 paths, the two panels' reads took a median
5.1 to 5.7 ms of thread CPU time per repaint; the first read after a
change now takes about 3 ms and later repaints about 5 ns.
2026-11-17 15:59:15 -08:00
dotCooCoo 9ed14dd264 Color Themes: Show Find Field lists My Themes by theme name
On the My Themes tab, the panel menu has a checked Show Find Field item
that shows a Find field above the list. The list then shows only the
saved themes whose names hold the field's text, anywhere and in any
letter case, in their saved order; colors are not searched, and a
search with no result shows "No matches.". A picked theme the field
hides stays picked, but Edit Theme, Add to Swatches and Delete Theme
are off until the list shows it again. The field is off in a new
session and does not change the saved themes or colorTheme.list.

The help page describes searching saved themes by name this way:
https://web.archive.org/web/20210601162814/https://helpx.adobe.com/pdf/illustrator_reference.pdf#page=255
2026-11-17 15:58:21 -08:00
dotCooCoo b029a20c2b Blend: selected blends, envelopes and meshes are found along one path per object
The Blend panel, the Object › Blend, Envelope Distort and Gradient Mesh
menu items and their commands looked up every ancestor of each selected
object by id to find its nearest blend, envelope or mesh, and dropped
repeats with a linear scan. They now read the object's cached place in
the tree once, test the nodes on that path, and keep a set of the ones
already listed. The checks of whether one is selected stop at the first
selected object that has one. An id that the lookup cache does not
place on that path (a repeated id, or a cache older than the tree) is
still looked up by id, so the results, their order and the errors are
the same. Explicit ids given to the live commands drop nested ones with
a set as well.

With Select All of 102,200 objects (100,000 rectangles, 2,000 blends and
200 envelopes), a release build took a median of 16.5 ms of thread CPU
time for the Blend check before and 0.5 ms after.
2026-11-17 15:58:02 -08:00
dotCooCoo b4d5d192ba Shear: angles from -359 to 359 shear by their own tangent instead of stopping at 89
object.shear clamped its angle to -89..89 without an error, so any angle
past 89 sheared by 89. It now takes the Shear dialog's documented range
of -359 to 359 degrees and shears by the angle's tangent, so 120 slants
as -60. An angle outside that range, and +-90 and +-270 (within 1e-9
degrees), where the tangent is unbounded, return an error naming
`angle`; nothing moves and no undo step is recorded.

Docs: params text, docs/mcp.md, docs/target-app-parity.md.
2026-11-17 15:57:45 -08:00
dotCooCoo 8dcedfce3a Merge main into fix/i18n-psd-import-options-and-slices 2026-11-17 15:53:37 -08:00
dotCooCoo 6253a6eff1 Recolor Artwork: weights set before the art is read do not make Undo Changes available
When the art's reduction runs on the dialog's first frame or command,
it drops the Prominent Colors weights along with replacing the rows,
so weights set before then make no step. The availability check now
leaves out both, as ui.recolorUndo does.

The docs say that fields set with ui.dialog.set become a step at the
next frame with the pointer up, so they group across frames drawn while
the pointer is down, and the progress line names the new tests.
2026-11-17 15:52:57 -08:00
dotCooCoo 21d16d79c7 Preferences: Clipboard Handling settings show a sentence on hover and focus
The line under the Preferences fields now shows a sentence for each of
the 5 Clipboard Handling settings, from Include SVG Code to When pasting
text, 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.

The sentences state what VectorCraft does today: the PDF checkbox puts a
PDF on the system clipboard on Windows only, and both legacy vector
clipboard settings are stored but not used yet.

Tests: the one-sentence test covers the Clipboard Handling category, and
new tests check the hover and keyboard-focus sentences of all five rows.
2026-11-17 15:52:25 -08:00
dotCooCoo 8cc5f194c8 Color Themes: Set Active Color paints selected characters as a swatch click does
With characters selected with the Type tool, the button colors only those
characters and leaves the default for new art as it was, as a Color panel
or Swatches click does through the same paint.setFill and paint.setStroke
path. The code comment and the docs/target-app-parity.md line now say so,
and a test compares the button with paint.setFill on a selected range.
2026-11-17 15:50:52 -08:00
dotCooCoo 70e10dd553 Width Point Edit: a discontinuous point shows and edits both sets of side widths
Opening Width Point Edit on either half of a discontinuous width point
now shows the Incoming and Outgoing side widths, each with Side 1,
Side 2, Total Width and its own link. OK sets both halves in one
stroke.widthPoint.set and one undo step, and Delete removes both.
Single Width Only keeps the incoming or the outgoing widths as one
continuous point. A continuous point keeps the one-set layout.

stroke.widthPoint.set takes outIndex, outLeft, outRight and single for
this. With adjustAdjoining, the nearest point before follows the
incoming change and the nearest point after follows the outgoing
change, once each. Indices that are not the two halves of one
discontinuous point, another t, or another single value are refused
without changing the document or its history.

Help page: https://helpx.adobe.com/illustrator/using/stroke-object.html
describes editing the widths on each side of a discontinuous point in
this dialog. The group labels, the adjoining rule and Delete removing
both halves are VectorCraft's own.
2026-11-17 15:44:09 -08:00
dotCooCoo ad5db819be Merge main into fix/issue-7849 2026-11-17 15:41:34 -08:00
dotCooCoo 1aef05110b SVG export: type is laid out once for its live, on-path, outline and character-stroke writers
SVG export lays out each type object once and hands that layout to the
writer for live text, type on a path, outlines and inside or outside
character strokes, where each of them laid the same type out again.
Type on a path, bidirectional type and type that falls back to
outlines go from two layouts to one; inside or outside character
strokes and the object's own fills go from up to four to one. The
outline and character-stroke writers also group glyphs by run in one
pass instead of filtering every glyph for each run. The written SVG,
warnings and notes are unchanged.

A test compares the export with each writer laying the type out on
its own over 17 kinds of type and checks the layout counts; an ignored
test times a large document.
2026-11-17 15:37:54 -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