Commit Graph
258 Commits
Author SHA1 Message Date
dotCooCoo c4a737f255 Merge main into feat/scripts-scriptui-palettes 2026-12-03 09:29:28 -08:00
.CooCoo 79fdfedfb5 Merge pull request #9075 from dotCooCoo/feat/scripts-api-d8c-rasterize-capture
Scripts: Document.rasterize and Document.imageCapture with their option classes
2026-12-03 07:14:28 -08:00
dotCooCoo 72e99d1c3b Merge main into feat/scripts-layer-text-frames 2026-12-02 21:17:26 -08:00
dotCooCoo f46d591204 Merge main into feat/scripts-api-d8c-rasterize-capture 2026-12-02 20:30:16 -08:00
dotCooCoo c1470adfc6 Merge main into feat/scripts-text-paint 2026-12-02 18:14:59 -08:00
dotCooCoo e4e6dd517d Merge main into feat/scripts-layer-text-frames 2026-12-02 17:49:12 -08:00
dotCooCoo a7c7dae179 Merge main into feat/scripts-api-d8c-rasterize-capture 2026-12-02 17:25:26 -08:00
dotCooCoo d8caffae61 Merge main into feat/scripts-scriptui-palettes 2026-12-02 17:15:19 -08:00
dotCooCoo 7b433a52fe Merge main into feat/scripts-api-d8c-rasterize-capture 2026-12-02 16:27:15 -08:00
dotCooCoo 70504f6dfe Merge main into feat/scripts-layer-text-frames 2026-12-02 16:02:05 -08:00
dotCooCoo 98c6e5fb20 Merge main into feat/scripts-api-d3-layers-artboards 2026-12-02 15:57:11 -08:00
dotCooCoo 44b238b814 Merge main into feat/scripts-text-paint 2026-12-02 15:51:24 -08:00
.CooCoo 822651dc7a Merge pull request #9266 from dotCooCoo/feat/scripts-export-autocad
Scripts: exportFile writes DXF with ExportOptionsAutoCAD
2026-12-02 15:42:04 -08:00
dotCooCoo e369013463 Merge main into feat/scripts-api-d3-layers-artboards 2026-12-02 15:37:51 -08:00
dotCooCoo 217c33d46e Merge main into feat/scripts-layer-text-frames 2026-12-02 15:29:55 -08:00
dotCooCoo 60383e1ac1 Merge main into feat/scripts-api-d8c-rasterize-capture 2026-12-02 15:28:08 -08:00
dotCooCoo e1558e7e4a Merge main into feat/scripts-scriptui-palettes 2026-12-02 15:27:42 -08:00
dotCooCoo d73dad7ee0 Merge main into feat/scripts-api-d8c-rasterize-capture 2026-12-02 14:38:27 -08:00
dotCooCoo 80eb658aa9 Merge main into feat/scripts-layer-text-frames 2026-12-02 14:12:48 -08:00
dotCooCoo 326c88a8f3 Merge main into feat/scripts-api-d3-layers-artboards 2026-12-02 14:12:01 -08:00
dotCooCoo 1f2e9bff33 Merge main into feat/scripts-export-autocad 2026-12-02 14:02:36 -08:00
dotCooCoo 3140831da9 Merge main into feat/scripts-text-paint 2026-12-02 13:57:18 -08:00
dotCooCoo d583b8053f Merge main into feat/scripts-pageitem-transforms 2026-12-02 13:09:44 -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
dotCooCoo 7f10f7aa96 Merge main into feat/scripts-export-autocad 2026-12-01 15:10:18 -08:00
dotCooCoo 9cff79a9ec Merge main into feat/scripts-api-d3-layers-artboards 2026-12-01 15:07:13 -08:00
dotCooCoo c012eb8ee9 Merge main into feat/scripts-pageitem-transforms 2026-12-01 15:00:42 -08:00
dotCooCoo 856d1a3870 Merge main into feat/scripts-api-d8c-rasterize-capture 2026-12-01 14:59:55 -08:00
dotCooCoo 7abdcad40e Merge main into feat/scripts-text-paint 2026-12-01 14:57:03 -08:00
dotCooCoo be98c65ae7 Merge main into feat/scripts-layer-text-frames 2026-12-01 14:17:36 -08:00
dotCooCoo a7129f3eed Merge main into feat/scripts-api-d8b-tracing 2026-12-01 14:07:15 -08:00
dotCooCoo 682f27810a Merge main into feat/scripts-scriptui-palettes 2026-12-01 14:04:42 -08:00
dotCooCoo ff1333c756 Merge main into feat/scripts-layer-text-frames 2026-11-30 21:15:53 -08:00
dotCooCoo 10e107e464 Merge main into feat/scripts-api-d8c-rasterize-capture 2026-11-30 21:12:56 -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 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 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 7b6c730df6 Merge main into feat/scripts-api-d8b-tracing 2026-11-30 15:48:31 -08:00
dotCooCoo b8ee4686b0 Scripts: getIsFileOpen keeps backslashes in Unix file names; DocumentPreset checks its receiver
app.getIsFileOpen treated any path with a backslash as a Windows path,
turning each backslash into a folder separator and ignoring letter case.
On macOS and Linux a backslash is a character of a file name, so
getIsFileOpen answered true for the path /work/a\b.ai while /work/a/b.ai
was open.
Paths now get the Windows rules only on Windows or when they start with a
drive letter.

DocumentPreset.typename and toString() answered for a preset kept from
an earlier run with #targetengine, while its settings throw a TypeError.
Both now check the preset the way the settings do.

Documents.addDocumentNoUI(startupPreset) was missing. It now makes the
document addDocument(startupPreset) makes.
2026-11-30 15:39:56 -08:00
dotCooCoo 186a083fc2 Merge main into feat/scripts-api-d8c-rasterize-capture 2026-11-30 15:27:15 -08:00
dotCooCoo 270ffca6ef Merge main into feat/scripts-export-autocad 2026-11-30 15:26:54 -08:00
dotCooCoo 1b2da536cc Merge main into feat/scripts-print-printer 2026-11-30 15:25:50 -08:00
dotCooCoo 540f49b52d Merge main into feat/scripts-pageitem-transforms 2026-11-30 15:24:11 -08:00
dotCooCoo 6d4454a73e Merge main into feat/scripts-api-d3-layers-artboards 2026-11-30 15:22:46 -08:00
dotCooCoo 59eff04041 Merge main into feat/scripts-text-paint 2026-11-30 15:21:19 -08:00
dotCooCoo ef52adf1b6 Merge main into feat/scripts-layer-text-frames 2026-11-30 15:18:10 -08:00
dotCooCoo 0c13a1edb2 Scripts: close the review gaps in print, saveAs, File paths and presets
- The 1000% scale limit applies only when Fit to Page is off, since the
  scale factors are not used with it on.
- A script run clears the print command allowance when it ends, so a
  panic inside print cannot leave file.print open to later runs.
- saveAs without options takes the format from the path the script
  names, so a link at that path cannot change it.
- A File the host gives back charges its path to the heap.
- DocumentPreset.typename throws for a preset from an earlier run.
- Documents.addDocumentNoUI throws that it is not available yet.
- The print tests remove their folders when an assertion fails.
2026-11-30 14:54:47 -08:00
dotCooCoo 24bd70fa08 Merge main into feat/scripts-api-d3-layers-artboards 2026-11-30 11:45:53 -08:00