Commit Graph
10247 Commits
Author SHA1 Message Date
dotCooCoo ab2c9b4dc8 Show in Browser: no --connect hint, disabled on the web, no folder left after a failed write
The headless MCP error for attributes.openUrl, file.export.svg.browser,
file.saveForWeb.browser and file.showPackage says only the person at the
keyboard can run them, instead of suggesting --connect: the desktop app
refuses all four for every control and MCP request.

Show in Browser and Preview in Browser are disabled on the web build, so
the command palette no longer offers them there.

A failed write in Show in Browser, or a failed export in Preview in
Browser, removes the folder made for that preview. The Show in Browser
tests write their previews to a temporary folder of their own.
2026-11-18 15:45:40 -08:00
dotCooCoo c6b70feb66 Merge main into feat/save-pdf-save-summary 2026-11-18 15:45:40 -08:00
dotCooCoo 82c7655749 Merge main into feat/layers-panel-isolation-list 2026-11-18 15:45:26 -08:00
dotCooCoo 10b2f445b2 Recolor Artwork: an edit right after another color group or Save Changes is a step
Dropping the dialog's steps now keeps the fields as they are then as
where Undo Changes starts again, as a new opening does, so rows set with
ui.dialog.set before the next frame can be undone.
2026-11-18 15:42:07 -08:00
dotCooCoo 95ed13dd80 Color Settings: answer the review of the profile prompts
- An absolute-colorimetric conversion from CMYK starts from the source's
  absolute appearance.
- An assigned profile that was removed counts as the working space when
  copied colors are compared.
- Colors that can't convert are listed with convertible false, start on
  Preserve Numbers, and the dialog disables Convert for them.
- Paste on All Artboards leaves the backgrounds of copied artboards out of
  the question (clipboard.profileMismatch allArtboards).
- A converting paste into its own document keeps its image keys.
- An open answer is refused once Color Settings change the question; the
  dialog asks the new question, or opens by the policy.
- Files opened while a question is open ask their own questions in turn.
- OK on the paste question and on Swatch Conflict checks again where the
  paste runs and asks again when the question changed.
- docs/mcp.md and the command help describe these rules.
2026-11-18 15:42:03 -08:00
dotCooCoo d94d3ef097 Type: the missing-font question takes its answer through tool.setOption
- `tool.setOption {key: "missingFontEdit", value: {token, ok}}` now passes
  the Type tool's option check, so a client can answer the question that
  a click on type in a missing font asks. Before, it failed as an unknown
  option.
- A press on such type that reaches the Type tool while another dialog is
  open (sent with `pointer_gesture`) leaves that dialog open and starts no
  edit, instead of replacing it.
- docs/mcp.md says which double-clicks ask, and that OK starts no edit
  when the document changed after the question opened.
- The doc comment of `GENERIC_FAMILIES` notes that `emoji` is kept
  although CSS Fonts Module Level 4 dropped it.
2026-11-18 15:41:34 -08:00
dotCooCoo 1d7f3f6f22 Color Wheel: fix OKLCH and HSL slider review findings
- The largest chroma at a hue near a primary color finds the stretch past
  the first gamut edge, so pure blue at chroma 0.4 stays blue. The C track
  dims the gap between the two stretches.
- Oklab conversions use the signed sRGB transfer curve for channels below 0.
- HSL hues wrap before the channel offsets; Color::to_hsl and from_hsl are
  removed, so callers pass the color settings themselves.
- color.convert {to: "oklch"} clips RGB numbers past 0 to 1, as hex does.
- A hue on a gray, or a saturation on black or white, leaves a Gray paint
  unchanged and records no undo step.
- Remembered row and wheel components are dropped once the panel shows
  another color or target.
- Hiding or switching the rows during a row drag keeps the preview as one
  undo step and ends the interaction.
- The L and H tracks keep their colors until the other two components
  change, so a frame does not search the gamut for every track color.
- Docs name the document's assigned profile as the RGB space OKLCH Sliders
  need, and give color.convert's example its color.
