Commit Graph
10860 Commits
Author SHA1 Message Date
.CooCoo e0649cf32f Merge pull request #8924 from dotCooCoo/feat/script-warning-reaches
Scripts: the Other Script… warning lists what the script reaches outside the document
2026-11-28 16:09:06 -08:00
.CooCoo dcc6cd8241 Merge pull request #9399 from dotCooCoo/fix/command-dialog-document-scope
Command dialogs: restrict edits to their target document
2026-11-28 16:08:15 -08:00
.CooCoo d077b7cbb1 Merge pull request #9283 from dotCooCoo/feat/scripts-page-item-blending-mode
Scripts: PageItem.blendingMode reads and sets an object's blending mode
2026-11-28 16:06:38 -08:00
.CooCoo 79a3805b1d Merge pull request #9957 from dotCooCoo/train/carry8496
3D: a ring of overlapping faces is broken at one of its own faces
2026-11-28 16:06:32 -08:00
.CooCoo 8c6e5d7e33 Merge pull request #9129 from dotCooCoo/feat/plugin-api-importer-output-kinds
Plug-ins: importers at API level 4 open type, embedded images, layers and artboards
2026-11-28 16:06:28 -08:00
.CooCoo 4bfa4bef66 Merge pull request #9997 from dotCooCoo/fix/js-eval-new-target
Scripts: direct eval inside a function reads its new.target
2026-11-28 16:06:25 -08:00
dotCooCoo 548a8015aa Merge main into fix/command-dialog-document-scope 2026-11-28 14:50:18 -08:00
dotCooCoo 2f9621bc38 Scripts: direct eval inside a function reads its new.target
In a .js script, `function F() { return eval("new.target"); } new F()`
threw a SyntaxError: eval code was always parsed as if it were at the
top of a script, where `new.target` is not allowed (ECMA-262 2015
section 18.2.1.1).

A function that calls eval now keeps its new.target in the hidden
binding arrow functions already use, also when it was compiled as ES5.1.
A direct eval looks that binding up through the caller's scopes (one
unit of fuel per scope); when it finds one, the eval code may use
`new.target` and reads that value. At the top of a script, in an arrow
function there, and through an indirect eval it stays a SyntaxError.
`super` in eval code is still not supported.

A test in es2015_tests.rs covers plain, strict, arrow, nested-eval and
class-constructor callers and the three SyntaxError cases; it fails
without the change. Follows #9094.
2026-11-28 14:47:16 -08:00
dotCooCoo 16c63fdec9 Merge main into feat/distort-text-symbols 2026-11-28 14:28:32 -08:00
dotCooCoo 57cf0f348f Merge main into feat/script-warning-reaches
# Conflicts:
#	crates/ui-egui/src/tests/script_run.rs
2026-11-28 14:23:56 -08:00
dotCooCoo 2974180502 Merge main into feat/plugin-api-importer-output-kinds
# Conflicts:
#	crates/engine/src/cmd/plugin.rs
#	crates/plugins/src/lib.rs
#	crates/plugins/src/manifest.rs
#	crates/plugins/src/permissions.rs
#	docs/plugins.md
#	docs/target-app-parity.md
2026-11-28 14:21:28 -08:00
dotCooCoo 5728ff39cd Merge main into feat/scripts-page-item-blending-mode
# Conflicts:
#	crates/engine/src/tests/script_dom.rs
#	docs/mcp.md
#	docs/target-app-parity.md
2026-11-28 14:17:28 -08:00
dotCooCoo 6f36d55234 Merge main into train/carry8496 2026-11-28 13:51:41 -08:00
.CooCoo 3e9b4f735c Merge pull request #9947 from dotCooCoo/fix/anchor-inspector-accepted
Anchor Inspector: canceling a field edit restores the anchor or the Points per segment count
2026-11-28 13:40:00 -08:00
.CooCoo 854e5a5d5d Merge pull request #9977 from dotCooCoo/fix/packaging-fold-angle
Packaging: canceling a Fold Angle edit restores the fold lines' angles
2026-11-28 13:39:33 -08:00
.CooCoo 0aacac4bf2 Merge pull request #9944 from dotCooCoo/train/carry9162
Anchor Point: Shift keeps handles pulled out of an anchor at 45° steps
2026-11-28 13:37:55 -08:00
.CooCoo 0a8c0ee145 Merge pull request #9954 from dotCooCoo/train/carry8285
Stroke: Notched Arrow arrowhead, carried from #8285 with main merged in
2026-11-28 13:37:14 -08:00
dotCooCoo 950e432a57 Packaging: canceling a Fold Angle edit restores the fold lines' angles
The Fold Lines panel's Fold Angle field ran addon.packaging.setFoldAngle
with each value as it was typed, so Escape left the typed angle on the
selected lines. The field's edits now run in one undo scope
(EditPath::Scope, as the Parametric Shape panel does): Enter keeps the
angle as one undo step, and Escape restores the lines and leaves no
undo step.
2026-11-28 11:41:07 -08:00
dotCooCoo 4817c15d0a Layers: the trash footer takes an appearance dragged from a target circle
A target circle dropped on the Layers panel's Delete Selection button
reduces its row's item to a basic appearance again. The button accepted
only dragged rows, so the appearance branch of the footer's drop handling
never ran and the drop did nothing. Delete Selection now also accepts an
appearance dragged from the same document and contents.

