Commit Graph
19258 Commits
Author SHA1 Message Date
dotCooCoo e396416360 Merge main into feat/circle-tool-options 2026-11-18 18:52:29 -08:00
dotCooCoo 3440e44618 Merge main into feat/nature-icons-symbol-library 2026-11-18 18:52:02 -08:00
dotCooCoo 8ef85de86b Merge main into feat/color-wheel-hsl-sliders 2026-11-18 18:50:03 -08:00
dotCooCoo 96a4c8a881 Merge main into feat/pathfinder-effect-options 2026-11-18 18:49:46 -08:00
dotCooCoo 3f253b4da2 Merge main into feat/distort-images 2026-11-18 18:48:32 -08:00
ruchirguitar 36cc381f40 Merge main into raster editor picker branch (#5804) 2026-11-19 08:14:23 +05:30
dotCooCoo ce5c4c230c Merge main into fix/issue-8584 2026-11-18 18:44:09 -08:00
dotCooCoo 2b0d6e5b14 Live Paint: bucket previews, gradient stops and presets use the bucket's colors
While the Live Paint Bucket is the active tool:
- each preview in one interaction starts from the colors the
  interaction began with, so previewing paint.swap twice and committing
  swaps once;
- a gradient stop selected on the selection's gradient is not selected,
  and one selected on the bucket's gradient is not selected after
  another tool is chosen;
- gradient.selectStop selects a stop of the bucket's gradient even
  with an object of a symbol instance picked;
- gradient.presets.apply picks the fill or stroke by the active proxy,
  not by the selection's active Appearance row;
- stroke.set and stroke.setAdvanced no longer read the selection's
  Appearance row;
- the Stroke panel's Align Stroke buttons are on, as with nothing
  selected, matching stroke.set, which takes every alignment.

The params text of paint.sampleColor, gradient.presets.apply,
stroke.set, stroke.weightUp and stroke.setAdvanced, the set_paint note
and the Live Paint paragraph of docs/mcp.md now describe this, and say
that the bucket takes only the color and weight of the stroke for new
art.
2026-11-18 18:44:05 -08:00
dotCooCoo 0f6be1ba6d Tabs: with the last document active, the tab before the shown ones fills the room
When the active tab was one of the last documents, the strip showed the
tabs from it to the end and left the room before them empty. The tab
before them now fills that room with its title shortened, as the tab
after the whole ones does. The tab strip takes each tab's window and
title from one list, so a docked window without a document no longer
shifts which tab is drawn as the active one. The tests check that 3
tabs fit whole and a fourth is shortened in a window 1000 pt wide.
2026-11-18 18:42:52 -08:00
yoriswind 5a06d5bddd #7645: put status notes in Change metadata 2026-11-18 18:31:40 -08:00
dotCooCoo 31626a7690 Merge main into feat/proof-setup-save-load 2026-11-18 18:25:37 -08:00
dotCooCoo ad60b1e8c5 Proof Setup: saved setups are listed by names that load them
- view.proofSetup.list lists only files named <name>.vcproof whose name
  `name` takes unchanged, sorted by that name before the 100 limit.
  An entry that can't be read or whose file name is not valid Unicode
  sets `truncated`, and a folder that can't be read is an error instead
  of an empty listing.
- ui.inspect leaves out the path of a saved setup picked in an open
  Insert Menu Item dialog when it is outside the read root.
- The listing Save… starts asks for a frame when it ends, so an idle
  window shows the new setup.
- Load…'s picker starts in its own default folder until a save has made
  the Proof Setups folder.
- The command help, docs/mcp.md and the progress line say the buttons
  and the saved setups are desktop only.
2026-11-18 18:25:31 -08:00
dotCooCoo eb7f64d5b3 Transform: a shape turn past the coordinate limit is an error
- object.setLiveShape checks every shape named in `ids` against the
  coordinate limit (±4,000,000 pt) after the edit, so a rectangle,
  ellipse or polygon that is not selected can no longer be turned
  out of range; the call is an error and changes nothing.
- LiveShape::set_shape_angle brings the angle into [0, 360) before it
  works out the turn, so a very large angle reaches the same final
  angle from any starting angle.
- The params text and docs/mcp.md say that `null` counts as an
  omitted key, that a pixel-aligned shape goes back on the pixel grid
  after the turn, and that a turn out of range is an error.
- The panel test reads the Rotate and Angle fields by name, and checks
  that the Angle field is empty for mixed angles.
2026-11-18 18:25:27 -08:00
dotCooCoo 9b0fc2e249 HP-GL Options: check and list pens from what the export writes
- Export Selection to HP-GL checks the selection and starts Pen Table
  from its pens, as the export writes it, and `exportSelection` is no
  longer remembered for the next whole-document export.
- Pen Table with options or an artboard choice the export refuses keeps
  One Pen per Color and shows the error, instead of starting from one
  black pen that corrected options would keep. `automatic_pens` returns
  that error.
- `automatic_pens` refuses `rect`, as `check` and the export do.
- A save panel shown in line that is canceled keeps the dialog open,
  and a canceled save panel keeps the options remembered before.
2026-11-18 18:24:51 -08:00
dotCooCoo 67c446b313 PSD import: a knockout that cuts nothing gives back the warnings of a merge it left short of memory
A visible knockout whose trial merge cut nothing kept the warnings that
drawing the layers below it recorded while its canvas was held. A merge
below it that only failed for want of that memory then came in merged,
with a warning that it hadn't been applied. Such a trial now gives back
what it counted, and the layers count again when they come in.

The PSD catalog test compares the whole numbers of each warning and its
translation, and checks that each complete catalog puts the translated
reason inside the warnings that carry one.
2026-11-18 18:16:47 -08:00
dotCooCoo 686fd46c9d Layers: in isolation mode the trash deletes no row outside the isolated art
Rows dragged to the trash before isolation mode started went to
layer.delete at once when none needed a question. ui.layerDelete now
returns an error for any row outside the isolated art, given or dropped,
and deletes nothing. OK in its question with no rows given deletes the
highlighted rows the panel lists, not every highlighted row.
2026-11-18 18:12:34 -08:00
dotCooCoo 2d58a80b96 Merge main into feat/enclosing-shapes 2026-11-18 18:09:57 -08:00
dotCooCoo 95d1bf91be Path Precision Tools: Add Bounding Circle bounds the work on curves and holds small loops
Add Bounding Circle splits the curves of one command 1,048,576 times at
most in all, shared equally among the shapes with `each`. A piece that
still bends after the last split counts by the hull of its control points
cut down to its bounding box, so a large circle near the canvas edge keeps
a close radius.

- A path of a compound path selected on its own counts as an object, as
  `object.transform` moves it, for both commands.
- A small loop whose ends meet gets a circle instead of being taken for a
  single point.
- The smallest enclosing circle measures its radius from the center it
  returns, after the move back from the first point, and does not copy
  the hull to do so.
- The params text, docs/mcp.md and docs/target-app-parity.md describe the
  limit and the compound path rule.
2026-11-18 18:09:01 -08:00
dotCooCoo fcdeb47a4b Dimension tool: previews no longer make the tool read the levels again
While a linear dimension is placed, the tool reads the other dimensions'
lines again only when the document the interaction began with changes,
not when the revision moves. Each preview moves the revision, so before
this the tool read up to 20,000 objects on every pointer move.
2026-11-18 18:08:24 -08:00
dotCooCoo 743435b584 Merge main into feat/indonesian-translates-every-status-and-error 2026-11-18 18:03:00 -08:00
dotCooCoo d5f17f1945 Tests: the PSD translation check compares whole numbers, the nested reason and the Open heading
Each complete catalog's PSD messages must now keep the same set of numbers (a 3
that becomes 13 fails), show the translated reason inside the slice and layer
warnings, and show the translated Open heading with the right note count.
2026-11-18 18:02:16 -08:00
dotCooCoo 4137b8e50a Graphs: keep pasted graph edits, redraw graphs in pasted symbols and masks
- A paste redraws a graph with the document's design of the same name only
  when that design's art differs or uses a resource the paste renamed or
  merged, so an unrelated rename no longer redraws every pasted graph.
