Commit Graph
23685 Commits
Author SHA1 Message Date
dotCooCoo 6c29bf9937 Transform Each: screen readers tell the Scale and Move fields apart
Transform Each and Effect > Distort & Transform > Transform named both
the Scale and the Move slider and number field "Horizontal:" and
"Vertical:", so only the unit in the value told them apart. Each
control's accessible name now starts with its row ("Scale Horizontal:",
"Move Vertical:"), and the visible label describes it, as Split Into
Grid names its Gutter and Total fields. The visible labels are
unchanged.
2026-11-25 15:18:53 -08:00
dotCooCoo 268b766354 Merge main into fix/ui-port-text-divider-notice 2026-11-25 15:17:35 -08:00
dotCooCoo 893f2d7520 Docs: a left-out pattern brush scale_mode keeps the current mode on edits
brush.new without a scale_mode makes a Fixed brush. brush.options without
one keeps the brush's mode, and brush.objectOptions without one keeps each
path's mode; null sets Fixed in all three.
2026-11-25 15:17:12 -08:00
dotCooCoo 8ede10f809 Color Wheel: the contrast drag test drags the hue ring
A drag on the wheel's inner square sets the color without a preview
interaction, so the test drags the ring, which previews on one.
2026-11-25 15:15:41 -08:00
ruchirguitar 6cce77ffb5 Fix floating document raise after Presentation Mode 2026-11-26 04:45:36 +05:30
dotCooCoo 643639db21 Merge main into feat/plugin-api-localized-labels 2026-11-25 15:15:06 -08:00
dotCooCoo 5d63584b72 Plug-ins: an open dialog shows its rows in a new UI language
When the UI language changes while a plug-in's dialog is open, its
parameter labels, help, group headings and choice labels are made again
in the new language. The values already set stay.
2026-11-25 15:15:05 -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 5099ce5e55 Plug-ins: unknown keys inside a written style's nested attributes are refused
A paragraph style's hyphenation, justification, tab stops and list, and a
character style's stroke dash, now refuse a key they don't read, naming the
field, as the style's own keys already did. A misspelled nested key no longer
leaves that setting unchanged without an error.
2026-11-25 15:10:16 -08:00
dotCooCoo 032206d8fe Plug-ins: a left-out piece opacity is 100%, and the PDF test reads back the look
docs/plugins.md said a piece's opacity, when left out, is the object's.
The piece takes no opacity of its own in that case: the object's opacity
applies once to all the pieces together, so the line now says 100%.

The export test also opens the exported PDF and draws it: the piece is
half green and grown by Offset Path, as on the canvas, so a PDF that
drops the opacity or writes the original path fails the test.
2026-11-25 15:08:44 -08:00
dotCooCoo 29d6542c9f Merge main into fix/selection-marks-skip-hidden-members 2026-11-25 15:07:56 -08:00
dotCooCoo f5afa0b84a Scripts: review fixes for the document defaults and the object model
- appearance.setNewArt is listed among the commands a plug-in may call, so
  every_command_is_reviewed passes.
- appearance.setNewArt refuses `tint` on a pattern that has no swatch entry,
  and its help and docs/mcp.md say an omitted `weight` keeps the stored weight.
- The dash checks of appearance.setNewArt, strokeDashes and
  defaultStrokeDashes share one helper.
- defaultStrokeWidth, defaultStrokeMiterLimit and defaultStrokeDashOffset
  compare exactly, so a slightly different value reaches new art.
- An RGB default in a CMYK document is compared in the document's color mode,
  and a color read back from a path or a default (a Gray too small for its
  value to name) assigns back without a command.
- addDocument starts from the profile's built-in first preset even when a
  saved preset has the same name.
- A saved preset's rows are read as at most 1000.
- The page item and path lists are kept for each open document, the
  selection list stops at its limit, the typename of a removed PathPoint and
  of a stale PathPoints or PathItems throws, and an item edit whose
  selection cannot be restored is undone with it.