New panel tests cover the target circle's drop filter (another row's
appearance moves or, with Alt, copies; its own row's appearance, one from
another document, a paint and dragged art are refused) and the trash
footer's (an appearance from the same document is reduced to basic and the
row stays; one from another document, a paint and dragged art are refused,
and Create New Layer refuses an appearance).
2026-11-28 11:23:44 -08:00
dotCooCoo 4278fffdb5 3D: count each list entry where it is read, and say what goes next past the step limit
The test counter in RingFinder::reach now counts one entry per read in the compaction loop. docs/three-d.md says that past the limit a face that can go next still goes, and the first face left by depth goes next only when none can.
2026-11-28 09:55:05 -08:00
dotCooCoo a641167bdc Docs: the ring fix applies to Extrude & Bevel and Inflate, not Rotate
Rotate draws each shape as one plane and does not reach the face sorter.
2026-11-28 09:46:28 -08:00
dotCooCoo 2593ce47f9 Docs: say when Revolve's sort does not look for rings
docs/revolve.md now states that the ring-search lists are made only when the steps left cover a quarter of the recorded pairs, and that without them the first face left by depth goes next.
2026-11-28 09:43:39 -08:00
dotCooCoo 717ad768d8 Docs: drop the #7023 revision-history rows
The roadmap and parity revision-history tables are kept by the maintainers, so the carried change adds no rows to them.
2026-11-28 09:36:03 -08:00
dotCooCoo 118a242401 Anchor Point: constrain pulled-out handles round the anchor the preview edits
Each preview runs on the document as the interaction began, and spine edits
pin the spine from that document (live::pin_spine). Shift now measures the
45 degree steps from that anchor, so the handles the command writes stay on
the steps after a previewed move. docs/mcp.md says when pointer_gesture's
Shift moves the anchor and when it constrains the handles.
2026-11-28 09:14:53 -08:00
dotCooCoo 2f1d7a2c8d Merge main into train/carry8496 2026-11-28 09:14:09 -08:00
.CooCoo 98c3a3fe08 Merge pull request #9942 from dotCooCoo/train/carry6115
Panels: the Artboards panel's list fills the panel and resizes with the window (#6085)
2026-11-28 09:07:53 -08:00
dotCooCoo d9c28efd41 Artboards: port the panel-height test to the page list
main draws the Artboards panel with the shared page list, whose list
fills the panel above its footer. The test now drives that panel
through the panel harness: in a 300 pt and a 700 pt panel the New
Artboard button ends inside the panel at its bottom and follows its
height, and with 36 artboards the last row lies below the footer.

