Commit Graph
4883 Commits
Author SHA1 Message Date
BFlat 89ebbd754a Merge pull request #7898 from dotCooCoo/fix/live-paint-strokeedge-through-edges
Live Paint: livePaint.strokeEdge refuses a through id that is not one of the group's edges
2026-11-16 06:56:07 +07:00
BFlat 75dc7dcd20 Merge pull request #7964 from dotCooCoo/feat/ellipse-anchor-count
Ellipse: the click dialog sets how many anchors the ellipse has
2026-11-16 06:55:58 +07:00
BFlat 47dd56afbb Merge pull request #7962 from dotCooCoo/feat/symbol-align-to-pixel-grid
Symbols: Symbol Options › Align to Pixel Grid keeps a symbol's instances on the pixel grid
2026-11-16 06:55:41 +07:00
BFlat bf7fefd89e Merge pull request #7954 from dotCooCoo/feat/file-info-templates
File Info: the menu saves, imports and lists metadata templates
2026-11-16 06:55:33 +07:00
BFlat 6a3c9cfc8b Merge pull request #7957 from dotCooCoo/feat/eraser-alt-drag-marquee
Eraser: an Alt-drag erases everything inside a marquee, a square with Shift
2026-11-16 06:55:17 +07:00
BFlat b7a1428325 Merge pull request #7935 from dotCooCoo/fix/psd-relink-clip
Links: relinking a clipped PSD follows the new file's clipping path
2026-11-16 06:54:59 +07:00
BFlat 009ba234d7 Merge pull request #7958 from dotCooCoo/fix/recolor-randomize-skips-empty-rows
Recolor Artwork: Randomize leaves rows with no current colors out
2026-11-16 06:54:48 +07:00
BFlat ad94d5dd7a Merge pull request #7967 from dotCooCoo/fix/svg-artboard-export-keeps-brushed-path
SVG: an artboard's SVG keeps a brushed path whose brush art reaches it
2026-11-16 06:54:29 +07:00
dotCooCoo 32fe097db5 Recolor Artwork: recolor.randomize params text parses as a params object
The note on which rows keep their new color now sits in the map key's
description, so tests::params::every_description_parses reads the text.
2026-11-15 13:36:30 -08:00
BFlat aeeb4e8b1c Merge pull request #7895 from dotCooCoo/fix/pasted-pie-labels-follow-merged-swatch
Paste: legend labels in a pie's wedges follow wedges that take the document's swatch
2026-11-16 04:31:18 +07:00
BFlat 910b79119b Merge pull request #7368 from dotCooCoo/fix/graph-design-art-paint
Graphs: paint, stroke and transparency commands leave a design's art in a series out
2026-11-16 04:30:58 +07:00
BFlat 8920f24351 Merge pull request #7920 from dotCooCoo/fix/smooth-corners-dense-paths
Smooth tool: keep corners on a path cut into very many short segments
2026-11-16 04:30:41 +07:00
BFlat c12053dc55 Merge pull request #7936 from dotCooCoo/fix/tsume-vertical-type-and-blank-glyphs
Type: Tsume applies in vertical type and to color glyphs
2026-11-16 04:30:25 +07:00
BFlat d87cc85a90 Merge pull request #7917 from dotCooCoo/fix/pdf-trim-artboards-keep-bleed
Import PDF: artboards on trim boxes keep the bleed between them
2026-11-16 04:29:59 +07:00
BFlat 9d62155ba4 Merge pull request #7868 from dotCooCoo/fix/trace-noise-nearest-color
Image Trace: Noise merges a dark speck into the line beside it, not the ground
2026-11-16 04:29:50 +07:00
BFlat deabf9dab1 Merge pull request #7888 from dotCooCoo/fix/place-cursor-asks-encrypted-pdf-password
Place: the place cursor keeps an encrypted PDF and asks for its password
2026-11-16 04:29:39 +07:00
BFlat 087246a785 Merge pull request #7896 from dotCooCoo/fix/svg-image-check-follows-writer
MCP: confined SVG output checks the linked images the file draws
2026-11-16 04:29:28 +07:00
BFlat 6998fedc80 Merge pull request #7864 from dotCooCoo/feat/variables-import-entry
Variables: Import… in the panel menu reads a CSV or an XML data source
2026-11-16 04:29:11 +07:00
BFlat 58cb42509e Merge pull request #7805 from dotCooCoo/fix/an-image-whose-recode-fails-is-written-without
PDF export: an image whose colors can't be converted is left out with a warning
2026-11-16 04:28:53 +07:00
BFlat 628f43ce85 Merge pull request #7945 from dotCooCoo/feat/gradient-end-handle-length
Gradient tool: dragging the end handle changes only the length, Alt-drag the length and angle
2026-11-16 04:28:45 +07:00
BFlat f8eeaaca41 Merge pull request #7893 from dotCooCoo/fix/psd-v6-record-id-16
PSD: a version 6 slice record whose ID is 16 is read as a slice
2026-11-16 04:28:11 +07:00
BFlat 49be7e919a Merge pull request #7939 from dotCooCoo/fix/flatten-staggered-boxes-sweep-order
Flatten: boxes staggered right and up meet only the box before in the grouping sweep
2026-11-16 04:27:32 +07:00
dotCooCoo 3a84466917 Symbols: Symbol Options › Align to Pixel Grid keeps a symbol's instances on the pixel grid
symbol.new and symbol.options take alignToPixelGrid (off by default),
symbol.list rows report it, and the New Symbol and Symbol Options dialogs
show the checkbox. When it is on, the horizontal and vertical straight
segments of the paths in the symbol's art, opacity mask art included,
snap to whole points (half points for an odd centered stroke) at the
symbol's natural size, and its stroke weights become whole points. Each
instance placed at that size, reflected across one axis or not, moves to
whole points and goes back to them after every move. A scaled, rotated or
sheared instance, and an instance in another symbol's art, stays where it
is. In symbol editing mode the stored art and the editing layer snap
after each edit.

