Commit Graph
6543 Commits
Author SHA1 Message Date
dotCooCoo c00b464b3e Command Palette: rows show the kind of item and where it lives
Each result row now starts with a 14-point icon for its kind: a tool's
own icon, or one for a panel, an effect, a filter plug-in or a command.
After the label, in 11-point dim text, the row shows where the result
lives: the menu path of the menu bar item that runs it, with that
item's label when it differs from the result's (File › Exit for Quit
VectorCraft), or "No menu item". A panel's row shows "Window".

A row with a home shows its label without the menu path in front of
it. A path that keeps two results' names apart stays in the label,
unless the row's home shows the same path; a tool's row drops the
"Tools" in front of its name.

A tool's row names the toolbar it is on, read from the current layout
each frame: "Toolbar" for its button on the Tools panel, or the name of
a toolbar made with New Toolbar, followed by ", in the <tool> group"
when the tool is hidden in the group of a slot whose button shows
another tool, and "All Tools" when no toolbar holds it. A toolbar shown
now comes first (the Tools panel, then the toolbars made with New
Toolbar), then a hidden Tools panel, then hidden toolbars made with New
Toolbar. Toolbars count as hidden in Presentation Mode and while Tab
hides the panels.

The home is cut with "…" first. A label too long for the row is cut
before the id it shows after its name, and the id stays whole unless it
alone is wider than the row. A cut row shows its full text on hover,
and screen readers read the kind, label, home and shortcut, as does the
search field's description. The row height is unchanged.

Window › Learn now also gives the Learn command (window.learn) its
home; before, only the Learn panel's result had it. A search reads that
menu path like any other result's, and among results that tie on
everything else the command ranks as a command of the menu bar.

