Commit Graph
15495 Commits
Author SHA1 Message Date
dotCooCoo 4d9dde7461 Shortcuts: OK in Keyboard Shortcuts saves Hold Shortcuts and its delay
When OK in Edit > Keyboard Shortcuts changes Hold Shortcuts or the Hold
Shortcut Delay, the preferences are copied into the saved UI state and the
host is asked to write the preferences file, as OK in Preferences does.
Before, the change waited for the host's delayed save.
2026-11-16 16:19:00 -08:00
dotCooCoo 5255d61273 Tests: a key typed before a wait keeps later letters from its dialog
The test for a key typed before a wait that opens a dialog now presses a
letter between the two keys and checks that neither its press nor its text
reaches the dialog. A second test sends the same keys in the web build's
order, with each text before its press.
2026-11-16 16:03:02 -08:00
dotCooCoo cd3b090518 Shortcuts: after a chord before a hold key, the key's repeats reach the frame
When a command chord comes before a key with a hold shortcut in one frame,
and the key's wait ends in that frame, the key goes back to the frame as
with Hold Shortcuts off. Its repeats in that frame, the text they type and
its repeats in later frames now go back too; before, they were held back
until the key was let go.
2026-11-16 16:03:01 -08:00
dotCooCoo 3046868fbc Shortcuts: a shifted key with a hold shortcut holds before the character it types
When one entry holds a key with Shift (Shift+1) and another the character
that key types (`!`), holding Shift+1 runs the hold shortcut of Shift+1.
Before, the typed character was matched first, so the Shift+1 hold
shortcut could not run.
2026-11-16 16:02:53 -08:00
dotCooCoo 87c5278d03 Shortcuts: a command listed only with a shortcut keeps a hold shortcut only with one
A command that needs a value, such as Transparency, is listed in the
editor only while it has a shortcut. shortcuts.set now refuses a hold
shortcut for such a command without a shortcut, and the command loses
its hold shortcut when its shortcut is cleared or given to another
entry, through shortcuts.set, the Keyboard Shortcuts dialog or an
imported set. Its key no longer runs a command the editor does not show,
and it is free for another entry without a conflict.
2026-11-16 13:31:32 -08:00
dotCooCoo 2caaabbc8f Shortcuts: a chord before a key with a hold shortcut keeps its order in a frame
When a key with a hold shortcut is pressed and released in the same
frame after a chord with Cmd, Ctrl or Alt, the key no longer waits: it
goes back to the frame, which handles it as it does with Hold Shortcuts
off. Its tap no longer runs before the chord, so Cmd+Z followed by X in
one frame no longer undoes X's change instead of the earlier edit.
2026-11-16 12:47:02 -08:00
dotCooCoo ef3df8f807 Shortcuts: a key typed before a wait that opens a dialog keeps later keys from it
When a wait starts and ends in one frame and a key typed before it opens
a dialog, the frame's key events and texts are taken from the position of
that key's first event (its press, or its text when the text came first),
not from the event that ended the wait. An Enter pressed between the two
no longer reaches the dialog.
2026-11-16 12:20:27 -08:00
dotCooCoo 1345c58695 Merge main into feat/hold-shortcuts 2026-11-16 11:40:11 -08:00
dotCooCoo f5afbf0acc Preferences: a restored Hold Shortcut Delay outside its range opens as the delay in use
A settings file can hold a Hold Shortcut Delay outside 0.2 to 1 s. The
dialog showed the value brought into range but kept the saved one, so OK
sent it to prefs.set and failed. The dialog now opens with the delay in
use, and OK keeps it.
2026-11-16 11:07:17 -08:00
dotCooCoo d8529f111d Shortcuts: hold keys keep their order in a frame, and the sheet and CSV list hold shortcuts
- When a key with a hold shortcut is pressed and its wait ends in the same
  frame, the single-key shortcuts typed before it in that frame run first,
  so the keys act in the order they went down.
- The repeats of a key in the frame that starts its wait, and the text
  they type, are dropped like its later repeats.
- Import Shortcut Set started from the VectorCraft defaults clears the
  working hold shortcuts; Add to the Current Shortcuts keeps them.
- Export Text's shortcut sheet and CSV file list a row's hold shortcut
  after its shortcuts while Hold Shortcuts is on, as the text file does.
2026-11-16 10:55:29 -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 94960fd4c6 Merge main into feat/hold-shortcuts 2026-11-16 09:55:05 -08:00
dotCooCoo 7f3656a58d Fix build after merging main
category_fields now returns the rows that carry a description, so the
Hold Shortcut Delay test's UI closure discards the value, as the other
prefs_dialog tests do.
2026-11-16 09:19:53 -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
dotCooCoo 0d8fef4fd6 Merge main into feat/hold-shortcuts 2026-11-16 08:28:14 -08: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
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
dotCooCoo e575a2dab5 Live Paint: a Bucket drag reaches an edge only where it crosses the edge itself
The drag check took any line intersection kurbo reported, and kurbo also reports
one a tiny step before the start or after the end of a cubic. On a long curve that
step reached past the 0.0001 pt join tolerance, so a drag 0.0002 pt short of an edge
stroked it. Only intersections inside the segment count now; the checks on the
edge's ends still cover touches there.
2026-11-16 06:38:42 -08:00
dotCooCoo eb72830339 Color Guide: Save Color Group to Swatches saves the selected cells as the group
With variation cells selected, the Save Color Group to Swatches button
now saves those cells as one swatch group, in grid order (row by row,
left to right, each cell once), named after the harmony rule, in one
undo step, each color in its own model. With no cell selected it saves
the harmony colors as before.

A cell selection now ends when the guide it was made in changes: the
base, the Color Guide Options, the variation mode, the harmony rule, the
library limit, or the colors the grid shows. Before, changing the
variation mode or the options kept the old cell positions selected, so
Save Colors as Swatches could save colors that were never picked.
2026-11-16 06:37:00 -08:00