Commit Graph
17504 Commits
Author SHA1 Message Date
dotCooCoo 7f3656a58d Fix build after merging main
category_fields now returns the rows that carry a description, so the
Hold Shortcut Delay test's UI closure discards the value, as the other
prefs_dialog tests do.
2026-11-16 09:19:53 -08:00
dotCooCoo 287f70ca9a Image Trace: Flat Logo keeps gray bands along black on nearly sharp edges
With #8144, an edge pixel between black and white is read as a blend of
black and white when paths of up to 5 steps reach past a gray between
them both ways. On edges blurred by 0.6 pixel, the outer pixels of a gray
band 3 or 4 pixels wide along black also met that rule: their first step
outward is white, and the path toward black crosses the band's gray. A
3 px band at that blur kept 16 of its 48 samples gray, against 46 before
#8144.

When the first step of one path already stands for its color (the edge
on that side is sharp), the other path now stops at a pixel of the gray
it comes to before getting past it. Bands 2 to 4 pixels wide blurred by
0.6 pixel keep 306 of their 432 samples gray (207 with #8144, 324 before
it). Edges blurred by 1 to 3 pixels trace as with #8144, except that a
light gray (230) blurred by 1.5 pixels leaves at most 4 slivers of up to
3 pixels beside the disc.

The band test now also runs at blurs of 0.6, 1 and 3 pixels, the spoke
test at 2 pixels, and the stroke test's ranges are the measured ones.
The docs state the distance rule as the code computes it and limit each
measured claim to the blur it was measured at.
2026-11-16 09:18:35 -08:00
dotCooCoo f5f22bd6be Export for Screens: a saved PDF preset row with no bleed and one asking for the document's write one file
Under Include Bleed, a PDF row that sets no bleed now keeps the bleed values a saved PDF preset writes out and turns on useDocument, instead of replacing the whole bleed object. Its file key then matches a row of the same preset that asks for the document's bleed, so the two rows write one PDF.
2026-11-16 09:18:23 -08:00
dotCooCoo 5ffe485da1 Links: Unembed takes ids of one image as id
links.unembed now reads `ids` of one image as `id`, and `id` with
`folder` as `ids` of that image, as the other commands that name both
keys do. `id` with `ids`, and `path` with `folder`, are refused with the
shared "give `a` or `b`, not both" error, in a replayed step too, and the
catalog rows for the old combined message are removed.
2026-11-16 09:15:37 -08:00
dotCooCoo c06e79ec81 Symbols: only a primary-button release drops a symbol on New or Delete Symbol
A secondary button released while a symbol is held over New Symbol or
Delete Symbol ends the drag without making a copy or deleting the
symbol.
2026-11-16 09:14:56 -08:00
dotCooCoo 1143546a0a Symbols: keep per-object measuring in the export walks; live walks and SVG import use the index
The export walks for type and fonts and the artboard crop shared one
SymbolBoxes for every object. A SymbolBoxes also holds measuring budgets
(effect reaches, 9-slice placements), so in a large document objects late
in a walk could be measured by estimates where main measured them exactly.
SymbolBoxes::unmeasured makes new boxes that share the name index, and each
object is measured in boxes of its own again.

- The live-object walk (render/src/live.rs) finds symbols through the
  frame's SymbolBoxes.
- SVG export's filter regions measure each object in unmeasured boxes, and
  the region boxes share the writer's index.
- SVG import keeps each imported symbol's index, so a symbol whose art
  holds instances no longer scans or indexes the list again.
- Object › Rasterize's clipping mask is left as it is on main, with
  drawn_outline_with removed.
- The symbol-read-count feature of vectorcraft-doc gives other crates'
  tests vectorcraft_doc::symbols_read. New tests check that a frame, an SVG
  export, a PDF export, the type walk and the artboard crop read the symbol
  list once among 2,000 symbols and 300 instances with drop shadows.
