Commit Graph
3479 Commits
Author SHA1 Message Date
dotCooCoo 5deec7f017 Scripts: the tag tests read the item they tag from pageItems, which lists the topmost first 2026-11-26 00:34:16 -08:00
dotCooCoo d1eb8c9503 Scripts: a startup listing over the script limit keeps the first names in order
The listing sorts the eligible names before it applies the limit, so the same scripts run on every launch.
2026-11-26 00:30:17 -08:00
dotCooCoo 562bec3f1e Merge main into feat/scripts-api-d7b-tags-notes-uuid 2026-11-25 23:07:28 -08:00
dotCooCoo 2fc172e69a Merge main into feat/scripts-xmp-objects 2026-11-25 22:11:49 -08:00
dotCooCoo 9c34c3a2fa Guides: a transform's reply lists the guide paths it makes of ruler guides
A selected ruler guide that a transform turns to an angle becomes a
selected guide path, but the reply's ids left it out: object.rotate
with copy on a lone guide returned {"ids": []}. transform_ruler_guides
now returns the ids of the paths it adds, and the transform commands
add them after the transformed objects, on the direct-selected anchor
route too.
2026-11-25 21:51:20 -08:00
dotCooCoo df3d7ab275 Scripts: stale page item lists throw from toString; unavailable members stop hasOwnProperty
- `toString()` on a page item list from a closed or replaced document throws
  "Stale document", as its other members do.
- A member a host class declares unavailable is not reported by
  `hasOwnProperty` or `propertyIsEnumerable` even when a parent class has it.
- Assigning a name an object of a host class inherits from a prototype no
  longer calls the class's indexer, so a non-strict assignment is ignored
  instead of throwing.
- Assigning a selection checks repeated objects with a set instead of
  scanning the list for each object.
- The script report test throws a text that names `Window` for the case of
  an error the script wrote itself.
2026-11-25 21:50:05 -08:00
dotCooCoo 013cf4dacb Fill Area: outline pieces on a clipping mask's edge count as shown
clip_to kept a piece of an unfilled outline only when its middle tested
inside the mask, and a point on the mask's own outline tests inside on
some sides and outside on others. A square clipped by the same square
kept two sides, so Fill Area found no area inside it.

A piece whose middle lies on the mask's outline now counts as shown when
the mask's filled area lies on one side of it. A piece just outside the
mask, and a piece on an outline of the mask that bounds no filled area,
stay hidden.
2026-11-25 21:39:58 -08:00
dotCooCoo ae8c902401 Merge main into feat/js-promise-job-queue 2026-11-25 21:19:42 -08:00
dotCooCoo 3001757362 Merge main into feat/packaging-fold-angle 2026-11-25 21:17:07 -08:00
dotCooCoo 6cb7fcadae Merge main into feat/quick-pen-edit-delete 2026-11-25 19:18:48 -08:00
dotCooCoo 046a97cb73 Merge main into feat/curvature-circle-options 2026-11-25 19:16:23 -08:00
dotCooCoo 6b7b780c22 Color Wheel: contrast measures a painting tool's color without the selection's drawing
While the Live Paint Bucket (or the Shape Builder, for the fill) is the
active tool, the Fill and Stroke proxies show the color the tool paints
with. color.contrast still took the opacity and blend modes from the
selected objects, so it rated the bucket's color at an opacity it is not
drawn with, and refused to answer when the selected objects were drawn
differently. It now draws the tool's color in Normal mode, at `opacity`
or fully opaque, as for a given `color`.

Docs: docs/mcp.md and the command's params text.
2026-11-25 19:09:41 -08:00
dotCooCoo 132d2da4a1 Merge main into feat/plugin-api-filter-type-images-symbols 2026-11-25 19:01:04 -08:00
dotCooCoo acba47982f Merge main into feat/script-grants-list 2026-11-25 18:40:00 -08:00
dotCooCoo b6b702f080 Merge main into fix/reset-preferences-interface-settings 2026-11-25 18:36:58 -08:00
dotCooCoo 9375decc46 Merge main into fix/copy-region-ids-isolated-ancestor 2026-11-25 18:25:59 -08:00
dotCooCoo 281cee4379 Live Corners: the Corners pop-up applies its radius after the Stack
The pop-up's Radius edits are now collected inside the Stack and applied
after it, as the kind and rounding radios already are.

