Commit Graph
26183 Commits
Author SHA1 Message Date
dotCooCoo e8ebbc5707 Merge main into feat/concept-to-vector-providers 2026-12-04 16:20:12 -08:00
dotCooCoo a0f06dd02e i18n: remove the Concept to Vector rows from the non-English catalogs
Feature pull requests add English strings only, and translations go
through storytold/craft-i18n. This removes the 1,252 rows the branch
added to 28 non-English catalogs in crates/ui-egui/src/i18n/. Each
catalog now matches main; the English strings stay in the source.
2026-12-04 16:20:12 -08:00
dotCooCoo 00c09a568d Concept to Vector: Object › Concept to Vector… is a desktop menu item
main's desktop_items_of_placeable_menus_are_known_to_the_engine test
asks every desktop-only item of a menu plug-ins may place items in to
be listed in DESKTOP_MENU_ITEMS, so placed_menu gives the same result
with and without the desktop app. The item is listed after Image
Trace, where the Object menu shows it.
2026-12-04 16:13:38 -08:00
dotCooCoo d4a2d88387 Concept to Vector: the panel uses the craft UI framework
The panel's note, Styles count, style check boxes, Detail slider,
disabled prompt field, progress bar, Generate, Cancel, the results and
Insert Selected are framework components (Text, Field, Checkbox,
SliderField, TextField, Progress, Button, Row and Stack). Each preview
is a Picture of the painted image, stored under a key for its job and
style. Results wait while a dialog asks a question, as trace runs do.
The panel's tests read the icon through the icon registry and use the
test UI context; every assertion is unchanged.
2026-12-04 15:41:43 -08:00
dotCooCoo 635a726c1f Merge main into feat/concept-to-vector-providers
Conflicts resolved by keeping both sides: the session state and script
and batch rollbacks keep the Concept to Vector jobs beside main's retype
hand-off, clipboard counts and plug-in events; the plug-in deny list
keeps main's entries in order. The Control bar and Properties' Quick
Actions take main's framework buttons with Concept to Vector added
after Crop Image, and the task bar test uses main's helpers. In
docs/ui-parity.md the Concept to Vector row moves into main's table
with its Headless column.
2026-12-04 15:41:35 -08:00
.CooCoo 93c4a474d0 Merge pull request #10864 from dotCooCoo/fix/corner-radius-draft-target
Live Corners: an unfinished corner radius stays with the corners it was typed for
2026-12-04 15:30:00 -08:00
.CooCoo 99ee6dd5a1 Merge pull request #10858 from dotCooCoo/fix/attributes-target-undo
Attributes: Undo and Redo drop an unfinished URL or note
2026-12-04 15:29:56 -08:00
.CooCoo 304ce77216 Merge pull request #10614 from dotCooCoo/fix/new-document-background-chip
New Document: Background Contents shows its color chip again
2026-12-04 15:29:52 -08:00
.CooCoo 41b87e5d7d Merge pull request #10184 from dotCooCoo/fix/dialog-keys-ui-inspect
MCP: dialog params texts match the keys and fields ui.inspect lists
2026-12-04 15:29:47 -08:00
.CooCoo 6c8ede6578 Merge pull request #10863 from dotCooCoo/fix/agents-ui-tools-report-window-errors
Agents: a UI tool reports why the window could not be reached
2026-12-04 15:29:42 -08:00
.CooCoo 5e45e0b00f Merge pull request #10843 from dotCooCoo/fix/agents-headless-fail-closed
Agents: a headless agent session with no usable agent folder gets no file access
2026-12-04 15:29:38 -08:00
.CooCoo 2612015ffc Merge pull request #10090 from dotCooCoo/feat/artboard-rect-guides
Arrange Tools: Add Artboard Guides puts a guide rectangle inside or outside artboards
2026-12-04 15:29:34 -08:00
.CooCoo 1b02d80af7 Merge pull request #10855 from dotCooCoo/fix/confined-marked-links-keep-canvas-markers
Links: a confined links.marked call leaves the canvas markers alone
2026-12-04 15:29:25 -08:00
.CooCoo 88694da6eb Merge pull request #10628 from dotCooCoo/fix/script-remove-trace-source
Scripts: remove() refuses a tracing's shown source image
2026-12-04 15:29:17 -08:00
.CooCoo d802cf3cd5 Merge pull request #9259 from dotCooCoo/feat/scripts-api-layer-path-items
Scripts: layers and groups give their own path items
2026-12-04 15:29:12 -08:00
.CooCoo 60759e4575 Merge pull request #10859 from dotCooCoo/fix/dxf-polyface-mesh-import
DXF/DWG import: polyface and polygon meshes come in seen from above
2026-12-04 14:29:11 -08:00
.CooCoo d8c3e479f7 Merge pull request #10853 from dotCooCoo/fix/rotate-rendered-every-fill
3D: Rotate in rendered mode checks every fill it draws
2026-12-04 14:20:40 -08:00
.CooCoo c9776110a4 Merge pull request #10848 from dotCooCoo/fix/doc-test-cfg-attr-doc
xtask: the doc-test lint check reads doc attributes inside cfg_attr
2026-12-04 14:20:36 -08:00
.CooCoo 29ac02f682 Merge pull request #10845 from dotCooCoo/fix/agents-settings-automation
Agents: Preferences saves no agent settings once automation drove the window
2026-12-04 14:20:32 -08:00
.CooCoo f39f689ab7 Merge pull request #10837 from dotCooCoo/fix/gradient-field-target-doc
Gradient: File › Revert, Undo and Redo drop an unfinished field value
2026-12-04 14:20:27 -08:00
.CooCoo ba01593402 Merge pull request #10835 from dotCooCoo/fix/font-hinting-stopgap
Fonts: hinting is off, so a face without instructions no longer hangs the font list
2026-12-04 14:20:23 -08:00
.CooCoo 2b1bd7e71d Merge pull request #10790 from dotCooCoo/fix/font-hinting-blue-zone-hang
Fonts: a face without hinting instructions no longer hangs the font list
2026-12-04 14:20:17 -08:00
.CooCoo 15d90d3f53 Merge pull request #10852 from dotCooCoo/fix/placed-undefined-family-composite
Place: placed type keeps its font when the document has a composite font of its family's name
2026-12-04 14:20:12 -08:00
.CooCoo e24c62bf75 Merge pull request #10836 from dotCooCoo/fix/preview-new-id-lookups
Lookups: previews find an object added since the press without walking the tree
2026-12-04 14:20:07 -08:00
.CooCoo 4c673f3aa1 Merge pull request #10841 from dotCooCoo/fix/pencil-one-preview-per-pass
Pencil: the moves of one frame preview the stroke once
2026-12-04 14:20:02 -08:00
.CooCoo 8af0c595eb Merge pull request #10840 from dotCooCoo/fix/canvas-upload-no-copy
Canvas: a rendered frame becomes its texture image without a copy
2026-12-04 14:19:57 -08:00
.CooCoo 34b9ce755a Merge pull request #10771 from dotCooCoo/fix/bitmap-smoothing-every-view
Preferences: Display Bitmaps as Anti-aliased Images turns image smoothing off in every view
2026-12-04 14:19:51 -08:00
.CooCoo 113edfe404 Merge pull request #10194 from dotCooCoo/fix/match-objects-guards
Arrange Tools: Match Objects refuses restacks into locked, blend and Live Paint containers
2026-12-04 14:19:46 -08:00
dotCooCoo e12f20a058 DXF import: a smoothed mesh uses only its surface counts
A smoothed polygon mesh drops its spline-frame vertices before building the
grid, so only groups 73 and 74 describe the vertices that are left. When those
counts did not fit, the importer fell back to the frame's M and N, and a frame
whose vertex count happened to match laid the surface vertices out on the
wrong grid. The mesh is now left out with the missing-vertices warning.
2026-12-04 13:43:34 -08:00
dotCooCoo 4d30cb1b73 Docs: say when a UI tool reports a window connection error
docs/mcp.md now says that a UI-only tool returns the window-required
message in a headless session, including one the closed-app choice
started, and returns the window lookup, launch or authentication error
otherwise.
2026-12-04 13:22:26 -08:00
dotCooCoo 3b693e6e74 Agents: a UI tool reports why the window could not be reached
Plain `vectorcraft-cli mcp` checked for the window with `has_ui`, which
turns a failed launch or handshake into "no window". A UI-only tool
(`inspect_ui`, `type_text`, `answer_dialog`, `open_panel`, a window
screenshot) then said it needs the open window, even when the window was
open and the connection to it was what failed. `Backend::ui` now returns
that error, and the UI-only tools report it.
2026-12-04 13:17:28 -08:00
dotCooCoo 4c34424df0 DXF import: polyface and polygon meshes come in seen from above
Polyface mesh and polygon mesh POLYLINEs were dropped with a warning.
They now come in as one path each, their height dropped:

