Commit Graph
11138 Commits
Author SHA1 Message Date
dotCooCoo 0528468228 Keep unchanged 3D effect options out of Undo and recorded actions 2026-11-27 16:08:40 -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 5433e02d8e Selection: a click inside an unfilled closed shape selects it
With Object Selection by Path Only off (the default), the Selection,
Direct Selection and Group Selection tools, Object Highlighting and a
right-click's selection now pick a closed path or compound path that
has no fill by a click inside its closed subpaths. Before, such a shape
could only be picked on its path, and a click inside started a marquee.

The inside counts only where no other object is hit: a click first
looks for what paints at the point, the same as before, and only then
for the topmost unfilled closed shape around it, so art drawn inside a
frame is still picked before the frame. Select Behind lists those
shapes after the objects that paint there, and Direct Selection in a
dynamic symbol's art picks parts in the same order. Open paths, guides
and clipping paths are still picked by their path only, and Outline
view is unchanged. With Object Selection by Path Only on, the inside of
an unfilled shape takes no click, as before.

Three tests clicked inside an unfilled square and expected nothing to
be selected: the Selection and Direct Selection center point tests and
the outside-stroke reach test. They now run with Object Selection by
Path Only on, and the Direct Selection and stroke reach tests also
check that the click selects the square with it off.

Fixes #9175
2026-11-27 13:49:28 -08:00
dotCooCoo 823619c46e .ai import: envelopes of a stroked straight line map from their stroked box
An envelope whose file saves the size of its contents with their
strokes maps from that box, with margins stored as shares of the
contents' height and width. A straight line along an axis has no
height (or no width), so it got no margins and mapped from its
zero-height geometric box instead.

Margins along a side with no length are now shares of the other
side's length (envelope_margin_lengths). The reader, the envelope's
map, leaving Edit Contents and the .ai writer all measure through it,
so a stroked line opens mapping from its stroked box and saves that
box's size again.

Docs: object.envelope.info params text, docs/mcp.md,
docs/target-app-parity.md.
2026-11-27 13:45:00 -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 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 6245d6b118 Outline view: effects reshape a placed document's crossed box
In Outline mode without Show Images in Outline Mode, a placed document
with an effect that changes geometry (Transform, Roughen, plug-in
effects), its own or its group's, drew its file's art reshaped and
without the X. The effects now reshape the crossed box instead, so a
Transform effect moves the crossed box.

- While a frame draws placed documents crossed, a placed document's art
  is its box with both diagonals (PlacedDocument::crossed_art), so every
  effect and evaluation that reads that art uses the crossed box.
- Layers are drawn and measured in the mode their Layer Options give
  them: a template layer in Outline view still shows the file's art,
  and a layer or sublayer whose Preview is off shows the crossed box.
  A layer with effects of its own now follows its Layer Options too;
  before, it drew in the view's mode.
- Kept effect art, cull bounds and the areas redrawn after an edit are
  measured in that mode and kept apart per mode.

Docs: docs/ui-parity.md row done, docs/mcp.md outlineImages.
2026-11-27 13:30:42 -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
ruchirguitarandClaude Opus 5.5 22f5ca3cbf Language packs: review fixes, and plug-ins can't call proof commands
- proof.installPack, proof.removePack and proof.packs {refresh} are refused
  under automation roots: the shared font store is outside them.
- Plug-ins may not call proof.* (DENIED_PREFIXES), which
  plugin_call's every_command_is_reviewed requires of new commands.
- A synchronous install or refresh returns its own result, not one read
  back from the shared errors.
- proof.packs reads the jobs before the installed packs, and
  poll_language_packs reads busy() before the generation, so an install
  that ends between the reads is never missed.
- A pack change measures type with a language of its own again
  (refresh_document_text_bounds), so selection boxes and hits follow.