The ui-parity and target-app-parity rows describe the list as it is
drawn now, and a stray tab in the test name is fixed.
2026-11-28 08:57:10 -08:00
.CooCoo b33bc2ce17 Merge pull request #9130 from dotCooCoo/feat/plugin-api-context-menus
Plug-ins: a command's manifest can list it in the canvas and Layers panel context menus
2026-11-28 08:56:11 -08:00
.CooCoo da8d50706a Merge pull request #9941 from dotCooCoo/fix/relink-revert
Relink: OK after File › Revert relinks nothing and asks to reopen the dialog
2026-11-28 08:56:03 -08:00
dotCooCoo d07eaa1699 Merge main into train/carry8285
# Conflicts:
#	crates/engine/src/cmd/stroke.rs
#	docs/target-app-parity.md
2026-11-28 08:54:16 -08:00
dotCooCoo dbd723d6ae Docs: restore the Anchor Point Shift pull-out lines after merging main
Main's status and revision-history lines are kept as they are; the feature
rows carry the change, and the citation points at the public Pen help page.
2026-11-28 08:53:01 -08:00
dotCooCoo 5f907f863a Merge main into feat/plugin-api-context-menus 2026-11-28 08:46:27 -08:00
.CooCoo b24f5af47c Merge pull request #8099 from dotCooCoo/feat/color-wheel-hex-alpha-css
Part of #978: Show Hex Field in the Color Wheel panel takes hex with an alpha and CSS colors
2026-11-28 08:37:09 -08:00
.CooCoo 0c51d3e454 Merge pull request #8962 from dotCooCoo/feat/pattern-brush-scale-pen-inputs
Brushes: Pattern Brush Options' Scale follows the pen's pressure, tilt, bearing, rotation and wheel
2026-11-28 08:36:51 -08:00
dotCooCoo 71b3157250 Relink: OK after File › Revert relinks nothing and asks to reopen the dialog
The Relink dialog kept only the opening document's uid, so after File ›
Revert replaced that document's content, OK relinked the restored objects
that have the same ids. The dialog now keeps the document's revert count
as well, and OK in a reverted document relinks nothing, records no undo
step and shows "The document was reverted. Reopen this dialog to
continue." in the status line, as Transform and the style dialogs do.
2026-11-28 08:20:43 -08:00
dotCooCoo 97316b5ce0 Merge main into feat/color-wheel-hex-alpha-css 2026-11-28 08:20:14 -08:00
dotCooCoo 5b57822605 Anchor Inspector: canceling a field edit restores the anchor or the Points per segment count
The X, Y, Length and Angle fields ran addon.pathtools.setAnchor with each
value as it was typed, outside any undo scope, so Escape left the anchor
edited and an angle edit could leave one undo step per keystroke. Each
field's gesture now runs in one undo scope (EditPath::Scope): Enter keeps
the edit as one undo step, and Escape restores the anchor with no step.

While an Angle edit runs, the field shows the handle's angle in the typed
value's turn, so a typed 200 is not read back as -160, which the field
took as a change made by the app and ended the edit with it kept.

Points per segment takes the value its field holds after its events, so a
canceled edit leaves the count Add Points uses as it was.
2026-11-28 08:13:12 -08:00
dotCooCoo 8087812450 Merge main into feat/pattern-brush-scale-pen-inputs 2026-11-28 08:12:04 -08:00
dotCooCoo a9fda9f97c Merge main into feat/scripts-app-redraw 2026-11-28 08:12:03 -08:00
.CooCoo ab4b8bb64a Merge pull request #9136 from dotCooCoo/feat/plugin-api-generated-art
Plug-ins: generators draw generated art objects that keep their parameters
2026-11-28 08:06:06 -08:00
.CooCoo 3212703f8c Merge pull request #9471 from dotCooCoo/fix/parser-var-scope-budget
Move var declaration names between parser scopes
2026-11-28 08:06:00 -08:00
.CooCoo 7e0381a21f Merge pull request #9910 from dotCooCoo/feat/normal-style-options
Text styles: Style Options edits [Normal Character Style] and [Normal Paragraph Style]
2026-11-28 08:05:56 -08:00
.CooCoo c2e4966407 Merge pull request #9255 from dotCooCoo/feat/scripts-scriptui-resources
Scripts: ScriptUI builds windows and controls from resource strings
2026-11-28 08:03:55 -08:00
.CooCoo b55413a834 Merge pull request #9094 from dotCooCoo/feat/js-es2015-classes
Scripts: .js scripts define classes with extends, super and new.target
2026-11-28 08:03:33 -08:00
.CooCoo 8cdd897b23 Merge pull request #9909 from dotCooCoo/feat/windows-thumbnail-handler
Windows: Explorer shows thumbnails of VectorCraft documents
2026-11-28 08:03:20 -08:00
.CooCoo e15a5fcd38 Merge pull request #9914 from dotCooCoo/fix/move-anchors-no-op-undo
Undo: a move by 0 and Layer Options that change nothing add no step
2026-11-28 08:03:15 -08:00
.CooCoo a0890cc87b Merge pull request #9929 from dotCooCoo/feat/scatter-brush-brightness-jitter
Brushes: Scatter Brush Options has Brightness Jitter, a per-copy brightness move
2026-11-28 08:03:07 -08:00
.CooCoo 19fd9548ee Merge pull request #9835 from dotCooCoo/fix/classic-3d-unchanged-approval-b
Keep unchanged 3D options out of Undo and recorded actions
2026-11-28 08:03:00 -08:00
.CooCoo 0d10c2a88d Merge pull request #9927 from dotCooCoo/feat/parametric-shape-slice
Parametric Shape: rectangles, ellipses, polygons, stars and rings cut as slices
2026-11-28 08:02:53 -08:00
.CooCoo af9226f613 Merge pull request #9900 from dotCooCoo/fix/paste-pie-legend-colors
Paste: pies in pasted symbols and patterns follow a merged swatch's wedge colors
2026-11-28 08:02:50 -08:00