Commit Graph
15947 Commits
Author SHA1 Message Date
dotCooCoo 12f7e34f21 Messages: a success token, and the docs state the plug-in and rollback rules
- The success level takes a new `success` theme token (the same green)
  instead of the 3D axis color.
- docs/mcp.md names the plug-in conditions for `vc_call`, says no step is
  recorded while a drag or typing is in progress, says a failed script run
  keeps the messages it raised, and names the headless MCP server and
  `vectorcraft-cli run` as the sessions without a window. Lines wrap like
  the rest of the file.
- The params text and the error say "whitespace", which is what the check
  rejects.
- A new test runs a script that draws, raises a message and throws: the
  drawing is put back and the message is kept.
- The long-message test also checks that the stack stays inside the
  window.
- The evidence line in docs/target-app-parity.md moves after the Scripts
  entries.
2026-11-17 12:06:08 -08:00
dotCooCoo 5af51906dc Messages: a press on a message closes it when an older message goes first
The click took the frame's automatic id, which follows its position among
the messages, so a message pressed while an older one expired did not
close on release. The click now takes an id from the message's own scope.
2026-11-17 11:00:58 -08:00
dotCooCoo 63eeb73a26 Merge main into feat/toast-messages 2026-11-17 08:35:45 -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
BFlat 36b5a5920c Merge pull request #8098 from el-j/feat/save-pdf-transparency-confirmation-8097
Fix #8097: Save PDF: show flattener rasterization resolutions in Summary warning and Advanced section
2026-11-17 22:38:24 +07:00
BFlat 27d0b095da Merge pull request #7075 from mockydevs/fix/twist-smooth-7069
Twist: handles follow the rotation's derivative, so a strongly twisted path is smooth
2026-11-17 22:38:15 +07:00
BFlat c4147826a3 Merge pull request #7353 from dotCooCoo/fix/i18n-adjacent-placeholders
i18n: messages with values side by side can be translated
2026-11-17 21:32:55 +07:00
BFlat f20bc1c97f Merge pull request #8320 from dotCooCoo/fix/flare-ring-seed-mixing
Flare: distribute the first ring for small seeds
2026-11-17 21:32:44 +07:00
BFlat 271a28840c Merge pull request #8246 from dotCooCoo/feat/ai-editing-data-meshes
.ai save: the editing copy keeps gradient meshes
2026-11-17 21:32:35 +07:00
BFlat 01746c52dc Merge pull request #8319 from storytold/chore/merged-hpgl-pin
Pin shared HP-GL lexer to merged prerequisite
2026-11-17 21:32:26 +07:00
BFlat 13e99adf7b Merge pull request #8317 from Taha-Mahmoodi/fix/macos-clippy
Fix clippy on macOS with current stable (dead_code, needless_range_loop)
2026-11-17 21:32:17 +07:00
el-j 5665114718 Save PDF: include flattener resolutions in Summary warning and Advanced section 2026-11-17 15:00:11 +01:00
Don Omondi b84f06f463 Twist test: walk the anchors through Anchors::iter after the merge
Main now keeps a subpath's anchors in shared chunks, which can't be sliced.
2026-11-17 08:39:39 -05:00
Don Omondi 4881a46f34 Merge remote-tracking branch 'upstream/main' into fix/twist-smooth-7069
# Conflicts:
#	docs/effects-parity.md
#	docs/target-app-parity.md
2026-11-17 08:33:56 -05:00
dotCooCoo 77a509a9c6 i18n: printer names keep their parentheses in the print messages
A printer name in "Sent “{title}” to {to}" was translated as a message of
its own, so Korean's "{status} ({e})" row turned "Office Laser (Floor 2)"
into "Office Laser(Floor 2)". An unquoted `{to}` value is now translated
only by an exact row, such as "the default printer"; a quoted one stays
as written. The cross-language case uses a printer name with
parentheses, and two quoted `{to}` names that match exact rows.
2026-11-17 05:09:47 -08:00
dotCooCoo 8f0379cc3f Flare: distribute the first ring for small seeds 2026-11-17 05:07:35 -08:00
BFlat 0f8040ef59 Merge pull request #8202 from dotCooCoo/perf/legacy-ai-hex-samples
Legacy .ai: image samples are written as hex through a digit table
2026-11-17 19:51:37 +07:00
BFlat c4163015d9 Merge pull request #8311 from Hassan1305/fix-8300-pdf-fill-only-after-stroke
PDF import: a glyph filled only after one filled and stroked stays unstroked
2026-11-17 19:51:28 +07:00
Dylan M. Taylor 34dd4b53ab Pin shared HP-GL lexer to merged prerequisite 2026-11-17 07:45:20 -05:00
Taha-Mahmoodi 478904e208 Merge remote-tracking branch 'origin/main' into fix/macos-clippy 2026-11-17 16:48:13 +04:30
Taha-Mahmoodi 92a2d2de71 Fix clippy on macOS with current stable: dead_code on Overrides::is_set, needless_range_loop in cut_edge
Overrides::is_set is only called from main under cfg(not(macos)), so it is allowed to be unused there (the repo's cfg_attr pattern). settle_cut_edges walks blended with iter_mut().enumerate() instead of indexing it.
2026-11-17 16:48:13 +04:30
dotCooCoo 21feb686cf Merge main into feat/ai-editing-data-meshes 2026-11-17 04:04:45 -08:00
BFlat 277e0f2742 Merge pull request #7330 from dotCooCoo/fix/blob-params-rejected
Blob Brush: path.blob rejects invalid fidelity, angle and roundness
2026-11-17 18:49:52 +07:00
BFlat b016b56635 Merge pull request #7357 from dotCooCoo/fix/ai-brush-mask-art
.ai editing data: Scatter and Art brushes keep their art's opacity masks
2026-11-17 18:49:43 +07:00
BFlat ea76338f43 Merge pull request #8305 from dotCooCoo/fix/color-guide-spot-link
Color Guide: renaming, deleting or unspotting the base spot color keeps the link right
2026-11-17 18:49:34 +07:00
BFlat cbd9872749 Merge pull request #8303 from Hamza0101/fix/scale-text-attributes-area-frame
Scale Text Attributes: an area's frame and a path type's path keep their size
2026-11-17 18:49:25 +07:00
BFlat 4f99b4b005 Merge pull request #8306 from storytold/fix/font-menu-settle
Tests: the font menu helper waits until the menu's own rect stays put
2026-11-17 18:49:16 +07:00
BFlat 9908e10781 Merge pull request #8299 from dotCooCoo/fix/pdfx-xmp-metadata-date
PDF/X: PDF/X-4 files carry xmp:MetadataDate, equal to xmp:ModifyDate
2026-11-17 18:49:07 +07:00
el-j 7234b26ec6 Address review comments: check pattern tile transparency and skip image scan when unflattened 2026-11-17 12:21:37 +01:00
HassanKhan 8eb4416945 Docs: record #8300 in the current File formats rows of target-app-parity 2026-11-17 16:15:52 +05:00
el-j 101733d445 Merge remote-tracking branch 'upstream/main' into feat/save-pdf-transparency-confirmation-8097
# Conflicts:
#	crates/engine/src/cmd/flatten/analysis.rs
2026-11-17 12:06:12 +01:00
HassanKhan 007180e2f3 PDF import: a glyph filled only after one filled and stroked stays unstroked (#8300)
Look::takes let a glyph filled only join a run whose glyphs were also
stroked, so after mode 2 text a mode 0 glyph took the run's stroke:
`2 Tr (B) Tj 0 Tr (C) Tj` came in as "BC" stroked throughout. A glyph
now joins only a run drawn alike (fill, stroke, overprints), so a glyph
filled only starts a run of its own and takes a stroke only when the
matched-stroke path (#8039) strokes it.

flush_stroke no longer strokes a whole run in place: a whole run goes
through the split and join code, so fill and stroke rendering glyph by
glyph still builds one stroked run.
2026-11-17 15:59:49 +05:00
BFlat 6d5767bf10 Merge pull request #8264 from dotCooCoo/feat/prefs-descriptions-smart-guides
Preferences: the line under the fields describes each Smart Guides setting
2026-11-17 17:28:55 +07:00
BFlat 990c8cc916 Merge pull request #8233 from dotCooCoo/feat/save-for-web-optimize-to-size
Save for Web: Optimize to File Size picks the settings that bring the image under a typed size
2026-11-17 17:28:44 +07:00
BFlat 567485aa12 Merge pull request #8263 from dotCooCoo/feat/print-ink-spot-to-process
Print: Document Ink Options converts one chosen spot ink to process
2026-11-17 17:28:34 +07:00
BFlat 25b93c0710 Merge pull request #8039 from Hassan1305/fix-8015-pdf-text-fill-stroke
PDF import: text filled and stroked in one operator is one Type object (#8015)
2026-11-17 17:28:16 +07:00
BFlat 7e29357929 Merge pull request #8042 from Hassan1305/fix-7821-harakat-tsume-arial
test(text): Tsume check takes nothing where a cluster has no blank space (#7821)
2026-11-17 17:28:05 +07:00
bflatastic ec2260c369 Tests: the font menu helper waits until the menu's own rect stays put
egui places a popup by its size the frame before, so on the frame a late-measured name widens the
menu the filter text can stay where it was while the menu's rect already reaches past the window.
The helper now waits until both the filter and the menu's rect stay put, which fixes the
intermittent failure of a_menu_wider_than_its_field_stays_in_the_window (the menu ending 0.7 pt
past the window's edge).
2026-11-17 16:21:07 +07:00
Hamza 957cd66a82 Scale Text Attributes: path type bakes only the uniform part of a scale
Type on a path sits at fractions of its path's length. Scaling the path
non-uniformly changes where a fraction lands (CodeRabbit's case: M0 0 L100 0
L100 100 under diag(2, 1) moves the start bracket from (200, 0) to (150, 0)).

Path type now bakes the vertical scale into the character sizes and scales
its path uniformly by it, which keeps every fraction where it was; the
horizontal stretch stays in the transform.
2026-11-17 14:17:49 +05:00
dotCooCoo 219ad4fbf0 Color Guide: renaming, deleting or unspotting the base spot color keeps the link right
A Swatch Options rename of the spot color base keeps it the base, also
as a command.batch step, and so do an Undo and a Redo of the rename.
Deleting the swatch or its color group, merging it into another, making
it a process color or closing its document ends the link, so a later
spot color of the same name does not become the base until it is chosen
again. The base keeps the color it showed.

A batch's Activate Document, New, Open, Close and Move Document steps
are followed, so steps in another document leave the link alone. When
the swatch goes in a way the panel does not follow, the link waits for
an Undo or Redo, and the next other command ends it.
2026-11-17 01:12:55 -08:00
HassanKhan eb0c3ca53f Re-run CI: the font menu test failure is unrelated to this change 2026-11-17 14:02:00 +05:00
Hamza 586db4da06 Scale Text Attributes: an area's frame and a path type's path keep their size
Baking an object's scale into the character attributes removed that scale
from the type's transform, but the area frame (and a path type's path), which
is drawn through that transform too, kept its unscaled size. A 120 x 80 frame
scaled 200% shrank back to 120 x 80 on the page, so the 24 pt type broke into
two lines and the rest became overset.

The frame and the path now take the scale the transform loses, so they, the
line breaks and every glyph stay where they were.

Fixes #8297
2026-11-17 13:41:14 +05:00
dotCooCoo 30693f211b PDF/X: PDF/X-4 files carry xmp:MetadataDate, equal to xmp:ModifyDate
A PDF/X-4 export wrote xmp:ModifyDate and xmp:CreateDate in its XMP
metadata but no xmp:MetadataDate. The PDF/X-4 metadata edit now adds
xmp:MetadataDate next to xmp:ModifyDate, with the same value, and grows
the stream's /Length to match. When the export dates the file as modified
later, post::modification_date already rewrites every xmp:MetadataDate,
so the two dates stay equal.

PDF/X-1a, PDF/X-3, PDF/A and plain PDF exports are unchanged.
2026-11-16 23:41:52 -08:00
dotCooCoo 566d5263b9 Merge main into feat/ai-editing-data-meshes 2026-11-16 23:38:43 -08:00
dotCooCoo c61d429df2 Merge main into fix/ai-brush-mask-art 2026-11-16 23:36:04 -08:00
HassanKhan b12bacf3c8 Merge remote-tracking branch 'upstream/main' into fix-8015-pdf-text-fill-stroke
# Conflicts:
#	docs/roadmap.md
#	docs/target-app-parity.md
2026-11-17 12:34:29 +05:00
BFlat b4d45f2b0d Merge pull request #8291 from dotCooCoo/fix/rasterize-choice-controls
Rasterize: Anti Alias and Background are dropdowns in the dialog
2026-11-17 14:32:35 +07:00
BFlat 6a2fa16cd1 Merge pull request #8289 from dotCooCoo/feat/ai-blends-in-editing-copy
.ai save: the editing copy keeps live blends
2026-11-17 14:32:25 +07:00
BFlat ed2bbe0a2f Merge pull request #8234 from datatimp/fix/8217-layers-alt-drag-copy-cursor
Layers panel: Alt shows the copy cursor while rows are dragged
2026-11-17 14:32:15 +07:00
BFlat 4a9a93584a Merge pull request #8290 from dotCooCoo/fix/shallow-crossing-placement
Path Precision Tools: shallow crossings are placed where the paths meet
2026-11-17 14:32:05 +07:00