- The tests' Reset cancels and waits for background jobs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 23:55:40 +05:30
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
HassanKhan 6d3738889b Merge remote-tracking branch 'upstream/main' into fix-8531-snap-budget-edges
# Conflicts:
#	docs/roadmap.md
#	docs/target-app-parity.md
#	docs/ui-parity.md
2026-11-27 21:38:58 +05:00
dotCooCoo c71a86d8ad Keep unchanged Brush Options out of document history 2026-11-27 08:25:38 -08:00
dotCooCoo bcb9b7b4cd Restore future shape settings when Control bar edits cancel 2026-11-27 08:22:59 -08:00
dotCooCoo b02c73a8ba Restore canceled Corner and Shared Edge tool settings 2026-11-27 08:22:08 -08:00
ruchirguitarandClaude Opus 5.5 44afcbfb2a Spell-check other languages from the Craft apps' Language packs
Part of #4936. Spelling and hyphenation now read the Language packs
installed in the font store the Craft apps share, and proof.packs,
proof.installPack and proof.removePack list, install and remove them.
Installs need downloading on, which only the person turns on; in the
desktop app they run in the background and the documents are laid out
again when one ends.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 21:19:24 +05:30
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
ruchirguitarandClaude Opus 5.5 2d497db368 Merge main into the Document Info path area branch
Docs conflicts: main's "Last updated" banner; both sides' evidence and
history rows, newest first.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 13:59:24 +05:30
ruchirguitarandClaude Opus 5.5 077930d760 Merge upstream/main into cursor/properties-quick-actions-groups
Resolve docs conflicts in gaps.md, roadmap.md, target-app-parity.md and
ui-parity.md: take main's Last reviewed banner, keep both history rows
(newest first).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 13:59:16 +05:30
FredApps e93d22df5a Resolve status-bar snapping conflicts with main 2026-11-27 08:51:56 +01:00
yoriswind f9d08c1816 Merge main97da preserving panel readout controls 2026-11-26 22:28:54 -08:00
dotCooCoo 28292e6a02 Verify distinct browser Place sources on current main 2026-11-26 21:47:06 -08:00
.CooCoo d18dbd07ea Merge pull request #9178 from yoriswind/codex/7918-gradient-stop-color-mode-menu
Gradient stop editor: add the Color mode menu
2026-11-26 21:36:10 -08:00
.CooCoo 99d6821d8d Merge pull request #9603 from dotCooCoo/fix/mixed-canvas-drop-files
Canvas: process every file in a mixed drop
2026-11-26 21:35:33 -08:00
.CooCoo 3d71a5027f Merge pull request #9491 from jmverges/fix/ai-made-point-type-box
.ai import: made point type is matched with the page's type where it draws
2026-11-26 21:32:36 -08:00
.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
.CooCoo b9bf25356b Merge pull request #8807 from yoriswind/codex/8804-color-conversion-swatch-index
Color conversion: index global swatch lookups
2026-11-26 21:31:37 -08:00
.CooCoo 863d923672 Merge pull request #8744 from yoriswind/codex/8068-sampler-navigation
Keep canvas navigation during Image Trace sampler releases
2026-11-26 21:31:15 -08:00
dotCooCoo 4dc64055f4 Charge fuel before reading XMP property values 2026-11-26 21:02:34 -08:00
BFlat 5958a5e95c Merge pull request #9097 from dotCooCoo/feat/scripts-xmp-objects
Scripts: ExternalObject loads the XMP objects XMPMeta, XMPFile and XMPConst
2026-11-27 11:55:06 +07:00
BFlat 5ddb34e28f Merge pull request #8938 from dotCooCoo/fix/i18n-message-scan-raw-strings
i18n: the message scan reads raw string literals
2026-11-27 11:51:42 +07:00
dotCooCoo 47dcb19bca Preserve localized XMP properties and optional argument positions 2026-11-26 20:43:11 -08:00
dotCooCoo a0f140310d Identify browser Place sources independently of duplicate filenames 2026-11-26 20:05:23 -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