Commit Graph
12340 Commits
Author SHA1 Message Date
dotCooCoo a53165fa85 Scripts: stale layers and artboards throw their stale error from index()
layers.index(n) and artboards.index(n) returned Not found for a negative
or fractional number before checking whether the collection was stale, so
a script holding a stale collection got the wrong error. Both now check
the collection first, as the art collections' index() does.
2026-12-04 17:03:47 -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 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 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 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 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
.CooCoo 2ede4c7661 Merge pull request #10750 from dotCooCoo/fix/script-print-success-clears-failure
Scripts: a print batch sent after a spool failure clears that failure
2026-12-04 09:25:23 -08:00
.CooCoo edcb80db38 Merge pull request #10429 from dotCooCoo/feat/3d-rendered-tier
3D: Render Settings › Rendered draws the solid as a lit image with shadows from every light
2026-12-04 09:24:53 -08:00
.CooCoo 5a435b222e Merge pull request #10769 from dotCooCoo/fix/unfilled-shapes-marquee-default
Selection: a click inside an unfilled shape starts a marquee again, with selecting inside as an option
2026-12-04 09:24:47 -08:00
dotCooCoo 3cc3f80e36 Merge main into fix/script-remove-trace-source 2026-12-04 09:01:36 -08:00
Dylan M. Taylor a9e223e425 Merge pull request #10832 from storytold/docs/freebsd-15-release-requirement
docs: specify the FreeBSD release requirement
2026-12-04 11:23:52 -05:00
.CooCoo ddff0adfbf Merge pull request #10747 from dotCooCoo/feat/live-star-points
Shapes: stars stay live with an editable point count
2026-12-04 08:12:18 -08:00