Commit Graph
9278 Commits
Author SHA1 Message Date
BFlat b632e69e5f Merge pull request #6198 from dotCooCoo/fix/plugin-fuzz-bulk-memory
Plug-ins: the fuzz test generates bulk memory operations
2026-11-09 02:00:41 +08:00
BFlat cc2f9a3e3e Merge pull request #6195 from dotCooCoo/fix/envelope-top-object-sides
Envelopes: a top object's sides share the content by control polygon length
2026-11-09 02:00:22 +08:00
BFlat c036f56844 Merge pull request #6191 from dotCooCoo/fix/pathops-vc-merge-per-key
Path ops: Merge finds every fill's faces in a few contour passes instead of one per fill
2026-11-09 02:00:04 +08:00
BFlat 782f213e48 Merge pull request #6185 from dotCooCoo/feat/plugin-safe-mode
Plug-ins: Safe Mode starts without plug-ins, offered after a launch stops while one loads
2026-11-09 01:59:47 +08:00
BFlat 188316b092 Merge pull request #6178 from dotCooCoo/feat/js-interpreter
JavaScript: vectorcraft-js runs ES5 scripts with a garbage-collected heap and execution limits
2026-11-09 01:59:35 +08:00
BFlat c9b40ea58f Merge pull request #6169 from dotCooCoo/feat/pixel-align-property
Transform: Align to Pixel Grid keeps an object's horizontal and vertical edges on the pixel grid
2026-11-09 01:59:18 +08:00
BFlat 23c8b4c11a Merge pull request #6168 from dotCooCoo/feat/export-3d-mesh
Asset Export: 3D objects export as USDA, USDZ, glTF or OBJ meshes
2026-11-09 01:59:00 +08:00
BFlat 51c28f6e17 Merge pull request #6149 from dotCooCoo/feat/load-aia-actions-2
Actions: Load Actions… reads action sets saved as .aia files
2026-11-09 01:58:41 +08:00
BFlat f110a8d6d1 Merge pull request #6144 from dotCooCoo/perf/distinct-masks
Path ops: region building lists the shapes covering each region instead of a flag per shape
2026-11-09 01:58:25 +08:00
BFlat dbf7fb0045 Merge pull request #6136 from dotCooCoo/feat/ai-editing-data-symbols
.ai save: the editing copy keeps symbols and their instances
2026-11-09 01:58:07 +08:00
BFlat 9135c4bc57 Merge pull request #6111 from dotCooCoo/feat/artboard-edge-add
Artboard tool: buttons on the selected artboard's edges add an artboard beside it
2026-11-09 01:57:51 +08:00
BFlat 7dc2bfd378 Merge pull request #6101 from dotCooCoo/feat/app-title-bar-on-desktop-frames-r
Title bar: a Linux and BSD preference uses the app bar where the desktop draws the frame
2026-11-09 01:57:35 +08:00
BFlat 8f505ed8c2 Merge pull request #6100 from dotCooCoo/fix/catalog-bare-values
i18n: error messages in every catalog keep true, false, null and the keys they name
2026-11-09 01:57:18 +08:00
BFlat 3c200c5f23 Merge pull request #6094 from dotCooCoo/fix/graph-series-paint-follows-styles
Graphs: graphic styles and Default and Swap Fill and Stroke update a series' stored paint
2026-11-09 01:56:59 +08:00
BFlat 6a8549adec Merge pull request #6083 from dotCooCoo/feat/ai-placed-documents
.ai import: placed PDF and .ai pages open as placed documents
2026-11-09 01:56:43 +08:00
BFlat d2e34dce54 Merge pull request #5962 from dotCooCoo/feat/dynamic-symbol-direct-edit
Symbols: Direct Selection sets the solid fill and stroke of one object in a dynamic instance
2026-11-09 01:56:26 +08:00
BFlat 9214b97201 Merge pull request #5814 from dotCooCoo/fix/layers-thumbs-opened-doc-jobs
Layers: a document opened after a close keeps its thumbnail jobs
2026-11-09 01:56:13 +08:00
BFlat 9f75ae2bfc Merge pull request #5500 from dotCooCoo/feat/dxf-cnc-cam-preset
DXF: a CNC / CAM preset sets the export options for cutting software
2026-11-09 01:55:57 +08:00
BFlat f16e9d2824 Merge pull request #5320 from dotCooCoo/feat/native-pdf-compatible-default
Save: include a PDF in new native files by default
2026-11-09 01:55:45 +08:00
BFlat 0a93898802 Merge pull request #5227 from dotCooCoo/fix/ai-bas-relief-settings
.ai import: Bas Relief opens with its settings
2026-11-09 01:55:27 +08:00
dotCooCoo 332e115b68 Plug-ins: the bulk memory fuzz generators follow the paint generators
Moves the bulk memory case types, strategies and their test after arb_paint, so they no longer share the lines after output where other fuzz generators are added.
2026-11-09 00:31:14 +07:00
dotCooCoo 44432a4310 Plug-ins: the fuzz test generates bulk memory operations
plugin_fuzz now builds plug-ins whose run executes memory.fill,
memory.copy (overlapping ranges included), memory.init followed by
data.drop, and data.drop followed by memory.init. Lengths and offsets
are sampled at zero, small, page and mebibyte sizes, at an exact end,
one before and one past it, with copy sources and destinations and init
memory and segment offsets chosen separately. Fill and copy can repeat
up to about one fuel slice of copying.

