Commit Graph
26151 Commits
Author SHA1 Message Date
dependabot[bot] f32320df19 chore(deps): bump the pdf-render-stack group across 1 directory with 5 updates
Bumps the pdf-render-stack group with 5 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [vello_cpu](https://github.com/linebender/vello) | `0.2.0` | `0.4.0` |
| [usvg](https://github.com/linebender/resvg) | `0.48.1` | `0.49.0` |
| [hayro-ccitt](https://github.com/LaurenzV/hayro) | `0.3.0` | `0.5.0` |
| [svgtypes](https://github.com/linebender/svgtypes) | `0.16.1` | `0.16.2` |
| [vello_common](https://github.com/linebender/vello) | `0.2.0` | `0.4.0` |



Updates `vello_cpu` from 0.2.0 to 0.4.0
- [Release notes](https://github.com/linebender/vello/releases)
- [Changelog](https://github.com/linebender/vello/blob/v0.4.0/CHANGELOG.md)
- [Commits](https://github.com/linebender/vello/compare/v0.2.0...v0.4.0)

Updates `usvg` from 0.48.1 to 0.49.0
- [Release notes](https://github.com/linebender/resvg/releases)
- [Changelog](https://github.com/linebender/resvg/blob/main/CHANGELOG.md)
- [Commits](https://github.com/linebender/resvg/compare/v0.48.1...v0.49.0)

Updates `hayro-ccitt` from 0.3.0 to 0.5.0
- [Release notes](https://github.com/LaurenzV/hayro/releases)
- [Commits](https://github.com/LaurenzV/hayro/compare/hayro-ccitt-v0.3.0...hayro-ccitt-v0.5.0)

Updates `svgtypes` from 0.16.1 to 0.16.2
- [Release notes](https://github.com/linebender/svgtypes/releases)
- [Changelog](https://github.com/linebender/svgtypes/blob/main/CHANGELOG.md)
- [Commits](https://github.com/linebender/svgtypes/compare/v0.16.1...v0.16.2)

Updates `vello_common` from 0.2.0 to 0.4.0
- [Release notes](https://github.com/linebender/vello/releases)
- [Changelog](https://github.com/linebender/vello/blob/v0.4.0/CHANGELOG.md)
- [Commits](https://github.com/linebender/vello/compare/v0.2.0...v0.4.0)

---
updated-dependencies:
- dependency-name: hayro-ccitt
  dependency-version: 0.5.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pdf-render-stack
- dependency-name: svgtypes
  dependency-version: 0.16.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pdf-render-stack
- dependency-name: usvg
  dependency-version: 0.49.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pdf-render-stack
- dependency-name: vello_common
  dependency-version: 0.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pdf-render-stack
- dependency-name: vello_cpu
  dependency-version: 0.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pdf-render-stack
...

Signed-off-by: dependabot[bot] <[email protected]>
2026-12-05 01:07:56 +00:00
.CooCoo bcc1ce94fe Merge pull request #10861 from dotCooCoo/docs/place-composite-font-errors
Docs: composite fonts that placed editable art brings, and their errors
2026-12-04 17:03:34 -08:00
.CooCoo ecf3096ff0 Merge pull request #10867 from dotCooCoo/fix/save-changes-docs-choice
Docs: the save-changes question takes choice dontSave, not discard
2026-12-04 17:03:30 -08:00
.CooCoo 1a4e9fe934 Merge pull request #10850 from dotCooCoo/fix/prefs-agents-control-clients
Agents: control clients can't change the agent settings
2026-12-04 17:03:25 -08:00
.CooCoo ecd771c54c Merge pull request #10644 from dotCooCoo/fix/popout-stable-measure
Panels: the Color and Gradient pop-outs run one pass a frame
2026-12-04 17:03:21 -08:00
.CooCoo 2a17b3d23d Merge pull request #10875 from dotCooCoo/fix/compress-i18n-catalogs
i18n: embed the interface language catalogs Brotli-compressed, 16 MB smaller binary
2026-12-04 16:52:39 -08:00
.CooCoo 3368ac519c Merge pull request #10871 from dotCooCoo/fix/cad-clipboard-paste
Paste: read CAD apps' metafiles on Windows and copied DXF, DWG and HP-GL files
2026-12-04 16:29:31 -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
dotCooCoo 6c28ad2390 Docs: composite font placement errors apply only when the placed art uses one
file.place checks the composite fonts only when the placed art uses a
composite font that its file defines.
2026-12-04 15:28:40 -08:00
dotCooCoo 19eb6cd88c Merge main into fix/popout-stable-measure 2026-12-04 15:00:25 -08:00
dotCooCoo c4105eecb3 Merge main into fix/prefs-agents-control-clients 2026-12-04 14:59:28 -08:00
dotCooCoo 11a5801b63 Merge main into fix/compress-i18n-catalogs 2026-12-04 14:56:42 -08:00
dotCooCoo 26f5b4ae58 i18n: embed the interface language catalogs Brotli-compressed
The 29 catalogs in crates/ui-egui/src/i18n were embedded with include_str!,
21,861,200 bytes of text in every build. build.rs now compresses each
*.tsv with Brotli (quality 9, 4 MiB window) into OUT_DIR, and the
interface unpacks them when it first needs its catalogs and hands them to
I18n::from_owned. The embedded catalogs take 5,316,158 bytes.

- build.rs finds the catalogs in the folder, so adding a language is
  adding its .tsv. A catalog over 8 MiB, or one it can't read, stops the
  build.
- A catalog that does not unpack to exactly its recorded length of UTF-8
  is left out and logged, and its language is not offered.
- On the desktop the catalogs are unpacked on several threads.
2026-12-04 14:34:45 -08:00
dotCooCoo 63bc8cbf77 Merge main into fix/cad-clipboard-paste 2026-12-04 14:33:04 -08:00
dotCooCoo 889327e85d Paste: read CAD apps' metafiles on Windows and copied DXF, DWG and HP-GL files
Paste on Windows never read the enhanced metafile that CAD and office
apps put on the clipboard as vector art: windows_formats had no entry for
EMF, so the app pasted their bitmap instead, or nothing. The Windows
clipboard holds an EMF as a handle (CF_ENHMETAFILE, which Windows also
makes from CF_METAFILEPICT), so the app now copies its records with
GetEnhMetaFileBits, at most 64 MiB, and pastes them through
clipboard.importEmf.

A .dxf, .dwg or HP-GL plot file copied in a file manager did not paste,
because file_flavour had no flavour for them, though Open and Place read
all three. They now paste as image/vnd.dxf, image/vnd.dwg and
application/vnd.hp-hpgl through the new command clipboard.importCad
{dataBase64, format: dxf|dwg|hpgl, center?}, read as document.open reads
the file. A file pastes this way only when its bytes are the format, so
a chart script named .plt is not taken for a plot.

Fixes #10819.
2026-12-04 14:32:59 -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 a92e961058 Docs: composite fonts that placed editable art brings, and their errors
docs/mcp.md now says which composite fonts file.place and links.embed
bring with editable art, when a placed font keeps its name, reuses an
equal one or takes a free name, and quotes the errors that stop the
placement before either document changes.
2026-12-04 13:17:59 -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 6c314c4cd6 Docs: the control protocol gives Don't Save in one ui.dialog.set request
ui.dialog.set with fields and action "confirm" sets choice (and
applyToAll) and confirms the same Save Changes question in one request,
so no other dialog is answered between the two. The control-protocol row
now gives that form beside the two-request one, and the Save Changes test
checks the line and sends both one-request forms through the control
handler.
2026-12-04 12:57:51 -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 7dc75ae135 MCP: answer_dialog's Save Changes answer drops the one-call failure claim
The answer_dialog row in docs/mcp.md and the tool description still give
Don't Save as two calls and say to give set and action in separate calls
for this question. They no longer state that a single call sends a second
confirm: that holds only while ui.dialog.set with an action replies
without a dialog key, and the two-call sequence works either way. The
conventions test no longer rejects the one-call form.
2026-12-04 12:21:49 -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