Commit Graph
22185 Commits
Author SHA1 Message Date
dotCooCoo c1d4192ae3 Scripts: a ScriptUI list box shows only the rows that fit its height at the height it draws them
The list box counted its rows at 18 pixels each, while the list draws
each row at the theme's control height, so a list box ran past its
place and over the control below it, which then took clicks meant for
the list's last row.
2026-11-28 03:05:03 -08:00
dotCooCoo 1d3e835927 Scripts: ScriptUI review fixes for heap-limit adds and removes, listeners, list texts, Enter, the run's questions and automation requests
- Adding a control or an item, and removing items, builds both arrays
  before the first write, so a run that ends at the heap limit leaves the
  lists and the dialog's counts as they were.
- A listener registered after an event started does not hear it in a later
  phase, a capturing container's re-registration included.
- show() reads the dialog again when a getter changes a list item's text
  after the item was read.
- Enter and Escape skip an OK or Cancel button inside a hidden or disabled
  container.
- A resource string of a name and a type without braces throws a
  SyntaxError, and a \u escape pair of surrogates reads as one character.
- In the app, queued events wait while another dialog is open over the
  script's dialog, and the run's own questions wait while a popup, such as
  an open drop-down list, is over it. ui.dialog.confirm and
  ui.dialog.cancel take only the dialog, ui.dialog.set needs a field or an
  action and answers with the dialog it set, and OK is refused while a
  dialog open over it waits. A cancel after typed text clicks the cancel
  button the dialog has when its turn comes, and an immediate cancel the
  run refuses is an error.
- A click on a list box row gives the list the keyboard focus.
- The vc hint test names BridgeTalk, since Window now exists; the params
  text and docs/mcp.md say that a show() in a handler notify runs throws
  only in the app, and define_script_ui says when end is not called.
