Commit Graph
15489 Commits
Author SHA1 Message Date
BFlat 40d6a2bc3e Merge pull request #7354 from dotCooCoo/fix/hu-message-rows
i18n: Hungarian has a row for 1,813 of the messages the untranslated report lists
2026-11-15 00:38:11 +07:00
BFlat d89f593bfa Merge pull request #7380 from ncic/pencil-cursors
Pencil: shows where a stroke continues, connects and closes
2026-11-15 00:38:01 +07:00
dotCooCoo 8a76bdf9c7 Merge main into fix/opentype-ligature-note-every-frame 2026-11-14 09:37:58 -08:00
dotCooCoo 1418c5a583 Merge main into fix/wireframe-transform-measures-shadow 2026-11-14 09:37:49 -08:00
dotCooCoo df7a14bb4d Merge main into fix/export-cull-brushed-path-art 2026-11-14 09:37:44 -08:00
dotCooCoo 10ec1ca736 Merge main into docs/localization-indonesian-bosnian 2026-11-14 09:37:35 -08:00
dotCooCoo 8f96314122 Merge main into fix/ai-save-outlined-wrap-object 2026-11-14 09:37:34 -08:00
dotCooCoo 3d724c119e Merge main into fix/graph-wedge-legend-black-kept 2026-11-14 09:37:24 -08:00
dotCooCoo 6d6c632728 Merge main into fix/learn-reset-progress-doc 2026-11-14 09:37:23 -08:00
dotCooCoo 3742b23cea Merge main into fix/vi-missing-message-rows 2026-11-14 09:37:19 -08:00
dotCooCoo 6e62423639 Merge main into fix/live-paint-info-every-row 2026-11-14 09:37:03 -08:00
dotCooCoo 53d28fc9bf Docs: the File formats row names the graphs .ai saves keep live
The File formats area row no longer lists grouped column, stacked column,
line and area graphs among the live objects a saved .ai writes as their
art, and its evidence names the graph round-trip tests.
2026-11-14 09:33:14 -08:00
dotCooCoo 4509c208d6 Merge main into perf/flatten-held-guides-one-walk 2026-11-14 09:31:15 -08:00
dotCooCoo d8a25c4e9b Merge main into fix/clip-effects-hit-test 2026-11-14 09:30:12 -08:00
dotCooCoo 1d94c97425 Selection: symbol parts count the Preview of the instance's layers
Direct Selection on a dynamic symbol's instance below a layer whose
Preview is off tested and outlined the art in Preview, where the canvas
draws it in outline with the plain clipping paths. When a clipping
path's effects left no region, a selected object in its clip group kept
an outline cut to the plain clipping path.

- `hit::symbol_part_at` and `hit::symbol_part_outline_in_view` count the
  layers around the instance, the isolated container and the layers
  around it apart, as clicks outside symbols do.
  `symbol_part_outline_in_view` takes the click options in place of the
  outline flag.
- The outline of an object is empty when the effects of a clipping path
  around it leave no region.
2026-11-14 09:30:12 -08:00
dotCooCoo 4b5c09c543 Merge main into fix/paste-copied-file-size-limit 2026-11-14 09:28:46 -08:00
dotCooCoo c8ce44acb6 Merge main into fix/confined-exports-script-paths 2026-11-14 09:28:41 -08:00
dotCooCoo 9838e4897d Merge main into fix/type-no-op-undo-more 2026-11-14 09:28:29 -08:00
dotCooCoo 2925fb4487 Merge main into feat/da-complete-messages 2026-11-14 09:25:42 -08:00
dotCooCoo 4872620853 Merge main into fix/svg-raster-keeps-resolution 2026-11-14 09:25:37 -08:00
dotCooCoo 4832f06ea4 Merge main into fix/pdf-tiff-keeps-icc 2026-11-14 09:25:31 -08:00
dotCooCoo b9f3cf7cc7 Merge main into fix/custom-toolbar-errors-translated 2026-11-14 09:22:38 -08:00
dotCooCoo d8605229cd Merge main into fix/3d-shadow-builds-once 2026-11-14 09:22:36 -08:00
dotCooCoo 40eafe9c64 Merge main into fix/ai-wrap-options-edge-cases 2026-11-14 09:22:28 -08:00
dotCooCoo f05455a259 Merge main into fix/blend-reversed-key-stroke-direction 2026-11-14 09:19:23 -08:00
dotCooCoo 585660d12d Merge main into fix/singular-messages-translated 2026-11-14 09:19:18 -08:00
dotCooCoo 87da8132eb Merge main into fix/ai-envelope-budget-warped-type 2026-11-14 09:19:15 -08:00
dotCooCoo c454a5ad3b Merge main into fix/fileinfo-control-characters-message 2026-11-14 09:15:45 -08:00
dotCooCoo ed03357502 Merge main into feat/arrange-nest 2026-11-14 09:12:06 -08:00
dotCooCoo ef4b852df6 Merge main into fix/ru-message-rows 2026-11-14 09:07:10 -08:00
dotCooCoo 77d4c1cc33 Merge main into fix/graph-series-group-opacity 2026-11-14 09:06:41 -08:00
dotCooCoo 9f9cd4815f Merge main into fix/i18n-justification-order-message 2026-11-14 09:01:51 -08:00
dotCooCoo 6e9b6f0311 Merge main into fix/composite-font-error-translations 2026-11-14 09:01:49 -08:00
dotCooCoo c8f046c74d Merge main into fix/aligned-paint-rows-of-design-art 2026-11-14 09:00:08 -08:00
dotCooCoo f8e4a186bd Merge main into perf/remove-breaks-thread-frames-once 2026-11-14 08:59:36 -08:00
dotCooCoo ae39914b9f Remove Breaks: a partly selected story's frames are gone through once
When only some frames of a threaded story are selected, Remove Line
Breaks and Remove Paragraph Breaks built the story's frame list again
for every selected frame of it, so the work grew with the square of the
frame count. The command now notes a thread once its story is found not
to be selected in full, and reads that thread's other selected frames
on their own without going through the thread again. Each selected
frame still loses its own breaks, in the order selected, as one undo
step.

