Commit Graph
12649 Commits
Author SHA1 Message Date
dotCooCoo 1406dc8604 Live Corners: a straightened corner rounds again when a later move bends it
Moving the anchor of a path's only rounded corner into a straight line kept
its radius, but the next anchor move found no corner drawn with an arc and
edited the drawn path instead, dropping the live shape and its radius.
edit_corner_anchors now decides on the stored radii, so the corner rounds
again once a move bends it.
2026-12-04 11:29:52 -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 b28b7b11b7 Merge main into fix/remove-all-image-frame-clip
# Conflicts:
#	docs/target-app-parity.md
2026-12-04 09:32:54 -08:00
dotCooCoo 07c33b9f2a Scripts: pathItems.removeAll judges a kept clipping region by its live effects
The check that an image or placed-document frame still encloses an area
now measures each subpath from its own first point, so a tiny frame far
from the origin is not lost to roundoff and a collapsed frame is not
counted through roundoff.

When a live geometry effect, such as an Offset Path inset, would leave
no clipping region once the paths are deleted, removeAll() now throws and
deletes nothing. The preflight copies only the members that hold a path
being deleted.
2026-12-04 09:32:28 -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
dotCooCoo 061a036865 Docs: loadFromPreset skips the trace only when the parameters match
docs/mcp.md now says that loadFromPreset(name) runs no command only when
the tracing's preset matches name (ignoring letter case and, for a
built-in preset, brackets) and its current parameters equal the
preset's, as options_load in crates/engine/src/script/dom/tracing.rs
checks.
2026-12-04 09:25:47 -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
dotCooCoo 6a19b804f7 Merge main into fix/remove-all-trace-group 2026-12-04 08:00:18 -08:00
dotCooCoo 1ae7a5d5cb Merge main into feat/scripts-api-layer-path-items 2026-12-04 08:00:07 -08:00
dotCooCoo 91a99edfa3 Merge main into feat/artboard-rect-guides 2026-12-04 07:57:13 -08:00
dotCooCoo 516b7eb321 Merge main into feat/scripts-api-d5-swatches-symbols 2026-12-04 07:56:23 -08:00
dotCooCoo 625c9fe454 Merge main into fix/trace-preset-bracket-names 2026-12-04 07:45:41 -08:00
dotCooCoo fa91b67756 Merge main into fix/tracing-mask-art 2026-12-04 07:40:12 -08:00
dotCooCoo 3e2848e681 Merge main into fix/open-dwg-files 2026-12-04 07:30:46 -08:00
dotCooCoo 231d90614b Docs: the save-changes question takes choice dontSave, not discard
The question that Close, Close All and Quit open for a modified
document takes `choice` (`save`, `dontSave` or `cancel`) and, while
more documents wait, `applyToAll`. A `discard` field is refused with
"unknown field `discard`". docs/control-protocol.md, the answer_dialog
row of docs/mcp.md and the control module's doc comment still told
clients to set `discard: true`.

Each text now gives `{field: "choice", value: "dontSave"}`, lists the
values `choice` takes and describes `applyToAll`. The answer_dialog
row gives the choice in one call and the confirm in a second one: the
app answers a `set` with `action` by returning the confirm's result
alone, and answer_dialog then sends a second confirm, which can fail
after the document closed or answer the next document's question.

A test in unsaved.rs checks the requests on the lines that describe
the `{"pending": "saveChanges"}` reply in both docs and sends the same
requests through the control handler: the modified documents close
and no file is written.
2026-12-04 07:29:42 -08:00
dotCooCoo 005b9ac384 Scripts: a palette's edit field gives its text when its text part loses the focus
The edit field read the focus of the field's outer response, which never
holds the keyboard focus: the focus sits on the field's text part. A
click elsewhere or Tab out of a palette's or dialog's edit field then did
not give the typed text to the script. The field now reads the text
part's focus loss (`text_lost_focus`).

The focus-loss test drives the focus with Tab through egui instead of
calling the commit helper, and fails without the fix.

