Commit Graph
9359 Commits
Author SHA1 Message Date
dotCooCoo 15ced7303a Merge main into perf/tile-panes-selection-outlines 2026-11-17 21:26:28 -08:00
dotCooCoo 0c2d7d1488 Dimension: Arrow Style shows each style's arrowhead drawn before its name
The Arrow Style dropdown in Dimension Tool Options and in the Properties
panel's Dimension section showed only the names Filled, Open, Tick and
None. Each style now shows its arrowhead at the end of a short line
before its name, in the open list and in the closed field, drawn with
the Stroke panel's arrowhead previews. The four styles and their saved
values are unchanged.

ArrowStyle::arrowhead holds the style-to-arrowhead mapping, so the
dimension line and the preview use the same head.
dropdown_icon_names_sized takes an icon size that is not square.

Part of #8049.
2026-11-17 21:23:32 -08:00
dotCooCoo de6ab5f7a8 Merge main into fix/es-message-rows 2026-11-17 21:23:17 -08:00
dotCooCoo 311f102dbd Merge main into feat/edit-tracing-presets 2026-11-17 21:20:56 -08:00
dotCooCoo 51194f584b Path Precision Tools: the Tangent Circle Tool keeps its first segment until the circle is drawn
- The release returns shape.circleThroughPoints followed by a Notify,
  and the tool forgets the first segment only when it is told, so a
  command that fails leaves the segment picked (as the Direct Selection
  tool's FRAME_PICKED notice follows its command).
- The preview leaves out circles that three of their points cannot give
  back, so the note shows where a click would draw nothing.
- A double-click draws nothing more: the canvas sends it after the
  second click's release, which drew the circle.
- The re-exports for the tool are a separate `pub use` in the pathops
  pathtools module, whose module comment is unchanged.
- Circles of one radius at places tried close together along the
  first segment are no longer taken for repeats: a repeat also touches
  the first segment at the same point. At a radius of 1,000,000 pt the
  513 places along a 100 pt line were cut to 86.
- A test checks the note's row in every complete catalog.

Docs: a drag's circle may touch the first segment anywhere along it;
the circles that are left out; an out-of-range radius option leaves
the radius as it is. The ROADMAP, target-app-parity and ui-parity
entries move next to related entries, and docs/mcp.md is rewrapped to
120 columns.

Part of #7178.
2026-11-17 21:16:04 -08:00
dotCooCoo 9ffca655cd Fields: count x signs in the Unit Converter's limit too
addon.units.convert reads its value through Unit::parse, so after the
merge of main it takes x, X and × as multiplication signs as well. Its
128-sign limit counted only + - * /. The new
vectorcraft_doc::arithmetic_signs counts each multiplication sign as a
*, and both Unit::parse and the converter use it.

- The converter's params text and docs/mcp.md list the signs.
- Tests cover 2pX3 and 2p×3 (6 picas), 8.5x11 in (refused before, now
  93.5 in) and the converter's reading and limit.
- The test message says "millimeters", and the doc comments wrap at
  the file's width.
2026-11-17 21:15:25 -08:00
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 14a98c1367 Merge main into feat/field-x-multiply 2026-11-17 20:41:00 -08:00
dotCooCoo d99fcc5cec Merge main into feat/distort-images 2026-11-17 20:30:09 -08:00
dotCooCoo e4d2922b21 Command Palette: a palette closed and opened at once starts on its first row
A pick or a press outside the palette now drops the highlight and the
availability answers on the frame that closes it, so a command that
opens the palette again before a closed frame is drawn starts on the
first row and checks the rows again. The ranking line now says a recent
pick ranks after the pick count's grade.
2026-11-17 20:28:17 -08:00
dotCooCoo c70528d77a Part of #8432: fix label Copy with floating windows and unwritten formats
A floating panel's or document's window notes that one of its labels
copied the text a Copy or Cut asked for, so the Copy it sends on to the
main window copies no art. The note was also set when a field with the
keyboard copied its own text, and it stayed until the next Copy or key
a window sent on, which then lost its Copy and the formats of an art
Copy still being written.

- The note is set only when no widget in that window has the keyboard,
  and it is cleared when the main window's next pass starts.
- Only a Copy or Cut another window sent on skips the main window's
  labels. Before, any key sent on in the same frame, such as a key let
  go in a floating panel, made Cmd/Ctrl+C on selected label text copy
  the art.
- The menu bar's Copy and Cut drop the art formats not written yet when
  they leave the event to the labels, also in a frame in which the main
  window does not have the keyboard.
- A test runs passes of a second viewport and checks that a field's
  copy is not noted and that the note does not outlast the main
  window's next pass. Other tests check that Copy with label text
  selected, by its keys or the menu bar's item, drops the art formats
  not written yet; that Cut on a chord of the user's own, Cmd/Ctrl+C
  with other keys sent on, and the menu bar's Copy with a Copy sent on
  copy the label text; and that the art Copy deferred to the next frame
  runs even when the window has lost the keyboard by then.
- docs/target-app-parity.md lists the behavior and the two menu cases
  that still copy the art: the in-window Edit menu, whose click clears
  the label's selection, and the menu bar while the selected text is in
  a floating panel's own window.
2026-11-17 20:26: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 dace34d9a8 Merge main into feat/cdr-import-all 2026-11-17 20:24:50 -08:00
dotCooCoo 8eb976164b Merge main into feat/color-wheel-hsl-sliders 2026-11-17 20:24:27 -08:00
dotCooCoo db6e491c56 Transform: Rectangle Properties corner edits send the rectangles as one ids list
The Corner menus and the unlinked Corner Radius fields sent one
object.setLiveShape item per selected live rectangle, each with the same
corners, and the command looks each id up in that list, so an edit took
time quadratic in the number of selected rectangles. They now send the
rectangles as ids with one shared corners list. With no live rectangle
selected the edit leaves the document and its undo history as they are.

The Properties panel test for a Direct-Selected rectangle corner now
expects the Rectangle Properties Corner menu once.
2026-11-17 20:23:57 -08:00
dotCooCoo 51cf404cee Docs: count Paint among the built-in brush libraries
The area rows, the bundled-content row, the G5 entry and the UI row now
name Paint and count eleven built-in brush libraries, and the ROADMAP
progress log has a line for it.
2026-11-17 20:23:57 -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 67f2c39a37 Merge main into fix/i18n-psd-import-options-and-slices 2026-11-17 20:09:47 -08: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 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 a561f666a6 Path Precision Tools: the Tangent Circle Tool draws a circle on two clicked segments
The Tangent Circle Tool (tangentCircle) joins the add-on's tools, in
Object > Plug-ins > Path Precision Tools and the All Tools drawer. A click
on a path segment picks it; a click on a second segment draws the circle
that is tangent to the first segment at the point clicked and touches
the second. The segments beside the second one count with it, and of
the circles found the one touching them nearest the pointer is drawn.

- Shift on the second click uses the tool's radius (36 pt to start, set
  in its options), anywhere along the first segment.