- Graphs in the art of symbols the paste added, and graphs in opacity-mask
  art, are drawn again with the document's design as well.
- Adding or deleting a graph design also redraws the graphs in symbols'
  art and in opacity-mask art that use it. A dynamic symbol's instances
  drop their changes to graph parts that the redraw replaced.
- Applying a library design to a graph that was moved or resized keeps its
  new place in Graph Column and Graph Marker.
- swatch.library.load refuses inline data and dataBase64 larger than
  256 MB before copying or decoding them.
- A document with graph designs and no swatches of its own loads as a
  library with no swatches. Its designs keep the document's swatches and
  graphic styles that share a name with a new document's defaults.
- graph.column, graph.marker and graph.design match a library's name in
  any case, as the swatch library commands do.
2026-11-18 18:02:13 -08:00
dotCooCoo adc2b873db Width Point Edit: OK and Delete check the points and document they opened on
- OK and Delete on one or several existing points are refused when those
  points changed in any way since the dialog opened (place, widths,
  stroke weight, or pairing as a discontinuous point), or when another
  document is active.
- OK with no width changed checks the selection before it closes.
- An untouched Total Width above 100000 pt no longer blocks OK; a value
  set above 100000 pt is still refused.
- A width set into a field that OK refuses stays there when another
  field is set afterward, and a negative width typed for several points
  is refused at OK instead of becoming 0.
