Commit Graph
10704 Commits
Author SHA1 Message Date
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 00ac0ac5ae Tests: placed gradients under Warp on strokes, symbol art and compound shapes
Covers the other places a Warp now moves placed gradients: a group's
and a nested group's own strokes and a compound path's stroke (with the
stroke-inflated bounds), the art of a symbol instance and the area of a
compound shape with a Warp, and a stroke's own Warp on the canvas. A
new test checks that Arc's no-bend threshold for gradients matches the
one the warp uses, and the no-bend test now covers all fifteen styles.
The render test's Fisheye case, which left the square's bounds as they
were, is replaced by a vertical Bulge, and each style there is checked
to move the outline's left or right edge. The Object > Expand test
checks that it measures the ramp and not an edge of the outline.

The params text and docs/mcp.md now state which bounds each gradient
follows, and that a warp moves them with a bend or a distortion.
2026-11-08 09:29:57 -08: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 58a9de88a9 Merge main into feat/plugin-effect-paint 2026-11-08 09:27:58 -08: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
dotCooCoo b2e629bf45 Merge main into fix/plugin-stale-grant 2026-11-08 09:24:25 -08: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
dotCooCoo aa43273c4c Merge main into fix/plugin-grant-module-hash 2026-11-08 09:17:42 -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
BFlat 2cbe9209a2 Merge pull request #5202 from dotCooCoo/fix/family-escape-restores-options
Drawing tools: Escape on an arc, spiral or grid drag puts back the options it changed
2026-11-09 01:17:21 +08:00
BFlat be3285ff7d Merge pull request #5196 from dotCooCoo/fix/perspective-snap-mixed-depths
Perspective grid: Snap to Grid moves objects at every depth by one plane offset
2026-11-09 01:17:03 +08:00
BFlat d360c35d8c Merge pull request #5041 from dotCooCoo/feat/function-keys-cut-copy-paste-r
Shortcuts: F2, F3 and F4 also cut, copy and paste on Windows and Linux
2026-11-09 01:16:47 +08:00
BFlat 41b996b299 Merge pull request #5040 from dotCooCoo/feat/typed-markers-distinct-bullets-r
Type: typed `+`, `#` and `>` start lists with a hollow circle, square and dash
2026-11-09 01:16:32 +08:00
BFlat d6ec81bc82 Merge pull request #5039 from dotCooCoo/feat/typed-lists-preference-r
Type: add a VectorCraft preference for typed list detection
2026-11-09 01:16:16 +08:00
BFlat 0cdec14ccc Merge pull request #5034 from dotCooCoo/fix/image-cache-follows-memory-r
Render: the decoded-image cache can grow to a quarter of installed memory on every desktop OS
2026-11-09 01:15:58 +08:00
BFlat 7feb683ca6 Merge pull request #5027 from dotCooCoo/feat/type-orientation-follows-thread-r
Type: Type Orientation is a setting of the whole thread
2026-11-09 01:15:39 +08:00
BFlat 7d7d6f8d21 Merge pull request #5025 from dotCooCoo/fix/paragraph-reset-panel-mojikumi-tabs-r
Paragraph: Reset Panel also resets the Mojikumi Set and tab stops
2026-11-09 01:15:22 +08:00
dotCooCoo 9f528da663 Merge main into feat/plugin-importers 2026-11-08 09:15:04 -08:00
BFlat 0121890cba Merge pull request #5023 from dotCooCoo/feat/wheel-ctrl-scrolls-sideways-r
Canvas: a General option makes Cmd/Ctrl-wheel scroll the canvas sideways
2026-11-09 01:15:04 +08:00
BFlat 970150b01a Merge pull request #5015 from dotCooCoo/fix/batch-save-close-data-sets
Actions: Batch over data sets keeps Save and Close and warns when each data set saves over one file
2026-11-09 01:14:45 +08:00
dotCooCoo 4262f3e8ca Merge main into feat/plugin-effect-paint 2026-11-08 09:14:27 -08:00
BFlat 8e1a35daa2 Merge pull request #4058 from dotCooCoo/feat/trace-expand-by-color
Image Trace: Expand can group the traced paths by color
2026-11-09 01:14:26 +08:00
BFlat 8cd371e1fc Merge pull request #3995 from dotCooCoo/feat/document-compare-image
Document: document.compare measures how far an artboard's render is from an image
2026-11-09 01:14:08 +08:00
dotCooCoo 65659a5dd0 Merge main into feat/plugin-importers 2026-11-08 09:14:02 -08:00
BFlat 90506ff84e Merge pull request #3946 from dotCooCoo/feat/flat-logo-named-colors-only
Image Trace: Flat Logo can trace only the named colors, without a white of its own
2026-11-09 01:13:52 +08:00
BFlat 38a019a47e Merge pull request #2642 from dotCooCoo/fix/one-text-variable-per-object
Variables: a second text variable on one type object is refused
2026-11-09 01:13:32 +08:00
dotCooCoo 3d80b6a133 Plug-ins: the kind-mismatch error reads correctly for importers and exporters, and a failed import leaves the open document alone
A plug-in of the wrong kind now gets "is a plug-in of kind `exporter`, not an importer", with rows in every complete-message catalog. The importer failure test also covers an open, edited document. docs/plugins.md states that Open Recent does not remember Open With's importer or parameters.
2026-11-08 09:13:30 -08:00
dotCooCoo 671e833913 Merge main into feat/help-bar-visibility 2026-11-08 09:10:51 -08:00