2026-11-18 15:37:33 -08:00
dotCooCoo ed8bfd173a Color Wheel: docs say a null opacity keeps the setting
docs/mcp.md now says that ui.colorWheel keeps the opacity setting when the key is null, as the code and the params text already do. The opacity row uses the Tokens import that the merge of main added.
2026-11-18 15:31:59 -08:00
dotCooCoo b304143435 Docs: list the targets Align uses for selected anchor points
The progress line said selected anchor points align only to each other and
that aligning to a key anchor was missing. Align also moves them to the
artboard, to a key guide and to a key anchor, as the named tests check.
2026-11-18 15:30:46 -08:00
dotCooCoo 83a1fbbcd8 Symbolism: the Sprayer's User Defined Style applies the style picked in Graphic Styles
A click in the Graphic Styles panel set the style only for the Symbol
Styler, so the Sprayer with Style: User Defined sent no style and sprayed
the document's first style after the default one. The two tools now share
the style option.
2026-11-18 15:28:52 -08:00
dotCooCoo 3b537de2a0 Color Wheel: contrast follows isolated groups, lower rows and drags
- color.contrast carries out the alpha of an isolated level's own
  composite, so an isolating object in a blending group matches the
  canvas.
- A selection whose translucent or blending rows lie over different
  shown rows below them has no one answer; rows with no paint do not
  count.
- The error names `opacity` when giving it settles the difference.
- The Color Wheel reads the background again when a drag moves the
  selection.
- RatioKey has named fields.
- docs: graphics has an AA result only.
2026-11-18 15:25:31 -08:00
yoriswind f4f67ed66b #8068: retain sampler gestures and merge current main documentation 2026-11-18 15:25:23 -08:00
dotCooCoo 6aaf741118 Merge main into feat/vector-packs-library 2026-11-18 15:24:50 -08:00
dotCooCoo 81d229444c Preferences: the Hyphenation sentences name the exceptions to their rules
Default Language applies only while [Normal Character Style] sets no language, as new type takes that style's language first. A hyphen typed in an exception is not used inside a character cluster of an Indian language, and Korean words take no hyphen.
2026-11-18 15:24:26 -08:00
dotCooCoo a78b648a3c Merge main into feat/color-wheel-opacity 2026-11-18 15:23:42 -08:00
dotCooCoo 6e8a8e8cdb Shapes: a Circle tool release near the press is a click, also after a drag
A press dragged away and let go within 2 screen points of where it was
pressed was still taken as a drag. A second press dragged out and back
drew the circle through three nearly collinear points, or nothing, and a
press on the first point drew a circle about 1 pt across. The release
distance now decides: such a release keeps the press's point, so a second
press draws the circle on the diameter to it, a press on the first point
places nothing, and a first press places the first point. The preview
and the guides of the drag go with it.
2026-11-18 15:18:56 -08:00
dotCooCoo bf4c7955d1 Brushes: library test finds built-in entries by id
The built-in library test read names and counts at fixed positions in
the list, so adding Decorative and Arrows moved the entries it expected
and the Dry Media check read Energy Beams. It now looks each entry up by
id and also checks Decorative's count.

The Decorative test now checks that a path four tiles long places each
motif four times, one tile apart, and tells the brushes apart by their
tile geometry instead of their anchor counts.

