Commit Graph
9146 Commits
Author SHA1 Message Date
.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
.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
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 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 177d0c6700 Shapes: a whole star stays live whatever its pie angles hold
A whole star draws every point, so its pie angles no longer stop it
from being stored as a live star. Angles configured on any whole shape
are stored with it, so a later arc mode change uses them.

A corner list longer than the old corner count drops its entries past
the last corner before it is spread, so the corners a new point or
side count adds are sharp and keep the default kind.
2026-12-04 05:56:09 -08:00
FredApps 6f6a6d4e20 Merge branch 'main' into codex/10008-native-composite-adoption 2026-12-04 10:31:44 +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
dotCooCoo b3f5c22633 Shapes: a live star keeps a small ratio and its corners through edits
A live star whose ratio is below 0.01, which object.setLiveShape takes,
lost its inner radius and its live shape when addon.shapes.configure
changed another value: the stored ratio was clamped to 0.01 when the
star was drawn and no longer counted as live. Any ratio from 0 to 1 now
draws and stays live as it is.

A corner list shorter than the star's or polygon's corners counted as
one shared radius, so a new point or side count gave the missing corners
the first corner's radius. The missing corners now stay sharp.

A ratio that changes which corners a rounded star cuts is now an error
with radius or kind in the same call, as points is, since the corners
selected before it no longer name the same corners. The anchor selection
is dropped by the same check.
2026-12-04 01:01:51 -08:00
dotCooCoo e3e11357f4 Live Corners: a nudge the pixel grid takes back keeps a live rectangle
An anchor nudge on a pixel-aligned rounded rectangle or polygon that the
pixel-grid snap cancels recorded an undo step and left the shape a live
path, because the anchor edit converts the live shape before the snap
runs. The no-change check now treats that conversion as no change when
the converted live shape matches what the same anchors would give
unmoved, so the shape stays a live rectangle and no undo step is
recorded. A change to the uncut outline or the corner settings still
counts as a change.
2026-12-04 00:56:00 -08:00
dotCooCoo 62e09de5ac Merge main into fix/remove-all-empty-compound-mask 2026-12-04 00:43:34 -08:00
dotCooCoo c62ddb2b33 Merge main into fix/script-paths-locked-layer 2026-12-04 00:43:34 -08: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
.CooCoo 96f347651e Merge pull request #10757 from dotCooCoo/fix/doc-tests-unsafe-code
Doc tests: unsafe code is denied in doc tests too
2026-12-03 23:08:32 -08:00
dotCooCoo 472d7f8e69 Direct Selection: picked handles stay picked after a Cmd/Ctrl+Shift drag
With two direction handles picked, a Cmd/Ctrl+Shift press on one of them
drags that handle alone with its opposite handle mirrored and its angle
constrained. Shift kept the press from counting as a press on one of
several picked handles, so the press did not record the picks, and its
release after a drag, or Escape during it, left only the pressed handle.

The press now records the picks for any mirroring press on one of several
picked handles, with or without Shift. Shift still keeps a drag from
moving every picked handle, and a Shift-click still adds or removes the
pressed handle.
2026-12-03 22:29:17 -08:00
dotCooCoo 629b4f5b2c Merge main into fix/direct-select-ctrl-handle-mirror 2026-12-03 21:26:45 -08:00
dotCooCoo 74b2ffdb82 Direct Selection: picked handles stay picked after a Cmd/Ctrl drag
A Cmd/Ctrl press on one of several picked direction handles drags that
handle alone so its opposite handle mirrors. The press cleared the picked
handles, and neither the release nor Escape restored them, so after the
drag only the pressed handle could be picked again.

The press now records that it is such a mirroring press. Its release
after a drag, and Escape during the drag, restore the handles that were
picked when the press began. A drag without Cmd/Ctrl still moves every
picked handle, and a click still picks the pressed handle alone.
2026-12-03 21:26:45 -08:00
ruchirguitar 227df7a41c Merge main into feat/5547-show-missing-links 2026-12-04 09:44:42 +05:30
dotCooCoo 20a5b6eb50 Merge main into fix/doc-tests-unsafe-code 2026-12-03 19:53:53 -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
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
dotCooCoo b44dbefe12 Direct Selection: a Cmd/Ctrl drag of one of several picked handles mirrors
With two or more direction handles picked, a press without Shift on one
of them started a drag of all the picked handles (path.moveHandles),
which never mirrors. A Cmd/Ctrl press that Direct Selection now keeps on
a shown handle therefore translated every picked handle instead of
mirroring the opposite one.

