Commit Graph
4980 Commits
Author SHA1 Message Date
.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
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 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 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 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 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 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 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 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 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 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
dotCooCoo 8ca9613337 Isolation mode: a click on the isolation bar's empty space exits isolation mode
A click on the isolation bar's empty space, or on the isolated object's
name at the end of the breadcrumbs, leaves isolation mode altogether, as
Exit Isolation Mode does, nested isolation included. The back arrow, the
breadcrumbs of the levels above and the pattern buttons keep their own
actions, and a drag across the bar does not exit.

While an opacity mask is edited the click stops editing the mask. In
symbol editing mode it leaves the mode, also from a group isolated inside
the symbol's art and together with the isolation the mode was entered
from. While a pattern is edited it does nothing; Save a Copy, Done and
Cancel end pattern editing.

Docs: docs/target-app-parity.md.
2026-11-16 05:56:36 -08:00
dotCooCoo 756341ddc9 Character panel: work out the selected stories once, not once per field
With the Selection tool, every Character and Paragraph field read its
value through selected_stories, which walked the selected objects and
looked up each type object's story again. With the default panels open
that was 24 builds of the same list per frame.

selected_stories and selected_story_texts now keep the last list,
with the document (a held Weak keeps its address from being reused),
its revision and a copy of the selected objects. A change to any of
them builds the list again. Type objects are still resolved from the
current document on every read, so the panels show the same values.

Tests compare the kept list with a fresh build after an edit, a
reordered or replaced selection, a selection set without a new
revision, a selected group and a switch to another document at the
same revision; compare what both panels draw and their field values
with and without the kept list; and count one build per frame.
2026-11-16 05:41:04 -08:00
dotCooCoo c6046dacec Graphic Styles: the white fill of a no-paint preview covers type's characters
A style with no fill and no stroke whose Characters row sits above some of
its rows showed its type preview with the characters' own fill over the
white backing when Override Character Color was off. The backing now puts
every row above the contents, so the white fill covers the characters.
2026-11-16 05:37:33 -08:00
dotCooCoo a7c7e2bed8 Arrange: a floating window does not take a tab transfer whose target changed
A release over another document's floating window is handled before the
frame's drag cleanup. When another document became current after a tab
hover started the transfer, cleanup would have canceled it, but the
floating window still copied the artwork. The pane drop now also checks
that the transfer's target is still the current document, as cleanup does.
2026-11-16 05:33:31 -08:00
dotCooCoo 75b02ea8df Symbols: the panel reads the current symbol without running symbol.list
The Symbols panel and its panel menu asked for the current symbol on
every frame by running symbol.list, which builds a row per symbol and
walks the whole document once per symbol to count its instances. They
now read it from the active document with cmd::current_symbol, the
rule symbol.list itself uses for its `current`: the stored name while
a symbol has it, else the first symbol. symbol.sortByName,
symbol.place, symbol.options and text.insertInline use the same
function, and symbol.list's reply is unchanged.

An idle frame of the panel or its menu now runs no command, so on
macOS the native menu is not brought up to date on every frame while
the panel is open. In a document with 200 symbols and 50,000 objects
the read takes 0.035 us instead of 48.5 ms in a release build (thread
CPU time on Linux, median of 7 runs). The gain matters on large
documents; on small ones it is too small to notice.
2026-11-16 05:29:31 -08:00
dotCooCoo 3a3bafd006 Layers: a target circle dropped on Delete Selection reduces the item to basic appearance
Dropping a layer, group or object's target circle on the Layers panel's
Delete Selection button now runs Reduce to Basic Appearance on that item
instead of Clear Appearance. The item keeps its topmost visible fill and
stroke, loses its other rows and its effects, and is not deleted. A drop
that changes nothing records no undo step. The help page describes this
drag as the alternative to Reduce To Basic Appearance:
https://helpx.adobe.com/illustrator/using/appearance-attributes.html

