Commit Graph
18594 Commits
Author SHA1 Message Date
dotCooCoo fd55592167 Ellipse: a circle drawn from its center snaps its radius to touch a nearby path
With Smart Guides and Snap to Tangent on, an Alt+Shift drag with the
Ellipse tool snaps the circle's radius so that the circle touches a
nearby path, when the radius comes within the snapping tolerance of that
size. The touch point is where the line from the center meets a straight
segment or a curve square, inside a segment or at an anchor where the
path runs smoothly, including an anchor where a curve's handle lies on
the anchor. A circle can touch another circle from outside or from
inside. Corners, open path ends and curves around the same center are
not offered.

The touch point shows the "tangent" label, the radius is measured along
the Constrain Angle's axes, and Space moves the circle at the size it
snapped to, which it keeps when Space is let go. When an anchor, center or crossing is near the pointer, or
the dragged corner snapped onto one, the circle is not resized. An
ellipse without Shift is not snapped. Snap to Grid and pixel snapping
place the point instead, also when turned on during the drag, and
turning Snap to Tangent off during the drag stops the snap. A press
with a small jitter is still a click rather than a drag. Each pointer move
measures at most 256 segments near that radius.
2026-11-15 18:23:55 -08: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
dotCooCoo 4aa6b8da87 3D (Classic): Reset all keeps Map Art and its options
Reset all in the classic 3D dialogs reset mapArt to its empty default,
which removed every map, and turned Shade Artwork and Invisible
Geometry off. Like the mapped graphics and the render settings, Map
Art, mapShade and mapInvisible now stay; the shape, view and lighting
still reset.
2026-11-15 18:15:19 -08:00
dotCooCoo 66ce4de5db Merge main into feat/psd-export-writes-slices 2026-11-15 18:12:07 -08:00
dotCooCoo 5163f9a9b9 PSD export: a CR LF in an HTML Text slice's type is one line break
A type object whose text ends its lines with CR LF no longer writes two <br> tags for each line ending in its HTML Text slice's cell text.
2026-11-15 18:11:50 -08:00
dotCooCoo 32ede687c6 Swatches: Add to Swatches checks a picked color group before skipping repeated names
A library color group named together with one of its own members, as in
names ["Sunset", "Brand"], is now refused when it holds a gradient or
pattern swatch. The group was checked after a member named first had
been taken on its own, so the group came in without it.
2026-11-15 18:07:28 -08:00
makesomethingshit ebd621d454 Fix #8005: Record Color spectrum resizing in the parity assessment 2026-11-16 11:05:09 +09:00
dotCooCoo ce124a6716 Map Art: the surface list is kept per document
The cached list of Map Art's surfaces was keyed by the object's id,
the effect settings and the document's revision. Another open document
whose object had the same id and revision then showed the first
document's surface count and outlines. The key now includes the
document's uid, as the other per-document caches in the UI do.
2026-11-15 18:03:00 -08:00
dotCooCoo 81faa1787d PDF export: warn when art at the trim edge stops short of the bleed
When a PDF page carries a bleed (a PDF/X preset, bleed.useDocument or an
explicit bleed), the export now adds one warning that counts the objects
that reach an artboard's trim edge (within 0.5 pt) on a side whose bleed
is more than 0.5 pt but end before that side's bleed edge. Hidden
objects, guides, unpainted paths and objects at 0% opacity are left out.
Objects with brushed strokes or an opacity mask, area type, type on a
path, and groups that hold one of them are not measured. Template
layers, layers with an opacity mask, and layers that don't print unless
includeNonPrinting is on are left out. Clip groups and clipping layers
are measured by the art inside the clipping path's geometric bounds and
by the fill and stroke the clipping path paints itself. Art and page
boxes are written unchanged.

When OK in File > Document Setup raises the bleed on a side, the status
bar counts the objects that stop short of the new bleed on the sides OK
raised. A page of the art's bounds does not warn, and neither does an
Export for Screens PDF row when Include Bleed grows the artboards or the
page holds assets, layers or a selection. .ai saves do not warn.

