Commit Graph
947 Commits
Author SHA1 Message Date
dotCooCoo a680aef74a Merge main into fix/tracing-mask-art 2026-12-04 18:19:19 -08:00
.CooCoo ae67ca69e6 Merge pull request #10884 from dotCooCoo/fix/script-stale-collection-before-range
Scripts: stale layers and artboards throw their stale error from index()
2026-12-04 18:10:21 -08:00
.CooCoo f4c65a2f0f Merge pull request #9053 from dotCooCoo/feat/scripts-api-d5-swatches-symbols
Scripts: documents give scripts their swatches, spots, symbols, graphic styles and brushes
2026-12-04 18:08:05 -08:00
.CooCoo 85bd77b528 Merge pull request #9315 from dotCooCoo/feat/scripts-export-for-screens
Scripts: Document.exportForScreens writes artboards, assets or the document into a folder
2026-12-04 17:59:22 -08:00
dotCooCoo a53165fa85 Scripts: stale layers and artboards throw their stale error from index()
layers.index(n) and artboards.index(n) returned Not found for a negative
or fractional number before checking whether the collection was stale, so
a script holding a stale collection got the wrong error. Both now check
the collection first, as the art collections' index() does.
2026-12-04 17:03:47 -08:00
dotCooCoo a4b2e4fe36 Scripts: remove the unused empty-path closed set
Setting `closed` on a path with no points gives it an empty closed
subpath, so the path's own data keeps the setting. The separate set of
empty paths, its key, its cleanup after commands and its copy in the
command trail were no longer written to by anything. `closed` and
`setEntirePath` now read the closed state from the subpaths only.
2026-12-04 16:52:48 -08:00
dotCooCoo 96e66b5e8d Merge main into feat/scripts-api-d5-swatches-symbols 2026-12-04 16:27:43 -08:00
dotCooCoo 8b82ccf327 Scripts: null exportForScreens arguments throw, and a read before a closing brace is shared
- Document.exportForScreens throws a TypeError for null in place of the
  options, itemToExport or fileNamePrefix, as exportFile does for null
  options, instead of taking the defaults.
- The script checker counts a variable read just before the `}` that
  closes a function body (`function get() { return $.global['local'] }`)
  as read in that body, so a later literal's saveAs is no longer exempt.
2026-12-04 16:04:49 -08:00
dotCooCoo e32c3ae32d Merge main into fix/tracing-mask-art 2026-12-04 15:56:51 -08:00
dotCooCoo d467c36805 Merge main into fix/trace-preset-bracket-names 2026-12-04 15:32:09 -08:00
.CooCoo 88694da6eb Merge pull request #10628 from dotCooCoo/fix/script-remove-trace-source
Scripts: remove() refuses a tracing's shown source image
2026-12-04 15:29:17 -08:00
dotCooCoo 7dc78396e0 Merge main into feat/scripts-api-d5-swatches-symbols 2026-12-04 15:11:24 -08:00
dotCooCoo a06b8ed991 Merge main into fix/tracing-mask-art 2026-12-04 12:36:33 -08:00
dotCooCoo 49186cb426 Merge main into feat/scripts-api-layer-path-items 2026-12-04 12:28:26 -08:00
dotCooCoo e226ee93e7 Merge main into fix/script-remove-trace-source 2026-12-04 12:26:28 -08:00
dotCooCoo a9562a995f Merge main into fix/trace-preset-bracket-names 2026-12-04 12:26:24 -08:00
.CooCoo 534291eb8f Merge pull request #10818 from dotCooCoo/fix/script-palette-review-9147
Scripts: palette events keep drags, drafts and frames as the person left them
2026-12-04 11:42:17 -08:00
.CooCoo 4db38b885e Merge pull request #9300 from dotCooCoo/feat/scripts-show-color-picker
Scripts: app.showColorPicker asks for a color
2026-12-04 11:42:06 -08:00
dotCooCoo 3cc3f80e36 Merge main into fix/script-remove-trace-source 2026-12-04 09:01:36 -08:00
dotCooCoo 6a19b804f7 Merge main into fix/remove-all-trace-group 2026-12-04 08:00:18 -08:00
dotCooCoo 1ae7a5d5cb Merge main into feat/scripts-api-layer-path-items 2026-12-04 08:00:07 -08:00
dotCooCoo 516b7eb321 Merge main into feat/scripts-api-d5-swatches-symbols 2026-12-04 07:56:23 -08:00
dotCooCoo 625c9fe454 Merge main into fix/trace-preset-bracket-names 2026-12-04 07:45:41 -08:00
dotCooCoo fa91b67756 Merge main into fix/tracing-mask-art 2026-12-04 07:40:12 -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
dotCooCoo d5a54ccffa Merge main into feat/scripts-api-layer-path-items 2026-12-04 02:57:25 -08:00
dotCooCoo 7304910e7b Merge main into fix/tracing-mask-art 2026-12-04 02:55:17 -08:00
dotCooCoo 90b6a7640b Scripts: palette events keep drags, drafts and frames as the person left them
Follow-up to the review of #9147 (script palettes):

