Commit Graph
9359 Commits
Author SHA1 Message Date
BFlat 06ba6108ca Merge pull request #8732 from storytold/train/carry7739
Symbols: the Symbol Shifter, Sizer, Stainer and Styler take Shift (#7739)
2026-11-20 01:40:08 +07:00
dotCooCoo 5252a9afe3 Merge main into feat/prefs-descriptions-plugins-scratch 2026-11-19 10:37:20 -08:00
dotCooCoo eebd3960be Merge main into feat/color-wheel-document-colors 2026-11-19 10:36:07 -08:00
BFlat 701254401e Merge pull request #8712 from ruchirguitar/feat/links-item-context-menu
Links panel: add row context menu (Relink, Go to Link, Edit Original, Show in Folder)
2026-11-20 01:28:47 +07:00
dotCooCoo cdcaab9301 Retype: stacked lines become one area type object
Part of #4934. type.retype set each line of outlined text as its own
point type object, even when the lines stack as one paragraph.

- Opaque, Normal lines with a solid fill or none and no stroke that
  follow each other in paint order, with the same group, paint, font,
  size, turn and tracking, each the same leading (0.25 to 3 times the
  size) below the one before and lined up at their starts, ends or
  centers, become one area type object. Its leading is Auto when Auto
  puts the last baseline in place, else the mean distance between the
  baselines, and its alignment is left, right or center. Its frame is
  Convert To Area Type's, now shared through typemenu::point_to_area.
  An untracked line of one or two glyphs takes the others' tracking.
- Every object is laid out and compared with the outlines first: when
  area type would move a glyph the lines stay multi-line point type.
  When that also moves a glyph, the block ends at that glyph's line and
  the lines after it join again. Type whose bounds would reach past the
  coordinate limit stays apart.
- Text Wrap objects above new area type are taken into account; when
  checking them on the changed layers would copy more than 2,000,000
  anchors, subpaths and shapes, the lines stay multi-line point type.
  text::wrap_copy_units counts that work without copying the outlines,
  and wrap_work no longer copies them to count.
- The result's fonts entries add leading and area, and texts join an
  object's lines with line breaks.

These rules are VectorCraft's own. Docs: docs/mcp.md (Retype several
lines), docs/type-parity.md (Retype row), docs/target-app-parity.md,
docs/roadmap.md (M7 row).
2026-11-19 10:22:49 -08:00
BFlat 25cded2803 Merge pull request #8725 from storytold/train/carry8453
Preferences: the line under the fields describes each Performance setting (#8453)
2026-11-20 01:22:13 +07:00
HassanKhan 7059a75c59 Docs: record the Layers target-circle fix in the parity assessment and roadmap (#8711) 2026-11-19 23:16:42 +05:00
dotCooCoo e0ae990abc Live Paint: the Eyedropper, overprint, proxies and contents edits follow the whole-group rule
Follows #8685. The Eyedropper (appearance.copyFrom) onto a whole
selected Live Paint group, or reversed onto a clicked one, wrote the
picked appearance to every face, every edge and the hidden source
paths. It now gives the fill attributes to the faces and the stroke
attributes to the edges, and the source paths keep their paint. A
whole-appearance pick gives each face every picked fill row and each
edge every picked stroke row, and their other rows keep their order.
With append, the faces and edges take the picked rows but not the
picked object effects. A whole group picked up as the source gives
its first face's fills with its first edge's strokes above them, and
the group's own opacity, blend mode and effects.

Appearance edits with target "contents" also reached the source paths
and the parts of the other kind. The source paths are now left out of
a Live Paint group's contents. appearance.addFill adds a fill to the
faces only, and appearance.addStroke adds a stroke to the edges only.
A fill or stroke edit of the contents with an item (stroke.set,
paint.invert, paint.complement, gradient edits and
object.setOverprint) goes to the parts of its kind. Overprint Fill
and Overprint Stroke on a whole group also go to the faces and the
edges.

The Fill proxy and the Stroke panel showed a face's or edge's own
paint when it was selected before its group. A part selected with its
group, or with a group that holds its Live Paint group, now counts
with the group, whatever the selection order.

Docs: docs/mcp.md, params text, docs/target-app-parity.md.
2026-11-19 10:15:49 -08:00
ruchirguitar d9e2947678 Graphic Styles panel: address review comments and format code 2026-11-19 23:40:12 +05:30
dotCooCoo b585b75109 Live Paint: the bucket keeps its colors through the stop eyedropper and a Cmd-click
The proxies and the paint commands that name no objects stood for the Live
Paint Bucket's colors only while the bucket itself was the active tool. Two
tools that work for the bucket lost them:

- The Gradient panel's eyedropper on a stop of the bucket's gradient: the
  stop was deselected as soon as the Eyedropper became active, and the click
  then copied the clicked object's appearance onto the selection.
- A Cmd-click with the bucket, which the Selection tool takes: with New Art
  Has Basic Appearance off, the new selection's appearance replaced the
  bucket's fill and stroke.

Session::bucket_paints() now answers for the bucket, the Eyedropper armed
for a stop of its gradient (Tool::returns_to), the Selection tool lent to
either, and the actions of the Eyedropper's click that end by switching back
to the bucket. Every check that compared the tool id with the bucket's now
uses it: the proxies, the Stroke panel, the selected stop's owner, new-art
inheritance, previews and their cancel.

- The armed pick ends without sampling, and switches back to the bucket,
  when its stop is no longer selected or no longer exists.
- Clicking the panel's eyedropper again while a pick is armed keeps the tool
  the pick returns to.
- The Color panel's cached mixed state is keyed on bucket_paints().
- A Brush Options Key Color pick or an Image Trace ignored-color pick armed
  from the bucket is not a stop pick.

Tests: live_paint_bucket_keeps_its_colors_through_the_stop_eyedropper_and_a_cmd_click
(engine), the stop option test (tools), the stop eyedropper and mixed
selection tests (ui-egui). Docs: docs/mcp.md, the Live Paint Bucket
paragraph.
2026-11-19 10:05:22 -08:00
dotCooCoo 14e3878ec2 Docs: HP-GL plots leave distorted images out, Place with Replace keeps DCS plate groups 2026-11-19 10:04:12 -08:00
dotCooCoo b423ce5855 Quick Pen: on-canvas toolbar with its actions, Flip Arc and More menu
Selecting the Quick Pen tool shows a toolbar on the canvas. Straight
Line, Continuous Arc and Sharp Corner Arc set the tool's action, Flip
Arc flips the last sharp-corner arc as C does, and More Options has
Hide Toolbar, Pin Toolbar Position and Reset Toolbar Position. The
handle at its left end drags it.

While a path is being drawn, the toolbar sits beside the path's last
point, 24 screen points off it on the side the path heads toward, or on
the other side where that side runs off the canvas. With no path being
drawn, it sits at the bottom center of the canvas. A drag's offset
applies in the kind of place it was made in (beside the drawing or
resting), and not where it would cover the path's last point. Pinned,
it stays at its place in the canvas window. It hides while a press
drags on the canvas, and its controls wrap in a canvas pane narrower
than the toolbar. Hide Toolbar hides it until the tool is selected
again; Window › Quick Pen Toolbar also shows or hides it.

- Tool::drawing_end and Session::tool_drawing_end give the point the
  path goes on from and the direction it arrives in.
- New desktop commands: window.quickPenToolbar, window.quickPenToolbar.pin,
  window.quickPenToolbar.reset and tool.quickPen.flipArc; ui.inspect
  reports quickPenToolbar.
- Labels in every catalog.

Docs: docs/mcp.md, docs/control-protocol.md, ROADMAP, docs/ui-parity.md,
docs/target-app-parity.md. Part of #2660.
2026-11-19 10:04:07 -08:00
HassanKhan 7d055942b2 Layers: keep the targeted ring visible around the appearance dot (#8711)
A target circle whose item was targeted and had an appearance of its own
painted the 3.2 px appearance dot over the 2.8 px inner ring, so it looked
the same as an untargeted item with an appearance. The marks now come from
target_marks: when both apply, the dot shrinks to 1.5 px inside the ring,
leaving a gap, so the four states look different.
2026-11-19 23:00:23 +05:00
BFlat 115790a0b0 Merge pull request #8740 from storytold/train/carry8044
Color Wheel: HSL Sliders edit a color by hue, saturation and lightness (#8044)
2026-11-20 00:54:48 +07:00
BFlat 9a137e183a Merge pull request #8735 from storytold/train/carry8585
Direct Selection: Cmd/Ctrl added during a handle drag mirrors the opposite handle (#8585)
2026-11-20 00:48:35 +07:00
ruchirguitar 83aacb0946 Graphic Styles panel: add item right-click context menu (Options, Duplicate, Delete, Redefine, Break Link) 2026-11-19 23:17:37 +05:30
BFlat 49868681c0 Merge pull request #8738 from storytold/train/carry8479
Brushes: Add original Artistic Brushes library (#8479)
2026-11-20 00:43:40 +07:00
bflatastic c6c7a6a953 Merge remote-tracking branch 'origin/main' into fix/8336
# Conflicts:
#	crates/ui-egui/src/i18n/bg.tsv
#	crates/ui-egui/src/i18n/bs.tsv
#	crates/ui-egui/src/i18n/ca.tsv
#	crates/ui-egui/src/i18n/cs.tsv
#	crates/ui-egui/src/i18n/da.tsv
#	crates/ui-egui/src/i18n/de.tsv
#	crates/ui-egui/src/i18n/el.tsv
#	crates/ui-egui/src/i18n/es.tsv
#	crates/ui-egui/src/i18n/fi.tsv
#	crates/ui-egui/src/i18n/fr.tsv
#	crates/ui-egui/src/i18n/gu.tsv
#	crates/ui-egui/src/i18n/hi.tsv
#	crates/ui-egui/src/i18n/hu.tsv
#	crates/ui-egui/src/i18n/id.tsv
#	crates/ui-egui/src/i18n/it.tsv
#	crates/ui-egui/src/i18n/ja.tsv
#	crates/ui-egui/src/i18n/ka.tsv
#	crates/ui-egui/src/i18n/ko.tsv
#	crates/ui-egui/src/i18n/nl.tsv
#	crates/ui-egui/src/i18n/pl.tsv
#	crates/ui-egui/src/i18n/pt-br.tsv
#	crates/ui-egui/src/i18n/ru.tsv
#	crates/ui-egui/src/i18n/sv.tsv
#	crates/ui-egui/src/i18n/tests.rs
#	crates/ui-egui/src/i18n/tr.tsv
#	crates/ui-egui/src/i18n/uk.tsv
#	crates/ui-egui/src/i18n/vi.tsv
#	crates/ui-egui/src/i18n/zh-hans.tsv
#	crates/ui-egui/src/i18n/zh-hant.tsv
#	docs/gaps.md
2026-11-20 00:42:52 +07:00
bflatastic 6711aad27f Merge remote-tracking branch 'origin/main' into auto/8729 2026-11-20 00:40:00 +07:00
BFlat fcdc7a3308 Merge pull request #8654 from dotCooCoo/feat/task-bar-choose-actions
Contextual Task Bar: choose which actions it shows
2026-11-20 00:33:47 +07:00
HassanKhan 3092cac3fb Docs: the web canvas's partial redraw names when it still renders whole (#8688) 2026-11-19 22:29:22 +05:00
ruchirguitar f140a8eab0 Merge remote-tracking branch 'origin/main' into feat/links-item-context-menu 2026-11-19 22:50:24 +05:30
HassanKhan 10516658bf Canvas (web): edits once the view is still don't put off its render
still_wait started its STILL_SECS wait again whenever the cache key
asked for changed, and the key holds the document's revision. After a
heavy document's view moved and stopped while a drag went on editing
it, each edit was drawn into the frame shown and restarted the wait,
so the canvas never rendered whole for the view while the edits went
on. The wait now starts again only when the document or the view
(zoom, centre, size, pixel density, rotation, Pixel Preview's pixels)
changes. The checks that render at once when more than the view
differs from the frame shown are unchanged.

Refs #8688
2026-11-19 22:14:03 +05:00
bflatastic f735b5b7f5 Merge remote-tracking branch 'origin/main' into auto/8494 2026-11-20 00:12:54 +07:00
ruchirguitar 85238b784f Merge remote-tracking branch 'origin/main' into feat/brushes-item-context-menu 2026-11-19 22:41:13 +05:30
HassanKhan e6fd713cfe Merge storytold/main (4170a620a2) into feat-8363-trim-view-guides
# Conflicts:
#	docs/roadmap.md
#	docs/target-app-parity.md
#	docs/ui-parity.md
2026-11-19 21:45:33 +05:00
HassanKhan 18df506f0d Merge remote-tracking branch 'upstream/main' into fix-8688-web-pan-reuse
# Conflicts:
#	docs/roadmap.md
#	docs/target-app-parity.md
2026-11-19 21:44:19 +05:00
bflatastic 0513b6ac7d Merge remote-tracking branch 'origin/main' into fix/7767 2026-11-19 23:39:30 +07:00
bflatastic eee6f40a92 Merge remote-tracking branch 'origin/main' into fix/8044 2026-11-19 23:39:16 +07:00
bflatastic c521abc045 Merge remote-tracking branch 'origin/main' into fix/8717 2026-11-19 23:39:10 +07:00
bflatastic 54240d984d Merge remote-tracking branch 'origin/main' into fix/8479 2026-11-19 23:38:43 +07:00
bflatastic 8f66e605ca Merge main into #7112 2026-11-19 23:38:32 +07:00
bflatastic ba6891546a Merge main into #8453 2026-11-19 23:38:28 +07:00
bflatastic 6a906c3c60 Merge main into #8458
# Conflicts:
#	crates/ui-egui/src/i18n/bg.tsv
#	crates/ui-egui/src/i18n/bs.tsv
#	crates/ui-egui/src/i18n/ca.tsv
#	crates/ui-egui/src/i18n/cs.tsv
#	crates/ui-egui/src/i18n/da.tsv
#	crates/ui-egui/src/i18n/de.tsv
#	crates/ui-egui/src/i18n/el.tsv
#	crates/ui-egui/src/i18n/es.tsv
#	crates/ui-egui/src/i18n/fi.tsv
#	crates/ui-egui/src/i18n/fr.tsv
#	crates/ui-egui/src/i18n/gu.tsv
#	crates/ui-egui/src/i18n/hi.tsv
#	crates/ui-egui/src/i18n/hu.tsv
#	crates/ui-egui/src/i18n/id.tsv
#	crates/ui-egui/src/i18n/it.tsv
#	crates/ui-egui/src/i18n/ja.tsv
#	crates/ui-egui/src/i18n/ka.tsv
#	crates/ui-egui/src/i18n/ko.tsv
#	crates/ui-egui/src/i18n/nl.tsv
#	crates/ui-egui/src/i18n/pl.tsv
#	crates/ui-egui/src/i18n/pt-br.tsv
#	crates/ui-egui/src/i18n/ru.tsv
#	crates/ui-egui/src/i18n/sv.tsv
#	crates/ui-egui/src/i18n/tr.tsv
#	crates/ui-egui/src/i18n/uk.tsv
#	crates/ui-egui/src/i18n/vi.tsv
#	crates/ui-egui/src/i18n/zh-hans.tsv
#	crates/ui-egui/src/i18n/zh-hant.tsv
2026-11-19 23:38:25 +07:00
bflatastic 3141cad13e Merge main into #7739 2026-11-19 23:38:12 +07:00
bflatastic ae325e674f Merge main into #7766 2026-11-19 23:38:09 +07:00
bflatastic 22825a267c Merge main into #8585 2026-11-19 23:38:06 +07:00
HassanKhan 4c5ba5516d Canvas (web): an edit while a heavy document's view moves draws only what it changed
In the web build (no render worker), while the view of a document whose
last render took more than 8 ms moves, the canvas draws the last frame
moved with the view and renders once the view is still. An edit in
that time rendered the whole canvas at the new view, every frame: a
tool drag held at an edge of the canvas (#8551) or a wheel scroll during
a drag did that on each step.

Such an edit is now drawn into the frame shown, at the view it was
rendered for: only the part the edit changed (changed_pixels). The
frame stays drawn reprojected and renders whole once the view has been
still for STILL_SECS, as for a view change without an edit. An edit
that changes more than half of the frame, or one while more than the
view and the document change, renders whole at once as before. The
partial redraw of draw_frame moves into draw_changed, shared by both.

Fixes #8688
2026-11-19 21:30:16 +05:00
BFlat 5941acae71 Merge pull request #8704 from dotCooCoo/feat/emf-opaque-text-background
Metafile import: text in the opaque background mode fills its character cells
2026-11-19 23:28:50 +07:00
bflatastic aeebd25b5a Merge remote-tracking branch 'origin/main' into fix/8479
# Conflicts:
#	crates/engine/src/cmd/brushlib.rs
#	crates/ui-egui/src/i18n/bg.tsv
#	crates/ui-egui/src/i18n/bs.tsv
#	crates/ui-egui/src/i18n/ca.tsv
#	crates/ui-egui/src/i18n/cs.tsv
#	crates/ui-egui/src/i18n/da.tsv
#	crates/ui-egui/src/i18n/de.tsv
#	crates/ui-egui/src/i18n/el.tsv
#	crates/ui-egui/src/i18n/es.tsv
#	crates/ui-egui/src/i18n/fi.tsv
#	crates/ui-egui/src/i18n/fr.tsv
#	crates/ui-egui/src/i18n/gu.tsv
#	crates/ui-egui/src/i18n/hi.tsv
#	crates/ui-egui/src/i18n/hu.tsv
#	crates/ui-egui/src/i18n/id.tsv
#	crates/ui-egui/src/i18n/it.tsv
#	crates/ui-egui/src/i18n/ja.tsv
#	crates/ui-egui/src/i18n/ka.tsv
#	crates/ui-egui/src/i18n/ko.tsv
#	crates/ui-egui/src/i18n/nl.tsv
#	crates/ui-egui/src/i18n/pl.tsv
#	crates/ui-egui/src/i18n/pt-br.tsv
#	crates/ui-egui/src/i18n/ru.tsv
#	crates/ui-egui/src/i18n/sv.tsv
#	crates/ui-egui/src/i18n/tr.tsv
#	crates/ui-egui/src/i18n/uk.tsv
#	crates/ui-egui/src/i18n/vi.tsv
#	crates/ui-egui/src/i18n/zh-hans.tsv
#	crates/ui-egui/src/i18n/zh-hant.tsv
#	docs/gaps.md
#	docs/mcp.md
#	docs/roadmap.md
#	docs/target-app-parity.md
#	docs/ui-parity.md
2026-11-19 23:24:47 +07:00
bflatastic 8157194da2 Merge remote-tracking branch 'origin/main' into fix/8585 2026-11-19 23:23:53 +07:00
bflatastic d61eb33e52 Merge main into #8399
# Conflicts:
#	crates/ui-egui/src/i18n/bg.tsv
#	crates/ui-egui/src/i18n/bs.tsv
#	crates/ui-egui/src/i18n/ca.tsv
#	crates/ui-egui/src/i18n/cs.tsv
#	crates/ui-egui/src/i18n/da.tsv
#	crates/ui-egui/src/i18n/de.tsv
#	crates/ui-egui/src/i18n/el.tsv
#	crates/ui-egui/src/i18n/es.tsv
#	crates/ui-egui/src/i18n/fi.tsv
#	crates/ui-egui/src/i18n/fr.tsv
#	crates/ui-egui/src/i18n/gu.tsv
#	crates/ui-egui/src/i18n/hi.tsv
#	crates/ui-egui/src/i18n/hu.tsv
#	crates/ui-egui/src/i18n/id.tsv
#	crates/ui-egui/src/i18n/it.tsv
#	crates/ui-egui/src/i18n/ja.tsv
#	crates/ui-egui/src/i18n/ka.tsv
#	crates/ui-egui/src/i18n/ko.tsv
#	crates/ui-egui/src/i18n/nl.tsv
#	crates/ui-egui/src/i18n/pl.tsv
#	crates/ui-egui/src/i18n/pt-br.tsv
#	crates/ui-egui/src/i18n/ru.tsv
#	crates/ui-egui/src/i18n/sv.tsv
#	crates/ui-egui/src/i18n/tr.tsv
#	crates/ui-egui/src/i18n/uk.tsv
#	crates/ui-egui/src/i18n/vi.tsv
#	crates/ui-egui/src/i18n/zh-hans.tsv
#	crates/ui-egui/src/i18n/zh-hant.tsv
#	docs/gaps.md
#	docs/mcp.md
#	docs/target-app-parity.md
#	docs/ui-parity.md
2026-11-19 23:17:00 +07:00
bflatastic a383279b73 Merge remote-tracking branch 'origin/main' into fix/7766
# Conflicts:
#	crates/ui-egui/src/dialogs.rs
#	docs/mcp.md
2026-11-19 23:15:56 +07:00
ruchirguitar ec1f0b3b68 Merge origin/main into feat/links-item-context-menu 2026-11-19 21:39:23 +05:30
dotCooCoo 67879a24a5 Merge main into feat/color-wheel-gamut 2026-11-19 07:57:28 -08:00
bflatastic 41e1b41603 Merge remote-tracking branch 'origin/main' into fix/7739 2026-11-19 22:53:32 +07:00
dotCooCoo 45c6fb40cb Retype: evenly spaced glyphs keep their spacing as tracking
Part of #4934. type.retype set a line spaced by tracking as one point
type object per glyph, since untracked type does not draw the glyphs
where the outlines are.

- A line of three or more glyphs that most gaps space evenly apart now
  takes that spacing as its tracking (1/1000 em, tried rounded to a
  whole number within 0.05, then as measured). The font's advances and
  pair kerning are left out of the measure, and word spaces are counted
  after the tracking. When untracked type also draws the line, the line
  stays untracked if the tracking is under one unit or the tracked type
  would drop a gap one space wide, so "a b c" stays "a b c". Negative
  tracking is set only on opaque, Normal lines with a solid fill or
  none and no stroke.
- Where a line splits, the glyphs after the split take the tracking
  their own gaps give, and a tracked line whose type misplaces its
  first glyphs is set again without tracking. The measure has a layout
  budget, so long or widely spaced lines are bounded.
- The result's fonts entries add tracking.

These rules are VectorCraft's own. Docs: docs/mcp.md (Retype tracking),
docs/type-parity.md (Retype row), docs/target-app-parity.md,
docs/roadmap.md (M7 row).
2026-11-19 07:53:13 -08:00
dotCooCoo 476bc12da4 Merge main into feat/circle-tool-options 2026-11-19 07:50:29 -08:00
dotCooCoo 9f95dc70dc HP-GL Options: OK writes nothing after another document became active
HP-GL Options stored no document, so OK after `window.nextDocument` or
`file.new` exported the newly active document to the path chosen for
the first one. The dialog now keeps the uid of the document it was
opened for, and OK closes it and writes nothing when another document
is active, as Delete Brush's dialog does.
2026-11-19 07:49:59 -08:00
dotCooCoo d1e5b26a0a Merge main into feat/prefs-descriptions-plugins-scratch 2026-11-19 07:43:11 -08:00