Commit Graph
5780 Commits
Author SHA1 Message Date
dotCooCoo 1ec44403c1 SVG import: reading the links of linked SVG files stops at the read and text limits
Reading an SVG file that an <image> links to, and gathering its own
links, counts toward the 1,024 reads and 512 MB of text, wherever the
file is linked from. Inside a linked SVG file, every file read for its
links, raster or SVG, also counts toward the 512 MB before it is
decoded, and once either limit is passed no file is read there: the
image is left out with a warning. An SVG file the imported SVG links to
is still shown past the limits, but the files its own links name are
not read, with the same warning. Rasters the imported SVG links to are
read as before.

Every SVG file read is kept by its file, wherever it was read, so
another href to it (another spelling, or the same file from another SVG
file) does not read it again, past the limits too. An SVG file whose art
depends on where it is shown (too deep there for its links to be read,
or with a link that leads back) is not kept, so a link to it from a
shallower place shows the rasters it links to.
2026-11-14 05:20:31 -08:00
dotCooCoo 7dbbd8334f Merge main into fix/svg-nested-image-links-read 2026-11-14 05:20:28 -08:00
dotCooCoo 2c897e62f5 Merge main into fix/trace-flat-16-levels 2026-11-14 05:19:16 -08:00
dotCooCoo 49ed212582 Merge main into fix/text-zoom-marquee-space-moves 2026-11-14 05:15:49 -08:00
dotCooCoo 23d2c07c8a Merge main into fix/tool-overlays-reuse-settled-outline 2026-11-14 05:15:44 -08:00
dotCooCoo 36c62e14d2 Panels: drag autoscroll scrolls the right way in a short list
In a list view shorter than 56 pt the 28 pt top and bottom bands of the
drag autoscroll overlapped, so their speeds partly canceled: in a 40 pt
view a pointer 19 pt down scrolled at 20 pt/s instead of 74. In a view
shorter than 28 pt a pointer just outside one edge scrolled toward the
other. Each band is now at most half the view, so the pointer is in one
band at most. Views of 56 pt or more keep their bands and speeds.

The band and speed math moves into drag_scroll_speed, with a test of
short, tall and invalid view heights.
2026-11-14 05:14:11 -08:00
dotCooCoo b562fc1c54 Text wrap: an out-of-range or non-number offset is refused
object.textWrap.make and object.textWrap.options kept an offset outside
-1000 to 1000 pt at the nearer end of the range, and read an offset that
is not a number, or an invert that is not true or false, as if it had
been left out. Both commands now return an error for such a value and
leave the wrap options and the undo history unchanged. An omitted or
null value still takes the default (6 pt and no invert for Make, the
current options for Text Wrap Options), and Text Wrap Options with only
null values reads the current options. A stored offset outside the range
is kept when only Invert Wrap changes.

The MCP text_wrap tool checks offset, invert and release before it
changes the selection, so a refused call changes nothing, and a release
that is not true or false is an error instead of making a wrap.
2026-11-14 05:12:58 -08:00
dotCooCoo 7aad123a00 Merge main into fix/invert-wrap-offset-band-exact 2026-11-14 05:11:42 -08:00
dotCooCoo b3c2fdab21 Merge main into fix/svg-raster-keeps-resolution 2026-11-14 05:11:34 -08:00
dotCooCoo 01359bc753 Image Trace: a trace made off the UI thread applies only in its own document
A trace handed in for imageTrace.make or imageTrace.makeAndExpand was
matched by its object, image, pixels and settings alone, so a trace made
in one document could stand in for the command in another open document
with the same image and settings. The trace's inputs now carry the
document's uid: TraceRun::current is false in any other document, and the
commands there drop the trace handed in and trace their own image, as one
undo step.

Test: a_trace_run_applies_only_in_its_own_document.
2026-11-14 05:11:34 -08:00
dotCooCoo 7c4fc5ea62 Merge main into docs/mcp-own-folders-arrowheads 2026-11-14 05:11:34 -08:00
dotCooCoo 0c1858f91e Merge main into fix/inflate-lazy-puffs 2026-11-14 05:11:29 -08:00
dotCooCoo dbb145a88b Merge main into fix/type-no-op-undo-more 2026-11-14 05:11:18 -08:00
dotCooCoo 0bdf6823f3 Merge main into fix/svg-masked-shadow 2026-11-14 05:11:15 -08:00
dotCooCoo bc24ad5352 Symbols: a symbol nested in symbol art is measured by its own art
Document::symbol_art_bounds measured a symbol's art without the
document, so an instance of another symbol in that art counted as the
20 x 20 square. It now measures the art through SymbolBoxes, so a nested
instance takes its own symbol's art, and an inline graphic of the outer
symbol is sized by it and follows it when that symbol changes.

- The inline resolve order also follows the instances that size a
  symbol's art, so a symbol is measured after the type in the art of
  the symbols it holds is laid out again.
- A symbol whose art reaches itself through an instance and an inline
  graphic is an empty slot. Only instances that the measurement uses
  count, so one a clipping path hides adds no dependency.
- A missing symbol, a symbol without art, a symbol that holds an
  instance of itself, and nesting 32 deep still measure as the square.
- SymbolBoxes finds symbols through a name index built once, and the
  inline resolve pass and inline_art_bounds share one index, instead
  of scanning the symbol list for each lookup.
