Commit Graph
19258 Commits
Author SHA1 Message Date
BFlat 0ae342ea8d Merge pull request #8368 from dotCooCoo/fix/free-transform-shear-readout
Free Transform: a shear drag shows its angle next to the pointer
2026-11-18 12:56:31 +07:00
BFlat aa144628cb Merge pull request #8358 from dotCooCoo/feat/graphic-styles-alt-drag-replace
Graphic Styles: art or an appearance dropped on a style with Alt replaces that style
2026-11-18 12:56:22 +07:00
BFlat c3a6ebb953 Merge pull request #8356 from dotCooCoo/fix/swatches-bracket-names-not-reserved
Swatches: a user swatch whose name starts with [ can be deleted and edited
2026-11-18 12:56:13 +07:00
BFlat fbbd55458e Merge pull request #8355 from dotCooCoo/perf/ai-save-images-decode-once
.ai save: read each embedded image's pixels once a save
2026-11-18 12:56:04 +07:00
BFlat a92df52b69 Merge pull request #8245 from datatimp/fix/8237-layers-alt-drop-copy-beside-itself
Layers panel: an Alt-drag copies a row above or below itself
2026-11-18 12:55:56 +07:00
BFlat 4d3f9cbd08 Merge pull request #7365 from dotCooCoo/fix/ai-scatter-brush-art-upright
.ai import and save: Scatter brush art comes in turned over, as Art brush art does
2026-11-18 12:55:47 +07:00
BFlat c36353b69b Merge pull request #8381 from dotCooCoo/fix/issue-7906
Fix #7906: a dialog that opens closes the Command Palette, flyouts and menus
2026-11-18 12:55:39 +07:00
BFlat 387b2e91a1 Merge pull request #8380 from dotCooCoo/perf/svg-image-key-once
SVG import: an image's bytes are hashed for its key once per import
2026-11-18 12:55:30 +07:00
BFlat d5d66cf8de Merge pull request #8370 from dotCooCoo/perf/swatch-link-roots-set
Swatches: linking the selection's paints checks ancestors through a set
2026-11-18 12:55:21 +07:00
BFlat b92aa98f3e Merge pull request #8369 from dotCooCoo/perf/stroke-targets-set
Stroke panel: stroke.set collects its targets through a set
2026-11-18 12:55:13 +07:00
BFlat afc4f5ae13 Merge pull request #8367 from dotCooCoo/fix/print-near-black-missing-swatch
Print: a near black linked to a missing swatch keeps its faint ink off PostScript plates
2026-11-18 12:55:04 +07:00
BFlat 150f243570 Merge pull request #8523 from storytold/fix/drop-stale-single-pdf-test
Tests: drop the confined single-file PDF test of several assets (main CI fix)
2026-11-18 12:54:59 +07:00
dotCooCoo d4b1ff8f60 Find and Replace: a dialog field of the wrong type is an error
ui.paramDialog for edit.findReplace used to drop a field of the wrong type, such as a number for find, and open on the last search. It now returns an error and leaves the dialog closed. A null field still gives none, as the menu item's does.
2026-11-17 21:53:34 -08:00
dotCooCoo 1387eb70b8 Save PDF: the saved Summary writes each option line with the interface language's colon
The Summary section shows option lines with the colon the language uses (a no-break space before it in French, a full-width colon in Japanese and Chinese). The saved Summary file wrote a plain colon. Both now build the line with one helper.
2026-11-17 21:52:33 -08:00
dotCooCoo 9357a71375 Merge main into fix/classic-overprint-separations 2026-11-17 21:51:14 -08:00
dotCooCoo ee0a28845f Keep Classic 3D black shading on its separation plate 2026-11-17 21:47:15 -08:00
dotCooCoo ec882bb4d2 Merge main into feat/docinfo-font-details 2026-11-17 21:39:52 -08:00
dotCooCoo a64ceebccf Shapes: the Curvature Circle tool shows "Corner" at a corner anchor
At a corner anchor the tool now shows "Corner" instead of "Cusp", and
`shape.curvatureCircle` returns "the path has a corner there, so it has
no single curvature".

- A closed subpath whose only segment with length loops back to its
  start (a teardrop) has a corner at its tip, from both ends of the loop.
- An anchor marked smooth whose out handle points back along its in
  handle is a corner.
- The guide error and the new corner error have rows in the 24 catalogs
  that translate every message.
- A test covers a Smart Guides snapping tolerance larger than 5 screen
  points, with Smart Guides off and on.
2026-11-17 21:34:11 -08:00
dotCooCoo dc92781181 Part of #5590: Dimension tool lines line up with dimensions already drawn
A linear dimension placed next to another one had its line exactly where
the pointer was. Chained dimensions only lined up when the pointer hit
the other line's level exactly, which at a normal zoom it rarely does.

- With Smart Guides on, a linear dimension placed with its line within
  the Smart Guides snapping tolerance of the level of a parallel line of
  a visible, unlocked linear dimension already drawn has its line on
  that level. This applies to two clicked points and to a segment
  dragged out.
- With Alignment Guides on, a guide runs along that level across both
  lines while the dimension is placed.
- Smart Guides off, a level further off, a locked dimension or one that
  is not parallel leaves the line where the pointer puts it.

Docs: docs/dimensions.md, docs/target-app-parity.md.
2026-11-17 21:33:30 -08:00
dotCooCoo 42d0c344de Merge main into perf/image-trace-target-once 2026-11-17 21:31:43 -08:00
dotCooCoo 1f704f2dc3 Palette: Find Next is listed, since a pick runs it as its menu item does
A pick of Edit › Find Next goes on from the last Find and Replace search or opens the dialog, so the palette lists it among the commands a pick still runs.
2026-11-17 21:29:50 -08:00
dotCooCoo d4e43bab3b Docs: the formats summary row counts .cdr and PostScript among the formats opened
The table opens and places PostScript through the EPS reader, so PS
leaves the missing list, and .cdr drawings now open: 33 formats, missing
FreeHand and DWG.
2026-11-17 21:28:29 -08:00
dotCooCoo 79b4f7f240 Merge main into feat/save-pdf-save-summary 2026-11-17 21:26:42 -08:00
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 5c858d24e2 i18n: the French replace-presets question has a narrow no-break space before ? 2026-11-17 21:20:52 -08:00
dotCooCoo 58e510f06c Fix #5451: Windows Save As follows selected file type 2026-11-17 21:18: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 5811cab523 Part of #5941: dialogs too large for the window scroll instead of running off the screen
A dialog taller than the app window was drawn past the window's edges
with no scroll bar. In a 1024 by 480 window, SVG, EPS and DXF Options,
Save PDF, Export for Screens, Print, Keyboard Shortcuts and Find Font ran
past the top, so their heading and first options could not be seen. Save
for Web, Preferences and New Document also ran past the bottom, with
their buttons out of reach.

- The body of a shared dialog scrolls while the dialog would be taller
  than the window, and its heading and buttons stay in view.
- A dialog window without such a body scrolls as a whole on each axis on
  which it is taller or wider than the window. Its buttons can then sit
  below or beside the part in view until it is scrolled.
- A dialog that sizes its lists from the window's height (Import
  Shortcut Set, Character and Paragraph Style Options, the Color Picker)
  is not scrolled vertically again, but it scrolls sideways when it is
  wider than the window.
