Commit Graph
18648 Commits
Author SHA1 Message Date
dotCooCoo 35d2cb680a Tabs: the tabs after the leading tab are drawn whole
With a leading tab, the tabs after it fit whole by construction, but
each one's room was the strip's width less a running sum of the widths
before it. That sum can come out a fraction of a point short of a tab's
width, which shortened the active tab's title though it fits. The tabs
after the leading tab now take their whole widths. `leading_tab` and
the new `tab_room` have unit tests, and the frame test's doc comment
now says that the strip used to end short of the » button.
2026-11-18 19:30:33 -08:00
dotCooCoo f4b015cf08 EPS: a diamond gradient without a frame is its color at 1
A diamond gradient whose vector has no length has no inside, and the
renderer draws it with its color at 1 everywhere. With two stops at 1,
that is the first of them, which ends the stretch before it. The EPS
writer painted the last stop instead, so such a diamond came out in the
other color, and on a PostScript plate an overprinting one whose last
stop is paper white knocked out the ink below at Level 3. The writer now
paints the color at 1, and on a plate leaves the ink below when that color
is paper white, at both levels.
2026-11-18 19:13:08 -08:00
dotCooCoo c5afb93d67 Print: the hard-stop plate test checks where each gradient puts cyan
an_overprinting_gradient_with_a_hard_stop_at_an_end_keeps_the_ink_below_on_a_postscript_plate
compared each PostScript plate with the PostScript plate of the gradient
alone, so a writer that dropped the gradient from both still passed. It
now also reads the plates at fixed points (halfway along the vector, before
its start for the linear gradient, and past its end) and checks that the
gradient's own cyan prints there, alone and over the cyan below, where the
level's painter puts some down, and that the cyan below prints elsewhere.
2026-11-18 19:12:08 -08:00
dotCooCoo bd2a18c9ca Symbols: the same-frame Shift and Alt test checks that each action took effect
shift_or_alt_let_go_after_the_release_in_the_same_frame_still_counts
checked only that the rectangle stayed ordinary art, which also holds when
the click does nothing. It now checks that New Symbol (button and menu)
makes the symbol and that Redefine Symbol changes Dot's art.
2026-11-18 19:12:08 -08:00
dotCooCoo 844d427ae0 i18n: fit the Georgian plug-in budget description in three lines
The Georgian row for the larger plug-in instruction budget wrapped past
the three lines the Preferences description line holds.
2026-11-18 19:10:26 -08:00
dotCooCoo 39190add8b Merge main into feat/engraving-brush-library 2026-11-18 19:04:50 -08:00
dotCooCoo 397ae58390 Merge main into fix/followup-8463 2026-11-18 19:02:05 -08:00
dotCooCoo f63ef4d511 Merge main into fix/followup-8489 2026-11-18 19:00:32 -08:00
dotCooCoo dbd1799b38 Merge main into fix/linked-handle-repeat-no-undo 2026-11-18 19:00:06 -08:00
dotCooCoo 34aec3d3d6 Merge main into fix/issue-8568 2026-11-18 18:59:37 -08:00
dotCooCoo d3acfff661 i18n: French "Device to Simulate:" takes a no-break space before the colon
The French row had an ordinary space before ":", which
french_catalog_uses_nonbreaking_prose_punctuation rejects on main.
2026-11-18 18:57:04 -08:00
dotCooCoo fc6fea6da5 Merge main into feat/proof-setup-customize 2026-11-18 18:56:45 -08:00
dotCooCoo 9ae8317fa3 Merge main into feat/prefs-descriptions-hyphenation 2026-11-18 18:56:38 -08:00
dotCooCoo b06002bdfb Merge main into fix/pen-rubber-band-close-join 2026-11-18 18:56:01 -08:00
dotCooCoo 45ac7ce054 Merge main into feat/reflect-tool-two-click-axis 2026-11-18 18:54:48 -08:00
dotCooCoo b1790aeb8d Merge main into feat/swatches-alt-drag-pattern-replace 2026-11-18 18:54:44 -08:00
dotCooCoo 479ebeefdc Merge main into fix/point-tangents-same-lines-test 2026-11-18 18:54:38 -08:00
dotCooCoo c8f0642e75 Merge main into feat/save-pdf-custom-flattener 2026-11-18 18:54:09 -08:00
dotCooCoo 3c2275b458 Merge main into feat/prefs-descriptions-clipboard 2026-11-18 18:53:35 -08:00
dotCooCoo 7d44690b52 Merge main into feat/retype-matching-fonts 2026-11-18 18:52:29 -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 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 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 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