Commit Graph
9074 Commits
Author SHA1 Message Date
dotCooCoo 094f60b2fb Tests: DWG opens through the DXF Import Options dialog and the CLI worker
- The DXF Import Options dialog test opens a DWG, confirms it at 1:1
  in model space and places it.
- `vectorcraft-cli info` reads a DWG as the DXF it was written from,
  and five damaged copies (cut short, overwritten, bytes flipped) end
  in an error that names DWG or open with warnings, with the process
  exiting normally.
- The engine's DWG and DXF test modules are listed in order.
2026-12-03 20:36:08 -08:00
dotCooCoo 46ee88dbb9 Merge main into fix/open-dwg-files 2026-12-03 19:49:53 -08:00
dotCooCoo 5273f4547b Tests: DWG test modules use #[cfg(test)] so clippy treats them as tests
The modules were behind cfg(all(test, ...)), which clippy's
allow-unwrap-in-tests does not read as test code. The platform
condition moves into each file as an inner attribute.
2026-12-03 12:29:22 -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
.CooCoo 7d5f0ee29f Merge pull request #10761 from dotCooCoo/fix/pathfinder-too-many-pieces-test
Tests: Divide refuses cutting lines past the segment cap
2026-12-03 12:01:23 -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
.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 db1d346bc4 Tests: Divide refuses cutting lines past the segment cap
A square and an unfilled zigzag with one segment more than the planar
map's cap: Divide returns the "select fewer paths" error and leaves the
document and the undo history unchanged. With the check replaced by the
unchecked Divide, the test fails because Divide returns the square uncut.
2026-12-03 09:56:28 -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 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 e8aa48f1fa Merge pull request #10715 from dotCooCoo/fix/gradient-stop-draft-follows-stop
Gradient: an unfinished field value stays with the stop, point or gradient it was typed for
2026-12-03 08:49:03 -08:00
.CooCoo d91cf654b3 Merge pull request #10699 from dotCooCoo/fix/script-point-undo-selection
Scripts: undoing a point write selects the anchors it dropped again
2026-12-03 08:48:47 -08:00
.CooCoo 9a2a06a136 Merge pull request #10693 from dotCooCoo/chore/script-dom-coverage
Tests: cover script DOM range checks, PrintOptions groups and evalFile refusals
2026-12-03 08:48:14 -08:00
.CooCoo 70c734d72a Merge pull request #10687 from dotCooCoo/fix/coverage-recolor-theme-legends
Tests: cover the theme picker's masks and blends, and pie legend contrast past the wedge limit
2026-12-03 08:47:42 -08:00
.CooCoo dbacda04ee Merge pull request #10698 from dotCooCoo/fix/script-text-spot-color
Scripts: a text color assigned in a CMYK document is compared as the document stores it
2026-12-03 08:47:10 -08:00
dotCooCoo a857b49af4 Main: removeAll on a clipping path passes on a stale-point error
#10682 made paths::see_all_points return a Result; d22384d6 had added a call in the mask-release path of removeAll that ignored it, so clippy -D warnings fails on main. The call now passes the error on with ?, as the other three callers do.
2026-12-03 08:46:32 -08:00
.CooCoo 989d4512e7 Merge pull request #10683 from dotCooCoo/test/coverage-gaps-engine-file-limits
Tests: cover the script gate's checked writes and three file-size limits
2026-12-03 08:22:49 -08:00
.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
dotCooCoo 96e3535c45 Merge main into fix/global-edit-stale-points 2026-12-03 07:45:26 -08:00
.CooCoo f1c39395eb Merge pull request #10677 from dotCooCoo/chore/coverage-gaps-batch3-path-select
Tests: path joins, Pathfinder refusals and unknown selection modes
2026-12-03 07:37:19 -08:00
.CooCoo fc19f5a42d Merge pull request #10664 from dotCooCoo/fix/action-playback-current-artboard
Scripts: doScript steps act on the artboard the script made active
2026-12-03 07:36:06 -08:00
.CooCoo 041c6cbfe9 Merge pull request #10660 from dotCooCoo/fix/newgroup-keeps-tracing
Image Trace: object.newGroup at index 0 no longer ends a tracing
2026-12-03 07:35:43 -08:00
.CooCoo a64c923e04 Merge pull request #10658 from dotCooCoo/fix/layer-selection-scans
Scripts: hasSelectedArtwork selects inside an isolated group and charges its scans
2026-12-03 07:35:25 -08:00
.CooCoo de71cfc9ef Merge pull request #10654 from dotCooCoo/fix/script-image-matrix-locks
Scripts: image matrix assignment refuses locked and hidden images
2026-12-03 07:34:43 -08:00
.CooCoo 6d2b626597 Merge pull request #10653 from dotCooCoo/fix/script-transform-stroke-limit-empty-path
Scripts: transforms keep path strokes within 1000 points and take empty paths
2026-12-03 07:34:28 -08:00
.CooCoo 06d4971200 Merge pull request #10648 from dotCooCoo/fix/dxf-unit-scale-ratio-percent
Scripts: ExportOptionsAutoCAD.unitScaleRatio is a percentage
2026-12-03 07:34:11 -08:00
.CooCoo 4ed98d68c1 Merge pull request #10645 from dotCooCoo/fix/legacy-tracing-first-sight
Scripts: tracings saved without their record catch artwork added before the script reaches them
2026-12-03 07:33:48 -08:00
.CooCoo 2000adaa06 Merge pull request #10640 from dotCooCoo/fix/newdoc-preset-category
New Document: a bad preset or presetCategory is an error instead of being ignored
2026-12-03 07:32:45 -08:00
.CooCoo 6010e5c731 Merge pull request #10637 from dotCooCoo/fix/failed-run-keeps-plugin-events
Plug-ins: a failed script run gives back the events its opens pushed out
2026-12-03 07:32:20 -08:00
.CooCoo 9a21dae940 Merge pull request #10636 from dotCooCoo/fix/script-image-read-once
Scripts: placing or relinking an image reads its file once
2026-12-03 07:32:03 -08:00
.CooCoo cadb2f5901 Merge pull request #10605 from dotCooCoo/fix/numbers-single-pass
Type Tools: Make Numbers Sequence rebuilds long text in one pass
2026-12-03 07:28:37 -08:00
.CooCoo 2cb11e33d3 Merge pull request #10587 from dotCooCoo/fix/numbers-skip-threaded-unmatched
Type Tools: Make Numbers Sequence skips threaded type with nothing to replace
2026-12-03 07:28:19 -08:00
.CooCoo da592f192e Merge pull request #10573 from dotCooCoo/fix/mark-bounds-beside-live-objects
Arrange Tools: Mark Bounds of Each puts marks beside a live object, not inside it
2026-12-03 07:27:55 -08:00
.CooCoo afa90dff40 Merge pull request #10552 from dotCooCoo/fix/svg-pixel-size-not-zero
SVG export: a small positive pixel size is not written as 0
2026-12-03 07:27:33 -08:00
.CooCoo 1b16db38dd Merge pull request #10486 from dotCooCoo/fix/random-fill-undrawn-designs
Color Effects: Randomize Fill Colors colors compounds in a series that names a design it does not draw
2026-12-03 07:26:36 -08:00
.CooCoo 3a6e384f45 Merge pull request #10459 from dotCooCoo/fix/halftone-grid-styles
Vector Halftone: add Grid, Grid Angle, Grid Dots and Grid Dots Angle styles
2026-12-03 07:26:20 -08:00
.CooCoo a161afb339 Merge pull request #10451 from dotCooCoo/fix/step-repeat-review
Step and Repeat: pixel-aligned copies keep their artwork registered and stay on the sheet
2026-12-03 07:26:01 -08:00
.CooCoo 4f0d45d555 Merge pull request #10444 from dotCooCoo/fix/web-image-paste-speed
Paste: a bitmap copied in another app is not encoded and decoded again
2026-12-03 07:25:43 -08:00
.CooCoo 68fcab0512 Merge pull request #10436 from dotCooCoo/fix/slider-cancel-after-failed-preview
Path sliders: Cancel ends the edit a refused preview left open
2026-12-03 07:25:26 -08:00
.CooCoo 7836fbbe1c Merge pull request #10379 from dotCooCoo/fix/gradient-stop-swatch-identity
Gradient: the stop popover keeps the swatch picked among swatches of one color
2026-12-03 07:24:27 -08:00
.CooCoo 81af84dd2f Merge pull request #10357 from dotCooCoo/fix/ai-crop-to-crop-docs
Docs: say when an explicit crop box opens a PDF with editing data
2026-12-03 07:23:55 -08:00
.CooCoo a1cf53d324 Merge pull request #10345 from dotCooCoo/fix/classic-tool-icons
Preferences: Classic tool icons by default, with the current icons selectable
2026-12-03 07:23:43 -08:00
.CooCoo 7a14274d56 Merge pull request #10211 from dotCooCoo/feat/vector-3d-materials
3D: Roughness and Metallic on the Materials tab shade and export the surface
2026-12-03 07:21:12 -08:00
.CooCoo 4ae9e3641d Merge pull request #10189 from dotCooCoo/fix/compound-release-opacity
Compound Paths: Make and Release keep the transparency and opacity mask
2026-12-03 07:19:37 -08:00
.CooCoo d5aef1fb90 Merge pull request #10154 from dotCooCoo/fix/offset-objects-pixel-snap-gap
Arrange Tools: Offset Objects chains pixel-aligned objects from where they snap
2026-12-03 07:18:54 -08:00