Commit Graph
15500 Commits
Author SHA1 Message Date
dotCooCoo 4c73ed73e0 Merge feat/palette-recent-rank into feat/palette-use-counts
A pick is now counted only when Recent Commands records it: a refused
pick and a pick of Search Commands… are not counted, and a pick that
opens a dialog is. The test that counts an effect pick picks it with
art selected, since the effect is dimmed when nothing is selected.
2026-11-16 16:53:46 -08:00
dotCooCoo b4ae645caf Merge feat/palette-empty-search-recent into feat/palette-recent-rank 2026-11-16 16:22:16 -08:00
dotCooCoo c1266a96ea Merge feat/palette-empty-search-recent into feat/palette-recent-rank 2026-11-16 16:19:34 -08:00
dotCooCoo 5040735bd9 Command Palette: a palette closed and opened again in one step starts at its first row
The search icon can open the palette again before the next frame draws it
closed, so the highlight kept from before the close survived and Enter on
an empty search ran that row instead of the last pick. A palette that
closes now forgets its highlight in the same frame.
2026-11-16 16:03:50 -08:00
dotCooCoo 3ac0c9ee53 Command Palette: a tool that can't be chosen is not a recent pick
A pick is recorded in Recent Commands before it runs again, as before
the last commit, so a command that changes the list sees it with the
pick already in it. When the pick is refused, the list goes back to
what it was.

- A tool pick that fails shows the error in the status line and counts
  as refused, so it is not recorded.
- A pick whose menu item is dimmed but that still opens a dialog counts
  as opening it and is recorded.
- The outcome test also covers a dimmed effect, a dimmed plug-in
  filter, a panel the docking layout can't show and a tool that can't
  be chosen.
- The French help line reads "Tapez pour rechercher des commandes, des
  outils, des panneaux et des effets", like the other palette rows.
2026-11-16 13:50:47 -08:00
dotCooCoo c834fa0daf Command Palette: an empty search lists eight recent picks, and a refused pick is not recorded
An empty search lists up to eight recent picks under a Recent heading.
With no picks yet it shows a dimmed line, "Type to search commands,
tools, panels and effects", with a row in every catalog. The Recent
Commands button's list also shows up to eight picks, and the saved
list holds at most 20 ids.

A pick now reports whether it ran, opened a dialog or was refused.
Only a pick that ran or opened a dialog is recorded in Recent
Commands, so a canceled dialog's command stays there. A pick that is
refused because its menu item is dimmed, or because its panel can't be
shown in Presentation Mode, is no longer recorded; a refused recent
pick keeps its place.
2026-11-16 12:39:30 -08:00
dotCooCoo a83cb1fadb Command Palette: a pick of Search Commands… is not a recent pick
As the first recent pick, the palette's own toggle made Enter on an
empty search close the palette and open it again. A pick of it is no
longer recorded, and one saved earlier is not listed.

- The rows of the empty search's list take the room the result count
  used to take, and the No recent commands line keeps the count's
  spacing.
- The palette tests' list of shown results follows the empty search.
- Tests: the toggle is not recorded or listed; a click on a lower
  recent pick runs it and moves it first.
2026-11-16 12:12:33 -08:00
dotCooCoo 904960e4e6 Command Palette: a new command keeps its count while it is picked again
When all 200 counted commands had 2 picks or more, each new command
entered at 1 pick and the next new command removed it, so it could not
build up a count. A new command now removes one of the 100 commands
picked longest ago: the one with the fewest picks, of those the one
picked longest ago.
2026-11-16 11:24:18 -08:00
dotCooCoo b352da363e Merge main into feat/palette-empty-search-recent 2026-11-16 10:53:28 -08:00
dotCooCoo 7c088ddfcd Merge main into feat/palette-recent-rank 2026-11-16 10:38:00 -08:00
dotCooCoo 4c6125e2b8 Command Palette: commands picked often rank first within their grades
The palette now counts how many times each command is picked and ranks
the commands picked most often first among the results that match a
query as well as they do, also after they leave Recent Commands. A
count never lifts a result above one that matches the query better.

