Commit Graph
24477 Commits
Author SHA1 Message Date
.CooCoo 6e8bd90a0f Merge pull request #10419 from dotCooCoo/fix/linked-corner-menu-width
Transform: Corner selects are as wide as the Corner Radius field
2026-12-01 22:46:25 -08:00
.CooCoo 01c35a3fa5 Merge pull request #10531 from dotCooCoo/fix/window-panels-stay-shown
Panels: a Window-menu panel keeps showing while art is selected and moved
2026-12-01 22:46:14 -08:00
.CooCoo ed6619523c Merge pull request #10504 from dotCooCoo/fix/toolbar-chips-one-line
Tools: Color, Gradient and None share one line in a one-column rail
2026-12-01 22:45:13 -08:00
.CooCoo 9cfa3f1d13 Merge pull request #10525 from dotCooCoo/fix/engine-test-pass
Tests: engine command and integration tests check what they claim
2026-12-01 22:31:51 -08:00
.CooCoo 2f68b49692 Merge pull request #10534 from dotCooCoo/fix/test-lint-platform-only-tests
xtask: test-lint never-run lists tests that build on macOS or Windows without failing
2026-12-01 22:31:34 -08:00
.CooCoo 1010fd013d Merge pull request #10501 from dotCooCoo/fix/test-lint-sleep-polls
xtask: test-lint sleep rule leaves out condition polls and fallback releases
2026-12-01 22:31:17 -08:00
.CooCoo 2c60fc07f6 Merge pull request #10532 from dotCooCoo/fix/schema-phrases-follow-apischema
Tests: SCHEMA_PHRASES checked against the parameter schema's errors
2026-12-01 22:31:01 -08:00
.CooCoo 7387c46666 Merge pull request #10520 from dotCooCoo/fix/ui-egui-outside-panels-tests
Tests: ui-egui tests outside the panels check counts and waits
2026-12-01 22:30:43 -08:00
.CooCoo b15abf8a36 Merge pull request #10536 from dotCooCoo/fix/engine-src-tests-guards
Tests: engine tests that check every item also check the items exist
2026-12-01 22:30:11 -08:00
.CooCoo c45cdeff00 Merge pull request #10529 from dotCooCoo/fix/engine-src-tests-pass
Tests: engine tests assert results instead of only success
2026-12-01 22:29:55 -08:00
.CooCoo 95dd368c2c Merge pull request #10188 from dotCooCoo/fix/craft-fonts-pin-main
CI: move the craft-fonts pin to craft-fonts main in every workflow, so builds embed the tab-title face
2026-12-01 22:27:41 -08:00
.CooCoo 40b3f26d62 Merge pull request #10535 from dotCooCoo/fix/sysfonts-menu-family-held-scan
Tests: the menu family list test holds the font scan with a lister
2026-12-01 22:12:54 -08:00
dotCooCoo e727c01c13 Merge main into fix/test-lint-sleep-polls
main replaced the hit's per-file `also` ranges with `gates`, a list of
lines in the hit's own file. The sleep rule's loop and spawn spans now
add their lines to `gates`. The `last_literal` and `path_literal`
helpers that main replaced are left out.
2026-12-01 21:41:44 -08:00
dotCooCoo 906aa83b6c Merge main into fix/test-lint-platform-only-tests
main replaced Hit's `also` lines with `gates`; the merge keeps `gates`
and adds `report_only` beside it.
2026-12-01 21:41:39 -08:00
dotCooCoo 20bad5e8a9 Merge main into fix/engine-test-pass 2026-12-01 21:19:18 -08:00
dotCooCoo 45bd5bb967 Tests: the plain column drawn for a design past the budget is checked as a rectangle
graph_column_params_are_checked_and_designs_too_big_are_drawn_plain checked
only the plain column's height, so an ellipse of the same height passed. It
now also checks that the column's path is the rectangle of its bounds.
2026-12-01 21:19:18 -08:00
BFlat f2f7727305 Merge pull request #10479 from ruchirguitar/feat/color-themes-row-menu
Color Themes: add a context menu to saved theme rows
2026-12-02 11:47:30 +07:00
BFlat 1e8e27fa16 Merge pull request #10481 from ruchirguitar/glyphs-cell-menus
Glyphs: right-click a cell to insert or apply it
2026-12-02 11:47:24 +07:00
BFlat 5ed86c0c45 Merge pull request #10482 from ruchirguitar/feat/resource-library-item-menus
Add item context menus to resource library panels
2026-12-02 11:47:18 +07:00
BFlat 3933b68868 Merge pull request #10521 from ruchirguitar/fix/ai-hidden-styled-text-visibility-binding
.ai import: a visibility variable on hidden styled type binds the group that hides it
2026-12-02 11:47:11 +07:00
BFlat cb7ff9ed78 Merge pull request #10524 from ruchirguitar/perf/ai-word-search-budget
.ai import: hold the page type's word searches to their own budget
2026-12-02 11:47:05 +07:00
dotCooCoo a7e5bcbaba Dependencies: pin craft-libs at 77ade517
storytold/craft-libs#4634 merged as b942e743. Every craft-libs rev in
Cargo.toml, apps/vectorcraft-web/Cargo.toml, Cargo.lock and
xtask/src/pdf_deps.rs moves from 965c7bee to craft-libs main at
77ade517, which contains that merge. The egui revs move from 07c20531
to 861d60a6, the revs craft-libs pins at 77ade517. winit stays at
0dfcec0e.
2026-12-01 20:39:46 -08:00
dotCooCoo b2cbd0ceaf Merge main into fix/linked-corner-menu-width 2026-12-01 20:39:18 -08:00
dotCooCoo bdf6454780 Merge main into fix/engine-test-pass 2026-12-01 20:28:57 -08:00
dotCooCoo 0a9ea7ad8d Merge branch 'fix/engine-test-pass' of github.com:dotCooCoo/vectorcraft into fix/engine-test-pass 2026-12-01 20:28:46 -08:00
dotCooCoo e97b699b95 Tests: folder search tests wait for the walker by handshake, not by sleeping
The deadline test and the kept-files test polled the search's progress
with a 2 ms sleep until the walker was blocked reading a file, which
test-lint rejects. The blocking visitors now send on a channel as their
read begins, and the tests wait on that channel instead.
2026-12-01 20:27:27 -08:00
.CooCoo 22bc29d69d Merge pull request #10460 from dotCooCoo/fix/test-lint-mirror-false-alarms
xtask: test-lint mirror leaves out entry reads, never-run follows #[path] modules
2026-12-01 20:19:50 -08:00
dotCooCoo c21cc4f3ff Tests: engine tests that check every item also check the items exist
Engine tests in crates/engine/src/tests that asserted something of every
item in a list passed when the list was empty. They now pin the count or
the exact value:

