Commit Graph
19746 Commits
Author SHA1 Message Date
dotCooCoo e6d8e2d23f Path Precision Tools: Add Bounding Circle keeps curves close past its split budget
Once a shape has used its 1,048,576 splits at any depth, Add Bounding Circle
still splits each further curve into up to 8 pieces, from a second budget of
7,340,032 splits shared among the shapes as the first one is. Only after
both are used up does a curve count whole by its control points' hull cut
down to its bounding box. Before, every curve past the first budget counted
whole, which can make the circle around a circle about 14% larger; with the
8 pieces the fit stays less than 0.3% larger.

- The comment on the shared budget no longer claims that the shape around
  one object is independent of the other objects selected.
- shapes::enclosing_circle and convex_hull move below the star helpers.
- The "Each" label mapping in the dialog form sits after "Flip Cols".
- docs/mcp.md and docs/target-app-parity.md describe both budgets and the
  size of the fit before the 0.01 pt is added.
2026-11-18 19:51:39 -08:00
dotCooCoo 3ed0218033 Tabs: a shortened title shows at fractional tab widths
egui rounds a wrap width to the nearest point, so a shortened title laid
out for 66.5 pt could come out 67 pt wide, and the tab then hid it as
too wide for its room. The width is now rounded down before the title
is laid out. A new test lays the title out at every quarter point from
the width of "…" to 200 pt and checks that each one fits.
2026-11-18 19:49:24 -08:00
datatimp 2c78f2e2cb Layers: target circles take Ctrl/Cmd-click to add and Shift-Click to select a range (#8639) 2026-11-18 22:42:59 -05:00
jayzed80 4443403b3b Merge remote-tracking branch 'upstream/main' into fix/all-tools-panel-text-dim-8294
# Conflicts:
#	docs/roadmap.md
#	docs/target-app-parity.md
#	docs/ui-parity.md
2026-11-19 03:40:16 +00:00
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 bbebe93472 Tests: count the Nature Icons symbols among the built-in library names
The built-in symbol names test expects 37 distinct names now that Nature
Icons adds Leaf, Flower, Tree, Mountain and Wave.
2026-11-18 19:03:03 -08:00
dotCooCoo 397ae58390 Merge main into fix/followup-8463 2026-11-18 19:02:05 -08:00
dotCooCoo f4e2f3e79b Merge main into fix/select-widget-drags-settle 2026-11-18 19:01:05 -08:00
dotCooCoo f63ef4d511 Merge main into fix/followup-8489 2026-11-18 19:00:32 -08:00
dotCooCoo 1bb3becb27 MCP: the UI command catalog lists Circle Tool Options
crates/mcp/src/ui_catalog.rs is regenerated from ui_commands.rs, so the tool.options entry describes the circleOptions dialog as the desktop table does.
2026-11-18 19:00:16 -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 e7f6a55fc8 Merge main into feat/palette-clear-counts 2026-11-18 18:56:15 -08:00
dotCooCoo b06002bdfb Merge main into fix/pen-rubber-band-close-join 2026-11-18 18:56:01 -08:00
dotCooCoo 95d69be2e3 Merge main into feat/decorative-brush-library 2026-11-18 18:55:19 -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 02dca8dcf0 Merge main into feat/distorted-image-commands 2026-11-18 18:53:13 -08:00
dotCooCoo 7d44690b52 Merge main into feat/retype-matching-fonts 2026-11-18 18:52:29 -08:00
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