Commit Graph
10438 Commits
Author SHA1 Message Date
.CooCoo 6545bae486 Merge pull request #9772 from dotCooCoo/fix/track-cube-untouched-axes-b-verify
Preserve untouched Track Cube rotation angles
2026-11-27 22:15:55 -08:00
.CooCoo 023a72f8c5 Merge pull request #9771 from dotCooCoo/fix/layer-options-unchanged-b-verify
Keep unchanged Layer and Object Options out of Undo
2026-11-27 22:15:44 -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
.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 d9abaae27b Merge pull request #9805 from dotCooCoo/fix/issue-6310
Fix #6310: macOS Copy puts the PDF and SVG on the pasteboard
2026-11-27 21:44:21 -08:00
.CooCoo 8ffd30cf37 Merge pull request #9791 from dotCooCoo/fix/direct-move-edge-snap
Direct Selection: a path held by its edge lands that point on other paths
2026-11-27 21:44:09 -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 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 235c89c476 Merge pull request #9788 from dotCooCoo/fix/plugin-example-desaturate-keeps-path
Plug-ins: the example Desaturate filter leaves paths as they were
2026-11-27 21:42:06 -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
.CooCoo 8529caaba7 Merge pull request #9855 from dotCooCoo/fix/dimension-preview-bounds-group-edges
Dimension: Linear points snap onto preview bounds edges, groups and stroked type
2026-11-27 21:36:07 -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 8ff8dbefc6 Scripts: DocumentPreset settings refuse a value of the wrong kind or size
Assigning a DocumentPreset setting stored any value until the run ended,
and the value was checked only when addDocument read it. A script could
keep gigabytes of strings in presets that no addDocument would accept.

The setter now checks the value before storing it: a value of the
setting's enumeration, a finite number, a title of at most 4096 bytes,
true or false for documentBleedLink, or four finite numbers for
documentBleedOffsetRect. undefined unsets any setting, and the three
settings addDocument does not apply yet also take null. A value of
another kind throws a TypeError, a longer title throws a RangeError, and
the setting keeps its old value. addDocument still checks the ranges.
2026-11-27 20:16:03 -08:00
BFlat 3db1b3c96a Merge pull request #9660 from makesomethingshit/fix/7872-convex-inside-bevel
3D: Keep inside bevels within collapsing convex outlines
2026-11-28 11:13:55 +07:00
BFlat 1bc87afc7b Merge pull request #9796 from jmverges/fix/ai-save-type-spot-ink
.ai save: type in a spot ink keeps its swatch link
2026-11-28 11:12:55 +07:00
BFlat 1411d28618 Merge pull request #9782 from jmverges/fix/ai-type-spot-ink
.ai import: type set in a spot ink keeps its ink
2026-11-28 11:12:05 +07:00
dotCooCoo 3935a0775d Keep Place import state tied to its source entry 2026-11-27 20:03:44 -08:00
dotCooCoo 81d4dcc6ea File formats: export .cmx files
document.export and Export As write .cmx exchange files with 32-bit
coordinates through craft-cdr's write_cmx, in the layouts the .cmx
reader reads. The chosen artboard is the file's page, or with Use
Artboards each chosen artboard is a page of one file, and each layer with
art on a page is a layer of that page.

- vectorcraft-metafile gets painted_layers: the WMF writer's walk of the
  visible art, layer by layer, with each fill's and stroke's solid paint,
  its miter limit and the swatches of the document and of the documents
  it places.
- The export keeps CMYK, RGB, gray, spot colors at their tints and
  Registration; type is written as outlines, and gradients and patterns
  as one color. The warnings name images, clipping masks, transparency,
  art past a page's edge, dash offsets, dashes aligned to corners, miter
  limits, and each loss the writer reports: nonzero fills written
  even-odd, long paths, rounded dashes, shortened names, low spot tints,
  and spot colors without a name or a known color.
2026-11-27 19:12:32 -08:00
dotCooCoo 2fc711da77 Dimension: Linear points snap onto preview bounds edges, groups and stroked type
With Use Preview Bounds on, a Linear point landed only on the four corners
of the preview bounds of a path or compound path. A group's own stroke or
effects and stroked type widen the bounds that W and H show, but gave no
corner to pick, and a click beside a stroked edge snapped to the stroke's
centerline.

- Stroked type, and a group or layer with fills, strokes or effects of
  its own, now give the corners of their preview bounds. A group's corner
  is held against the member path whose own box reaches nearest to it. A
  point on type has no link and stays where it was picked. A group or
  layer holding dimension artwork gives no corner, since its bounds take
  in the dimensions.
