Commit Graph
5219 Commits
Author SHA1 Message Date
.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 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 30d0809286 Merge pull request #9780 from dotCooCoo/fix/para-style-options-opening-document
Keep Paragraph Style Options in its opening document
2026-11-27 21:42:20 -08:00
.CooCoo fcff8d81c6 Merge pull request #9786 from dotCooCoo/fix/retype-doc-font-choice
Retype: docs say which font a shape that several fonts match takes
2026-11-27 21:38:49 -08:00
BFlat 54a3e18cf9 Merge pull request #9710 from dotCooCoo/fix/xmp-property-read-fuel
Charge fuel before reading XMP property values
2026-11-28 11:19:37 +07:00
dotCooCoo f119cd9e61 Fill Area: a clipped path its mask cannot cut stops the areas it reaches
When a clipped subpath had more segments or crossings than the crossing
search takes, Fill Area dropped it before the search, so a square that
its visible part crossed was still filled whole. Such a subpath now
stays out of the maps but is kept aside with the masks around it, and
an area it crosses or comes within the gap of is not filled when every
one of those masks reaches the area. An area it stays clear of, or
crosses only where a mask hides it, is filled as before. The hover
counts these subpaths and their masks when it decides whether to
search on another thread. docs/mcp.md describes the rule.

Follows #9336.
2026-11-27 16:43:16 -08:00
dotCooCoo f015ccbf51 Retype: docs say which font a shape the winning font does not match takes
The font that the most selected shapes match is chosen per shape, among
the fonts that shape matches (crates/engine/src/cmd/retype.rs, `ranked`
over the part's own matches). A shape with no match in that font is set
in the first of its own fonts in the same order, so one selection can
become type in several fonts. The paragraph now says so.
2026-11-27 13:42:35 -08:00
dotCooCoo 3c807e30d0 Parametric Shape: a new center, size or rotation takes a linked mask and placed gradients along
addon.pathtools.shape.set rewrote only the path and the shape's numbers, so
a linked opacity mask, placed gradients and pattern tiles stayed at their
old place when the shape moved, turned or changed size (a center-handle
drag, an explicit center, W or H with a reference point). The edit now
applies the transform between the old and new numbers to the object, as
object.scale and object.rotate do, and then sets the new outline. Scale
Strokes & Effects and Transform Patterns come from the new `strokes` and
`patterns` params or the preferences.
2026-11-27 13:22:59 -08:00
dotCooCoo 55bf6604be Scripts: app.documents lists the active document first
A script's documents[0] was the first tab, not the active document, so
scripts that read app.documents[0] as the document in front acted on
another one. The scripting guide says documents[0] is always the active
document:
https://ai-scripting.docsforadobe.dev/scriptingJavascript/objectReferences/

Each open document now records when it last became the current one.
documents lists the current document first and then the others from the
one current most recently to the one current longest ago (VectorCraft's
own rule). documents["name"] and getByName search in the same order. A
change a script makes to a document in the back switches to it and back,
and that switch no longer moves the document in the list.

Three tests that read documents[0] as the first tab with two documents
open now read documents[1].
2026-11-27 13:22:06 -08:00
dotCooCoo bf4bb07ec7 Graphs: paint opacity params text matches what a series stores
The params text of paint.setFill and paint.setStroke said a graph series
stores a path's opacity when `opacity` changed it. The commands store it
whenever `opacity` writes the topmost visible row of the kind, also when
the row already had that opacity (capture_series_opacity_writes). The
text now says so, and docs/mcp.md states the rule with the other series
paint rules.
2026-11-27 13:10:53 -08:00
dotCooCoo 5a8f60e3b7 Retype: docs say which font a shape that several fonts match takes
docs/mcp.md said a near-matched shape becomes the glyph it is closest
to. The command sets every shape in the font that the most selected
shapes match, and among fonts that as many shapes match, in the one
whose glyphs fit them closest in all (crates/engine/src/cmd/retype.rs,
the face votes before the lines are built), so a closer glyph in
another font is not used. The paragraph now says so.
2026-11-27 12:25:01 -08:00
dotCooCoo 47945ac37a Keep Paragraph Style Options in its opening document
Paragraph Style Options previewed and committed paraStyle.edit in
whichever document was active, so switching documents moved the
preview and OK into the other document, and Cancel could roll back
another document's gesture.

The dialog now records the document it opened on and runs the frame
work of Character Style Options (#9510), moved into a shared
pump_in_opening_document helper: Preview and OK act only in the
opening document, OK is refused while another document is active,
after the opening document closes or while another edit is active in
it, and Cancel rolls back only the dialog's own preview.
2026-11-27 09:08:57 -08:00
ruchirguitarandClaude Opus 5.5 1e5bac5fa3 fix(docinfo): work out the path area only while Objects is shown
The area pass normalizes every closed path's geometry, and the Document
Info panel fetches `document.info` again after each edit. A request now
skips the pass (`pathArea` null) when its category is not `objects` or
it passes `pathArea: false`, and the panel asks for the area only while
it shows Objects or All Categories (the cache key records which).

Tests: the engine gives no area for another category or with
`pathArea: false`, and the panel's result has no area while another
category is shown, edits included. Docs: gaps, parity and mcp rows.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 16:09:45 +05:30
.CooCoo 577e8cc9ec Merge pull request #9510 from dotCooCoo/fix/character-style-options-opening-document
Keep Character Style Options in its opening document
2026-11-26 21:32:08 -08:00
dotCooCoo 4dc64055f4 Charge fuel before reading XMP property values 2026-11-26 21:02:34 -08:00
dotCooCoo 47dcb19bca Preserve localized XMP properties and optional argument positions 2026-11-26 20:43:11 -08:00
dotCooCoo c6f59b3594 Reject unsupported inherited RDF language without losing qualifiers 2026-11-26 19:28:52 -08:00
dotCooCoo cc2c5c770f Bound XMP metadata work and preserve packet boundaries 2026-11-26 19:15:16 -08:00
dotCooCoo 520d9edd8b Merge main into feat/scripts-xmp-objects 2026-11-26 19:04:59 -08:00
dotCooCoo 14133dd458 Merge main into fix/character-style-options-opening-document 2026-11-26 17:44:06 -08:00
BFlat 459dcc54c5 Merge pull request #9576 from dotCooCoo/fix/replace-browser-picked-image
Replace Image: use files picked in the browser
2026-11-27 08:35:17 +07:00
BFlat 0cd8f02684 Merge pull request #9540 from dotCooCoo/fix/artboard-background-picker-document
Color Picker: keep artboard background edits in their document
2026-11-27 08:29:21 +07:00
dotCooCoo a1a46d0d30 Merge main into fix/character-style-options-opening-document 2026-11-26 17:15:18 -08:00
dotCooCoo da3a548ea5 Use browser picker contents when replacing an image 2026-11-26 16:15:31 -08:00
dotCooCoo 1715d85828 Merge commit 'refs/check/mac2-20261126-properties-fixed' into HEAD 2026-11-26 15:42:32 -08:00
dotCooCoo a2b5c8cde2 Color Picker: keep artboard background edits in their document 2026-11-26 15:38:02 -08:00
dotCooCoo 0669a4525a Merge main into feat/scripts-xmp-objects 2026-11-26 15:20:19 -08:00
BFlat 957a0355e6 Merge pull request #9474 from dotCooCoo/fix/atomic-directory-durability
Flush native save directories on Unix
2026-11-27 05:23:18 +07:00
dotCooCoo df0ee01cf2 Unit Converter: reject ambiguous commas in expressions 2026-11-26 14:20:18 -08:00
BFlat 8daacef7c2 Merge pull request #9394 from dotCooCoo/fix/promise-prototype-tag
JavaScript: define the Promise prototype string tag
2026-11-27 05:15:44 +07:00
BFlat 81b2b0f387 Merge pull request #9121 from dotCooCoo/feat/js-es2015-generators
Scripts: .js scripts run generator functions, yield and yield*
2026-11-27 05:14:02 +07:00
BFlat 86316861ee Merge pull request #9118 from dotCooCoo/feat/plugin-api-javascript-runtime
Plug-ins: object filters written in JavaScript
2026-11-27 05:13:39 +07:00
BFlat 023843e3a6 Merge pull request #9114 from dotCooCoo/feat/scripts-startup-scripts
Scripts: run startup scripts at launch and before a chosen script
2026-11-27 05:13:16 +07:00
BFlat 3b73e8122b Merge pull request #9049 from dotCooCoo/feat/scripts-api-d7b-tags-notes-uuid
Scripts: PageItem.tags and Document.tags read, add, change and delete an object's tags
2026-11-27 05:12:59 +07:00
BFlat 1a972d5146 Merge pull request #9008 from dotCooCoo/fix/dynamic-text-leading-line-gap
Dynamic Text: a leading change on area type with Block on moves its Line Gap
2026-11-27 05:12:42 +07:00
BFlat b59fd33542 Merge pull request #8951 from dotCooCoo/feat/script-grants-list
Preferences: list the script file access kept with Always, with Revoke
2026-11-27 05:10:54 +07:00
BFlat 8be131f6cd Merge pull request #8942 from dotCooCoo/fix/paste-all-artboards-conflicts
Paste on All Artboards: swatch conflicts leave copied artboard backgrounds out
2026-11-27 05:10:37 +07:00
BFlat 8f30d9c47c Merge pull request #8915 from dotCooCoo/fix/native-geometry-accordion-replay
Document native panel geometry and test tab-group reuse
2026-11-27 05:09:48 +07:00
BFlat cb62384a0f Merge pull request #8877 from dotCooCoo/feat/save-for-web-save-color-table
Save for Web: Save Color Table and Load Color Table write and read .act files
2026-11-27 05:09:33 +07:00
BFlat a431537d95 Merge pull request #8823 from dotCooCoo/feat/retype-installed-fonts
Retype: installed fonts that are not loaded yet are matched too
2026-11-27 05:09:16 +07:00
BFlat 26c4bfdd4d Merge pull request #8801 from dotCooCoo/feat/quick-pen-edit-delete
Pen: Quick Pen drags move a selected path's anchors and segments, and its context menu deletes
2026-11-27 05:08:59 +07:00
dotCooCoo 758a62317b Correct XMP array insertion and empty item values 2026-11-26 14:01:22 -08:00
dotCooCoo bb439ce33b Merge main into feat/scripts-xmp-objects
XMP updates flush their destination folders on Unix. The host records completed writes and refreshes open readers before reporting a folder flush error. XMPFile retains its pending packet for retry.
2026-11-26 13:45:26 -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 4925b64fe5 Flush native save directories on Unix 2026-11-26 12:26:55 -08:00
dotCooCoo bacc27e2f1 Merge main into feat/scripts-startup-scripts 2026-11-26 11:04:04 -08:00
dotCooCoo f9011cf8e2 Merge main into feat/scripts-api-d7b-tags-notes-uuid 2026-11-26 10:45:34 -08:00
dotCooCoo ca68753463 Keep startup queue failures and stop requests consistent 2026-11-26 10:37:22 -08:00