- A drag from the second segment sets the radius to the drag's length;
  Shift steps it by 1, 2 or 5 times a power of 10 pt, at least 4 screen
  pixels, and Cmd/Ctrl pressed during the drag moves it by a tenth.
- Before the click the circle shows with its center, its radii to the
  touch points and its radius, or a translated note says there is none.
  The preview follows a pan, a zoom or an edit under a still pointer.
- The circle is drawn with shape.circleThroughPoints, so Align New
  Objects to Pixel Grid leaves it tangent; one undo step. A circle that
  its three points cannot give back in floating point is not drawn, and
  the first segment stays picked. Escape, an edit outside the tool or
  another document forgets the first segment.

The geometry is circles_through and circles_of_radius in the pathops
crate: the distance to the second segments is sampled along the first
segment's normal (or along the segment, for a radius) and the places
where it equals the radius are taken, including touches between samples.

Part of #7178.

Docs: docs/mcp.md, docs/ui-parity.md, docs/target-app-parity.md, ROADMAP.
2026-11-17 20:04:15 -08:00
dotCooCoo b10531b3cd Merge main into fix/library-panel-names-translated 2026-11-17 20:02:37 -08:00
dotCooCoo 116803ad28 Merge main into feat/kinsoku-sets 2026-11-17 20:02:14 -08:00
dotCooCoo b789a26dd5 Merge main into feat/plugin-budget-preference 2026-11-17 20:00:17 -08:00
dotCooCoo 6cc525ea26 Merge main into fix/native-panel-command-geometry 2026-11-17 20:00:01 -08:00
dotCooCoo bebf9cae05 Merge main into fix/transform-panel-shear-range 2026-11-17 20:00:00 -08:00
dotCooCoo c5ba158af1 Merge main into feat/background-save-progress 2026-11-17 19:59:59 -08:00
dotCooCoo 8cf2bc00ae Merge main into feat/save-pdf-bleed-link 2026-11-17 19:59:57 -08:00
dotCooCoo 44bd7ba6df Merge main into feat/toast-messages 2026-11-17 19:59:56 -08:00
dotCooCoo d89f6b72c4 Merge main into feat/smooth-bridge-many 2026-11-17 19:59:55 -08:00
dotCooCoo c0dce666c9 Merge main into feat/object-mosaic-dialog 2026-11-17 19:59:54 -08:00
dotCooCoo 80dcc9781c Merge main into feat/color-wheel-gamut 2026-11-17 19:58:57 -08:00
dotCooCoo 84a5ff6b3e Merge main into feat/artboard-edge-button-tooltips 2026-11-17 19:58:57 -08:00
dotCooCoo 44be4beb97 Merge main into fix/es-message-rows 2026-11-17 19:58:57 -08:00
dotCooCoo 0c4684e9b5 Merge main into feat/attributes-url-count 2026-11-17 19:57:38 -08:00
dotCooCoo ba61e13964 Merge main into feat/tool-cards 2026-11-17 19:57:09 -08:00
dotCooCoo 90802dae85 Merge main into fix/i18n-drop-old-control-characters-rows 2026-11-17 19:57:09 -08:00
dotCooCoo 87be91d7fa Part of #6966: Path Precision Tools draws a bounding rectangle or circle around the selection
Object › Plug-ins › Path Precision Tools › Add Bounding Rectangle runs
addon.pathtools.boundingRectangle, which draws a live rectangle on the
selection's geometric bounding box, strokes left out. Add Bounding
Circle runs addon.pathtools.boundingCircle, which draws the smallest
live circle that holds the outlines of the selected objects. Paths and
compound paths count by their curves, clip groups and clipping
sublayers by their clipping paths, other sublayers by their shown
objects, images by their corners, and type and other objects by the
corners of their bounding box. Each curve is split until its pieces lie
within 0.01 pt of their chords (1,024 pieces at most, after which a
piece counts by its control points), and the circle's radius is 0.01 pt
larger than the smallest circle around those points, so it holds the
curves.

`offset` adds space around the objects, and `each` draws one shape
around each selected object instead of one around them all. Objects
with no outline, such as an empty group, and shapes with no size (the
rectangle around a straight horizontal line, the circle around a single
point) are not drawn; with `each`, `skipped` counts them.

The shapes get the current paint and go on top of the current layer or
of the isolated group, as Tangent Circle's circles do; inside an
isolated compound path they go beside it. The new shapes are selected,
and one undo removes them all.

The smallest circle is computed in the geometry crate
(shapes::enclosing_circle) from the convex hull of the points with a
fixed shuffle, relative to one of the points so small art far from the
origin keeps its exact circle. While the command gathers points from a
large selection, it keeps only the corners of their convex hull, which
bounds the memory it takes.

Docs: docs/mcp.md, docs/ui-parity.md, docs/target-app-parity.md,
ROADMAP. Menu labels in all 28 catalogs and messages in the 24
catalogs with complete messages.
2026-11-17 19:56:57 -08:00
dotCooCoo 2aa17d8e02 Merge main into perf/control-bar-kind-label-cache 2026-11-17 19:56:34 -08:00