Commit Graph
12468 Commits
Author SHA1 Message Date
BFlat addd36bfdb Merge pull request #8557 from dotCooCoo/fix/symbols-modifiers-at-release
Symbols: New, Redefine and Delete Symbol read Shift and Alt as the button goes up
2026-11-18 18:25:31 +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
BFlat 584413cc13 Merge pull request #8547 from storytold/land/pr-8424
Production Preflight: add output checks and clickable repair findings (#8424, merged with main)
2026-11-18 17:46:15 +07:00
BFlat 366ebf8114 Merge pull request #8550 from storytold/fix/scripts-menu-slow-test-rounding
Tests: the slow Scripts read test checks past the threshold (flaky on main)
2026-11-18 17:34:06 +07:00
dotCooCoo a51e94f337 MCP: transform's description spells center in American English
The `transform` tool description now says `origin` defaults to the
selection center.
2026-11-18 01:50:20 -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 bdd0f6149a Symbols: New, Redefine and Delete Symbol read Shift and Alt as the button goes up
The New Symbol button, the panel menu's New Symbol... and Redefine
Symbol read Shift, and the Delete Symbol button and a symbol dropped on
it read Alt, from the modifiers held at the end of the frame. A key let
go after the primary button in the same frame dropped Shift, so OK made
the art an instance, or dropped Alt, so an unused symbol asked first.

They now read the modifiers that the primary button's release carries,
as art dropped on the panel already does, and fall back to the current
modifiers when no release happened in the frame (keyboard activation).
The drag test helper sends its release with the modifiers held.
2026-11-18 01:32:33 -08:00
dotCooCoo 7d3f7d1fa1 MCP: transform refuses a mistyped reflect, copy or origin before any step
`transform` read `reflect` with `as_str`, `copy` with `as_bool` and
passed `origin` through unchecked. A `reflect` of `42` or `true`
skipped the reflect step and reported success for the steps before it,
a `copy` of `"yes"` transformed the original instead of a copy, and an
`origin` that was not two numbers fell back to the selection centre.

The handler now checks all three before it selects `ids` or runs a
step, and returns an error that names the argument. A null value of
any of the three is left out. The tool description and the
`transform` row in docs/mcp.md say so.

Fixes #6448
2026-11-18 01:27:19 -08:00
bflatastic ca187dfcbf Merge main into #8424 2026-11-18 16:25:39 +07:00
BFlat 72190d6998 Merge pull request #8204 from dotCooCoo/feat/palette-row-homes
Command Palette: rows show the kind of item and where it lives
2026-11-18 15:24:07 +07:00
BFlat 232eb597d3 Merge pull request #8481 from dotCooCoo/fix/shear-angle-range
Shear: angles from -359 to 359 shear by their own tangent instead of stopping at 89
2026-11-18 15:23:58 +07:00
BFlat abb2503bc9 Merge pull request #8536 from dotCooCoo/fix/dimension-arrow-previews
Dimension: Arrow Style shows each style's arrowhead drawn before its name
2026-11-18 15:23:50 +07:00
BFlat 16920418f6 Merge pull request #8101 from dotCooCoo/feat/plugin-budget-preference
Plug-ins: Preferences set the instruction budget for object-filter runs (Normal or Large)
2026-11-18 15:10:33 +07:00
BFlat 9cc2aa7a36 Merge pull request #8409 from dotCooCoo/feat/graphic-styles-alt-drag-style-onto-style
Graphic Styles: a style dropped on another with Alt replaces that style
2026-11-18 15:10:22 +07:00
BFlat b865f26818 Merge pull request #8544 from dotCooCoo/fix/bounded-field-rejects-invalid
Fields: range and mixed fields refuse text that reads as no number
2026-11-18 15:10:13 +07:00
BFlat 6e1e6d579e Merge pull request #8542 from Hassan1305/feat-3644-pdf-lang
PDF export: write the document language as the catalog's /Lang
2026-11-18 15:10:05 +07:00
BFlat e3a9bca2dc Merge pull request #8541 from dotCooCoo/fix/marquee-painted-shapes
Symbols: a marquee selects where an instance's fill and stroke effects paint
2026-11-18 15:09:57 +07:00
BFlat 202ecc1e91 Merge pull request #8440 from dotCooCoo/perf/ai-save-gradient-index
.ai save: gradient and pattern definitions are found by name and by gradient
2026-11-18 15:09:48 +07:00
BFlat b2f9aadb3e Merge pull request #8529 from dotCooCoo/feat/dialogs-scroll-when-too-large
Part of #5941: dialogs too large for the window scroll instead of running off the screen
2026-11-18 14:42:57 +07:00
BFlat 55a82b4ff8 Merge pull request #8457 from dotCooCoo/feat/symbols-panel-options-button
Symbols: the bottom bar's Symbol Options button edits the current symbol
2026-11-18 14:30:37 +07:00
bflatastic 28472911ef Tests: the slow Scripts read test checks past the threshold, not at it
`(started + SLOW_SECS) - started` rounds below SLOW_SECS for about 1 in 40 start
times, so a_slow_first_read_says_so_until_its_listing_comes failed at random
on main.
2026-11-18 14:28:15 +07:00
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
BFlat ada472586e Merge pull request #8135 from dotCooCoo/fix/confined-exporter-and-placed-pdf-paths
MCP: confined exporter plug-ins and unreadable linked files keep paths outside the read roots
2026-11-18 13:53:34 +07:00
BFlat adcb7293d2 Merge pull request #8404 from dotCooCoo/fix/font-menu-document-brush-text
Type: the font menu's Document filter counts type in scatter brushes
2026-11-18 13:53:24 +07:00
BFlat 56bc5fe7cb Merge pull request #8515 from dotCooCoo/perf/eps-token-search-in-place
EPS import: token and search read a string in place instead of copying it
2026-11-18 13:53:14 +07:00
BFlat 1df314f891 Merge pull request #8518 from dotCooCoo/perf/find-font-list-once
Find Font: the document's font list is worked out once per document version
2026-11-18 13:53:05 +07:00
BFlat 84c21a8b36 Merge pull request #8519 from dotCooCoo/perf/proxy-mixed-index-paths
Color: the Fill and Stroke proxies find the selected objects through the id cache
2026-11-18 13:52:56 +07:00
dotCooCoo c24f1fc5a5 Fields: range and mixed fields refuse text that reads as no number
A range, mixed or spinner field that committed text it could not read
(`abc`, `(10+5)*2`) returned nothing and did not mark the commit as
refused. Enter in such a field then confirmed an open dialog with the old
value, and in Save for Web's Optimize to File Size rows it ran the search
with the old size.

The field now refuses that text as unit fields do: it flashes, shows its
value again, and the Enter does not confirm the dialog.
2026-11-17 22:49:09 -08:00
HassanKhan 0865242d2f PDF export: write the document language as the catalog's /Lang (#3644)
The writer passed no language to craft-pdf, so exported and printed
PDFs had no /Lang and accessibility checkers failed primary-language.
Writer::new now passes the BCP 47 tag of the Document Setup language
(new vectorcraft_doc::setup::language_tag, en-US by default) through
write::Writer::new_with_language, which writes the catalog's /Lang and
the XMP dc:language. A language with no tag writes none. /MarkInfo is
left for tagged PDF (#3643).
2026-11-18 11:46:27 +05:00
dotCooCoo 9e059d6e99 Merge main into perf/ai-save-gradient-index 2026-11-17 22:38:32 -08:00
dotCooCoo 40c5c174f7 Merge main into feat/palette-row-homes 2026-11-17 22:38:07 -08:00
dotCooCoo ef3659caa5 Merge main into feat/plugin-budget-preference 2026-11-17 22:27:52 -08:00
dotCooCoo 2fa55b2aeb Merge main into feat/symbols-panel-options-button 2026-11-17 22:24:17 -08:00
dotCooCoo 847c2e9536 Merge main into feat/graphic-styles-alt-drag-style-onto-style 2026-11-17 22:24:16 -08:00
dotCooCoo 84c9d93956 Symbols: a marquee touches what an instance's fill and stroke effects paint
A marquee across the shapes that the geometry effects of a symbol
instance's active fill or stroke paint outside its box now selects the
instance, as a click there does. An image is likewise touched where its
own fills and strokes paint outside its frame. Outline mode keeps the
box alone.
2026-11-17 22:18:27 -08:00
dotCooCoo 285fc75c95 Dimension: test each Arrow Style's arrowhead against the expected head
The engine test now names the head each style draws (Filled a filled
triangle, Open an open triangle, Tick a slash, None no head) instead of
comparing the dimension line with ArrowStyle::arrowhead, which the
engine itself calls. It moves to crates/engine/tests/it/dimensions.rs.

The Arrow Style previews take each style from a constant list in the
order of the dropdown entries instead of parsing the entry's value
every frame, and a test checks that each entry's value matches its
style.

Part of #8049.
2026-11-17 22:17:50 -08:00
dotCooCoo f1dbcb9e69 Part of #5941: Save for Web's Preview in Browser no longer covers the lists
With the preview panes at their narrowest (a 640 by 400 window), Preview
in Browser was drawn over the Download list. It now goes on a row of its
own below the Zoom and Download lists when the panes are too narrow for
it beside them. The Save for Web test checks that it clears the list.
2026-11-17 22:17:29 -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 e49686185e Merge pull request #8465 from dotCooCoo/feat/scatter-brush-hue-jitter
Brushes: Scatter Brush Options has Hue Jitter, a per-copy hue turn
2026-11-18 13:15:11 +07:00
BFlat de6d1851d3 Merge pull request #8468 from dotCooCoo/feat/new-type-normal-character-style
Type: new type takes the font and size of a redefined [Normal Character Style]
2026-11-18 13:15:00 +07:00
BFlat 405668a384 Merge pull request #8486 from dotCooCoo/fix/place-into-its-layer
Place: a file read in the background goes into the layer it was placed in
2026-11-18 13:14:52 +07:00
BFlat da0c76dc69 Merge pull request #8484 from dotCooCoo/perf/three-d-export-enabled-once
3D and Materials: the Export 3D Object button's state is worked out once per document revision
2026-11-18 13:14:44 +07: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 add89a0606 Merge pull request #8488 from dotCooCoo/perf/live-selected-of-one-pass
Blend: selected blends, envelopes and meshes are found along one path per object
2026-11-18 13:14:25 +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
BFlat ec6c053bdd Merge pull request #8504 from dotCooCoo/perf/select-step-siblings
Select: Next Object Above and Below check only the selected object's siblings
2026-11-18 13:14:06 +07:00