Commit Graph
19258 Commits
Author SHA1 Message Date
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 5cf1bc53b8 Add original Engraving brush library 2026-11-17 07:08:15 -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 b46a0a2a1a Merge main into feat/save-pdf-save-summary 2026-11-17 07:01:07 -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 7ccbb2ec1f Command Palette: a palette toggled closed and open before it is drawn starts at its first row
The palette's command, its shortcut and the search icon now go through one
toggle that marks the palette as toggled, and the palette forgets its
highlight the next time it is drawn. Two runs of the command in one step
(closed, then open again before a frame drew it closed) kept the old row,
and Enter on an empty search ran that row instead of the last pick.
2026-11-17 06:41:13 -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 8950883c01 Docs: a recent pick ranks first among results with the same pick-count grade 2026-11-17 06:30:21 -08: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 f874bcd753 Docs: add Add Selected Colors to the Colour area row 2026-11-17 06:16:51 -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 9989a916b9 Merge main and retain qualified changes for #7668 2026-11-17 05:52:23 -08:00
yoriswind dec9e3f91f Merge main and retain qualified changes for #7515 2026-11-17 05:51:53 -08:00
yoriswind e4d5ea58a1 Merge main and retain qualified changes for #7503 2026-11-17 05:51:41 -08:00
yoriswind 65cfbdacee Merge main and retain qualified changes for #7373 2026-11-17 05:51:32 -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
dotCooCoo 71b3877cad Recolor Artwork: a moved color bar keeps its color group swatch
Each row now carries its place from when the rows were made, and OK
rewrites the color group by those places. Dragging a color bar no
longer moves a new color, or an excluded row's "keep", onto another
row's swatch.
2026-11-17 05:39:48 -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
dotCooCoo 2125c795b8 i18n: French prose uses a no-break space before colons
The five French rows for Smooth Bridge that contain a colon (the Reach
label and four messages about the circles' distance, the gap, the reach
and the bridge count) had an ordinary space before ":". They now use
U+202F, the narrow no-break space, which
french_catalog_uses_nonbreaking_prose_punctuation accepts.
2026-11-17 05:39:03 -08:00
dotCooCoo 74ae933b53 Flare: a click on a selected flare's handle opens the dialog again
A click without a drag on the selected flare's center or end handle is a
click with the Flare tool again: it opens Flare Tool Options at the
click, and with Alt (Option on macOS) held it draws a flare there with
the tool's options. Before this, the click did nothing.

shape.editFlare also refuses an explicit center or end point that is
not finite where the flare was drawn (`x2 must be a finite coordinate`,
or `y2`, `cx`, `cy`), instead of storing it as null and drawing the
flare with the default path.
2026-11-17 05:37:12 -08:00
Don Omondi 4881a46f34 Merge remote-tracking branch 'upstream/main' into fix/twist-smooth-7069
# Conflicts:
#	docs/effects-parity.md
#	docs/target-app-parity.md
2026-11-17 08:33:56 -05:00
yoriswind 7420a1e475 Merge main and retain qualified changes for #8286 2026-11-17 05:23:39 -08:00