Commit Graph
7703 Commits
Author SHA1 Message Date
.CooCoo b335904091 Merge pull request #9888 from dotCooCoo/feat/ai-inline-placed-eps
.ai import: a placed EPS file whose bytes the editing data includes opens as a placed document
2026-11-28 03:14:10 -08:00
.CooCoo aeed0ad5a1 Merge pull request #9807 from dotCooCoo/feat/select-inside-unfilled-shape
Selection: a click inside an unfilled closed shape selects it
2026-11-28 02:21:27 -08:00
dotCooCoo 3499b7d7aa Merge main into feat/select-inside-unfilled-shape 2026-11-28 01:41:16 -08:00
.CooCoo 1ed6f2f704 Merge pull request #8998 from dotCooCoo/fix/smooth-reach-pieces-bound
Smooth: a drag's segment search stays within its piece limit however many curved segments are in reach
2026-11-28 01:40:07 -08:00
.CooCoo 87b3dd9a98 Merge pull request #9853 from dotCooCoo/fix/script-documents-strict-assign
Scripts: assigning documents throws in strict mode and is ignored otherwise
2026-11-28 01:24:23 -08:00
.CooCoo ad6bf48cf4 Merge pull request #9391 from dotCooCoo/fix/packaging-fold-geometry
Fold Preview: preserve panel layer order
2026-11-28 01:23:01 -08:00
dotCooCoo fda03c81ed .ai import: a placed EPS file whose bytes the editing data includes opens as a placed document
A .ai file's editing data can include a placed EPS file's bytes between
%%BeginDocument: and %%EndDocument. The reader did not read those bytes:
in the %AI5_BeginPlace form the placed file showed only the preview the
data keeps of it, or an unread placeholder box without one, and in the
version 7 form the art the file draws came in as editable paths with a
note that placed files weren't read.

- The reader keeps those bytes (up to 256 MB) and makes the placed file a
  placed document of them, in the file's bounding box where the
  matrix puts it. It draws its art whether or not its file is found, and
  a native save keeps the bytes. The version 7 form's placed EPS art is
  no longer editable on open.