2026-11-28 02:43:06 -08:00
dotCooCoo a9799bfe9a Merge main into feat/scripts-scriptui-resources 2026-11-27 22:17:49 -08:00
.CooCoo 939e53f35b Merge pull request #9743 from dotCooCoo/fix/adjustment-restore-canceled-controls-w4
Restore canceled adjustment controls
2026-11-27 22:13:21 -08:00
.CooCoo 4cd9e3e681 Merge pull request #9742 from dotCooCoo/fix/dimension-accept-controls-w4
Apply Dimension controls when confirmed
2026-11-27 22:13:10 -08:00
.CooCoo 9b5cee0205 Merge pull request #9741 from dotCooCoo/fix/graph-type-commit-controls-w4
Apply Graph Type choices when confirmed
2026-11-27 22:12:59 -08:00
.CooCoo 4a7407619c Merge pull request #9740 from dotCooCoo/fix/transparency-symbol-part-mask-controls
Keep mask controls with the whole symbol instance
2026-11-27 22:12:47 -08:00
.CooCoo ceb7882237 Merge pull request #9739 from dotCooCoo/fix/cjk-settings-opening-text-selection
Keep CJK settings with the opening text selection
2026-11-27 22:12:35 -08:00
.CooCoo de09f0bcc2 Merge pull request #9737 from dotCooCoo/fix/freehand-tip-preserve-other-component
Preserve the untouched Freehand tip component
2026-11-27 22:12:24 -08:00
.CooCoo 99bb78b9f0 Merge pull request #9736 from dotCooCoo/fix/path-options-after-revert
Retire Simplify and Offset Path options after File Revert
2026-11-27 22:12:12 -08:00
.CooCoo 1c33c5584e Merge pull request #9734 from dotCooCoo/fix/artboard-options-committed-dimensions
Keep pending Artboard Options when typing dimensions
2026-11-27 22:12:01 -08:00
.CooCoo 38663e7ace Merge pull request #9733 from dotCooCoo/fix/relink-cancel-scope
Restore the selected-instance scope after Relink Escape
2026-11-27 22:11:50 -08:00
.CooCoo 6bdd1230ad Merge pull request #9732 from dotCooCoo/fix/average-dialogs-opening-drawing
Keep Average path approvals with their opening drawing
2026-11-27 22:11:38 -08:00
.CooCoo a8beb0310a Merge pull request #9731 from dotCooCoo/fix/browser-place-distinct-sources-w4
Keep distinct browser Place files that share a name
2026-11-27 22:11:26 -08:00
.CooCoo 70dc0cfcc7 Merge pull request #9730 from dotCooCoo/fix/actions-restore-canceled-selectors
Restore Action Set, Function Key, and Color after Escape
2026-11-27 22:11:15 -08:00
.CooCoo ea2c22dae1 Merge pull request #9728 from dotCooCoo/fix/properties-corner-commit
Apply selected path corner kinds only after acceptance
2026-11-27 22:08:52 -08:00
.CooCoo f237a3500e Merge pull request #9727 from dotCooCoo/fix/properties-commit-units
Apply a Properties Units choice only after acceptance
2026-11-27 22:08:35 -08:00
.CooCoo 183fd4ab0d Merge pull request #9725 from dotCooCoo/fix/status-bar-committed-navigation
Wait for an accepted status bar Artboard or Rotation choice
2026-11-27 22:08:23 -08:00
.CooCoo 1721cf77e8 Merge pull request #9724 from dotCooCoo/fix/preflight-committed-output-resolution
Keep Custom PPI when canceling a Preflight Output choice
2026-11-27 22:08:12 -08:00
.CooCoo d6b6ff3d21 Merge pull request #9723 from dotCooCoo/fix/paragraph-committed-dropdown-formatting
Apply Paragraph menu formatting only after an accepted choice
2026-11-27 22:08:00 -08:00
.CooCoo d240eaddf1 Merge pull request #9722 from dotCooCoo/fix/nearest-swatch-library-popup-cancel
Keep the Nearest Swatch library when canceling its popup
2026-11-27 22:07:48 -08:00
.CooCoo 9fd370aaf2 Merge pull request #9721 from dotCooCoo/fix/profile-drop-source-after-revert
Retire pending drops after the source drawing is reverted
2026-11-27 22:07:37 -08:00
.CooCoo ea02f0f7b6 Merge pull request #9720 from dotCooCoo/fix/transparency-symbol-part-display
Show selected symbol part transparency
2026-11-27 22:07:26 -08:00
.CooCoo a80c0f5919 Merge pull request #9719 from dotCooCoo/fix/kinsoku-accept-choice
Preserve the current Kinsoku choice after Escape
2026-11-27 22:07:14 -08:00
.CooCoo ac916d8d9f Merge pull request #9718 from dotCooCoo/fix/ui-image-trace-draft-retention
Release Image Trace drafts when their drawing closes
2026-11-27 22:07:02 -08:00
.CooCoo 9821e8f6c4 Merge pull request #9717 from dotCooCoo/fix/artboard-committed-name-and-fill
Accept Artboard Properties Name and Fill changes on commit
2026-11-27 22:06:51 -08:00
.CooCoo d8b6848bc8 Merge pull request #9729 from dotCooCoo/fix/svg-script-draft-file-revert
Discard unfinished SVG Interactivity scripts after File Revert
2026-11-27 21:58:42 -08:00
.CooCoo 82d9ff0182 Merge pull request #9867 from dotCooCoo/fix/script-prototype-write-test
Scripts: the prototype-write test fails when a write to PathItem.prototype succeeds
2026-11-27 21:54:33 -08:00
.CooCoo a95a52e06a Merge pull request #9866 from dotCooCoo/fix/script-preset-field-size
Scripts: DocumentPreset settings refuse a value of the wrong kind or size
2026-11-27 21:54:22 -08:00
.CooCoo d7b78f4065 Merge pull request #9865 from dotCooCoo/fix/floating-window-copy
Edit: Copy in a floating window copies the art while a label elsewhere has text selected
2026-11-27 21:54:10 -08:00
.CooCoo 8f7d18bb79 Merge pull request #9864 from dotCooCoo/fix/artboard-revolve-spacing-tokens
Dialogs: Artboard Options and the light editor space their groups with the gap tokens
2026-11-27 21:53:58 -08:00
.CooCoo a27235c85c Merge pull request #9863 from dotCooCoo/fix/corner-radius-labels-start
Transform: the corner radius labels start their column
2026-11-27 21:53:47 -08:00
.CooCoo d3ad4332f4 Merge pull request #9105 from dotCooCoo/feat/js-es2015-for-of-destructuring
JavaScript: for-of loops and destructuring in ES2015 realms
2026-11-27 21:52:53 -08:00
.CooCoo 00a7bcc204 Merge pull request #9869 from dotCooCoo/fix/ci-cache-clear-save-status
CI: the cold cache clear fails when the warm leg's save does not finish
2026-11-27 21:50:52 -08:00
.CooCoo fd649820ea Merge pull request #9783 from dotCooCoo/fix/smart-punctuation-revert
Smart Punctuation: refuse a draft from before File > Revert
2026-11-27 21:48:59 -08:00
.CooCoo 8f8cec62d3 Merge pull request #9799 from dotCooCoo/fix/turkish-ppi-rows
i18n: Turkish PPI rows read PPI instead of a producer price index
2026-11-27 21:48:47 -08:00
.CooCoo 3e6b0dd094 Merge pull request #9849 from dotCooCoo/feat/cmx-export-vc
File formats: export .cmx files
2026-11-27 21:45:28 -08:00
.CooCoo a3e825c36f Merge pull request #9827 from dotCooCoo/fix/artboard-control-name-commit
Artboards: the Control bar's Name field renames on Enter or Tab and Escape cancels
2026-11-27 21:45:16 -08:00
.CooCoo 77c9254b5d Merge pull request #9826 from dotCooCoo/fix/free-distort-untouched-axis
Free Distort: an arrow nudge keeps each corner's other coordinate exact
2026-11-27 21:45:04 -08:00
.CooCoo 5fd4d55fd6 Merge pull request #9841 from dotCooCoo/chore/xtask-cache-units
CI: cargo xtask ci warm records its build units for the cache trim
2026-11-27 21:44:52 -08:00
.CooCoo 5fe987ee2d Merge pull request #9860 from dotCooCoo/feat/ctrl-click-select-behind
Selection: Cmd/Ctrl-clicks step through grouped objects under the pointer
2026-11-27 21:44:40 -08:00
.CooCoo d9abaae27b Merge pull request #9805 from dotCooCoo/fix/issue-6310
Fix #6310: macOS Copy puts the PDF and SVG on the pasteboard
2026-11-27 21:44:21 -08:00
.CooCoo 8ffd30cf37 Merge pull request #9791 from dotCooCoo/fix/direct-move-edge-snap
Direct Selection: a path held by its edge lands that point on other paths
2026-11-27 21:44:09 -08:00
.CooCoo 57be40f876 Merge pull request #9787 from dotCooCoo/fix/pathdata-bounds-lone-anchors
Paths: a subpath of one anchor counts in the path's bounds
2026-11-27 21:43:57 -08:00
.CooCoo f81ee83f20 Merge pull request #9832 from dotCooCoo/fix/isolation-removed-object
Isolation mode: an edit that removes the isolated object ends isolation mode
2026-11-27 21:43:45 -08:00
.CooCoo 25cbbeca4a Merge pull request #9802 from dotCooCoo/fix/scripts-documents-active-first
Scripts: app.documents lists the active document first
2026-11-27 21:43:33 -08:00
.CooCoo bab1ae5fe1 Merge pull request #9810 from dotCooCoo/fix/appearance-per-target-lazy
Appearance: proxies with an active row match only the targets they read
2026-11-27 21:43:21 -08:00
.CooCoo 3ddca214d5 Merge pull request #9794 from dotCooCoo/fix/color-wheel-opacity-followups
Color: a targeted layer shows the paint of its editable art
2026-11-27 21:43:09 -08:00
.CooCoo 00e2e29391 Merge pull request #9800 from dotCooCoo/fix/series-opacity-params-text
Graphs: paint opacity params text matches what a series stores
2026-11-27 21:42:56 -08:00
.CooCoo 02ed17b4a3 Merge pull request #9804 from dotCooCoo/fix/pathtools-shape-set-mask
Parametric Shape: a new center, size or rotation takes a linked mask and placed gradients along
2026-11-27 21:42:44 -08:00