2026-11-16 09:07:50 -08:00
dotCooCoo be4d00c615 Symbols: a symbol dragged from another document places that document's symbol
A symbol dragged from the Symbols panel carries the document it came from. Dropped on the canvas after another document became active, it no longer places a same-named symbol of the active document: symbol.placeFromDocument adds the dragged symbol, with the symbols and resources its art uses, and places it in one undo step. A symbol with the same name, art and Symbol Options is reused; one with the same name but other art or options is added under a free name. The pointer chip shows the dragged symbol, and a symbol whose document was closed places nothing.
2026-11-16 09:04:44 -08:00
dotCooCoo 34be162513 Merge main into feat/font-menu-recently-added 2026-11-16 09:00:07 -08:00
dotCooCoo 6c7f538e76 Actions: Replace Actions puts a file's set in place of every set
The Actions panel menu has Replace Actions… after Load Actions…. It
opens an action set file and replaces every set in the panel, the
built-in Default Actions set included, with the file's set, which keeps
its name and becomes current and selected. It reads .vcactions and .aia
files as Load Actions… does, with the same limits and reports. The item
asks no question first and is off while an action records or plays.

- ui.actionSet.replace {path? | data?} runs it and returns
  {changed, set, name, actions} with Load's reports. Omitted params
  count as {}; another type or key, or a path or data that is not a
  string, is an error.
- A canceled pick, or a file that can't be read or is refused (an empty
  one too), changes nothing. Replace records no undo step.
- Replace clears what named the old sets as Reset Actions does, and the
  two share that code.

Docs: docs/mcp.md, docs/ui-parity.md, docs/target-app-parity.md.
2026-11-16 08:59:11 -08:00
FredApps e142c5fcee Merge pull request #8159 from storytold/cutover/shared-asciihex
refactor(eps): use shared ASCIIHex decoding
2026-11-16 17:58:46 +01:00
dotCooCoo 98c76c8367 Flatten Transparency: a value of the wrong type shows blank and can be typed over
A flattener option field holding a value of the wrong type showed the default preset's value, and typing that same value committed nothing, so OK kept failing. Such a field now shows blank, and every control the user sets writes its option into the dialog's fields, also when the value equals the one shown. This applies to Flatten Transparency and to EPS Options' Custom Transparency Flattener Options.
2026-11-16 08:56:25 -08:00
dotCooCoo f94e4c55ce Merge main into perf/cut-at-anchors-select-set 2026-11-16 08:55:33 -08:00
BFlat d3276cfc51 Merge pull request #8017 from dotCooCoo/feat/palette-search-index
Command Palette: a small search index ranks the best match first
2026-11-16 23:54:23 +07:00
BFlat 5a4cda6382 Merge pull request #8114 from dotCooCoo/feat/drag-into-floating-window
Arrange: a Selection drag released in another document's floating window drops the artwork there
2026-11-16 23:54:12 +07:00
BFlat 9669720367 Merge pull request #8138 from dotCooCoo/feat/live-paint-stroke-drag
Live Paint: a Bucket drag from an edge strokes every edge it crosses
2026-11-16 23:54:02 +07:00
BFlat e6ad615815 Merge pull request #8116 from dotCooCoo/fix/arc-params-reject-invalid
Shapes: invalid arc options and grid counts are errors instead of defaults
2026-11-16 23:53:53 +07:00
BFlat bf73a1450b Merge pull request #8110 from dotCooCoo/feat/place-linked-eps
Place: Link keeps a placed EPS linked to its file, as a placed PDF page already is
2026-11-16 23:53:44 +07:00
BFlat cf9262fd73 Merge pull request #8148 from dotCooCoo/fix/list-item-selected-state
UI: list rows report a selected state and section headers report an expanded state
2026-11-16 23:53:35 +07:00
BFlat c19024b6cc Merge pull request #8120 from dotCooCoo/perf/glyphs-panel-cmap-once
Glyphs: read a face's character list once instead of on every frame
2026-11-16 23:53:24 +07:00
BFlat f11272cfe1 Merge pull request #8102 from slafebre/fix/8093-pathfinder-clip-masks
Fix #8093: Pathfinder takes a clip group's members where its mask shows them
2026-11-16 23:53:15 +07:00
dotCooCoo 9a562bd0ba Font menu: a font preview leaves the Document filter's families as they were
While a font is previewed from the menu, the Document filter reads the
document as it was before the preview, so the family the previewed text
had stays listed and the rows do not move under the pointer. A pick or
an undo still lists the families again.
2026-11-16 08:46:28 -08:00
dotCooCoo c6924c2954 Ellipse: test that a Height typed and not committed does not outlast the copy 2026-11-16 08:43:14 -08:00
dotCooCoo a9b83386bf Merge main into feat/color-guide-drag-to-swatches 2026-11-16 08:39:14 -08:00
dotCooCoo 4a0b146c68 Pathfinder: the line warning names the result's shape
- The warning now says a line does not change the result's shape,
  since Unite, Intersect, Exclude and Minus Back still give the result
  the frontmost object's paint, a line's included. The rows in every
  complete-message catalog follow.