Duplicate Symbol, rename, copy and paste and symbol libraries keep the
setting, and Delete Symbol removes it.

Docs: docs/mcp.md, docs/ui-parity.md.
2026-11-15 12:25:35 -08:00
dotCooCoo 02f8e55c5c Merge main into feat/file-info-templates 2026-11-15 12:21:52 -08:00
dotCooCoo e45b36f5aa Merge main into fix/svg-artboard-export-keeps-brushed-path 2026-11-15 12:20:35 -08:00
dotCooCoo 9c5eac0d17 SVG: an artboard's SVG keeps a brushed path whose brush art reaches it
An SVG or SVGZ of a chosen artboard left out a brushed path lying just
off the artboard even when its brush art painted onto it, as the
artboard filter measured the path without room for its brush art. The
filter now leaves the room PDF and EPS export leave
(vectorcraft_brush::reach_within): none for a brushed stroke without a
paint, only the clipping path's for a clip group, and only a compound
path's own strokes.
2026-11-15 12:19:17 -08:00
dotCooCoo 24c0f89ff9 Part of #7840: the Ellipse dialog sets how many anchors the ellipse has
A click with the Ellipse tool opens a dialog with a new Anchors field
under Height, 4 by default. With 4, OK draws the same live ellipse as
before. Any other count from 2 to 1000 draws a closed plain path with
that many smooth anchors spaced evenly by angle, from the left one and
clockwise, with handles of 4/3*tan(theta/4) scaled along each axis and
the path fitted to the typed width and height. The dialog sends the
nearest whole number from 2 to 1000 (4 for an empty field or text that
is not a number). The count confirmed last is kept as the Ellipse
tool's anchors option, and the next Ellipse dialog opens on it.

shape.ellipse takes an optional anchors param (default 4). A number
that is not a whole number from 2 to 1000 gets one error naming that
range, a value that is not a number gets the usual type error, and
nothing is drawn. The MCP draw_shape tool lists anchors for ellipses.

Docs: params text, docs/mcp.md, docs/target-app-parity.md (Shapes).
2026-11-15 12:16:26 -08:00
dotCooCoo 6c74a77a6d Eraser: an Alt-drag erases everything inside a marquee, a square with Shift
With Alt held at the press, an Eraser drag draws a marquee from the press
point to the pointer instead of a stroke, and the release erases everything
inside it. Alt+Shift keeps the marquee square on its larger side, Escape
cancels it, and a click or a drag along one axis erases nothing.

path.eraseRegion takes {rect: [x, y, width, height]} in place of points.
Closed paths lose the rectangle's area; open paths are cut where they cross
its edges, found from the exact crossings, so a narrow rectangle across a
long segment still cuts it. A width or height of 0 or less, a non-finite
value, or points and rect together is an error, and nothing erased adds no
undo step.

