Commit Graph
1264 Commits
Author SHA1 Message Date
bflatastic 06706b1660 Merge main into #8122
# Conflicts:
#	docs/gaps.md
#	docs/roadmap.md
#	docs/target-app-parity.md
#	docs/ui-parity.md
2026-11-19 15:23:56 +07:00
BFlat 74591771b5 Merge pull request #7626 from jayzed80/fix/area-type-hit-7274
Selection: clicks in the empty part of an area type frame reach the art behind it (#7274)
2026-11-19 15:20:20 +07:00
bflatastic e4169d7412 Merge main into #7515
# Conflicts:
#	docs/roadmap.md
#	docs/target-app-parity.md
2026-11-19 15:19:43 +07:00
BFlat fd0ff592b7 Merge pull request #8624 from dotCooCoo/fix/followup-8408
Type: the missing-font question takes its answer through tool.setOption
2026-11-19 15:06:39 +07:00
BFlat 2e7b8da349 Merge pull request #8621 from dotCooCoo/fix/followup-8448
Shapes: a Circle tool release near the press is a click, also after a drag
2026-11-19 15:06:09 +07:00
BFlat 9be8ff3389 Merge pull request #8617 from dotCooCoo/fix/issue-8568
Fix #8568: a selection held by its edge lands that point on other paths
2026-11-19 15:04:44 +07:00
BFlat f8a355786e Merge pull request #8575 from dotCooCoo/fix/pen-rubber-band-close-join
Pen: the rubber band over the first anchor or another path's end is the segment a click adds
2026-11-19 15:03:23 +07:00
BFlat c03765a22d Merge pull request #8571 from dotCooCoo/fix/dimension-levels-linear
Dimension tool: only a linear dimension reads the dimension lines
2026-11-19 15:02:00 +07:00
BFlat 7784d2f1a5 Merge pull request #8528 from dotCooCoo/feat/curvature-circle
Shapes: the Curvature Circle tool draws the circle a path bends along
2026-11-19 15:01:28 +07:00
BFlat 1fa8b7f535 Merge pull request #8526 from dotCooCoo/feat/tangent-circle-tool
Path Precision Tools: the Tangent Circle Tool draws a circle on two clicked segments
2026-11-19 15:01:11 +07:00
BFlat 277dd40567 Merge pull request #8520 from dotCooCoo/feat/width-point-edit-all-selected
Width Point Edit: Side 1 and Side 2 apply to every selected width point
2026-11-19 15:00:49 +07:00
BFlat 5a07d30f73 Merge pull request #8476 from dotCooCoo/feat/reflect-tool-two-click-axis
Reflect tool: a second click reflects across the line through both points
2026-11-19 14:59:20 +07:00
BFlat 6ccbf05651 Merge pull request #8361 from dotCooCoo/feat/control-bar-shape-widgets
Control bar: Hide Shape Widgets hides the selected live shapes' widgets
2026-11-19 14:57:37 +07:00
BFlat 4c1b27bc41 Merge pull request #8178 from dotCooCoo/feat/image-trace-split-view
Image Trace: Split View shows the source image and the result on either side of a divider
2026-11-19 14:56:07 +07:00
BFlat e016f7cb28 Merge pull request #7981 from dotCooCoo/feat/tool-cards
Tools: General › Show Tool Cards shows what a tool does and what its keys do
2026-11-19 14:53:53 +07:00
BFlat 408c94c0ed Merge pull request #7701 from dotCooCoo/feat/symbolism-options-method
Symbols: Symbolism Tools Options gain Method, pen pressure and the Sprayer and Sizer options
2026-11-19 14:52:13 +07:00
BFlat 3f0707e64f Merge pull request #7103 from dotCooCoo/feat/stylus-wheel
Brushes: an airbrush pen's stylus wheel varies brush size and width
2026-11-19 14:46:40 +07:00
yoriswind 0471818814 Merge current main while preserving PR #6713 2026-11-19 06:32:22 +00:00
yoriswind 28ccda8dd5 Merge current main while preserving PR #8122 2026-11-19 06:31:27 +00:00
yoriswind b21a218b21 Merge current main while preserving PR #7515 2026-11-19 06:30:20 +00:00
dotCooCoo fcdeb47a4b Dimension tool: previews no longer make the tool read the levels again
While a linear dimension is placed, the tool reads the other dimensions'
lines again only when the document the interaction began with changes,
not when the revision moves. Each preview moves the revision, so before
this the tool read up to 20,000 objects on every pointer move.
2026-11-18 18:08:24 -08:00
dotCooCoo adc2b873db Width Point Edit: OK and Delete check the points and document they opened on
- OK and Delete on one or several existing points are refused when those
  points changed in any way since the dialog opened (place, widths,
  stroke weight, or pairing as a discontinuous point), or when another
  document is active.
- OK with no width changed checks the selection before it closes.
- An untouched Total Width above 100000 pt no longer blocks OK; a value
  set above 100000 pt is still refused.
- A width set into a field that OK refuses stays there when another
  field is set afterward, and a negative width typed for several points
  is refused at OK instead of becoming 0.
- `ui.widthPointEdit` refuses `index` together with `t`.
- Double-clicking a selected width point passes every selected entry,
  so points at nearly one place are all edited.
2026-11-18 18:01:13 -08:00
dotCooCoo d3696410d8 Dimension tool: levels come from the document the next preview applies to
While a linear dimension is placed, each preview starts again from the
document as the placement began. The tool now reads the lines of the
other dimensions from that document (the new ToolContext field
interaction_doc), not from the document a command changed in between, so
a dimension that a command moves or hides and that the next preview puts
back does not leave the placed dimension on a level the committed
document does not have.

The engine test now drags a dimension out, runs dimension.update or
object.hide on the other dimension, releases, and checks the committed
line against that dimension as the document has it. The tool test that
checks which dimensions read lines also covers radius and diameter
dimensions.
2026-11-18 18:00:26 -08:00
dotCooCoo 00f9a9c205 Brushes: main's eraser and bristle tip tests take the stylus wheel
The Bristle tip outline reads the five pen controls and leaves the
wheel unused. The bristle tip test's pen pose gives no wheel, and the
eraser test's mode error lists `stylusWheel`.
2026-11-18 17:44:35 -08:00
dotCooCoo e886b7ddfd Shapes: a Circle tool click near the first point leaves no circle shown
A second press within 3 screen points of the first point but not on it,
let go where it was pressed, placed nothing but left the pointer at the
press, so the tool showed a circle about 2 pt across until the pointer
moved. Such a click now puts the pointer back on the first point.
2026-11-18 17:38:54 -08:00
dotCooCoo bae4defa45 Symbols: Average sizes are sizes on the page, and a pen pressure change where the pen stays is kept
The Sizer's and the Sprayer's Average compare each instance's size on the page, so a set that
holds instances of different symbols meets at their mean drawn size. A symbol without a recorded
size is measured by its art, once per command. With Size: Average and no instance under the brush,
a sprayed instance has its symbol's own size whatever `scale` is, and new instances are spaced by
the size they are placed at. With Use Pressure Pen, a drag sample at the same position is kept when
the pressure changes by 0.05 or more.
2026-11-18 17:34:48 -08:00
dotCooCoo c433837981 Shapes: Curvature Circle docs say when a smooth mark counts and when drawn circles are reachable
shape.curvatureCircle's description and docs/mcp.md now say a smooth mark only overrides the corner test when both handles are pulled out and no segment of no length lies before the anchor. The tool and docs/mcp.md say the pointer reaches the drawn circles again once another tool is chosen.
2026-11-18 17:30:45 -08:00
dotCooCoo 4080708714 Merge main into feat/stylus-wheel 2026-11-18 17:25:37 -08:00
dotCooCoo f5b2dfa8b4 Merge main into feat/curvature-circle 2026-11-18 17:15:45 -08:00
dotCooCoo 1f26501f91 Pen: no rubber band where a click adds no segment, and the label measures the band
A click on the last anchor retracts its handle, an Alt click over the path
goes to the Anchor Point tool, and a join with an end that lies on the last
anchor merges the two ends. None of these adds a segment, so no rubber band
shows there. The measurement label measures to the anchor the band ends on
instead of the snapped pointer. A press and a hover no longer search for an
end at the snapped point when snapping left the pointer where it was.
2026-11-18 17:05:57 -08:00
dotCooCoo b92cdba3e0 Repeat: switching tools during a mirror axis or repeat handle drag puts it back
Switching away from the Selection tool while dragging a mirror axis or a
grid or radial repeat's handles left the drag's preview open under the
next tool. The Selection tool now cancels these drags on a tool switch,
as Escape already did, so the repeat goes back to its options from
before the press. A press that has not changed anything leaves no undo
step.

The deactivate doc comment now lists these drags and the Image Trace
divider.
2026-11-18 16:54:56 -08:00
dotCooCoo 61cc30e9b8 Image Trace: a shown center point keeps its drag over the divider
With Show Center on, a press on a selected Image Trace object's center
point where the Split view's divider crosses it moved the divider
instead of the object. The divider now leaves a press on a shown center
point to the Selection tool, as it already did for the bounding-box
handles.
2026-11-18 16:40:27 -08:00
dotCooCoo 9f859372e4 Reflect tool: a click released after the document changed sets nothing
A press that the document or selection changed under before its release, without
becoming a drag, now sets no reference point and starts no Reflect axis, as a
drag from such a press already did.
2026-11-18 16:40:21 -08:00
dotCooCoo e9650d17a4 Image Trace: switching tools during a divider drag puts the view back
Switching away from the Selection tool while dragging the Split view's
divider left the drag's interaction open with its preview in the
document. The Selection tool now cancels the drag on deactivate, as
Escape does, as it already did for the corner, pie, side and blend
widgets.
2026-11-18 16:09:36 -08:00
dotCooCoo e39e6713d9 Reflect tool: Enter or a dropped press ends a press not yet a drag
Enter between the press and the release of a click now ends that press,
so the release sets no reference point and starts no Reflect axis behind
the dialog. A press the engine drops ends whether or not it became a
drag, and drops a waiting axis, so the release sent after it starts no
axis. A press whose document or selection changes before it becomes a
drag is dropped, so the reference point or axis set for one selection
is never applied to another.

The engine test checks that the Alt copy is reflected across y = 300.
The docs state that the first click is a plain click, that the 3 px
check compares the snapped points, and what a double-click does while
an axis waits.
2026-11-18 16:09:31 -08:00
dotCooCoo f4071dd56a Merge main into feat/image-trace-split-view 2026-11-18 15:58:59 -08:00
dotCooCoo d94d3ef097 Type: the missing-font question takes its answer through tool.setOption
- `tool.setOption {key: "missingFontEdit", value: {token, ok}}` now passes
  the Type tool's option check, so a client can answer the question that
  a click on type in a missing font asks. Before, it failed as an unknown
  option.
- A press on such type that reaches the Type tool while another dialog is
  open (sent with `pointer_gesture`) leaves that dialog open and starts no
  edit, instead of replacing it.
- docs/mcp.md says which double-clicks ask, and that OK starts no edit
  when the document changed after the question opened.
- The doc comment of `GENERIC_FAMILIES` notes that `emoji` is kept
  although CSS Fonts Module Level 4 dropped it.
2026-11-18 15:41:34 -08:00
dotCooCoo 6e8a8e8cdb Shapes: a Circle tool release near the press is a click, also after a drag
A press dragged away and let go within 2 screen points of where it was
pressed was still taken as a drag. A second press dragged out and back
drew the circle through three nearly collinear points, or nothing, and a
press on the first point drew a circle about 1 pt across. The release
distance now decides: such a release keeps the press's point, so a second
press draws the circle on the diameter to it, a press on the first point
places nothing, and a first press places the first point. The preview
and the guides of the drag go with it.
2026-11-18 15:18:56 -08:00
dotCooCoo 3ef0e5e588 Symbols: the Symbolism tools take their new options, and OK checks them before any change
tool.setOption now accepts usePressure, method, showBrush, the Symbol
Sprayer options, proportional and affectsDensity for the Symbolism
tools, so the Symbolism Tools Options dialog can save them. The dialog
checks every option, the number ranges included, before
symbol.setDensity re-spaces the selected symbol sets.

- Size: Average gives a sprayed instance the mean size under the brush,
  or the symbol's own size with none there, without the size jitter.
- A stroke that moves an instance away and back again does not count
  it, and adds no undo step.
- symbol.adjust reads an instance's own values for Average only.
2026-11-18 15:10:38 -08:00
dotCooCoo b6fdf59eb9 Fix #8568: Shift moves check an artboard guide's reach as before
A diagonal Shift move that slides onto a ruler guide again checks an
artboard guide's run where the move put the bounds, not where the slide
would put them, so the guides a Shift move reaches are the same as on
main. A selection held by its edge still checks where the slide puts
the bounds. A test covers a diagonal Shift move whose middle is beyond
an artboard guide's end.

The Drawing aids line now names the Selection tool for edge holds and
says the slide does not go past the path's ends.
2026-11-18 14:50:33 -08:00
dotCooCoo cf4dd8b375 Merge main into feat/control-bar-shape-widgets 2026-11-18 14:13:10 -08:00
dotCooCoo 247bfeb11d Merge main into feat/symbolism-options-method 2026-11-18 13:32:30 -08:00
dotCooCoo 49c4ae5851 Merge main into feat/reflect-tool-two-click-axis 2026-11-18 13:24:45 -08:00
dotCooCoo bcfeca7c48 Merge main into feat/tool-cards 2026-11-18 13:19:27 -08:00
dotCooCoo a9cd206c04 Merge main into feat/tangent-circle-tool 2026-11-18 13:19:09 -08:00
dotCooCoo 2c16bb4c67 Merge main into fix/pen-rubber-band-close-join 2026-11-18 13:11:07 -08:00
dotCooCoo 38d9d45522 Merge branch 'fix/dimension-levels-linear' of github.com:dotCooCoo/vectorcraft into fix/dimension-levels-linear 2026-11-18 12:30:15 -08:00
dotCooCoo d515b1fb96 Dimension tool: the dimension reads stop at the 20,000-object limit
The walks that look for dimension ends and lines to snap to, and the
dimension lines a linear dimension lines up with, stop going through the
remaining layers and siblings once they have read 20,000 objects.
2026-11-18 12:30:12 -08:00
dotCooCoo cb3d274550 Fix #8568: a selection held by its edge lands that point on other paths
With Smart Guides on, a selection the Selection tool held by a point of
a path's edge (a press on its stroke, on its outline in Outline view, or
on the fill within 6 screen points of the edge) snapped that point only
to other anchors and centers, or lined its bounds up. It now also lands
on the other objects' paths ("path") and where paths and ruler guides
cross ("intersect"), as a selection grabbed by an anchor does since

On a straight path, the selection then slides along that path, the
point staying on it, until its bounds line up with other objects, are
spaced evenly with them or line up with a ruler guide. The slide goes
at most twice the Snapping Tolerance and not past the path's ends. On a
curved path and at a crossing the point lands as an anchor does, and
the bounds do not line up.
2026-11-18 12:29:10 -08:00
jayzed80 f64e61a986 Merge remote-tracking branch 'upstream/main' into HEAD
# Conflicts:
#	crates/doc/src/hit.rs
#	crates/tools/src/text.rs
2026-11-18 20:13:37 +00:00