Commit Graph
12000 Commits
Author SHA1 Message Date
dotCooCoo f29fd8c3a0 Merge main into chore/test-lint-rules 2026-12-01 02:04:59 -08:00
dotCooCoo ded4e473a2 xtask: test-lint follows comments, inline and shared modules, and changed mod cfgs
- never-run reads cfg predicates with comments removed, finds a module
  declared inside an inline module of its parent's parent, stops when
  several files declare a module with different attributes, and counts a
  change to a cfg on a mod declaration in another file against the tests
  it turns off. The lines between a module's cfg and the test no longer
  count as changes to the test.
- reads-source ignores paths in comments.
- census bounds weak_predicate at 64 levels and does not take a lookup
  with an operator before it as a round trip.
- fixture-only treats a for-loop binding that shadows a fixture as
  unknown.
- exact-pixel skips ratios and scaled values.
- docs/development.md lists reads-source and never-run as failing rules.
2026-12-01 02:04:59 -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 98a039da33 Merge main into feat/artboard-flood-fill 2026-12-01 01:03:07 -08:00
dotCooCoo 9c4f01faf1 Merge main into feat/corner-marks 2026-12-01 01:03:01 -08:00
dotCooCoo 73946a86a8 Docs: exportFile names the image files a DXF writes beside it
A DXF of a drawing with placed raster images writes each image it exports
beside the drawing as a PNG file, or a JPEG file with rasterFormat JPEG.
The exportFile paragraph in docs/mcp.md said it writes one file, with only
the SVG companion images as an exception.
2026-11-30 23:03:05 -08:00
dotCooCoo 4c0611a9f8 Step and Repeat: pixel-aligned copies keep their artwork registered and stay on the sheet
Object > Step and Repeat came in with #8743 by Silvertree2010. When the
selection held a pixel-aligned object, each copy moved by the fractional
pitch and the snap after the move then shifted only the pixel-aligned
objects, so a pixel-aligned cut contour slid against its artwork in
every copy (a 0.6 pt gap moved the artwork 0.4 pt inside its cut). Fill
also counted cells before the snap, so the last copy could end up to
half a point past the sheet.

- With a pixel-aligned object in the selection (linked opacity mask art
  included), every cell moves by whole points: the pitch is rounded up,
  so neighbors never come closer than asked, and with fill the first
  cell's place is rounded toward the inside of the sheet and only the
  cells that still fit are counted.
- A turned cell turns about a center rounded to a half point, so its
  objects also move by whole points. The pitch on the alternating axis
  makes room for the shift, and fill counts a turned column or row only
  when it fits with it.
- docs/mcp.md gains a Step and Repeat section, and the params text
  describes the rounding.
2026-11-30 22:51:45 -08:00
dotCooCoo 5fbeb88f1d Docs: Flood Fill Artboards makes its layer when no top-level layer has that name 2026-11-30 22:44:27 -08:00
dotCooCoo b852316921 Plug-ins: fix event delivery edge cases from review
- A commit or cancel with no drag open no longer ends an interaction for
  plug-in events.
- A host query that panics during a handler still puts the session back.
- Handler calls after a replayed command are checked as calls from outside.
- A rolled-back batch puts back the events its opens pushed out of the
  32-event queue.
- Installing a plug-in again, the same module included, turns its events
  back on; plugin.info's eventsOff follows the same rule.
- A document added before the first check records its baseline.
- Handler failures show in the status bar from their English templates,
  translated when shown, and event handler time counts toward the frame
  time.
- Tests check that the handler ran in the tested pass, and the script-run
  test no longer writes to other sessions' status bar.