- keyguide, menucmds, recolor: the guide positions, the smart
  punctuation counts and the theme picker's colors are compared whole.
- overprint, script_text, stylepanel, textedit, typearea: the text is
  checked first, and character runs must exist; the Graphic Styles test
  checks the red fill itself, not only some fill.
- package, pattern, perspgrid, pixelalign, recolor, swatchcmds,
  symbollib, xform: the links, stored graph paints, corners, anchors,
  map rows, group colors, gradient stops and symbol sizes are counted.
- rastersettings: the white-background image has the size of the clear
  one.
- textcombos: both paragraphs take the composer and justification.
- textedit: a character style range past u32 leaves the text object
  unchanged.
2026-12-01 20:18:48 -08:00
dotCooCoo 8594628d27 Merge main into fix/engine-test-pass 2026-12-01 20:15:32 -08:00
dotCooCoo 7f6cfef99c Tests: graph default markers are checked as squares, plain column height pinned
The `sized` helper in the graph tests now also requires the path to be the
four corners of its bounds, so a circle with the same 5 by 5 bounds no
longer passes as a default square marker. The plain column drawn in place
of a design past the budget is checked for its exact 140 point value
height instead of a height above 8 points.
2026-12-01 20:15:32 -08:00
dotCooCoo c6c7de257f Dependencies: move the craft-libs pin to craft-libs main 77ade517
craft-libs #4659 (swatch chips that fit a one-column rail) and #4723
have merged, so every craft-libs rev moves from #4659's head edbf2117
to craft-libs main at 77ade517. The egui revisions move to 861d60a6,
the ones that craft-libs rev pins; winit stays at 0dfcec0e. Cargo.lock
changes only the sources of those packages.
2026-12-01 20:14:00 -08:00
dotCooCoo 5c7bceaa53 Merge main into fix/engine-test-pass 2026-12-01 20:04:04 -08:00
dotCooCoo d66fa2fae2 Merge main into fix/sysfonts-menu-family-held-scan 2026-12-01 19:54:31 -08:00
dotCooCoo 1957da7178 Tests: the menu family list test holds the font scan with a lister
the_menu_family_list_now_does_not_wait_for_the_scan held the background
font scan with a named pipe named like a font. The font catalog now
skips files that are not regular files, so the scan never waited on the
pipe: it read the small test folder and could finish before the test
called installed_fonts_ready and menu_family_list_now. On a busy CI
runner the test then saw the installed fonts and failed with "before the
scan ends, only the fonts already loaded".

