Commit Graph
7959 Commits
Author SHA1 Message Date
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 6cd6d22167 Merge main into fix/print-overprint-gradient-zero-stops 2026-11-18 07:33:08 -08:00
dotCooCoo 2499661541 Merge main into feat/layers-locate-frontmost 2026-11-18 07:33:00 -08:00
dotCooCoo 34ec4ab745 Merge main into feat/object-mosaic-dialog 2026-11-18 07:31:04 -08:00
dotCooCoo 10123bd29e Merge main into feat/swatches-drag-to-new 2026-11-18 07:29:53 -08:00
dotCooCoo 85a410b08c Merge main into fix/transform-null-args 2026-11-18 07:25:53 -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
ruchirguitar f65766f07d Merge remote-tracking branch 'upstream/main' into feat/4934-retype
# Conflicts:
#	docs/gaps.md
#	docs/roadmap.md
#	docs/target-app-parity.md
2026-11-18 20:10:08 +05:30
dotCooCoo 0522ecdf96 Merge main into fix/recolor-group-keeps-gradient-swatches 2026-11-18 06:36:10 -08:00
dotCooCoo b0e4302b64 MCP: transform's schema accepts the null arguments it already takes
The transform tool treats a null reflect, copy or origin, and a null
numeric step, as given, but its inputSchema allowed only the non-null
types, so a client that validates against the schema could not send
them. Each of those properties now also allows null. The transform row
in docs/mcp.md says a step that is neither a number nor null is an
error, and that a null dx or dy counts as 0 and still runs the move.
2026-11-18 06:27:31 -08:00
dotCooCoo ccedee483f Merge main into fix/issue-7849 2026-11-18 06:21:28 -08:00
dotCooCoo 62ccc549f9 Merge main into fix/metafile-empty-artboard-first 2026-11-18 06:20:40 -08:00
dotCooCoo 153dbc89af Merge main into feat/polygon-side-widget 2026-11-18 06:13:55 -08:00
dotCooCoo 6d4af2cb6a Merge main into feat/object-mosaic-dialog 2026-11-18 06:12:45 -08:00
dotCooCoo a611d44b63 Merge main into feat/artboard-edge-button-tooltips 2026-11-18 05:56:53 -08:00
ruchirguitar 5e5003507e Merge remote-tracking branch 'upstream/main' into feat/4934-retype
# Conflicts:
#	docs/roadmap.md
#	docs/target-app-parity.md
2026-11-18 19:22:41 +05:30
yoriswind 390203c35b 6582: resolve status documentation after the Blend fix merged 2026-11-18 05:13:11 -08:00
BFlat dce8a0c05e Merge pull request #7065 from yoriswind/codex/5179-blend-spine-redraw-bounds
Fix redraw bounds for blends following a curved spine
2026-11-18 19:58:54 +07:00
yoriswind 91898148d6 6582: preserve Eraser behavior with current upstream documentation 2026-11-18 04:55:12 -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 866433867b Merge pull request #8406 from dotCooCoo/feat/pressure-sensitive-brush-library
Brushes: Add original Pressure Sensitive library
2026-11-18 18:41:39 +07:00
BFlat 61d3e9ecb6 Merge pull request #8257 from dotCooCoo/feat/palette-home-callout
Command Palette: the highlighted result points to where it lives
2026-11-18 18:26:19 +07:00
BFlat a97b205bf1 Merge pull request #8524 from dotCooCoo/feat/save-for-web-shift-color
Save for Web: double-clicking a color-table swatch shifts that color
2026-11-18 18:26:09 +07:00
BFlat 8ea87a5957 Merge pull request #8360 from dotCooCoo/feat/prefs-descriptions-slices
Preferences: the line under the fields describes each Slices setting
2026-11-18 18:26:00 +07:00
BFlat ff0f7dcac5 Merge pull request #8506 from dotCooCoo/feat/point-tangents
Path Precision Tools: Common Tangents draws the lines from a point to a closed path
2026-11-18 18:25:50 +07:00
BFlat 1ac4da3718 Merge pull request #8411 from dotCooCoo/fix/native-panel-command-geometry
Panels: update native floating window geometry
2026-11-18 18:25:41 +07:00
BFlat cb328a04ed Merge pull request #8555 from dotCooCoo/fix/issue-6448
MCP: transform refuses a mistyped reflect, copy or origin before any step
2026-11-18 18:25:22 +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
ruchirguitar 9c9410e3cc Merge remote-tracking branch 'upstream/main' into feat/4934-retype
# Conflicts:
#	docs/gaps.md
#	docs/roadmap.md
#	docs/target-app-parity.md
2026-11-18 16:41:13 +05:30
HassanKhan 1055050c09 Merge remote-tracking branch 'upstream/main' into fix-8543-pdf-tj-fill-stroke
# Conflicts:
#	docs/roadmap.md
#	docs/target-app-parity.md
2026-11-18 16:04:14 +05:00
HassanKhan d9a404f91b PDF import: no stroke match over lines finished past the limit (#8543)
Answers the fourth CodeRabbit review on #8549.

When a fill pass finishes lines beyond MAX_PARKED, their unstroked
glyphs are recorded (bounded at 4096). The first stroke after that
which could have gone over one of them ends the stroke pass, so a TJ
over more than 65 lines that comes back to where it began stays a
filled object and a stroked one for each part, as documented. Any
other first stroke drops the record, so type after an overflowing TJ,
filled only or not, is matched as before.

MAX_HELD's doc now says that one operator filling the same run of more
than 4096 glyphs twice at the same places is matched as well as it can
be: the reader tells no operator's start.
2026-11-18 16:03:34 +05:00
ruchirguitar 5e6b2cc1d9 Merge remote-tracking branch 'upstream/main' into docs/8387-stale-gap-entries
# Conflicts:
#	docs/gaps.md
#	docs/target-app-parity.md
2026-11-18 16:32:44 +05:30
HassanKhan 799d95f900 Merge remote-tracking branch 'upstream/main' into fix-8538-locked-guides
# Conflicts:
#	docs/roadmap.md
#	docs/target-app-parity.md
#	docs/ui-parity.md
2026-11-18 15:47:44 +05:00
yoriswind 3f09579dcd Merge upstream main to resolve PR #6601 documentation conflicts 2026-11-18 02:41:17 -08:00
HassanKhan f23eb05224 PDF import: keep stroke boundaries in the fallback and long passes (#8543)
Answers the third CodeRabbit review on #8549.

- stroke_last no longer restyles the glyph drawn last once a boundary
  (end_fills) closed it: a stroke after an ActualText span no longer
  strokes its replacement text. A glyph stroked again where it was just
  drawn still stays one object.
- Past MAX_HELD, the held strokes go over the last run of consecutive
  fills they match with room for all of them, not the first, so a long
  stroke pass no longer takes the same glyphs an earlier operator
  filled at the same place.
- Docs: the limit is 64 kept-back lines plus the open one, so a TJ over
  up to 65 lines stays filled and stroked.
2026-11-18 15:27:08 +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 b388f14393 Merge main into feat/save-pdf-bleed-link 2026-11-18 02:04:11 -08:00
dotCooCoo f1189ca4e2 Brushes: check both pressure samples and count eleven brush libraries
The Pressure Sensitive test now requires finite anchors and a positive,
finite width at both light and heavy pressure before it compares them.
The current brush-library inventories in docs/target-app-parity.md,
docs/gaps.md, docs/roadmap.md and docs/ui-parity.md list Pressure
Sensitive and count eleven built-in libraries.
2026-11-18 02:03:18 -08:00
dotCooCoo 6a4b08f660 Merge main into fix/issue-7849 2026-11-18 01:57:42 -08:00
dotCooCoo bc90e5e8c6 Merge main into feat/find-replace-dialog 2026-11-18 01:57:13 -08:00
ruchirguitar c1613f2bf5 M7/G4: retype checks points along every edge; keys charged once (#4934)
The whole-outline check tests points along every edge, so outlines with
the same corners joined another way do not match; past a work limit it
rejects. Face keys another Retype kept meanwhile are reused and charged
once. The fonts parameter test uses outlines that would match. The parity
note states the search limits.
2026-11-18 15:25:41 +05:30
dotCooCoo 4074065b2d Docs: restore the Japanese catalog line 2026-11-18 01:55:39 -08: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 efc36481b1 Find and Replace: Find with other Find text starts at the first match
With no place to go on from, the dialog left out edit.findNext's from, so the search went on after the selected type object and passed over its matches: after Find selected a type object, changing the Find text skipped the matches in it. edit.findNext now starts at the first match for a null from, and the dialog sends one.
2026-11-18 01:46:57 -08:00
HassanKhan 8796b773ec PDF import: a stroke pass matches only glyphs filled since its last boundary (#8543)
Answers the second CodeRabbit review on #8549.

- A stroke that goes over no filled glyph (stroked type of its own) and
  the start and end of an ActualText span now end the stroke pass
  (Builder::end_fills): the held strokes are matched, the parked lines
  finished and the open line's fills closed, so a later stroke can't go
  over an earlier fill and a later span keeps its own replacement text.
- ActualText fills are ordinary entries in the line's fill list, and
  span strokes are held and matched in replay order like any other, so
  an A/B/A TJ in a span strokes the replacement. The actual_fills map,
  stroke_parked and has_actual_fill are gone.
- Past MAX_HELD, the held strokes are matched to the first run of
  glyphs filled one right after another that they go over
  (Builder::replayed), with bounded work, instead of each to its first
  match, which could reach an earlier operator's fill.
- Docs state that past 64 lines in one operator each part stays a
  filled object and a stroked one.
2026-11-18 14:46:42 +05:00
dotCooCoo ca5f8ae115 Merge main into fix/i18n-drop-old-control-characters-rows 2026-11-18 01:42:17 -08:00
dotCooCoo e2f68da7fb Docs: Slices line names Type among the categories with sentences
The Slices line in the progress list now names Type with the other
categories that have sentences, and the UI chrome row cites #8360.
2026-11-18 01:40:42 -08:00