Commit Graph
3479 Commits
Author SHA1 Message Date
dotCooCoo 568f0f2168 Links: Relink, Embed and Unembed keep a distorted image's corners
An image changed by Perspective Distort or Free Distort was refused by
Relink, Embed and Unembed. Each now keeps the image's corners in one
undo step:

- Relink puts the new file's pixels between the corners, as Update
  Links does, whatever `preserve` or the image's Placement Options say.
- Embed keeps the file's pixels in the document between the corners,
  reading the file first when the image shows its saved preview.
- Unembed writes the pixels to the file and links the image to it with
  the same corners. Unembed into a folder keeps the corners too.

Relink and Update Links also follow the clipping path a PSD, PSB or DCS
file names for a distorted image: the path is drawn through the corners,
a clip group of the old file's path takes the new file's, and it becomes
a plain group when the new file names none.

Unembed of an image from a PSD or PSB file took away the clip group of
the file's clipping path, plain images included: the PNG or TIFF it
writes keeps the path, but the file was read without it. A PNG or TIFF
that keeps the path now comes with it when it is read, so Unembed, and a
later Place, Relink or Update Links of the written file, keep the clip
group.

The params text of Relink, Embed and Unembed, docs/mcp.md and the
progress-doc line describe the new behavior.
2026-11-17 21:02:14 -08:00
dotCooCoo 8e7e64bfb1 Merge main into feat/circle-from-center 2026-11-17 20:30:10 -08:00
dotCooCoo d99fcc5cec Merge main into feat/distort-images 2026-11-17 20:30:09 -08:00
dotCooCoo d42995dcff Merge main into feat/proof-setup-save-load 2026-11-17 20:26:07 -08:00
dotCooCoo 0b1ba1c6ef Merge main into feat/proof-setup-customize 2026-11-17 20:24:50 -08:00
dotCooCoo 8e9004d89d Merge main into feat/color-wheel-contrast 2026-11-17 20:24:29 -08:00
dotCooCoo 8eb976164b Merge main into feat/color-wheel-hsl-sliders 2026-11-17 20:24:27 -08:00
dotCooCoo 6e65339e0f Merge main into feat/arrows-brush-library 2026-11-17 20:19:39 -08:00
dotCooCoo de29baab11 Shapes: the Curvature Circle tool draws the circle a path bends along
The Curvature Circle tool, after the Circle tool in the Ellipse tool's
flyout, draws the circle that touches a path at a point and bends as the
path bends there, with shape.curvatureCircle. The pointer snaps to the
nearest path that is not a guide within 5 screen points, or within the
Smart Guides snapping tolerance when that is larger, and the tool shows
the circle as a dashed outline (solid once it is more than 50,000 screen
points around), its center, a line from the center to the point it
touches and, with Measurement Labels on, its radius. A click draws the
circle in one undo step, on the side the path bends toward; Shift held at
the press puts it on the other side. A press dragged 2 screen points or
more, or canceled with Escape, draws nothing.

A segment that is the usual cubic of a circular arc of 90° or less gives
a circle with the arc's own radius, shown with an asterisk, so a click on
a circle drawn with the Ellipse tool draws that circle. On a straight
segment, at a cusp or a corner anchor, or where the circle would reach
past the canvas, the pointer shows "Straight segment", "Cusp" or "Circle
too large", and a click draws nothing. An anchor is a corner when the
segments meet there at more than half a degree and it is not marked
smooth; segments of no length between them are passed over. The tool's
icon is new and drawn for VectorCraft.

shape.curvatureCircle takes the path, subpath, segment, t and convex, and
returns the circle's center and radius and whether the radius is an
arc's own. A guide is refused.

draw2::candidate_paths skips the selected paths with a hash set, so it
takes time linear in the number of paths on each pointer move.