A test-only counter in threads.rs counts story_in calls, and
remove_breaks_goes_through_a_partly_named_story_once checks both break
kinds with frames named out of order and twice.
2026-11-14 08:58:57 -08:00
dotCooCoo 40d0b31cbe Effects: the clipping path doc comment says what the member limit leaves of a compound path
When the member limit is reached among the paths of a compound clipping
path that has geometry effects of its own, the compound path still
becomes one path of its reshaped geometry. The paths that were not
visited go into that geometry as they are, and their own effects are
not applied. The doc comment of with_clip_effects_applied_while said
that they keep their effects, which holds for the members of a group or
layer only.

New test a_compound_clipping_path_takes_its_own_effect_at_the_member_limit
covers the compound path.
2026-11-14 08:54:44 -08:00
dotCooCoo 90a2bd0494 Graphs: aligned paint and stroke rows given with a design's art are rows of its stack
paint.setFill, paint.setStroke, paint.invert and paint.complement with an
item, stroke.set, stroke.setAdvanced, paint.editGradient,
paint.setGradientGeom and the paint.freeform edits read an item given with
aligned: true and the art of a graph design in a series first as a row of
the art's stack, as appearance.setItem and transparency.set do. Each other
object edits the row equal to it and an object without one is left as it
is. A row the art does not have, a row of the other kind, or a row no
other object has is an error, also when the art is the only object given,
and the document and its undo history stay as they are. Without stroke,
the gradient commands edit the kind of the art's row.

The objects and ids the commands report, a gradient spanning the
selection, and the last color and last gradient count only the objects
whose row was edited.
2026-11-14 08:54:28 -08:00
dotCooCoo 11bd1659f5 Selection: symbol parts follow the region a clipping path's effects give it
Direct Selection on a dynamic symbol's instance picked an object in the
region its clipping path's effects give it, but cut the object's outline
to the plain clipping path, so the outline came out empty or cut short.
In a layer of the art whose Preview is off, it tested the effect-shaped
region and the fills, where the canvas draws the plain clipping path and
outlines.

- `hit::symbol_part_outline` cuts to the bounds of the effect-shaped
  region. The new `hit::symbol_part_outline_in_view` takes the view's
  outline state, and the Direct Selection overlay passes it.
- `hit::symbol_part_at` tests art in a layer whose Preview is off in
  outline.
2026-11-14 08:51:22 -08:00
dotCooCoo 10225d82e5 Export: an HP-GL plot of the art's bounds leaves out images in symbol art
The bounds of a plot of the art's bounds no longer count the objects a
plot leaves out (placed images, objects at 0% opacity, unpainted paths)
when they sit in the art of a symbol. An instance whose symbol holds
nothing else is left out, so a document with only such instances is
refused with "nothing to export". The art of a dynamic symbol, and of a
group with effects, fills or strokes of its own, is measured whole.
2026-11-14 08:50:21 -08:00
dotCooCoo dac3fe54d8 Learn: Gujarati rows for the new command labels
The Gujarati catalog lists every menu and command label, and it had no
rows for Show Learn Tab, Show Skill and Back One Level. It now has them.