- A path's subpath starts are counted once and kept while its points keep
  their layout, so reading or setting each of its points in turn no longer
  walks every subpath for each point.
- A run that ended while waiting for a growth answer is checked against its
  allowance again before it is kept.
- docs/mcp.md says which file limits apply to reading a profile's file.
2026-11-25 15:07:36 -08:00
dotCooCoo 4cab642d17 Merge main into fix/gradient-presets-proxy-in-front 2026-11-25 15:06:18 -08:00
dotCooCoo ceff5efd5f Merge main into feat/plugin-api-run-notices 2026-11-25 15:05:22 -08:00
dotCooCoo ecc4d9cd74 Tests: text frame tests index page items topmost first
pageItems and textFrames now list the topmost object first, so the tests pick the rectangle and the open path by their new indices.
2026-11-25 15:04:35 -08:00
dotCooCoo 01d77a45b9 Docs: a host at api 3 that doesn't read writes ignores the key
Hosts from before api 3 refuse the manifest. A host at api 3 without writes
installs the filter, ignores the key and refuses an output that changes the
objects it was given.
2026-11-25 15:00:28 -08:00
dotCooCoo aeb1e82b57 Merge main into feat/plugin-api-generated-art 2026-11-25 14:58:37 -08:00
dotCooCoo 1285de28ef Retype: plain shapes alone run the command at once
A selection of plain shapes (rectangles, bars) no longer starts a
background search of the installed fonts, which would read no font for
them. The command runs at once, as it does with `installed` false.
2026-11-25 14:57:55 -08:00
dotCooCoo 11af59a2b5 Panels: the Cycle Display Sizes button is named by its label
The double-triangle button at the left end of a panel's tab strip ran
window.panel.cycleOptions with no label of its own. No menu item runs
that command, so it has no command definition, and the button took the
command id as its accessible name: screen readers read
"window.panel.cycleOptions" and the button showed no tooltip. The button
now carries the "Cycle Display Sizes" label, which names it and gives it
its tooltip. The string is already in the word catalogs.

A test opens the Stroke panel, reads the access tree and checks that the
button is named "Cycle Display Sizes" and that no button in the window
is named by a command id.
2026-11-25 14:57:29 -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 5aa3425d06 Merge main into feat/plugin-api-context-menus 2026-11-25 14:51:23 -08:00
dotCooCoo af7ee2fdca Merge main into feat/plugin-api-importer-output-kinds 2026-11-25 14:51:05 -08:00
dotCooCoo c64d194a4d Merge main into fix/pathfinder-effect-options-followup 2026-11-25 14:43:59 -08:00
dotCooCoo 9dc197b4e4 Scripts: ScriptUI dialogs refuse look-alike containers, noecho fields and stale descriptions
- An answer step with an empty control matches only an unnamed control whose
  text is empty, not the first unnamed control.
- add() and add("item") on an object made to look like a container or list
  throw a TypeError and charge nothing to the dialog's limits.
- A new list's initial items are read through ordinary property access, so an
  index getter gives its value.
- findElement() keeps the controls it has still to look at rooted while a
  name getter runs, and skips a control the element no longer holds.
- A close() that onClose calls before it returns false belongs to the close it
  refuses; the dialog waits for the next event.
- show() throws for an edittext with noecho before the dialog opens.
- show() reads the dialog again when a getter adds or removes a control after
  the controls were read, and throws when it changes again.
- An edit field takes at most 32,768 characters while it is typed.
2026-11-25 14:41:28 -08:00
dotCooCoo 8ecba90108 Merge main into feat/plugin-api-javascript-runtime 2026-11-25 14:38:10 -08:00
dotCooCoo 2e8cc468f1 Merge main into feat/toolbar-command-buttons 2026-11-25 14:34:51 -08:00
dotCooCoo 9cd83e9342 Learn: a click or Enter on the skill or tutorial opened before opens it again
Follow-up to #8800. The Learn panel's skill and tutorial lists keep their
selection, and a click on the row that is already selected reports
CollectionEvent::Picked rather than a selection change, so after Back a
click on the skill or tutorial opened before did nothing. Enter on that
row reports Activate, which the lists also ignored.