- When a closed path without area leaves the result empty beside a
  line, the error no longer names the line: the check that decides
  whether the line emptied the result now keeps closed paths among the
  other shapes and leaves out only open paths that enclose no area.
- node_path's doc comment is back on node_path.
- docs/mcp.md adds a line in front in Minus Back to the cases whose
  error names the line.
- The test adds a line in a compound path, a group of a line and a
  square selected alone, a line in front in Minus Back, and a flat
  closed path beside a line in Intersect.
2026-11-16 08:38:18 -08:00
dotCooCoo b7eff077f9 Variables: the panel builds its rows once per document version
The Variables panel built its rows on every frame while it was open: the
list's order, each variable's bound objects and object name, and each data
set's drift check, which reads the text of every bound story and the data of
every bound graph. The rows are now kept and built again only when the
document version, the list's order, Identify Objects By, the interface
language or the document's new art on a locked artboard changes. The
selection and the highlighted row are still read on every frame, and the
rows are the same as before.
2026-11-16 08:33:52 -08:00
dotCooCoo 842f81d76a Merge main into fix/export-screens-pdf-bleed 2026-11-16 08:30:35 -08:00
dotCooCoo 6c24a817f5 Merge main into feat/symbols-drag-to-new-duplicates 2026-11-16 08:29:30 -08:00
dotCooCoo 0d8fef4fd6 Merge main into feat/hold-shortcuts 2026-11-16 08:28:14 -08:00
dotCooCoo d61ba9b9f4 Merge main into feat/windows-screen-color 2026-11-16 08:27:09 -08:00
dotCooCoo eeb5bcab7c Merge main into feat/circle-through-three-points 2026-11-16 08:26:14 -08:00
dotCooCoo 40654ded92 Merge main into feat/color-wheel-box 2026-11-16 08:25:33 -08:00
Dylan M. Taylor aa5d042441 deps: synchronize PDF backend pins with shared stream codecs 2026-11-16 11:25:29 -05:00
dotCooCoo b9f7ba955c Merge main into feat/color-wheel-vision-preview 2026-11-16 08:25:24 -08:00
dotCooCoo c8c7669358 Merge main into feat/symbols-drag-to-delete 2026-11-16 08:22:36 -08:00
dotCooCoo d184f34fee Symbols: a symbol dragged onto Delete Symbol is deleted
A symbol dragged from the Symbols panel, in thumbnail view or a list
view, and released on the Delete Symbol button is deleted as a click on
the button deletes it: the dragged symbol, not the current one, goes
through the same questions, the Alt rule for an unused symbol and one
undo step. A symbol that Select All Unused picked deletes every picked
symbol still unused; a symbol outside the pick is deleted on its own.
The button is outlined while a symbol of the active document is held
over it, and a library symbol, art, a name the document no longer has or
a symbol dragged from another document is ignored.
2026-11-16 08:17:08 -08:00
dotCooCoo cfd0a8b1e4 EPS Options: Enter on Custom… opens the options without confirming them
- A dialog's Enter no longer confirms a dialog that its body opened in
  the same frame, so Enter on the focused Custom… button opens Custom
  Transparency Flattener Options instead of confirming them at once.