- A placed file stays as before when its bytes are a DCS file (File >
  Place makes those linked images), have no bounding box of their own,
  carry a VectorCraft document (as VectorCraft's EPS export writes),
  don't read as an EPS file, or belong to a file named .ai or .ait.
  What reading the bytes warns of is in the open result.
- One with a preview that an image variable binds stays the linked image
  showing its preview, as a placed PDF page does.
- The link takes the size and hash of the bytes, so a file found unchanged
  is neither missing nor modified.
- Drawing and the open check each read at most 8 placed EPS files inside
  one another, so a file whose included files include others opens.
  The open check draws the placed documents inside the bytes from their
  previews, and it reads each included file once at each depth. A file
  nested 12 levels deep opens with at most 8 drawing reads and 72
  checks.
- File > Package with Copy Fonts reads the type of a placed EPS file, as
  it reads a placed PDF page's, and of the EPS files it includes in turn,
  pattern art included.
- On %_ lines the %_ that starts each line is taken off. Then one line
  end is taken off the end of the bytes when another line end comes
  before it: the one the %%BeginDocument: line ends with when the bytes
  end with it, otherwise the last one. An LF after a CR is kept with it
  when the file's first line ends with CRLF.

Docs: docs/target-app-parity.md.
2026-11-28 01:16:09 -08:00
.CooCoo 0b933e7a36 Merge pull request #9127 from dotCooCoo/feat/plugins-web-worker
Plug-ins: the web build checks plug-ins and runs filters in a Web Worker
2026-11-28 01:04:54 -08:00
.CooCoo 31066b39c2 Merge pull request #9065 from dotCooCoo/feat/scripts-reflection
Scripts: reflect describes an object's properties and methods
2026-11-28 01:03:47 -08:00
.CooCoo a949db79fe Merge pull request #9137 from dotCooCoo/feat/plugin-api-live-effect-appearance
Plug-ins: live effects set opacity, blending and effects on their pieces
2026-11-28 00:46:29 -08:00
dotCooCoo a4a96ea4ee Merge main into fix/packaging-fold-geometry 2026-11-28 00:41:46 -08:00
dotCooCoo 7d6abb1d23 Merge main into fix/script-documents-strict-assign 2026-11-28 00:29:51 -08:00
dotCooCoo 5f7ddb1009 Merge main into fix/smooth-reach-pieces-bound 2026-11-28 00:21:23 -08:00
.CooCoo 39f317a0c6 Merge pull request #9840 from dotCooCoo/fix/engine-tests-count-work
Tests: bounded-work checks count the work instead of timing it
2026-11-28 00:16:46 -08:00
dotCooCoo 7317159f52 Merge main into feat/scripts-reflection 2026-11-28 00:09:37 -08:00
dotCooCoo eb4c8bdc81 Scripts: script code builds with main's revert test and command hook
main added a test named wrappers_go_stale_after_revert and passes the
command id to dom::before_command by reference.

- The revert test of this branch is renamed
  objects_read_before_a_revert_are_stale_and_ones_read_after_are_the_loaded_ones.
- command_value takes `id` as a &str, so the call passes it as it is,
  which clippy's needless_borrow check requires.
2026-11-28 00:09:25 -08:00
.CooCoo bacd4d0ec2 Merge pull request #8853 from dotCooCoo/feat/swatches-pattern-drag-to-canvas
Swatches: a pattern swatch dropped on empty canvas places a copy of its tile art
2026-11-27 23:52:10 -08:00
dotCooCoo e75b26cffc Merge main into feat/scripts-reflection 2026-11-27 23:38:58 -08:00
.CooCoo 9ce2299580 Merge pull request #9811 from dotCooCoo/fix/ai-envelope-stroked-line
.ai import: envelopes of a stroked straight line map from their stroked box
2026-11-27 23:35:45 -08:00
.CooCoo 8f9fda6a7d Merge pull request #9432 from dotCooCoo/fix/script-handles-after-revert
Scripts: invalidate page-item handles after file.revert
2026-11-27 23:34:31 -08:00
dotCooCoo 86500e3e9f Merge main into fix/packaging-fold-geometry 2026-11-27 23:34:08 -08:00
.CooCoo a859b6947d Merge pull request #9027 from dotCooCoo/feat/scripts-api-d7a-variables
Scripts: documents give scripts their variables, data sets and variable libraries
2026-11-27 23:30:13 -08:00
dotCooCoo 0a46b8e849 Scripts: script tests build with main's host classes and preset checks
main added HostClass initializers in host_tests.rs without the reflect
`info` field, a second test named
assigning_undefined_to_the_selection_throws_and_keeps_it, and type and
size checks on DocumentPreset settings.

- host_tests.rs: the six new HostClass initializers give `info`.
- The selection test for an index past the end of pageItems is renamed
  assigning_an_index_past_the_end_to_the_selection_throws_and_keeps_it.
- The preset heap tests used titles of 512 KiB and an array of 20,000
  booleans as a title, which the setter now refuses. They now reach the
  run's heap with 4,092-byte titles, and compare presets holding a
  four-number documentBleedOffsetRect with presets holding an eight-byte
  title, so each array element still counts.
2026-11-27 23:29:12 -08:00
dotCooCoo 875f49fc8d Merge main into feat/plugins-web-worker
The plug-in runtime keeps main's JavaScript plug-ins beside the web worker's module bytes and checked loads: a JavaScript plug-in's bundle is kept for the worker like a module, and load_checked loads it from its bundle.
2026-11-27 23:05:07 -08:00
dotCooCoo 5a771c52f7 Merge main into feat/plugin-api-live-effect-appearance 2026-11-27 22:50:09 -08:00
.CooCoo 5b958a3d4f Merge pull request #9844 from dotCooCoo/feat/switch-document-preset
New Document profiles: Use Profile Defaults switches the default fill, stroke and font
2026-11-27 22:30:33 -08:00
dotCooCoo 7c6ff69598 Merge main into fix/smooth-reach-pieces-bound
# Conflicts:
#	crates/engine/src/cmd/draw2/smooth.rs
#	docs/mcp.md
#	docs/target-app-parity.md
2026-11-27 22:20:16 -08:00
.CooCoo c45a9a2781 Merge pull request #9870 from dotCooCoo/feat/plugins-failed-load-retry
Plug-ins: a plug-in that fails to load is listed and can be retried
2026-11-27 22:17:31 -08:00
.CooCoo eb7c6353c9 Merge pull request #9809 from dotCooCoo/fix/select-removal-one-at-a-time
Select: removing objects one at a time checks and reads only the removed ones
2026-11-27 22:17:14 -08:00
dotCooCoo 641d581adb Merge main into feat/swatches-pattern-drag-to-canvas 2026-11-27 22:14:05 -08:00
dotCooCoo f56fcd99f6 Merge main into feat/scripts-reflection 2026-11-27 22:13:50 -08:00
dotCooCoo 1371fdab0d Merge main into fix/script-handles-after-revert 2026-11-27 22:12:29 -08:00
.CooCoo a8beb0310a Merge pull request #9731 from dotCooCoo/fix/browser-place-distinct-sources-w4
Keep distinct browser Place files that share a name
2026-11-27 22:11:26 -08:00
dotCooCoo 1583808eec Merge main into fix/script-documents-strict-assign
# Conflicts:
#	crates/engine/src/script/dom.rs
2026-11-27 22:10:35 -08:00
.CooCoo ea02f0f7b6 Merge pull request #9720 from dotCooCoo/fix/transparency-symbol-part-display
Show selected symbol part transparency
2026-11-27 22:07:26 -08:00
dotCooCoo ee976e1b78 Docs: envelope margins name the 1e-6 pt side threshold
A side of an envelope's content shorter than 1e-6 pt, not only one of
zero length, has its margins measured as shares of the other side
(envelope_margin_lengths). docs/mcp.md, the object.envelope.info params
text and the bounds_margin doc comment now state that threshold.
2026-11-27 22:03:04 -08:00
dotCooCoo c97b5eac1e Merge main into feat/scripts-api-d7a-variables 2026-11-27 21:57:44 -08:00
.CooCoo 82d9ff0182 Merge pull request #9867 from dotCooCoo/fix/script-prototype-write-test
Scripts: the prototype-write test fails when a write to PathItem.prototype succeeds
2026-11-27 21:54:33 -08:00
.CooCoo a95a52e06a Merge pull request #9866 from dotCooCoo/fix/script-preset-field-size
Scripts: DocumentPreset settings refuse a value of the wrong kind or size
2026-11-27 21:54:22 -08:00
.CooCoo 3e6b0dd094 Merge pull request #9849 from dotCooCoo/feat/cmx-export-vc
File formats: export .cmx files
2026-11-27 21:45:28 -08:00
.CooCoo 5fe987ee2d Merge pull request #9860 from dotCooCoo/feat/ctrl-click-select-behind
Selection: Cmd/Ctrl-clicks step through grouped objects under the pointer
2026-11-27 21:44:40 -08:00
.CooCoo f81ee83f20 Merge pull request #9832 from dotCooCoo/fix/isolation-removed-object
Isolation mode: an edit that removes the isolated object ends isolation mode
2026-11-27 21:43:45 -08:00
.CooCoo 25cbbeca4a Merge pull request #9802 from dotCooCoo/fix/scripts-documents-active-first
Scripts: app.documents lists the active document first
2026-11-27 21:43:33 -08:00
.CooCoo bab1ae5fe1 Merge pull request #9810 from dotCooCoo/fix/appearance-per-target-lazy
Appearance: proxies with an active row match only the targets they read
2026-11-27 21:43:21 -08:00
.CooCoo 3ddca214d5 Merge pull request #9794 from dotCooCoo/fix/color-wheel-opacity-followups
Color: a targeted layer shows the paint of its editable art
2026-11-27 21:43:09 -08:00
.CooCoo 00e2e29391 Merge pull request #9800 from dotCooCoo/fix/series-opacity-params-text
Graphs: paint opacity params text matches what a series stores
2026-11-27 21:42:56 -08:00
.CooCoo 02ed17b4a3 Merge pull request #9804 from dotCooCoo/fix/pathtools-shape-set-mask
Parametric Shape: a new center, size or rotation takes a linked mask and placed gradients along
2026-11-27 21:42:44 -08:00
.CooCoo ec0d967b1b Merge pull request #9830 from dotCooCoo/fix/fill-area-unresolved-clipped-subpath
Fill Area: a clipped path its mask cannot cut stops the areas it reaches
2026-11-27 21:42:32 -08:00
.CooCoo 37484b643d Merge pull request #9793 from dotCooCoo/fix/cleanup-keeps-clipping-paths
Clean Up: keep the clipping paths of groups and layers
2026-11-27 21:41:41 -08:00
.CooCoo fc83083fea Merge pull request #9828 from dotCooCoo/fix/plugin-export-cancel-handshake
Tests: cancel the plug-in export test on the exporter's first progress report
2026-11-27 21:39:02 -08:00