Commit Graph
1190 Commits
Author SHA1 Message Date
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
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 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 4080708714 Merge main into feat/stylus-wheel 2026-11-18 17:25:37 -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 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 f4071dd56a Merge main into feat/image-trace-split-view 2026-11-18 15:58:59 -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 247bfeb11d Merge main into feat/symbolism-options-method 2026-11-18 13:32:30 -08:00
dotCooCoo bcfeca7c48 Merge main into feat/tool-cards 2026-11-18 13:19:27 -08:00
bflatastic 1e3e559820 combo: #8559 2026-11-19 01:26:13 +07:00
bflatastic 5c6d82aa58 combo: #8517 2026-11-19 01:26:09 +07:00
bflatastic 9fe3884d67 Merge main into #8559 2026-11-19 01:21:18 +07:00
bflatastic f79889da55 Merge main into #8517 2026-11-19 01:21:06 +07:00
bflatastic 86eb9aa115 Merge main into #7867 2026-11-19 01:19:48 +07:00
BFlat 981b2b1db3 Merge pull request #8586 from storytold/fix/type-overlay-font-race
tests: Type tool layout counts no longer race tests that add fonts
2026-11-19 01:17:56 +07:00
BFlat 16ef2053b3 Merge pull request #8562 from dotCooCoo/fix/issue-8537
Fix #8537: Dimension tool points land on preview bounds corners
2026-11-19 00:43:48 +07:00
BFlat a0bc3a7900 Merge pull request #8500 from dotCooCoo/feat/bristle-pen-cursor
Paintbrush: preview Bristle tip for rotation-capable pens
2026-11-19 00:43:00 +07:00
BFlat ca812ef78e Merge pull request #8408 from dotCooCoo/feat/type-missing-font-edit-confirm
Type: editing type set in a missing font asks to confirm first
2026-11-19 00:42:06 +07:00
BFlat b8463c946f Merge pull request #8252 from dotCooCoo/feat/polygon-side-widget
Shapes: dragging a live polygon's side widget changes its number of sides
2026-11-19 00:40:12 +07:00
bflatastic ee285c67a5 tests: Type tool layout counts no longer race tests that add fonts
The tests that count the layouts the Type tool keeps read vectorcraft_text::layout_inputs()
through its cache key. Tests in the same binary that add a font or change the hyphenation
exceptions bump it, so a count running beside one saw every frame laid out again
(type_overlays_keep_at_most_frame_layouts_max: 2051 instead of 2). Counting tests now hold a
shared test-only lock for reading and tests that change those inputs hold it for writing.
2026-11-18 23:43:02 +07:00
dotCooCoo 83bb31c9e2 Merge main into feat/type-missing-font-edit-confirm 2026-11-18 07:33:32 -08:00
dotCooCoo c609e56b87 Dimension: no preview bounds corners for guides or compound members
- A path made into a guide draws without its strokes or effects, so its
  preview bounds give no corners.
- The members of a compound path draw with the compound path's own
  appearance, so only the compound path's preview bounds give corners.
- Another path's anchor right on a preview bounds corner takes a click
  on the anchor that corner stands in for, so the point links to that
  path.
- A corner that its path cannot hold a point at, as on a stroked dot
  whose anchors all coincide, is not snapped to, so a click by the dot
  picks its anchor.
- The pointer test before measuring a path includes the right and
  bottom edges, as the 8 pixel distance test does.

Docs: docs/dimensions.md and docs/target-app-parity.md name paths made
into guides and compound path members among the art without corners.
2026-11-18 07:33:20 -08:00
dotCooCoo 18c4a7b965 Merge main into feat/stylus-wheel 2026-11-18 07:27:22 -08:00
dotCooCoo 3258e97f8e Merge main into feat/symbolism-options-method 2026-11-18 07:27:02 -08:00
dotCooCoo 5b58497e72 Merge main into fix/issue-8537 2026-11-18 07:09:23 -08:00
dotCooCoo 62c015d393 Dimension: a preview bounds corner takes only the anchor it stands for
A corner of a path's preview bounds took a Linear pick from every anchor
of its own object within 8 pixels, so the top, left, right and bottom
anchors of a small stroked circle, and the anchors of a rotated stroked
shape when zoomed out, could no longer be picked.