- A waiting click or change that can no longer run (its control was
  disabled, hidden or removed by an earlier handler) is dropped before
  the open edit is settled, so it no longer commits or cancels a drag
  in the active document with no handler run.
- A palette title or other getter that hides or closes the palette
  while the palette is being described no longer sends that
  description to the host: the host keeps the controls the palette had
  when it was hidden.
- A typed text that matches the field's stored text is still given to
  the script, before a click, a close or on focus loss, when another
  change of that field waits, so the handler reads the typed text and
  not the waiting change.
- After a palette event's run fails to begin, the app does not retry
  and ask for a frame on every pass. It tries again after the next
  input in the window, another palette event, or a change to the
  documents' edit state, the active document or the recovery settings.
- The print test now checks that the click's handler ran after the
  print jobs were canceled, and the list test only fails when the
  earlier item's text changed.
2026-12-04 02:54:11 -08:00
dotCooCoo b6e0afaf2f Merge main into fix/script-remove-trace-source 2026-12-04 01:53:02 -08:00
dotCooCoo c84147e193 Merge main into fix/trace-preset-bracket-names 2026-12-04 01:41:42 -08:00
dotCooCoo 232b9e1597 Merge main into feat/scripts-show-color-picker 2026-12-04 01:13:39 -08:00
dotCooCoo 69afdf9194 Merge main into feat/scripts-api-layer-path-items 2026-12-04 01:01:08 -08:00
dotCooCoo 12c1b211ec Merge main into fix/tracing-mask-art 2026-12-04 00:52:54 -08:00
dotCooCoo 573b2da1b4 Merge main into fix/remove-all-trace-group 2026-12-04 00:43:34 -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
dotCooCoo fa8d7dbe1d Merge main into fix/doc-pathitems-removeall-clipping 2026-12-03 11:43:15 -08:00
dotCooCoo 458f1b23cf Merge main into fix/trace-preset-bracket-names 2026-12-03 11:28:13 -08:00
dotCooCoo 8245421df6 Merge main into fix/script-paths-locked-layer 2026-12-03 11:27:43 -08:00
dotCooCoo 1abaf78e8f Merge main into fix/remove-all-trace-group 2026-12-03 11:24:46 -08:00
dotCooCoo d5637c8d06 Merge main into fix/script-remove-trace-source 2026-12-03 11:24:30 -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
dotCooCoo 644a4e6b8c Merge main into feat/scripts-export-for-screens 2026-12-03 11:15:24 -08:00
dotCooCoo 8e23837867 Merge main into feat/scripts-api-layer-path-items 2026-12-03 11:15:06 -08:00
dotCooCoo 78a3861135 Merge main into feat/scripts-api-d5-swatches-symbols 2026-12-03 11:13:42 -08:00
dotCooCoo 6100517eab Merge main into feat/scripts-show-color-picker 2026-12-03 11:12:25 -08:00
dotCooCoo 0ccb62fac4 Merge main into fix/tracing-mask-art 2026-12-03 11:08:41 -08:00
dotCooCoo 48e1653646 Merge main into fix/script-remove-trace-source 2026-12-03 10:46:47 -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