- A list with its own scroll bar inside a scrolling body (the Save for
  Web settings, the Print and Save PDF sections) is no taller than the
  body shows, so the list and its bar can be scrolled into view whole.
- A dialog that closes and opens again starts at its top. A dialog that
  was only hidden while another opened over it (Keyboard Shortcuts under
  Import Shortcut Set) keeps where it was scrolled to.
- A field being edited keeps its text and focus when a resize makes the
  dialog start or stop scrolling.
- Save for Web in a window narrower than its full layout draws its
  preview panes narrower, down to 240 pt, so the settings column and the
  buttons stay in view.

Reported by erolkarino in #5941.
2026-11-17 21:00:34 -08:00
dotCooCoo 7973b6254c Keep precise-cursor regression meaningful 2026-11-17 20:53:26 -08:00
ruchirguitar 5ed13b1249 M7/G4: retype keeps outlines whose paint type cannot take (#4934)
Shapes with more than a basic appearance (several fills or strokes,
effects, item transparency, brushes, width profiles, arrowheads) stay
outlines. The stroke's caps, joins, miter limit, dashes and alignment
carry over. A line's glyphs share one size and turn exactly, and a first
glyph its line cannot draw is tried on its own.
2026-11-18 10:20:55 +05:30
dotCooCoo 6a3a7ad704 Path Precision Tools: test a point placed on a turned outline
A point worked out on an outline lies a rounding error inside or outside
it. The new test places a point at 37 angles on a turned ellipse, and on
each anchor and three places along each segment of a turned and moved
Bezier circle, and checks that each gets exactly one line through it.
2026-11-17 20:50:30 -08:00
dotCooCoo 14a98c1367 Merge main into feat/field-x-multiply 2026-11-17 20:41:00 -08:00
ruchirguitar c42cfd23b7 M7/G4: retype checks each line against its own layout (#4934)
Each retyped line is laid out and compared glyph by glyph with the
outlines; it splits where its type would draw another glyph or the same
glyph elsewhere (tracking, manual spacing, font substitutions), and a
glyph its type cannot draw stays an outline. Shapes with their own
opacity mask stay outlines. Shapes past the limits are reported as
truncated. Glyphs of plain-shape symbols (box drawing, blocks, geometric
shapes, private use) are not matched, so drawn rectangles stay art.
Type › Retype is in the Type menu.
2026-11-18 10:03:29 +05:30
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 f7a6eeff13 Rerun CI 2026-11-17 20:17:00 -08:00
dotCooCoo bc49cf5038 Rerun CI 2026-11-17 20:16:54 -08:00