- The corner now takes the pick only from the holding path's anchor at
  the same corner of the object's geometric bounds. Any other anchor,
  of that object or of other art, that is nearer the pointer takes the
  point, and the nearest anchor wins a tie as the topmost.
- The path that holds a point picked on a corner is kept from the pick,
  instead of being worked out again from the point's position, so a
  point that only happens to lie on a corner links to what is under it.
  A path deleted between the clicks holds nothing.
- A corner of a compound path whose supplying member is hidden or
  locked is not snapped to.
- The hovering test checks the "anchor" label at the corner, and a new
  test covers the anchor ring right on the end of a dimension's line.

Docs: docs/dimensions.md and docs/target-app-parity.md say that only the
four corners are snapped to, by VectorCraft's own rule, not the edges of
the preview bounds, a group's own strokes or effects, or type; that a
corner point starts no construction guides; and that the dimension
measures W and H when it is drawn, since a later stroke weight change or
a scale with Scale Strokes off moves the point with the anchors.
2026-11-18 07:06:54 -08:00
dotCooCoo 095897d658 Merge main into feat/anchor-point-alt-link-handles 2026-11-18 06:26:39 -08:00
dotCooCoo 153dbc89af Merge main into feat/polygon-side-widget 2026-11-18 06:13:55 -08:00
dotCooCoo a611d44b63 Merge main into feat/artboard-edge-button-tooltips 2026-11-18 05:56:53 -08:00
BFlat a9863c13af Merge pull request #8564 from Hassan1305/fix-8538-locked-guides
Lock Guides: a marquee skips guides in groups, and a group's transform leaves them in place
2026-11-18 19:33:51 +07:00
BFlat c6ced6ac64 Merge pull request #8560 from dotCooCoo/fix/pen-rubber-band-is-the-click
Pen: the rubber band after a smooth anchor is the curve a click adds
2026-11-18 18:25:13 +07:00
BFlat 91c6a702c6 Merge pull request #8535 from dotCooCoo/fix/dimension-line-level
Dimension tool: a dimension line placed beside another lands on its level
2026-11-18 18:25:01 +07:00
HassanKhan 41f7d4e06a #8538 review: drop kept guides on transform, finish the marquee rule
A transform no longer leaves locked guide paths in place: a guide in a
group moves with its group again, as on main. Keeping them put made
Align, Transform Each, the pixel-grid snap and Objects on Path measure or
place art the transform did not move. Scaling::keep_guides and its
engine wiring and test are removed.

The marquee rule now covers the rest of the selection side, while guides
are locked or hidden:
- the guide rule goes down the walk as an explicit Rules value instead
  of a thread-local guard;
- an Enclosing Lasso loop does not take a compound path for its guide
  contours;
- an enclosing marquee measures a group without its guide paths
  (Node::without_guides);
- Direct Selection's marquee takes no anchor or crossed segment of a
  guide path.