relativeRadii no longer turns a plain path into a Live Corners path here;
that change goes to its own pull request. relativeRadii on a plain path,
an ellipse or a line leaves it as it is and adds no undo step.
2026-11-25 18:21:19 -08:00
dotCooCoo 192a041ec8 Merge main into feat/js-es2015-generators 2026-11-25 18:09:25 -08:00
dotCooCoo 48f055cf43 Merge main into feat/scripts-execute-menu-command 2026-11-25 18:01:37 -08:00
BFlat a54d28887c Merge pull request #7718 from dotCooCoo/feat/color-wheel-contrast
Color Wheel: Show Contrast reports the WCAG contrast against the color behind the selection
2026-11-26 08:51:15 +07:00
BFlat 050f7cf407 Merge pull request #9019 from dotCooCoo/feat/scripts-api-d1a-app-documents
Scripts: app gives scripts the open documents, their selection and page items
2026-11-26 08:50:54 +07:00
BFlat 5fea446015 Merge pull request #9084 from dotCooCoo/feat/plugin-api-run-notices
Plug-ins: a filter or plug-in command can report a notice in the status bar
2026-11-26 08:48:46 +07:00
BFlat 8bf4a7d58f Merge pull request #9331 from dotCooCoo/feat/layers-range-select-art
Layers: Shift-click in the selection column selects the art of a range of rows
2026-11-26 08:48:31 +07:00
BFlat dc0c47a9a3 Merge pull request #9329 from dotCooCoo/feat/rotate-ruler-guides
Guides: selected ruler guides rotate with the Rotate tool and Object › Transform › Rotate
2026-11-26 08:48:18 +07:00
BFlat daccee9065 Merge pull request #9100 from dotCooCoo/fix/shape-builder-color-pick
Shape Builder: a fill chosen while the tool is active leaves the selection's fills
2026-11-26 08:48:05 +07:00
BFlat 30f6381618 Merge pull request #8493 from dotCooCoo/feat/circle-from-center
Shapes: the Circle tool draws a circle from its center through a point
2026-11-26 08:47:08 +07:00
BFlat c2b45ce9d1 Merge pull request #9091 from dotCooCoo/fix/issue-9051
Fix #9051: Display Print Size shows 100% at the display's physical size
2026-11-26 08:46:41 +07:00
BFlat 6d5fec9439 Merge pull request #8965 from dotCooCoo/feat/save-for-web-transparency-dither
Save for Web: Transparency Dither makes a share of partly transparent pixels clear
2026-11-26 08:46:29 +07:00
BFlat d16fd75146 Merge pull request #9120 from dotCooCoo/fix/pathfinder-effect-options-followup
Pathfinder: effects journal every option they use, and Outline follows Precision
2026-11-26 08:45:50 +07:00
BFlat 033504a0b7 Merge pull request #9336 from dotCooCoo/fix/fill-area-left-out-reach
Fill Area: a path left out of the search stops an area only when it reaches it
2026-11-26 08:44:51 +07:00
BFlat f412008f3f Merge pull request #9334 from dotCooCoo/fix/fill-area-clip-masks
Fill Area: clipped art bounds areas only where its mask shows it
2026-11-26 08:44:28 +07:00
BFlat 5203dda3d6 Merge pull request #8439 from ncic/pencil-redraw-smooth
Pencil: a redraw stroke's bend stops at the edit distance, and its preview shows on top in any drawing mode
2026-11-26 08:43:24 +07:00
BFlat 04631eb028 Merge pull request #8989 from dotCooCoo/feat/blob-eraser-size-stylus-wheel
Blob Brush: Size offers Stylus Wheel
2026-11-26 08:43:10 +07:00
BFlat f827b94f4f Merge pull request #8997 from dotCooCoo/feat/smooth-tool-smoothness
Smooth: Smooth Tool Options' Smoothness sets how strongly a drag smooths
2026-11-26 08:42:56 +07:00
dotCooCoo 52971bc1d6 Plug-ins: stored plug-ins loading in the background count only a signed grants file
The background load of the plug-in store read the grants file directly and
counted its grants whether or not the file was signed, so a grants file
changed outside VectorCraft, or an earlier copy put back, still let its
plug-ins load. It now takes the grants through the same check as the other
reads (signed_grants), and an unsigned file grants nothing.