- A polyface mesh draws each face's visible edges. A face with every
  edge visible is a closed outline; an edge whose vertex number is
  negative is left out. A face that names a vertex the mesh doesn't
  have is left out with a warning.
- A polygon mesh draws its M and N lines, closed when the mesh is
  closed in M or N. A smoothed mesh draws its surface vertices
  (groups 73 and 74), not its frame. A mesh whose vertices don't fill
  its grid is left out with a warning.
- 3DFACE leaves out the edges its group 70 hides, as polyface faces do.

Docs: docs/mcp.md (DXF import).
2026-12-04 13:08:42 -08:00
dotCooCoo 97ecde45b8 Links: describe when links.marked leaves the canvas markers alone
The canvas markers stay as they are when the caller's read folders do
not cover the same files as the document's, or when a script command
makes the call. The links.marked help text, docs/mcp.md and the
progress-doc line now say both, in place of "read folders differ".
2026-12-04 12:56:43 -08:00
dotCooCoo 49186cb426 Merge main into feat/scripts-api-layer-path-items 2026-12-04 12:28:26 -08:00
dotCooCoo e226ee93e7 Merge main into fix/script-remove-trace-source 2026-12-04 12:26:28 -08:00
dotCooCoo b026540672 Attributes: URL and Note fields use the shared selection target
The URL and Note fields now take their edit target from
panels::selection_target instead of a copy of its key in attributes.rs.
The shared target also holds the selected symbol part, so selecting a
part of a symbol instance drops an unfinished URL or note: attributes.set
does not edit a selected part.
2026-12-04 12:13:34 -08:00
dotCooCoo ae1d75516a Links: document that a confined links.marked answer can differ from the canvas markers 2026-12-04 12:04:01 -08:00
dotCooCoo c6a09abe68 Live Corners: an unfinished corner radius stays with the corners it was typed for
A value typed into a corner radius field and not yet entered stayed in
the field when the selection moved to other corners with the same
radius, so Enter applied the old expression to the new corners: "3+"
typed with one rectangle selected and "1" Enter after selecting another
gave the second rectangle 4 pt.

