Commit Graph
6055 Commits
Author SHA1 Message Date
dotCooCoo 47a8bcde18 Merge main into feat/scripts-api-d8b-tracing 2026-12-02 02:46:39 -08:00
.CooCoo d100d66a06 Merge pull request #10250 from dotCooCoo/fix/retype-period-font-order
Retype: glyphs drawn alike in several fonts count as one outline in near matching
2026-12-02 02:22:02 -08:00
.CooCoo d753c48d2e Merge pull request #10483 from dotCooCoo/fix/windows-evalfile-uri
Scripts: $.evalFile reads the URI paths File.parent gives, on Windows too
2026-12-02 02:02:31 -08:00
.CooCoo 907db2002f Merge pull request #10487 from dotCooCoo/fix/mark-bounds-tiny-objects
Arrange Tools: Mark Bounds of Each draws no empty group for an object too small for corner legs
2026-12-02 02:02:23 -08:00
dotCooCoo 4bcdc5d77c Merge main into feat/scripts-api-d8b-tracing 2026-12-02 01:26:36 -08:00
dotCooCoo a1b8b01383 Scripts: refuse moves that make a tracing, and a release that drops added art
- move, remove() and zOrder throw "Only Image Trace can make a tracing",
  with nothing changed, when they would leave an image at the bottom of
  an ordinary group named Image Trace: a path moved out of the group or
  to its top, Send to Back or Send Backward on the image, and Bring to
  Front or Bring Forward on the object below it.
- releaseTracing() throws "Cannot release a tracing containing added
  artwork", with nothing changed, when the tracing holds an object its
  trace did not make. imageTrace.release keeps only the source image, so
  the added object would be deleted.
- The TracingOptions members with no setting and TracingObject.areaCount
  are left out of hasOwnProperty and reflect. Reading them still throws.

Docs: docs/mcp.md.
2026-12-02 01:26:30 -08:00
.CooCoo 0c6aaa074d Merge pull request #10448 from dotCooCoo/fix/make-numbers-sequence
Type Tools: Make Numbers Sequence numbers the selected type objects
2026-12-02 01:10:32 -08:00
dotCooCoo 9b40798f6a Merge main into fix/retype-period-font-order 2026-12-02 00:40:20 -08:00
dotCooCoo f2d6ea0c51 Merge main into fix/make-numbers-sequence 2026-12-01 20:00:19 -08:00
dotCooCoo 6e6a9a6d2f Merge main into fix/craft-fonts-pin-main 2026-12-01 19:29:33 -08:00
.CooCoo 3860a8025c Merge pull request #10502 from dotCooCoo/fix/common-tangents-metaball
Path Precision Tools: Common Tangents and Smooth Bridge are one dialog
2026-12-01 18:28:19 -08:00
.CooCoo 44522e9b7e Merge pull request #10506 from dotCooCoo/fix/include-bleed-native-files
Export for Screens: Include Bleed files of an artboard hold the bleed once
2026-12-01 17:32:13 -08:00
FredApps 559a2205d5 Merge branch 'main' into svg/export-length-unit 2026-12-02 00:35:06 +01:00
.CooCoo 3852fa4afb Merge pull request #10484 from dotCooCoo/fix/pathops-cap-reports
Pathfinder: Divide and Live Paint report paths too complex to map
2026-12-01 15:33:36 -08:00
FredApps 5a4a558f5c Merge branch 'main' into svg/export-length-unit 2026-12-02 00:29:33 +01:00
.CooCoo aa557da659 Merge pull request #8808 from dotCooCoo/feat/quick-pen-scroll-arc
Quick Pen: Ctrl+wheel over the canvas changes the arc size
2026-12-01 14:57:33 -08:00
dotCooCoo 86a5efd04c Export for Screens: Include Bleed files of an artboard hold the bleed once
With Include Bleed, a .vectorcraft, .ai or EPS row wrote the artboard
already grown by the document's bleed and kept the document's bleed as
well. Opened again, the file had the bleed outside the grown artboard, so
a PDF with the document's bleed came out with it twice: a 3 mm bleed made
a 6 mm one.

