Commit Graph
12102 Commits
Author SHA1 Message Date
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
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
FredApps 44ffd596e8 Merge branch 'main' into feat/gujarati-web-ui 2026-12-04 10:28:06 +01:00
.CooCoo 3613c7f657 Merge pull request #10781 from dotCooCoo/fix/direct-select-ctrl-handle-mirror
Direct Selection: Ctrl held before pressing a handle mirrors the opposite handle
2026-12-04 01:17:57 -08:00
f29fe10c32 Retype: add a context menu to matching-font rows (#10594)
* Retype: add a context menu to matching-font rows

A secondary click, or Shift+F10 on the focused row, selects a font row in
the Retype panel without setting its font and opens a menu with Apply Font
(what a click on the row does; off without live text selected), the panel
menu's sample sizes and Reset Retype Panel. The menu closes when the list
or the document changes (G12).

* Rerun CI: the apt package download failed in a test shard's setup

---------

Co-authored-by: ruchirguitar <[email protected]>
Co-authored-by: FredApps <[email protected]>
2026-12-04 10:11:49 +01:00
yoriswindandFredApps debd26b38f Appearance: reorder shared effects on multiple objects (#10353)
* Appearance: reorder shared effects on multiple objects

* Appearance: compare resolved effect lists for aligned moves

---------

Co-authored-by: FredApps <[email protected]>
2026-12-04 09:43:08 +01:00
dotCooCoo 216dfb83ec Merge main into fix/open-dwg-files 2026-12-03 23:07:43 -08:00
yoriswindandFredApps b2f59ace07 Docs: add a script for editable numbered grids (#10417)
* Docs: add a script for editable numbered grids

* Docs: bound the numbered-grid example and validate label numbers

---------

Co-authored-by: FredApps <[email protected]>
2026-12-04 07:36:50 +01:00
dotCooCoo b859f27c11 Merge main into fix/open-dwg-files 2026-12-03 21:29:15 -08:00
dotCooCoo 5c630500b3 File formats: DWG converts off the UI thread, and a thumbnail's worker stops in time
Opening or placing a DWG drawing from the desktop UI converted it on the
UI thread before DXF Import Options opened, so the window stopped
responding until a large drawing was converted. File > Open, Open Recent,
the Home screen, a drop and Place now convert it on a job of their own;
the status bar says "Converting <name>..." and the dialog opens once the
conversion is done. A drawing that can't be converted is reported and
does not go on the recent files. Commands run at once (MCP, scripts)
still convert before they return.

`thumbnail` exits after 20 seconds, but a DWG worker it started kept
running after that. The CLI now starts the worker with
`--dwg-worker-seconds 20`, and a worker started that way exits with code
1 once its time is up.

The CLI `info` test requires the drawing cut to a third and the one cut
to its header to be refused. The File formats row and the DWG entry in
docs/target-app-parity.md name the remaining limits: the web build and
R1.x and R2.x drawings return an error that says to save as DXF.
2026-12-03 21:28:54 -08:00
dotCooCoo 629b4f5b2c Merge main into fix/direct-select-ctrl-handle-mirror 2026-12-03 21:26:45 -08:00
.CooCoo 36df439fe9 Merge pull request #10690 from dotCooCoo/fix/doc-pathitems-removeall-clipping
Scripts: document pathItems.removeAll refuses to delete a clipping path
2026-12-03 19:53:45 -08:00
dotCooCoo 46ee88dbb9 Merge main into fix/open-dwg-files 2026-12-03 19:49:53 -08:00
dotCooCoo ae6a55ffac Merge main into fix/direct-select-ctrl-handle-mirror 2026-12-03 19:49:34 -08:00
BFlat 8ea0227804 Merge pull request #10533 from ruchirguitar/script-console-output-menu
Script Console: copy output lines from the row menu
2026-12-04 09:31:36 +07:00
BFlat d215702b56 Merge pull request #10593 from ruchirguitar/feat/g12-svg-interactivity-menu
SVG Interactivity: add a context menu to event rows
2026-12-04 09:31:06 +07:00
BFlat e2a9326b48 Merge pull request #10710 from ruchirguitar/fix/artboard-lock-menu-duplicate-rows
Artboards: avoid duplicate lock submenu rows
2026-12-04 09:30:09 +07:00
David Mann 7c96961420 Merge remote-tracking branch 'upstream/main' into feat/agents-open-window
# Conflicts:
#	apps/vectorcraft-cli/src/main.rs
2026-12-04 00:12:25 +01:00
dotCooCoo d1b41542ff Merge main into fix/direct-select-ctrl-handle-mirror 2026-12-03 12:59:15 -08:00
.CooCoo dec8be341e Merge pull request #10731 from dotCooCoo/fix/blend-round-corners
Blend: steps between rounded rectangles keep round corners
2026-12-03 12:24:18 -08:00
dotCooCoo e58a626b41 Merge main into fix/open-dwg-files 2026-12-03 11:57:45 -08:00
dotCooCoo bb4e3308af File formats: DWG drawings open and place through the DXF reader
File > Open, File > Place and document.dxfInfo read DWG drawings. The
craft-libs craft-dwg bridge converts the drawing to DXF bytes and the
existing DXF reader reads them, so a DWG takes the DXF Import Options
(layout, ratio or fit, lineweights, centering, merged layers) and comes
in with the same layers, blocks and units as the DXF it converts to.
What the conversion skips is listed in the warnings.

- vectorcraft-cad: dwg module. On desktop the conversion runs in a copy
  of the program started with --dwg-worker (vectorcraft and
  vectorcraft-cli call serve_if_asked and use_own_worker), so a damaged
  file ends that copy, not the app. Inputs over 512 MiB, or a DXF
  rendition over 1 GiB, are refused. The last conversion (up to 128 MiB
  of DXF), or its error, is kept, so the dialog's layout list, each
  layout preview and the open read the file once. R1.x and R2.x
  drawings are refused with a hint to save as DXF.
- Engine: a read-only dwg format (detected by content or by .dwg),
  in the open and place extension lists, not associated with the app
  by packaging. DWG leaves the unsupported list; exporting to it says
  to export DXF instead, Export As keeps it greyed out, and Save over
  the drawing is refused.
- UI: the DXF Import Options dialog opens for .dwg files on Open,
  Place and a Shift-click with the place cursor.
- NOTICE and licenses/acadrust-0.6.6/: acadrust 0.6.6 (MPL-2.0,
  unmodified) and its third-party notices.
- Docs: docs/mcp.md, docs/file-format-parity.md, docs/roadmap.md and
  the progress line in docs/target-app-parity.md.

Tests build DWG files from DXF drawings with craft-dwg's writer: a DWG
comes in as its DXF does (layers, bounds, strokes, units, blocks), with
the DXF options, through Place, and in dxfInfo; a truncated DWG is an
error; saving or exporting a DWG writes nothing.

Fixes #3450
2026-12-03 11:57:39 -08:00
dotCooCoo fa8d7dbe1d Merge main into fix/doc-pathitems-removeall-clipping 2026-12-03 11:43:15 -08:00
dotCooCoo c4856b8830 Merge main into fix/direct-select-ctrl-handle-mirror 2026-12-03 11:33:13 -08:00
dotCooCoo 48ef8740e9 Direct Selection: Ctrl held before pressing a handle mirrors the opposite handle
With Direct Selection chosen, Cmd/Ctrl lends the Selection tool for the
press. That loan also took presses on the end of a shown direction handle,
so a Ctrl-drag on a handle moved the whole object (and anything selected
with it), or drew a marquee where no object was under the handle. Only Ctrl
added after the drag began mirrored the opposite handle.

A new Tool::keeps_cmd_press lets the active tool keep a Cmd/Ctrl press.
Direct Selection keeps one without Alt on the end of a shown handle of a
path, of type on a path, or of a selected blend spine anchor, so the drag
mirrors the opposite handle, with Shift constraining it. The session's
lent_tool_at asks it, so the press, the cursor and the status bar agree. A
press elsewhere, on a handle of the bounding box the lent Selection tool
shows, or with Cmd+Alt (Group Selection) is still lent as before.

docs/gaps.md and docs/ui-parity.md describe the press.
2026-12-03 11:33:13 -08:00
.CooCoo 64a7515fea Merge pull request #9147 from dotCooCoo/feat/scripts-scriptui-palettes
Scripts: ScriptUI palettes stay open after the run and run their handlers in line
2026-12-03 11:24:20 -08:00
.CooCoo 7fcf5f33e4 Merge pull request #10735 from dotCooCoo/feat/curvature-comb
View: Curvature Comb overlay on selected paths (Fixes #10659)
2026-12-03 10:46:43 -08:00
.CooCoo 6ec7bdd244 Merge pull request #10696 from dotCooCoo/fix/global-edit-stale-points
Scripts: path points of other Global Edit members go stale when Global Edit changes them
2026-12-03 10:46:39 -08:00
dotCooCoo 0b04113f95 Merge main into fix/doc-pathitems-removeall-clipping 2026-12-03 10:45:54 -08:00
dotCooCoo 820a17f3aa Docs: pathItems.removeAll counts only text inside the mask group
The visible-text exception applies only to text inside the group that is
the clipping path. Text beside the clipping path in the clipping group
does not keep it clipping, and a clipping group nested in the mask counts
only when its own clipping path keeps geometry.
2026-12-03 10:45:49 -08:00
.CooCoo de5157cf88 Merge pull request #10729 from dotCooCoo/fix/issue-10639
Color Picker: the canvas stays undimmed while the picker and preview dialogs are open
2026-12-03 10:14:03 -08:00
dotCooCoo be47572304 Merge main into fix/doc-pathitems-removeall-clipping 2026-12-03 09:36:45 -08:00
dotCooCoo bf13038b8d Docs: pathItems.removeAll keeps a clip that visible text holds
The progress line for Document.pathItems now says that removeAll()
still deletes the paths of a clipping group when visible text that
lays out glyphs stays in it, as docs/mcp.md describes.
2026-12-03 09:36:45 -08:00
dotCooCoo c4a737f255 Merge main into feat/scripts-scriptui-palettes 2026-12-03 09:29:28 -08:00
dotCooCoo c1efe27ff7 Merge main into fix/blend-round-corners 2026-12-03 09:09:26 -08:00
dotCooCoo b09940b6a6 Docs: blend steps take the keys' drawn radii, positions on a straight spine
Steps between live rectangles interpolate each key's radius after it is
fitted to its sides, not the stored radius. Their positions lie between
the keys' only on a straight spine; on an edited or replaced spine each
step sits on the spine.
2026-12-03 09:09:20 -08:00
dotCooCoo 5ff65970f9 Merge main into fix/global-edit-stale-points 2026-12-03 08:56:53 -08:00
.CooCoo c55947d2c1 Merge pull request #10727 from dotCooCoo/fix/cli-export-size
CLI: convert and run --export take --width, --height and --background
2026-12-03 08:49:20 -08:00
.CooCoo dc8a26be02 Merge pull request #10695 from dotCooCoo/fix/hyphenation-dialog-zone-gate
Hyphenation: the dialog disables the options that do not apply to the paragraphs
2026-12-03 08:48:30 -08:00
ruchirguitar 4aa5732620 Merge upstream main into SVG Interactivity menu 2026-12-03 22:17:30 +05:30
.CooCoo fff1c92179 Merge pull request #10682 from dotCooCoo/fix/script-point-scan-charged
Scripts: the look for changed path points after each command is charged
2026-12-03 08:22:32 -08:00
ruchirguitar 26e77f0128 Merge upstream main into Script Console row menu 2026-12-03 21:46:33 +05:30
BFlat b8e3576f17 Merge pull request #10558 from ruchirguitar/plate-row-menu
Separations Preview: add a context menu to ink plate rows
2026-12-03 23:15:43 +07:00
BFlat ceb282a6b8 Merge pull request #10561 from ruchirguitar/cleanup-row-menu
Artwork Cleanup: offer actions on scan results
2026-12-03 23:15:23 +07:00
BFlat e4dbbe9521 Merge pull request #10562 from ruchirguitar/codex/fold-finding-menu
Packaging: add a row menu to Fold Lines findings
2026-12-03 23:14:33 +07:00
BFlat 9daf4163eb Merge pull request #10568 from ruchirguitar/fix/web-served-fonts
Web: the site publishes the interface's served fonts under fonts/ui/
2026-12-03 23:14:15 +07:00
BFlat 9f781011b3 Merge pull request #10604 from ruchirguitar/feat/4602-canvas-menu-icons
Canvas context menu: common rows show an icon
2026-12-03 23:13:38 +07:00