Each corner radius field now passes NumberField::edit_target a key for
what it edits: the document, its File › Revert and Undo or Redo counts,
the selected objects in id order and the corners the field sets. The
key covers the Properties panel's Corner Radius, the Control bar's
Corner Radius, the Corners pop-up's Radius, a live shape's Corner
Radius and the per-corner fields of a live rectangle. The same objects
selected in another order keep the value. Rounding a Direct-Selected
corner leaves the unrounded path as it was, so a scrub that rounds it
keeps going. The per-corner fields keep a value while only the
Direct-Selected anchors change, since they set a fixed corner of each
selected live rectangle.

A live rectangle's, polygon's or star's corners keep their order and are
keyed by index and corner count, so the value stays while the shape
moves, rotates or scales, and goes when a polygon gains a side. A
corner of any other path is keyed by its index and by its subpath:
where that subpath starts, whether it is closed, and its anchors and
handles measured from its first anchor. Moving the path, or reversing
or moving another subpath, keeps the value; reversing, rotating or
scaling the corner's own subpath drops it.

PickedCorners gains these corner keys beside its command items. The
corners a live shape's Corner Radius sets, and the selected live
rectangles the per-corner fields set, are measured once per document
revision.
2026-12-04 12:00:13 -08:00
.CooCoo 534291eb8f Merge pull request #10818 from dotCooCoo/fix/script-palette-review-9147
Scripts: palette events keep drags, drafts and frames as the person left them
2026-12-04 11:42:17 -08:00
.CooCoo 4db38b885e Merge pull request #9300 from dotCooCoo/feat/scripts-show-color-picker
Scripts: app.showColorPicker asks for a color
2026-12-04 11:42:06 -08:00
.CooCoo 81440181c6 Merge pull request #10655 from dotCooCoo/fix/remove-all-trace-group
Scripts: removeAll cannot leave an image first in a group named Image Trace
2026-12-04 11:41:59 -08:00
dotCooCoo 76cbd16361 3D: Rotate in rendered mode checks every fill it draws
Rotate draws a plane for every fill and stroke, but rendered mode only
checked the top fill and the strokes before drawing the image. A
gradient fill below a solid top fill was drawn as a flat color in the
rendered image instead of falling back to shaded faces with the
warning. Extrude & Bevel and Inflate still check only the top fill and
strokes they build solids from.
2026-12-04 11:36:44 -08:00
dotCooCoo 17dd5c2c2b Place: placed type keeps its font when the document has a composite font of its family's name
When placed editable art names a font family that its file does not define
as a composite font, and the document defines a composite font of that
name, the placed type was measured in the file's font but drew in the
document's composite font after placement. The placed type now gets a free
name such as "Name 2", so it keeps the font it was laid out in. Placing the
same art again reuses that name.