press_handle now drags the pressed handle alone when the press mirrors
(Cmd/Ctrl without Alt, and not the press that lent the tool from another
tool), so the drag mirrors its opposite handle and the other picked
handles stay where they are. A drag without Cmd/Ctrl still moves every
picked handle.
2026-12-03 12:59:09 -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 fa8d7dbe1d Merge main into fix/doc-pathitems-removeall-clipping 2026-12-03 11:43:15 -08:00
dotCooCoo a7176b835a Merge main into fix/doc-tests-unsafe-code 2026-12-03 11:34:34 -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
dotCooCoo 8245421df6 Merge main into fix/script-paths-locked-layer 2026-12-03 11:27:43 -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 d027865eea Merge main into fix/script-paths-locked-layer 2026-12-03 10:44:44 -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 9c11c47f75 Doc tests: unsafe code is denied in doc tests too
Rustdoc builds each doc test as its own crate, without the workspace's
`unsafe_code = "deny"` and without a library's `#![forbid(unsafe_code)]`,
so a doc test holding an `unsafe` block passed `cargo test --doc`.

- Every library root now carries `#![doc(test(attr(forbid(unsafe_code))))]`,
  or `deny` in cad, eps and metafile, which rely on the workspace lint.
- `cargo xtask layers` reports a library whose doc tests are missing the
  attribute, or use `deny` where the library forbids unsafe code.
- AGENTS.md names the rule next to the `unsafe` allowlist.
2026-12-03 09:51:28 -08:00
dotCooCoo be47572304 Merge main into fix/doc-pathitems-removeall-clipping 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
ruchirguitar 1fd7a20055 Merge main into feat/5547-show-missing-links
Conflicts:
- crates/engine/src/tests.rs: keep both the missing_links and moved test modules.
- crates/ui-egui/src/panels/links.rs: take main's labelled menu entries and give
  the Show Missing Links row its translated title.
- docs/roadmap.md, docs/target-app-parity.md: take main's rows and re-apply this
  PR's #5547 notes.
- docs/ui-parity.md: take main's Headless column layout, re-add this PR's history
  and behaviour rows (Headless: unknown), and count the new row in the summary.
2026-12-03 22:48:06 +05:30
dotCooCoo c1efe27ff7 Merge main into fix/blend-round-corners 2026-12-03 09:09:26 -08:00
dotCooCoo 5eb3adea28 Live Corners: selection and key anchor follow every recut
The selected anchors and the key anchor of a path with rounded Live
Corners now follow its corners whenever the anchors as drawn change:
after a move recuts the corners, and after the pixel-grid snap of a
pixel-aligned path cuts them again. Before, the snap's recut left the
selection on the old indices, and the key anchor was never remapped.

- A move of selected anchors that the pixel-grid snap puts back where
  it was leaves the document unchanged and records no undo step.
- object.move and object.transform params text describe the recut of
  the uncut corners when they move direct-selected anchors.
2026-12-03 09:05:16 -08:00
dotCooCoo 0a990cecd1 Merge main into fix/remove-all-empty-compound-mask 2026-12-03 09:04:30 -08:00
dotCooCoo 5ff65970f9 Merge main into fix/global-edit-stale-points 2026-12-03 08:56:53 -08:00
dotCooCoo 5aadf6c616 Shapes: stars stay live with an editable point count
A star drawn with the Star tool, shape.star or addon.shapes.star was a
plain path, so its point count could not change after it was drawn.

- LiveShape::Star keeps the outer and inner radii, the point count
  (2 to 1000, clamped when read from a file) and Live Corners' radii and
  kinds. Its corners keep the radius they shared through a new count.
- object.setLiveShape takes `points` (2 to 1000) and `ratio` (inner
  radius over outer radius, above 0 and up to 1), one undo step each and
  none when nothing changes. A new layout drops the star's selected
  anchors and segments; `points` with `radius` or `kind` is an error.
- The side widget shows on a live star and sets 3 to 20 points.
- Star Properties in the Transform panel and the Properties panel's
  Transform section have a Points field with a 3 to 20 slider and a
  Ratio field.
- Shape Tools' configure keeps a whole star live.

Fixes #4339
2026-12-03 08:54:44 -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