The test now builds its database with a test-only lister that the scan
calls before it reads the folder. The lister waits until the test drops
a channel sender after the two calls return, and gives up after 10 s so
that a list that waits for the scan fails the test instead of hanging
it. The pipe, the release thread and the Unix-only gate are removed.
2026-12-01 19:54:21 -08:00
dotCooCoo 5e271bcf66 Merge main into fix/test-lint-platform-only-tests 2026-12-01 19:54:15 -08:00
dotCooCoo d1c255fa64 xtask: test-lint never-run lists tests that build on macOS or Windows without failing
never-run failed the check on tests of macOS- or Windows-only code, such
as the touchpad gesture tests in quickpenwheel.rs and the Windows
performance counter tests in vectorcraft-cli's perf.rs. CI cannot build
them on Linux, and they run locally on their platform.

A never-run hit on a test that still builds on macOS (aarch64 or x86_64)
or Windows (x86_64 or aarch64) is now listed with the report-only rules,
and its note says which platform to run it on. A test that no desktop
target builds, such as one gated on target_os = "ios" or
all(windows, unix), still fails the check.
2026-12-01 19:54:14 -08:00
dotCooCoo 8bde5b8960 Merge main into fix/window-panels-stay-shown 2026-12-01 19:45:48 -08:00
dotCooCoo 36161768e5 Tests: check both axes of the move in the Window-panel test
The moved-art assertion accepted a horizontal move as short as half the
release distance and never read the vertical position. The test now
turns snapping and Smart Guides off before the drag and checks that the
rectangle's corner moves by the document displacement between press
and release on both axes.
2026-12-01 19:45:47 -08:00
dotCooCoo a73e85324a Merge main into fix/toolbar-chips-one-line 2026-12-01 19:43:37 -08:00
.CooCoo 50608f3cdf Merge pull request #10519 from dotCooCoo/fix/panels-test-pass
Tests: panel tests check results, not that a list is non-empty or every catalog has a row
2026-12-01 19:41:44 -08:00
dotCooCoo 4f942e5ba6 Merge main into fix/engine-test-pass 2026-12-01 19:34:12 -08:00
dotCooCoo 7c4edc2219 Tests: graph marker tests count the markers, not the series' children
Three graph tests checked only that a series group has children. A line
series also holds its line, and a column series holds its column, so the
check passed with no markers drawn. The tests now count the 5-point
squares at the data points, check the line and the column on their own,
and count the legend swatch only where the graph draws a legend.
2026-12-01 19:34:12 -08:00
.CooCoo 51ea77a565 Merge pull request #10509 from dotCooCoo/fix/drag-frame-ui-cost
Properties: a drag does not measure the panel's sections on each move
2026-12-01 19:32:03 -08:00
dotCooCoo 7b692b99c1 Tests: SCHEMA_PHRASES checked against the parameter schema's errors
SCHEMA_PHRASES in the i18n tests lists the phrases the parameter schema's
wrong-type error uses for what a value must be, and untranslated_report
reports them as messages to translate. The list was a hand copy of
apischema's expected() and range_text(), and no test compared the two, so
a changed phrase there would leave the catalogs translating a phrase the
app no longer shows.

schema_phrases_hold_what_the_schema_error_says builds a wrong-type error
through ParamSchema::validate for a plain number, numbers with inclusive
and exclusive bounds with and without a unit, an integer with a minimum,
an enum and a list, puts the schema's own values back as placeholders,
and checks that each resulting phrase is in SCHEMA_PHRASES.
2026-12-01 19:31:18 -08:00
dotCooCoo 6e6a9a6d2f Merge main into fix/craft-fonts-pin-main 2026-12-01 19:29:33 -08:00
.CooCoo 802a869c68 Merge pull request #10517 from dotCooCoo/fix/test-pass-remaining-crates
Tests: assert list lengths and saved names in tool, path, 3D, brush and CAD tests
2026-12-01 19:28:41 -08:00
dotCooCoo 0adddd0aa8 Merge main into fix/toolbar-chips-one-line 2026-12-01 19:25:18 -08:00
.CooCoo a5393f577c Merge pull request #10515 from dotCooCoo/fix/tests-render-trace
Tests: render and trace tests check what they claim
2026-12-01 19:22:45 -08:00
dotCooCoo dd059ff67d Dependencies: pin craft-libs at 77ade517
craft-libs main moved after the merge of main. The pin moves to
`77ade517`, which adds craft-libs #4644, #4053, #4723, #3662 and #4635.
The egui and winit revisions are unchanged.
2026-12-01 19:13:31 -08:00
.CooCoo e8a6aa85c0 Merge pull request #10513 from dotCooCoo/fix/tests-text-doc
Tests: text and doc tests check what the code returns, not only that it is there
2026-12-01 19:12:22 -08:00