Before this change the drop also removed the remaining fill and stroke
and reset the object's opacity and blend mode.
2026-11-16 05:29:10 -08:00
dotCooCoo 8e59bcb026 Arrange: the canvas takes a drop where the button went up
The canvas took carried artwork only while the pointer was over it at the
end of the frame. A release inside the canvas followed in the same frame by
a move onto the tab strip kept the drag alive past cleanup, and the drop was
lost when the frame ended. The canvas now checks the release position
against its own rect and layer, as the tiled and floating panes do
(canvas/panes.rs artwork_over).
2026-11-16 05:21:53 -08:00
dotCooCoo 8a47799f17 Magic Wand: Fill Color and Stroke Color tolerances compare CMYK values in a CMYK document
In a CMYK document the Fill Color and Stroke Color tolerances run from 0
to 100 and measure the Euclidean distance between the C, M, Y and K
percentages; RGB, Gray and Lab colors are converted to CMYK. RGB
documents keep the 0 to 255 RGB distance. The panel's fields take the
range of the active document.

A tolerance above 100 set in an RGB document is kept and applies as 100
while a CMYK document is active. magicWand.set now returns an error for
a tolerance that is out of range or not a number, and for a switch that
is not true or false, and then changes no setting, reset included;
before, it clamped the values and applied reset first.
2026-11-16 05:15:24 -08:00
dotCooCoo 0897b32a78 Isolation mode: the canvas context menu isolates one selected path
With one path selected, a member of a group or a compound path included,
the canvas context menu now has Isolate Selected Path (object.isolate),
next to where Isolate Selected Group shows for one group or compound path.
Neither item shows for an object that object.isolate refuses: a hidden or
locked object, one in a hidden or locked group or layer, a guide while
Lock Guides is on, and, while a symbol is edited, an object outside the
symbol's art.

Help page: https://web.archive.org/web/20210601162814/https://helpx.adobe.com/pdf/illustrator_reference.pdf#page=324
2026-11-16 05:06:04 -08:00
dotCooCoo 101e4625e9 Graphic Styles: a style with no fill and no stroke shows an outlined shape with a red slash
A style whose rows paint nothing showed as a blank white tile. Its
thumbnail now shows the preview square or type outlined in black and
filled with white, with the style's effects, under a red slash. The
panel's views, the Control bar's Style picker and chip, the dragged
chip, graphic style library panels and the large preview on the
selected object all show it. A row that paints None does not count as a
fill or stroke; a hidden row or one with zero opacity does.
2026-11-16 04:59:07 -08:00
dotCooCoo 64dfd6ca14 Repeat: dragging a Radial Repeat's splitter hides instances and the others keep their places
With one radial repeat selected, the Selection tool shows a splitter on
its circle, half a step past the last instance shown. Dragging it back
around the circle hides the instances it passes, and dragging it forward
shows them again; one instance stays shown at least. The instances left
keep their places: the repeat keeps the count shown in instances and
spaces them a full circle's step apart with endAngle, and the full
circle's count is read back from that step. Each drag previews and
commits object.repeat.options as one undo step, Escape cancels it, and a
drag that ends where it began leaves no undo step. There is no splitter
when the step does not divide a full turn, for one instance to a turn or
with a radius of 0. The radius handle of a single instance sits opposite
it.
2026-11-16 04:50:48 -08:00
dotCooCoo bf8c08e2a1 Recolor Artwork: the Edit tab's wheel can show brightness and hue
A button under the Add Color and Remove Color tools switches both Edit
tab wheels between hue with saturation and hue with brightness. On the
brightness wheel a marker's distance from the center is its brightness
(black at the center, full at the edge), a drag sets hue and brightness,
the slider under the wheel edits saturation, and Add Color adds the hue
and brightness clicked at the base color's saturation. The segmented
wheel's five rings become brightness steps. Switching changes no color,
the button is off for the color bars, and each opening shows hue and
saturation. The dialog field is `wheelAxes` (`hueSaturation`,
`hueBrightness`).
2026-11-16 04:50:45 -08:00
dotCooCoo 7b04069d1e Arrange: a drop uses the position and Alt of the button release
A frame can carry the primary button's release and then a pointer move or
a change of modifiers. The tiled pane, the floating window and the canvas
read the pointer position and Alt at the end of the frame, so a move after
the release could change where the artwork landed or which pane took it,
and Alt let go in the same frame moved the originals instead of copying
them. The drop now takes its position and Alt from the release event, as
the canvas already does for its own drags (canvas/input.rs release_pos).
2026-11-16 04:47:18 -08:00
dotCooCoo 10edf89f36 Glyphs: read a face's character list once instead of on every frame
The Glyphs panel asked the face for its characters on every frame, and
each call read the whole cmap, sorted it and removed repeated
characters. A face now keeps the list the first time it is asked for
(FontFace::mapped_chars) and shares it; FontFace::chars returns a copy
of it, in the same order. The panel finds a Unicode subset's characters
by searching the sorted list, and Entire Font uses the face's shared
list of unencoded glyphs instead of copying it each frame. The cells the
panel shows do not change.

