Commit Graph
10303 Commits
Author SHA1 Message Date
ruchirguitar 05709aa624 Appearance panel: add row context menu (Duplicate, Delete, Hide/Show, Edit Effect, Clear Appearance) 2026-11-20 21:53:58 +05:30
ruchirguitar eca3bb5d0e Actions panel: add context menu for action sets and actions (Play, Duplicate, Delete, Options, Batch) (#8815) 2026-11-20 23:07:41 +07:00
dotCooCoo 562bc30860 Merge main into fix/live-paint-contents-group-targets 2026-11-20 06:45:10 -08:00
f363f0a3e0 Adopt the shared AGENTS.md (RFC-0072) (#8805)
* Adopt the shared AGENTS.md (RFC-0072) and test rules (RFC-0071)

* Drop a restated rule from This repository

* Remove the cleanroom xtask command, which does not exist

* AGENTS.md: correct the repository facts

The desktop app's platform modules allow unsafe; list them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: FredApps <FredApps@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: FredApps <153173854+FredApps@users.noreply.github.com>
2026-11-20 21:30:25 +07:00
dotCooCoo f9c00a5ae5 Live Paint: graphic styles on a group's contents give fills to its faces and strokes to its edges
Follows #8765. graphicStyle.apply with target "contents" gave every face
and edge of a Live Paint group the whole style, so faces drew the style's
strokes along their outlines and edges drew its fills. Each face now takes
only the style's fills and each edge only its strokes, with or without
add, and neither is linked to the style. An add that gives a face or edge
nothing leaves it and its link as they are, and an apply that changes
nothing records no undo step.

appearance.clear on the contents leaves a face one empty fill and an edge
one empty stroke, and appearance.reduceToBasic keeps only a face's fill
and only an edge's stroke.

Docs: docs/mcp.md, params text, docs/target-app-parity.md.
2026-11-20 06:26:51 -08:00
dotCooCoo 3e4e4e255f Merge main into feat/retype-near-matches 2026-11-20 06:02:09 -08:00
dotCooCoo 3581f6e3c3 Merge main into fix/live-paint-bucket-journal-replay 2026-11-20 05:43:52 -08:00
dotCooCoo a7ab3b782e Merge main into feat/fogra51-52-cmyk-v2 2026-11-20 05:42:42 -08:00
dotCooCoo 3d652613c9 Merge main into feat/quick-pen-length-handles 2026-11-20 05:40:04 -08:00
dotCooCoo aa94a6b6e7 Merge main into feat/color-wheel-oklch-sliders-v2 2026-11-20 05:35:56 -08:00
dotCooCoo 4daef561c8 Live Corners: a live rectangle or polygon selected whole shows the Corners link
With Direct Selection, one live rectangle or live polygon selected whole now shows the Corners link in the Properties panel beside its own rows. Before, the panel showed the link only while an anchor of the shape was selected. The pop-up sets every corner of the shape. A path with Live Corners selected whole still shows no corner rows.
2026-11-20 05:30:30 -08:00
dotCooCoo 4875606bb7 Live Corners: a Corners link opens the corner settings of the picked corners
The Control bar and the Properties panel show a Corners link beside the
radius field of the picked corners. It opens a pop-up with the corner
kind, the radius (blank while the picked corners differ) and Relative or
Absolute rounding. Each change sets the picked corners of every selected
path in one object.setLiveShape call with items, one undo step: the
corners holding a Direct-Selected anchor, or every corner of a path
selected whole. The Properties panel shows the link while a corner is
Direct-Selected; its corner rows now cover several selected paths too,
and a live rectangle or polygon selected alone, which keeps its own
radius and kind rows, shows the link for the pop-up.

object.setLiveShape with relativeRadii: true now works on a plain path
with corners: the path keeps its outline as the base of its Live
Corners. Before, it did nothing, and relativeRadii: false added an empty
undo step. A Relative path whose corners are all uncut again keeps its
rounding, and Absolute on one with no corner cut makes it a plain path
again.

With Relative rounding, a radius is now compared as the fraction it
would store, so typing the radius the field shows, or a radius past the
corner's maximum again, adds no undo step. Before, it was compared with
the radius as drawn.

Part of #1232. Reported by XTRECY-BD.
2026-11-20 04:31:00 -08:00
HassanKhan 74efef35c7 docs: drop angular cut caps from the 3D missing lists (#8312)
Revolve's Cap closes a partial sweep's angular cut sides (revolve.md).
2026-11-20 17:05:28 +05:00
HassanKhan 0595f6e8ab docs: list first-light shadows and 3D graphics as built (#8312)
README's What's missing no longer names Extrude & Bevel, Inflate and
Rotate; G3 and the effects-parity 3D summary name what remains: base and
Substance materials and shadows from lights after the first.
2026-11-20 16:50:24 +05:00
yoriswind 0721fa2982 Document retained Image Trace sampling navigation in the area row 2026-11-20 03:31:20 -08:00
yoriswind 0a10e3eefb Merge current main and preserve sampler navigation documentation 2026-11-20 03:13:13 -08:00
dotCooCoo 4e5345968b Retype: ranking near-match candidates counts against the comparison budget
Near matching ranked every glyph of the shape's contour count and proportion
before comparing the 256 closest, and that ranking was not counted against the
point comparisons each shape and command may make, so a large selection over
many fonts could spend unbounded time there. Each glyph ranked now takes one
comparison per contour and one more from the same budget, the ranking keeps
the closest glyphs without sorting the rest, and the shares of contour length
are read without allocating per glyph.
2026-11-20 01:59:28 -08:00
dotCooCoo 5200e3c54b Retype: loaded fonts past the first 96 are compared too
Retype compares at most 96 loaded faces in one index: the document's
fonts, the fonts in `fonts` and the faces earlier searches of the
installed fonts loaded come first. Loaded faces past those 96 were never
compared, and the search of the installed fonts leaves loaded faces out,
so a shape only such a face matches stayed unmatched.

- type.retype now compares the loaded faces past the first 96, 96 at a
  time, with the shapes that are not plain and that the first 96 do not
  match, before it reads any installed file. The background search hands
  those faces to the command with what it found in the installed fonts.
- A face that another version of its family and style shadows is no
  longer compared ahead of the other loaded faces.
- A background search whose command fails before it takes what the
  search found no longer leaves it for a later command.
- With the Retype panel's list full, installed faces count as skipped
  only when a shape would start a search of the installed fonts.
- "Retype failed: internal error: its thread stopped" has a row in each
  complete catalog.

Docs: docs/mcp.md (Retype installed fonts).
2026-11-20 01:43:43 -08:00
dotCooCoo f9548440bd Retype: a translucent compound path whose glyphs overlap stays an outline
The glyphs of a split compound path can become separate type objects, for
example on two lines. A compound filled by the nonzero rule whose glyphs
overlap passed the paint check, and with an opacity below 100% the two objects
then painted the overlap twice. A split whose parts overlap now keeps the shape
an outline when the shape has an opacity below 100%, a blend mode other than
Normal, a gradient or pattern fill or a stroke.
2026-11-20 01:40:36 -08:00
dotCooCoo d1859cf03f Retype: a compound path of more than 65,536 path elements is not split into glyphs
Splitting a compound path copies its contours and compares each with the
others. A selected compound of a few contours with a very large number of path
elements was split however many elements it had. Such a shape is now matched
whole only, like one of more than 256 groups or 512 contours.
2026-11-20 00:44:37 -08:00
FredApps 3c4fb3c8fa Merge main into pencil-redraw-extend 2026-11-20 09:36:37 +01:00
dotCooCoo b237da4672 Retype: a near glyph whose size and turn would draw it past the tolerance ends the line
A near-matched glyph joins a line when its size and turn are each within the
tolerance of the line's, and the line's type then draws it at the line's size
and turn. Together with the glyph's own leftover distance, that change could
put the drawn glyph further from its shape than the tolerance: an m 4% larger
and turned 0.04 radians stayed on its line at tolerance 0.05.

The layout check now also measures, for each near-matched glyph (and each glyph
of a line whose first glyph is one), how far the change from its matched size
and turn moves the drawn outline relative to its spread, combined with its own
leftover distance, and splits the line before it when that passes the
tolerance, or when the glyph's center sits further away than its origin may.
2026-11-20 00:24:20 -08:00
dotCooCoo 00ac5d7a3f Retype: installed fonts that are not loaded yet are matched too
Shapes no loaded font matches are now compared with the installed fonts
that nothing has loaded yet. type.retype reads their files one at a time,
smallest first, until each such shape matches a font it has read, and
type.retypeFonts (the Retype panel's list) ranks the matching installed
fonts with the loaded ones, up to 96 fonts in all.

- A file is read for the search and released. A face whose glyphs match
  is loaded as it was read, without the family's other files, and later
  searches in every open document compare it ahead of the other loaded
  faces. A matching face that another version of the same family and
  style shadows is loaded and not listed.
- Files over 256 MiB, and the files and faces past 2 GiB read or 500,000
  glyphs drawn, are left out and counted in the result's
  installed.skipped.
- A plain shape (one contour of up to four straight edges, such as a
  rectangle or a hyphen) does not start the search, and matches only a
  font the other shapes found.
- installed: false turns the search off; any value other than true,
  false or null is an error. retype.find takes installed too.
- In the app, Type > Retype and Find Matching Fonts (the panel's button,
  or retype.find from a menu or the command palette) search on a thread
  of their own. After 0.4 seconds a progress window shows the files
  read, with Cancel (also Esc, retype.cancelSearch). When the search is
  done the command runs with the fonts it found, without reading the
  installed fonts again, unless the document or its selection changed
  meanwhile. Reset Retype Panel and a new search stop a panel search.
  An MCP cancel stops the search between files.

Part of #4934.
2026-11-19 23:42:54 -08:00
dotCooCoo cf80c11871 Retype: a compound tries its other complete splits when the paint check rejects the first two
A compound path whose split with the longest runs and split with the shortest
runs both failed the paint check stayed an outline, even when another complete
split (AB and CD for groups A, B, C and D) passed it. The split search now
checks the other complete splits in order, at most 32 per shape for exact
matches and 32 for near matches, and looks each run of groups up at most once,
only when the search reaches it.
2026-11-19 23:05:44 -08:00
dotCooCoo cbe31304f1 Docs: the Selection tool's corner widget double-click shows the Transform panel in the shape tools entry 2026-11-19 22:38:14 -08:00
dotCooCoo fd33180c84 Live Corners: a Selection tool double-click on a corner widget shows the Transform panel
With the Selection tool, a double-click on a visible corner widget of a
selected live rectangle or polygon now shows and selects the Transform
panel, where the shape's corner radius fields are, as the Rectangle,
Rounded Rectangle, Ellipse, Polygon and Star tools already do. It used to
open the Corners dialog. The tool, the selection, the document and the
undo history stay as they were. Direct Selection's double-click still
opens Corners.

Docs: docs/mcp.md (Live Corners), the ui.corners params text,
docs/ui-parity.md and docs/target-app-parity.md.

Part of #1232
2026-11-19 22:17:01 -08:00
dotCooCoo 2fa3e32c83 Retype: stacked lines split from one compound path become one object
Lines that a compound path of several glyphs splits into share that
shape, so the check that one line's shape comes right after the last
line's never passed for them, and each line stayed an object of its own.
Two lines of one shape now follow each other, and the other joining
rules decide as for lines of separate shapes. The lines of the existing
paint-order test are moved farther apart so they still make two objects.
2026-11-19 21:57:11 -08:00
dotCooCoo d2aede7c6e Eyedropper: Object Highlighting outlines the object a click would act on
With Smart Guides' Object Highlighting on, the Eyedropper now outlines
the object under the pointer that a click there would act on, with the
1.5 px layer-color outline the selection tools draw. It follows the
keys held: a plain click's source (locked and template art included,
as the Eyedropper reads them), the selected gradient mesh a click
recolors, the editable object an Alt-click gives the selection's
attributes to, and for a Shift-click the object whose color is sampled
(a blend or an envelope where its art is drawn, the art below where it
leaves a gap). Empty canvas and hidden art show no outline.

The tool finds that object with the same code its click uses: the
click is planned once (Tool::hover_object, Session::hover_object) and
the color sampler returns the object the color came from. The canvas
keeps the object found until the pointer, the keys, the document, the
selection or the tool's settings change, since finding it can sample
a color.

With Space held, a press pans the view, so no tool outlines an object
under the pointer; the selection tools showed one before.
2026-11-19 21:44:13 -08:00
dotCooCoo 8b304e232a Retype: no retyped line starts with a combining mark
A drawn bar, dot or ring can be the same shape as a combining mark in
one of the loaded fonts, and Retype turned it into point text that held
only that mark. On Linux, once other tests had loaded the system fonts,
the 80x40 rectangle in a_drawn_shape_is_reported_and_left_alone matched
U+05BD in DejaVu Sans Bold, so that test failed in full runs of the
engine's tests.

- When a shape would start a line and its first 16 matched glyphs
  include another character's glyph, in its own font or another loaded
  one, it starts the line as that character. A line's first shape is
  not turned into a mark to take the glyph after it.
- When all of them are marks, the shape stays an outline and is listed
  in unmatched, and the glyph after it starts the line. A lone
  one-contour glyph after it (a dot after a bar) is judged alone, as on
  its own.
- A mark left at the start of a part split off where type stops
  drawing the outlines in place becomes the other character its shape
  matches, on a line of its own, or else stays an outline. The glyphs
  after it are measured for tracking again without the mark's gap.
- A mark that follows another glyph on its line is retyped with it, as
  before.
- type.retypeFonts does not list a font whose glyphs match the shapes
  only as combining marks.

Docs: docs/mcp.md and the params text of type.retype and
type.retypeFonts.
2026-11-19 21:06:58 -08:00
dotCooCoo c46bdce706 Color Wheel: a remembered pick ends with the document's undo step
The remembered HSB, OKLCH and HSL now also belong to the document's undo
step. Another edit, an Undo or a Redo drops them, also when the slider
rows are hidden and the same color comes back before they show again.

docs/mcp.md: color.convert to oklch answers an object with
model "oklch" and values [L %, C, H°].
2026-11-19 20:35:48 -08:00
dotCooCoo 8483baf11f Retype: the type docs say which two-glyph lines take another line's tracking
A line of two glyphs that untracked type does not draw in place takes the
tracking of the nearest tracked line in the same font, size and turn, and
keeps it only when type at that tracking draws both glyphs in place. A line
of one or two glyphs that joins tracked lines in one object takes their
tracking. The Retype row in docs/type-parity.md said other lines are set
untracked.
2026-11-19 20:13:02 -08:00
dotCooCoo 77f0cf29ff Docs: record Show Opacity in the color area row 2026-11-19 20:13:01 -08:00
yoriswind 5027d01fbc Color conversion: index global swatch bases (#8804) 2026-11-19 19:19:14 -08:00
dotCooCoo c609eb49af Live Paint: canceling restores the defaults after a later ordinary preview
An interaction that previewed a command with defaultsOnly: true keeps
putting the defaults it began with back on every later preview and on
cancel, also when the latest preview gives no defaultsOnly. docs/mcp.md
says that library.use keeps item as the library item.
2026-11-19 17:59:44 -08:00
dotCooCoo 946c80f9e1 Merge main into fix/value-fields-arithmetic 2026-11-19 17:22:16 -08:00
dotCooCoo 88e3575a1e Quick Pen: a length drag ends where the pointer is let go and ignores outside edits and piece keys
The end handle's drag now applies the release position before it ends, so a press let go
away from the handle without a drag event still changes the length. An edit made outside
the tool during the press ends the drag, so a later preview does not overwrite it. C and
[ ] do nothing until the drag ends. A selected compound path shows the length handles of
the paths it holds, and path.quickPenLength checks its result against the same canvas rule
as the drag.
2026-11-19 17:22:09 -08:00
dotCooCoo 2d3be0f514 Pen: Quick Pen drags move a selected path's anchors and segments, and its context menu deletes
With no path being drawn, the Quick Pen tool edits the selected paths, as the
help page describes ("Drag the anchor points or the path to edit the object",
and right-click Delete to remove a path):

- A drag on an anchor moves it, and a drag that starts on one of several
  selected anchors moves them all; a drag on a segment moves its two ends.
  The tool selects what it moves (select.anchors or select.segments) and
  sends path.moveAnchors with interpolate, one undo step per drag, so a
  segment with one moved end is turned and scaled to its new ends: a line
  stays a line and an arc an arc of the same angle. A dragged anchor snaps
  to Smart Guides. Escape during the drag takes it back.
- A click on an anchor selects it alone, and Shift-click adds it to the
  selected anchors or takes it out. A click on an open end still goes on
  drawing from it (with the path selected whole again), a drag there moves
  the end, and a click on a segment starts a new path.
- With the Quick Pen chosen, the canvas context menu has Delete
  (edit.clear), which removes the selected anchors or objects.

The cursor shows what a press does over an anchor, a selected anchor, an
open end or a segment. While a path is being drawn, a press adds a piece as
before. Which presses select and which move, and the drag snapping only an
anchor, are VectorCraft's own rules.

Docs: docs/mcp.md, ROADMAP, docs/target-app-parity.md, docs/ui-parity.md,
crates/tools/src/cursors.toml.

https://helpx.adobe.com/illustrator/web/add-and-edit-artwork/draw-and-edit-paths/draw-with-quick-pen-tool.html
2026-11-19 17:19:01 -08:00
dotCooCoo 9175afffe0 Merge main into feat/circle-from-center 2026-11-19 16:57:58 -08:00
dotCooCoo 3f8e4b1fdc Merge main into feat/distorted-image-commands 2026-11-19 16:54:09 -08:00
dotCooCoo 089ab75553 Merge main into feat/color-wheel-opacity 2026-11-19 16:41:40 -08:00
dotCooCoo 8158107e82 Retype: a counter too narrow in any direction, or an outline too large to probe, keeps the shape an outline
The fill check rejects a counter whose convex hull is narrower than three times the outline tolerance in some direction, so a turned strip is caught as well as an upright one, and rejects a shape whose outline is too large to flatten. Exact parts of a split compound are checked at tolerance 0 even when near matches are allowed, so a split that only exact matching found is not accepted under the wider tolerance. The tracking sentence in docs/type-parity.md names its three-glyph condition.
2026-11-19 16:40:10 -08:00
dotCooCoo 4aa133a285 Merge main into feat/color-wheel-contrast 2026-11-19 16:36:02 -08:00
dotCooCoo 426ea94268 Live Paint: bucket paint commands replay from the journal with any tool
While the Live Paint Bucket is active, a paint or stroke command that names
no objects changes only the colors the bucket paints with. The journal
recorded the params as given, and the active tool is not journaled, so a
replay with the Selection tool active painted the selection instead.

The paint and stroke commands now take defaultsOnly: true, which keeps a
command without ids, id or item to the defaults with any tool active. When
the bucket routed a command, its journal entry notes defaultsOnly: true,
also when the params gave false. library.use (a color, gradient or pattern)
and swatch.library.add with apply note it too and pass it to the commands
they run.

- defaultsOnly is a bool. It is refused with ids, id or item, and in
  stroke.setAdvanced with brush.
- With New Art Has Basic Appearance off, new-art inheritance does not
  replace the defaults after such a command, unless a later step of a batch
  selects another first object or changes its appearance.
- A preview with defaultsOnly: true, and the one after it, starts from the
  defaults the interaction began with, and a cancel puts them back.
- paint.sampleColor with a stop and defaultsOnly reads the default's
  gradient.

Test: live_paint_bucket_commands_replay_from_the_journal_with_another_tool
(engine). Docs: docs/mcp.md, the Live Paint Bucket paragraph; params text
of each command.
2026-11-19 16:35:59 -08:00
dotCooCoo ff5071c93d Color Wheel: Show Opacity edge cases in the opacity commands and the row
- paint.setFill and paint.setStroke give a graph's series marks and axis lines the opacity they write even when the object already shows it, so another mark's kept opacity no longer comes back after the graph is drawn again.
- The proxies answer no opacity whenever the Live Paint Bucket paints, which includes a Cmd+click and an Eyedropper pick armed for it.
- A swatch that is not a name is an error with an opacity instead of an opacity alone.
- Hiding the Show Opacity row, or the row turning gray, during a drag keeps the previewed opacity as one undo step and ends the interaction.
- The help text and docs/mcp.md name the picked mesh points case, the grayscale image colorize exception and the New Art Has Basic Appearance off case.
2026-11-19 16:31:57 -08:00
dotCooCoo 0cb9626d42 Merge main into feat/color-wheel-oklch-sliders-v2 2026-11-19 16:20:20 -08:00
BFlat e34c9198dd Merge pull request #8757 from Hassan1305/fix-8711-layers-target-ring
Layers: keep the targeted ring visible around the appearance dot (#8711)
2026-11-20 07:16:03 +07:00
BFlat b9227b0b7c Merge pull request #8756 from storytold/train/carry8336
Symbols: Add original Nature Icons library (#8336)
2026-11-20 07:10:55 +07:00
dotCooCoo 2b21c1248f Fields: number fields outside the shared widgets read field arithmetic
The Contour bar's distance, Graph Data's Number of Decimals and Column
Width, Map Art's surface number, the Keyboard Shortcuts dialog's Hold
Shortcut Delay, the unitless values of the 3D effect dialogs and the
number fields of Character Style Options read typed text with their own
readers, so `4x3` or `1+2` were not read in most of them. They now read
it with the shared field arithmetic. The Contour bar's distance and
Character Style Options' length fields also read a unit (`2 mm`).
Warichu Settings' Lines and Scale read text given through
`ui.dialog.set` the same way.

These fields take `%` and `°` only where they show them, and none of
them reads an exponent (`1e3`) or a space inside a number (`1 000`).

In the shared unitless fields, a unit suffix, `%` or `°` between two
digits is now refused: `1%2` read as 12. The Stroke panel's Limit reads
`2x3` as 6 instead of 23.

Docs: docs/mcp.md, docs/target-app-parity.md.
2026-11-19 16:06:04 -08:00
BFlat 5efe19e7c5 Merge pull request #8782 from storytold/train/carry8001
Fill Area: a click adds a path of the enclosed area and keeps the paths around it (#8001)
2026-11-20 07:00:48 +07:00
bflatastic b95ff44c06 Merge main into #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/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-20 06:59:22 +07:00