Part of #7178.
2026-11-17 20:18:05 -08:00
dotCooCoo 5945e6e12a Merge main into fix/confined-exporter-and-placed-pdf-paths 2026-11-17 20:13:03 -08:00
dotCooCoo a55a511d5c Tests: drop the confined single-file PDF test of several assets
`assets.export` now refuses `pdfs: "single"` with assets, layers and
`selection: "each"` before any file is checked or written (70fdab8445
on main), so the test's request no longer reaches the link check and
fails with that refusal. A single-file PDF is now written only for
artboards, whose items all hold the same document.

(cherry picked from commit 80cf2172f1)
2026-11-18 11:12:08 +07:00
dotCooCoo cd5baebc41 Merge main into fix/issue-7849 2026-11-17 20:09:10 -08:00
dotCooCoo 51ba69f8df Merge main into feat/nature-icons-symbol-library 2026-11-17 20:09:10 -08:00
dotCooCoo 1891ed8b48 Merge main into feat/artistic-brush-library 2026-11-17 20:08:55 -08:00
dotCooCoo 32d3191adf Merge main into feat/vector-packs-library 2026-11-17 20:08:54 -08:00
dotCooCoo 444666d89a Merge main into feat/image-brush-library 2026-11-17 20:08:54 -08:00
dotCooCoo 7e5a1cf97d Merge main into feat/pressure-sensitive-brush-library 2026-11-17 20:08:54 -08:00
dotCooCoo 8b9b5f0835 Merge main into feat/stipple-brush-library 2026-11-17 20:08:53 -08:00
dotCooCoo 5896c8a61f Merge main into feat/ornamental-brush-library 2026-11-17 20:08:53 -08:00
dotCooCoo 33251b5c77 Merge main into feat/paint-brush-library 2026-11-17 20:08:53 -08:00
dotCooCoo 57d21108c9 Merge main into feat/hold-shortcuts 2026-11-17 20:08:52 -08:00
dotCooCoo 85d4b2a37d Merge main into feat/paper-cutouts-style-library 2026-11-17 20:08:52 -08:00
dotCooCoo b789a26dd5 Merge main into feat/plugin-budget-preference 2026-11-17 20:00:17 -08:00
dotCooCoo 0c4684e9b5 Merge main into feat/attributes-url-count 2026-11-17 19:57:38 -08:00
dotCooCoo 5a3250b0c1 Merge main into feat/decorative-brush-library 2026-11-17 19:55:11 -08:00
dotCooCoo 21cd8069e7 Merge main into feat/transform-rectangle-corner-type 2026-11-17 19:50:31 -08:00
dotCooCoo e3f75af3cf Merge main into feat/engraving-brush-library 2026-11-17 19:50:10 -08:00
dotCooCoo b4e0e74303 Merge main into feat/save-for-web-shift-color 2026-11-17 19:50:09 -08:00
dotCooCoo da061c6dc8 Merge main into fix/confined-exporter-and-placed-pdf-paths 2026-11-17 19:33:39 -08:00
BFlat 3dfd692304 Merge pull request #8078 from dotCooCoo/feat/text-import-character-sets
Text Import Options: Character Set offers the other documented encodings
2026-11-18 10:31:10 +07:00
dotCooCoo c7797ad267 Merge main into feat/arrows-brush-library 2026-11-17 19:30:17 -08:00
dotCooCoo c860bf27ef Fill Area: a left-out curve cuts an area only where it reaches it
A segment's box can meet an area while the segment does not, as with a diagonal line or a curve that arcs around the area. The finder now halves such a segment until a piece has an end in the area, its box misses it, or it is smaller than 0.01 pt.
2026-11-17 19:30:15 -08:00
dotCooCoo 5de85b1695 Merge main into feat/color-wheel-document-colors 2026-11-17 19:29:13 -08:00
dotCooCoo 1b39f8f93f Merge main into feat/transform-rectangle-corner-type 2026-11-17 19:27:44 -08:00
dotCooCoo 5dcc0008ee Transform: Rectangle Properties has a Corner menu for the corner type
A live rectangle's Rectangle Properties (Transform panel, the Properties
panel's Transform section and the Contextual Task Bar's Shape Properties)
now have a Corner menu with Round, Inverted Round and Chamfer.