Measured in one release process, old read and shared list alternating,
median of 7 samples of 100 calls, wall-clock times from a single run:
- Source Sans 3 Regular, 1,614 characters: 0.0101 ms to 0.000004 ms
- a test font of 50,000 characters: 0.2347 ms to 0.000004 ms
The saving matters for fonts with large character maps, such as CJK
fonts.
2026-11-16 04:35:29 -08:00
dotCooCoo 70a8ccc8a2 Merge main into feat/radial-repeat-splitter 2026-11-16 04:13:30 -08:00
ruchirguitar d7a1877e98 #8053: keep French tangent punctuation nonbreaking 2026-11-16 17:41:20 +05:30
dotCooCoo f54a3faa39 Packaging Tools: Check Fold Lines reports overshooting and stacked fold lines
- A crease that runs past the cut outline by the tolerance or more is
  reported as outside, though its hinge is still built.
- Two lines that fold, of any role, on top of each other are reported as
  duplicate; a line drawn twice is still checked for where it lies.
- Hidden lines are left out in every scope, members of a selected group
  included.
- The ids scope gets its own noCut message.
- The notStraight, ambiguous and summary texts say what the check finds:
  the summary counts hinges, not creases.
- The fold angle fields, which nothing in this change reads, are removed.
- A window drawn as open cut lines stays a hole when a cut line crosses
  it or when slits join it to an outline of open lines, so that three
  lines meet at a corner. Cut lines drawn whole that cross a cell leave
  it material.
- A slot drawn across the outline is a notch, not a hole, as when the
  notch is drawn in the outline; a crease in it lies outside the blank.
- notStraight measures each hinge piece at its farthest point from the
  hinge line instead of at five samples.
- Cut lines drawn on top of each other so many times that the gap search
  would look at more than 16,777,216 pairs are reported as tooComplex
  before the search.
2026-11-16 04:10:41 -08:00
dotCooCoo 72b14d6aaa Merge main into feat/drag-into-floating-window 2026-11-16 03:52:07 -08:00
ruchirguitar 49637d63ac 4028: merge main and exercise picker and row-menu UI 2026-11-16 17:18:38 +05:30
dotCooCoo 96c0076d8d Arrange: a floating window does not take a tab transfer whose source changed
A release over another document's floating window is handled before the frame's drag cleanup, so a tab transfer whose source document was edited or closed since the last frame could still be copied into the window. The pane drop now checks that the source document still holds the content the drag started with, as the canvas drop does.
2026-11-16 03:45:21 -08:00
dotCooCoo b429b00851 Arrange: a Selection drag released in another document's floating window drops the artwork there
With Window › Arrange › Float in Window, a Selection move released over
the art area of another document's floating window copies the artwork
into that document with edit.dropSelection, as a release over a tiled
pane does. The window becomes the current one, and the grab point lands
under the pointer in that window's own zoom and rotation. While the
current document floats, a release over the pane the main window draws
copies the artwork into the main window's document. A floating window
with another view of the source document takes a move, and Alt copies.

The release is taken at the start of the frame, before any canvas sees
it, so a release in the first frame over a window still drops the
artwork, and the source move is rolled back first. A release on a
window's title bar, rulers or scroll bars, or after Escape, changes
neither document. This covers floating windows drawn inside the main
window (the web, Wayland and a control channel). A floating window that
is an OS window of its own does not take the artwork yet.