- Counts are compared in grades that double: grade 1 starts at 1 pick,
  grade 2 at 3, grade 3 at 7, up to grade 9. A command picked once
  ranks above the commands never picked. The grade ranks after the
  match grades and before the place among the recent picks.
- At most 200 commands are counted. A new one then removes the command
  with the fewest picks, of those the one picked longest ago. When a
  count reaches 1,000, every count is halved and commands left at 0
  are dropped.
- The counts are saved in ui.json as `command_uses`. A count above 999
  loads as 999, an unreadable entry is dropped, and of more than 200
  the most recent picks are kept. The web build keeps them for the
  session.
- The kept ranking of the last query is ranked again when a count
  changes.
2026-11-16 10:33:43 -08:00
.CooCoo 1cb78a0ccf i18n: French palette position label takes a no-break space before the colon (#8193)
main's gate fails french_catalog_uses_nonbreaking_prose_punctuation on
the "{pos} of {total}: {name}" row of fr.tsv, added by #8017, which has a
plain space before the colon. The row now uses U+00A0 there.

Open #8053 fixes three other rows that main already has right, so it
does not clear this failure.
2026-11-16 19:31:11 +01:00
dotCooCoo 7c2bb2aff8 Command Palette: a word inside a word combines with the other matches
A query word that is text inside a word of a result now counts as
matched when the other words match through a stem form, a word of the
same meaning, a typo or the description: "bg mov" finds Remove
Background. Before, such a word left the result out unless every word
was text in its names or ids. A word that is text inside some result's
names or ids also keeps the later words compared for typos.
2026-11-16 09:59:02 -08:00
dotCooCoo f954135521 Command Palette: recent picks rank first within their grades
A command listed in Recent Commands now ranks first among the results
that match a query as well as it does, the most recent first. It ranks
after the whole-query match, the word grades and the typo, description
and same-meaning matches, and before the kind of result and the name's
length, so it never passes a result that matches the query better.
After a pick of Effect › Convert to Shape › Rectangle…, "rect" lists it
above the Rectangle Tool, and Enter runs it again.

The ranking uses the list Recent Commands shows, which also holds a
pick whose command could not run. The kept ranking of the last query is
ranked again when the recent picks change.
2026-11-16 09:26:03 -08:00
dotCooCoo 93be92cc21 Command Palette: an empty search shows recent picks
With an empty search, or one of spaces only, the palette lists the picks
of the Recent Commands list under a Recent Commands heading, most recent
first, instead of the first commands of the catalog. The first row is
highlighted, so opening the palette and pressing Enter runs the last pick
again. With no picks yet the palette lists no results and shows a dimmed
No recent commands line in place of the result count.

Closing the palette forgets the highlighted result, so the palette opens
with its first result highlighted and its list scrolled to the top.
Before, a palette opened again on the same search kept the row that was
highlighted when it closed.

The held-Enter test of the shortcuts gives the app a recent pick, since
an empty search with none lists no result to run.
2026-11-16 09:11:51 -08:00
FredApps e142c5fcee Merge pull request #8159 from storytold/cutover/shared-asciihex
refactor(eps): use shared ASCIIHex decoding
2026-11-16 17:58:46 +01:00
BFlat d3276cfc51 Merge pull request #8017 from dotCooCoo/feat/palette-search-index
Command Palette: a small search index ranks the best match first
2026-11-16 23:54:23 +07:00
BFlat 5a4cda6382 Merge pull request #8114 from dotCooCoo/feat/drag-into-floating-window
Arrange: a Selection drag released in another document's floating window drops the artwork there
2026-11-16 23:54:12 +07:00
BFlat 9669720367 Merge pull request #8138 from dotCooCoo/feat/live-paint-stroke-drag
Live Paint: a Bucket drag from an edge strokes every edge it crosses
2026-11-16 23:54:02 +07:00
BFlat e6ad615815 Merge pull request #8116 from dotCooCoo/fix/arc-params-reject-invalid
Shapes: invalid arc options and grid counts are errors instead of defaults
2026-11-16 23:53:53 +07:00
BFlat bf73a1450b Merge pull request #8110 from dotCooCoo/feat/place-linked-eps
Place: Link keeps a placed EPS linked to its file, as a placed PDF page already is
2026-11-16 23:53:44 +07:00
BFlat cf9262fd73 Merge pull request #8148 from dotCooCoo/fix/list-item-selected-state
UI: list rows report a selected state and section headers report an expanded state
2026-11-16 23:53:35 +07:00
BFlat c19024b6cc Merge pull request #8120 from dotCooCoo/perf/glyphs-panel-cmap-once
Glyphs: read a face's character list once instead of on every frame
2026-11-16 23:53:24 +07:00
BFlat f11272cfe1 Merge pull request #8102 from slafebre/fix/8093-pathfinder-clip-masks
Fix #8093: Pathfinder takes a clip group's members where its mask shows them
2026-11-16 23:53:15 +07:00
BFlat 94eacd67cd Merge pull request #8048 from dotCooCoo/feat/actions-reset-actions
Actions: Reset Actions restores the default set
2026-11-16 23:08:17 +07:00
BFlat 36c1f37ac6 Merge pull request #8096 from dotCooCoo/feat/packaging-check-fold-lines
Packaging Tools: Check Fold Lines finds the panels and hinges of a blank and lists what is wrong
2026-11-16 23:08:07 +07:00
BFlat 111077d770 Merge pull request #8123 from dotCooCoo/feat/recolor-wheel-brightness
Recolor Artwork: the Edit tab's wheel can show brightness and hue
2026-11-16 23:07:57 +07:00
BFlat fd24176ec8 Merge pull request #8127 from dotCooCoo/feat/isolate-selected-path
Isolation mode: the canvas context menu isolates one selected path
2026-11-16 23:07:46 +07:00
BFlat d9870d379f Merge pull request #8137 from dotCooCoo/perf/symbols-panel-current-symbol
Symbols: the panel reads the current symbol without running symbol.list
2026-11-16 23:07:36 +07:00
BFlat b86585d1b4 Merge pull request #8109 from dotCooCoo/feat/ai-graph-filled-lines
.ai graphs: Draw Filled Lines and its Line Width open live and save through the Gy record
2026-11-16 23:07:27 +07:00
BFlat cf99cd708f Merge pull request #8124 from dotCooCoo/feat/radial-repeat-splitter
Repeat: dragging a Radial Repeat's splitter hides instances and the others keep their places
2026-11-16 23:07:16 +07:00
BFlat 7d90d4ad8e Merge pull request #8115 from dotCooCoo/feat/split-resets-stroke-align
Scissors: paths a cut makes have every stroke aligned Center
2026-11-16 23:07:06 +07:00
BFlat 421c98f057 Merge pull request #8139 from dotCooCoo/perf/character-panel-stories-once
Character panel: work out the selected stories once, not once per field
2026-11-16 23:06:56 +07:00
BFlat b00aa7cd98 Merge pull request #8136 from dotCooCoo/fix/export-screens-single-pdf
Export for Screens: Single file PDFs are refused for assets, layers and each object
2026-11-16 23:06:47 +07:00
BFlat a6a2919b2c Merge pull request #8112 from dotCooCoo/fix/similar-fonts-no-numbers
Type: Show Similar Fonts lists a family with no numbers in common after the measured ones
2026-11-16 23:06:36 +07:00
BFlat 9dbd107205 Merge pull request #8126 from dotCooCoo/feat/shape-drag-grave-copies
Shape tools: Backtick held while dragging leaves copies of the shape
2026-11-16 23:06:28 +07:00
BFlat efe519a81a Merge pull request #8140 from dotCooCoo/feat/isolation-bar-click-exits
Isolation mode: a click on the isolation bar's empty space exits isolation mode
2026-11-16 23:06:19 +07:00
BFlat e157e9c737 Merge pull request #8111 from dotCooCoo/perf/eps-readhex-readline-one-pass
EPS import: readhexstring and readline read the data in one pass
2026-11-16 23:06:11 +07:00
BFlat f09d3777c2 Merge pull request #8133 from dotCooCoo/feat/layers-target-to-delete
Layers: a target circle dropped on Delete Selection reduces the item to basic appearance
2026-11-16 23:06:02 +07:00
BFlat ace89049c1 Merge pull request #8125 from dotCooCoo/feat/graphic-styles-empty-preview
Graphic Styles: a style with no fill and no stroke shows an outlined shape with a red slash
2026-11-16 23:05:53 +07:00
BFlat 942a65b16c Merge pull request #8144 from dotCooCoo/fix/flat-logo-soft-edge-slivers-v2
Image Trace: Flat Logo traces blurred black edges beside gray without gray slivers
2026-11-16 23:05:43 +07:00
BFlat 75e3b7b4d3 Merge pull request #8147 from dotCooCoo/feat/color-guide-save-selected-cells
Color Guide: Save Color Group to Swatches saves the selected cells as the group
2026-11-16 23:05:34 +07:00
BFlat 3275ae1951 Merge pull request #8132 from dotCooCoo/feat/magic-wand-cmyk
Magic Wand: Fill Color and Stroke Color tolerances compare CMYK values in a CMYK document
2026-11-16 23:05:25 +07:00
BFlat ee59999a00 Merge pull request #7982 from dotCooCoo/feat/common-tangents
Path Precision Tools: Common Tangents draws the lines touching two closed paths
2026-11-16 23:05:15 +07: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
Dylan M. Taylor 7ab07b560d eps: delegate hex bodies to shared ASCIIHex decoding 2026-11-16 10:23:55 -05:00
BFlat a6e94de555 Merge pull request #5484 from ruchirguitar/feat/4943-more-indian-languages
Complete #4943: Nepali, Konkani and Sindhi language options
2026-11-16 21:48:41 +07:00
BFlat ac0465a4e8 Merge pull request #8031 from ruchirguitar/feat/4028-recolor-lab-swatches
feat(ui): recolor lab entry and swatch libraries access (#4028)
2026-11-16 21:48:33 +07:00
dotCooCoo a1364474ca Place: the Place dialog's Link tooltip offers an EPS file as one locked object
With Link, File > Place now places an EPS file, a PostScript file and a
PostScript .ai as a linked placed document, but the Place dialog still
counted them as other files, so Link's tooltip did not say they become one
locked object, and the dialog test expected a PostScript .ai to be
embedded.

- `is_vectorcraft_file` counts an EPS, EPSF or PostScript file on disk, and
  a PostScript .ai, as a document, and leaves out a DCS file, which is
  placed as a linked image.
- Where the platform reads part of a file, it reads only the file's start
  and tells a DCS file from it with `place::head_is_dcs` (the check Links
  uses), binary EPS headers included.
- The dialog test now checks the .ai, .eps and .ps cases, the bounded read,
  DCS files plain and behind a binary header, and a file named .eps that
  isn't PostScript.
2026-11-16 06:46:09 -08:00
dotCooCoo a7afce1912 UI: list rows report a selected state and section headers report an expanded state
The rows of Select by Artboards and the Variables panel, and every
collapsible section header, reported their state through
`WidgetInfo::selected`. egui writes that value as the node's toggled
state for every role, so the accessibility tree showed these rows and
headers as toggled. AccessKit keeps a list item's selection in its
selected property and a disclosure control's state in its expanded
property.

- `widgets::list_item_info` gives a row the list item role and sets its
  selected property, and both lists use it.
- `section_toggle_name` sets the header's expanded property, as egui's
  own collapsing header does.
- Tests draw both lists and a section header and check the role and
  state of each node in the accessibility tree.
2026-11-16 06:45:20 -08:00