The retry docs in the script.palette.event help, docs/mcp.md and the
progress-doc entry name the recoveryFolder and recoveryOffForComplex
preferences, the two recovery preferences whose change starts the
waiting events again.
2026-12-04 07:24:22 -08:00
.CooCoo 24151dfe33 Merge pull request #5911 from ruchirguitar/feat/5547-show-missing-links
Show missing-link markers on the canvas
2026-12-04 07:13:51 -08:00
.CooCoo a9ba1b3134 Merge pull request #10742 from dotCooCoo/fix/live-corners-anchor-edits
Live Corners: corners stay live after anchor moves
2026-12-04 07:12:48 -08:00
.CooCoo ef168fad05 Merge pull request #10665 from dotCooCoo/fix/remove-all-empty-compound-mask
Scripts: pathItems.removeAll cannot empty a compound path that clips other art
2026-12-04 06:56:17 -08:00
.CooCoo 599eb51d45 Merge pull request #10700 from dotCooCoo/fix/script-paths-locked-layer
Scripts: new paths skip a locked or hidden active layer
2026-12-04 06:56:13 -08:00
dotCooCoo 761f99fc5a Scripts: pathItems.removeAll keeps a clipping path that still holds an image
The document's pathItems.removeAll() refused to delete paths from a group
that is a clipping path when an image or placed document stayed inside
that group, although the image's frame still clips. It now counts the frame
of a visible image or placed document as clipping geometry when the frame
encloses an area, as Node::clip_shapes does, and still refuses when the
frame is collapsed to a line.
2026-12-04 06:49:26 -08:00
dotCooCoo 2e030ec46d Merge main into fix/open-dwg-files 2026-12-04 06:36:17 -08:00
aiongg f6f8b0c221 Merge pull request #10634 from davidmann4/packaging/macos-cli-in-app
packaging(macos): ship vectorcraft-cli inside VectorCraft.app
2026-12-04 09:24:53 -05:00
aiongg fb2415818c Merge pull request #10622 from davidmann4/feat/agents-open-window
feat(automation): agents in the open window through the ArtCraft Launcher's switch
2026-12-04 09:24:30 -05:00
Dylan M. Taylor 1b59dcb3ac docs: specify the FreeBSD release requirement 2026-12-04 09:11:23 -05:00
dotCooCoo e92ec08874 Live Corners: a canceled nudge with objects selected whole records no undo step
A nudge that the pixel-grid snap took back still recorded an undo step and
left a rounded live rectangle a live path when an object selected whole
was moved together with direct-selected anchors, because the no-change
check ran only for anchor-only selections. The check now also covers
objects selected whole. The path.moveAnchors params text and the Live
Corners progress entry now state the pixel-grid case as docs/mcp.md does.
2026-12-04 06:07:52 -08:00
dotCooCoo 9c44847ea8 Merge main into fix/open-dwg-files 2026-12-04 05:04:33 -08:00
dotCooCoo 5436a18547 File formats: a DWG placed while converted keeps Place's context, and the conversion can be canceled
- A DWG placed while it is converted goes on the layer that was current
  when Place started and, with `replace`, in place of the object selected
  then, selected again unless it changed meanwhile. A layer the user made
  current since stays current, as for other files read for Place.
- Place's checks run before the conversion starts, so a bad param or a
  selection Replace can't swap (several objects, part of a symbol
  instance) is reported at once and nothing is converted.
- The open progress window shows a DWG drawing being converted.
  `file.cancelOpen` drops the conversion, so its dialog never opens, and
  `file.openInBackground` closes the window while it goes on in the
  status bar. Both commands' help text and `docs/mcp.md` say so.
2026-12-04 03:50:30 -08:00
dotCooCoo d5a54ccffa Merge main into feat/scripts-api-layer-path-items 2026-12-04 02:57:25 -08:00
dotCooCoo 7304910e7b Merge main into fix/tracing-mask-art 2026-12-04 02:55:17 -08:00