Commit Graph
5941 Commits
Author SHA1 Message Date
dotCooCoo c064a899fd Layers: a drag into or out of a nested Live Paint group's paths remakes the groups that hold it
A Live Paint group among another group's paths gives that group its faces
and edges. A row moved into or out of the inner group's paths now also
makes the faces and edges of every Live Paint group that holds it among
its paths again, innermost first, so the outer group no longer keeps faces
and edges from the paths as they were.
2026-11-17 13:47:14 -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 9a2e931e1c Merge main into feat/separations-alt-click-show-all 2026-11-17 13:35:50 -08:00
ruchirguitar 90b37ad269 M7/G4: retype keeps paint order, groups, transparency and font version (#4934)
An unmatched shape between glyphs ends the line, so the type after it is
still painted over it. Glyphs of different groups, paint or transparency
never share a line, and the new type takes the glyphs' own opacity and
blend mode. The type names the font version that matched. The glyph
budget holds inside a face too.
2026-11-18 03:02:33 +05:30
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 1ea1fd8556 Merge main into feat/transform-line-properties 2026-11-17 13:26:08 -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 513b4aefaa Merge main into fix/issue-1954 2026-11-17 13:17:24 -08:00
dotCooCoo 7f92a8ec6e Merge main into fix/instance-row-effects-outline-hit 2026-11-17 13:13:10 -08:00
ruchirguitar 75d9d61ce9 M7/G4: rustfmt the retype module declaration (#4934) 2026-11-18 02:36:38 +05:30
dotCooCoo d2a0bc0142 Merge main into fix/metafile-empty-artboard-first 2026-11-17 13:02:33 -08:00
dotCooCoo c9812414ce Merge main into feat/save-for-web-shift-color 2026-11-17 13:00:56 -08:00
dotCooCoo a3bdb2871f EMF/WMF: export checks the chosen artboards before turning raster effects into images
An EMF or WMF export with an empty or non-finite artboard among the
chosen ones, or with no artboard to write, turned the document's raster
effects into images before the writer refused it. The engine now checks
the artboards first with the writer's own rule
(vectorcraft_metafile::check_regions) and refuses with the same
messages, "the export region is empty" and "the document has no
artboard", without that work. Exports that go ahead write the same
bytes.
2026-11-17 12:58:21 -08:00
ruchirguitar 24a37f8ba3 M7/G4: Type › Retype, phase 1 (#4934)
type.retype turns selected outlined text back into live point text when
each glyph shape is exactly a glyph of a loaded font, a font the document
uses or a family named in fonts: the same up to uniform scale, rotation
and translation. Matched glyphs map back to characters through the cmap
and become point text in that font and size at the same baseline and
turn, one object per line, with the first glyph's fill and stroke, in one
undo step. Shapes that match no font stay and are reported.

Matching (vectorcraft_text::retype) samples each contour at equal steps of
arc length and fits a similarity transform; it is bounded (faces, glyphs,
path elements, contours) and panic-free. Near matches, the ranked font
list, installed fonts not yet loaded and images are phase 2.
2026-11-18 02:20:06 +05:30
dotCooCoo c9d3080b75 Merge main into feat/layers-drag-into-live-paint 2026-11-17 12:48:03 -08:00
dotCooCoo 88b5da22bc DXF: Use Artboards applies live effects once for all the drawings
DXF export with Use Artboards baked the whole document's live effects
and placed symbol art again for every artboard. export_drawings now
checks the options and every region, bakes once, and writes each
drawing from the same baked document. export calls it with one drawing,
and the encoder makes one call for all the chosen artboards. Each
drawing's bytes, linked images, warnings and setting notes are the same
as before; the tests compare them with drawings baked one at a time.
2026-11-17 12:46:29 -08:00
dotCooCoo 464bfe36da Layers: a path dragged into a Live Paint group keeps the group's identity and paint
A dropped path named "Live Paint Sources" that lands in front of the
group's sources group made the group stop counting as a Live Paint group,
so the drop failed. The group's own sources group now goes back in front
before the paths are added.

A dropped path named "Face" or "Edge" was read as one of the group's
faces or edges and its paint overwrote the generated part's paint. The
joining paths are now left out of the old parts.
2026-11-17 12:45:34 -08:00
dotCooCoo 59fbf8bbe6 Merge main into feat/interpolate-control-points 2026-11-17 12:42:20 -08:00
dotCooCoo 8920f81410 Merge main into feat/3d-graphics-extrude-side 2026-11-17 12:41:57 -08:00
dotCooCoo 11d60e156b Merge main into feat/background-save-progress 2026-11-17 12:38:21 -08:00
dotCooCoo 7c20eb3b5e Merge main into feat/object-mosaic-dialog 2026-11-17 12:37:29 -08:00
dotCooCoo f1ef00c844 Merge main into feat/find-replace-dialog 2026-11-17 12:34:34 -08:00
dotCooCoo 9344305559 Shear: an Angle axis shears along a line at a custom angle
The Shear dialog's Axis now has Angle beside Horizontal and Vertical, with
an Axis Angle field (0 degrees when the dialog opens) that takes input
while Angle is chosen and keeps its value otherwise. object.shear takes a
numeric axis from -359 to 359 degrees, a line on the page measured
counter-clockwise from horizontal, as object.reflect's numeric axis is; the
shear angle stays a separate value. 0 shears as horizontal and 90 as
vertical. An angle outside the range, a number written as a string, or any
other value is an error naming it, and nothing changes.

Behavior reference: https://helpx.adobe.com/illustrator/desktop/manage-objects/reshape-transform-objects/shear-objects.html
describes the angled axis and its range. The counter-clockwise direction
and the 0 degree start are VectorCraft's own.

Docs: docs/mcp.md, docs/target-app-parity.md. Catalogs: an "Axis Angle"
row in every language.
2026-11-17 12:30:40 -08:00
dotCooCoo 40b298277a Merge main into feat/layers-locate-layer 2026-11-17 12:29:29 -08:00
dotCooCoo bc56d2b49b Merge main into perf/layer-select-all-one-pass 2026-11-17 12:26:57 -08:00
BFlat ee60c51fd9 Merge pull request #8323 from dotCooCoo/fix/psd-cmyk-placement
Fix #8316: preserve CMYK PSD images when placed or relinked
2026-11-18 03:23:55 +07:00
BFlat 1f84febb08 Merge pull request #8169 from dotCooCoo/fix/symbol-lookup-index
Symbols: render and SVG/PDF export find each instance's symbol in one index
2026-11-18 03:23:44 +07:00
BFlat aab753f4f2 Merge pull request #7819 from dotCooCoo/feat/textures-map-art-and-shading
Export 3D Object: mapped graphics export as textures of their faces
2026-11-18 03:23:34 +07:00
dotCooCoo 54e8d3046e Save for Web: Delete Color removes colors from the color table
The color table's trash button and Delete Color in its new menu delete
the selected GIF or PNG-8 colors. Pixels that used a deleted color take
the nearest color left, with the current reduction's color distance and
dither, and the preview matches the saved file. A click selects one
color and makes it the anchor, Shift-click selects the range from the
anchor, and Ctrl-click (Command-click on macOS) adds or removes one.

- colorTable.deleted lists the deleted colors by source. A deleted color
  leaves the locked, transparent and webShift lists.
- colorTable.customPalette fixes the palette at the first deletion, so a
  deleted color is not made again; the table reads Custom. Restore
  Generated Table in the menu, or another reduction, clears both.
- Deleting every opaque color, or every color not mapped to transparent,
  is an error and changes nothing.
- Presets and the remembered settings keep the edit.
- quantize_to uses all 256 fixed colors when no pixel is transparent.

Docs: docs/mcp.md, docs/target-app-parity.md.
2026-11-17 12:23:26 -08:00
BFlat 521e5ac158 Merge pull request #8258 from dotCooCoo/feat/type-forced-line-break
Type: Forced Line Break inserts a line break in the paragraph, at the caret
2026-11-18 03:23:16 +07:00
BFlat 0d8315801f Merge pull request #8207 from dotCooCoo/fix/issue-8090
Fix #8090: the Eyedropper samples into picked gradient mesh points
2026-11-18 03:23:07 +07:00
BFlat 7429d7247f Merge pull request #8265 from dotCooCoo/feat/live-paint-isolation-adds-paths
Live Paint: paths drawn in an isolated Live Paint group join it when isolation ends
2026-11-18 03:22:58 +07:00
BFlat a18fef053f Merge pull request #8288 from dotCooCoo/fix/metafile-loss-warnings
Metafile import: warn about images, clips and raster operations the reader leaves out
2026-11-18 03:22:29 +07:00
BFlat d55a967dde Merge pull request #8157 from dotCooCoo/fix/hfp-full-tone
Image Trace: High Fidelity Photo traces in Full Tone with abutting shapes
2026-11-18 03:22:09 +07:00
BFlat 3ab5db4c64 Merge pull request #8092 from dotCooCoo/fix/issue-8047-group-marquee
Group Selection: a marquee selects the objects it touches, whole
2026-11-18 03:20:42 +07:00
dotCooCoo c0077d1b89 Merge main into fix/metafile-empty-artboard-first 2026-11-17 12:20:23 -08:00
BFlat 0d681e804d Merge pull request #8339 from dotCooCoo/fix/bounds-reference-number
Fix #8334: setBounds reads whole-number float references correctly
2026-11-18 03:20:23 +07:00
BFlat 40f1080a86 Merge pull request #8215 from dotCooCoo/fix/trim-line-end-on-curve
Path Precision Tools: a path that ends on a curve still divides it after the curve is cut
2026-11-18 03:20:13 +07:00
BFlat a3a3f2dfec Merge pull request #8108 from dotCooCoo/feat/spiral-constrain-angle
Spiral: dragging turns the spiral to the pointer, and the click dialog starts it along Constrain Angle
2026-11-18 03:20:05 +07:00
BFlat 409b8ce9d1 Merge pull request #8058 from dotCooCoo/perf/selection-batch-toggle
Selection: select.toggle and select.add with many ids go through the selection once
2026-11-18 03:19:52 +07:00
dotCooCoo 4a60b78b5c Actions: action.batch errors count steps from 1 and name the member they reject
action.batch refused a bad step before any file opened as `commands[i]`,
counted from 0, while a step that failed as it ran was named
`action step N (`id`)`, counted from 1. A step whose params its command
refused gave only the command's own error, without saying which step it
was.

- The checks before the batch (no command, an unknown command, a nested
  batch, prefs.import) now name the step as `action step N (`id`) failed:`,
  from 1, as the runtime errors do. A long unknown id is cut short in the
  message, as an unknown key is.
- The parameter check names the action.batch step whose params it
  refuses the same way. command.batch keeps passing the step's error on
  as it is.
- Override Open matches only document.open, and Override Save only
  document.save and file.saveAs: file.open, file.save and document.close
  are not engine commands, and a step with one is refused as unknown.
  The params text no longer lists them, and docs/mcp.md says a step with
  file.open or file.save is refused as an unknown command.
2026-11-17 12:09:17 -08:00
dotCooCoo 12f7e34f21 Messages: a success token, and the docs state the plug-in and rollback rules
- The success level takes a new `success` theme token (the same green)
  instead of the 3D axis color.
- docs/mcp.md names the plug-in conditions for `vc_call`, says no step is
  recorded while a drag or typing is in progress, says a failed script run
  keeps the messages it raised, and names the headless MCP server and
  `vectorcraft-cli run` as the sessions without a window. Lines wrap like
  the rest of the file.
- The params text and the error say "whitespace", which is what the check
  rejects.
- A new test runs a script that draws, raises a message and throws: the
  drawing is put back and the message is kept.
- The long-message test also checks that the stack stays inside the
  window.
- The evidence line in docs/target-app-parity.md moves after the Scripts
  entries.
2026-11-17 12:06:08 -08:00
ruchirguitar d6ff2f54ce Production Preflight: add output checks and repair panel 2026-11-18 01:35:12 +05:30
dotCooCoo 6252d4b29e Pencil: path.freehand refuses connect without extend
path.freehand ignored a connect given without extend and drew a new
path. It now refuses it with "connect needs extend". A connect given
with extend is checked (its id, a path other than the one extended
with an open end, and an end of "start" or "end") before a stroke of
one point returns, so a bad connect is refused there too, and
brush.freehand no longer changes the path's brush or the selection
before refusing it. A null connect is still a key left out.

Docs: params text, docs/mcp.md, docs/target-app-parity.md. i18n: the
new message in the catalogs that carry the other connect messages.
2026-11-17 11:56:49 -08:00
dotCooCoo 0febd204d7 EMF/WMF: Use Artboards applies live effects once for all artboards
An EMF or WMF export with Use Artboards applied the document's live
effects (geometry effects, and symbol art with effects) once for each
chosen artboard. vectorcraft_metafile::export_regions now checks every
region, applies the effects once and writes one metafile per region.
export is its one-region case, and the engine's encode calls
export_regions once for all chosen artboards. Each file's bytes and
warnings are unchanged.
2026-11-17 11:56:35 -08:00
dotCooCoo 3919a1a5df Symbols: Shift with Redefine Symbol keeps the art as ordinary art
Redefine Symbol chosen from the Symbols panel menu with Shift held now
updates the symbol and its instances from the selected art and leaves
that art as ordinary art, as the Edit symbols help page describes
(https://helpx.adobe.com/illustrator/desktop/manage-objects/traces-mockups-symbols/edit-symbols.html).
Without Shift the art still becomes an instance.

- symbol.update takes keepArt (default false). With true the art keeps
  its ids, layer and stacking position and stays selected, apart from
  art that is hidden or locked, and the result's id is null. A keepArt
  that is not true or false is an error.
- Redefining the symbol being edited with keepArt still leaves symbol
  editing mode in the same undo step.

Docs: docs/mcp.md, docs/target-app-parity.md.
2026-11-17 11:51:44 -08:00