Docs: the Guides area row, its evidence entry and the M1 row describe
the marquee behaviour; status lines and revision rows say a guide in a
group still moves with it.
2026-11-18 16:15:04 +05:00
HassanKhan c6a419a097 Lock Guides: a marquee skips guides in groups, a group's transform leaves them
While guides were locked, a guide path inside a group was still touched by
a selection marquee, so the marquee selected the group and moving the
group moved the guide (#8538). Clicks already skip guides (#3074).

- hit: marquee_in_view and enclosure_candidates take skip_guides; the
  Selection, Direct Selection, Group Selection and Enclosing Lasso tools
  pass !cx.guides, and the marquee then touches no guide path at any depth.
- doc: Scaling::keep_guides leaves the guide paths among a group's,
  layer's or Intertwine group's children in place, as a ruler guide in a
  transformed layer already stays.
- engine: transforms (apply_transform), Transform Each and Align and
  Distribute set it while Lock Guides is on; a copy takes a copy of the
  guide with the copied art and leaves the original.

Fixes #8538
2026-11-18 15:24:42 +05:00
dotCooCoo 1d974067ce Fix #8537: Dimension tool points land on preview bounds corners
With Use Preview Bounds on, W and H measure a stroked path from the
outside of its stroke, while the Dimension tool's Linear points only
snapped to the path's anchors, on the stroke's centerline. A dimension
between the corners of a 12 x 6 mm rectangle with a 0.4 mm stroke then
read 11.6 x 5.6 mm.

- With Use Preview Bounds on, a Linear click within 8 pixels of a corner
  of the preview bounds of a path or compound path (strokes and effects
  included) lands on that corner instead of on that object's anchors,
  whatever the snapping options. An anchor of other art nearer the
  pointer than the corner takes the point, and a corner that is also an
  anchor takes the anchor.
- The point is held against the anchors of the path whose bounds reach
  that corner, also when the corner lies far from the path or on another
  path's segment. It moves with the path; a later change to the stroke
  weight does not move it.
- A press on such a corner picks it when the pointer moves a few pixels
  before the release, as on an anchor.
- Hovering by such a corner shows the anchor ring. The ring now also
  shows when the pointer is exactly on the point a pick lands on, which
  it did not for the end of a dimension's line.

Docs: docs/dimensions.md, docs/target-app-parity.md.
2026-11-18 01:51:42 -08:00
dotCooCoo 18a7f7b84b Dimension tool: a dimension of the same points lines up too
The level a new dimension line lands on now comes from the dimension
lines in the document before the dimension's first preview, so its own
preview is never a level. A dimension drawn earlier between the same two
points now acts as a level as well; before, every dimension of those
points was skipped.

- Of two lines on one level, a line the pointer lies across wins over a
  line whose end is nearer the pointer.
- A dropped press while placing removes the level guide with the
  preview.
- The reach uses the Smart Guides snapping tolerance helper.
- docs/dimensions.md says the rule applies to a dimension anywhere in
  the document.
- The tests are split by behavior, with new tests for the same points,
  pointer moves in small steps, the guide after a dropped press and
  with Alignment Guides off, and the tie-break.
2026-11-18 01:40:21 -08:00
dotCooCoo 405490a52a Pen: the rubber band after a smooth anchor is the curve a click adds
The preview segment from an anchor with an outgoing handle was drawn as a
quadratic curve through that handle, while a click appends a corner
anchor, which makes the cubic curve that leaves along the handle and
arrives without one. The segment changed shape when the anchor went
down. The rubber band now draws that cubic curve.

Part of #8296.
2026-11-18 01:39:59 -08:00
dotCooCoo 60ecfd7aed Selection: a press on a group member with every anchor selected moves it
select.anchors and select.key leave a path with all of its anchors in the
selection's anchor map. The Selection tool's check for a selected member
under the pointer read any anchor entry as a partial selection, so a press
on such a member selected the outer group instead of moving the member.

The check now counts a member as selected whole when its anchor entry
holds every anchor of the path.
2026-11-18 01:38:48 -08:00
dotCooCoo 255cdcb6ca Shapes: switching tools during a widget drag puts the shape back
Switching away from the Selection tool or a shape tool during a drag of
a corner, pie or side widget left the drag's interaction open with its
preview in the document. Both tools now cancel the drag on deactivate,
as Escape does, as the Selection tool already did for a blend widget.
2026-11-18 01:21:57 -08:00
dotCooCoo 8c818cda86 Merge main into feat/artboard-edge-button-tooltips 2026-11-18 01:02:11 -08:00
dotCooCoo bec193c6bc Merge main into feat/polygon-side-widget 2026-11-17 22:44:14 -08:00
dotCooCoo c6b657b96f Merge main into feat/editable-flares 2026-11-17 22:42:31 -08:00
BFlat 7c6eb1b289 Merge pull request #8426 from dotCooCoo/perf/shape-builder-hatch-sweep
Shape Builder: the hover and drag hatch tests each line only against the edges spanning it
2026-11-18 13:14:34 +07:00
BFlat 0c7b92730b Merge pull request #8467 from dotCooCoo/perf/direct-blend-spine-guard
Direct Selection: the selected blend spine check returns at once when no blend is selected
2026-11-18 13:14:15 +07:00