Commit Graph
6687 Commits
Author SHA1 Message Date
dotCooCoo 42fab2ea2a Recolor Artwork: the Edit tab's Add Color and Remove Color tools add and remove colors
Two buttons under the display buttons beside the Edit tab's wheel turn on
the Add Color and Remove Color tools. With Add Color, a click on either
wheel adds a color in a new row with no current colors, at the base
color's brightness. With Remove Color, a click on a marker removes that
color; a color bar's right-click menu has Remove Color too. The base
color can't be removed. With art or a color group open, a removed
color's row keeps its current colors with no new color, so the art keeps
its colors and the group's swatch at that place is removed.

recolor.apply's groupColors accepts null, which removes the group's
swatch at that place; the swatches after it keep their colors and names,
and art linked to a removed global swatch keeps its color, unlinked.
2026-11-14 22:12:58 -08:00
dotCooCoo b7ff4b167a Merge main into feat/aia-files-carry-select-object-steps 2026-11-14 22:12:23 -08:00
dotCooCoo fb2437fbfb Merge main into fix/burasagari-and-push-in-on-a-tabbed-right-to-left 2026-11-14 22:10:19 -08:00
dotCooCoo 277fdb15c7 Paste: Paste without Formatting keeps a pasted graph's labels plain when it is drawn again
A graph keeps its labels' character and paragraph formats for each redraw.
Paste without Formatting reset the labels' text but left those formats in
the graph, so the next redraw (Graph Data, Graph Type) gave the labels their
source formatting back.

Paste without Formatting now drops the formats the graph keeps and sets the
pasted labels as a new graph's labels are set: 9 pt black, unscaled (a
rotated graph's labels keep their rotation), default paragraph attributes,
each keeping its alignment, and white on a dark pie wedge. Before, they took
12 pt and lost their alignment. The rest of the graph's art is pasted as it
was copied. A swatch-linked character fill the graph kept for its labels
stays behind with the other formats.

When the document's swatches give a pasted pie's wedges another color (a
swatch merged into the document's swatch of that name, or a swatch changed
in the document the pie was copied from), Paste and Paste without Formatting
set the legend labels in those wedges white on a dark wedge and black on a
light one, as a redraw does. Before, they kept the color chosen for the
copied wedge, which could leave white text on a light wedge. A label whose
characters are not all white or all black keeps its colors.
2026-11-14 22:09:08 -08:00
dotCooCoo bc90ddf038 Merge main into fix/a-reverted-document-keeps-its-uid-so-a-trace 2026-11-14 22:07:06 -08:00
dotCooCoo d0b69af348 Merge main into feat/psd-import-options-import-slices-after-7649 2026-11-14 22:06:58 -08:00
dotCooCoo f96d69a5a0 Window: hidden panels show while the pointer rests on the window edge
With the panels hidden by Tab or Shift+Tab, resting the pointer for
0.3 s on a 6 pt band along the left or right edge shows the panels
docked on that side, over the canvas's edge. The canvas keeps its size,
so the art does not move, and it takes no input under the panels. They
hide again 0.3 s after the pointer leaves them; Tab or Shift+Tab shows
them for good. Floating panels, Tools and the Control bar stay hidden,
and nothing shows in Presentation Mode.

window.panels.peek {side: left|right|null} does the same from a script,
and ui.docking reports the side shown as peek.

Part of #5661
2026-11-14 22:06:39 -08:00
HassanKhan 9dafc08f8f PDF import: a glyph stroked otherwise gets a run of its own (#7741)
A filled glyph joins a run of the same fill whatever its stroke, so with
fill and stroke rendering shown a glyph at a time, the stroke replayed
over the last glyph restyled the whole run: glyphs before it took its
cap, join and miter limit. When that stroke differs from the run's, the
glyph's text now splits off into a run of its own; the line's text is
unchanged, so slots, gaps and authored flags still line up.

Also record the change in the parity and roadmap docs.
2026-11-15 11:05:54 +05:00
dotCooCoo 7104cd05f3 Merge main into feat/editing-one-anchor-copies-the-whole-anchor-list 2026-11-14 22:05:53 -08:00
dotCooCoo 996fd9e50e 3D (Classic): the track cube turns the object on the Rotation tab
Extrude & Bevel (Classic), Revolve (Classic) and Rotate (Classic) get a
track cube below the Position presets, drawn at the current X, Y and Z
rotation inside a ring. Dragging a face turns the object freely, Shift
keeps the drag to the screen's horizontal or vertical axis, an edge turns
it about the object axis it runs along, and the ring turns it in the
screen plane. Escape during a drag puts the angles back. With the
keyboard focus, the arrow keys and Page Up/Down turn it 1° a press (15°
with Shift). The cube writes the existing rotationX, rotationY and
rotationZ, so the fields and presets follow it and OK records one undo
step. It is off while the panel's selected effects hold different
rotations.
2026-11-14 22:05:41 -08:00
dotCooCoo de0dc9e3b0 3D and Materials: the shadow is blurred by the first light's Softness
The first light's Softness now softens the shadow of Revolve, Extrude &
Bevel, Inflate and Rotate. At 0% the shadow stays the hard-edged path.
Above it the path carries a Gaussian Blur of radius Softness x the
object's largest size x (5% + 20% x Distance from Object), at most
1,000 pt, VectorCraft's own mapping. The blur draws, counts in the
bounds and exports as a Gaussian Blur effect does, a fill's or stroke's
own 3D effect keeps it below its later effects, and Expand Appearance
turns a blurred shadow into an image.
2026-11-14 22:03:37 -08:00
dotCooCoo 72dc2968aa PDF export: the progress line names the images an sRGB destination keeps when they can't be decoded 2026-11-14 22:00:51 -08:00
dotCooCoo 149280032e Merge main into fix/an-image-whose-recode-fails-is-written-without 2026-11-14 21:59:05 -08:00
dotCooCoo 886a5fc4d5 Merge main into fix/bucket-strokeedge-and-livepaint-info-act-on 2026-11-14 21:56:45 -08:00
dotCooCoo 260da1cb7b Merge main into fix/image-codes-created-inside-a-rolled-back-node 2026-11-14 21:56:22 -08:00
dotCooCoo 3a060417aa Merge main into fix/save-and-save-for-older-apps-read-the-placed 2026-11-14 21:55:56 -08:00
dotCooCoo 34be6ee324 Merge main into fix/the-liquify-warning-s-tool-name-and-object-kinds 2026-11-14 21:54:06 -08:00
dotCooCoo 83a18644f2 Merge main into fix/merging-a-spot-swatch-into-another-drops-the-old 2026-11-14 21:52:51 -08:00
dotCooCoo 7a90fe5097 Merge main into fix/confined-exports-script-paths 2026-11-14 21:50:57 -08:00
dotCooCoo d1d25ff345 Merge main into fix/guide-add-select-allonartboard-select-font-scope 2026-11-14 21:50:30 -08:00
dotCooCoo 5b22f71e1b Merge main into fix/painted-live-effect-output-refuses-a-gradient 2026-11-14 21:50:00 -08:00
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 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 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
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 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
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 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