Commit Graph
8105 Commits
Author SHA1 Message Date
dotCooCoo f960bd3708 Merge main into fix/pl-catalog-translates-art-artwork-two-ways-in 2026-11-14 22:22:39 -08:00
dotCooCoo d5ccac5646 Variables: Variables, Objects and type columns sort the variable list
The Variables panel drew each variable as one "name · object" line in
the order the variables were defined, with no headers and no sorting.

The list now has three columns with headers: the type icon, Variables
and Objects. A click on a header sorts the list by that column, and a
second click reverses the order. The new command variable.sort {by:
name|object|type|none, descending?} sets the order, which is panel
state: not saved and not an undo step. variable.list lists the
variables in that order and reports it as sort. An unknown by, or a
descending that is not true or false, is an error.
2026-11-14 22:21:08 -08:00
dotCooCoo b731e426af Status bar: a Show menu chooses what the info field displays
A click on the status bar's info field, which showed only the tool in
use, opens a Show menu. Its items choose the readout: Artboard Name
(the artboard the navigator shows), Current Tool (the default), Date
and Time (local on the desktop, UTC on the web), Number of Undos (the
active document's undo and redo step counts) and Document Color
Profile (the profile the document's colors use for its color mode: the
assigned one, else that mode's working space). The choice is kept with
the UI state.

The new command view.statusBarShow {show} sets the readout and rejects
any other value. The labels have rows in every catalog, and
docs/mcp.md and docs/ui-parity.md describe the command.
2026-11-14 22:17:40 -08:00
dotCooCoo 9d18618baa Control bar: Select Similar Objects stays out while a tool, image or object control is left out
A control that the image, Image Trace, tool, envelope, symbol or
Artboard group leaves out for room is now noted like the bar's own
groups, so Select Similar Objects shows only when every control ahead
of it fits.
2026-11-14 22:16:28 -08:00
dotCooCoo 18fe65acd6 Type: composite fonts take custom character sets
Type > Composite Fonts... has Custom: named character sets, each setting
the characters it lists in its own font, style, size, baseline and
scales ahead of their class. The later of two sets that list a character
sets it. Characters are added by Direct Entry or by Unicode code and
deleted one at a time, and the parts table scrolls when it grows.

- type.compositeFonts.set takes `custom`; part keys left out take the
  Kanji part's values. Sets are saved with the document and in
  .vccomposite files, and Export refuses a file over 4 MB.
- VectorCraft's own limits: 64 sets per font, 8,192 characters per set,
  each character once per set, up to U+FFFF and no control characters.
- The font database caches each font's character lookup.

Docs: docs/mcp.md, docs/type-parity.md, docs/target-app-parity.md.
2026-11-14 22:16:08 -08:00
dotCooCoo be32d6be89 Align: a Shift-clicked anchor becomes the key anchor that Align and Distribute keep in place
With Direct Selection, the point a Shift-click adds to two or more
selected anchor points is the key anchor. It is drawn as a larger filled
square in a frame, and the Align panel and the Control bar show the key
choice chosen as Align to Key Anchor. The Align buttons move the other
points to its x or y, and Distribute with a spacing places them from it.
A plain click still selects one point alone.

select.key takes {id, anchor} to set it, select.key {} cancels it, and
document.inspect reports it as keyAnchor. It goes when it is deselected,
deleted or left as the only selected point.
2026-11-14 22:14:03 -08:00
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 1630c1af10 Merge main into feat/unit-converter 2026-11-14 22:10:31 -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 0cb620a436 Document Info: Document lists the transparency settings and the Artboard tool's selected artboards
The Document category now lists File > Document Setup's transparency
settings after Raster Effects: Grid Size, Grid Colors (a preset's name,
or two custom colors by their values), Simulate Colored Paper and
Flattener Preset. While the Artboard tool is the current tool, it also
lists each artboard that tool has selected, with its width, height and
the X and Y of its top-left corner from the ruler origin of the tool's
active artboard. The panel refreshes when the tool's selection changes.

document.info gives the same facts as document.transparency and
document.selectedArtboards. The panel shows the values in the interface
language; the new labels have rows in every catalog, and the Orange and
Purple grid color presets get rows in the catalogs that lacked them.

Docs: docs/mcp.md, docs/target-app-parity.md.
2026-11-14 22:07:49 -08:00
dotCooCoo 8f5aed7ea4 Variables: Import Data Sets reads % columns of graph data files
dataset.import refused every header cell that starts with % unless it was
a variable's exact name, so the five-column example on the data source
set-up page did not import. A %Name header now defines the graph variable
Name, or names it when the document has it, and each cell of the column is
the path of a graph data file. The file is read as the Graph Data window's
Import Data reads one, and the data becomes the data set's graph value,
which applies as graph.setData applies it.

A relative path is taken from the new base parameter, else from the folder
of the CSV file at path. A file that is missing, can't be read or is larger
than 1 MB, a file that gives a graph value longer than 256 KB, and %
columns that hold more than 256 MB in all refuse the import with the line
and the column, and the document is left as it was. Each file is read once
per import.

Import Data's text decoding, cell splitting and sheet-to-data steps move
from the Graph Data dialog to the engine (graph/data.rs), so both imports
read a file the same way. dataset.export's warning now lists a % header
over values as refused and a %-prefixed variable of another kind as read
back with another kind.
2026-11-14 22:07:06 -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
yoriswind 5bddcd83eb M2: preserve fill-only erasure with varying tips 2026-11-14 21:46:29 -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
dotCooCoo 7a089b79f6 Merge main into fix/painted-type-used-as-a-clipping-path-loses-its 2026-11-14 21:38:08 -08: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