Commit Graph
15419 Commits
Author SHA1 Message Date
dotCooCoo 554369eae0 Merge main into fix/graph-axis-paint-kept 2026-11-14 21:49:46 -08:00
dotCooCoo 3f692b0c0e Merge main into fix/tool-image-trace-envelope-symbol-type-and 2026-11-14 21:47:03 -08:00
dotCooCoo 7c82381f5b Merge main into fix/graph-axes-group-edits-kept 2026-11-14 21:46:50 -08:00
dotCooCoo 93789dd3e3 Merge main into fix/graph-design-art-paint 2026-11-14 21:45:07 -08:00
dotCooCoo 918105d945 Recolor Artwork: Find shows the selected rows' art and dims the rest
The Assign tab's Find button finds the colors of the selected rows in
the art. While it is on, their art shows as the preview shows it (its
current colors with Preview off) and the rest of the selected art,
preserved colors included, shows a 25% tint of its current colors. A
second click shows the art as before. Find records no undo step, and OK
applies every row as it does with Find off. `findColors` is the dialog
field.
2026-11-14 21:44:43 -08:00
dotCooCoo 5aa061376f Merge main into feat/psd-import-options 2026-11-14 21:44:38 -08:00
dotCooCoo 496cdb54f5 Merge main into feat/ai-save-nested-envelope 2026-11-14 21:44:34 -08:00
dotCooCoo b8d4780611 3D (Classic): Preserve Spot Colors keeps spot inks in shaded faces
Extrude & Bevel (Classic), Revolve (Classic) and Rotate (Classic) take a
preserveSpotColors param and a Preserve Spot Colors checkbox on the
Lighting tab. When it is on, a fill or stroke linked to a spot or global
swatch stays linked on every face: the highlight lowers the swatch's
tint, and a face that darkens gets black over it, multiplied and
overprinting, so a spot color keeps its own plate in separations and PDF.
The checkbox is unavailable while Shading Color is Custom, and the param
does nothing then. With the option off, the faces draw as before. A
value that is not true or false is refused.
2026-11-14 21:43:44 -08:00
dotCooCoo aa7166be0b Merge main into fix/after-the-last-missing-link-question-the-open-s 2026-11-14 21:41:46 -08:00
dotCooCoo b33e62a8fe Type: a burasagari mark hangs where it is drawn at the line's right end
On a tabbed line measured as drawn, a full stop or comma now hangs when
it is last in the visual order of the line's levels (UAX #9 L2, with
each tab and the spaces before it at the paragraph's level), whatever
its own level. A mark at level 2, or a lone right-to-left mark after
left-to-right text, hangs again; a mark inside a right-to-left run
still ends the line at an earlier break.

A mark that No Break or Bunri-Kinshi keeps with the characters after
it no longer ends the line as if it hung: the line would end with
those characters, which are drawn inside it, so it ends at an earlier
break.
2026-11-14 21:40:05 -08:00
dotCooCoo 021e4dc4ca Graphs: a style added to a label or axis line keeps only the rows it shows
graphicStyle.apply with add stored both the fill and stroke rows a graph
label or line showed for its kind. A fill-only style added to one line
copied that line's old stroke over the stroke another line had set, and
the next redraw lost it. The kind now keeps only the kinds of row visible
in the style, with the other kind of row kept in its place relative to
the characters.
2026-11-14 21:38:42 -08:00
BFlat 78be970bc3 Merge pull request #7437 from dotCooCoo/fix/tr-draw-label
i18n: Turkish Draw labels use the drawing verb instead of a tied game
2026-11-15 12:38:28 +07:00
BFlat 1a596c0362 Merge pull request #7653 from dotCooCoo/fix/svg-export-confined-image-links
MCP: SVG output under read roots refuses to name a linked image file outside them
2026-11-15 12:38:16 +07:00
BFlat 82b0c915a3 Merge pull request #7734 from dotCooCoo/feat/place-show-import-options
Place: Show Import Options asks for each file's import options, or uses the ones confirmed last
2026-11-15 12:38:07 +07:00
BFlat b4bd916141 Merge pull request #7737 from dotCooCoo/feat/select-similar-button
Control bar: Select Similar Objects selects by the attribute its menu keeps
2026-11-15 12:37:57 +07:00
dotCooCoo db1feeea10 Effects: a painted clipping path's fill and stroke effects apply before a group's
A clipping path that paints a fill or stroke kept the geometry effects of
those fills and strokes live, so a geometry effect on the clip group or on
a group around it reshaped the path first and the fill's or stroke's
effect applied after it, on the canvas and in export alike. Unpainted
clipping paths already applied them first.

