Commit Graph
20420 Commits
Author SHA1 Message Date
dotCooCoo c332e13600 Merge main into feat/color-wheel-hsl-sliders 2026-11-18 15:58:55 -08:00
dotCooCoo 0705716dc9 Live Paint: a color chosen with the Live Paint Bucket is the color it paints with
With a Live Paint group selected and the Live Paint Bucket active,
choosing a fill color (a swatch, the Color Picker, the Fill box) painted
the whole selection, so every face and edge of the group took one color
before the bucket painted anything.

While the bucket is the active tool and no ids, id or item are given:
- paint.setFill, paint.setStroke, paint.none, paint.lastColor,
  paint.lastGradient, paint.editGradient, paint.invert,
  paint.complement, paint.swap and paint.default change only the
  defaults, the colors the bucket paints with, and record no undo step;
- stroke.set, stroke.weightUp, stroke.weightDown and stroke.setAdvanced
  (without a brush) change only the stroke for new art;
- the Fill and Stroke proxies, the Stroke panel and its Profile list
  follow those defaults, as they do with nothing selected;
- New Art Has Basic Appearance off no longer copies the selection's
  appearance into them after a command;
- canceling a Color Picker preview puts the bucket's color back.
2026-11-18 15:56:14 -08:00
dotCooCoo c7d78a2dac File formats: open and place .cmx files
.cmx exchange files with 32-bit coordinates open and place as editable
art. vectorcraft-cdr reads the RIFF form CMX1, its header, the color,
pen, line type, dash, outline and arrowhead tables, and each page's
instructions in drawing order, into the drawing model the .cdr reader
uses, so the importer maps pages, layers, groups and curves with uniform
fills and outlines the same way. A layer that holds nothing is left out.
A page that gives no size of its own takes the size of the drawing's
bounds, which the page header stores, and is centered on them.

