Commit Graph
7507 Commits
Author SHA1 Message Date
dotCooCoo a6d4729bf2 PSD import: knockouts that cut no paint stay apart, and failed merges keep room to read the layers
- A knockout at 0 fill whose pixels cover none of the painted pixels below
  it is no longer merged with them.
- A hidden knockout is left out only when its merge would be made or is
  too large, so one whose layer mask hides all of it comes in with
  hiddenLayers. What drawing it counted is forgotten when it is left out.
- The pixels and canvases of a merge that isn't made are counted against
  a separate limit of the same size, so the layers can still be read
  apart afterward.
- docs: the memory-limit fallback for knockouts is listed with the
  knockouts that aren't applied.
2026-11-18 06:49:40 -08:00
Dylan M. Taylor 54ef5ed6f7 Merge remote-tracking branch 'origin/main' into pr-7907 2026-11-18 09:49:26 -05:00
dotCooCoo 168cbaf884 Merge main into fix/kept-clipping-path-reads 2026-11-18 06:42:34 -08:00
ruchirguitar f65766f07d Merge remote-tracking branch 'upstream/main' into feat/4934-retype
# Conflicts:
#	docs/gaps.md
#	docs/roadmap.md
#	docs/target-app-parity.md
2026-11-18 20:10:08 +05:30
dotCooCoo 0522ecdf96 Merge main into fix/recolor-group-keeps-gradient-swatches 2026-11-18 06:36:10 -08:00
ruchirguitar db525996f0 M7/G4: retype checks the part before a mismatch on its own (#4934)
A font can place a glyph by the glyph after it, so the glyphs before a
mismatch are laid out again as a line of their own before they replace
their outlines. The glyph budget covers that second check.
2026-11-18 20:05:47 +05:30
dotCooCoo fdd0b2fdb3 Merge main into fix/classic-overprint-separations 2026-11-18 06:33:44 -08:00
dotCooCoo 4f89536718 Pen: the rubber band over the first anchor or another path's end is the segment a click adds
Over the path's first anchor, a click closes the path on that anchor; over
an end of another open path, it joins the two, and the segment arrives
along that end's own handle. The preview ended at the pointer and arrived
without a handle, so the segment moved by up to the pick tolerance at the
click and changed shape when the other end was smooth. The preview now
ends on the anchor the click uses, with that anchor's handle, and picks
the anchor at the pointer before snapping, in the order a press does.

Part of #8296.
2026-11-18 06:28:21 -08:00
dotCooCoo e4776713d7 Transform: a corner kind the rectangle already has leaves it unchanged
A kind-only object.setLiveShape call now leaves each rectangle whose
corners already have the kind as it is, even when its transform keeps
a scale, and changes only the other targets. The Corner menu applies a
pending tool edit before it reads the selected rectangles. The popup
test checks that the list opened before it picks the Chamfer row.
2026-11-18 06:27:06 -08:00
dotCooCoo 095897d658 Merge main into feat/anchor-point-alt-link-handles 2026-11-18 06:26:39 -08:00
dotCooCoo cc52bf5042 Merge main into feat/field-x-multiply 2026-11-18 06:26:33 -08:00
Dylan M. Taylor 7841c6601b Merge remote-tracking branch 'origin/main' into pr-7907 2026-11-18 09:21:49 -05:00
dotCooCoo ccedee483f Merge main into fix/issue-7849 2026-11-18 06:21:28 -08:00
dotCooCoo 62ccc549f9 Merge main into fix/metafile-empty-artboard-first 2026-11-18 06:20:40 -08:00
dotCooCoo b3a54ba610 Merge main into feat/control-bar-shape-widgets 2026-11-18 06:20:08 -08:00
dotCooCoo e4379e39f1 Merge main into feat/attributes-url-count 2026-11-18 06:20:03 -08:00
dotCooCoo 3afba4bb35 Brushes: Image Brush stamps show on short strokes
Each 24 px stamp is now placed 6 pt wide, the size of the Scatter
Shapes art, so a 1 pt stroke on a 10 pt line shows at least one stamp
with every preset. The test checks a 10 pt line as well as the 180 pt
line.
2026-11-18 06:19:15 -08:00
dotCooCoo eb349d534d Links: leave reading a PNG's kept clipping path to its own fix
The loader change that read the clipping path a PNG or TIFF keeps also
changed File > Open and File > Place of plain images. It is now #8561,
with its tests, params text and docs, and this branch reads files as
main does.

For a distorted image, Relink and Update Links now read the new file's
clipping path from the PNG or TIFF it is stored as when the reader gives
none, as they already do for the old file. Unembed of a distorted image
from a PSD or PSB file, with or without a folder, therefore keeps the
clip group of that file's clipping path, and so does a later Relink to
the written file.

- Test: tests_psdread::unembed_keeps_the_clipping_path_of_a_distorted_psd
  (RGB file kept as PNG, CMYK file kept as TIFF, path and folder).
- Docs: docs/mcp.md, links.unembed params text, the progress-doc line.
2026-11-18 06:17:24 -08:00
dotCooCoo 86f821754f Merge main into feat/3d-graphics-inflate 2026-11-18 06:16:38 -08:00
dotCooCoo 5c87ce06b0 Merge main into feat/stipple-brush-library 2026-11-18 06:16:32 -08:00
dotCooCoo d959415d48 Merge main into feat/background-save-progress 2026-11-18 06:15:04 -08:00
dotCooCoo 8b930faed3 Merge main into feat/bleed-coverage-warning 2026-11-18 06:14:15 -08:00
dotCooCoo 153dbc89af Merge main into feat/polygon-side-widget 2026-11-18 06:13:55 -08:00
dotCooCoo 6d4af2cb6a Merge main into feat/object-mosaic-dialog 2026-11-18 06:12:45 -08:00
dotCooCoo 4d9620e18e Merge main into fix/i18n-psd-import-options-and-slices 2026-11-18 06:12:36 -08:00
ruchirguitar 4fe27f830c M7/G4: retype bounds readings tried and glyphs laid out (#4934)
Readings of a shape are capped by those tried, not those kept, so a shape
whose every reading fails stops at the cap. The layout check grows a
window from each line start, doubling while the type draws the outlines,
and starts the next line at a mismatch, so a line split at every glyph
costs about twice its glyphs, not half their square; a glyph budget
leaves anything past it as outlines. A tracked line of 450 glyphs: 259 ms.
2026-11-18 19:39:40 +05:30
dotCooCoo eea9c10bc3 Plug-ins: object.pattern.replaceArt joins the reviewed commands
Plug-ins may call object.pattern.replaceArt like the other pattern
commands, and every_command_is_reviewed passes again.
2026-11-18 06:08:53 -08:00
dotCooCoo 5b0f70f2f4 Merge main into feat/hold-shortcuts 2026-11-18 06:08:50 -08:00
dotCooCoo e3701d14b2 Merge main into feat/color-profile-ask-prompts 2026-11-18 06:03:19 -08:00
dotCooCoo 877fd21dca Merge main into feat/color-profile-ask-prompts 2026-11-18 06:03:13 -08:00
dotCooCoo e2dec218c8 Path Precision Tools: test that every Tangents choice keeps the same lines from a point
The dialog test for a point now compares the previewed lines' end points
across the External, Internal and All choices, confirms OK with each choice
and checks that the kept lines are the previewed ones, then undoes.

The params text, docs/mcp.md and the parity doc now say "at most" the
touching tolerance, matching the comparison in the code, and the parity doc
gives the tolerance's value.
2026-11-18 06:02:24 -08:00
dotCooCoo 602ecb9786 Merge main into feat/tangent-circle-tool 2026-11-18 06:02:18 -08:00
dotCooCoo 5aa4ce5709 Merge main into feat/color-wheel-opacity 2026-11-18 06:00:20 -08:00
dotCooCoo 9a9cdd95fd Merge main into feat/hpgl-options-dialog 2026-11-18 05:56:58 -08:00
dotCooCoo 9ff9cd9c1c Merge main into feat/kinsoku-sets 2026-11-18 05:56:50 -08:00
ruchirguitar 5e5003507e Merge remote-tracking branch 'upstream/main' into feat/4934-retype
# Conflicts:
#	docs/roadmap.md
#	docs/target-app-parity.md
2026-11-18 19:22:41 +05:30
ruchirguitar 1cffa0b862 M7/G4: retype review: tracked letters, outline check cost, poses (#4934)
The lone-glyph rule looks at lines as the outlines lie, before the layout
check splits them, so tracked one-contour letters (L, I, T, H, E) become
type. A shape keeps every glyph and pose it fits exactly, upright first
(an L, and a turned L half round; an I upright or upside down), and the
line around it chooses; a one-glyph line may turn to another candidate
to take the next glyph.

The whole-outline check flattens the shape once per shape, samples every
corner and points twice the tolerance apart, and asks a flat uniform grid
of segments. With Microsoft YaHei loaded: 300 CJK outlines in 350 ms
(1.9 s before), one line in 25 ms. FontDb::outline reuses
outline_uncached, and the compositing test covers knockout_shape.
2026-11-18 18:58:52 +05:30
yoriswind 390203c35b 6582: resolve status documentation after the Blend fix merged 2026-11-18 05:13:11 -08:00
BFlat dce8a0c05e Merge pull request #7065 from yoriswind/codex/5179-blend-spine-redraw-bounds
Fix redraw bounds for blends following a curved spine
2026-11-18 19:58:54 +07:00
yoriswind 91898148d6 6582: preserve Eraser behavior with current upstream documentation 2026-11-18 04:55:12 -08:00
yoriswind 1d28f45f58 6582: retain fitted gradients beneath enclosing geometry effects 2026-11-18 04:39:25 -08:00
BFlat a9863c13af Merge pull request #8564 from Hassan1305/fix-8538-locked-guides
Lock Guides: a marquee skips guides in groups, and a group's transform leaves them in place
2026-11-18 19:33:51 +07:00
yoriswind c076b85fcf Use rendered clip paint to verify witness setup 2026-11-18 04:04:44 -08:00
BFlat 866433867b Merge pull request #8406 from dotCooCoo/feat/pressure-sensitive-brush-library
Brushes: Add original Pressure Sensitive library
2026-11-18 18:41:39 +07:00
yoriswind 242695b1a1 Add fixed pinning-only paint preservation witnesses 2026-11-18 03:28:38 -08:00
BFlat a97b205bf1 Merge pull request #8524 from dotCooCoo/feat/save-for-web-shift-color
Save for Web: double-clicking a color-table swatch shifts that color
2026-11-18 18:26:09 +07:00
BFlat ff0f7dcac5 Merge pull request #8506 from dotCooCoo/feat/point-tangents
Path Precision Tools: Common Tangents draws the lines from a point to a closed path
2026-11-18 18:25:50 +07:00
BFlat 91c6a702c6 Merge pull request #8535 from dotCooCoo/fix/dimension-line-level
Dimension tool: a dimension line placed beside another lands on its level
2026-11-18 18:25:01 +07:00
yoriswind 56b4fcb8c6 Fix redraw bounds for rotated Blend effects
Measure effect-bearing Align to Path content after spine placement, retaining
the conservative envelope and covering damage containment with original
software-rendered move and Undo controls.
2026-11-18 03:19:27 -08:00
HassanKhan 41f7d4e06a #8538 review: drop kept guides on transform, finish the marquee rule
A transform no longer leaves locked guide paths in place: a guide in a
group moves with its group again, as on main. Keeping them put made
Align, Transform Each, the pixel-grid snap and Objects on Path measure or
place art the transform did not move. Scaling::keep_guides and its
engine wiring and test are removed.

The marquee rule now covers the rest of the selection side, while guides
are locked or hidden:
- the guide rule goes down the walk as an explicit Rules value instead
  of a thread-local guard;
- an Enclosing Lasso loop does not take a compound path for its guide
  contours;
- an enclosing marquee measures a group without its guide paths
  (Node::without_guides);
- Direct Selection's marquee takes no anchor or crossed segment of a
  guide path.

Docs: the Guides area row, its evidence entry and the M1 row describe
the marquee behaviour; status lines and revision rows say a guide in a
group still moves with it.
2026-11-18 16:15:04 +05:00