Commit Graph
17545 Commits
Author SHA1 Message Date
dotCooCoo 0a14dc0a8c Docs: wrap the Enclosing Lasso paragraph in docs/roadmap.md 2026-11-17 07:43:48 -08:00
dotCooCoo 1ed9337e78 Shortcuts: a wait a dialog ends drops the key's repeat in the frame it is let go
When a dialog or field took the keyboard while a key with a hold
shortcut waited, and the next frame held both a repeat of the key and
its release, the repeat and the text it typed reached the dialog. The
frame that ends the wait now drops them too.
2026-11-17 07:41:45 -08:00
BFlat 36b5a5920c Merge pull request #8098 from el-j/feat/save-pdf-transparency-confirmation-8097
Fix #8097: Save PDF: show flattener rasterization resolutions in Summary warning and Advanced section
2026-11-17 22:38:24 +07:00
BFlat 27d0b095da Merge pull request #7075 from mockydevs/fix/twist-smooth-7069
Twist: handles follow the rotation's derivative, so a strongly twisted path is smooth
2026-11-17 22:38:15 +07:00
dotCooCoo 553a31883f Shortcuts: the Keyboard Shortcuts search finds a row by its hold shortcut
While Hold Shortcuts is on, typing a key in the search now finds the row
whose Hold column shows it, as it finds a row by its shortcut.
2026-11-17 07:31:02 -08:00
dotCooCoo 3c7f03f62d Stroke: the Profile list is dimmed while the stroke's brush keeps its own size
Brush art does not follow a stroke's width profile, so picking a profile
for a brushed stroke changed nothing on the canvas.

- While every stroke the Profile list edits draws with a brush, the list
  in the Stroke panel, the Properties panel and the Control bar is
  dimmed and says why when hovered. It opens no list while those strokes
  are uniform, and offers only Uniform, which removes the profiles, while
  one has a profile. The Flip Along and Flip Across buttons beside it
  are off. The strokes are the ones stroke.set edits: the
  active Appearance stroke row, a selected group's or compound shape's
  own stroke, or the objects' top strokes. Images and symbol instances
  do not count. A selection where one stroke has no brush keeps the full
  list.
- The Width tool adds, edits and deletes no width points on a brushed
  stroke; a press or double-click on one, or Delete with its width
  points selected, shows the same reason in the status bar. Without
  Shift, the press deselects the width points of other strokes. A
  plain stroke under a
  selected brushed one stays reachable, and width points selected
  before their stroke took a brush show no handles.
- The reason has a row in every complete catalog.
2026-11-17 07:30:44 -08:00
dotCooCoo 12977ec543 Fix #1954: PDF/X CMYK in the output intent's profile is written as DeviceCMYK
A PDF/X-3 or PDF/X-4 export tagged every CMYK color with an ICC-based
space of the same profile that the output intent embeds. In PDF/X-3 and PDF/X-4, CMYK colors in the
profile of a CMYK output intent are now DeviceCMYK, and the profile is
written once, as the output intent's DestOutputProfile (ISO 32000-1,
14.11.5:
https://opensource.adobe.com/dc-acrobat-sdk-docs/pdfstandards/PDF32000_2008.pdf#page=641).

- With output.profiles none and a CMYK output intent, PDF/X-3 and PDF/X-4
  write every CMYK color as DeviceCMYK, unless colors are converted to a
  CMYK destination of another profile, which keeps its tag. Before, those
  standards tagged every color whatever profiles said.
- RGB and gray colors stay tagged, and so do CMYK colors and images in
  another profile.
- A CMYK image that carries the output intent's profile is DeviceCMYK,
  and so is every CMYK image when none makes CMYK colors DeviceCMYK. A
  CMYK JPEG then loses its ICC_PROFILE segments.
- Transparency groups blend in DeviceCMYK when CMYK colors are
  DeviceCMYK, also when the file has no ICC-based CMYK space.
- Files without a standard keep the tags that profiles asks for.
- The Save PDF dialog's note for PDF/X-3 and PDF/X-4 says that CMYK
  colors in the output intent's profile are written as DeviceCMYK.