Text, images, rectangles, ellipses, clipping paths, fills other than
uniform ones and arrowheads are left out, and lenses are not applied;
the warnings name each kind, with rows in every complete catalog.
Big-endian files and files with 16-bit coordinates are refused with a
message. Layouts and their sources are rows R53 to R63 of
crates/cdr/PROVENANCE.md; tests use synthetic files only.
2026-11-18 15:52:44 -08:00
dotCooCoo e35c3b78aa Fix #5941: the Color Picker leaves room for its scroll bar
While the picker's content scrolls, its field and columns are sized to the
window's width less the scroll bar's column. Before, the content filled the
whole width, so with dialogs that scroll sideways when too wide (#8529), in
an app window 504 to 624 pt wide and 380 pt tall the picker scrolled
sideways as a whole and showed no bar beside its content.

The Export As test now also checks that the wheel scrolled the Format list
before it checks that the list opens again at its first format.
2026-11-18 15:51:09 -08:00
dotCooCoo f06643764c Merge main into feat/palette-recent-rank 2026-11-18 15:50:38 -08:00
dotCooCoo f0e541fa24 Merge main into feat/recolor-edit-base-color-menus 2026-11-18 15:50:38 -08:00
dotCooCoo 6774020599 Merge main into fix/followup-8030 2026-11-18 15:50:03 -08:00
dotCooCoo 5e9d4356fe Rerun CI 2026-11-18 15:49:47 -08:00
dotCooCoo 263eb8afdd Merge main into fix/followup-8397 2026-11-18 15:49:38 -08:00
dotCooCoo ec1412a744 Merge main into fix/followup-8269 2026-11-18 15:49:38 -08:00
dotCooCoo 1acab17e6c Merge main into fix/followup-8288 2026-11-18 15:49:37 -08:00
dotCooCoo d6ec24416c Merge main into perf/control-bar-kind-label-cache 2026-11-18 15:49:37 -08:00
dotCooCoo 5fd20606ca Merge main into feat/image-brush-library 2026-11-18 15:49:28 -08:00
dotCooCoo 39c7b14019 Merge main into fix/followup-8252 2026-11-18 15:49:28 -08:00
dotCooCoo 0755b1013b Merge main into feat/swatches-cmd-drop-spot 2026-11-18 15:49:05 -08:00
dotCooCoo b6926e9a31 Preferences: Low-Latency Drawing and Plug-in Instruction Budget get their descriptions
The Performance and Plug-ins & Scratch Disks coverage test failed on the
desktop: Low-Latency Drawing and Plug-in Instruction Budget, which main
added, had no sentence. Both now have one, with rows in every catalog.
2026-11-18 15:48:26 -08:00
yoriswind f787dac15f Merge current main documentation into PR #7652 2026-11-18 15:46:01 -08:00
yoriswind da916087fb Merge current main documentation into PR #6593 2026-11-18 15:45:59 -08:00
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 5b0dc3535a i18n: drop the duplicate es row for "missing path"
main already carries the same Spanish row, so the catalog listed it twice and
bundled_catalogs_are_consistent failed.
2026-11-18 15:45:33 -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 0ee9ffcd45 Tests: "vectorize" finds the image trace commands after the labels that hold "trace"
The search ranks a result whose label holds a word of the query's group
above one that holds it only in its menu path. Edit › Tracing Presets… is
a third label with a form of "trace", next to Batch Trace Folder… and the
Image Trace panel, so the Object › Image Trace commands now come fourth for
"vectorize". The test checks that "vectorize" finds them and that only
results whose label holds a form of "trace" rank above them, in place of a
fixed place in the first three.
2026-11-18 15:38:51 -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
dotCooCoo 6c2e9c5b1a Symbols: drops read the release that ends the drag; other clicks use held keys
A drop of art on the panel, art on a symbol and a symbol on Delete
Symbol read Shift or Alt from the first primary release in the frame,
which is the one that ends the drag. A later click in the same frame no
longer turns a Shift drop into an instance, a plain drop into Redefine
Symbol, or a plain drop on Delete Symbol into a delete without asking.

New Symbol, Delete Symbol and the menu items still read the release
over them. A click with no such release, from the keyboard or a screen
reader, uses the keys held now instead of an unrelated release.
2026-11-18 15:25:30 -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 021587a113 Brushes: keep the Pattern Borders doc comment on its own function 2026-11-18 15:22:44 -08:00
dotCooCoo a5df7cc22b Live Paint: Layers drags keep the sources group and rebuild on hidden moves
- Moving a Live Paint group's sources group out of the group is refused,
  so the group no longer loses its paths and keeps stale faces.
- A shown path moved into or out of a hidden group among the same
  group's paths makes the faces and edges again.
- A Live Paint group with no paths dropped into another with none joins
  it and is left with no faces or edges, instead of failing.
2026-11-18 15:22:01 -08:00
dotCooCoo ec699365f2 Merge main into feat/ornamental-brush-library 2026-11-18 15:21:58 -08:00
dotCooCoo 63bdb29ff0 Merge main into fix/issue-5941 2026-11-18 15:21:06 -08:00
dotCooCoo 1a7f960489 Part of #8432: a Copy or Cut left to the labels keeps its selection
- A Copy or Cut that runs a pass later because no label copied the text
  acts on the selection it was given. A selection made after it in the
  same frame (a Select All) is restored afterwards, without the objects
  a Cut removed and with the pieces it left of a path it split. With
  another document active by then, it does not run.
- The art text that such a Copy or Cut copies at the start of a pass is
  no longer taken for a label's copy, so a Cut pressed in the next frame
  is not dropped.
2026-11-18 15:19:22 -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 de8e421e80 Preferences: describe Plug-in Instruction Budget and tighten four sentences
Plug-in Instruction Budget had no sentence, so the line under the fields
stayed empty for it and the coverage test failed. The new sentence says
Large gives each filter or command plug-in run at least 250 million
instructions with the same time limit, and Normal keeps the plug-in's own
budget.

- Exceptions now says a listed word is hyphenated only at its typed
  hyphens, instead of saying it breaks nowhere else.
- Additional Plug-ins Folder says a plug-in that asks for permissions
  loads only after they are granted.
- System Title Bar and VectorCraft Title Bar on Every Desktop name the
  VECTORCRAFT_TITLEBAR override on Linux and the BSDs.
- The User Interface hover test points only at rows the list shows whole.
2026-11-18 15:16:27 -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 3ef0e5e588 Symbols: the Symbolism tools take their new options, and OK checks them before any change
tool.setOption now accepts usePressure, method, showBrush, the Symbol
Sprayer options, proportional and affectsDensity for the Symbolism
tools, so the Symbolism Tools Options dialog can save them. The dialog
checks every option, the number ranges included, before
symbol.setDensity re-spaces the selected symbol sets.

- Size: Average gives a sprayed instance the mean size under the brush,
  or the symbol's own size with none there, without the size jitter.
- A stroke that moves an instance away and back again does not count
  it, and adds no undo step.
- symbol.adjust reads an instance's own values for Average only.
2026-11-18 15:10:38 -08:00
dotCooCoo 98049da84c Merge main into feat/palette-description 2026-11-18 15:10:37 -08:00
dotCooCoo 762182367c Merge main into fix/psd-knockout-layers-merge 2026-11-18 15:10:37 -08:00