The clipping path now becomes one path per fill and stroke with those
effects applied, as an unpainted one does, in a group marked as such
pieces (`NodeExtras::clip_pieces`, saved with the document). `clip_paint`
paints that group's fill pieces behind the clipped art and its stroke
pieces over it, as the path paints its fills and strokes, also after an
effect around it turns a piece into a compound path or puts it in a group.
The clip group's visual bounds take in the stroke pieces' width, and HP-GL
export draws the clipping path once, in its stroke pieces.

An export of a painted clipping path with such effects in a clip group
without effects of its own also keeps its fill and stroke now, where the
baked pieces painted nothing.
2026-11-14 21:37:54 -08:00
BFlat 6dd478a420 Merge pull request #7456 from dotCooCoo/feat/ai-save-envelope-case
.ai save: a top object with uneven sides stays a live envelope
2026-11-15 12:37:47 +07:00
BFlat acf04dd00f Merge pull request #7724 from dotCooCoo/fix/ai-off-artboard-art
.ai import: symbol instances in older files are read, so art outside the artboard opens
2026-11-15 12:37:39 +07:00
BFlat a1f10d4566 Merge pull request #7643 from dotCooCoo/fix/aligned-paint-rows-of-design-art
Graphs: aligned paint and stroke rows given with a design's art are rows of its stack
2026-11-15 12:37:29 +07:00
BFlat ba350c2e9f Merge pull request #7745 from dotCooCoo/fix/svg-css-not-rule-budget
SVG import: :not() rules test only the rules indexed for the element
2026-11-15 12:37:19 +07:00
BFlat 8fa6a7b881 Merge pull request #7742 from dotCooCoo/fix/swatch-conflict-paste-document
Swatch Conflict: OK pastes nothing after another document became active
2026-11-15 12:37:11 +07:00
dotCooCoo 814cae044f Clipping: painted type keeps its fill and stroke in a group with geometry effects
A clip group whose clipping path is type with a fill or stroke lost that
paint when a group around it had a geometry effect. Outlining the type
for the effect replaced it with a group of glyph outlines, and a group
paints nothing as a clipping path. Distort effects lost it on the canvas
and in SVG and PDF; Transform effects that only move lost it in SVG and
PDF when other type in the group stayed type.

The type's outlines now clip, its fills become art behind the clipped
art inside the clip, and its strokes become art over it outside the
clip, as the canvas draws an unaffected clip group.
2026-11-14 21:34:17 -08:00
dotCooCoo ac9560ed26 Merge main into fix/directional-pixel-effects-before-a-rotating-or 2026-11-14 21:34:17 -08:00
dotCooCoo a367484597 Properties: a Graph section opens Graph Type and Graph Data for a selected graph
With one graph selected, or series of one graph picked with Group
Selection, the Properties panel shows a Graph section. Graph Type...
and Graph Data... open the dialogs of Object > Graph > Type... and
Data.... Column... shows when every series it would change draws
columns or bars, and Marker... when every one draws lines, scatter
points or radar lines; both open their Object > Graph dialogs.

The section lives in panels/properties/graph.rs.
2026-11-14 21:31:56 -08:00
dotCooCoo bcadfc7ac8 Info: the panel follows the tool in use
While the Selection, Direct Selection or Group Selection tool moves the
selection, or the Gradient tool draws a vector, W and H show the change
in x and y, with the distance and the angle under them. A Scale tool
drag shows its percentages; a Rotate, Reflect or Shear tool drag shows
the center of the selection's box and its angles. The Zoom tool adds the
magnification and the Paintbrush the name of its brush.

W and H follow Use Preview Bounds. With several objects selected, the
panel shows only the fill, stroke and type values they share, and Show
Options adds a tint's swatch and percentage and a gradient's swatch name.