- `ui.widthPointEdit` refuses `index` together with `t`.
- Double-clicking a selected width point passes every selected entry,
  so points at nearly one place are all edited.
2026-11-18 18:01:13 -08:00
dotCooCoo 20f9c4dce5 Merge main into feat/control-bar-link-label-opens-links 2026-11-18 18:01:04 -08:00
dotCooCoo d3696410d8 Dimension tool: levels come from the document the next preview applies to
While a linear dimension is placed, each preview starts again from the
document as the placement began. The tool now reads the lines of the
other dimensions from that document (the new ToolContext field
interaction_doc), not from the document a command changed in between, so
a dimension that a command moves or hides and that the next preview puts
back does not leave the placed dimension on a level the committed
document does not have.

The engine test now drags a dimension out, runs dimension.update or
object.hide on the other dimension, releases, and checks the committed
line against that dimension as the document has it. The tool test that
checks which dimensions read lines also covers radius and diameter
dimensions.
2026-11-18 18:00:26 -08:00
dotCooCoo 00e3d4a921 Shapes: the Curvature Circle's other-side circle on an arc touches the path at the clicked point
On a cubic that counts as a circular arc but strays slightly from the arc's circle, the circle on the other side was placed against the arc's circle, a few points off the path. It now sits one radius out from the point on the path. The Undo test also checks that the click after Undo draws the first circle's own circle.
2026-11-18 17:58:22 -08:00
dotCooCoo 0690e33f67 Swatches: the selection follows a group through Sort by Name and Edit Color Group
A command.batch step that sorts by name no longer stops the panel's selection from following a
later group rename, and a rename made with swatch.editGroup's rename moves the selection and the
Shift-click anchor as Color Group Options does, alone or in a batch.
2026-11-18 17:56:18 -08:00
dotCooCoo 735de46552 Fill Area: tool.setOption accepts the Shape Builder options it shares
main now checks every option tool.setOption gets against the tool before
setting any, and a tool without its own check rejects every option. The
Fill Area tool now checks its options with check_builder_options, as the
Shape Builder does, so gapDetection, gapLength and openFilledAsClosed are
accepted again and other keys or bad values are still errors.
2026-11-18 17:54:18 -08:00
dotCooCoo 1c5f97acfc File formats: .cmx gray and CMY colors, unnamed layers, stricter chunk search
- Colors in the older color fields read gray (model 9) and CMY (model 4)
  as the .cdr reader numbers them, instead of opening as black.
- A dash pattern whose lengths are all 0 draws a solid line, as for a
  .cdr outline.
- A curve whose point field is too short for its count and is not whole
  points with their type bytes is left out as damaged, instead of reading
  coordinates as point types.
- A layer without a name comes in unnamed, and the importer names it by
  its place, as for a .cdr drawing.
- After stray bytes, a chunk id starts with a letter and may hold digits
  and spaces, and the id found must name a chunk the reader uses or have
  a length that fits its list. Padding is no longer taken for a chunk.
- A canvas or a container in an object's attributes gives the
  unsupported-objects warning.
- A page with no size and no bounds is 612 x 792 pt, VectorCraft's own
  size, as for a .cdr page; PROVENANCE R61 says so. PROVENANCE also names
  the other program's .cmx reader, read for field order.
2026-11-18 17:54:13 -08:00
dotCooCoo 59012217f6 Tests: the Format list test chooses a built-in format away from the list's end
The test chose the last format Export As lists. A test running beside it
can add an exporter plug-in's format after the built-in ones, which
moves that end of the list. The test now chooses the built-in format
six from the end of the built-in ones, which is out of view when the
list opens at its top and keeps the same rows around it whether or not
a plug-in format follows.
2026-11-18 17:53:57 -08:00
dotCooCoo 915a609fc4 i18n: Indonesian translates the compound shape no-area warning
The Indonesian catalog had no row for the warning Make Compound Shape
gives when a member encloses no area, so the status bar showed it in
English and compound_shape_no_area_warning_is_translated failed for id.
2026-11-18 17:53:45 -08:00
dotCooCoo b4d565aeea Merge main into fix/palette-typo-swap-insert 2026-11-18 17:49:56 -08:00
dotCooCoo 33098bd347 Command Palette: a word another result means still finds its typo matches
A query word that some result matched only through a word with the same
meaning was not compared with the words it may be a typo of. "spin" means
rotate, so "spin anchors" found neither Zz Rotate Canvas nor Zz Span
Anchors. Such a word is now compared like a word that matches only
descriptions. A word that is itself a word, base word or word start of a
name, menu path or id still gets no typo matches, and a result matched
through the word with the same meaning still ranks above a typo match.

