Commit Graph
16063 Commits
Author SHA1 Message Date
dotCooCoo ce3a01f576 Merge #7996's branch into fix/psd-knockout-layers-merge 2026-11-17 17:03:50 -08:00
dotCooCoo 313d889a7f PSD import: a group that draws nothing is drawn once, however deep it nests
A group with a knockout was drawn for the knockout and, when it drew
nothing, drawn again as a layer of its own. Nested inside each other,
such groups were drawn twice over for every level, so opening a crafted
PSD file could take exponential time; layers without pixels charge
nothing against the import's memory allowance, so it did not stop it.

The import now keeps what a group gave when drawn without reading any
layer's pixels (nothing, or a canvas without pixels) and gives it again
without walking the group's layers. A pass-through group that laid
nothing onto an empty canvas without reading any pixels is not laid
there again; its layers count the same warnings each time. A merge
that can't be made forgets the groups found during it, with the notes
it gives back.

A knockout group that comes in as a layer is also listed after being
drawn, and its layers clipped to a fill that isn't drawn, or left
unclipped by a merge past the memory allowed, were counted twice in the
warnings. Each is now counted once.

The knockout of a layer that others are clipped to was applied when
the clip merge needed more memory than allowed and the layers came in
apart. It is now left unapplied and counted, as it is when the clip
merge is made.

A Dissolve knockout at part opacity cleared every pixel below it in
part. It now clears each pixel fully or not at all, at the share its
transparency times its opacity gives, as other Dissolve merges do.
2026-11-17 16:54:12 -08:00
dotCooCoo ced7bccc90 i18n: drop the Georgian PSD rows that main already has
main's ka.tsv already carries the PSD Import Options labels and the PSD
layer and slice messages, so the branch's 22 copies of them are removed
and main's rows are kept.
2026-11-17 16:11:33 -08:00
dotCooCoo 8dcedfce3a Merge main into fix/i18n-psd-import-options-and-slices 2026-11-17 15:53:37 -08:00
dotCooCoo 0133157783 PSD import: a layer with a knockout merges with the layers below it in its group
Opening a PSD or PSB file with its layers as objects now applies a
layer's Knockout setting instead of only counting it in a warning. The
import options help page says that layers using a Knockout option are
merged with the underlying layers:
https://helpx.adobe.com/illustrator/desktop/add-and-import-files/import-from-other-apps/photoshop-import-options.html

A layer or group inside a group whose `knko` value is 1 is read as a
shallow knockout and merged with the visible layers below it in that
group into one image, named after them with " + ". Where it has pixels
(shaped by its layer mask), the layers below are cleared to
transparency and it is drawn there at its fill opacity; its opacity
then fades the result back toward the layers below. In a pass-through
group the cut shows what is outside the group, and the knockout is
applied only when it and the visible layers below it are in the Normal
mode, so that no layer stops blending with what is outside the group.