The message has a row in every catalog; docs/mcp.md and the exportPdf
params text describe the check.
2026-11-15 17:59:49 -08:00
dotCooCoo 829e399da9 Crop Image: Apply leaves out a linked image's own resolution above 300 ppi
A turned linked image whose own resolution is above the 300 ppi it can
be cropped to is cropped as before, without ppi, instead of at 300 ppi.
2026-11-15 17:57:10 -08:00
dotCooCoo 711b6a4a7e Merge main into fix/i18n-psd-import-options-and-slices 2026-11-15 17:54:44 -08:00
dotCooCoo e0133a7938 Merge main into fix/confined-export-screens-folder-checked 2026-11-15 17:53:20 -08:00
dotCooCoo be12c9ed36 Brushes: Options of Selected Object keeps a path's null modes and largest width, and its document
- A calligraphic path's `modes: null` (modes that follow its values) stays
  when another value changes, instead of falling back to the brush's modes.
- An art `width` without a `width_max` keeps the largest width of each path
  whose width follows the pen, so editing Width no longer moves the other end.
- OK changes nothing when another document has become the active one since
  the dialog opened, as Delete Brush does.
2026-11-15 17:52:41 -08:00
dotCooCoo 2559d09158 Crop Image: a turned image is cropped at the resolution asked for
object.cropImage with ppi draws a turned or skewed image at that ppi
even when it is the image's own, instead of at the lower density of the
box around it, and a ppi over that whole box makes the new image too.
The raster size limit applies only when the crop is drawn or resampled,
so a straight cut at the image's own ppi is not refused.

The Crop Image tool's Apply sends a turned image's own resolution when
no other is set and it is within 1 to 2400 ppi, and crops over the
whole box when a resolution is chosen.
2026-11-15 17:51:37 -08:00
dotCooCoo 0d4d4399fc Check Spelling: text.spelling.change leaves words that already read as the replacement
A listed word whose text already equals `to` is now left out of the edit.
When every listed word does, the command makes no edit and no undo step,
so the redo history is kept, and `changed` is 0.
2026-11-15 17:51:22 -08:00
dotCooCoo 7c09d22c97 Merge main into feat/revolve-cut-caps 2026-11-15 17:49:31 -08:00
dotCooCoo 9105208143 Command Palette: a field clicked above the popup keeps the focus
When a press on a field in a window above the backdrop closes the
palette, the widget that had the focus before the palette opened no
longer takes it back from that field. The earlier widget gets the focus
again only when nothing has it or the palette's own field still has it.
2026-11-15 17:48:23 -08:00
dotCooCoo 2073b8460a Revolve: surface() allows Clippy's type_complexity lint
Merging main added a fifth value to the tuple surface() returns, which
Clippy's type_complexity lint rejects under -D warnings. The function
now allows that lint next to too_many_arguments, as
crates/eps/src/ai_graph.rs does.
2026-11-15 17:45:22 -08:00
dotCooCoo 68243f6720 Merge main into feat/3d-graphics-extrude-side 2026-11-15 17:43:44 -08:00
dotCooCoo 3b7c8c721e Merge main into feat/kinsoku-sets 2026-11-15 17:38:16 -08:00
dotCooCoo 023e322e6f i18n: French rows from main use ’ for elisions and no-break spaces in « »
Three French rows that came in with the merge of main used a straight
apostrophe for an elision or ordinary spaces inside « », which
french_catalog_uses_nonbreaking_prose_punctuation rejects.
2026-11-15 17:35:06 -08:00
makesomethingshit aac0a8b2a7 Fix #8005: Grow the spectrum with the Color panel 2026-11-16 10:33:31 +09:00
dotCooCoo 6205fe119e Merge main into fix/sv-message-rows
Main added @msg rows for the same messages; the branch's copies are dropped so each message has one row.
2026-11-15 17:33:25 -08:00
dotCooCoo 3270c8c84a Merge main into fix/es-message-rows
Main added @msg rows for the same messages; the branch's copies are dropped so each message has one row.
2026-11-15 17:33:25 -08:00
dotCooCoo 7e1d76ae7d Path Precision Tools: Common Tangents tests a turned thin ellipse and the area limit
The thin-ellipse test now also turns the figure 30 degrees and checks
that each line still ends at the ellipse's tip. A determinant four
times its rounding is accepted and one equal to its rounding is
refused, so the limit is tested on both sides.

