Commit Graph
4978 Commits
Author SHA1 Message Date
BFlat 435f603a37 Merge pull request #8214 from dotCooCoo/perf/cut-at-anchors-select-set
Cut Path: the cut ends are selected with one set call
2026-11-17 09:46:50 +07:00
BFlat 25ae8943d8 Merge pull request #8213 from dotCooCoo/perf/trim-selection-one-pass
Trim at Crossings: the selection is updated in one pass
2026-11-17 09:46:42 +07:00
BFlat 6d8db923c2 Merge pull request #8221 from dotCooCoo/feat/flare-alt-click-default
Flare: an Alt-click draws a flare at the click with the tool's options
2026-11-17 09:46:34 +07:00
BFlat 46b7894231 Merge pull request #8238 from dotCooCoo/feat/blend-options-id-fields
Blend: options on several blends set only the values given; `id` edits one blend
2026-11-17 09:46:15 +07:00
BFlat 457c5fba1c Merge pull request #8251 from dotCooCoo/perf/magic-wand-membership-sets
Magic Wand: compound and selection membership checks use hash sets
2026-11-17 09:45:57 +07:00
BFlat 2d393d8a8a Merge pull request #8094 from el-j/fix/pdfx-transparency-reduction-6861
Fix #6861: Automated transparency reduction for PDF/X and PDF 1.3
2026-11-17 09:45:49 +07:00
BFlat 5232789973 Merge pull request #8076 from dotCooCoo/fix/export-screens-pdf-bleed
Export for Screens: Include Bleed keeps a PDF page's TrimBox at the artboard
2026-11-17 08:20:09 +07:00
BFlat 7c65af31ce Merge pull request #8067 from dotCooCoo/feat/align-3d-preview-bounds-1302
Use Preview Bounds: Extrude & Bevel, Revolve, Inflate and Rotate are measured by their 3D art
2026-11-17 08:19:29 +07:00
BFlat 2510109da1 Merge pull request #8100 from dotCooCoo/perf/brush-targets-dedup-set
Brushes: brush_targets drops repeated paths with a set instead of a linear search of its output
2026-11-17 08:19:20 +07:00
BFlat f619888fe2 Merge pull request #8074 from dotCooCoo/feat/intertwine-layers-drop
Layers: dragging objects into an Intertwine group adds them to it
2026-11-17 08:19:04 +07:00
el-j 7194204871 Address review comments: reuse clear_transparency helper and run layer normalization only without transparency 2026-11-17 01:04:57 +01:00
el-j a0edcf73c4 Merge remote-tracking branch 'upstream/main' into fix/pdfx-transparency-reduction-6861 2026-11-17 00:42:30 +01:00
dotCooCoo 562021f185 Blend: Blend Options sends only what was set; unknown orientation is an error
- The Blend Options dialog sends the spacing, count or orientation only
  when it was set in the dialog or differs from the first blend's, so
  OK on several blends no longer copies the first blend's spacing and
  orientation onto the others.
- object.blend.options: a spacing mode without a count keeps the count
  of a blend already in that mode. An orientation other than page or
  path, a spacing that is not a string, and `value` without `spacing`
  are errors (orientation also in object.blend.make and the options new
  blends start with).
- The Blend panel dims Type and Ramp while any selected blend has no
  spine, since the command refuses easing for such a selection.
- Tests check the live preview while a Ramp or Shift drag is under way.

Supersedes #8022 by ruchirguitar.
2026-11-16 14:38:00 -08:00
dotCooCoo 8970de7da5 Magic Wand: compound and selection membership checks use hash sets
select.magicWand searched lists in three places: paintable looked up
each object's parent in the list of compound paths, add mode looked up
each hit in the selection, and subtract mode looked up each selected
object in the hits. These lookups now use HashSets. The output is still
built by walking the lists, so the wand selects the same objects in the
same order as before.