Each case runs directly under the default budget, a small fixed budget
or one near its estimated cost. A run must trap exactly when a range
leaves memory or the data segment (empty once dropped), and must finish
when it is in bounds and has ample fuel; otherwise it may hit the
instruction budget. The same plug-in then runs through plugin.run: a
failed run leaves the document unchanged and the document still renders
and exports.

bulk_memory_cases_reach_their_instruction checks that each operation's
module contains its instruction and traps on a small out-of-bounds case.
2026-11-09 00:31:14 +07:00
dotCooCoo 51bab66409 Envelopes: document how a straight segment's handles count in the top object corner test
A top object's corner test treats a straight segment as having its
handles a third of the way along it, so an anchor between two straight
segments is a corner only when it turns out of the outline. docs/mcp.md
and the doc comment now say so, and a new test covers an inward anchor
between straight segments. The bulging-curve corner test checks against
a fixed point instead of the same nearest-point routine the code uses.
2026-11-09 00:31:07 +07:00
dotCooCoo ed6c0d434f Envelopes: a top object's corners keep their saved anchors when reflected
Saved corners from an .ai file stay on the same anchors when the
envelope is reflected, as they already did when it was moved or
rotated. A reflected outline runs counter-clockwise; the corners were
then mapped as if the outline had been drawn the other way round, no
longer fit it, and were found again from the outline.

On a tie between two corner anchors, or two nearest outline points,
the one met first along the outline in the order it was drawn wins,
for outlines drawn counter-clockwise too.

The docs state the corner rule in full: a handle 0.01 pt long or
shorter makes an anchor a corner whichever way it turns; otherwise its
tangent unit vectors must differ by 0.01 or more in x or y and turn
out of the outline. Content spreads evenly along a segment without
handles.
2026-11-09 00:31:07 +07:00
dotCooCoo 75a328f8b1 Docs: a top object's corner anchor needs a short handle or an outward turn
An anchor with a handle shorter than 0.01 pt counts as a corner of a top
object whichever way it turns; only an anchor whose tangents differ must
turn out of the outline. docs/mcp.md and the progress line in
docs/target-app-parity.md now say so.
2026-11-09 00:31:07 +07:00
dotCooCoo 63dfcba8ba Envelopes: a top object's sides share the content by control polygon length
A top-object envelope splits its outline into four sides at four corners
and maps the content onto the Coons patch of those sides. The sides
shared out the content by length, and the corners were the anchors or
curve points nearest the bounding box corners.

Each piece of a side between anchors and corners now takes a share of the
content's width or height in proportion to the length of its control
polygon, spread along the piece by its curve parameter. A straight
segment spreads it evenly by length. A rounded rectangle stays close to
the identity, and the content follows the curves of a side whose segments
differ in size.

Each corner is now the nearest anchor to its bounding box corner among
the sharp anchors that point out of the outline and lie within 47.5% of
the box's width and height from that corner. A handle shorter than
0.01 pt, or tangent unit vectors that differ by 0.01 or more in x or y,
makes an anchor sharp, and the first one along the outline wins a tie.
Without such an anchor, the corner is the outline's nearest point to the
box corner, moved onto the end anchor of its segment within 0.5% of the
segment's parameter. Envelopes opened from .ai files keep the corners the
file saves.

These are VectorCraft's own rules. Existing top-object envelopes redraw by
them. Gradient meshes made from a path keep their sides measured by length.

- crates/doc/src/live/mesh.rs: Coons::from_top_object and the corner
  search, used for top-object envelopes.
- EnvelopeKind::TopObject gains an optional `corners` field (anchor
  indices); the .ai importer fills it from the mesh's corners.
- Params text of object.envelope.makeWithTopObject, docs/mcp.md
  (Envelopes) and a progress line in docs/target-app-parity.md.
