.CooCoo
0ac2b74614
Merge pull request #9055 from dotCooCoo/feat/scripts-api-d9-do-script
...
Scripts: app.doScript plays an action of the Actions panel
2026-11-28 17:55:11 -08:00
dotCooCoo
4999199bd5
Merge main into feat/scripts-api-d4c-threads-stories
...
# Conflicts:
# crates/engine/src/script/dom.rs
# crates/engine/src/script/dom/text.rs
# crates/engine/src/tests.rs
# crates/engine/src/tests/script_text.rs
# crates/engine/tests/it/script_host_vs_scriptcheck.rs
# docs/gaps.md
# docs/mcp.md
# docs/target-app-parity.md
2026-11-28 17:15:13 -08:00
dotCooCoo
1729de3109
Merge main into feat/scripts-api-d9-do-script
2026-11-28 16:57:36 -08:00
.CooCoo
d4b6d7f10d
Merge pull request #9050 from dotCooCoo/feat/scripts-api-d4-text
...
Scripts: text frames, text ranges and fonts for scripts
2026-11-28 16:50:36 -08:00
dotCooCoo
64c985d328
Merge main into feat/scripts-api-d4c-threads-stories
...
# Conflicts:
# crates/engine/src/script/dom.rs
# crates/engine/tests/it/script_host_vs_scriptcheck.rs
# docs/target-app-parity.md
2026-11-28 14:36:12 -08:00
dotCooCoo
e2c4d0bbbe
Merge main into feat/scripts-api-d9-do-script
2026-11-28 14:28:32 -08:00
dotCooCoo
5728ff39cd
Merge main into feat/scripts-page-item-blending-mode
...
# Conflicts:
# crates/engine/src/tests/script_dom.rs
# docs/mcp.md
# docs/target-app-parity.md
2026-11-28 14:17:28 -08:00
dotCooCoo
79d78a95de
Merge main into feat/scripts-api-d4-text
...
# Conflicts:
# crates/engine/src/script/dom.rs
# crates/engine/tests/it/script_host_vs_scriptcheck.rs
# docs/target-app-parity.md
2026-11-28 14:16:28 -08:00
dotCooCoo
1d1c9464cf
Merge main into feat/scripts-api-d4-text
2026-11-28 09:12:20 -08:00
dotCooCoo
a9fda9f97c
Merge main into feat/scripts-app-redraw
2026-11-28 08:12:03 -08:00
.CooCoo
c2e4966407
Merge pull request #9255 from dotCooCoo/feat/scripts-scriptui-resources
...
Scripts: ScriptUI builds windows and controls from resource strings
2026-11-28 08:03:55 -08:00
dotCooCoo
88fb7a8128
Merge main into feat/scripts-document-views
2026-11-28 07:25:53 -08:00
dotCooCoo
441634a7b3
Merge main into feat/scripts-page-item-blending-mode
2026-11-28 07:15:42 -08:00
dotCooCoo
9c2a4ee9eb
Merge main into feat/scripts-api-d9-do-script
2026-11-28 05:27:49 -08:00
dotCooCoo
ab6a0d44aa
Merge main into feat/scripts-scriptui-resources
2026-11-28 05:12:02 -08:00
dotCooCoo
37be9d4372
Merge main into feat/scripts-app-redraw
2026-11-28 04:00:58 -08:00
dotCooCoo
269024e088
Merge main into feat/scripts-api-d4c-threads-stories
...
Main gave every class member a reflect type and page item handles a revert
count. The type classes now declare a type for each member, their members
that are not available yet use the unavailable form, TextFrame takes main's
contentVariable, and a text range looks its frame up at the document's
current revert count.
Review fixes:
- A text range length that ends inside a surrogate pair moves its end out
to the end of the character.
- textFrames.removeAll() refuses type on a locked artboard, as
pageItems.removeAll() does.
- Joining a story's text across its frames counts toward the run's data
limit.
- A test shows a script that catches a refused link goes on with the links
unchanged.
2026-11-28 03:35:11 -08:00
dotCooCoo
e75b26cffc
Merge main into feat/scripts-reflection
2026-11-27 23:38:58 -08:00
dotCooCoo
5162f5db7b
Merge main into feat/scripts-app-redraw
2026-11-27 22:26:34 -08:00
dotCooCoo
4dc01ead22
Merge main into feat/scripts-page-item-blending-mode
2026-11-27 22:25:45 -08:00
dotCooCoo
a9799bfe9a
Merge main into feat/scripts-scriptui-resources
2026-11-27 22:17:49 -08:00
dotCooCoo
f7ccc194fc
Merge main into feat/scripts-document-views
2026-11-27 22:14:06 -08:00
dotCooCoo
f56fcd99f6
Merge main into feat/scripts-reflection
2026-11-27 22:13:50 -08:00
dotCooCoo
fc48b42f71
Merge main into feat/scripts-api-d4c-threads-stories
...
# Conflicts:
# crates/engine/src/script/dom.rs
# crates/engine/src/tests.rs
# crates/engine/tests/it/script_host_vs_scriptcheck.rs
# docs/mcp.md
# docs/roadmap.md
# docs/target-app-parity.md
2026-11-27 22:12:29 -08:00
dotCooCoo
ac3056e829
Merge main into feat/scripts-api-d9-do-script
2026-11-27 22:00:04 -08:00
dotCooCoo
d7425b47d3
Merge main into feat/scripts-api-d4-text
...
# Conflicts:
# crates/engine/src/script/dom.rs
# crates/engine/src/tests.rs
# crates/engine/tests/it/script_host_vs_scriptcheck.rs
# docs/mcp.md
# docs/target-app-parity.md
2026-11-27 21:57:48 -08:00
dotCooCoo
c97b5eac1e
Merge main into feat/scripts-api-d7a-variables
2026-11-27 21:57:44 -08:00
dotCooCoo
0669a4525a
Merge main into feat/scripts-xmp-objects
2026-11-26 15:20:19 -08:00
dotCooCoo
051781e23d
Merge main into feat/scripts-xmp-objects
...
Keep XMP file buffers in native state and release them at the file run boundary. Count registered namespaces and expanded metadata against the heap limit. Reset marked readers after updates and allow failed library setup to retry.
2026-11-26 13:13:53 -08:00
dotCooCoo
93a5d81d2e
Merge main into feat/scripts-api-d7b-tags-notes-uuid
2026-11-26 09:34:56 -08:00
dotCooCoo
b64cbe2174
Merge main into feat/scripts-document-views
2026-11-26 08:05:40 -08:00
dotCooCoo
db059c1be4
Merge main into feat/scripts-api-d4-text
2026-11-26 00:22:24 -08:00
dotCooCoo
e4992df1ef
Merge feat/scripts-api-d4-text into feat/scripts-api-d4c-threads-stories
2026-11-26 00:06:20 -08:00
dotCooCoo
9c74e2f3ba
Scripts: the host name table lists only the members the host defines
2026-11-26 00:04:58 -08:00
dotCooCoo
aad3356c9e
Merge main into feat/scripts-api-d4c-threads-stories
2026-11-25 23:45:21 -08:00
dotCooCoo
2909471ebc
Merge main into feat/scripts-api-d7a-variables
2026-11-25 23:38:36 -08:00
dotCooCoo
562bec3f1e
Merge main into feat/scripts-api-d7b-tags-notes-uuid
2026-11-25 23:07:28 -08:00
dotCooCoo
7b776dea92
Merge main into feat/scripts-reflection
2026-11-25 22:14:36 -08:00
dotCooCoo
2fc172e69a
Merge main into feat/scripts-xmp-objects
2026-11-25 22:11:49 -08:00
dotCooCoo
d8ee88ad82
Merge main into feat/scripts-api-d9-do-script
2026-11-25 20:50:31 -08:00
dotCooCoo
f525279b27
Merge main into feat/scripts-scriptui-dialogs
2026-11-25 18:42:43 -08:00
dotCooCoo
d97786358d
Tests: list View, Views and ScreenMode in the script host inventory
...
Document.views is read-only, so its row no longer lists a setter.
2026-11-25 13:57:25 -08:00
dotCooCoo
e593f0c7cc
Merge main into feat/scripts-reflection
2026-11-25 13:37:34 -08:00
dotCooCoo
52b6645d5c
Merge feat/scripts-api-d1a-app-documents into feat/scripts-app-redraw
2026-11-25 10:24:56 -08:00
dotCooCoo
5088b174fe
Merge feat/scripts-api-d1a-app-documents into feat/scripts-page-item-blending-mode
2026-11-25 10:24:30 -08:00
dotCooCoo
06845e7c3e
Merge feat/scripts-api-d1a-app-documents into feat/scripts-execute-menu-command
2026-11-25 10:24:27 -08:00
dotCooCoo
948ebd6adb
Merge main into feat/scripts-api-d1a-app-documents
2026-11-25 10:21:51 -08:00
dotCooCoo
0ea397db72
Scripts: Fit Artboard to artwork bounds does nothing on a locked or empty artboard
...
app.executeMenuCommand('Fit Artboard to artwork bounds') threw the
command's error when the active artboard was locked or had no art on
it. The canvas's right-click menu dims Fit to Artwork Bounds then
(DocState::any_art_to_fit), so the script now does nothing and adds
no undo step, as for the other menu items that are not available. The docs state
that an available menu item runs its command and that an error that
command returns throws.
The host-versus-checker name table lists
Application.prototype.executeMenuCommand.
2026-11-25 06:08:03 -08:00
dotCooCoo
8b05d98951
Scripts: every script reads E4X and has the XML objects
...
The script host ran its realm with E4X off, so XML literals were syntax
errors and XML, XMLList, Namespace, QName, isXMLName and
setDefaultXMLNamespace were missing from every script, although
vectorcraft-js has them. script.run and File › Scripts now turn E4X on
for .js and .jsx files, script text, #include files, $.evalFile, eval
and Function, and for a #targetengine engine.
script.check lists the e4x and xml features under the language need
instead of hostOnly, since VectorCraft runs them.
2026-11-25 04:23:32 -08:00
dotCooCoo
950cf819dd
Merge feat/scripts-api-d1a-app-documents into feat/scripts-app-redraw
2026-11-24 23:59:14 -08:00