Commit Graph
10241 Commits
Author SHA1 Message Date
dotCooCoo 2b56129505 Merge main into feat/prefs-descriptions-clipboard 2026-11-18 17:21:39 -08:00
dotCooCoo b5333e6af1 Merge main into feat/indonesian-translates-every-status-and-error 2026-11-18 17:20:43 -08:00
dotCooCoo 8642b3e2b0 Merge main into feat/recolor-dialog-undo-redo 2026-11-18 17:20:11 -08:00
dotCooCoo dc26a6acd7 Merge main into feat/reflect-tool-two-click-axis 2026-11-18 17:20:11 -08:00
dotCooCoo 379bc18b33 Color Wheel: docs name paint.setStroke for the stroke opacity
The Show Opacity row sets a stroke's opacity with paint.setStroke {opacity}, as
apply_opacity sends it. The panel docs, params text, docs/mcp.md and the
progress-doc line now name that command for the stroke row.
2026-11-18 17:18:58 -08:00
dotCooCoo d8d9cc4717 Docs: note that the pixel grid snap can move the key anchor after Align 2026-11-18 17:17:46 -08:00
dotCooCoo e2e5307106 Retype: the docs say the panel lists fonts matching any selected shape
The Retype panel lists every font whose glyphs exactly match at least one
selected outlined shape, ranked by how many shapes each matches. The rows
in docs/type-parity.md and docs/ui-parity.md now say so.
2026-11-18 17:17:08 -08:00
ruchirguitar 175c180a62 Merge origin/main into feat/layers-guide-context-menu 2026-11-19 06:46:44 +05:30
dotCooCoo 2eeb582f35 Merge main into feat/proof-setup-save-load 2026-11-18 17:16:14 -08:00
dotCooCoo f5b2dfa8b4 Merge main into feat/curvature-circle 2026-11-18 17:15:45 -08:00
dotCooCoo 621c06bd26 Free Transform: distorted images keep their corners and placement through files, exports and refusals
- A file's corners are kept only when there are exactly four that the
  image can take; a longer list is skipped without decoding it. Corners
  the affine map misses stay a distortion, and a scale past the
  perspective limit leaves the image at its nearest affine placement.
- Distort checks the corners in a frame local to the quad, so a missed
  corner far from the origin is still refused.
- Relink and Unembed refuse a named or selected distorted image before
  searching a folder or writing a file. Create Gradient Mesh lists the
  distorted images it leaves in `skipped`. Place with Replace refuses
  only when the measured image is distorted and the file is not text.
- SVG cuts a distorted image in a scaled symbol instance at the placed
  size. EMF pieces store only the pixels inside their clip. PDF mesh
  pieces of a CMYK image keep a same-corner mask as its soft mask, color
  mask included. Both `.ai` writers write an image at the nesting limit
  at its nearest placement with a warning. DXF warns only when it writes
  the image.
- The canvas cuts the mesh by the view's largest stretch. Warped images
  with a singular placement keep finite corners.
- docs/mcp.md and docs/plugins.md describe the tolerances, the DXF and
  WMF fallback, the partial result of Create Gradient Mesh, and when a
  plug-in sees `corners`.
2026-11-18 17:13:56 -08:00
dotCooCoo 6561c30c8f Layers: isolation mode keeps menus, drops and Show Layers Only to the isolated art
- With Show Layers Only on, an isolated group or object is listed as the
  top row instead of leaving the panel empty.
- Duplicate Selection in the panel menu sends the rows the panel lists,
  so a highlighted row outside the isolated art is not copied.
- In isolation mode the Hide, Outline and Lock Others pairs in the panel
  menu and the row menu are off, and Alt-clicks on an eye or a lock
  change nothing. Locate Layer is off while a group or object is
  isolated.
- OK in Delete Selection's question deletes nothing when isolation mode
  started while it asked and a row it asked about is outside the
  isolated art.
- The isolated row shows no drop place for an Alt-drag onto itself, and
  a guide is not dropped on a layer outside the isolated art.
- Each document's isolation mode is followed on its own, so a document
  first shown in isolation mode opens its isolated row.
- The isolation test steps out of a sublayer one level at a time, as
  Exit Isolation Mode now does.
2026-11-18 17:07:30 -08:00
dotCooCoo 32e7344cb9 Merge main into feat/arc-by-points 2026-11-18 17:04:49 -08:00
dotCooCoo 59752f7ebf Swatches: Color Group Options renames only the group it opened on
OK closes the dialog and renames nothing when another document has
become the active one, or when the color group at the group's place in
the list no longer has the name and swatches the dialog opened with.

swatch.renameGroup makes a drag still in progress an undo step of its
own first, so canceling or undoing the drag leaves the rename.

ui.colorGroupOptions without group opens on the color group selected
alone in the Swatches panel, as long as the panel's selection still
belongs to the active document and art.