docs/mcp.md said the For you and Skills tab buttons run learn.tab. A tab
button runs it only when the panel shows the other tab, and the page now
says so.
2026-11-14 08:49:48 -08:00
dotCooCoo 84532dc0f2 Merge main into fix/svg-data-url-decode-bounded 2026-11-14 08:48:39 -08:00
dotCooCoo bb1b7e4f66 SVG import: image data URLs are decoded once each, within 512 MB per import
usvg decodes an image data URL every time it converts the element that
holds it, a `<use>` copy, a filter or a nested SVG image included, before
the image resolver is called, and nothing bounded the bytes decoded per
import.

Before usvg reads the imported SVG and each SVG shown as an image, every
`href` and `xlink:href` of an `<image>` or `<feImage>` that is a data URL
is replaced with a key. The resolver decodes each URL once, the first
time its key comes, and every later use gets the same image. All data
URLs of one import decode to at most 512 MB together (MAX_DATA_URL_BYTES):
decoding stops where a URL would pass it, and that image is left out with
a warning. A link spelled like a key gets a key too and is still read as
that link.
2026-11-14 08:47:35 -08:00
dotCooCoo d3789f2b0c Graphs: outlined labels and opened .ai graphs keep the plot in place at the next redraw
- A graph opened from a .ai file now saves `placedArt` too. Moving or
  restyling one of its labels before the first redraw no longer moves or
  stretches the plot.
- Type > Create Outlines on a graph's labels now adjusts the saved bounds,
  so the outlines do not read as a move at the next redraw. A move of
  the graph made before the outlining is still followed.
- A `placedArt` with no width or height falls back to the bounds of all
  of the art, as a graph saved without it does.
- `art_bounds` moves to the doc crate so the .ai reader can use it.
- docs/mcp.md describes `placedArt`, `placed` and when a redraw follows
  a move.
- Tests: a legend across the top, a legend after a right value axis and
  legend labels of several lines keep the plot in place through label
  size changes; moving a category label on its own; outlining labels
  before and after a move; a flat `placedArt`; a label moved in an
  opened .ai graph.
2026-11-14 08:47:03 -08:00
BFlat 460d211995 Merge pull request #7615 from storytold/fix/brush-freehand-needs-points
Keyboard Shortcuts: Paintbrush stroke needs points (fix main)
2026-11-14 23:46:08 +07:00
dotCooCoo 04df80f4e5 Docs: the Image Trace evidence lines give the continuous-tone cutoff as a tenth 2026-11-14 08:42:56 -08:00
dotCooCoo 2046c646fa Image Trace: blend settling caps its pairs of label changes at the size of a label copy
The pairs a band or group of strips keeps for its changed labels now grow
by doubling only up to the count that fits in a copy of its labels, so they
never take more memory than that copy. The next change moves them into the
copy.

- Tests: most of a share changing gives the same labels as when few change,
  for both settle passes and every share size (the copy path); both settle
  passes return a picture with no pixels unchanged.
2026-11-14 08:42:53 -08:00
dotCooCoo a4c513f101 Live Paint: Make starts a closed edge where its path starts
The edge built from a closed path that nothing cuts started at the anchor the
planar map gave it, so dashes, a width profile or a brush began at a different
place than on the path. The edge now starts at the anchor where its path
starts. An edge with no anchor there takes its dashes from its own start and
leaves off the profile and brush.

The command description and the progress doc say that dashes aligned to
corners and path ends are not fitted to cut edges.
2026-11-14 08:39:47 -08:00
dotCooCoo 3de44da6a6 Image Trace: a gray photo with little noise counts as continuous tone
The continuous-tone check exempts a neutral or single-curve picture when
sixteen colors leave at most a fifth of the error of eight. The
exemption is for flat art of up to sixteen clean levels, where sixteen
colors leave no error. A gray photo with 0 to 2 levels of noise measures
0.19, under the cutoff, so it was classed as flat art and traced without
smoothing, while its color original and the same photo with more noise
were smoothed.

The cutoff is now a tenth (VectorCraft's own value). Clean gray, sepia,
single-hue and duotone art of up to sixteen levels stays flat art.

Docs: docs/target-app-parity.md.
2026-11-14 08:37:49 -08:00
dotCooCoo da8f6ab721 Smooth tool: a whole closed path with a corner starts nearest its old start
When a drag reaches every anchor of a closed path that has a corner, the
path is cut open at the corner and refitted. The result started at the
corner unless the refit kept an anchor exactly at the old first anchor.
It now starts at its point nearest the old first anchor, at an anchor
there or at a new anchor split into the curve, as the other closed-path
cases do.
2026-11-14 08:31:41 -08:00