2026-11-14 05:10:41 -08:00
dotCooCoo 8de86c9144 Merge main into fix/svg-rtl-absolute-chunks 2026-11-14 05:10:03 -08:00
dotCooCoo 9ced1772f4 Merge main into fix/sv-missing-message-rows 2026-11-14 05:09:50 -08:00
dotCooCoo 893af5b3d6 Merge main into fix/perspective-grid-noop-undo 2026-11-14 05:07:49 -08:00
dotCooCoo b73de03cfd Merge main into fix/pdf-tiff-keeps-icc 2026-11-14 05:07:19 -08:00
dotCooCoo 0b37cf2880 Merge main into fix/cs-missing-message-rows 2026-11-14 05:05:52 -08:00
dotCooCoo 1818bacfce Merge main into fix/no-op-undo-steps 2026-11-14 05:05:30 -08:00
dotCooCoo bd672151fa Merge main into fix/issue-7525 2026-11-14 05:02:54 -08:00
dotCooCoo 0296e9e12f Merge main into perf/flatten-sweep-staggered-boxes 2026-11-14 05:01:31 -08:00
dotCooCoo 86bf36ad3a Merge main into fix/uk-missing-message-rows 2026-11-14 05:00:34 -08:00
dotCooCoo 98bf61bb53 Merge main into fix/objects-on-path-widgets-flatten-once 2026-11-14 05:00:14 -08:00
dotCooCoo b79ca7b1f7 Merge main into fix/dimension-second-point-guides 2026-11-14 04:59:53 -08:00
dotCooCoo 190e4be825 Merge main into fix/3d-masked-cap-graphic-once 2026-11-14 04:59:36 -08:00
dotCooCoo 0843e1e331 Merge main into fix/tiled-documents-own-profiles 2026-11-14 04:58:21 -08:00
dotCooCoo 3835fb23f5 Merge main into fix/eps-bitmap-glyph-rollback-test 2026-11-14 04:57:25 -08:00
dotCooCoo 0c1fb89757 Merge main into fix/map-links-stop-plates 2026-11-14 04:57:21 -08:00
dotCooCoo c482037570 Merge main into fix/3d-shadow-builds-once 2026-11-14 04:57:13 -08:00
dotCooCoo 7e28425f1c Merge main into feat/ai-insert-aki 2026-11-14 04:56:24 -08:00
dotCooCoo c826a254d0 Merge main into fix/vi-missing-message-rows 2026-11-14 04:56:19 -08:00
dotCooCoo bad6ee22ea Merge main into fix/place-text-utf16-no-bom 2026-11-14 04:55:27 -08:00
dotCooCoo 9911bb07bc Merge main into test/swatch-batch-spot-options-defaults 2026-11-14 04:55:11 -08:00
dotCooCoo a5664e3030 Merge main into feat/ai-style-named-gradients 2026-11-14 04:54:56 -08:00
dotCooCoo 09ac56f0c0 Merge main into feat/da-complete-messages 2026-11-14 04:54:52 -08:00
dotCooCoo 3474f7d123 Swatches: test Spot Colors options and Default Swatches replace in a batch
swatch.spotOptions and swatch.resetDefaults {replace: true} rewrite the
fill and stroke for new art through map_default_paints, which also runs
for command.batch steps. Two tests now run each command on its own and
as a batch step followed by a rectangle, and check that the default
paints and the rectangles match: a Lab spot link keeps its tint and
takes the Lab values or their CMYK equivalent in both directions, and a
link to a swatch the replace removes is dropped while the color stays.
Both tests fail when map_default_paints skips every interaction.

The progress line for swatch steps in a batch names the two commands and
the new tests.
2026-11-14 04:54:25 -08:00
dotCooCoo 0c892b5500 Merge main into fix/blend-reversed-key-stroke-direction 2026-11-14 04:51:02 -08:00
dotCooCoo b651301b1e Merge main into fix/learn-panel-commands 2026-11-14 04:50:50 -08:00
dotCooCoo 3597752c63 Merge main into fix/graph-wedge-legend-black-kept 2026-11-14 04:50:46 -08:00
dotCooCoo baf9905ba0 Merge main into fix/plugin-store-folder-lock 2026-11-14 04:50:30 -08:00
dotCooCoo 9fb76c5c7a Merge main into fix/remove-breaks-named-locked-type 2026-11-14 04:50:25 -08:00
dotCooCoo 84669d1c88 Merge main into fix/live-paint-make-drawn-rows 2026-11-14 04:50:21 -08:00
dotCooCoo 4ca74c02c8 Merge main into fix/pt-br-missing-message-rows 2026-11-14 04:49:50 -08:00
dotCooCoo 496ed1c9e9 Merge main into fix/tabbed-rtl-negative-tracking-break-bound 2026-11-14 04:49:19 -08:00
dotCooCoo add6938441 Merge main into fix/links-stored-brush-art 2026-11-14 04:49:13 -08:00
dotCooCoo 5dcf172325 Merge main into fix/monitor-profile-after-blending 2026-11-14 04:48:42 -08:00
dotCooCoo abf93e31d7 Canvas: translucent art blends with the paper before the monitor profile
With Use Monitor Profile for Canvas converting, the art's raster was
converted on its own and then drawn over the separately converted
paper, so a translucent fill or an antialiased edge showed
blend(convert(art), convert(paper)) rather than the converted blend.

Each pixel with partial alpha over an artboard's paper, a colored
artboard, the transparency grid or Hide Artboards' paper now gets the
color that, drawn over the converted paper, shows the art blended with
the paper in sRGB and then converted. Its alpha is kept, so a grid
drawn in back still shows through. Opaque and empty pixels, art over
the pasteboard and Outline convert as before, and with no profile to
convert into nothing changes.

The frame rendered whole, the part an edit renders again, the render
worker's frame (and the pan fill), and the other windows' panes all
use the same rule. The paper is part of the canvas cache key, so
turning the grid on or hiding the artboards renders the art again.
2026-11-14 04:48:22 -08:00
dotCooCoo 1fe52fc5b6 Merge main into fix/separations-spot-stop-plates 2026-11-14 04:47:00 -08:00