The panel's selection follows renames in a command.batch only up to the
first step that may switch documents or replace a group. Ungroup Color
Group and Delete Swatch take the names they removed out of the
selection.

The es catalog had the missing `group` and no colour group `{group}`
rows twice after the last merge of main; the duplicates are removed.
2026-11-18 16:58:21 -08:00
dotCooCoo cd640a6183 Merge main into fix/issue-8568 2026-11-18 16:47:45 -08:00
dotCooCoo 76705afc2f Dimension: leave a null arrowHead out of saved options
Saved and recorded dimension options carried "arrowHead": null even
without a stroke head, so a recorded dimension.create failed in versions
that do not know the option. The field is now left out when it is null.
dimension.create, dimension.update and Dimension Tool Options still take
it. The name is read without a copy of its own, and a name longer than
any built-in one is refused before it is parsed. Through ui.dialog.set,
an arrowStyle set in Dimension Tool Options clears arrowHead, and a
built-in arrowHead sets the arrowStyle of its Arrow Style entry, as that
menu does. The Arrow Style field reads only a built-in head's name from
a draft.

The Stroke panel and Arrow Style look up a built-in arrowhead's name in
the catalog's arrowhead rows first, then its plain row. Every complete
catalog gets an arrowhead row for Feather, so the Feather arrowhead is
named as an arrowhead in each, and the de, gu, it, ja, ko, uk, vi,
zh-hans and zh-hant catalogs no longer show it in English.

Versions that have the stroke arrowhead but do not read arrowHead keep a
dimension's saved arrows until they draw the dimension again, and then
draw arrowStyle; versions without the stroke arrowhead do not open the
file. The params text, the doc comments, docs/dimensions.md, docs/mcp.md
and docs/target-app-parity.md say so.

The French Line Arrow row moves next to the other rows of its block.
2026-11-18 16:46:10 -08:00
dotCooCoo c870693669 Preferences: describe Low-Latency Drawing and Plug-in Instruction Budget
Low-Latency Drawing and Plug-in Instruction Budget joined the Performance
and Plug-ins & Scratch Disks categories after these descriptions were
written, so the test that every setting has a sentence failed on them.
Each now has a sentence with a row in every complete catalog, and the
Performance and Plug-ins hover tests include their rows.

The hover tests now count a label as shown only while its center is
inside its clip rectangle, so the pointer is never moved onto a row that
is half scrolled out of the list. The Performance hover test also waits
for the smooth scroll to settle before it moves the pointer, as the File
Handling test does.

The six Polish description rows that called artwork "grafika" use
"kompozycja", the catalog's term. docs/target-app-parity.md states the
same Automatic graphics processor order in the Performance entry and
under Graphics processor.
2026-11-18 16:41:13 -08:00
dotCooCoo aec24ad610 Swatches: Add Used Colors ends typing first and keeps other Global Edit members' colors
swatch.addUsedColors ends a typing session in progress before it reads
the colors, so typing is its own undo step and its colors are counted,
also when the run finds no new color. With Global Edit on, linking the
selected art to its new swatches no longer gives that paint to the other
members, so a member with another color keeps it.

The menu test also checks that Add Selected Colors is disabled with
nothing selected.
2026-11-18 16:37:57 -08:00
dotCooCoo e8d070ea37 Retype: the panel says when a search left shapes out
retype.find keeps the `truncated` flag type.retypeFonts returns, and
retype.list returns it. When shapes past the first 2,048, or more than
16 groups deep, were not compared, the panel says so under the field.

- Rows for that line and for the "Retype: select outlined text (paths
  or compound paths)" error in every complete catalog. The panel shows
  that error when a search finds no path to compare.
- The params text and docs/mcp.md say "the fonts whose glyphs match the
  selected outlined text". docs/type-parity.md's Retype row lists the
  missing Type menu, context menu and Quick Actions entry points and the
  favorites filter, as the other two docs do.
- Font samples: when eight samples are rendering, finished ones join
  the ready samples before a new one starts. Samples whose text changed
  while they rendered were never asked for again, so after eight of them
  no sample started; typing in the panel's sample field reaches that.
- The panel test that checks the first-ranked font accepts a tie with a
  renamed copy that other tests load into the shared font database.

Part of #4934.
2026-11-18 16:27:05 -08:00
dotCooCoo 52e959d4be 3D (Classic): Map Art keeps to the limits the art draws within
- When any solid's mapped art passes the shared limits, every solid in
  the effect draws without its mapped art, so Invisible Geometry hides
  all of them or none.
- A revolved group lists its surfaces with the members' shared curve
  sampling, and an extruded group lists none past the faces of one
  object.
- Commands refuse art on walls, bevels and Revolve's side whose curves,
  cut into straight pieces at the map's scale and placed about the
  surface's center, pass 400,000 points. Caps are not counted.