Docs: docs/mcp.md, docs/target-app-parity.md and the document.exportPdf
params text.
2026-11-17 07:30:22 -08:00
dotCooCoo b778279d6f Help: kept command results follow their menu items
A kept command result now takes its menu item's current label and menu
path when the menu state changes, so Show Grid reads Hide Grid once the
grid shows, and a command that no menu lists any more drops out. The
results are brought up to date only when the menus' state hash changes,
with the menu entries looked up by command and params. Help commands
reject parameters that are not an object.
2026-11-17 07:27:00 -08:00
dotCooCoo cce26edfa0 Merge main into fix/metafile-loss-warnings
# Conflicts:
#	Cargo.toml
2026-11-17 07:25:38 -08:00
dotCooCoo de9424cece Workspace: Tools dropped on the canvas's left edge docks there, and the setting follows
A floating Tools panel dropped on the canvas's left edge, right of panels
docked on the left, stayed floating unless Window > Toolbars > Keep Tools
Beside the Canvas was on. The canvas's left edge is now always a target:
a drop there docks Tools beside the canvas and turns the setting on, and a
drop on the window's left edge docks it there and turns the setting off,
so the menu item's check mark shows where Tools is.

This changes one existing behavior: with the setting on and panels docked
on the left, a drop on the window's left edge used to dock Tools beside the
canvas and keep the setting on. It now docks Tools at the window's edge and
turns the setting off.

With no panels docked on the left, both edges put Tools in the same place
(left of any toolbars made with New Toolbar docked there), so a drop on
either docks it where the setting puts it and leaves the setting as it is.
So does a drop in the column both edges share when left-side panels are
collapsed to icons narrower than the window's edge strip. A release in the
frame right after Tools floats out of its place at the window's edge skips
the canvas-edge strip, which that frame laid out right of the docked panel.

Part of #7837
2026-11-17 07:24:23 -08:00
dotCooCoo d080f0fb85 Font menu: Small, Medium and Large set the sample size from inside the menu
Part of #6889. While the samples are shown, a row under the filters
offers Small, Medium and Large, as the font browser overview and the
user guide describe the sample size control. With Enable in-menu font
previews off, the row is not shown, as the user guide describes.

VectorCraft's own rules: a click sets Preferences › Type › Font Preview
Size (`fontPreviewSize`), so every font menu takes the new row height,
and the host writes the preferences file as it does when Preferences is
confirmed. The current size is selected, and a click on it changes
nothing. A saved value that is none of the three sizes shows Medium,
and a click replaces it. The change adds no undo step and leaves a font
previewed on the selected type in place.

https://helpx.adobe.com/illustrator/desktop/design-with-text/fonts-and-scripts/font-options-overview.html
https://web.archive.org/web/20210601162814/https://helpx.adobe.com/pdf/illustrator_reference.pdf#page=485

Docs: docs/target-app-parity.md evidence line.
2026-11-17 07:23:19 -08:00
dotCooCoo 61abac22bf Merge main into chore/craft-libs-exr-deep-offsets
# Conflicts:
#	Cargo.toml
2026-11-17 07:20:10 -08:00
dotCooCoo c886ab1698 Shortcuts: a tool key before a hold key in one frame reaches its tool first
When a key the active tool takes (E with the Extend Path tool) went
down before a key with a hold shortcut that was pressed and let go in
the same frame, the hold key's tap ran first. A tap that chose another
tool then sent the earlier key to the new tool. The hold key now goes
back to the frame in that case, as it does after a chord with Cmd, Ctrl
or Alt, so both keys act in order as with Hold Shortcuts off.
2026-11-17 07:19:14 -08:00
dotCooCoo af09fc2064 Scripts: open files are written in the order they were opened
When two File objects held changes to the same file, copy, length, a
new open of the file and a withdrawn grant wrote them in no fixed
order, so the copy or the file could end up with the older object's
bytes. They now write them in the order the objects were opened, as
the end of the run does.
2026-11-17 07:14:42 -08:00
dotCooCoo ea4e3bce29 Color Guide: a script run or a resting link keeps the base color it showed
Running a script or a plug-in now ends the spot color base's link, as a
batch step already did, so a script that deletes the spot color and makes
another of the same name does not make the new one the base. Commands that
only list scripts or plug-ins keep the link.

While the link waits for an Undo, the color it captures before a command is
the one the guide shows, not that of a new spot color of the same name.
2026-11-17 07:08:52 -08:00
dotCooCoo 4c47558d9a Merge main into fix/pdf-large-images-64-bit 2026-11-17 07:06:24 -08:00
dotCooCoo 739243b660 Help: choosing a hidden tool says why it cannot be shown
When Tab or Presentation Mode hides the toolbars, choosing a tool in the
Help panel, or a tool's link in a tutorial Help shows, marks nothing.
The panel now puts the reason learn.locateTool returns in the status
bar. The two reasons get rows in every complete-message catalog, and the
message scan reads unavailable(tool, reason) so later reasons need rows
too.
2026-11-17 07:05:07 -08:00
dotCooCoo e6bf84050a Preferences: the description line has sentences for Hold Shortcuts and its delay
General's description line now shows a sentence for Hold Shortcuts and
for Hold Shortcut Delay, with a row in every catalog, as main requires
for each General setting.
2026-11-17 07:05:04 -08:00
dotCooCoo d63d45a0bd Merge main into feat/editable-flares 2026-11-17 07:01:52 -08:00
dotCooCoo 02da66521f Fix #7095: a double-click on a pattern swatch no longer paints its tile
The second click of a double-click on a swatch also counted as a plain
click. After the double-click opened pattern editing, which selects the
tile art, that click applied the pattern swatch to the tile, so the
pattern held a copy of itself. The second click now only opens the
editor; the first click still applies and selects the swatch.

