Commit Graph
3168 Commits
Author SHA1 Message Date
BFlat 817daf24e8 Merge pull request #9148 from dotCooCoo/fix/white-spot-ink-overprints
Overprint: a white spot ink keeps overprinting with Discard White Overprint on
2026-11-25 11:32:02 +07:00
BFlat 96d12ebf06 Merge pull request #9111 from dotCooCoo/feat/delete-keeps-paths-joined
Direct Selection: optional preference keeps paths joined when Delete removes anchors
2026-11-25 11:31:40 +07:00
BFlat 5158ad606c Merge pull request #9047 from dotCooCoo/fix/ctrl-lends-selection-tool
Selection: Cmd/Ctrl lends Direct Selection until it is released
2026-11-25 11:31:03 +07:00
BFlat 28552bb611 Merge pull request #8980 from dotCooCoo/feat/artboards-rearrange-selected
Artboards: Rearrange works on the selected artboards only
2026-11-25 11:30:31 +07:00
BFlat 55e95148ee Merge pull request #8950 from dotCooCoo/feat/docinfo-image-details
Document Info: Linked Images and Embedded Images show each image's format, resolution and memory
2026-11-25 11:30:10 +07:00
BFlat cbb977b8f1 Merge pull request #7642 from dotCooCoo/feat/color-wheel-opacity
Part of #978: Show Opacity in the Color Wheel panel sets the opacity of the fill or stroke
2026-11-25 11:28:54 +07:00
BFlat 1b831cf847 Merge pull request #9124 from dotCooCoo/fix/library-numbered-tint-names
Swatch libraries: swatches a pattern brings skip the library's numbered names
2026-11-25 11:28:34 +07:00
BFlat 0ce586a481 Merge pull request #9092 from dotCooCoo/feat/plugin-menu-placement
Plug-ins: a command's manifest can place it in another menu
2026-11-25 11:27:56 +07:00
BFlat 53199e5dbc Merge pull request #8948 from dotCooCoo/fix/script-grants-read-failure
Scripts: script.grants reports an error when the grants file cannot be read
2026-11-25 11:27:15 +07:00
BFlat 2fb75e8100 Merge pull request #8788 from dotCooCoo/feat/quick-pen-length-handles
Pen: Quick Pen handles at a path's ends make its line or arc longer or shorter
2026-11-25 11:26:26 +07:00
dotCooCoo 342ce8de51 Merge main into feat/delete-keeps-paths-joined
The two Direct Selection preference tests in
crates/ui-egui/src/tests/removeanchors.rs now use
crate::testing::ui_context() and app.canvas_view() to place the click,
as the other canvas tests on main do.
2026-11-24 19:17:02 -08:00
dotCooCoo aa8aba4500 Merge main into feat/artboards-rearrange-selected 2026-11-24 19:00:31 -08:00
dotCooCoo 0a36ef97e1 Merge main into fix/ctrl-lends-selection-tool 2026-11-24 18:02:30 -08:00
dotCooCoo ef5de4d5e5 Merge main into feat/docinfo-image-details 2026-11-24 17:57:03 -08:00
dotCooCoo 1ac56ef3ba Scripts: script.grants reports a grants file that is a link to a missing file
A link in the grants file's place whose target is missing is there but
cannot be read, so script.grants fails on it and script.grants.revoke
leaves it as it is, instead of treating it as a missing grants file.
2026-11-24 17:54:20 -08:00
dotCooCoo 6d0d4bd1a4 Merge main into fix/script-grants-read-failure 2026-11-24 17:26:58 -08:00
dotCooCoo 9a60524d6b Merge main into feat/plugin-menu-placement 2026-11-24 16:21:26 -08:00
dotCooCoo ecebe5f1d1 Merge main into feat/color-wheel-opacity 2026-11-24 12:33:59 -08:00
dotCooCoo 8f474a41a3 Merge main into fix/white-spot-ink-overprints
The white checks for colorized images in PDF export, EPS export and Print
Ink Fixes now go through DiscardWhite, which replaces
Document::spot_ink and Document::discards_white_overprint. Printed
separations read DiscardWhite with the spot inks they print, so a white
spot ink converted to process inks knocks out there.
2026-11-24 12:31:45 -08:00
dotCooCoo ec42aea37f Merge main into fix/library-numbered-tint-names 2026-11-24 11:36:43 -08:00
.CooCoo 4c60269d1a Select: adding objects one at a time checks and reads only the added ones (#9145) 2026-11-25 00:55:44 +07:00
.CooCoo 5f35daad7b Scripts: File and Folder give their localizedName (#9185) 2026-11-25 00:54:37 +07:00
dotCooCoo b4c214169b Merge main into feat/quick-pen-length-handles 2026-11-24 09:16:09 -08:00
BFlat d48c4207f7 Merge pull request #9102 from dotCooCoo/feat/colorized-image-overprint
Images: Overprint Fill makes a colorized image's color overprint
2026-11-24 16:39:55 +07:00
BFlat 11a26acb0b Merge pull request #9109 from dotCooCoo/feat/js-es2020-optional-chaining-nullish
Scripts: .js scripts read optional chains and the ?? operator
2026-11-24 16:09:45 +07:00
BFlat cf2c4ae3f7 Merge pull request #9187 from dotCooCoo/fix/js-dollar-stack-script-frame
Scripts: $.stack starts with a line that names the running script
2026-11-24 16:08:08 +07:00
BFlat 3049775dee Merge pull request #9156 from dotCooCoo/fix/plugin-compound-member-state
Plug-ins: a filter keeps a compound path's hidden and locked members
2026-11-24 16:07:35 +07:00
BFlat 74870a8fb8 Merge pull request #9150 from dotCooCoo/fix/delete-keeps-id-cache
Delete: removing objects one at a time keeps the id lookup cache
2026-11-24 16:07:15 +07:00
BFlat c3c02f81e0 Merge pull request #9128 from dotCooCoo/fix/print-fonts-setting
Print: the Fonts setting chooses how PostScript output sends type
2026-11-24 16:06:58 +07:00
BFlat 87de595305 Merge pull request #9096 from dotCooCoo/fix/plugin-run-no-op-undo
Plug-ins: a run that changes nothing records no undo step
2026-11-24 16:06:33 +07:00
BFlat 7696b503e6 Merge pull request #9079 from dotCooCoo/feat/js-es2015-block-arrow-template
Scripts: .js scripts run let, const, arrows, templates, default and rest parameters and spread
2026-11-24 16:06:07 +07:00
BFlat c79555c25c Merge pull request #9070 from dotCooCoo/feat/scripts-unitvalue
Scripts: UnitValue measurements convert and calculate with their units
2026-11-24 16:05:51 +07:00
BFlat 50a4d049fb Merge pull request #9063 from dotCooCoo/feat/three-d-mesh-attributes
3D: meshes carry UVs, smooth bevel normals and a part index
2026-11-24 16:05:34 +07:00
BFlat 2e09e5135f Merge pull request #9046 from dotCooCoo/feat/quick-pen-arc-center-i9314
Pen: Quick Pen marks an arc's center with a cross while the arc is drawn
2026-11-24 16:05:16 +07:00
BFlat fd349e4d11 Merge pull request #9015 from dotCooCoo/fix/smooth-no-worse-pass
Smooth: a drag that would not make a path smoother leaves it as it was
2026-11-24 16:05:00 +07:00
BFlat 1bd8c8cb6e Merge pull request #8987 from dotCooCoo/fix/script-export-linked-files
Scripts: vc.run export of an open document reads its own linked files
2026-11-24 16:04:43 +07:00
BFlat 7d984fc7f3 Merge pull request #8964 from dotCooCoo/feat/plugin-manifest-section
Plug-ins: read the manifest from a custom section before running any code
2026-11-24 16:03:53 +07:00
BFlat 8b4a57f4e3 Merge pull request #8818 from dotCooCoo/fix/selection-widget-double-click-transform
Live Corners: a Selection tool double-click on a corner widget shows the Transform panel
2026-11-24 16:01:41 +07:00
BFlat 2ef89d479e Merge pull request #8798 from dotCooCoo/fix/live-paint-bucket-journal-replay
Live Paint: bucket paint commands replay from the journal with any tool
2026-11-24 16:01:02 +07:00
dotCooCoo 50cf5ef9c7 Merge main into feat/quick-pen-length-handles 2026-11-24 00:31:54 -08:00
BFlat 6f37bd839c VectorCraft on the craft UI framework (#8800)
VectorCraft's UI moves onto the shared craft UI framework in storytold/craft-libs (`next`; the framework side is storytold/craft-libs#2809), as PhotoCraft's did. The app keeps its engine, document model, file formats, commands and automation; its windows, panels, bars, dialogs and canvas are now built and driven by the framework: shell, docking and panels, hosted dialogs, keyboard, focus, IME and pointer routing, and theme tokens.

About 264,000 lines of VectorCraft's own egui UI code are removed and about 154,000 added. craft-libs is pinned at bf62d509f (in `next`), the egui fork at f5025284.

Tests that drove the old UI were rewritten against the port where only their premise changed, with their assertions kept. The UI tests still failing at merge, and their follow-ups, are listed in the pull request.
2026-11-24 08:25:24 +07:00
dotCooCoo 6af6b2b13e Quick Pen: a length drag shows no Smart Guide from the hover before it
A press on a length handle kept the Smart Guides of the hover before
it, so a guide or label at the handle stayed on screen for the whole
drag. The press now clears them, as a press away from a handle does
when it places a point.
2026-11-23 12:16:38 -08:00
dotCooCoo c2967e257e Tests: short_stack keeps the run's name line as written
The first line of $.stack names the running script. The helper now
passes it through unchanged instead of reading it as a frame, and its
doc comment says so.
2026-11-23 11:36:23 -08:00
dotCooCoo f205705617 Scripts: $.stack starts with a line that names the running script
$.stack is the current stack trace
(https://extendscript.docsforadobe.dev/extendscript-tools-features/dollar-object/).
It now starts with a line holding the run's name in square brackets, such
as `[main.jsx]`, the name the console shows for the run: the `name` given
to `script.run`, else the `#script` name, else the file's name, else
`script`. The frames follow as before. Scripts that look for a bracketed
line in the trace to find their own name, for example to name a
preferences file, now find it.

The name line comes before the `…` line that stands for frames past 64.
A realm without a name (`Realm::set_script_name(None)`) writes no such
line.

Docs: docs/mcp.md ($ object table), docs/target-app-parity.md.
2026-11-23 11:17:06 -08:00
dotCooCoo 26d2a08fe3 Merge main into fix/script-export-linked-files 2026-11-22 23:41:56 -08:00
dotCooCoo a6572d450a Merge main into feat/colorized-image-overprint 2026-11-22 22:38:01 -08:00
dotCooCoo edadc82827 Plug-ins: state what a compound path's reshape resets, and test an unflagged flatten of a guide member
docs/plugins.md now says that each new member keeps only the id of the
old member in its place, with its name, live shape, opacity, blending
mode, appearance, opacity mask and other settings of its own reset, and
that `guide: false` on a compound path makes each guide member an
ordinary path.

The compound path test also checks that `type: "path"` without `guide`
is refused for a compound path with a guide member and leaves the member
a guide, and its doc comment names members that are not paths.
2026-11-22 19:59:44 -08:00
dotCooCoo 2fbe099c48 Plug-ins: refuse replacing a compound path's members when one isn't a path
A member that is not a path (a compound path inside a compound path) is
not in the input's `path`, so a changed `path` or `type: "path"` deleted
it, together with any hidden or locked members it held. The host now
refuses such an output with an error naming the compound path. A
compound handed back as it was still keeps the member.

docs/plugins.md also says that new members keep the old ids by position
but not their names or live shapes. The test covers a nested compound
member and turning a compound with a guide member into a guide path.
2026-11-22 19:15:57 -08:00
dotCooCoo e4ce03a906 Plug-ins: a filter keeps a compound path's hidden and locked members
A filter that handed a compound path back rebuilt every member from the
returned path, even when the path was unchanged, so its hidden members
were shown and its locked members unlocked after any run.

- A compound path whose path comes back as it was, or is left out, keeps
  its members as they are.
- While a member is hidden, locked or a guide, a changed path or
  `type: "path"` is refused with an error naming the compound path. A
  guide member is allowed when the output also sets `guide`.
- A changed path still replaces the members, one per subpath, keeping
  the old members' ids by position.

Docs: docs/plugins.md.
2026-11-22 17:58:55 -08:00
dotCooCoo 0b8dae1401 Delete: removing objects one at a time keeps the id lookup cache
Every Document::remove_many cleared the id lookup cache, and the next
lookup with no cache walked the tree once to answer and again to
rebuild it. Deleting objects one by id at a time with edit.clear walked
the whole tree twice per Delete: 20,005 walks for 10,000 objects.

- remove_many keeps the cache and records which children it took out
  of each parent. A cached path then counts a node's index among its
  siblings less the removed siblings before it, so the nodes left are
  found without a walk whichever objects were removed (top, bottom,
  middle, or the art below a layer's ruler guides). The cache has no
  path for a removed node or a node inside one. The cache is still
  dropped once the removed nodes are half of its entries, and when it
  does not have a listed node where it is.
- index_path with no cache builds the cache and answers from it, in
  one walk. An id that appears more than once is still walked to, so
  the first in tree order is returned as before.

Release build, deleting each object of one layer by id with nothing
selected. Walks for 1,000 objects went from 2,005 to 14 in each order.
For 10,000 objects, median of three runs:

  from the top:     20,005 walks, 5.53 s  -> 15 walks, 4.28 s
  from the bottom:  20,005 walks, 11.24 s -> 15 walks, 10.87 s
  from the middle:  20,005 walks, 10.62 s -> 15 walks, 8.62 s

Each Delete is still one undo step. The time left still grows with the
square of the count: each Delete rebuilds the parent's child list and
keeps a copy of the document for undo, and this change does not touch
either.
2026-11-22 17:06:53 -08:00