The G5 Missing entry counts thirteen brush libraries, and the M10 row
names Decorative beside Arrows.
2026-11-18 15:13:31 -08:00
dotCooCoo a7d9609ce6 Merge main into feat/paint-brush-library 2026-11-18 15:12:11 -08:00
dotCooCoo 72cf14640d Merge main into feat/transform-rect-ellipse-angle 2026-11-18 15:10:49 -08:00
dotCooCoo b2dfcdba3e Merge main into fix/pen-rubber-band-close-join 2026-11-18 15:10:39 -08:00
dotCooCoo 762182367c Merge main into fix/psd-knockout-layers-merge 2026-11-18 15:10:37 -08:00
dotCooCoo 24d04bd50b Merge main into feat/hpgl-options-dialog 2026-11-18 15:10:32 -08:00
dotCooCoo 62c36cccea Merge main into fix/sv-message-rows 2026-11-18 15:10:25 -08:00
dotCooCoo f80f6aa220 Merge main into fix/export3d-revolve-side-graphics 2026-11-18 15:10:10 -08:00
dotCooCoo 91cf522298 Merge main into feat/palette-dimmed-rows 2026-11-18 15:09:36 -08:00
dotCooCoo b380a33ffc Merge main into fix/point-tangents-same-lines-test 2026-11-18 15:09:36 -08:00
dotCooCoo 6d8b6f11e2 Merge main into feat/save-pdf-custom-flattener 2026-11-18 15:08:17 -08:00
dotCooCoo 016eb00812 Merge main into fix/docs-language-counts 2026-11-18 15:07:19 -08:00
dotCooCoo 178c1ba233 Merge main into feat/prefs-descriptions-devices 2026-11-18 15:07:12 -08:00
dotCooCoo 480571af82 Layers: layer.locate opens the rows around a row it does not scroll to
Locate Object opens the layers around the object even when the row is
not in the list, and only the scroll depends on the row being listed.
Editing an opacity mask on another layer also leaves the row out
(crates/ui-egui/src/panels/layers/model.rs). The params text and
docs/mcp.md now say both.
2026-11-18 15:05:37 -08:00
dotCooCoo 97a2b802a4 Symbolism: tool.setOption takes every Symbolism option, and OK checks ranges first
- The Symbolism tools' check_option accepts usePressure, method,
  showBrush, the six Sprayer options, proportional and affectsDensity,
  so tool.setOption and the options dialog's OK save them.
- OK runs both of tool.setOption's checks, ranges included, before
  symbol.setDensity, so a refused diameter leaves the sets' density.
- Average skips a stain or style at opacity 0: the Sprayer's mean and
  the Stainer and Styler take the visible one's paint.
- symbol.adjust reads an instance's look only for Average and the Shift
  recolor, so the Shifter moves an instance whose transform flattens it.
- restack collects the parents in a BTreeSet.
- The symbol.spray, symbol.setDensity and symbol.adjust texts and
  docs/mcp.md describe the size base and jitter, the third point value,
  the starting density, the Random and Alt Styler, and density errors.
2026-11-18 15:02:02 -08:00
dotCooCoo e88901bf6c Merge main into feat/fogra51-52-cmyk-v2 2026-11-18 14:59:04 -08:00
dotCooCoo d41ba36f36 Merge main into feat/artistic-brush-library 2026-11-18 14:58:43 -08:00
dotCooCoo eb334e5d14 Tests: look up brush libraries by id and check Stipple's tint and opacity
The library list test finds each library's count by its id, so a library added to the list does not shift the checks. The Stipple test draws each brush with a red stroke and checks that every dot takes the stroke color and that only Soft Stipple's dots are translucent.
2026-11-18 14:55:48 -08:00
dotCooCoo a273744896 Recolor Artwork: another color group or Save Changes leaves Undo Changes no step
Selecting another color group in the Color Groups list, or no group, and
Save Changes now clear the dialog's own history. Before, Undo Changes
could restore rows read for the previous group, and OK then wrote them
to the group now selected; after Save Changes it could restore colors
the save had already replaced in the document.
2026-11-18 14:55:25 -08:00
dotCooCoo 9754344712 Dimension tool: a dimension locked while another is placed is no longer a level
The engine test that runs commands while a linear dimension is placed now
also locks the other dimension, as well as hiding and deleting it, and
checks that no guide runs along its level.

docs/dimensions.md says that layers and groups count toward the 20,000
objects the tool reads for levels.
2026-11-18 14:52:47 -08:00
dotCooCoo e0e0e1f7f7 Merge main into feat/transform-show-on-shape-creation 2026-11-18 14:52:38 -08:00
dotCooCoo f02f35a7da Merge main into feat/paper-cutouts-style-library 2026-11-18 14:50:56 -08:00
dotCooCoo b6fdf59eb9 Fix #8568: Shift moves check an artboard guide's reach as before
A diagonal Shift move that slides onto a ruler guide again checks an
artboard guide's run where the move put the bounds, not where the slide
would put them, so the guides a Shift move reaches are the same as on
main. A selection held by its edge still checks where the slide puts
the bounds. A test covers a diagonal Shift move whose middle is beyond
an artboard guide's end.