Reported by erolkarino. #7164 by mockydevs makes the engine refuse
painting the tile with its own pattern; this change stops the swatch
panel from sending that paint on a double-click.
2026-11-17 06:54:13 -08:00
dotCooCoo d1afba560d Enclosing Lasso: the tool is in the Lasso tool's flyout
The Enclosing Lasso Tool joins the Lasso group in both shipped
toolbars, right after the Lasso, and stays in Object › Plug-ins ›
Enclosing Lasso. The All Tools drawer lists it once, under Select, and
Edit › Keyboard Shortcuts › Tools lists it once. It has no default
shortcut, and the Lasso keeps Q. A toolbar the user already edited
keeps its saved layout; Reset Toolbar adds the tool.

Fixes #6117
2026-11-17 06:51:00 -08:00
dotCooCoo 7cabf56471 Scripts: the app idles while a run waits at its file dialog
While a script waited at File.openDialog, File.saveDialog or
Folder.selectDialog, the frame logic asked for a new frame on every
frame. It now skips that request while a file dialog waits, as it does
for alert, confirm and prompt; picks::poll still looks for the
dialog's answer.
2026-11-17 06:50:42 -08:00
dotCooCoo 64028bceb2 Effects: the painted clipping type test checks the region Offset Path grows
The Offset Path case of painted_clipping_type_survives_enclosing_geometry_effect now also checks
the clip region against the type's own outline grown by 1 pt, so a clip region that skips the
effect fails the test even when the fill and stroke art skip it too.
2026-11-17 06:48:45 -08:00
dotCooCoo 3d7a66fdbd Fix #8324: retain supplied raster export controls 2026-11-17 06:47:38 -08:00
dotCooCoo 0b114972a9 Merge main into feat/hold-shortcuts 2026-11-17 06:47:09 -08:00
dotCooCoo 78f40746f7 Direct Selection: a re-mapped segment keeps a retracted handle exactly retracted
With Interpolate Control Points on, a retracted handle was mapped like
any other and could land a rounding error away from its anchor. On a
smooth anchor, lining the handles up then read that error as a
direction and turned the other handle. A retracted handle now goes to
its anchor's new place exactly.
2026-11-17 06:45:47 -08:00
dotCooCoo 3447568dea Merge main into fix/variable-library-warning-kind-names-i18n 2026-11-17 06:36:21 -08:00
BFlat c4147826a3 Merge pull request #7353 from dotCooCoo/fix/i18n-adjacent-placeholders
i18n: messages with values side by side can be translated
2026-11-17 21:32:55 +07:00
BFlat f20bc1c97f Merge pull request #8320 from dotCooCoo/fix/flare-ring-seed-mixing
Flare: distribute the first ring for small seeds
2026-11-17 21:32:44 +07:00
BFlat 271a28840c Merge pull request #8246 from dotCooCoo/feat/ai-editing-data-meshes
.ai save: the editing copy keeps gradient meshes
2026-11-17 21:32:35 +07:00
BFlat 01746c52dc Merge pull request #8319 from storytold/chore/merged-hpgl-pin
Pin shared HP-GL lexer to merged prerequisite
2026-11-17 21:32:26 +07:00
BFlat 13e99adf7b Merge pull request #8317 from Taha-Mahmoodi/fix/macos-clippy
Fix clippy on macOS with current stable (dead_code, needless_range_loop)
2026-11-17 21:32:17 +07:00
dotCooCoo 860e83feca MCP: ui_catalog.rs lists the Help search commands
Regenerated with cargo xtask ui-commands.
2026-11-17 06:29:23 -08:00
dotCooCoo 1b3a1a3eef Direct Selection: setBounds and guide.move check the interpolate param
object.setBounds and guide.move move direct-selected anchors through the
same path as object.move, so they already followed the Interpolate
Control Points preference. They now list `interpolate` in their params
text and reject a value that is not true or false, also when the change
only scales the anchors or only guides are selected. A test covers both
commands with the preference on and off and with the param.
2026-11-17 06:25:45 -08:00
dotCooCoo 26ff005295 Dependencies: pdf-deps expects the PDF crates at craft-libs 64b181977a
The branch moves craft-pdf and the patched hayro and krilla crates to
craft-libs 64b181977a, while xtask pdf-deps still expected main's
0cca4ac6 revision, so the gate stopped at pdf-deps. REV now names the
branch's pin.
2026-11-17 06:21:23 -08:00
dotCooCoo 537e496cce Dependencies: pdf-deps expects the PDF crates at craft-libs 64b181977a
The branch moves craft-pdf and the patched hayro and krilla crates to
craft-libs 64b181977a, while xtask pdf-deps still expected main's
0cca4ac6 revision, so the gate stopped at pdf-deps. REV now names the
branch's pin.
2026-11-17 06:21:23 -08:00
dotCooCoo 9ef93eb563 Swatches: a library pattern keeps a global color whose name the document uses
When Add to Swatches brought a library pattern whose art links to a global
or spot color, and the document had that name for another color, the
pattern was relinked to the document's color. Adding the library's color
then made a numbered copy that the pattern did not use. The color now comes
in under a numbered name and the pattern links to it, as an added color
does, and the check for a pattern already in the document compares it the
same way.
2026-11-17 06:20:11 -08:00
dotCooCoo b1276adf59 Package: a canceled save before packaging writes no package
With Background Save and Background Export on, a package waits for the document's save and started once that save answered without an error, so a save that Cancel Save stopped still let the package be written from a document left unsaved. A canceled save now stops the package, as a failed one does.
2026-11-17 06:20:01 -08:00
dotCooCoo badaf937e3 Fix #8316: preserve native CMYK PSD composites 2026-11-17 06:19:51 -08:00
dotCooCoo 16e120e258 Dependencies: pdf-deps expects the PDF crates at craft-libs 64b181977a
The branch moves craft-pdf and the patched hayro and krilla crates to
craft-libs 64b181977a, while xtask pdf-deps still expected main's
0cca4ac6 revision, so the gate stopped at pdf-deps. REV now names the
branch's pin.
2026-11-17 06:19:13 -08:00
dotCooCoo c8d16e66ae Object Mosaic: OK refuses a Constrain Ratio value the command refuses
A Constrain Ratio side other than width or height, set through
ui.dialog.set, is passed to object.createObjectMosaic, which refuses it,
instead of being read as the width. A Constrain Ratio (lock) that is not
true or false is refused on OK, and the dialog stays open.
2026-11-17 06:11:27 -08:00
dotCooCoo 4c15d161fb Background Save: a Cancel the string writers stop on reports the save canceled
A Cancel that came after the encoder filled a streamed save, while the shared stream writer was flushing it or making its last check, came back as a write error, so the save showed an error dialog instead of Save canceled. The same held for the plain string writer. Their Cancel message now maps to the Cancelled error while the save is canceled; any other message, such as one naming the copies a failed replacement kept, stays a write error.
2026-11-17 06:06:36 -08:00
dotCooCoo dc8ba2daf9 Update complete catalog brush count for Dashed Arrow 2026-11-17 06:01:47 -08:00
el-j 5665114718 Save PDF: include flattener resolutions in Summary warning and Advanced section 2026-11-17 15:00:11 +01:00
dotCooCoo e91116e0bf Object Mosaic: percentages convert against the image's current size
The dialog reads the selected image's size again each frame, before
ui.dialog.set sets fields, and on OK. An image scaled while the dialog is
open shows its new Current Size, and Resize Using Percentages converts
New Size against it, so OK makes the size shown. With no image
selected, switching Resize Using Percentages leaves the fields as they
are and the dialog asks for an image.
2026-11-17 06:00:08 -08:00
dotCooCoo fd03766101 Add Dashed Arrow brush with separated shaft and persistence coverage 2026-11-17 05:52:43 -08:00
yoriswind e4d5ea58a1 Merge main and retain qualified changes for #7503 2026-11-17 05:51:41 -08:00
yoriswind 4c764b2912 Merge main and retain qualified changes for #7065 2026-11-17 05:51:24 -08:00
dotCooCoo 8c6a707558 Tests: a key that ends a wait checks that the tap and the key both ran, in order
The test now records the undo steps of a swap tap on X and of D, so a dropped
tap fails it instead of leaving only the final tool to check.
2026-11-17 05:45:35 -08:00
Don Omondi b84f06f463 Twist test: walk the anchors through Anchors::iter after the merge
Main now keeps a subpath's anchors in shared chunks, which can't be sliced.
2026-11-17 08:39:39 -05:00