- Tool::readout and Readout (crates/tools/src/readout.rs).
- info.readout returns the selection's size and the tool's readout.
- Docs: docs/mcp.md, docs/ui-parity.md.
2026-11-14 21:31:28 -08:00
dotCooCoo 3e84661c3d Merge main into feat/the-basic-shape-tools-show-their-items 2026-11-14 21:30:59 -08:00
dotCooCoo 09a313ae90 Merge main into fix/create-outlines-drops-the-type-object-s-own 2026-11-14 21:30:51 -08:00
dotCooCoo 9e533bfd46 Merge main into fix/outlined-strokes-under-a-non-uniform-type 2026-11-14 21:27:28 -08:00
dotCooCoo 4516cff69a Perspective: Automatic Plane Positioning checks a held plane's own place and finds skewed intersections
- perspective.grid.set rejects an offset that puts a plane behind the
  viewer even while Automatic Plane Positioning holds that plane, so the
  plane does not vanish when positioning ends.
- The gridline intersection nearest the pointer is found on strongly
  skewed planes: each drawn line is searched at the point nearest the
  pointer on the page, instead of a few cells around the pointer's
  inverse.
- Moves while an artboard name is pressed no longer reach the tool as
  hover, so Shift does not position the plane while the button is down.
2026-11-14 21:26:52 -08:00
dotCooCoo 9afd71bcb6 Merge main into fix/a-rasterize-effect-before-a-scaling-transform 2026-11-14 21:25:33 -08:00
dotCooCoo a5493a1cd0 Paths: editing one anchor of a long path keeps one chunk of anchors for undo
A subpath's anchors are now an `Anchors` list held in chunks of up to
256 anchors behind `Arc`s. Copying a path copies the chunk table and
shares the chunks, and editing one anchor copies only the chunk that
holds it, so the undo step of a one-anchor edit no longer keeps a copy
of every anchor of the path. Inserting or removing an anchor copies the
chunk it is in and rebuilds the table. Reads and edits follow the Vec
and slice methods the code used; files write and read each subpath's
anchors as one list, as before, within the same anchor read budget.

The undo memory estimate counts only the chunks the other version of
the path does not hold, and the renderer's kept paths compare only the
chunks an edit copied when they look for moved anchors.

Moving one anchor of an open path of 10,000 or 200,000 anchors
(path.moveAnchor, path.setHandle, path.moveAnchors, a nudge) keeps at
most 48 KiB in its undo and redo steps, where it kept 56 bytes per
anchor.
2026-11-14 21:25:15 -08:00
dotCooCoo 4cfa27770d Merge main into fix/a-reverted-document-keeps-its-uid-so-a-trace 2026-11-14 21:24:57 -08:00
dotCooCoo 923ba3d1bb 3D and Materials: the 3D area row lists Render Settings › Wireframe and its tests 2026-11-14 21:22:26 -08:00
dotCooCoo 38edd52b3c Graph Type: keep the dialog to its document and current data
- OK closes without a change when another document became active while
  the dialog was open, since graph ids repeat between documents.
- The calculated tick values are recalculated when the document's
  revision changes, so a data edit made while the dialog is open gives
  Override Calculated Values the new values.
- Each overridden Minimum, Maximum or Divisions that still holds the
  value calculated before takes the new calculated value on its own, so
  a value typed beside it stays, and a value the graph had when the
  dialog opened is kept.
- With Override Calculated Values off, the dimmed Minimum, Maximum and
  Divisions fields show the calculated values that OK applies.
2026-11-14 21:17:48 -08:00
dotCooCoo 3281bba2cc i18n: Turkish keeps one row for each script.run answers error
main already translates ten of the answers errors in tr.tsv, so the rows this branch added for them repeated those keys and bundled_catalogs_are_consistent failed. The repeated rows are removed; the row for the app's refusal of `answers` stays.
2026-11-14 21:17:17 -08:00
dotCooCoo 9762e124fc SVG import: textPath startOffset follows the path's pathLength
A startOffset given as a length now counts in the units of the
referenced element's pathLength, so pathLength="100" on a path 400
long puts startOffset="50" at 200. A percentage stays a share of the
computed length. A pathLength of 0 keeps an offset of 0 at the start
and puts any other offset past the end, and an offset too large to
scale starts at the path's end instead of its start.