- A click that no anchor, corner, line end, guide, grid or pixel snapping
  places lands on the nearest point of an edge of the preview bounds
  within 8 pixels when no segment or dimension line is nearer. The point
  is held against the path holding the edge's nearer corner.
- Group members count against the same per-move member work as compound
  paths; a group holding more than one move may read is not read again
  for that revision.

Docs: docs/dimensions.md, docs/target-app-parity.md.
2026-11-27 18:55:32 -08:00
dotCooCoo 1d66710671 Selection: Cmd/Ctrl-clicks step through grouped objects under the pointer
With the Selection tool, the first Cmd-click (Ctrl on Windows and Linux)
now always goes to Direct Selection or Group Selection, also over a
selected object: it picks the object under the pointer, a member of a
group included, and arms Select Behind. While Cmd stays held, each
further Cmd-click over the selection selects the next object under the
pointer, counting the members of groups one by one, and comes back to
the topmost after the last. Letting go of Cmd (a pointer, hover or key
event without it), choosing another tool or switching documents ends it.

Before, the first Cmd-click over a selected object selected the object
behind it at once, and Select Behind stepped through whole groups, so a
member lying under another member of the same group could not be
reached that way.

- doc::hit::leaves_at lists the objects a Direct Selection click picks
  under a point, topmost first, in one traversal of the document; a
  clipping mask or a group drawn with its own geometry effects falls back
  to repeated hit tests. The list stops at 256 objects.
- The session keeps the arming (Session::behind_armed) and passes it to
  the tools as ToolContext::behind_armed.
- Docs: docs/control-protocol.md (ui.pointer), docs/mcp.md,
  docs/target-app-parity.md and docs/ui-parity.md.
2026-11-27 18:47:39 -08:00
dotCooCoo ef0dc640b2 Keep parity status and revision history unchanged 2026-11-27 17:44:57 -08:00
dotCooCoo 551ba6649c Keep parity status and revision history unchanged 2026-11-27 17:44:53 -08: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
FredApps 5d70217e0c Merge pull request #8826 from yoriswind/codex/8432-panel-readout-copy
M3: Copy complete information-panel readouts on click
2026-11-27 23:29:02 +01:00
FredApps 5aed2d4cfa Merge pull request #8779 from yoriswind/codex/8687-status-bar-snapping
Status bar: add quick snapping controls
2026-11-27 23:28:36 +01:00
FredApps 24e5b56373 Merge pull request #5439 from Taha-Mahmoodi/fix/outline-stroke-context-menu
Fix #5267: Outline Stroke is in the canvas context menu
2026-11-27 23:28:10 +01: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 ecb097d084 Fix #6310: macOS Copy puts the PDF and SVG on the pasteboard
On macOS, Copy and Cut put one format on the pasteboard: the text (a
type-only copy's text, or the SVG markup with Include SVG Code), else
the picture as TIFF. The PDF that the Clipboard Handling PDF setting
makes and the SVG that Include SVG Code makes were dropped, so apps
that paste vector art got only a TIFF or plain text.

After arboard writes the text or the picture, the other formats are
now added to the same pasteboard item: the SVG as public.svg-image,
the PDF under the system's PDF type and the PNG as public.png, in the
order Copy offers them. A type that can't be added is logged, and
what arboard wrote still carries the copy. This follows craft-libs'
offer/macos.rs. The ownership check still compares the text or
picture arboard wrote.

The Clipboard Handling sentence for PDF now names Windows and macOS.
2026-11-27 13:33:34 -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 4adad149ac Direct Selection: a path held by its edge lands that point on other paths
With Smart Guides on, a path selected whole that Direct Selection or
Group Selection moved held by a point of its edge (a press on its fill
within 6 screen points of the edge, and with Group Selection also a
press on its stroke or, in Outline view, its outline) snapped that point
only to other anchors and centers, or lined its bounds up. It now snaps
as the Selection tool's edge hold does since #8617: the point also lands
on the other objects' paths ("path") and where paths and ruler guides
cross ("intersect"), and on a straight path the selection slides along
it until its bounds line up.

The shape tools move the selection only from its center point, which
snaps as the Selection tool's center press does, so they are unchanged.
2026-11-27 12:46:50 -08:00
dotCooCoo 8c9c5146c4 Plug-ins: the example Desaturate filter leaves paths as they were
The example filter parsed its input with serde_json's default float
parser and handed every object back with its `path`. A coordinate could
come back changed in its last digit, which the host reads as a new path:
a live shape became a plain path after a color-only run, and a compound
path with a hidden, locked or guide member was refused.

The filter now leaves `path` out of each object it returns, so each
object keeps its geometry, as docs/plugins.md advises for a filter that
does not change it. The fixture desaturate.wasm is rebuilt from the
source with build.sh.

Docs: docs/plugins.md.
2026-11-27 12:25:16 -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
jmvergesandClaude Opus 5.5 68fdaf8e79 .ai save: type in a spot ink keeps its swatch link
Type in a spot ink or a global process color was saved to the text
document as its process values alone (a /SimplePaint with key 0), so
the saved file opened with the type in a plain process color: off its
ink's plate on separations, and white type in a white ink on none.
Saving warned about it ("swatch links of its colors").

A run's fill or stroke now names (key 5 of a /CAITextPaint) an art
style of one paint, its fill alone on (`0 1 Xd`), whose paint is the
color as a path's fill writes it (`x`, `Xx`, `Xk`, or `Xs` for
Registration). That is the form the .ai reader takes the ink and the
tint from since the previous change; key 0 keeps the process values.
Each style is read back with the reader's own parser before it is
used, and a link is kept only when it gives the same swatch and tint.
Those runs no longer count among the attributes of type left out;
a link to a process swatch that isn't global still does, and the
warning's text now says so.

