Commit Graph
17504 Commits
Author SHA1 Message Date
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
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 6534123b3a Merge main and retain qualified changes for #6601 2026-11-17 05:23:11 -08:00
dotCooCoo 176db2d09c Object Mosaic: true or false replaces a refused percentages value
After ui.dialog.set gave Resize Using Percentages a value that is not true
or false, setting false (or setting true while the sizes were already in
percentages) left the refused value in place, so OK kept failing. The
dialog now remembers the mode the sizes were in while such a value is set:
the same mode stores the boolean and keeps the sizes, and the other mode
shows the sizes the other way, as the checkbox does. Null is read as false,
as the command reads it, so percentage sizes are converted to points.
2026-11-17 05:21:44 -08:00
yoriswind 9e8b6ef768 Fix #6430: validate MCP path effects before creating text 2026-11-17 05:19:31 -08:00
dotCooCoo 5434635e49 Clipping: a stroked clipping type does not widen the box a clip group's gradient follows
Free Distort and the Warp effects move a group's placed gradient from the group's bounds before the effect to its bounds after it. A clip group whose clipping type strokes is measured as that clip group, so the stroke outside the clip no longer changes how its gradient follows the effect.
2026-11-17 05:15:15 -08:00
Dylan M. Taylor 2dd120c0fe Use shared contextual run shaping (#7878) 2026-11-17 08:14:14 -05:00
dotCooCoo 77a509a9c6 i18n: printer names keep their parentheses in the print messages
A printer name in "Sent “{title}” to {to}" was translated as a message of
its own, so Korean's "{status} ({e})" row turned "Office Laser (Floor 2)"
into "Office Laser(Floor 2)". An unquoted `{to}` value is now translated
only by an exact row, such as "the default printer"; a quoted one stays
as written. The cross-language case uses a printer name with
parentheses, and two quoted `{to}` names that match exact rows.
2026-11-17 05:09:47 -08:00
dotCooCoo 8f0379cc3f Flare: distribute the first ring for small seeds 2026-11-17 05:07:35 -08:00
dotCooCoo 387dc9049a Help: a result shows the shortcut as it is now
Help kept each result's shortcut, label and menu path from the moment of
the search. After a shortcut changed, reopening Help or choosing a kept
result still showed and returned the old binding, and a change of the
interface language left the old labels in place.

The kept results now take the current shortcuts, labels and menu paths
when Help reopens, when a result is chosen or shown, and when the panel
draws after a change. The query, the order of the results and the
selected result stay as they were.
2026-11-17 04:54:50 -08:00
BFlat 0f8040ef59 Merge pull request #8202 from dotCooCoo/perf/legacy-ai-hex-samples
Legacy .ai: image samples are written as hex through a digit table
2026-11-17 19:51:37 +07:00
BFlat c4163015d9 Merge pull request #8311 from Hassan1305/fix-8300-pdf-fill-only-after-stroke
PDF import: a glyph filled only after one filled and stroked stays unstroked
2026-11-17 19:51:28 +07:00
Dylan M. Taylor 34dd4b53ab Pin shared HP-GL lexer to merged prerequisite 2026-11-17 07:45:20 -05:00
dotCooCoo 25e0b79d07 Brushes: Arrows names in the catalogs and the UI library tests
Every complete catalog gets rows for the Arrows library and its Solid,
Open and Chevron Arrow brushes, plus Double Arrow where the catalog had
none. The Window menu test expects arrows after tech-circuit, and the
catalog test counts 50 built-in brush names.
2026-11-17 04:23:31 -08:00
Taha-Mahmoodi 478904e208 Merge remote-tracking branch 'origin/main' into fix/macos-clippy 2026-11-17 16:48:13 +04:30
Taha-Mahmoodi 92a2d2de71 Fix clippy on macOS with current stable: dead_code on Overrides::is_set, needless_range_loop in cut_edge
Overrides::is_set is only called from main under cfg(not(macos)), so it is allowed to be unused there (the repo's cfg_attr pattern). settle_cut_edges walks blended with iter_mut().enumerate() instead of indexing it.
2026-11-17 16:48:13 +04:30
dotCooCoo e38bfffad7 i18n: French messages use the narrow no-break space before colons
The five French script file messages added on this branch put an
ordinary space before ":" and ";". They now use U+202F, which
french_catalog_uses_nonbreaking_prose_punctuation accepts.
2026-11-17 04:14:41 -08:00
dotCooCoo 48709eeb44 Brushes: the built-in library test covers Arrows
The built-in library test now expects arrows as the eleventh library,
checks its brush names, types and count, and draws each of its brushes
with the other art libraries.
2026-11-17 04:11:51 -08:00
dotCooCoo e8fbde1f61 ui: add Help search for tools, commands, and tutorials 2026-11-17 04:10:34 -08:00
yoriswind 1904657eb5 Merge main and preserve independent Eraser progress notes 2026-11-17 04:07:48 -08:00
dotCooCoo 21feb686cf Merge main into feat/ai-editing-data-meshes 2026-11-17 04:04:45 -08:00
BFlat 277e0f2742 Merge pull request #7330 from dotCooCoo/fix/blob-params-rejected
Blob Brush: path.blob rejects invalid fidelity, angle and roundness
2026-11-17 18:49:52 +07:00
BFlat b016b56635 Merge pull request #7357 from dotCooCoo/fix/ai-brush-mask-art
.ai editing data: Scatter and Art brushes keep their art's opacity masks
2026-11-17 18:49:43 +07:00
BFlat ea76338f43 Merge pull request #8305 from dotCooCoo/fix/color-guide-spot-link
Color Guide: renaming, deleting or unspotting the base spot color keeps the link right
2026-11-17 18:49:34 +07:00
BFlat cbd9872749 Merge pull request #8303 from Hamza0101/fix/scale-text-attributes-area-frame
Scale Text Attributes: an area's frame and a path type's path keep their size
2026-11-17 18:49:25 +07:00
BFlat 4f99b4b005 Merge pull request #8306 from storytold/fix/font-menu-settle
Tests: the font menu helper waits until the menu's own rect stays put
2026-11-17 18:49:16 +07:00
BFlat 9908e10781 Merge pull request #8299 from dotCooCoo/fix/pdfx-xmp-metadata-date
PDF/X: PDF/X-4 files carry xmp:MetadataDate, equal to xmp:ModifyDate
2026-11-17 18:49:07 +07:00
el-j 7234b26ec6 Address review comments: check pattern tile transparency and skip image scan when unflattened 2026-11-17 12:21:37 +01:00
HassanKhan 8eb4416945 Docs: record #8300 in the current File formats rows of target-app-parity 2026-11-17 16:15:52 +05:00
el-j 101733d445 Merge remote-tracking branch 'upstream/main' into feat/save-pdf-transparency-confirmation-8097
# Conflicts:
#	crates/engine/src/cmd/flatten/analysis.rs
2026-11-17 12:06:12 +01:00
dotCooCoo 090354b9dd Preferences: the empty-line test points at a Slices row, and the Type line follows main's lines
main now has sentences for Guides & Grid, so `a_row_without_a_description_leaves_the_line_empty`
points at Slices › Show Slice Numbers, which has no sentence. `docs/target-app-parity.md` keeps
main's General line once and adds Type to the categories that have sentences.
2026-11-17 03:00:31 -08:00
HassanKhan 007180e2f3 PDF import: a glyph filled only after one filled and stroked stays unstroked (#8300)
Look::takes let a glyph filled only join a run whose glyphs were also
stroked, so after mode 2 text a mode 0 glyph took the run's stroke:
`2 Tr (B) Tj 0 Tr (C) Tj` came in as "BC" stroked throughout. A glyph
now joins only a run drawn alike (fill, stroke, overprints), so a glyph
filled only starts a run of its own and takes a stroke only when the
matched-stroke path (#8039) strokes it.

flush_stroke no longer strokes a whole run in place: a whole run goes
through the split and join code, so fill and stroke rendering glyph by
glyph still builds one stroked run.
2026-11-17 15:59:49 +05:00
dotCooCoo 0bd700ee0c Merge main into feat/prefs-descriptions-type 2026-11-17 02:37:30 -08:00
BFlat 6d5767bf10 Merge pull request #8264 from dotCooCoo/feat/prefs-descriptions-smart-guides
Preferences: the line under the fields describes each Smart Guides setting
2026-11-17 17:28:55 +07:00
BFlat 990c8cc916 Merge pull request #8233 from dotCooCoo/feat/save-for-web-optimize-to-size
Save for Web: Optimize to File Size picks the settings that bring the image under a typed size
2026-11-17 17:28:44 +07:00