Docs: docs/mcp.md, docs/ui-parity.md.
2026-11-15 12:13:13 -08:00
FredApps 33b5706c7a Merge pull request #7664 from storytold/fix/restore-codec-cutover-ci
Restore shared codec cutover with CI compatibility fixes
2026-11-15 21:05:52 +01:00
dotCooCoo 3fbf957fe3 Recolor Artwork: Randomize leaves rows with no current colors out
A New Row row has no current colors and recolors nothing, but
recolor.randomize shuffled its new color with the other rows', so an art
row's color could move onto the empty row and leave the art. Randomize
now shuffles and varies only the rows that hold current colors and are
not excluded; an empty row keeps its new color.

docs/mcp.md says so, and says to Shift-click a row below the new row
before Merge, since Merge keeps the topmost selected row's new color.
2026-11-15 12:01:47 -08:00
dotCooCoo 4b636ea642 File Info: a template name that is not a file name is refused
file.info.applyTemplate with a name such as a/b no longer opens the template its safe file name names (a-b.xmp): a name that matches no listed template and is not a file name as it is gives an error. docs/mcp.md cites the help page that describes metadata templates.
2026-11-15 11:51:16 -08:00
dotCooCoo d05923aa34 Gradient tool: dragging the end handle changes only the length, Alt-drag the length and angle
A plain drag of the annotator's end handle now slides the end along the
bar's line, at least 10 px from the start, and snaps only to targets on
that line. Alt-drag moves the end freely, changing the length and angle
together, with Shift at Constrain Angle steps. A vector of no length
still moves freely.

Docs: docs/mcp.md, docs/ui-parity.md.
2026-11-15 11:34:56 -08:00
dotCooCoo 329aebc68c Merge main into feat/file-info-templates 2026-11-15 11:06:12 -08:00
dotCooCoo a670cd1102 File Info: metadata templates save, import and list from the File Info menu
File Info's menu saves the fields as an XMP metadata template (into the
Metadata Templates folder next to the preferences, or any file), imports
one with a choice of three merges, lists the saved templates and opens
the folder. The import is one undo step and records nothing when no
field changes.