These files now hold the grown artboard with a bleed of 0. PDF rows and
Full Document files are unchanged. The params text and docs/mcp.md say so.
2026-12-01 14:38:27 -08:00
dotCooCoo a7129f3eed Merge main into feat/scripts-api-d8b-tracing 2026-12-01 14:07:15 -08:00
dotCooCoo 6230cf282a Merge main into fix/common-tangents-metaball 2026-12-01 13:17:02 -08:00
dotCooCoo 813ef9b3e7 Merge main into fix/pathops-cap-reports 2026-12-01 13:16:59 -08:00
.CooCoo a5a3e40c5e Merge pull request #9087 from dotCooCoo/feat/scripts-print-printer
Scripts: Document.print prints to an installed printer and app.printerList lists the printers
2026-12-01 13:11:17 -08:00
dotCooCoo d9d9354ec7 Scripts: moving an image cannot make a tracing; counts do only their work
- move() and duplicate() refuse to put an image at the bottom of an
  ordinary group named Image Trace, before the document changes, as
  renaming such a group already does. A tracing's source image moved
  out keeps its own error.
- pathCount and usedColorCount no longer walk the anchor points, and
  anchorCount charges each path inside a compound path it reads.
- The run keeps the reverse of its replacement map, so finding the
  first object of a chain no longer scans the whole map at each step.
- docs: the source image of a traced item is left out of pageItems,
  placedItems and rasterItems and is reached through
  PluginItem.tracing.sourceArt; docs/mcp.md lists the new error.