- With Corner Radius linked, one menu sets the kind of every corner of
  each selected live rectangle, corners with no radius included, and
  leaves the radii as they are. It is blank when the shown rectangle's
  corners have different kinds.
- With Corner Radius unlinked, each corner's row has its own menu beside
  its radius field, or under it when the panel is too narrow for both.
- The menus and the unlinked radius fields change only the selected live
  rectangles; other selected paths and polygons are left as they are.
  Before, a radius typed into an unlinked corner field also rounded that
  anchor index on every other selected path.
- A pick is one undo step, and picking the kind the corners already have
  adds none.
2026-11-17 19:27:20 -08:00
BFlat 12ab63aedd Merge pull request #7137 from dotCooCoo/feat/script-file-folder-write
Scripts: File and Folder objects write files inside a script's scope, with per-script grants and pickers
2026-11-18 10:25:30 +07:00
BFlat 966ae74132 Merge pull request #8130 from dotCooCoo/feat/shape-builder-empty-feedback
Shape Builder: the status bar says why a click or drag built nothing
2026-11-18 10:25:20 +07:00
dotCooCoo 0bedbfc445 Merge main into feat/save-for-web-shift-color 2026-11-17 19:23:04 -08:00
BFlat 2a28193517 Merge pull request #8167 from dotCooCoo/fix/issue-7849-shape-mode
Pathfinder: Shape Mode buttons warn when a line encloses no area
2026-11-18 10:21:50 +07:00
BFlat 18f8c57a5a Merge pull request #8037 from dotCooCoo/fix/erase-segments-width-bound
Path Eraser: path.eraseSegments refuses a width outside 0.001 to 1000 pt
2026-11-18 10:21:33 +07:00
BFlat c1223c4e8b Merge pull request #7993 from dotCooCoo/fix/variable-library-warning-kind-names-i18n
i18n: the SVG variable-data warning names variable kinds in the interface language
2026-11-18 10:19:52 +07:00
BFlat 3a9bb87022 Merge pull request #7925 from dotCooCoo/feat/brush-options-of-selected-object
Brushes: Options of Selected Object changes one brushed path's brush settings without changing the brush
2026-11-18 10:18:41 +07:00
BFlat dbdfa644f5 Merge pull request #8345 from dotCooCoo/feat/bounding-box-rotate
Transform: Rotate Bounding Box… turns the selection's bounding box without moving the art
2026-11-18 10:15:35 +07:00
BFlat cb76b41e96 Merge pull request #8086 from dotCooCoo/feat/low-latency-drawing
Performance: Low-Latency Drawing preference presents without vsync, capped at 240 fps
2026-11-18 10:15:17 +07:00
BFlat dd3a1886a6 Merge pull request #7764 from dotCooCoo/feat/dataset-import-graph-columns
Variables: Import Data Sets reads % columns of graph data files
2026-11-18 10:15:07 +07:00
BFlat 2b91d93b8e Merge pull request #8118 from dotCooCoo/fix/confined-native-image-paths
MCP: confined native output refuses linked and data set image paths outside the read roots and leaves out an export folder outside them
2026-11-18 10:14:58 +07:00
BFlat 1124cb3107 Merge pull request #8081 from dotCooCoo/fix/issue-8034
Fix #8034: Other Library… brings a .ai library's pattern swatches with their patterns
2026-11-18 10:14:47 +07:00
BFlat 3e0a239ad6 Merge pull request #8156 from dotCooCoo/feat/unembed-several-images
Links: Unembed writes several selected embedded images to one chosen folder
2026-11-18 10:14:07 +07:00
dotCooCoo a071c38769 Shape Builder: a fill or stroke object that is not a paint is an error
A fill or stroke such as {"swatch": 123} gave no paint, so shapeBuilder.copyRegion and shapeBuilder.merge used the current paint. Both commands now report it as a bad fill or stroke.
2026-11-17 19:12:17 -08:00
BFlat a74be729a4 Merge pull request #7963 from dotCooCoo/feat/recolor-group-storage
Recolor Artwork: a Color Groups list selects, saves, adds and deletes color groups
2026-11-18 10:12:05 +07:00