Docs: development.md, target-app-parity.md, gaps.md, roadmap.md,
ui-parity.md.
2026-11-16 03:28:50 -08:00
ruchirguitar 713252db57 #4943: avoid duplicate Swedish language labels 2026-11-16 16:34:36 +05:30
dotCooCoo 532d2ea6d7 Packaging Tools: Check Fold Lines finds the panels and hinges of a blank and lists what is wrong
Object › Plug-ins › Packaging Tools › Check Fold Lines, and the Fold Lines
panel's Check button, check the fold lines of the selection, or of the
document while nothing is selected (`addon.packaging.check`).

- Cut lines bound the material: each connected piece that encloses an
  area is one blank, its largest closed cut line is the outline, and a
  closed cut line inside it is a hole. A slot drawn as a rectangle across
  the outline leaves the same material as a notch drawn in it, and an
  outline drawn as several open cut lines works too.
- Creases, partial cuts and perforations divide a blank into panels; the
  pieces between the same two panels form one hinge.
- 15 issue codes, errors and warnings, each naming its lines; cut line
  ends within a tolerance (0.1 pt, 0.01 to 10) are joined and reported as
  a gap. With `select`, the lines the issues name are selected.
- The panel lists the issues in the interface language, with a summary
  line; clicking an issue or its Select button selects its lines. The
  list is kept until the document changes.

`vectorcraft_pathops::adjacency` maps paths as live_paint does and keeps,
for each edge, every input it lies on and the faces on both sides; the
blank model is `vectorcraft_three_d::fold::blanks`. The engine now depends
on vectorcraft-three-d directly.

Docs: docs/mcp.md (Check Fold Lines), crates/pathops/README.md, ROADMAP.
2026-11-16 01:47:15 -08:00
ruchirguitar eecefd7c9f Merge current main into #4943 language-list PR 2026-11-16 15:17:05 +05:30
FredApps d78059ec08 fix(codecs): report a truncated BMP as too large, and restore the JPEG fixture encoder
header_size now reads a BMP BITMAPINFOHEADER when the probes refuse the file,
so Paste of a 30,000² poked header reports "too large to draw" instead of
that the size can't be read. through_jpeg encodes with the image crate again
so the block-artifact trace test stays calibrated; the JPEG writer is still
on main's code. Also use a no-break space before ":" in three French typography
rows (unchanged from main) so the catalog check is green.
2026-11-16 09:59:47 +01:00
dotCooCoo c367a8e991 Arrange: a Selection drag released in another document's tiled pane drops the artwork there
Under Window › Arrange › Tile, a Selection move dragged from the current
pane and released over another document's pane copies the artwork into
that document with edit.dropSelection, with no tab hover first. The pane
becomes the current window, and the grab point lands under the pointer in
that pane's own zoom and rotation. A release over another view of the
source document moves the artwork with object.move, and Alt copies it.
The source move is rolled back before the canvas sees the release, also
when the pointer enters the pane and the button goes up in one frame.
Artwork carried to a document through its tab can also be released in a
third document's pane. A release over a pane's rulers or scroll bars, or
after Escape, changes neither document, and a press in another pane with
no artwork carried still only makes its document current. Dragging into a
floating document window and the tab overflow menu are not covered.

Docs: development.md, target-app-parity.md, gaps.md, roadmap.md,
ui-parity.md.
2026-11-16 00:14:41 -08:00
dotCooCoo 4200156914 Repeat: a selected Radial Repeat has handles for its instances and radius
With one radial repeat selected, the Selection tool shows a handle below
it and a handle on its circle between the first two instances. Dragging
the first one down adds an instance for every 16 px and dragging it up
removes them (1 to 1,000). Dragging the second one outward or inward
makes the radius larger or smaller (0 or more); only the part of the drag
along the line from the center counts. Each drag previews and commits
object.repeat.options as one undo step, Escape cancels it, and a drag
that ends where it began leaves no undo step. The handles hide with the
edges or the bounding box and for a locked or hidden repeat, and
bounding-box handles keep priority where they meet, as with Grid Repeat.
2026-11-15 23:18:17 -08:00