2026-12-01 13:09:41 -08:00
dotCooCoo 988e5ca919 Merge main into fix/common-tangents-metaball 2026-12-01 11:16:00 -08:00
dotCooCoo 6f684e6da9 Path Precision Tools: Common Tangents and Smooth Bridge are one dialog
Common Tangents… now also does what Smooth Bridge… did (#10465).

- Connect tangents joins the two tangents of each kind into one closed
  shape, along the chords between where they touch each path (a point's
  two lines make a triangle). `connect` on
  `addon.pathtools.commonTangents`.
- With External, the dialog shows Straight and Curved. Straight keeps
  the tangent lines; Curved joins the circles along concave arcs, as
  Smooth Bridge did, with Radius, Constant Gap, Reach and Keep
  Originals, which take input only with Curved. `curved`, `radius`,
  `gap`, `reach` and `keepOriginals` on the command; options of the
  other mode are an error.
- The Smooth Bridge… menu item is gone. `addon.pathtools.bridge` still
  runs for scripts and actions, opens the merged dialog with External
  and Curved, and is left out of the command palette and Keyboard
  Shortcuts. A palette search for "metaball" or "smooth bridge" finds
  Common Tangents.

Docs: docs/mcp.md, docs/ui-parity.md, ROADMAP.
2026-12-01 11:16:00 -08:00
dotCooCoo ce596d4f57 Arrange Tools: Mark Bounds of Each draws no empty group for an object too small for corner legs
Each corner leg is at most half the side it runs along. An object wider or
taller than the flat limit but with both half-sides under it got a Corner Marks
group with no paths in it. Such an object now gets no corner marks, and a
selection of only such objects is refused with "nothing to mark: the selection
is too small for corner marks" and no undo step. The Rectangle style still
marks it.

Follows up #10148.
2026-12-01 09:47:43 -08:00
.CooCoo 7936fd6f67 Merge pull request #10153 from dotCooCoo/fix/file-new-rejects-bad-rows
New Document: file.new refuses artboard counts that are not whole numbers
2026-12-01 09:47:36 -08:00
.CooCoo 9a9cdbcf33 Merge pull request #10140 from dotCooCoo/feat/symbol-drop-keeps-art
Symbols: art dropped on a symbol with Alt+Shift redefines it and stays as it was
2026-12-01 09:47:19 -08:00
.CooCoo fd24af05d7 Merge pull request #10118 from dotCooCoo/fix/layer-options-key
MCP: dialog params texts name the keys ui.inspect reports
2026-12-01 09:47:10 -08:00
dotCooCoo c2cf867f1d Type: Make Numbers Sequence leaves locked type and masks alone and replaces signed numbers
Locked or hidden type inside a selected group is no longer numbered or
deleted, and removeUnused keeps a type object that masks a clipping group
or layer and keeps the selection instead of selecting the numbered objects.
In Numbers mode a minus sign that does not follow a letter is part of the
number, and a number or placeholder that already reads the new number keeps
its text and style. Rows and columns are found among the objects that get a
number, with the true median for an even count. A run that would replace
more than 10,000 numbers or placeholders is refused before any text is
built, and a seed that is not a whole number is refused even with shuffle
off. ui.menuDialog lists the dialog, and the progress doc has its line.
2026-12-01 09:46:40 -08:00
dotCooCoo f01f2ce6c0 Fix #10463: $.evalFile reads File URI paths
File.parent gives a folder in URI notation (/c/Users/..., with %20 for a
space). $.evalFile joined that text to the script's folder as written, so
on Windows $.evalFile(File($.fileName).parent + '/more.jsx') looked under
C:\c\Users\... and reported "include file not found".

When an absolute path starting with one / names no file the script may
read, $.evalFile now also tries it with its escapes decoded and, on
Windows, with /c/... as the drive C:. The path as written is still tried
first, and the scope check, the .. refusal and the file limits apply to
every form. Share and device paths are not converted, and #include lines
are read as before.
2026-12-01 09:30:34 -08:00
dotCooCoo 66c01445d5 Pathfinder: Divide and Live Paint report paths too complex to map
When the planar map is skipped because the paths have too many pieces
(SHAPE_BUILDER_MAX_MAP_EDGES, added in 7a46d5ec56), too many segments
or exceed the sweep's work budget, Divide with open paths fell back to
the filled areas. It replaced the selection with the uncut shapes and
deleted the cutting paths without saying so. Live Paint built no faces:
Make reported the paths as too degenerate to paint, and with Gap
Detection a group could get its edges and no faces.

pathops now has try_pathfinder_with, try_live_paint and
try_live_paint_with_gaps, which return TooManyPieces in those cases
without sweeping the filled areas. Divide, Live Paint Make, Merge and
Gap Options use them and stop with an error that leaves the art
unchanged. The caps, and the fallbacks of pathfinder_with, live_paint,
live_paint_with_gaps and the Shape Builder, are unchanged.

When a Gap Options preview fails after one that found gaps, the dialog
no longer keeps drawing the earlier preview's gaps over the groups the
failure put back.

Docs: docs/mcp.md, the commands' params text and the Divide line in
docs/target-app-parity.md.
2026-12-01 09:29:56 -08:00
dotCooCoo 6de89eece9 Merge main into feat/scripts-api-d8b-tracing 2026-12-01 09:00:59 -08:00
dotCooCoo 219ea91984 Merge main into fix/make-numbers-sequence 2026-12-01 06:52:28 -08:00
dotCooCoo a992850228 Merge main into feat/color-randomly
# Conflicts:
#	crates/mcp/src/ui_catalog.rs
#	crates/ui-egui/src/menus/ui_commands.rs
2026-12-01 06:26:48 -08:00
dotCooCoo 8ba55104f0 Merge main into feat/group-rows
# Conflicts:
#	crates/engine/src/cmd/plugin_call/reviewed.rs
#	crates/mcp/src/ui_catalog.rs
#	crates/ui-egui/src/addons/arrange.rs
#	crates/ui-egui/src/menus/ui_commands.rs
#	docs/mcp.md
#	docs/target-app-parity.md
#	docs/ui-parity.md
2026-12-01 06:20:46 -08:00
.CooCoo 4e6cc52aea Merge pull request #10332 from dotCooCoo/fix/script-page-item-edits
Scripts: locked artboards stop path edits, and move and zOrder respect clipping paths
2026-12-01 06:19:21 -08:00
.CooCoo 83b2c22b78 Merge pull request #10148 from dotCooCoo/feat/corner-marks
Arrange Tools: Mark Bounds of Each draws corner marks or a rectangle on each selected object's bounds
2026-12-01 06:18:27 -08:00
e28faa0a94 Color Halftone: draw dark dots on light tones (#10316)
* fix(effects): draw dark dots in RGB Color Halftone

(cherry picked from commit 2dbe91af9f)

* Cover dark-on-light RGB halftone polarity

Updated halftone tests to clarify behavior regarding pixel brightness and dot sizes.

(cherry picked from commit babd60e332)

* effects: bound Color Halftone dots at full coverage

(cherry picked from commit 8fb0bf55607762df6e3acc2ed7ed37a643fea022)

* effects: describe Color Halftone ink coverage

(cherry picked from commit 0dbf12514095b6e12cb4414055d8ac47ee1fbcdc)

* Document the change to saved RGB halftones

* Test the bounded edge overlap of full halftone dots

---------

Co-authored-by: Mex <[email protected]>
Co-authored-by: dotCooCoo <[email protected]>
2026-12-01 14:17:04 +01:00
dotCooCoo 3705c2be90 Type Tools: Make Numbers Sequence numbers the selected type objects
Object > Plug-ins > Type Tools > Make Numbers Sequence... and the
addon.type.numbers command fill the selected type objects with numbers
from a start value by a step, optionally stopping at an end value. Each
number replaces the whole text, every number in it, or every {%n}
placeholder. Objects are taken in stacking order, by rows or by columns,
or in a seeded random order, with optional leading and trailing zeros.
The run is one undo step, records none when nothing changes, and refuses
threaded type and bad parameters.

Based on Sergey Osokin's MIT-licensed MakeNumbersSequence script.
2026-12-01 03:40:31 -08:00
dotCooCoo 99bea87cff Merge main into feat/scripts-api-d8b-tracing 2026-12-01 02:16:37 -08:00
dotCooCoo bf56f4d062 Scripts: a group holding an image cannot take the tracing's name
PageItem.name now refuses "Image Trace" for an unclipped group whose
first object is an image and that is not already a tracing. That name
would make the group a tracing, and expanding it would delete its first
object.

The snapshot of a tracing's objects is now taken only for a tracing
saved without the record of the objects its trace made, and only the
first time a run sees it. Retrace reads it only in that case.

docs/target-app-parity.md now says that the view options only change
the view, and docs/mcp.md lists the new rename error.
2026-12-01 02:00:17 -08:00
.CooCoo 084c01d031 Merge pull request #10364 from dotCooCoo/fix/halftone-euclidean-elliptical
Vector Halftone: Euclidean and Elliptical dot shapes
2026-12-01 01:22:58 -08:00
dotCooCoo eadf345932 Merge main into feat/color-randomly 2026-12-01 01:04:32 -08:00
dotCooCoo 3fcb278b24 Merge main into feat/group-rows 2026-12-01 01:03:49 -08:00
dotCooCoo 9c4f01faf1 Merge main into feat/corner-marks 2026-12-01 01:03:01 -08:00
dotCooCoo ea8352c5d7 Merge main into feat/scripts-print-printer 2026-11-30 20:57:56 -08:00
dotCooCoo b143f92f3f Vector Halftone: Euclidean and Elliptical dot shapes
Object > Vector Halftone and the live Vector Halftone effect get two
dot shapes that follow the classic spot functions. Euclidean dots are
round in the highlights, meet corner to corner at 50% as a checkerboard
and turn into round holes in the shadows. Elliptical dots are long,
join into chains along their length at 40% and on every side at 60%,
then turn into long holes. Each dot is a vector path whose area is the
cell's tone. The existing Ellipse shape is unchanged.
2026-11-30 20:49:40 -08:00
.CooCoo 84335645da Merge pull request #10335 from dotCooCoo/fix/linked-profile-listing
New Document: Manage Profiles reports a linked profile as unusable
2026-11-30 20:23:26 -08:00
dotCooCoo 74e572c8c5 Merge main into fix/script-page-item-edits
# Conflicts:
#	crates/engine/src/script/dom/paths.rs
2026-11-30 19:56:24 -08:00
dotCooCoo ab051030b7 Docs: a clipping path moved below itself stays where it is 2026-11-30 18:52:55 -08:00