- The renaming also covers the fonts a file carries for its type and the
  label font of a live dimension, so they stay paired with the renamed runs.
- An installed family is not renamed.
- The installed-name check applies only to the composite fonts a
  placement adds, so a definition already in the document does not stop it.
- docs/mcp.md describes the renaming under file.place.
2026-12-04 11:31:32 -08:00
dotCooCoo 6dd2efccf5 Links: a confined links.marked call leaves the canvas markers alone
With Show Missing Links on, a links.marked call from a caller confined to
other read folders saw a linked file outside them as missing and wrote that
answer to the markers the canvas draws, putting a missing-link badge on a
file that is there. The call now updates the markers only when its read
folders match those the document was opened with and no script gate is in
force; otherwise the caller gets its own answer.
2026-12-04 11:29:53 -08:00
.CooCoo b9701cd035 Merge pull request #10847 from dotCooCoo/fix/cdr-import-warnings-name-skipped
CDR import: warn that PowerClip frames whose contents were left out open empty
2026-12-04 11:12:34 -08:00
dotCooCoo 1301fb48e0 Merge main into feat/artboard-rect-guides 2026-12-04 10:53:20 -08:00
dotCooCoo ff9ee1f33a Merge main into fix/dialog-keys-ui-inspect 2026-12-04 10:48:55 -08:00
dotCooCoo 781207af3b Merge main into fix/match-objects-guards 2026-12-04 10:48:37 -08:00
dotCooCoo 4055f43172 Merge main into fix/attributes-target-undo 2026-12-04 10:41:24 -08:00
.CooCoo ed6fdd9f8d Merge pull request #10646 from dotCooCoo/fix/gaps-scripts-tracing-line
Docs: gaps.md no longer lists script tracing as missing
2026-12-04 10:35:31 -08:00