The comment on the limit said the opposite of the rule: an ellipse is
measured exactly when its determinant is larger than the rounding of
its entries. The segment counter used by the tests is declared next to
the function it counts, and the estimate in the work test is corrected
to about 8,000 measurements per tangent.
2026-11-15 17:31:26 -08:00
dotCooCoo fdf91a9ca4 Merge main into feat/3d-classic-map-art 2026-11-15 17:28:18 -08:00
dotCooCoo a0f9fb7426 Merge main into fix/french-rows-use-a-no-break-space-before-as-fr 2026-11-15 17:25:48 -08:00
dotCooCoo 0813f69d0d Merge main into feat/3d-soft-shadows 2026-11-15 17:24:39 -08:00
dotCooCoo af67af91f6 Type: Show Similar Fonts reads the loaded faces once for the whole list
similar_families looked up each listed family's traits on its own, and
each look scanned every loaded face, so ordering the font menu took time
in the square of the families loaded. It now gathers the loaded faces'
traits in one pass and reads the scan's catalog once, and family_traits
uses the same helpers, so both give the same traits.
2026-11-15 17:24:30 -08:00
dotCooCoo 6e2cad713a Check Spelling: a deleted selected object leaves the dialog's scope
When another command deleted one of the objects the dialog was opened on,
the next check named that object in its ids and was refused, so the rest of
the selection was never reached. The check now leaves deleted objects out;
with every one deleted it checks nothing rather than the whole document.
2026-11-15 17:23:44 -08:00
dotCooCoo 4aa43cf683 Merge main into fix/transform-copies-raster-effects-groups 2026-11-15 17:22:24 -08:00
dotCooCoo 893ed2c7e3 Merge main into fix/confined-exports-script-paths 2026-11-15 17:20:46 -08:00
dotCooCoo e9a6864c96 Recolor Artwork: Save Prominent Colors leaves out removed colors
A color removed on the Edit tab no longer joins the group that Save
Prominent Colors makes, as Save All Colors already does. The menu item
is turned off when every prominent color was removed.
2026-11-15 17:19:49 -08:00
dotCooCoo 2a973becbc Symbols: Align to Pixel Grid leaves symbol editing layers to their symbol
- An instance of a pixel-aligned symbol on another symbol's editing layer is part of
  that symbol's art, so it is no longer snapped and written into that art.
- Turning Align to Pixel Grid on for the symbol being edited now writes its art back
  and shows it snapped on the editing layer at once, instead of after the next edit.
2026-11-15 17:17:28 -08:00
dotCooCoo fa42ea6dc8 Symbols: snap a pixel-aligned symbol's instances again only when its editing mode ends
While a pixel-aligned symbol was open in symbol editing mode, every edit snapped its
art and walked the whole document for its instances, even when the art did not change.
That pass now runs when editing mode for the symbol ends; edits that change the art
still snap it and its instances.
2026-11-15 17:17:28 -08:00
dotCooCoo 3d0900bd77 Symbols: a symbol instance snapped to the pixel grid takes its linked mask along
Snapping an instance of a pixel-aligned symbol to whole points set its transform
directly, so the art of a linked opacity mask stayed at the old fractional position
and shifted against the artwork. The instance now moves as any move moves it, and
the art of an unlinked mask stays where it is.
2026-11-15 17:17:28 -08:00
dotCooCoo a5a2827924 i18n: translate the reworded symbol.options error in every catalog
The error that asks for at least one Symbol Options field now also names alignToPixelGrid.
Each catalog's row for the old wording is replaced with a row for the new one, so the
message is translated again.
2026-11-15 17:17:28 -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 e37f033eca Merge pull request #7989 from dotCooCoo/feat/prefs-setting-descriptions
Preferences: a line under the fields describes the setting under the pointer
2026-11-16 08:11:20 +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 56d0feddf9 Tool overlays: pieces of a long drag's line meet halfway along a segment
Each piece of a long drag's line also held the first segment of the next
piece, so that segment was drawn twice, once by each piece. Where the
line is thin or partly covered at its edges, the doubled coverage drew a
darker stretch every 64 segments. A piece now ends halfway along the
segment after its last point, and the next piece starts there, so a wide
line still turns at the piece's last point as one line does.
2026-11-15 17:10:18 -08:00