Commit Graph
146 Commits
Author SHA1 Message Date
bflatastic a8c951f7f7 combo: #8082 2026-11-19 01:26:03 +07:00
bflatastic 1dc806b1ef Merge main into #8082 2026-11-19 01:20:16 +07:00
bflatastic 86eb9aa115 Merge main into #7867 2026-11-19 01:19:48 +07:00
BFlat 5537e02cb0 Merge pull request #8403 from dotCooCoo/feat/toast-messages
Messages: app.toast shows a message over the window without stopping work
2026-11-19 00:41:29 +07:00
BFlat a0de8aad6f Merge pull request #7894 from dotCooCoo/fix/issue-7849
Pathfinder: Make Compound Shape warns when a line adds no area
2026-11-19 00:39:34 +07:00
BFlat 0cde4439fd Merge pull request #7711 from dotCooCoo/feat/object-mosaic-dialog
Object Mosaic: Create Object Mosaic opens a dialog with its size, ratio and percentage options
2026-11-19 00:39:07 +07:00
BFlat 16e7216c16 Merge pull request #8441 from ruchirguitar/feat/4934-retype
Type › Retype, phase 1: outlined text that matches an available font becomes live type (#4934)
2026-11-19 00:38:40 +07:00
dotCooCoo 34ec4ab745 Merge main into feat/object-mosaic-dialog 2026-11-18 07:31:04 -08:00
Dylan M. Taylor 7841c6601b Merge remote-tracking branch 'origin/main' into pr-7907 2026-11-18 09:21:49 -05:00
dotCooCoo ccedee483f Merge main into fix/issue-7849 2026-11-18 06:21:28 -08:00
dotCooCoo e4379e39f1 Merge main into feat/attributes-url-count 2026-11-18 06:20:03 -08:00
dotCooCoo 6d4af2cb6a Merge main into feat/object-mosaic-dialog 2026-11-18 06:12:45 -08: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
dotCooCoo 6a4b08f660 Merge main into fix/issue-7849 2026-11-18 01:57:42 -08:00
bflatastic ca187dfcbf Merge main into #8424 2026-11-18 16:25:39 +07:00
dotCooCoo cd5d611196 Merge main into feat/toast-messages 2026-11-18 01:21:20 -08:00
ruchirguitar fbff89f475 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 14:10:12 +05:30
bflatastic 6c337442d9 Merge main into #8424 2026-11-18 14:04:27 +07:00
dotCooCoo e2d7976794 Merge main into fix/shear-angle-range 2026-11-17 22:56:09 -08:00
dotCooCoo c6b657b96f Merge main into feat/editable-flares 2026-11-17 22:42:31 -08:00
ruchirguitar a56ffe0949 Merge remote-tracking branch 'upstream/main' into feat/4934-retype
# Conflicts:
#	docs/roadmap.md
#	docs/target-app-parity.md
2026-11-18 12:05:01 +05:30
dotCooCoo 924fd72183 Merge main into feat/attributes-url-count 2026-11-17 22:27:54 -08:00
BFlat 50c7208fe3 Merge pull request #8466 from dotCooCoo/perf/find-command-index
Commands: find_command looks commands up in an index built once
2026-11-18 13:15:20 +07:00
BFlat bc30887624 Merge pull request #8382 from dotCooCoo/fix/undo-keeps-view-state
Undo: undo and redo keep the settings changed without an undo step
2026-11-18 12:57:41 +07:00
dotCooCoo cd5baebc41 Merge main into fix/issue-7849 2026-11-17 20:09:10 -08:00
dotCooCoo 44bd7ba6df Merge main into feat/toast-messages 2026-11-17 19:59:56 -08:00
dotCooCoo c0dce666c9 Merge main into feat/object-mosaic-dialog 2026-11-17 19:59:54 -08:00
dotCooCoo 0c4684e9b5 Merge main into feat/attributes-url-count 2026-11-17 19:57:38 -08:00
ruchirguitar 81d38d0d70 Merge remote-tracking branch 'upstream/main' into feat/4934-retype
# Conflicts:
#	docs/target-app-parity.md
2026-11-18 09:15:33 +05:30
BFlat bbf6165fc8 Merge pull request #8206 from dotCooCoo/feat/packaging-fold-preview
Packaging Tools: Fold Preview folds the blank in 3D with the printed art on its panels
2026-11-18 10:30:50 +07:00
BFlat 2a28193517 Merge pull request #8167 from dotCooCoo/fix/issue-7849-shape-mode
Pathfinder: Shape Mode buttons warn when a line encloses no area
2026-11-18 10:21:50 +07:00
BFlat dd3a1886a6 Merge pull request #7764 from dotCooCoo/feat/dataset-import-graph-columns
Variables: Import Data Sets reads % columns of graph data files
2026-11-18 10:15:07 +07:00
dotCooCoo 9f84820d88 MCP: transform checks scale, reflect and shear before any step runs
The transform tool runs move, rotate, scale, reflect and shear as separate
commands. A shear angle that object.shear refuses, such as 90, a reflect
axis other than vertical or horizontal, or a scale of 0 failed only after
the earlier steps had changed the art and recorded undo steps. The tool now
checks those params first with the rules the commands use
(scale_factors, reflect_axis and shear_tangent, shared with object.scale,
object.reflect and object.shear), so a refused request changes nothing and
records no undo step.
2026-11-17 17:42:44 -08:00
dotCooCoo ad5db819be Merge main into fix/issue-7849 2026-11-17 15:41:34 -08:00
dotCooCoo f623a28bb0 Commands: find_command looks commands up in an index built once
find_command searched the list of about 1,000 built-in command specs in
order on every call, and a top-level command looks its id up at least
three times before it runs. It now finds a built-in in a map from id to
spec that is made on the first call. When an id is listed twice, the
map keeps the first spec, which is the one the search returned. An id
that is not a built-in still goes to the installed plug-ins' commands
at the time of the call, so installing or removing a plug-in shows at
once and built-ins keep precedence.
2026-11-17 14:27:14 -08:00
ruchirguitar 75d9d61ce9 M7/G4: rustfmt the retype module declaration (#4934) 2026-11-18 02:36:38 +05:30
ruchirguitar 24a37f8ba3 M7/G4: Type › Retype, phase 1 (#4934)
type.retype turns selected outlined text back into live point text when
each glyph shape is exactly a glyph of a loaded font, a font the document
uses or a family named in fonts: the same up to uniform scale, rotation
and translation. Matched glyphs map back to characters through the cmap
and become point text in that font and size at the same baseline and
turn, one object per line, with the first glyph's fill and stroke, in one
undo step. Shapes that match no font stay and are reported.

Matching (vectorcraft_text::retype) samples each contour at equal steps of
arc length and fits a similarity transform; it is bounded (faces, glyphs,
path elements, contours) and panic-free. Near matches, the ranked font
list, installed fonts not yet loaded and images are phase 2.
2026-11-18 02:20:06 +05:30
ruchirguitar d6ff2f54ce Production Preflight: add output checks and repair panel 2026-11-18 01:35:12 +05:30
dotCooCoo 17a8152cd0 Merge main into feat/object-mosaic-dialog 2026-11-17 09:44:16 -08:00
dotCooCoo 6e44c63cc3 Undo: undo and redo keep the settings changed without an undo step
Undo and redo put back the whole document a step stored, so settings
that change without an undo step went back with it. Undoing any
earlier edit turned the perspective grid's Lock Grid off again, turned
its Snap to Grid back on, showed a hidden grid and switched the active
plane back. It also reset the grid from Gridline every and
Subdivisions, the export settings assets.settings.set stores, and the
current brush and symbol.

Each undo step now also records these settings as the step left them.
Undo and redo compare that record with the document they bring back:
a setting the step did not change stays as it is now, and a setting
the step changed comes back with the step. So undoing a perspective
grid preset still hides the grid the preset showed, and undoing a grid
definition that locked the grid unlocks it. The point Automatic Plane
Positioning holds still follows the steps, and is let go when the
active plane kept is another one.
2026-11-17 08:40:50 -08:00
dotCooCoo 04c65a85af Messages: app.toast shows a message over the window without stopping work
`app.toast {message, level?, seconds?}` queues a short message that the
desktop app shows at the window's bottom right. It closes after its time
(4 seconds by default, 0.5 to 60) or when clicked. At most 5 show at
once, the newest lowest; a message shows at most 6 lines with the whole
text on hover, and a stack taller than the window scrolls. `level`
(info, success, warning, error) sets the color of its edge.

Scripts raise one with `vc.run`, MCP clients and plug-ins through the
command, and an action records it as a step. The app's own code calls
`Session::toast`. The command edits no document and adds no undo step;
invalid values are errors. Part of #7523: the tick sound is not
included.

Docs: docs/mcp.md, the Automation evidence in docs/target-app-parity.md.
2026-11-17 08:30:51 -08:00
dotCooCoo 4a0e66ebd4 Merge main into feat/editable-flares 2026-11-16 19:56:07 -08:00
dotCooCoo 4911e102b1 Packaging Tools: Fold Preview folds the blank in 3D with the printed art on its panels
Fold Preview (Object › Plug-ins › Packaging Tools, and the Fold Lines panel's button) shows the
document's blank folded about its largest panel, or the panel double-clicked. Creases and
perforations fold 90° away from the printed side and partial cuts 90° toward it. Each panel
samples a raster of the print, with the fold lines and non-printing layers left out, through its
projective map, with a depth buffer; the back shows the board's inside color. The window has a
Fold slider, seven view presets, orbit, zoom, pan and perspective, and its status line reports a
joint that does not close and panels that pass through each other.

- addon.packaging.fold returns each panel's frame, the hinges with their angle and gap, and the
  collisions. A closing hinge's gap is measured with every hinge folded all the way.
- ui.foldPreview sets the window and rejects values of the wrong kind or out of range; saved
  settings out of range are brought into range.
- The print renders off the UI thread where a worker exists and once per document revision. The
  fold and the view image are worked out again only when the document, the settings or the
  window's size change.
2026-11-16 10:20:36 -08:00
dotCooCoo 9e85ebfe90 Merge main into feat/attributes-url-count 2026-11-16 10:15:25 -08:00
dotCooCoo ce6a84bbd9 Merge main into fix/issue-7849-shape-mode 2026-11-16 09:56:10 -08:00
dotCooCoo 9b1823c54c Pathfinder: Shape Mode buttons warn when a line encloses no area
Unite, Minus Front, Intersect, Exclude and Minus Back close open paths,
so a straight line encloses no area and does not change the result.
Until now the line was dropped with no message. Reported in #7849.

- The reply of object.pathfinder.unite, minusFront, intersect, exclude
  and minusBack now carries a warning, which the status bar shows, when
  a selected object is or holds an open path that encloses no area once
  closed (a line in a group or compound path included). The message
  names Object › Path › Outline Stroke. The area is measured with the
  path's fill rule, as Make Compound Shape's check in #7894 does.
- When such a path is what leaves the result empty (Intersect, or a
  line at the back in Minus Front), the error says so. Objects that
  leave nothing without the line keep the plain error.
- Both messages have rows in each complete-message catalog. The params
  text and docs/mcp.md describe the reply field.
2026-11-16 07:37:40 -08:00
dotCooCoo 75b02ea8df Symbols: the panel reads the current symbol without running symbol.list
The Symbols panel and its panel menu asked for the current symbol on
every frame by running symbol.list, which builds a row per symbol and
walks the whole document once per symbol to count its instances. They
now read it from the active document with cmd::current_symbol, the
rule symbol.list itself uses for its `current`: the stored name while
a symbol has it, else the first symbol. symbol.sortByName,
symbol.place, symbol.options and text.insertInline use the same
function, and symbol.list's reply is unchanged.

An idle frame of the panel or its menu now runs no command, so on
macOS the native menu is not brought up to date on every frame while
the panel is open. In a document with 200 symbols and 50,000 objects
the read takes 0.035 us instead of 48.5 ms in a release build (thread
CPU time on Linux, median of 7 runs). The gain matters on large
documents; on small ones it is too small to notice.
2026-11-16 05:29:31 -08:00
dotCooCoo 10f7206bbe Attributes: Panel Options sets how many recent URLs the URL menu lists
The Attributes panel menu gets Panel Options..., whose dialog sets how
many of the recent URLs the URL menu lists, a whole number from 1 to 30
(10 by default). ui.attributesPanelOptions {count} sets it without the
dialog; a count out of range is an error and changes nothing. The count
is kept with the UI state.

The recent URL list now keeps the 30 newest distinct URLs of the
session, so a lower count hides older URLs without removing them.
2026-11-16 00:26:27 -08:00
dotCooCoo e1033f239f Merge main into feat/editable-flares 2026-11-15 20:52:25 -08:00
BFlat 844f57a209 Merge pull request #7953 from dotCooCoo/feat/trim-hover-preview
Path Precision Tools: Trim at Crossings shows the stretch a click would remove
2026-11-16 09:32:44 +07:00