- Each contour's bounds test counts as a cut, in Map Art and in the side
  graphics.
- On a facet whose curved edge bows out of its cell, the art reaches the
  whole facet.
- A bevel as deep as the solid leaves no walls, and its bevels take the
  numbers after the caps.
- Surfaces past the face limit are refused as the side is.
- threeD.mapArt keeps a deleted symbol only while the request leaves
  `symbol` out.
2026-11-18 16:25:43 -08:00
dotCooCoo d6bc984cad Merge main into feat/distorted-image-commands 2026-11-18 16:24:18 -08:00
dotCooCoo e6b6a3dc78 Merge main into feat/circle-tool-options 2026-11-18 16:24:04 -08:00
dotCooCoo 585fd878fa Recolor Artwork: Undo Changes keeps its newest step past the byte limit
The dialog's history always keeps the step to the current fields, so
Undo Changes is never enabled with no step to go to.
2026-11-18 16:23:48 -08:00
dotCooCoo 5fe226850d Color Wheel: keep the OKLCH chroma search below the asked chroma
The first chroma search in largest_fitting_chroma ran from 0 to 0.5 and
could land on the line from black to blue above the chroma asked for. The
result then fell back to the asked chroma, which lies outside sRGB, and
from_oklch clipped it, changing the lightness and hue. The search now
stops at the asked chroma, so the chroma it finds always fits.

The parity doc now says color.convert's OKLCH matches the rows only for
a color inside sRGB, since it clips the display RGB first.
2026-11-18 16:21:28 -08:00
dotCooCoo 8c22c4cbe3 Brushes: check Vector Packs tinting and the applied brush
The Vector Packs test now renders each brush with a teal stroke and checks
that every generated path is filled with that color, and after each
brush.addFromLibrary call it checks that the line's stroke uses the brush.
The black-stroke render still checks that each mark repeats along the path.

G5's Missing entry in docs/gaps.md now counts thirteen built-in brush
libraries, matching the Done entry.
2026-11-18 16:20:50 -08:00
dotCooCoo b66e43f048 Shapes: Circle tool options pass the tool's own option check
The Circle tool now answers Tool::check_option with the values
check_options takes, so tool.setOption and the option check that runs
on every tool accept the options the tool reports.

- With Third Point by Dragging off, a click in reach of both placed
  points is on the nearer one (or the one it snapped to).
- A press on the second point previews the circle on the two points
  that its release draws, and a press on the first point previews none.
- With Anchors at Standard Positions off, the preview is the path with
  an anchor at each point, which the release draws.
- A move of less than 2 screen points keeps the second or third point
  where it was pressed.
- circle_with_anchors_at gives the two ends of a diameter four anchors
  also where rounding of the midpoint puts the second point more than
  half a turn from the first.
- The canvas-edge test checks for an outline whether dashed or solid.
- docs/mcp.md says that only anchors: "standard" draws a live ellipse.
2026-11-18 16:15:07 -08:00
dotCooCoo 73bd88227a Docs: UI chrome row records the Swatches footer drop rules 2026-11-18 16:10:33 -08:00
dotCooCoo e39e6713d9 Reflect tool: Enter or a dropped press ends a press not yet a drag
Enter between the press and the release of a click now ends that press,
so the release sets no reference point and starts no Reflect axis behind
the dialog. A press the engine drops ends whether or not it became a
drag, and drops a waiting axis, so the release sent after it starts no
axis. A press whose document or selection changes before it becomes a
drag is dropped, so the reference point or axis set for one selection
is never applied to another.

The engine test checks that the Alt copy is reflected across y = 300.
The docs state that the first click is a plain click, that the 3 px
check compares the snapped points, and what a double-click does while
an axis waits.
2026-11-18 16:09:31 -08:00
dotCooCoo a61c2d9968 Merge main into feat/control-bar-link-label-opens-links 2026-11-18 16:07:05 -08:00
dotCooCoo db71faca9a Brushes: test Artistic tints and list the library in the progress docs
The Artistic test now draws each brush with a red stroke and checks that every path takes the stroke color. A second check covers a loaded library named Artistic Brushes: the name selects the built-in library, as for every built-in name, and the loaded library's id still selects it.

docs/mcp.md now describes that rule, says that the exact id `artistic` selects the built-in library and that `Artistic` selects it only when no library has that name, and counts thirteen built-in libraries. The G5 entry, the UI brush-library row, the M10 row and the area rows list Artistic Brushes with thirteen libraries.
2026-11-18 16:03:40 -08:00
dotCooCoo f4071dd56a Merge main into feat/image-trace-split-view 2026-11-18 15:58:59 -08:00
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 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 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 0755b1013b Merge main into feat/swatches-cmd-drop-spot 2026-11-18 15:49:05 -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 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