Commit Graph
12347 Commits
Author SHA1 Message Date
.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 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 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 c4105eecb3 Merge main into fix/prefs-agents-control-clients 2026-12-04 14:59:28 -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 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 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 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 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 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 ae1d75516a Links: document that a confined links.marked answer can differ from the canvas markers 2026-12-04 12:04:01 -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
dotCooCoo 9251d4a129 Agents: control clients can't change the agent settings
A window started with --control and no automation roots answers its
control requests unconfined, so `prefs.agents` saved any readRoot,
writeRoot or controlPort such a client sent. The agent folders it
widened then held for every later agent session.

`prefs.agents` now refuses a change whenever automation sent the
request (a control or MCP request, or a pass that carries injected
input), as `automation_is_acting` already does for commands that open
another app. Reading the settings still works. The params text, its
MCP mirror and docs/mcp.md say so.
2026-12-04 11:11:17 -08:00
dotCooCoo 4cc6d9c0d1 MCP: answer_dialog describes Don't Save as two calls, with applyToAll
The answer_dialog tool description, which MCP clients read from
tools/list, still gave Don't Save for the save-changes question as one
call that sets `choice` and confirms. The app answers that request with
the confirm's result alone, so answer_dialog sends a second confirm,
which fails once the document has closed or, during Close All or Quit,
answers the next document's question with Save.

The description now gives the same sequence as docs/mcp.md: set
`choice` to `dontSave`, then confirm in a second call. It names
file.closeAll beside app.quit and file.close, lists the values `choice`
takes, describes `applyToAll`, and says to give `set` and `action` in
separate calls for this question. The answer_dialog row of docs/mcp.md
says the same.

A test in the MCP crate checks that the description gives the two-call
sequence and applyToAll, and does not give the one-call form or
`discard`.
2026-12-04 11:10:01 -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
.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
.CooCoo 88ca9750be Merge pull request #10583 from dotCooCoo/fix/linked-pages-explicit-crop-box
Import PDF: linked pages keep an explicit Crop Box for a file with editing data
2026-12-04 10:35:26 -08:00
.CooCoo 07d79fc785 Merge pull request #10844 from dotCooCoo/fix/roadmap-m4-dwg
Docs: the roadmap's M4 row lists DWG import as done
2026-12-04 10:34:19 -08:00
.CooCoo 0e81019a52 Merge pull request #10168 from dotCooCoo/fix/param-dialog-needs-command
MCP: ui.paramDialog without a command it can open is an error
2026-12-04 10:15:21 -08:00
.CooCoo f010eb86f7 Merge pull request #10811 from dotCooCoo/fix/comb-line-reversal
Curvature comb: the line through the tips breaks where a straight segment turns back
2026-12-04 10:15:16 -08:00
.CooCoo a6553e0a1a Merge pull request #10203 from dotCooCoo/fix/match-objects-size-edges
Match Objects: sizes fit after the turn, reach any scale and replay with their corner scaling
2026-12-04 10:15:10 -08:00
dotCooCoo fe4c78c976 Merge main into fix/bitmap-smoothing-every-view 2026-12-04 10:11:16 -08:00
dotCooCoo ce853666b7 Docs: Preferences keeps agent settings once automation drove the window
docs/mcp.md says what OK and Apply do with the agent settings after
input injected through the control channel reached Preferences, and
what an OK sent by a control request does.
2026-12-04 09:45:39 -08:00
dotCooCoo e8693940fe Docs: the roadmap's M4 row lists DWG import as done
DWG drawings open and place through the DXF reader since #10802, but
the M4 row in docs/roadmap.md still listed DWG under Left. The row now
lists DWG import with its pull request, and Left keeps DWG export (use
DXF).
2026-12-04 09:43:41 -08:00
.CooCoo 2675e1291f Merge pull request #10802 from dotCooCoo/fix/open-dwg-files
File formats: DWG drawings open and place through the DXF reader
2026-12-04 09:38:29 -08:00
dotCooCoo 53365705f5 Agents: a headless agent session with no usable agent folder gets no file access
When VectorCraft is closed and the closed-app choice is a headless session, the session is confined
to the agent folders. If no folder is set and the default one can't be made, the shared router
passes no folders, and the session started with no automation roots, so its file commands could
open and save anywhere the user can. It now gets roots that grant nothing. The decision uses the
router's own consent result from the same lookup, so the ordinary headless fallback (agents off,
or Allow Agent Control off) keeps the command line's folders as before.

docs/mcp.md says what such a session can do.
2026-12-04 09:27:04 -08:00
.CooCoo 603a938d34 Merge pull request #10662 from dotCooCoo/fix/cups-ipv6-ipp-port
Print: CUPS_SERVER IPv6 addresses and IPP_PORT reach the right scheduler
2026-12-04 09:25:27 -08:00