The Drawing aids line now names the Selection tool for edge holds and
says the slide does not go past the path's ends.
2026-11-18 14:50:33 -08:00
dotCooCoo 1f1dc6b7d5 Swatches: New Swatch and Delete Swatch drops carry hidden selected swatches and go by the release
A selected swatch dragged onto New Swatch or Delete Swatch now carries
every selected swatch of its kind, also those the find field or the
kind filter hides, as a click on Delete Swatch does.

Both buttons take the drop from the first pointer button released in
the frame and from where it was released: a secondary release ends the
drag even when the primary release follows in the same frame, a release
on the button counts when the pointer leaves it later in the frame, and
a release beside the button, or on the button while another window
covers it, does not count.
2026-11-18 14:49:52 -08:00
dotCooCoo 269e8d85fe Dimension: arrowhead names in every complete catalog
The de, gu, it, ja, ko, uk, vi, zh-hans and zh-hant catalogs had no rows
for the built-in arrowhead names, so the Stroke panel and the Dimension
tool's Arrow Style showed them in English, and no catalog had Line Arrow.
Those nine catalogs get the names, every catalog gets Line Arrow, and
built_in_arrowhead_names_are_in_complete_catalogs checks them. Feather is
left out of the nine: a plain Feather row would also rename the History
steps of the Feather effect.

Dimension art is saved as child paths whose strokes carry the arrowhead,
so the docs, params text and comments no longer say that older versions
draw arrowStyle in place of arrowHead.
2026-11-18 14:47:13 -08:00
dotCooCoo c5e318772f Merge main into feat/edit-tracing-presets 2026-11-18 14:47:07 -08:00
dotCooCoo 728d30b5e5 Merge main into feat/circle-from-center
# Conflicts:
#	crates/ui-egui/src/i18n/tests.rs
2026-11-18 14:47:04 -08:00
dotCooCoo 69983aa7eb Merge main into feat/kinsoku-sets 2026-11-18 14:39:17 -08:00
dotCooCoo eb19c0438b Merge main into feat/color-wheel-harmony 2026-11-18 14:37:28 -08:00
dotCooCoo 1edaf222e1 Merge main into feat/color-wheel-document-colors 2026-11-18 14:37:17 -08:00
dotCooCoo 996d095b35 Swatches: a drop reads Cmd/Ctrl and Alt from its release, and Alt alone keeps a tint's paint
The Swatches panel took Cmd/Ctrl and Alt for a drop from the modifiers held at the end of the frame, so a key let go in the same frame after the release changed the drop. It now reads them from the primary button's release event.

An Alt-only drop of a tint on a solid swatch sent the color the drag showed. It sends the tint as before again; only Cmd/Ctrl+Alt sends the shown color.
2026-11-18 14:34:08 -08:00
dotCooCoo 70c0f533f6 Transform: Show on Shape Creation counts shapes drawn in perspective
With the perspective grid shown and a plane active, a Rectangle,
Ellipse, Polygon, Star or Line Segment drag is journaled as
perspective.draw naming the shape command. note_shape_drawn now counts
that entry, alone or as a batch step, so the Transform panel opens for
a shape drawn on the plane too. perspective.draw naming another shape
(a flare, for example) still does not count.

The Transform tests now move a selected rectangle and check that the
move succeeded before checking that the panel stays closed, and check
that the frames after a shape draw the panel's controls, with a control
run where the option is off.
2026-11-18 14:27:27 -08:00
dotCooCoo c103a88649 Merge main into feat/cdr-import-all 2026-11-18 14:27:18 -08:00
dotCooCoo 92dc3fa63d Layers: layer.locate's reference names when the panel does not scroll
The Layers panel scrolls to the located row only when that row is in its
list (crates/ui-egui/src/panels/layers.rs, where `revealed` is the row's
position in the listed rows). With Show Layers Only, a search or the
filter leaving the row out, a Locate does not scroll. The command's
params text and docs/mcp.md said it scrolls on every call.
2026-11-18 14:24:51 -08:00