Commit Graph
15489 Commits
Author SHA1 Message Date
dotCooCoo 763be536f5 Add Polygonal Lasso as an optional tool
Polygonal Lasso selects anchor points inside a loop of straight
segments. Each click sets a vertex, and a segment from the last vertex
follows the pointer. A double-click, Enter or a click on the first
vertex closes the loop. Backspace or Delete removes the last vertex,
Escape drops the loop, and Shift keeps the next segment to 45-degree
steps from the Constrain Angle. Shift held at the first click adds to
the selection and Alt subtracts from it, as with the Lasso. A loop of
fewer than three vertices selects nothing and records no undo step.

The tool is listed under its own heading in All Tools and under
Object › Plug-ins › Polygonal Lasso, with no default toolbar slot or
shortcut. On close it uses the Lasso's test for which anchor and mesh
points are inside (even-odd), now shared as lasso_select; the Lasso
itself behaves as before.

Touch mode now counts Polygonal Lasso and Enclosing Lasso as selection
tools, as it counts the Lasso, so the two-finger tap switches from them
to the drawing tool chosen last.

Fixes #4736
2026-11-15 19:17:09 -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
dotCooCoo 19122ecc34 Merge main into fix/french-rows-use-a-no-break-space-before-as-fr 2026-11-15 18:45:01 -08:00
dotCooCoo 1041a5c528 Merge main into feat/common-tangents 2026-11-15 18:44:19 -08:00
dotCooCoo b697ecbf07 Merge main into fix/erase-region-params-refused 2026-11-15 18:40:58 -08:00
dotCooCoo 7ff63a6cd7 Merge main into feat/line-segment-common-tangent 2026-11-15 18:40:40 -08:00
dotCooCoo 69d3402f2a Merge main into feat/psd-export-writes-slices 2026-11-15 18:39:24 -08:00
dotCooCoo bf19766447 Merge main into fix/confined-exports-script-paths 2026-11-15 18:36:36 -08:00
dotCooCoo eb48e1c0ed Merge main into fix/transform-copies-raster-effects-groups 2026-11-15 18:36:34 -08:00
dotCooCoo b67e6cdf2a Merge main into fix/transform-copies-raster-effects-rows 2026-11-15 18:36:29 -08:00
dotCooCoo 3a2d2eda33 Merge main into feat/recolor-add-remove-color-tools 2026-11-15 18:36:18 -08:00
dotCooCoo bbefef0d65 Merge main into feat/graph-filled-line-width 2026-11-15 18:36:02 -08:00
FredApps be428f3fcf engine: keep the image size checks and depth of main through the cutover
Remove Background and Color Mask check the image's size from its header
again before decoding ("an image of W × H pixels is too large to change"),
and Crop Image's trim and Remove Background read a file that can't hold
the pixels its header declares as unreadable, as on main. The test helper
reading Remove Background's output keeps 16-bit samples.

The HEIF and JPEG XL readers and their tests go back to main's (heic-rs and
jxl-oxide): the craft-heif and craft-jxl versions failed eight of their
tests (resolution axes after a quarter turn, the container's mirror and
crop, refusing a grid of cropped tiles, 16-bit samples, the decode
allowance). Moving them stays to do.
2026-11-16 03:33:57 +01: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 1b613188e7 Merge pull request #7435 from dotCooCoo/fix/singular-messages-translated
i18n: unused-answers and Liquify skip messages translate for one item too
2026-11-16 09:31:05 +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 b464ec2825 Effects: a group's or layer's copies keep members' effects, hidden members and earlier copies' shadows in step
- A group or layer with a fill or stroke of its own and only raster effects
  before its copying Transform effect now applies its members' own effects
  before the copies are made, as one without a fill or stroke does.
- A layer's copies are made about the bounds of its visible members, as the
  layer measures them, rather than about its hidden members as well.
- When an earlier copying Transform effect of the group or layer made copies
  that carry its raster effects, each copy of a later one moves, turns,
  reflects and scales those raster effects with it.
2026-11-15 18:26:34 -08:00
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 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
makesomethingshit ebd621d454 Fix #8005: Record Color spectrum resizing in the parity assessment 2026-11-16 11:05:09 +09: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 e0133a7938 Merge main into fix/confined-export-screens-folder-checked 2026-11-15 17:53:20 -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 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 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 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