The knockouts of top-level layers, clipped layers, layers that others
are clipped to, other `knko` values, and merges that would need more
memory than allowed are not applied: those layers come in as before and
the existing warning counts only them. A hidden knockout that would
need the merge is left out, like other hidden layers that need a merge.
A knockout that draws nothing, or has nothing visible below it, merges
nothing and comes in as before.
2026-11-17 14:17:01 -08:00
dotCooCoo 495bff4af0 Merge main into fix/psd-knockout-layers-merge 2026-11-17 13:19:03 -08:00
BFlat ee60c51fd9 Merge pull request #8323 from dotCooCoo/fix/psd-cmyk-placement
Fix #8316: preserve CMYK PSD images when placed or relinked
2026-11-18 03:23:55 +07:00
BFlat 1f84febb08 Merge pull request #8169 from dotCooCoo/fix/symbol-lookup-index
Symbols: render and SVG/PDF export find each instance's symbol in one index
2026-11-18 03:23:44 +07:00
BFlat aab753f4f2 Merge pull request #7819 from dotCooCoo/feat/textures-map-art-and-shading
Export 3D Object: mapped graphics export as textures of their faces
2026-11-18 03:23:34 +07:00
BFlat 41b70ed172 Merge pull request #8333 from dotCooCoo/fix/issue-6117
Enclosing Lasso: the tool is in the Lasso tool's flyout
2026-11-18 03:23:25 +07:00
BFlat 521e5ac158 Merge pull request #8258 from dotCooCoo/feat/type-forced-line-break
Type: Forced Line Break inserts a line break in the paragraph, at the caret
2026-11-18 03:23:16 +07:00
BFlat 0d8315801f Merge pull request #8207 from dotCooCoo/fix/issue-8090
Fix #8090: the Eyedropper samples into picked gradient mesh points
2026-11-18 03:23:07 +07:00
BFlat 7429d7247f Merge pull request #8265 from dotCooCoo/feat/live-paint-isolation-adds-paths
Live Paint: paths drawn in an isolated Live Paint group join it when isolation ends
2026-11-18 03:22:58 +07:00
BFlat 97503140eb Merge pull request #8166 from dotCooCoo/fix/blur-drag-test-clock
Tests: canvas tests keep their color settings when a parallel test changes them
2026-11-18 03:22:47 +07:00
BFlat bb0329a885 Merge pull request #7750 from dotCooCoo/feat/mesh-drop-color-point
Gradient mesh: a color dropped or eyedropped on a point or patch recolors it
2026-11-18 03:22:38 +07:00
BFlat a18fef053f Merge pull request #8288 from dotCooCoo/fix/metafile-loss-warnings
Metafile import: warn about images, clips and raster operations the reader leaves out
2026-11-18 03:22:29 +07:00
BFlat 496f1e351e Merge pull request #8287 from dotCooCoo/fix/pdf-large-images-64-bit
PDF import: 64-bit desktop builds open images up to 4 GB and 2^30 pixels
2026-11-18 03:22:18 +07:00
BFlat d55a967dde Merge pull request #8157 from dotCooCoo/fix/hfp-full-tone
Image Trace: High Fidelity Photo traces in Full Tone with abutting shapes
2026-11-18 03:22:09 +07:00
BFlat e1b12a5640 Merge pull request #8060 from dotCooCoo/feat/hyphenation-languages
Type: text hyphenates in Bulgarian, Turkish and Russian, and in German, Polish, Portuguese and Italian with CRAFT_I18N_DIR
2026-11-18 03:22:00 +07:00
BFlat 957881339f Merge pull request #8219 from dotCooCoo/chore/craft-libs-exr-deep-offsets
Dependencies: take craft-libs crates other than craft-plotter from craft-libs main at 64b181977a
2026-11-18 03:21:50 +07:00
BFlat a3a9b081e2 Merge pull request #8062 from dotCooCoo/feat/loaded-text-link-cursor
Selection: loaded text shows a link cursor over an object a click threads it into
2026-11-18 03:21:40 +07:00
BFlat b458f8f757 Merge pull request #7254 from dotCooCoo/fix/ai-xa-working-rgb
.ai save: Lab colors and type paints are written in the working RGB space
2026-11-18 03:21:30 +07:00
BFlat a85cb5cf8e Merge pull request #8332 from dotCooCoo/fix/issue-7095
Fix #7095: a double-click on a pattern swatch no longer paints its tile
2026-11-18 03:21:20 +07:00
BFlat 5088d9c6ec Merge pull request #8272 from dotCooCoo/feat/emf-font-width-scale
Metafile import: a LOGFONT average character width becomes Horizontal Scale
2026-11-18 03:21:07 +07:00
BFlat d7556fbae5 Merge pull request #8249 from dotCooCoo/feat/swatches-drag-to-delete
Swatches: swatches dragged onto the Delete Swatch button are deleted
2026-11-18 03:20:53 +07:00
BFlat 3ab5db4c64 Merge pull request #8092 from dotCooCoo/fix/issue-8047-group-marquee
Group Selection: a marquee selects the objects it touches, whole
2026-11-18 03:20:42 +07:00
BFlat aa8ef006da Merge pull request #7446 from dotCooCoo/fix/ai-transform-guide-reach
.ai import: guides past an object's art keep the drawn look under Transform and Free Distort
2026-11-18 03:20:32 +07:00
BFlat 0d681e804d Merge pull request #8339 from dotCooCoo/fix/bounds-reference-number
Fix #8334: setBounds reads whole-number float references correctly
2026-11-18 03:20:23 +07:00
BFlat 40f1080a86 Merge pull request #8215 from dotCooCoo/fix/trim-line-end-on-curve
Path Precision Tools: a path that ends on a curve still divides it after the curve is cut
2026-11-18 03:20:13 +07:00
BFlat a3a3f2dfec Merge pull request #8108 from dotCooCoo/feat/spiral-constrain-angle
Spiral: dragging turns the spiral to the pointer, and the click dialog starts it along Constrain Angle
2026-11-18 03:20:05 +07:00
BFlat 409b8ce9d1 Merge pull request #8058 from dotCooCoo/perf/selection-batch-toggle
Selection: select.toggle and select.add with many ids go through the selection once
2026-11-18 03:19:52 +07:00
BFlat 3bdc7400a3 Merge pull request #8045 from dotCooCoo/fix/ai-legacy-perceptual-gradient
Legacy .ai: write Perceptual gradients with the stops on their curve
2026-11-18 03:19:43 +07:00
BFlat ba6e0683a5 Merge pull request #8328 from dotCooCoo/fix/followup-8305
Color Guide: a script run or a resting link keeps the base color it showed
2026-11-18 03:19:34 +07:00
BFlat 36219a7c79 Merge pull request #7905 from dotCooCoo/fix/touch-point-on-sample
Smart Guides: tangent and perpendicular snaps find a touch point that falls exactly on a sample
2026-11-18 03:19:25 +07:00
BFlat 8ae0a0f516 Merge pull request #8384 from storytold/fix/mesh-outline-extent
Render: a gradient mesh past any buffer draws without flattening its outline
2026-11-18 03:19:17 +07:00
bflatastic 82c9631b57 Render: a gradient mesh past any buffer draws without flattening its outline
A damaged .ai can give a gradient mesh whose outline is enormous but finite.
draw_mesh_raster flattened that whole outline in device pixels (grown_outline),
and kurbo's flatten then asked for more segments than memory holds: a
"capacity overflow" panic (seen in import_fuzz's ai_written_meshes_never_panic).
An outline wider or taller than 2^24 device pixels now goes to the per-quad
drawing path the function already falls back to.
2026-11-18 01:41:52 +07:00
dotCooCoo 9ae9da71b8 Fix numeric reference points in bounds transforms 2026-11-17 08:02:50 -08:00
dotCooCoo c0342e63aa Swatches: quick clicks after a double-click do not apply the swatch
A third quick click on a swatch counts as a triple click, and so does
each quick click after it. Those clicks still applied the swatch, so a
triple click on a pattern swatch opened pattern editing and then
painted the tile art with the pattern itself. Only the first click of
a run of quick clicks now applies and selects the swatch.

The test now sends four quick clicks and gives the art a solid fill in
each view, so the list view's first click is checked on its own.
2026-11-17 07:59:01 -08:00
dotCooCoo 0a14dc0a8c Docs: wrap the Enclosing Lasso paragraph in docs/roadmap.md 2026-11-17 07:43:48 -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 cce26edfa0 Merge main into fix/metafile-loss-warnings
# Conflicts:
#	Cargo.toml
2026-11-17 07:25:38 -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 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 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
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