The lists now open the item on Picked and Activate as well as on a
selection change, as every row click did before the port.
2026-11-25 14:28:23 -08:00
dotCooCoo 8934d5c608 Merge main into feat/smart-pen-default-toolbar 2026-11-25 14:27:28 -08:00
dotCooCoo c3645d265d Merge main into feat/plugin-api-importers-place 2026-11-25 14:26:01 -08:00
dotCooCoo 307626406b Merge main into fix/dashed-overlay-line-clip 2026-11-25 14:24:24 -08:00
dotCooCoo 1db2fbc514 Merge main into fix/dashed-overlay-line-clip 2026-11-25 14:24:24 -08:00
dotCooCoo 6a71ec9638 Tests: retype tests that expect an outline leave the installed fonts out
Each test that expects a shape to stay an outline now passes
`"installed": false`, so the fonts on the test machine do not change its
result or its run time. With the installed fonts searched at tolerance
0.05, overlapping_exact_glyphs_stay_an_outline_when_near_matches_are_allowed
ran past the CI job's limit.
2026-11-25 14:22:00 -08:00
dotCooCoo 0e701ffc1a Merge main into feat/plugins-web-worker 2026-11-25 14:21:03 -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
skylar taylor-barrick 016ead2572 Use the shared nightly launcher template (#9316)
Renders the plain nightly tar's launcher from craft-common-actions' shared template.

Independent check: dylanmtaylor compared all 14 app launcher PRs byte for byte with the template rendered from the registry (https://github.com/storytold/craft-common-actions/pull/367#issuecomment-7172085284); this head was re-checked against craft-common-actions main 88148a5.
2026-11-25 16:17:47 -06:00
dotCooCoo 1bd75160fc Merge main into fix/overprint-preview-canvas 2026-11-25 14:17:24 -08:00
dotCooCoo f07cd0c459 Merge main into feat/plugin-api-last-filter 2026-11-25 14:12:53 -08:00
dotCooCoo d535668a20 Merge main into feat/tangent-circle-add-points 2026-11-25 14:12:11 -08:00
dotCooCoo 25ddd36946 Merge main into feat/recolor-preset-library 2026-11-25 14:08:56 -08:00
dotCooCoo d30f0d863e Gradient: measure Freeform Gradient in the narrow-panel test
The narrow-panel test now measures the fifth Type button and holds it to
the 2 pt it reaches past the panel at the narrowest width, since
`Segmented` keeps its segments on one line. The doc comment states the
overflow instead of saying the whole Type row stays inside the panel.
2026-11-25 14:01:44 -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 c29eb5e6e4 Color Wheel: tests for the remembered pick and the document's RGB space
The remembered hue of a gray is dropped once the paint changes and the
same gray comes back while the slider rows are hidden, and
`ui.colorWheel {sliders: "oklch"}` follows the active document's RGB
space. Both tests use the panel fixture that replaced the earlier
harness.
2026-11-25 13:58:13 -08:00
dotCooCoo 5ca10060b3 Merge main into feat/color-wheel-oklch-sliders-v2 2026-11-25 13:58:13 -08:00
dotCooCoo d97786358d Tests: list View, Views and ScreenMode in the script host inventory
Document.views is read-only, so its row no longer lists a setter.
2026-11-25 13:57:25 -08:00
dotCooCoo 950602cb84 Merge main into fix/plugin-grants-integrity 2026-11-25 13:57:17 -08:00
dotCooCoo 23c310b6be Merge main into fix/issue-8583 2026-11-25 13:52:58 -08:00
dotCooCoo 581f70be24 Merge main into feat/js-es2015-generators 2026-11-25 13:52:14 -08:00
dotCooCoo 76e6b8b919 Merge main into feat/scripts-api-d4b-text-styles 2026-11-25 13:50:39 -08:00