2026-11-30 22:12:19 -08:00
dotCooCoo d0b078f025 Docs: match document.open's crop help to the trim-box rule
The document.open parameter text now names the PieceInfo keys and their
search depth, limits the trim default to pages imported as editable art
with cropTo and crop omitted, and says cropTo takes precedence over the
crop alias. docs/mcp.md says restoring an editing copy uses that copy's
artboards.
2026-11-30 21:44:40 -08:00
dotCooCoo 3dfbf3cf64 Docs: say the .ai-backed PDF trim default applies when no crop box is named 2026-11-30 21:29:56 -08:00
dotCooCoo 612251b6cb Docs: state the PieceInfo search depth for .ai-backed PDF pages
The page-import and linked-page descriptions now say the key is found in
PieceInfo itself or in a dictionary nested up to four dictionaries deep
counting PieceInfo, as piece_info_has in crates/pdf/src/pages.rs searches.
2026-11-30 21:27:11 -08:00
dotCooCoo 3042821e7b Docs: give the page-import options for a .ai-backed PDF as examples
A missing or stale Preserve Editing copy does not always lead to page import,
since the file can still open from its private editing data.
2026-11-30 21:16:44 -08:00
dotCooCoo ff1333c756 Merge main into feat/scripts-layer-text-frames 2026-11-30 21:15:53 -08:00
dotCooCoo 05b90d63ea Docs: describe the .ai trim-box trigger as a PieceInfo key prefix
The check matches keys that start with AIPrivateData or AIPDFPrivateData,
nested dictionaries included, without reading their values. A named crop box
also applies when no intact editing copy is found and the pages are imported.
2026-11-30 21:15:12 -08:00
dotCooCoo 10e107e464 Merge main into feat/scripts-api-d8c-rasterize-capture 2026-11-30 21:12:56 -08:00
dotCooCoo be3ee13f0e Docs: say when a named crop box applies to a .ai-backed PDF
cropTo: "crop" alone restores an intact Preserve Editing copy, so the crop
boxes apply only when the caller forces page import. The trim-box rule checks
the first PDF page's PieceInfo for the editing data.
2026-11-30 21:11:25 -08:00
dotCooCoo b969e58487 Docs: keep the PDF-compatible qualifier on the .ai trim-box rule
A file saved without its PDF part opens from its editing copy, so the rule
covers PDF-compatible files only. The page-import examples drop layers: false,
which does not skip a Preserve Editing copy.
2026-11-30 21:07:39 -08:00
dotCooCoo d37a3ebbb2 Docs: name layers: false among the ways a .ai-backed PDF imports its pages
The editing copy is skipped whenever pages are picked, editingData is off or
layers is off, so the list is given as examples.
2026-11-30 21:05:06 -08:00
dotCooCoo ee1e5bf2e5 Merge main into feat/scripts-api-d3-layers-artboards 2026-11-30 21:04:45 -08:00
dotCooCoo b833903e70 Merge main into feat/scripts-text-paint 2026-11-30 21:03:58 -08:00
dotCooCoo c4742a7c91 Merge main into feat/scripts-api-d1b-prefs-matrix-clipboard 2026-11-30 21:03:32 -08:00
dotCooCoo 69a42e00a2 Docs: say a named crop box can take in all, part or none of the bleed
The crop box can miss the bleed entirely, for example when the bleed lies
only right of the trim box and the crop box reaches past it only on the left.
2026-11-30 21:02:46 -08:00
dotCooCoo 21aeb77367 Merge main into feat/scripts-pageitem-transforms 2026-11-30 21:02:41 -08:00
dotCooCoo ea8352c5d7 Merge main into feat/scripts-print-printer 2026-11-30 20:57:56 -08:00
dotCooCoo 5134b5a7bc Merge main into fix/script-new-document-overprint-links 2026-11-30 20:54:11 -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
dotCooCoo 6fee5145ac Merge main into fix/plugins-tree-audit-in-checks 2026-11-30 20:44:53 -08:00
dotCooCoo d74312bedc Merge main into feat/js-object-set-prototype-of 2026-11-30 20:44:43 -08:00
dotCooCoo 4fdea52931 Docs: say that a named crop box takes in the part of the bleed it covers 2026-11-30 20:43:23 -08:00
dotCooCoo 32543571f3 Scripts: close with SaveOptions.SAVECHANGES saves a native file whose last save named a range
A native save keeps every artboard in its main file and reads `range` only
for the separate files of `separateArtboards`. The close check treated a
native document last saved with `range` and without `separateArtboards` as
a save of some artboards, and refused to close it although the save writes
every artboard.
2026-11-30 20:41:27 -08:00
dotCooCoo e4b81a5a88 Docs: say that a named crop box takes the bleed in only when it contains the bleed box 2026-11-30 20:28:31 -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 d80307af3f Docs: say when an explicit crop box opens a PDF with editing data
Opening a PDF or .ai that carries .ai editing data gives its trim boxes for the
crop box. When its pages are imported, a crop box the caller names gives the
crop boxes instead (explicit_crop_box in pdfimport.rs, covered by
explicit_crop_box_opens_the_bleed_outside_an_editable_files_trim_box). Linked
pages keep the trim boxes either way.
2026-11-30 20:16:36 -08:00
dotCooCoo 980825f3e8 Preferences: Classic tool icons are the default
New installs and preferences saved without uiToolIcons now show the tool icons of version 0.24. Current stays selectable under Preferences > User Interface > Tool Icons, and a saved choice of either set is kept.
2026-11-30 20:03:30 -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 113bd962d8 Merge main into fix/classic-tool-icons 2026-11-30 19:27:18 -08:00
dotCooCoo ab051030b7 Docs: a clipping path moved below itself stays where it is 2026-11-30 18:52:55 -08:00
dotCooCoo f4d82931ea Merge main into fix/linked-profile-listing 2026-11-30 18:52:47 -08:00
dotCooCoo bd1975c937 Merge main into fix/script-page-item-edits 2026-11-30 18:28:53 -08:00
dotCooCoo 7f9cf406a2 Merge main into fix/classic-tool-icons 2026-11-30 17:55:42 -08:00
dotCooCoo a0e6fb98d2 Preferences: a Classic tool icon set beside the current icons
User Interface > Tool Icons (uiToolIcons) chooses the pictures the tools
are shown with: Current, the default, or Classic, the tool icons of
version 0.24. The Tools panel, its flyouts, tool cards, the Control bar's
shape buttons and the command palette switch at once, and the choice is
saved with the preferences. Tools added since 0.24 keep their current
icon in both sets. Any other value is an error and changes nothing.
2026-11-30 17:55:42 -08:00
dotCooCoo 805dceafce Merge main into feat/scripts-api-d8b-tracing
# Conflicts:
#	crates/engine/src/tests/script_dom.rs
2026-11-30 17:55:16 -08:00
dotCooCoo 795bef8b29 Scripts: retrace refuses a tracing that holds artwork its trace did not make
imageTrace.make records the ids of the objects it made in the tracing's
trace settings as `made`, and copying the tracing records the ids of their
copies. Tracing again through the scripting API throws, with nothing
changed, when the tracing holds any other object, whether it was added in
this run, an earlier run or by a command. A tracing saved without `made`
is checked only for objects added in the same run, as before.
2026-11-30 17:54:54 -08:00
dotCooCoo 26cbcb711e Merge main into fix/menu-dialog-kind-names 2026-11-30 17:54:45 -08:00
dotCooCoo 1662723cae MCP: ui.menuDialog lists the slider keys and Edit Points Only
main now lists the Smooth and Simplify sliders in ui.inspect as dialogs
smoothSlider and simplifySlider, which ui.dialog.set, confirm and cancel
control, and Object › Plug-ins › Selection Tools › Edit Points Only…
opens through ui.menuDialog. The params text of ui.menuDialog,
ui.smoothAuto and ui.simplifyAuto, docs/mcp.md and the menu dialog key
test now say so.
2026-11-30 17:54:45 -08:00
.CooCoo 6b9cd3d462 Merge pull request #10328 from dotCooCoo/fix/script-array-host-collections
Scripts: array methods visit every element of a host collection
2026-11-30 17:31:49 -08:00