- file.info.saveTemplate writes the title (when it is not the
  document's name), author, author title, description, keywords,
  rating, copyright status, notice and URL that have a value.
- file.info.applyTemplate reads a file, a saved template or XMP text
  (at most 8 MB) and merges it: replace clears the fields first, keep
  takes each field the template has, append adds keywords and fills
  only empty fields. apply: false returns the merged fields without
  changing the document.
- file.info.templates lists the folder's .xmp files.
- A PDF or .ai also opens with the rating and author title its XMP
  packet gives.

Docs: docs/mcp.md, docs/target-app-parity.md.
2026-11-15 11:05:55 -08:00
dotCooCoo cbe83c89a7 Links: relinking a clipped PSD follows the new file's clipping path
links.relink and links.update kept a PSD or PSB file's clip group as it
was, so an image relinked to a file with another clipping path, or with
none, stayed clipped to the old file's path, and a plain image relinked
to a clipped PSD came in unclipped.

- The PNG a PSD or PSB file's merged image is kept as now carries the
  clipping path the file names in a text chunk, and RasterImage.clip
  holds it with its fill rule (even-odd), as it holds a DCS file's
  (nonzero).
- links.relink and links.update read that path the way they read a DCS
  file's: the clip group's clipping path becomes the new file's, a file
  that names none leaves a plain group of the image, and a later file
  that names one clips it again. A clip group whose path or fill rule
  was changed in the document stays as a clipping mask around the
  file's clip group.
- docs/mcp.md and the evidence line in docs/target-app-parity.md
  describe the new behavior.
2026-11-15 11:04:20 -08:00
dotCooCoo 7ced0d5c9a Type: Tsume applies in vertical type and to color glyphs
Tsume no longer stops at horizontal type. In vertical type an upright
character loses its share of the blank space above and below its ink,
inside its cell down the column (the font's vertical metrics, else at
least one em, with the Proportional Metrics change), in point type and
on a path. A character lying on its side is measured along its own
width, and the characters of a tate-chu-yoko block close up across the
column while the block keeps its one em.

Tsume now measures what a glyph paints: its COLR or SVG art, else its
color bitmap, else its outline, so a color glyph is no longer measured
by the outline its art replaces.

Docs: docs/mcp.md, docs/target-app-parity.md, text.setRangeStyle and
text.setFormat params.
2026-11-15 10:56:09 -08:00
dotCooCoo af64010722 Merge main into fix/flatten-staggered-boxes-sweep-order 2026-11-15 10:56:05 -08:00
dotCooCoo 8d9a467005 Flatten: boxes staggered right and up meet only the box before in the grouping sweep
When an arriving box that joins everything it overlaps covers an open
box to the right and above, and ends higher than it, the open box now
keeps only its part below the arriving box's bottom. The sweep's tree
holds each open box by its current top, at a place that is either a
box's top or just below a box's bottom, so a box can be cut short from
above, from below, or both. Any later box that would have met a removed
part meets the arriving box instead, which is open at least as long and
in the same set, so the groups stay the same. A box held by an open box
is not opened and cuts nothing short.

512 boxes, each 1 pt right of and above the one before, or left of and
below it, now meet 511 open boxes in the sweep instead of 130,816, with
and without transparency.
2026-11-15 10:54:58 -08:00
dotCooCoo f1507ccec3 Merge main into fix/an-image-whose-recode-fails-is-written-without 2026-11-15 10:54:25 -08:00
dotCooCoo 2f432926b2 Smooth tool: keep corners on a path cut into very many short segments
The Smooth tool measured the turn around each corner by walking at most
256 segments from the anchor, and did not keep an anchor as a corner
when twice the reach lay farther than that. A corner of a path cut into
short segments was rounded off: an open path with 0.05 pt segments at
the default 12 pt reach, or a square in 0.25 pt segments with a 40 pt
reach.

The walk now has no segment limit. Each segment's length is measured
once per path, and the lengths are added up in blocks of 2, 4, 8 and
more segments, so finding the point a reach away skips whole blocks and
measures only the segment it lands in. Each block adds up only its own
segments, so short segments keep their lengths next to very long ones.
2026-11-15 10:41:11 -08:00
BFlat 957397e7a1 Merge pull request #7710 from dotCooCoo/feat/packaging-fold-roles
Packaging Tools: Make … Line gives paths a fold line role that their swatch carries
2026-11-16 01:35:03 +07:00
BFlat 9776feb15c Merge pull request #7887 from dotCooCoo/fix/aligned-effect-indices-unmatched
Effects: removing or duplicating several aligned effects of a design's art refuses one that no object has
2026-11-16 01:34:54 +07:00
BFlat 6080a8a87f Merge pull request #7886 from dotCooCoo/fix/span-gradient-stroke-row
Gradients: a gradient spanning the selection on a lower stroke fits the box that stroke paints
2026-11-16 01:34:45 +07:00
BFlat 39336f44d9 Merge pull request #7863 from dotCooCoo/feat/diacritic-position
Type: Adjust Horizontal and Vertical Diacritic Position move marks off their letters
2026-11-16 01:34:36 +07:00
BFlat 689d60d5b8 Merge pull request #7891 from dotCooCoo/fix/plain-paste-merged-swatch-label-contrast
Paste: Paste without Formatting sets pie legend label contrast from merged swatch colors
2026-11-16 01:34:28 +07:00
BFlat 38aec2b2fb Merge pull request #7797 from dotCooCoo/fix/outlined-strokes-under-a-non-uniform-type
Type: outlined strokes on unevenly scaled type keep their thickness in each direction
2026-11-16 01:34:20 +07:00
dotCooCoo a6d9dd2881 Import PDF: artboards on trim boxes keep the bleed between them
Opening a PDF with Crop To Trim Box put each artboard 36 pt after the
one before, while the bleed boxes round the trim boxes became the
document's bleed. With a bleed over 18 pt, one page's bleed reached
into the next artboard, and a page exported with its bleed showed part
of its neighbor. The document's bleed is now read from every picked
page first, and the artboards are 36 pt apart plus that bleed on both
sides, as linked pages on their trim boxes are laid out since #7723.
2026-11-15 10:34:12 -08:00
BFlat 6c0c5fa031 Merge pull request #7861 from dotCooCoo/fix/one-point-brush-continuation-keep-selected
Brushes: a one-point brush.freehand continuation follows keepSelected
2026-11-16 01:33:54 +07:00
BFlat f4f0c49501 Merge pull request #7892 from dotCooCoo/fix/psd-cut-short-slices-warn
PSD: a slices resource cut short warns that the slices were left out
2026-11-16 01:33:18 +07:00
BFlat b759c9e369 Merge pull request #7874 from dotCooCoo/fix/pdf-dont-include-profiles-removes-image-profiles
PDF export: a set Don't Include Profiles removes image color profiles
2026-11-16 01:33:00 +07:00