Docs: the typo line in docs/target-app-parity.md.
2026-11-18 17:49:09 -08:00
dotCooCoo 00f9a9c205 Brushes: main's eraser and bristle tip tests take the stylus wheel
The Bristle tip outline reads the five pen controls and leaves the
wheel unused. The bristle tip test's pen pose gives no wheel, and the
eraser test's mode error lists `stylusWheel`.
2026-11-18 17:44:35 -08:00
dotCooCoo c53d44461a Merge main into feat/palette-empty-search-recent 2026-11-18 17:39:51 -08:00
dotCooCoo d5a69ce493 Merge main into feat/fill-area-tool 2026-11-18 17:39:27 -08:00
dotCooCoo e886b7ddfd Shapes: a Circle tool click near the first point leaves no circle shown
A second press within 3 screen points of the first point but not on it,
let go where it was pressed, placed nothing but left the pointer at the
press, so the tool showed a circle about 2 pt across until the pointer
moved. Such a click now puts the pointer back on the first point.
2026-11-18 17:38:54 -08:00
dotCooCoo b211724589 Merge main into feat/save-pdf-save-summary 2026-11-18 17:36:48 -08:00
dotCooCoo 8e98dbb310 Isolation: object.isolate refuses a ruler guide
An isolated ruler guide left the Layers panel with no rows, since the
panel lists no object row for a ruler guide. object.isolate now returns
"ruler guides can't be isolated" and isolation mode stays as it was.
2026-11-18 17:36:46 -08:00
dotCooCoo bae4defa45 Symbols: Average sizes are sizes on the page, and a pen pressure change where the pen stays is kept
The Sizer's and the Sprayer's Average compare each instance's size on the page, so a set that
holds instances of different symbols meets at their mean drawn size. A symbol without a recorded
size is measured by its art, once per command. With Size: Average and no instance under the brush,
a sprayed instance has its symbol's own size whatever `scale` is, and new instances are spaced by
the size they are placed at. With Use Pressure Pen, a drag sample at the same position is kept when
the pressure changes by 0.05 or more.
2026-11-18 17:34:48 -08:00
dotCooCoo a0274c6feb Dimension: a set arrowHead matches its Arrow Style entry
Through ui.dialog.set, a built-in arrowHead now sets both values of its
Arrow Style entry, as the menu does: Slash sets arrowStyle tick and
clears arrowHead, so the saved options match a menu pick of Tick.

The Target arrowhead gets an arrowhead row in the ca, es, hu, it, ko,
ru and uk catalogs, whose plain Target row names a destination or an
object rather than the shape.
2026-11-18 17:32:13 -08:00
dotCooCoo c433837981 Shapes: Curvature Circle docs say when a smooth mark counts and when drawn circles are reachable
shape.curvatureCircle's description and docs/mcp.md now say a smooth mark only overrides the corner test when both handles are pulled out and no segment of no length lies before the anchor. The tool and docs/mcp.md say the pointer reaches the drawn circles again once another tool is chosen.
2026-11-18 17:30:45 -08:00
dotCooCoo 47f435cceb Preferences: Default Language applies only while [Normal Character Style] sets no language
New type takes a language that a redefined [Normal Character Style] gives before the Hyphenation default, as new_type_style does, so the description and its translations say so.
2026-11-18 17:28:49 -08:00
dotCooCoo 22a630b54e Merge feat/proof-setup-customize into feat/proof-setup-save-load 2026-11-18 17:25:55 -08:00
dotCooCoo 4080708714 Merge main into feat/stylus-wheel 2026-11-18 17:25:37 -08:00
dotCooCoo c5863cd11a Docs: radius preview of the Three-Point Arc tool needs Measurement Labels
The tool shows the radius by the pointer only with Measurement Labels on. The progress lines in docs/target-app-parity.md, docs/ui-parity.md and ROADMAP.md now say so.
2026-11-18 17:25:09 -08:00
dotCooCoo 6c36bd840d Merge main into feat/3d-classic-map-art 2026-11-18 17:24:41 -08:00
dotCooCoo 8b890f7c45 Merge main into feat/nature-icons-symbol-library 2026-11-18 17:24:33 -08:00
dotCooCoo b2161d3448 Merge main into feat/prefs-descriptions-appearance-of-black 2026-11-18 17:23:28 -08:00
dotCooCoo 27646e8164 Transform: corner fields and menus play back on the selected rectangles
The Rectangle Properties corner fields and menus now send
`rectanglesOnly` with the selection instead of the selected
rectangles' ids. An action that records them then sets the rectangles
selected when it plays. `object.setLiveShape {rectanglesOnly}` sets the
live rectangles among its targets and leaves the other objects as they
are.

A radius is compared with the radius a corner stores, so a corner that
stores a larger radius than it draws takes the new one, alone or beside
other targets. Radii stored as fractions are still compared as drawn.
2026-11-18 17:23:11 -08:00