A test compares paintable, added, subtracted and select.magicWand in
set, add and subtract mode with copies of the earlier searches on a
20,000-path document. An ignored release-build probe times both.
2026-11-16 14:18:19 -08:00
dotCooCoo 3e3c95ec37 Blend: options on several blends set only the values given; id edits one blend
object.blend.options wrote the first selected blend's spacing, orientation,
type, ramp and shift onto every selected blend, whatever the call gave. Each
blend now takes only the values given and keeps its own for the rest, through
one closure used for the selection and for `id`.

- `id` edits that blend alone. A hidden or locked blend and an object that
  is not a blend are errors, and the blend's own spine decides whether
  easing is allowed.
- A call that changes no blend records no undo step.
- The Blend panel's Ramp and Shift sliders share one helper: a drag
  previews on the canvas and records one undo step on release, instead of
  one per frame.

Builds on #8022 by ruchirguitar.

Docs: docs/mcp.md, docs/target-app-parity.md.
2026-11-16 12:42:53 -08:00
dotCooCoo 473b887542 Merge main into feat/flare-alt-click-default 2026-11-16 11:59:16 -08:00
BFlat 3e75a7eae7 Merge pull request #8013 from dotCooCoo/fix/transform-copies-raster-effects-groups
Effects: each copy of a group's or layer's Transform effect carries the raster effects before it
2026-11-17 02:50:52 +07:00
BFlat fb6845b07a Merge pull request #8161 from dotCooCoo/perf/cut-selection-one-pass
Cut: take the cut objects out of the selection in one pass
2026-11-17 02:50:44 +07:00
BFlat 3e9947ac9d Merge pull request #8179 from dotCooCoo/feat/graphic-styles-drag-to-new-duplicates
Graphic Styles: a style dropped on New Graphic Style is duplicated at the end of the list
2026-11-17 02:50:36 +07:00
BFlat 40e2aecad3 Merge pull request #8174 from dotCooCoo/perf/anchors-many-set
Select: anchorsMany updates the selected objects in one pass
2026-11-17 02:50:10 +07:00
BFlat 5190f99c6c Merge pull request #8173 from dotCooCoo/fix/editing-data-fallback-says-why
.ai import: a refused PDF part's error says why the editing data couldn't be read
2026-11-17 02:50:01 +07:00
dotCooCoo 02e8f3eb54 Flare: an Alt-click draws a flare at the click with the tool's options
With the Flare tool, an Alt-click (Option-click on macOS) now draws a flare
centered at the click at once, with the tool's current options, instead of
opening the Flare Tool Options. Alt counts when it is held as the button goes
down; a drag with Alt draws the flare in two stages as before. While the
perspective grid shows with an active plane, the flare is drawn on that plane
from the click, as the dialog's OK draws it, and a click the plane cannot take
reports the error. A plain click still opens the dialog.
2026-11-16 11:47:43 -08:00
dotCooCoo 8b0effde6b Trim at Crossings: the selection is updated in one pass
A trim checked and changed the selection once for every trimmed path
and every piece, and each check or removal went through all selected
objects, so a trim of thousands of selected paths spent time
quadratic in their number on the selection alone. The command now
reads the selection through a set and removes and adds objects once
at the end. The resulting selection is the same as before, including
object order, the key object and key anchor, the direct-selected
anchors and segments, and the fields that a change to the object
selection clears.
2026-11-16 11:30:08 -08:00
dotCooCoo 29f20f8533 Merge main into perf/brush-targets-dedup-set 2026-11-16 10:51:44 -08:00
dotCooCoo cee1dbaa96 Merge main into feat/intertwine-layers-drop 2026-11-16 10:49:58 -08:00
dotCooCoo e5baf0d20a Merge main into fix/export-screens-pdf-bleed 2026-11-16 10:49:54 -08:00
dotCooCoo 3b3f82b600 Merge main into feat/align-3d-preview-bounds-1302 2026-11-16 10:45:35 -08:00
dotCooCoo 097eaba2b5 Merge main into fix/transform-copies-raster-effects-groups 2026-11-16 10:35:16 -08:00
dotCooCoo 58f1129123 Cut Path: the cut ends are selected with one set call
Cut Path at Selected Anchor Points cleared the selection and then added
each cut path in turn, and each add searched the paths already added, so
selecting the cut ends took time that grows with the square of the number
of cut paths. The command now selects them with one Selection::set call,
which skips repeats through a hash set and keeps the order in which each
path first appears, and then adds each cut end's anchor. The selection is
the same in every field; a new test compares it with the one-by-one build
on open, closed and multi-subpath cuts, long lists and an empty list.