The three load tests that expect a grant in the store now write a signed
grants file and read it back in the signed format.
2026-11-25 17:22:04 -08:00
dotCooCoo 1d6f0340e2 Merge main into feat/color-wheel-contrast
The contrast row, its menu rows and its tests move to the craft UI framework,
as main's Color Wheel panel now uses it:

- The row is a Row with a Swatch named Background (a color well whose value is
  the background's hex value) and Text for the ratio and the AA and AAA
  results, each with the WCAG minimums as its tooltip.
- Show Contrast, Contrast For and Contrast Background are rows of the panel
  menu's items (ui.colorWheel.contrast, contrastFor.<id>,
  contrastBackground.below and contrastBackground.current), after Show
  Opacity. Current Color is gray, and its row answers an error, while the
  active proxy has no solid color.
- The kept background and ratio answer are fields of WheelUi instead of panel
  state. The answer's key also holds whether the Live Paint Bucket paints,
  which changes the proxies' paint without a document revision.
- The row's tests run in the panel's Fixture by accessible name; the drag test
  runs an interaction whose previews set the fill, as the Show Document Colors
  drag test does.
- The settings lists in the params text, docs/mcp.md and the tests take both
  opacity and the contrast keys.
2026-11-25 16:36:08 -08:00
dotCooCoo c7ae974cf3 Merge main into feat/corners-link-popup 2026-11-25 15:35:14 -08:00
dotCooCoo 94902542ac Merge main into feat/curvature-circle-options 2026-11-25 15:23:47 -08:00
dotCooCoo 2ef1946cfb Merge main into feat/smooth-tool-smoothness 2026-11-25 15:23:42 -08:00
dotCooCoo 6ad8c0476a Scripts: script.grants.revoke removes only the grant named as given
script.grants.revoke matched a path both as given and with its links
followed, so revoking a grant whose path is now a link to another
granted path removed both grants. The spellings are now tried in order,
the path as given first, and only the first script and path pair that
some grant holds is removed.
2026-11-25 15:13:55 -08:00
dotCooCoo ceff5efd5f Merge main into feat/plugin-api-run-notices 2026-11-25 15:05:22 -08:00
dotCooCoo 0ca2145429 Plug-ins: a filter run is given the typing in progress, and a refused output keeps it in progress
With Real-time Drawing off, typing in progress is kept as its own step before
the run is prepared, in plugin.run, a plug-in command and the app's background
start, so the plug-in is given the typed text. A run whose typing started after
it was prepared, with its text still out of the document, is refused, and a
background run that finishes then asks to be run again.

Typing whose text is already in the document is kept only after every check
that can refuse the output has passed, so a refused output leaves the
document, the history and the typing in progress as they were. When keeping it
changes the document, the output is applied to the document as kept.
2026-11-25 14:56:26 -08:00
dotCooCoo b19905b054 Merge main into fix/issue-9051 2026-11-25 14:55:35 -08:00
dotCooCoo c64d194a4d Merge main into fix/pathfinder-effect-options-followup 2026-11-25 14:43:59 -08:00
dotCooCoo e7bb81d80e Plug-ins: a script's command reads no plug-in folder file whose name isn't valid text
A plug-in folder load checks each file against the automation roots and,
in a command a script runs, the script's read gate. A file whose name
isn't valid text cannot be checked by name, and without automation roots
it loaded unchecked, also in a script's command. A link with such a name,
in a folder the script may read, loaded a module from anywhere.

Such a file is now refused in a script's command, as it already was under
automation roots. Outside both, it still loads.
2026-11-25 14:20:00 -08:00
dotCooCoo e1e90b48c7 Merge main into fix/shape-builder-color-pick 2026-11-25 14:01:29 -08:00
dotCooCoo c0fd2170d0 Merge main into feat/plugin-api-filter-type-images-symbols 2026-11-25 13:59:45 -08:00
dotCooCoo 950602cb84 Merge main into fix/plugin-grants-integrity 2026-11-25 13:57:17 -08:00
dotCooCoo 581f70be24 Merge main into feat/js-es2015-generators 2026-11-25 13:52:14 -08:00
dotCooCoo b81e6dbabb Merge main into feat/circle-from-center 2026-11-25 13:46:50 -08:00