Commit Graph
11494 Commits
Author SHA1 Message Date
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 d4acadfce9 Tangent Circle Tool: the radius dialog leaves another document's interaction alone
After a switch to another document, the radius dialog forgets its preview instead of rolling back, since the switch already rolled it back in the document clicked in. Rolling back would cancel an interaction of the document now active.
2026-11-25 17:39:26 -08:00
dotCooCoo 8d45ef1df7 Merge main into feat/scripts-startup-scripts 2026-11-25 17:35:07 -08:00
dotCooCoo 83184e76bd Scripts: stopping from the quit prompt between startup runs drops the queued runs
A startup script refused before it begins, such as with an undo group
open, is named in the Script Console. Stopping the runs from the quit
prompt between two queued runs drops the runs not yet started, and the
status bar says so. While that prompt is open, or before its answer is
taken, the next run does not start.
2026-11-25 17:33:55 -08:00
dotCooCoo 7b580467d7 Tangent Circle Tool: the radius dialog keeps OK off on a locked or hidden layer
A target layer locked or hidden while the radius dialog is open now shows why in the dialog and leaves OK off, instead of offering a draw that fails. A second segment's subpath edited down to no segments gives no circle instead of panicking.
2026-11-25 17:17:27 -08:00
dotCooCoo 1acc24a69e Merge main into feat/tangent-circle-ask-radius 2026-11-25 17:13:46 -08:00
dotCooCoo bb777ca588 Merge main into feat/plugin-api-localized-labels 2026-11-25 16:50:29 -08:00
dotCooCoo c393cfe45d Merge feat/color-wheel-contrast into feat/color-wheel-contrast-lines
The contrast row, its menu rows and their tests keep this branch's port to
the craft UI framework. From the parent branch, the contrast answer's key also
holds whether the Live Paint Bucket paints, which changes the proxies' paint
without a document revision. The merge also brings in main at 016ead25.
2026-11-25 16:37:41 -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
ruchirguitar 210a40efdb Merge main and preserve both parity revision entries 2026-11-26 05:46:13 +05:30
dotCooCoo fda05b9d8f Merge main into fix/prefs-dialog-keeps-outside-changes 2026-11-25 15:52:47 -08:00
dotCooCoo 5473a2217b Scripts: a ScriptUI dialog's OK and Cancel found by name or text skip buttons that cannot be clicked
Without defaultElement or cancelElement, the dialog's default and cancel
buttons are the first enabled and visible buttons named or titled OK and
Cancel, so Enter and Escape click a button the dialog takes a click on.
2026-11-25 15:44:37 -08:00
dotCooCoo 25d6651eab Merge main into feat/plugin-api-filter-type-images-symbols 2026-11-25 15:42:49 -08:00
dotCooCoo f2f1e9957f Merge main into feat/pattern-brush-scale-pen-inputs 2026-11-25 15:40:57 -08:00
dotCooCoo 402e9a8cee Merge main into feat/save-for-web-transparency-dither 2026-11-25 15:40:47 -08:00
dotCooCoo 5c854f4b91 Merge main into feat/quick-pen-scroll-arc 2026-11-25 15:35:29 -08:00
dotCooCoo c7ae974cf3 Merge main into feat/corners-link-popup 2026-11-25 15:35:14 -08:00
dotCooCoo 15d7fd5ccd Merge main into feat/color-wheel-copy-color-as 2026-11-25 15:34:53 -08:00
dotCooCoo a65611d52a Docs: Blob Brush Size states the 0.1 pt minimum and the mid-drag mode rules
The Stylus Wheel and Pressure widths are at least 0.1 pt. A drag keeps the
size when Size is set to Stylus Wheel, or to Pressure after a Fixed start; a
drag that started on Stylus Wheel follows its recorded pen pressure after a
change to Pressure.
2026-11-25 15:30:29 -08:00
dotCooCoo 27bdf16e04 Merge main into feat/tangent-circle-preview-prefs 2026-11-25 15:29:08 -08:00
dotCooCoo dd2aa06588 Merge main into fix/parametric-shape-reference-point 2026-11-25 15:24:19 -08:00
ruchirguitar c766f2f450 History panel: add snapshot-safe row context menus and keyboard access 2026-11-26 04:54:14 +05:30
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 bf782369fc Merge main into feat/retype-installed-fonts 2026-11-25 15:23:05 -08:00
dotCooCoo f341cb5b0d Scripts: a chosen script keeps script.run's reply with startup scripts on
With Run Startup Scripts on, ui.runScript and ui.runInstalledScript
return script.run's reply, or its error when the chosen script cannot
start, with the startup run's reply under startup. While a startup
script runs first, the reply is {running: true, queued: true}.
2026-11-25 15:22:31 -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 643639db21 Merge main into feat/plugin-api-localized-labels 2026-11-25 15:15:06 -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 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 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 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 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 0e701ffc1a Merge main into feat/plugins-web-worker 2026-11-25 14:21:03 -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