Test in crates/eps/src/ai_editing/tests.rs. The parity doc has the row.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 19:02:54 +00:00
jmvergesandClaude Fable 5.2 e8c8071e76 .ai import: a style holds a swatch color for type only as its one paint
The color a one-paint style holds for type was kept whenever its last
paint was a fill color with a swatch. A stroke color set before the
fill's still linked the type, and the style's `Xd` wasn't looked at, so
a style with its fill off gave its color too.

The style now holds the color only when its `Xd` turns on the fill
alone (`0 1 Xd`) and nothing sets a stroke's color or pattern, before
or after the fill's. No file I have writes a style any other way, so
this changes no real file; the pattern a style holds for type is read
as before.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-27 17:36:41 +00:00
BFlat 98b56f3d97 Merge pull request #7068 from ruchirguitar/feat/docinfo-path-area
feat(docinfo): add path area to Document Info (#6965)
2026-11-28 00:35:01 +07: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
dotCooCoo cc0b8ad623 Preserve untouched Track Cube rotation angles 2026-11-27 07:40:43 -08:00
dotCooCoo 1c7827e5cf Keep unchanged Layer and Object Options out of Undo 2026-11-27 07:18:24 -08:00
ruchirguitarandClaude Opus 5.5 4c36d9a9cc Merge main into the Document Info path area branch
docs/gaps.md conflict: both evidence paragraphs kept, this branch's first.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 19:53:29 +05:30
ruchirguitarandClaude Opus 5.5 ca4eedec96 Merge upstream/main into feat/g13-view-snapping
Resolve the docs history-table conflicts after #9002: keep both sides'
rows, newest first (the G13 2026-11-21 row now sits below main's
2026-11-23 row), and take main's Last reviewed banner in gaps.md,
roadmap.md, target-app-parity.md and ui-parity.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 19:34:28 +05:30
jmvergesandClaude Fable 5.2 0d871225e9 .ai import: type set in a spot ink keeps its ink
Type set in a spot ink or a global process color opened as a plain
process color: right on screen, but on separations it printed on the
process plates, and white type in a white ink on none.

In the text document a character's fill or stroke is a color (key 0)
and the name of an art style (key 5). For a color with a swatch, key 0
keeps only its process values at its tint; the name and the tint are in
the style, a style of one paint (`c m y k (name) tint x`, `Xx`, `Xk`),
always its fill's, for a stroke too. The reader took key 0 alone.

The style reader now keeps that paint (`ArtStyle::simple_color`), the
way it already keeps a one-paint style's pattern, and the type takes it
in place of key 0's color: the color at its tint, linked to its swatch.
The styles' named colors make their swatches with the art's (after the
art's colors, before the header's custom colors), so type and art in
one ink share a swatch, and a color that takes a free name is linked by
that name. Registration is linked to the built-in swatch.

`Texts::with_patterns` and the fields beside it are renamed to
`with_paints`, since they now hold both.

Tests in crates/eps/src/import/tests_native.rs, ate.rs and
ai/style/tests.rs. The parity doc has the row.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-27 12:10:41 +00: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
FredApps 0378062246 Resolve Snapping documentation conflicts with main
Preserve the feature code and both sets of roadmap and parity notes.
2026-11-27 09:49:01 +01:00