The gain shows on large documents. With the 8 middle anchors of each of
5,000 open paths of 10 anchors selected, building the selection of 40,000
cut ends takes 9.7 ms instead of 232 ms of CPU time, and with 2,000 paths
3.2 ms instead of 39 ms (medians of 7 runs of the new
cut_path_select_bench example, both ways in one process).
2026-11-16 10:02:01 -08:00
dotCooCoo f5f22bd6be Export for Screens: a saved PDF preset row with no bleed and one asking for the document's write one file
Under Include Bleed, a PDF row that sets no bleed now keeps the bleed values a saved PDF preset writes out and turns on useDocument, instead of replacing the whole bleed object. Its file key then matches a row of the same preset that asks for the document's bleed, so the two rows write one PDF.
2026-11-16 09:18:23 -08: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 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 842f81d76a Merge main into fix/export-screens-pdf-bleed 2026-11-16 08:30:35 -08:00
dotCooCoo 739aa8e6ea Merge main into feat/graphic-styles-drag-to-new-duplicates 2026-11-16 08:12:34 -08: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 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 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 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 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 8797e43f4d Merge main into feat/graphic-styles-drag-to-new-duplicates 2026-11-16 07:58:37 -08:00
dotCooCoo 139f881f81 .ai import: a refused PDF part's error says why the editing data couldn't be read
When the import refuses a file's PDF part and its editing data can't be
read either, the error named only the PDF part. It now adds "its editing
data couldn't be read either (<why>)", as layers already do
(crates/eps/src/import.rs). The reasons come from the editing data
reader (a size limit, damaged compression) and from the private data
streams (larger than 256 MB, another filter or decode parameters,
damaged zlib data). A file without editing data, and an open with pages
picked, layers off or the editing data off, keep the PDF part's error.

Part of #4366.
2026-11-16 07:56:57 -08:00
dotCooCoo 33f464faac Merge main into perf/anchors-many-set 2026-11-16 07:54:42 -08:00
dotCooCoo 5371149bf1 Select: anchorsMany updates the selected objects in one pass
select.anchorsMany, which the Direct Selection and Group Selection
marquees, the Lasso and Smart Pen send, checked and changed membership
through Selection::contains, add and remove for each item, each a scan
of the selected objects. It now keeps the selected objects in a map
while the items run and writes them back once. The objects, their
order, the anchors, segments, key, key anchor and the other selection
fields come out as before, repeated ids and ids deselected and
selected again included.

Tests compare the result with the item-by-item loop for every mode,
four starting selections and fifteen item lists, and bound the passes
over the selected objects. An ignored benchmark times both loops on
2,000, 20,000 and 50,000 rectangles.
2026-11-16 07:50:19 -08:00
dotCooCoo 7508f7cfe3 Graphic Styles: a style dropped on New Graphic Style is duplicated at the end of the list
A graphic style dragged from the panel onto the New Graphic Style button
runs Duplicate Graphic Style. The button takes the drop with no art
selected and is outlined while a style is held over it. A dragged style
that is highlighted brings the other highlighted styles, copied in panel
order in one undo step, and the copies are highlighted.

graphicStyle.duplicate now adds the copy at the end of the list instead
of right after its source, for the panel menu's command and the drop.

The list's drop zone no longer reaches over the footer when the list is
shorter than 220 pt, so a style released on New Graphic Style or Delete
is not moved to the end of the list.
2026-11-16 07:49:56 -08:00