Commit Graph
11297 Commits
Author SHA1 Message Date
dd1f4d2936 Tools: add search beside Edit Toolbar (#8770)
* Tools: add search beside Edit Toolbar

Open the existing tool-aware command palette from the Tools footer, preserving the customization button and fitting both column layouts.

Closes #8758.

* Format the toolbar Search interaction regressions

* Format the native Search tooltip expectation

* Use the current stroke paint API in Properties

* Scope app-bar test lookups to the title bar

---------

Co-authored-by: FredApps <FredApps@users.noreply.github.com>
Co-authored-by: FredApps <153173854+FredApps@users.noreply.github.com>
2026-12-01 11:34:49 +01:00
.CooCoo 084c01d031 Merge pull request #10364 from dotCooCoo/fix/halftone-euclidean-elliptical
Vector Halftone: Euclidean and Elliptical dot shapes
2026-12-01 01:22:58 -08:00
dotCooCoo b143f92f3f Vector Halftone: Euclidean and Elliptical dot shapes
Object > Vector Halftone and the live Vector Halftone effect get two
dot shapes that follow the classic spot functions. Euclidean dots are
round in the highlights, meet corner to corner at 50% as a checkerboard
and turn into round holes in the shadows. Elliptical dots are long,
join into chains along their length at 40% and on every side at 60%,
then turn into long holes. Each dot is a vector path whose area is the
cell's tone. The existing Ellipse shape is unchanged.
2026-11-30 20:49:40 -08:00
.CooCoo 84335645da Merge pull request #10335 from dotCooCoo/fix/linked-profile-listing
New Document: Manage Profiles reports a linked profile as unusable
2026-11-30 20:23:26 -08:00
dotCooCoo f4d82931ea Merge main into fix/linked-profile-listing 2026-11-30 18:52:47 -08:00
dotCooCoo 26cbcb711e Merge main into fix/menu-dialog-kind-names 2026-11-30 17:54:45 -08:00
dotCooCoo 1662723cae MCP: ui.menuDialog lists the slider keys and Edit Points Only
main now lists the Smooth and Simplify sliders in ui.inspect as dialogs
smoothSlider and simplifySlider, which ui.dialog.set, confirm and cancel
control, and Object › Plug-ins › Selection Tools › Edit Points Only…
opens through ui.menuDialog. The params text of ui.menuDialog,
ui.smoothAuto and ui.simplifyAuto, docs/mcp.md and the menu dialog key
test now say so.
2026-11-30 17:54:45 -08:00
.CooCoo 6b9cd3d462 Merge pull request #10328 from dotCooCoo/fix/script-array-host-collections
Scripts: array methods visit every element of a host collection
2026-11-30 17:31:49 -08:00
.CooCoo 251d06b8b3 Merge pull request #10329 from dotCooCoo/fix/script-app-members-checks
Scripts: getIsFileOpen keeps backslashes in Unix file names; DocumentPreset checks its receiver
2026-11-30 16:42:58 -08:00
.CooCoo 585ba75306 Merge pull request #10324 from dotCooCoo/fix/script-docs-match-code
Docs: script and edit.clear notes describe what the code does
2026-11-30 16:14:09 -08:00
dotCooCoo 1ce1d2ccf2 New Document: Manage Profiles reports a linked profile as unusable
file.newProfiles and Manage Profiles checked a profile's file with
is_file, which follows a link. A profile file that was a link to a
document was listed as customized with Edit on, while file.new refuses
to read a link and gives the new document the defaults. A link that
led nowhere, or a folder, was listed as not customized, so Reset was
off and could not remove it, and Edit on a link that led nowhere wrote
the shipped profile where the link pointed.

The profile's file is now looked at without following a link:

- file.newProfiles lists a link or a folder as customized, with
  unusable: "not a plain file".
- Manage Profiles dims that profile's name, says why in its tooltip,
  and turns Edit off. Reset stays on for a link and removes the link,
  not the file it leads to. Reset is off for a folder, and
  file.newProfiles.reset gives an error instead of deleting a folder.
- file.newProfiles.edit gives an error for a link or a folder, and
  creates a missing profile file without following a link put there.

Docs: docs/mcp.md (New Document profiles) and the command help.
2026-11-30 16:07:05 -08:00
dotCooCoo aba076239d Scripts: document that a probed host indexer gives the element
The Array.prototype methods that skip missing elements, such as forEach
and map, read each index of a host collection with one indexer call
that has `true` as a third argument and use its answer as the element.
The docs of the module, HostClass::index and host_index now say that
such a call gives the element itself, or undefined when there is none,
and that reads without the third argument, such as those of join, are
ordinary reads.
2026-11-30 15:55:05 -08:00
dotCooCoo c0002dbc09 Merge main into fix/menu-dialog-kind-names 2026-11-30 15:53:46 -08:00
dotCooCoo b8ee4686b0 Scripts: getIsFileOpen keeps backslashes in Unix file names; DocumentPreset checks its receiver
app.getIsFileOpen treated any path with a backslash as a Windows path,
turning each backslash into a folder separator and ignoring letter case.
On macOS and Linux a backslash is a character of a file name, so
getIsFileOpen answered true for the path /work/a\b.ai while /work/a/b.ai
was open.
Paths now get the Windows rules only on Windows or when they start with a
drive letter.

DocumentPreset.typename and toString() answered for a preset kept from
an earlier run with #targetengine, while its settings throw a TypeError.
Both now check the preset the way the settings do.

Documents.addDocumentNoUI(startupPreset) was missing. It now makes the
document addDocument(startupPreset) makes.
2026-11-30 15:39:56 -08:00
.CooCoo b8470d947f Merge pull request #5272 from ljkx/fine-nudge-5258
Nudge: Ctrl/Cmd+arrow moves by a tenth of the keyboard increment (#5258)
2026-11-30 15:27:20 -08:00
.CooCoo 26e721e719 Merge pull request #10199 from dotCooCoo/docs/rescore-current
Docs: readiness and depth scores match what main ships
2026-11-30 15:11:50 -08:00
dotCooCoo 8b42847f90 Docs: Documents.add checks artboardRowsOrCols for every layout 2026-11-30 15:09:19 -08:00
dotCooCoo 4ef58e025f Docs: script and edit.clear notes match what the code does
- app.documents.add: artboardRowsOrCols sets the rows of GridByCol and
  RLGridByCol and the columns of GridByRow and RLGridByRow; Row, RLRow
  and Column do not use it.
- PageItem.duplicate runs node.move on the copy only with a relative
  object, and move and duplicate skip node.move when the object is
  already in place.
- edit.clear takes null for guides, keepEmpty and keepJoined as the key
  left out, as switch_or reads them.
- The scripts entry in docs/target-app-parity.md no longer lists type
  as missing; document.textFrames ships.
2026-11-30 14:59:21 -08:00
.CooCoo 639ce5004e Merge pull request #10304 from dotCooCoo/fix/smooth-bridge-says-why
Smooth Bridge: a refusal says why an object is not a circle
2026-11-30 14:39:43 -08:00
.CooCoo cb0a23d293 Merge pull request #9052 from dotCooCoo/feat/scripts-api-d6-save-export-open
Scripts: documents save, export and open through Document.saveAs, exportFile and app.open
2026-11-30 14:36:03 -08:00
dotCooCoo 3c14744d7d Merge main into docs/rescore-current
# Conflicts:
#	docs/target-app-parity.md
2026-11-30 14:24:15 -08:00
.CooCoo 38846fcdf3 Merge pull request #10116 from dotCooCoo/feat/edit-points-only
Selection Tools: Edit Points Only narrows a Direct Selection to its anchor points
2026-11-30 14:19:49 -08:00
.CooCoo 0b55e3160a Merge pull request #10085 from dotCooCoo/fix/color-value-finite
Colors: a color with a component too large to store is refused
2026-11-30 14:19:14 -08:00
dotCooCoo 09f6e7b996 MCP docs: Simplify opens the popover only when no retained settings select the dialog 2026-11-30 14:09:28 -08:00
.CooCoo 462b851eb7 Merge pull request #10257 from dotCooCoo/fix/merge-duplicate-tests
Tests: merge two duplicate engine tests, keeping every assertion
2026-11-30 14:05:18 -08:00
.CooCoo f9e65c09cd Merge pull request #10242 from dotCooCoo/fix/xtask-test-lint
xtask: test-lint checks the tests a change touches for weak assertions
2026-11-30 13:51:00 -08:00
.CooCoo 5c9e3276a8 Merge pull request #10263 from dotCooCoo/fix/engine-tests-into-it
Tests: nine engine integration test files join the tests/it binary
2026-11-30 13:50:42 -08:00
.CooCoo c0b1a485cc Merge pull request #10285 from dotCooCoo/fix/dimension-alt-measure-outside-stroke
Dimension: Alt whole-path measure takes the outside of the stroke with Use Preview Bounds off too
2026-11-30 13:50:26 -08:00
dotCooCoo 8f8fa4fefa Merge main into fix/smooth-bridge-says-why 2026-11-30 13:42:22 -08:00
.CooCoo d30f24eb80 Merge pull request #10309 from dotCooCoo/fix/smooth-bridge-empty-groups
Smooth Bridge: a group the bridged circles leave empty goes
2026-11-30 13:02:35 -08:00
.CooCoo b470a4b65a Merge pull request #10130 from dotCooCoo/fix/wayland-pinch-zoom
Canvas: a touchpad pinch zooms on native Wayland
2026-11-30 12:38:20 -08:00
.CooCoo b95ea7d0ce Merge pull request #10287 from dotCooCoo/fix/xwayland-tablet-stylus
Linux: the log says why a pen's window stays on Wayland, and names the pens XWayland lists
2026-11-30 12:20:06 -08:00
dotCooCoo 125d17dc3c Merge main into fix/menu-dialog-kind-names 2026-11-30 12:18:04 -08:00
dotCooCoo 96018f6d81 Merge main into fix/smooth-bridge-empty-groups 2026-11-30 12:16:57 -08:00
.CooCoo cbfeaab604 Merge pull request #10265 from dotCooCoo/fix/issue-2654
Graphics: start on Mesa's software renderer when no adapter can show the window
2026-11-30 12:01:10 -08:00
dotCooCoo 0c722fbf2a Docs: a clipping group counts as one object toward the Smooth Bridge limit
docs/mcp.md said every group counts as the objects inside it toward the 2,000-object limit. The command expands only groups other than clipping groups (bridge.rs, the clip: false arm), so a clipping group counts as one object, which is not a circle.
2026-11-30 11:53:03 -08:00
dotCooCoo 798a029bfc Smooth Bridge: a group the bridged circles leave empty goes
When outlines replace circles that sit in different groups, the circles
that go left their groups behind with nothing in them. Each group or
compound path left empty now goes in the same undo step, and so does
each group above it left empty in turn; layers and sublayers stay.
2026-11-30 11:44:20 -08:00
dotCooCoo dcf99ad998 Merge main into fix/smooth-bridge-says-why 2026-11-30 11:17:57 -08:00
dotCooCoo 9a060cfbf7 Smooth Bridge: a stretched circle is not called an ellipse of unequal width and height
A transform that stretches an ellipse keeps its stored width and height,
so a circle stretched into an oval still stores equal ones. The refusal
now names unequal width and height only when the stored values differ,
and gives the general message otherwise. docs/mcp.md notes that more
than 2,000 objects are refused by the circle limit before any object is
checked.
2026-11-30 11:17:57 -08:00
dotCooCoo 84dddbefd7 Docs: Feature areas rows drop gaps main already closes
The Path operations row no longer lists Live Paint Gap Options, which
ship with Gap Detection, custom sizes, Close Gaps With Paths and
Preview. The Strokes row names the stylus wheel on native Wayland as
the one place it is not read. The Type core row lists Optical Margin
Alignment as done for point, area and path type, right-to-left
paragraphs included. The Symbols row says embedded-document saves
reopen with editable 9-slice guides only when that document is current
and readable.
2026-11-30 11:14:03 -08:00
dotCooCoo 4ac6354e20 Merge main into docs/rescore-current 2026-11-30 11:08:46 -08:00
.CooCoo d794ccda0d Merge pull request #10298 from dotCooCoo/fix/smooth-bridge-circles
Smooth Bridge: a selected group of circles is bridged
2026-11-30 11:00:51 -08:00
dotCooCoo 00e73ea26c Merge main into fix/menu-dialog-kind-names 2026-11-30 10:56:18 -08:00
dotCooCoo 8a5f206e3c Merge main into feat/scripts-api-d6-save-export-open 2026-11-30 10:55:42 -08:00
dotCooCoo 53ec5af6c8 Smooth Bridge: a refusal says why an object is not a circle
Smooth Bridge only joins circles. Anything else in the selection gave
"select two or more circles to bridge", the same message as for one
circle. An ellipse drawn by dragging without Shift is a few tenths of a
point off a circle and was refused with that message, which did not say
which object was at fault or why.

The refusal now names the first object that is not a circle and why:
an ellipse whose width and height differ (draw it with Shift held, or
give it equal width and height), a compound path (release it first),
an object that is hidden or locked, or another object. The message
shows on the status line while the dialog previews and after OK.
2026-11-30 10:40:37 -08:00
.CooCoo dc6beff197 Merge pull request #10281 from dotCooCoo/fix/issue-3211
Fix #3211: Text Wrap › Make wraps the area type selected with the object
2026-11-30 10:30:57 -08:00
.CooCoo 82108c11bd Merge pull request #9277 from dotCooCoo/feat/scripts-app-select-tool
Scripts: app.selectTool picks a tool
2026-11-30 09:44:47 -08:00
dotCooCoo 452281a269 Smooth Bridge: a selected group of circles is bridged
Smooth Bridge refused a selected group with "select two or more circles
to bridge", even when every object in the group was a circle, so
grouping circles first and selecting the group did nothing. The command
now takes the objects inside each selected group (at any depth; a
clipping group stays one object), so a group of circles is bridged in
place, inside the group. A group that holds anything other than a circle
is still refused, as before.

The dialog's Reach field counts a selected group's objects too, so it is
available when a selected group holds three or more circles; a circle
selected together with its group counts once.
2026-11-30 09:33:37 -08:00
dotCooCoo 6dd6cb5f70 Merge main into fix/menu-dialog-kind-names 2026-11-30 09:03:09 -08:00
.CooCoo 8c1dc6bb5d Merge pull request #10069 from dotCooCoo/fix/brush-options-unchanged-undo
Brushes: Brush Options and Apply Brush that change nothing add no undo step
2026-11-30 08:45:52 -08:00