- With an option out of range or of the wrong type, changing another
  option in Custom Transparency Flattener Options or Flatten
  Transparency writes only that option, so the values entered stay and
  OK still refuses them.
2026-11-16 08:16:36 -08:00
dotCooCoo 5c789eb818 Merge main into feat/area-type-first-baseline-em-box 2026-11-16 08:15:17 -08:00
dotCooCoo 207939e752 Merge main into perf/task-bar-has-colors-early-exit 2026-11-16 08:15:08 -08:00
dotCooCoo dc6f1d2c69 Task bar: the Recolor check stops at the first color
The Contextual Task Bar and the Control bar check, each time they are
drawn, whether the selection holds a color that Recolor Artwork can
change. The check walked the whole subtree of each selected object even
after the first color, so with one large group selected, the check read
every paint in the group.

- Node::try_walk visits in walk's order and ends at a ControlFlow::Break.
- swatches::node_has_colors stops at the first color node_colors would
  visit; node_colors now runs the same visitor without stopping, so the
  two read the same nodes and paints in the same order.
- has_colors in the task bar uses node_has_colors.

The result is the same for every selection. On one group of 100,000
paths, the check takes 16 ns instead of 14.5 ms when the first path is
filled; when only the last path is filled, or none is, it costs about
what the full walk costs.
2026-11-16 08:14:55 -08:00
dotCooCoo 788c3172f5 Merge main into feat/ellipse-dialog-height-copies-width 2026-11-16 08:13:38 -08:00
dotCooCoo 9d93240055 Ellipse: the Height button's help page link opens at Draw ellipses 2026-11-16 08:13:36 -08:00
dotCooCoo 14cf026bcc Merge main into feat/font-menu-document-fonts-filter 2026-11-16 08:12:44 -08:00
dotCooCoo 4f750f1cd6 Font menu: a Document filter lists only the families the current document uses
A Document chip beside the star filter lists only the font families that
type in the current document is set in, as the quick filter on the font
browser overview help page describes:
https://helpx.adobe.com/illustrator/desktop/design-with-text/fonts-and-scripts/font-options-overview.html

The filter combines with search, script, kind, Variable, favorites, Recent
Fonts and Show Similar Fonts, steers the closed field's wheel, follows
edits and undo while the menu is open, and is shared by every font menu
for the session. Type in hidden, locked and masked objects, symbols,
patterns and graph designs counts; a composite font lists under its own
name; a family the document names but the computer lacks is not listed.
A document without available fonts lists nothing with its own message,
and with no document open the chip is unavailable.
2026-11-16 08:12:38 -08:00
dotCooCoo 739aa8e6ea Merge main into feat/graphic-styles-drag-to-new-duplicates 2026-11-16 08:12:34 -08:00
BFlat 94eacd67cd Merge pull request #8048 from dotCooCoo/feat/actions-reset-actions
Actions: Reset Actions restores the default set
2026-11-16 23:08:17 +07:00
BFlat 36c1f37ac6 Merge pull request #8096 from dotCooCoo/feat/packaging-check-fold-lines
Packaging Tools: Check Fold Lines finds the panels and hinges of a blank and lists what is wrong
2026-11-16 23:08:07 +07:00
dotCooCoo 9444820c96 Docs: Image Trace area row notes High Fidelity Photo in Full Tone 2026-11-16 08:08:06 -08:00
BFlat 111077d770 Merge pull request #8123 from dotCooCoo/feat/recolor-wheel-brightness
Recolor Artwork: the Edit tab's wheel can show brightness and hue
2026-11-16 23:07:57 +07:00
dotCooCoo 8b323c792a Merge main into perf/legacy-ai-gradient-names 2026-11-16 08:07:51 -08:00
BFlat fd24176ec8 Merge pull request #8127 from dotCooCoo/feat/isolate-selected-path
Isolation mode: the canvas context menu isolates one selected path
2026-11-16 23:07:46 +07:00