2026-11-09 00:31:06 +07:00
dotCooCoo be0e9347b8 Path ops: Merge finds every fill's faces in a few contour passes instead of one per fill
Squashed from #6191 onto main.
2026-11-09 00:30:43 +07:00
dotCooCoo b5e6f6e80f Plug-ins: Safe Mode starts without plug-ins, offered after a launch stops while one loads
Squashed from #6185 onto main.
2026-11-09 00:30:24 +07:00
dotCooCoo bf1145edd5 JavaScript: vectorcraft-js runs ES5 scripts with a garbage-collected heap and execution limits
Squashed from #6178 onto main.
2026-11-09 00:29:52 +07:00
dotCooCoo 581ced3213 Transform: Align to Pixel Grid keeps an object's horizontal and vertical edges on the pixel grid
Squashed from #6169 onto main.
2026-11-09 00:29:28 +07:00
dotCooCoo b568977af4 Asset Export: 3D objects export as USDA, USDZ, glTF or OBJ meshes
Squashed from #6168 onto main.
2026-11-09 00:29:05 +07:00
dotCooCoo 657a99b629 Actions: Load Actions… reads action sets saved as .aia files
Squashed from #6149 onto main.
2026-11-09 00:28:25 +07:00
dotCooCoo f74c7e8056 Path ops: region building lists the shapes covering each region instead of a flag per shape
Squashed from #6144 onto main.
2026-11-09 00:28:12 +07:00
dotCooCoo f2e6c6d219 .ai save: the editing copy keeps symbols and their instances
Squashed from #6136 onto main.
2026-11-09 00:28:03 +07:00
dotCooCoo 1d007bc3c8 Artboard tool: buttons on the selected artboard's edges add an artboard beside it
Squashed from #6111 onto main.
2026-11-09 00:27:52 +07:00
dotCooCoo fb413b39f3 Title bar: a Linux and BSD preference uses the app bar where the desktop draws the frame
Squashed from #6101 onto main.
2026-11-09 00:27:21 +07:00
dotCooCoo e9ee87b7cd i18n: error messages in every catalog keep true, false, null and the keys they name
Squashed from #6100 onto main.
2026-11-09 00:27:03 +07:00
dotCooCoo c0a8ebb70f Graphs: graphic styles and Default and Swap Fill and Stroke update a series' stored paint
Squashed from #6094 onto main.
2026-11-09 00:26:44 +07:00
dotCooCoo a409f34ebe .ai import: placed PDF and .ai pages open as placed documents
Squashed from #6083 onto main.
2026-11-09 00:26:34 +07:00
dotCooCoo 434c032f9e Symbols: Direct Selection sets the solid fill and stroke of one object in a dynamic instance
Squashed from #5962 onto main.
2026-11-09 00:26:11 +07:00
dotCooCoo 122b10143c Layers: a document opened after a close keeps its thumbnail jobs
Closing a document told the worker to forget every row whose document was
not open at that moment. The worker keeps that test until it is idle, so
while a job still ran, a document opened afterward had its rows dropped
and they stayed without thumbnails. The worker now forgets only the
documents that closed.
2026-11-09 00:25:58 +07:00
dotCooCoo cd8e98c6cd DXF: a CNC / CAM preset sets the export options for cutting software
Squashed from #5500 onto main.
2026-11-09 00:25:53 +07:00
dotCooCoo d61a7abc96 Save: include a PDF in new native files by default
Squashed from #5320 onto main.
2026-11-09 00:25:34 +07:00
dotCooCoo f5be571d47 .ai import: Bas Relief opens with its settings
Squashed from #5227 onto main.
2026-11-09 00:25:27 +07:00
BFlat 0b0d2f0ab7 Merge pull request #5557 from dotCooCoo/fix/vertical-path-upright-glyphs
Type: upright glyphs on a vertical path face the path's start, so ligatures read in order
2026-11-09 01:19:05 +08:00
BFlat d4e9d0d6f4 Merge pull request #5518 from dotCooCoo/feat/open-heic-files
File formats: HEIC and HEIF images open and place
2026-11-09 01:18:45 +08:00
BFlat 6ff760dbb1 Merge pull request #5395 from dotCooCoo/fix/toolbar-left-panel-docking
Workspace: add an option to keep Tools beside the canvas with left-side panels
2026-11-09 01:18:27 +08:00
BFlat 96d15708b2 Merge pull request #5313 from dotCooCoo/feat/marquee-selection-qol
Selection QoL: marquee modes with visible feedback
2026-11-09 01:18:09 +08:00
BFlat 1ba7b826b7 Merge pull request #5220 from dotCooCoo/feat/document-info-pattern-objects
Document Info: Pattern Objects lists the objects painted with patterns
2026-11-09 01:17:48 +08:00
BFlat ca24db3e96 Merge pull request #5211 from dotCooCoo/fix/brand-mark-under-desktop-frame
Title bar: the app bar shows no brand mark under the desktop's own frame
2026-11-09 01:17:32 +08:00