https://www.w3.org/TR/SVG2/text.html#TextLayoutAlgorithm
https://www.w3.org/TR/SVG2/paths.html#PathLengthAttribute
2026-11-14 21:14:20 -08:00
HassanKhan 1301192aeb PDF import: stroked type keeps its cap, join and miter limit (#7741)
Glyph strokes reached the type's character style as paint and width only,
so stroked PDF text (rendering modes 1, 2, 5, 6, and under ActualText)
came in with butt caps, miter joins and a miter limit of 10. The text
path now carries the graphics state's line cap, line join and miter
limit, taken as paths take them, and glyphs stroked with other ones start
a run of their own.
2026-11-15 10:10:41 +05:00
dotCooCoo 1da16e41d7 Merge main into fix/a-guide-in-a-layer-under-a-group-under-a-guide 2026-11-14 21:04:53 -08:00
dotCooCoo 27a0dc89d4 3D and Materials: Render Settings › Wireframe draws the live 3D effect as its faces' edges
The 3D and Materials panel gets a Render Settings menu with Wireframe.
Extrude & Bevel, Revolve, Inflate and Rotate take a `render` parameter,
`{mode: "shaded" | "wireframe"}`. In wireframe mode the effect stays
live and draws the edges Expand as Wireframes gives, each once, as
0.5 pt black strokes with round joins, with no shadow or graphics. The
object's own opacity, blending mode and opacity mask apply to the mesh.

Commands that set wireframe mode are checked against the edges it
draws: the shaded surface's paint copies, graphics and shadow limits do
not refuse them. A `render` value that is not an object holding only a
valid `mode`, and `render` on the 3D (Classic) effects, are refused.

Docs: docs/three-d.md, docs/mcp.md, docs/effects-parity.md,
docs/target-app-parity.md.
2026-11-14 21:04:33 -08:00
dotCooCoo 8c4516aa87 Merge main into fix/one-undo-step-a-refused-brush-on-a-path-with-no 2026-11-14 21:02:12 -08:00
dotCooCoo d62de12db6 Live Paint: Live Paint Selection triple-click selects parts of the same paint
A triple-click with the Live Paint Selection tool on a face now selects
every face of its group with that face's fill, and on an edge every edge
of its group that draws with that edge's stroke paint. Hidden faces and
edges are left out. Before, a triple-click selected only what its third
click selected.

With Shift held, the parts are toggled from the selection there was
before the clicks: the tool keeps what the double-click and the Shift
clicks of the series toggled, and the triple-click toggles those back.

docs/target-app-parity.md's Live Paint Selection line says so.
2026-11-14 21:02:05 -08:00
dotCooCoo 82308b647f Merge main into fix/a-background-file-save-or-failed-completion 2026-11-14 20:58:21 -08:00
dotCooCoo e9a3c6eb8a Merge main into fix/opacity-mask-art-inside-symbols-pattern-tiles 2026-11-14 20:56:01 -08:00
dotCooCoo f88b0f9e17 Merge main into fix/image-codes-created-inside-a-rolled-back-node 2026-11-14 20:55:00 -08:00
dotCooCoo 71a2597220 Merge main into fix/a-colorized-warped-image-decodes-its-coverage 2026-11-14 20:51:10 -08:00
dotCooCoo a84d7345f1 Merge main into fix/a-nan-spot-tint-from-a-file-reaches-plate 2026-11-14 20:50:57 -08:00
dotCooCoo 456895bc53 Merge main into fix/save-and-save-for-older-apps-read-the-placed 2026-11-14 20:50:29 -08:00
dotCooCoo fa53bc2940 Merge main into fix/the-liquify-warning-s-tool-name-and-object-kinds 2026-11-14 20:48:34 -08:00
dotCooCoo ae0b5d2b5b Merge main into fix/guide-add-select-allonartboard-select-font-scope 2026-11-14 20:47:11 -08:00
dotCooCoo 3c0dc77cef Merge main into fix/path-commands-do-not-skip-locked-or-hidden-paths 2026-11-14 20:46:33 -08:00