New catalog rows: "No menu item", "Toolbar" and "{toolbar}, in the
{tool} group" in every catalog, "Tool" and "Command" where a catalog
lacked them, and "Panel" in Gujarati.
2026-11-16 10:05:14 -08:00
dotCooCoo a2f17e08fd Command Palette: a search also matches what a command's description says
A query word now also finds a command by its description: the command's
params text (an engine or plug-in command's, a UI command's, or an
effect's) without each top-level {…} group, without each top-level [ ]
or ( ) group just after a →, and without the → before a removed group,
cut to its first 300 characters at the end of a word. "transparent
background" lists Remove Background… among the first 3 results, and
"png" lists it after every result with "png" in its name or menu path.
A schema's words ("corners" for Remove Background…) and a result written
as a group do not find the command; a result written as words after a
→ stays in the description.

A description word matches as a whole word, an English base word, a word
start or a word with the same meaning. A result found only that way
ranks below every result the query matches in its name, menu path or id,
as text inside a word or through a typo. Words of 2 characters or fewer,
words with no letter and a few stop words are left out. Descriptions
are English only and are not typo-matched.

The depth-and-quote scan of the Keyboard Shortcuts editor's required
field check moves into shortcut_editor::outside_quotes, which the
description reader also uses; the check behaves as before.
2026-11-16 07:55:06 -08:00
dotCooCoo 34dc4fcd24 Command Palette: state which words stay out of a group of the same meaning
The table's rule now says what the groups follow: a word that is the
whole label of another command (Merge, Mirror) is in no group, and
Insert is left out too. A word that only starts or ends other labels can
be in a group, so "unite" also lists Combine Slices after Unite and
"delete" lists Clear Guides; a test checks both, that "settings" finds
Preferences…, and that "colour" lists the Color panel first.

A catalog's group words are read from its rows in the search context
alone, so a plain row whose source matches a group's words is no longer
taken as that group's words. The table's notes say that in a language
written without spaces a row's word finds only a label that is that
word alone.
2026-11-16 01:14:28 -08:00
dotCooCoo dbaa39140c Command Palette: a search finds a command by a word with the same meaning
A new table, palette/words.rs, holds 21 groups of English words that
mean the same thing when searching ("remove", "delete", "erase" and
"clear"; "background" and "bg"; "reflect" and "flip"). A query word, or
its English base word, that is in a group also meets the other words of
its group in result labels and menu paths and their base words, but not
ids or word starts. A word that names other commands (Merge, Mirror,
Insert) is in no group. A test keeps the table to at most 60 groups of
at most 6 single lowercase words of at most 20 characters, with no word
in two groups.

A label word met through a word with the same meaning grades below a
word start of the label and above a word of the menu path, and a menu
path word met that way grades below a menu path word. So a label holding
the query word ranks first, then a label holding a word with the same
meaning, then a menu path holding the query word. For "type", Scale Text
Attributes now lists above Type › Orientation › Vertical. Results
that tie are ordered by the whole query read with the matched word of
the same meaning, so "colour" lists the Color panel among the first 3.

A catalog may add a group's words in its language with a row in the
search context: the group's English words joined by ", ", then the
language's words. They are used while that language is the UI language.
No catalog has to have these rows; an i18n test checks that each row
names a group and adds single words of no other group.
2026-11-16 00:41:09 -08:00
dotCooCoo c07d939c3a Command Palette: a search with a typo still finds the command
A query word of 4 or more letters that is not a word, a base word or the
start of a word of any result is compared with the words of result names
and menu paths. A word within 1 edit (2 for a query word of 8 or more
letters) matches, where a letter added, left out or changed, or two
adjacent letters swapped, counts as one edit. The bounded check stops as
soon as the bound is passed and skips words whose length differs by more
than the bound. A query word meets at most the 32 nearest words. A word
repeated in the query is compared once, and after a word that matches
nothing at all the later words are not compared.

Results matched through a typo come after every result matched without
one. Among them, the query is read as typed with each such word replaced
by the word it meets, from the label when the label holds one, so
"gruop" lists Object › Group first, as "group" does, and a word of the
label ranks above a word of the menu path. Query words and result words
with Han, kana or Hangul letters, and ids, are not compared. Results
without typos keep their order.
2026-11-15 23:00:01 -08:00
dotCooCoo aba7657b25 Command Palette: state that a whole-query tier ranks before a stem form
The search orders results by how the whole query matches before the word
grades, so "scale" lists Scalers, whose name starts with the query, above
Scaling. The progress line now says the stem rule applies among results in
the same whole-query tier, and a test pins both orders.

The test of Effect menu results reads the results and the Effect menu items
within one plug-in revision, so a live-effect plug-in that another test
installs between the two reads no longer fails it.
2026-11-15 21:28:01 -08:00
dotCooCoo 4e38d4f707 Command Palette: a plural or verb form finds the command
A query word in an English plural or verb form now meets the base word
of a result's English name or menu path: "rounded corners" lists Round
Corners… first, "scaling" finds Scale…, "rasterizes" finds Rasterize…
and "added anchor points" finds Add Anchor Points.

The index stores up to two stem forms per English word, and a query
word's stem forms are looked up exactly:
- 's is dropped, and sses becomes ss.
- es after s, x, z, ch or sh is dropped, and the word with only its s
  dropped is a second form.
- A final s is dropped in words of more than 3 letters, except after
  ss, us or is.
- ies becomes y or ie in words of more than 5 letters.
- ing (more than 5 letters) and ed (more than 4) are dropped. A doubled
  b, d, g, m, n, p, r or t left before them gives the single and the
  doubled letter, the single one only when at least 3 letters are left;
  otherwise the rest with an e added is the second form.
- series and species are left as they are.

A result whose name holds the base word of a query word ranks below one
that holds the query word whole and above one where the query word only
starts a word of the name, so "scale" now lists a name with Scaling
above one with Scalers. A partly typed word that is not itself a word
of any result ("scal") does not meet a stem form. The grades of the
other matches keep their order and their sums, so results matched
without a stem keep their order. Names shown in other languages and ids
are not stemmed, and the words as written stay in the index, so every
result found before is still found.
2026-11-15 20:41:44 -08:00
dotCooCoo 2b3826e280 Merge feat/palette-outside-click into feat/palette-search-index 2026-11-15 19:14:36 -08:00
dotCooCoo eacf48e1f7 Command Palette: a menu's title no longer lifts every item in that menu
A query that is a menu's title ("object", "effect", "select") put
every item of that menu in the starts-with tier, because the tier also
read each name with its menu path. Such items now rank by the word
grades like the rest, below results whose label holds the query as a
word. A query that holds `›` still starts a name with its menu path.

- A new test checks that the native Mac menu bar's application menu
  holds the items the palette places there, under the same submenus.
- The Drop Shadow query checks the exact effect, and the test of common
  queries is renamed to say that some only need to be near the top.
- docs/target-app-parity.md: the earlier palette line no longer states
  the old ranking rule, and the new line gives the kind of result as
  the reason "rect" lists the Rectangle Tool first.
2026-11-15 18:51:25 -08:00
dotCooCoo 80e342c241 Merge main into feat/palette-outside-click 2026-11-15 18:45:49 -08:00
BFlat 628726d857 Merge pull request #7468 from dotCooCoo/fix/js-interp-errors-translated
i18n: script interpreter core errors are translated in every complete-message catalog
2026-11-16 09:33:12 +07:00
BFlat 765334b9a6 Merge pull request #8010 from dotCooCoo/feat/tangent-circle
Path Precision Tools: Tangent Circle draws the circles that touch two or three shapes
2026-11-16 09:33:03 +07:00
BFlat 03cb7512bb Merge pull request #7908 from dotCooCoo/feat/palette-recent-commands
Command Palette: a Recent Commands list beside the search field runs the last five picks again
2026-11-16 09:32:53 +07:00
BFlat 844f57a209 Merge pull request #7953 from dotCooCoo/feat/trim-hover-preview
Path Precision Tools: Trim at Crossings shows the stretch a click would remove
2026-11-16 09:32:44 +07:00
BFlat 4512fab69b Merge pull request #7412 from dotCooCoo/fix/graph-axes-group-edits-kept
Graphs: Appearance edits given the Axes or Legend group are kept
2026-11-16 09:32:35 +07:00
BFlat b5451a0cc0 Merge pull request #7584 from dotCooCoo/fix/ai-save-clip-object-wrap
.ai save: a clipping object written cut keeps its text wrap options
2026-11-16 09:32:27 +07:00
BFlat cfb980bb9d Merge pull request #7828 from dotCooCoo/fix/trace-seam-fills-clip
Image Trace: seam fills are clipped to the image and skip live shapes
2026-11-16 09:32:19 +07:00
BFlat 02b1be39e3 Merge pull request #7980 from dotCooCoo/fix/transform-copies-raster-effects-each
Effects: Transform effect copies of type, images and symbol instances each carry the raster effects listed before it
2026-11-16 09:32:08 +07:00
BFlat 783f09d3b2 Merge pull request #8004 from dotCooCoo/fix/hit-test-follows-geometry-effects
Selection: clicks and marquees follow an object's own geometry effects
2026-11-16 09:31:55 +07:00
BFlat 83964730c1 Merge pull request #7833 from dotCooCoo/fix/pen-input-params-pressure-tilt-rotation
Pen input: out-of-range pressure, tilt, rotation and size values are refused
2026-11-16 09:31:46 +07:00
BFlat 3162b52684 Merge pull request #7940 from dotCooCoo/feat/eraser-shift-line
Eraser: Shift keeps the drag on a horizontal, vertical or diagonal line
2026-11-16 09:31:38 +07:00
BFlat 12c0c8c1c0 Merge pull request #7988 from dotCooCoo/fix/recolor-empty-new-rows-left-out
Recolor Artwork: Save All Colors, the Edit tab and Color Theme Picker leave empty New Row rows out
2026-11-16 09:31:30 +07:00
BFlat 51ad60c5c7 Merge pull request #7985 from dotCooCoo/feat/psd-preserve-text-editability
PSD: Preserve Text Editability writes point type as editable type layers
2026-11-16 09:31:22 +07:00
BFlat 3c9249279d Merge pull request #8003 from dotCooCoo/fix/inflate-colored-light-seam-fill
3D: colored Inflate fills each facet and its seam as one path, covering each edge pixel once
2026-11-16 09:31:14 +07:00
BFlat 9a42e43640 Merge pull request #7915 from dotCooCoo/feat/glyphs-alternates-popup
Glyphs: a cell's corner triangle opens a pop-up of its glyph's alternates
2026-11-16 09:30:57 +07:00
BFlat 06687770e8 Merge pull request #7999 from datatimp/fix/7975-new-type-black
Type: new type starts in [Normal Character Style]'s fill, not the current fill (#7975)
2026-11-16 09:30:48 +07:00
dotCooCoo c7f5320c5a Command Palette: a small search index ranks the best match first
Results are ordered by how well they match instead of by registration
order. A query equal to a result's id lists it first; then come results
whose name is the query, whose name starts with it, and whose initials
it is ("ea" finds Export As…). Within those, a whole word of the name
ranks above a word it starts, then a word of the menu that holds the
result, of its id, and text inside a word. At equal grades a tool ranks
above a menu command, panel, effect or filter plug-in, and a shorter
name above a longer one.

The words of the menu bar item that runs a result, its own label
included, also find it, read from the native menu bar when the app uses
it. The index is built when the palette first opens after the language,
plug-ins, shortcuts or menu bar change, and the last query's ranking is
kept. Every result the earlier search found is still found, an empty
query keeps the old order, and the highlight stays on its result when
the results change while the palette is open.
2026-11-15 18:19:16 -08:00
BFlat 0c885d0697 Merge pull request #7986 from dotCooCoo/fix/i18n-danish-messages
i18n: Danish translates 1,985 of the status and error messages the untranslated report lists
2026-11-16 08:13:40 +07:00
BFlat abb4af9b87 Merge pull request #7965 from dotCooCoo/fix/export-3d-object-skips-flat-art
3D and Materials: Export 3D Object leaves objects without a 3D effect out in the command
2026-11-16 08:13:27 +07:00
BFlat 2f255f5f99 Merge pull request #7871 from dotCooCoo/feat/3d-classic-black-overprint
3D (Classic): the Black Overprint shading color shades with overprinting black over the fill
2026-11-16 08:13:18 +07:00
BFlat 98a1d0839d Merge pull request #7997 from dotCooCoo/fix/revolve-colored-light-faces-sealed
3D: Revolve's colored-light faces lie over an underlay, so no alpha holes show at 1:1
2026-11-16 08:13:02 +07:00
BFlat 5cb5a1895c Merge pull request #7869 from dotCooCoo/feat/kurikaeshi-moji-shori
Paragraph: Kurikaeshi Moji Shori draws a repeat mark that starts a line as the character it repeats
2026-11-16 08:12:54 +07:00
BFlat 1ac6d68a7e Merge pull request #7968 from dotCooCoo/fix/graph-stacked-column-legend-stroke
Graphs: legend swatches have their series' stroke, so stacked column and area graphs save to .ai as graphs
2026-11-16 08:11:37 +07:00
BFlat 9db3bc5ba4 Merge pull request #7952 from dotCooCoo/fix/emf-svg-symbol-art-live-effects
Export: live effects in symbol art apply in EMF, WMF and SVG
2026-11-16 08:11:28 +07:00
BFlat d9808a393b Merge pull request #7979 from dotCooCoo/fix/flatten-kept-roots-walked-once
Flatten: look at each node of art without transparency once
2026-11-16 08:11:11 +07:00
BFlat f15f711280 Merge pull request #7870 from dotCooCoo/fix/pdf-preserve-numbers-tagged-images
PDF export: Preserve Numbers converts tagged images from their profile
2026-11-16 08:11:02 +07:00
BFlat d150b244d4 Merge pull request #7984 from dotCooCoo/fix/import-fuzz-sliced-psd-samples
Tests: fuzz PSD slices in versions 6, 7 and 8
2026-11-16 08:10:53 +07:00
BFlat 796e37bdb1 Merge pull request #7987 from dotCooCoo/fix/clipboard-flavours-confined-svg
Clipboard: clipboard.flavours leaves out an SVG withheld from a confined caller
2026-11-16 08:10:45 +07:00
dotCooCoo 7e2095fd28 Command Palette: a press outside the popup closes it
A press of any pointer button outside the open Command Palette closes
it: a click, a right-click or the start of a drag. Before, the palette
stayed open after such a press. It closed on a pick, on Escape, or when
the app bar's search button or Help › Search Commands… was used again.

While the palette is open, a backdrop under the popup covers the canvas,
the toolbars, the docked panels and the app bar, in the same order as a
modal dialog's backdrop. The press that closes the palette does not
press a tool button or another control under it. Windows drawn above
the backdrop, such as a progress window, still get their clicks, and
such a click also closes the palette. Clicks in the search field and on
a result work as before.
2026-11-15 16:55:20 -08:00
dotCooCoo 4ad75291cb Path Precision Tools: Tangent Circle draws the circles that touch two or three shapes
Object › Plug-ins › Path Precision Tools › Tangent Circle…
(`addon.pathtools.tangentCircle`) draws the circles that touch two
selected paths or compound paths at a set radius, or that touch three of
them. A circle touches a shape when it meets the outline without
crossing it, with the whole outline outside the circle or inside it: at
a smooth point it is tangent there, and at a corner or an open end it
passes through that point. Circles, ellipses at any angle and other
closed or open paths all work; the members of a compound path count as
one outline.

When every shape is a circle, the circles are found in closed form (up
to eight for three circles, the problem of Apollonius) and then moved
onto the drawn Bézier circles, which differ from true circles by up to
0.0273% of the radius. Other shapes are searched on a grid, and the
centers left are refined with Newton's method on the curves. With three
shapes, circles up to 64 times the diagonal of the box around the
shapes' anchors and handles are found.

The circles are listed by radius, then top to bottom, then left to
right. The dialog takes the radius (with two shapes; 36 pt to start)
and previews every circle found or one picked by number; OK draws them
with the current paint as one undo step, selected. No circle, more than
64 circles (shapes touched along a whole curve, such as two concentric
circles), shapes at one point or too small for the radius, more than
2000 segments and a search past its limits are errors that leave the
document unchanged.

The Tangent Circle and Circle: rows are in every catalog, and the
command's messages in the catalogs that translate messages.

Docs: docs/mcp.md (Path Precision Tools add-on),
docs/target-app-parity.md, docs/ui-parity.md and ROADMAP.
2026-11-15 16:37:17 -08:00
dotCooCoo 21dc195159 Merge main into fix/recolor-empty-new-rows-left-out 2026-11-15 16:09:51 -08:00
dotCooCoo 9eb6a0fc48 Merge main into feat/eraser-shift-line 2026-11-15 16:07:54 -08:00
dotCooCoo 46e5ab21e0 Merge main into fix/pen-input-params-pressure-tilt-rotation 2026-11-15 16:06:17 -08:00
dotCooCoo 16c8dbac06 Merge main into fix/js-interp-errors-translated 2026-11-15 16:06:15 -08:00
dotCooCoo 31fdb815d2 Merge main into fix/ai-save-clip-object-wrap 2026-11-15 16:06:03 -08:00
BFlat cad4bb0c6e Merge pull request #7834 from dotCooCoo/fix/the-liquify-warning-s-tool-name-and-object-kinds
i18n: Liquify's skip warning shows its tool and object kinds in the interface language
2026-11-16 06:56:45 +07:00
BFlat 4a33a0132e Merge pull request #7930 from dotCooCoo/feat/shortcut-list-csv
Keyboard Shortcuts: Export Text… also saves the list as a CSV file
2026-11-16 06:56:36 +07:00
BFlat 43e4e66c33 Merge pull request #7978 from dotCooCoo/fix/new-document-units-choice
Fix #7944: New Document opens in the General units and keeps units chosen in its menu
2026-11-16 06:56:24 +07:00
BFlat 3e615f7c67 Merge pull request #7972 from dotCooCoo/feat/glyphs-show-opentype-categories
Glyphs: the Show menu lists the font's OpenType glyph categories
2026-11-16 06:56:16 +07:00
BFlat 89ebbd754a Merge pull request #7898 from dotCooCoo/fix/live-paint-strokeedge-through-edges
Live Paint: livePaint.strokeEdge refuses a through id that is not one of the group's edges
2026-11-16 06:56:07 +07:00