Commit Graph
340 Commits
Author SHA1 Message Date
dotCooCoo 98befc25d7 Dependencies: craft-libs pin to main with #5606, #5657, #5789 and #5763
Moves every craft-libs rev (Cargo.toml, apps/vectorcraft-web/Cargo.toml
and REV in xtask/src/pdf_deps.rs) from 6b67abe4 to craft-libs main at
9ade0099, and updates Cargo.lock.

The new rev brings craft-libs #5606 (the update check reads the
signature entry instead of hashing the program), #5657
(`I18n::from_sources`), #5789 and #5763, and every other commit on
craft-libs main since 6b67abe4.
2026-12-05 23:04:09 -08:00
dotCooCoo 425c7a33df Dependencies: craft-libs pin to main, and the workarounds for #4938, #5281, #5381, #5410 and #5513 removed
Moves every craft-libs rev (Cargo.toml, Cargo.lock, apps/vectorcraft-web,
xtask pdf_deps) from 138ce9929e to craft-libs main 6b67abe4b3. The egui,
winit and acadrust revs match the ones that craft-libs rev pins.

- Canvas: the drag-session restart after a Removed cancel (resume_carry
  and CanvasCache::removed_press) is removed; craft-libs #5281 keeps the
  session running while the canvas is hidden for a pass.
- DXF export: blocks_compat is removed; group blocks are written through
  craft_dxf::drawing::Block, Drawing::blocks and Codes::insert
  (craft-libs #5381), so Drawing::blocks now holds them.
- DXF import: VectorCraft's copy of the REGION reader (import/acis.rs and
  the region helpers in reader.rs) is removed; regions are read with
  craft_dxf::acis (craft-libs #5513), capped at the import's element limit.
  The hex and size checks of the binary data are tested in craft-dxf.
- CGM import: the cgm feature is removed, so binary CGM files open and
  place in every build (craft-libs #5410). The reader's notes on unread
  fonts, appended text, continuous alignment, marker types and character
  sets now come back as warnings too. docs/mcp.md describes the import.
- Canvas: the anchor marks draw a mark's fill and edge as one shape and
  leave out other paths' handles that cannot reach the canvas, as
  BezierOverlay does since craft-libs #4938, so they keep painting what
  the overlay paints.
- Native files: craft-vectorcraft-format's VERSION is 5 (craft-libs
  #5366). Saves for version 4 keep placed documents, Color Halftone's Max
  Radius in pixels and Twist angles as before (new PLACED_SINCE), and only
  live stars become paths there (LIVE_STAR_SINCE). A version 4 file from
  0.21.0 or later still opens with its Twist angles as saved. Save As
  lists version 5, and the version option defaults to 5.
- Layers panel test: icons share packed atlas pages since craft-libs
  #4275, so the test tells icons apart by texture and atlas rectangle.
2026-12-05 19:59:01 -08:00
Dylan M. Taylor 7106c9753d xtask pdf-deps: expect the PDF crates at 138ce992 too 2026-12-05 21:36:19 -05:00
.CooCoo a7a26c0fc9 Merge pull request #10988 from dotCooCoo/chore/craft-libs-pin-5489
Dependencies: craft-libs pin to main with #5489, #5466 and #5024, and their workarounds removed
2026-12-05 14:51:52 -08:00
dotCooCoo 2c0c164cd9 Merge main into fix/cold-cache-drops-integration-tests 2026-12-05 14:18:59 -08:00
dotCooCoo 8faf2a10f2 CI: keep integration test executables out of the gate's crates cache
The gate's `build` job builds the integration tests without recording
their units, so the trim before the cache save was meant to drop them.
actions/cache-trim keeps every unrecorded unit built during the job, so
a cold main build saved all of them: a 9.68 GB gate-crates entry, over
the repository's 10 GB cache budget, which was then evicted and left
every following build cold.

`cargo xtask ci archive` now collects the unit directories of the
integration test executables those builds made and deletes them once
the shard archives are written, in a leg that saves the cache. Units
the record names stay, and a unit that cannot be deleted is named in a
warning. The shards run the executables from their archives, and the
doctests that follow do not use them.
2026-12-05 14:18:42 -08:00
.CooCoo 29927c6df2 Merge pull request #10975 from dotCooCoo/fix/ci-lint-cache
CI: build the tests without bundled fonts in the build job, not the lint leg
2026-12-05 14:09:21 -08:00
dotCooCoo ee1d35e8d6 Dependencies: craft-libs pin to main at f9e5cecc9c
Every craft-libs rev moves on to craft-libs main at f9e5cecc9c, which also
holds storytold/craft-libs#4039 and #5541. The egui, winit and acadrust
revs stay as craft-libs pins them.
2026-12-05 12:46:02 -08:00
dotCooCoo c1c33e9d3c Dependencies: craft-libs pin to main at d32100f6d2
Every craft-libs rev moves on to craft-libs main at d32100f6d2, which also
holds storytold/craft-libs#5222 and #5569. The skrifa patch stays at
37d0532f42, whose vendored skrifa is the same as main's. The egui, winit
and acadrust revs stay as craft-libs pins them.
2026-12-05 12:26:47 -08:00
dotCooCoo 3d50f40e96 Dependencies: craft-libs pin to main at a7fb3c3cd8
Every craft-libs rev moves on to craft-libs main at a7fb3c3cd8, which also
holds storytold/craft-libs#5548. The egui, winit and acadrust revs stay as
craft-libs pins them.
2026-12-05 11:51:27 -08:00
dotCooCoo 86b5e07ac7 Dependencies: craft-libs pin to main at 643892adc7
Every craft-libs rev moves on to craft-libs main at 643892adc7, which also
holds storytold/craft-libs#3665, #3710, #4928, #5471 and #5554. The egui,
winit and acadrust revs stay as craft-libs pins them.

With craft-libs#4928 the Bezier overlay paints its anchors and handles as
one kept mesh. The test that compares the canvas anchor marks with the
overlay now tessellates the marks' run of shapes the same way before it
compares them, and leaves out placeholder shapes that paint nothing.
2026-12-05 11:37:42 -08:00
dotCooCoo b7604a54e7 CI: build the tests without bundled fonts in the build job, not the lint leg
The lint leg's dependency cache keeps no compiled workspace crates, so on
a pull request `cargo test -p vectorcraft-ui-egui --no-default-features
--test install_fonts` rebuilt every workspace crate without the bundled
fonts: 35 of the lint leg's 60 minutes, and the longest leg of the run.

`cargo xtask ci` splits its no-bundled-fonts step in two. The
`no-bundled-fonts` step (the `cargo tree` checks and the clippy run
without default features) stays in `cargo xtask ci checks`. The new
`no-bundled-fonts-tests` step runs the two tests, and the new
`cargo xtask ci after-archive` runs it after the doctests in the gate's
build job, whose rolling cache entry keeps the workspace crates. The
tests' builds record their units in CRAFT_CACHE_UNITS, so the cache trim
keeps the crates built without the fonts.
2026-12-05 09:53:20 -08:00
dotCooCoo 7d58dab740 Dependencies: craft-libs pin to main at 80a65f8437
Every craft-libs rev moves to craft-libs main at 80a65f8437. Its egui, winit and acadrust revs
are the ones VectorCraft already pins.
2026-12-05 09:25:50 -08:00
dotCooCoo 2743fa338d Merge main into chore/craft-libs-pin-5489
# Conflicts:
#	Cargo.toml
2026-12-05 09:08:16 -08:00
dotCooCoo d4e73489ef Dependencies: craft-libs pin to main, with the opacity and edit-target workarounds removed
Every craft-libs rev moves from 4f3e34d0dd, the head of craft-libs#5489, to craft-libs main.
The egui and winit revs are the ones that craft-libs rev pins, unchanged.

- Opacity fields (Control bar, Color Wheel, Gradient) show the stored fraction times 100 again.
  craft-libs#5466 makes the number field step on from a value such as 50.999999 %, so
  panels::shown_percent is removed.
- The Blend Options Ramp and Shift sliders, the Image Trace rows and the Divider field use
  SliderField::edit_target (craft-libs#5024) in place of the id-salt workarounds. A value typed
  for one object and not yet committed is still dropped when another is selected.
- CDR import: craft-libs now reads bitmaps as their own object kind. They are not placed; the
  warnings name them with the other objects not read, and a PowerClip frame that clips only a
  bitmap is named as a frame that opened empty.
2026-12-05 09:07:54 -08:00
dotCooCoo 0848cfc2bb Merge main into fix/swatches-browser-selection-set 2026-12-05 08:06:38 -08:00
dotCooCoo 3c5fe686fe Merge main into fix/swatches-browser-selection-set 2026-12-05 07:46:05 -08:00
dotCooCoo 528b41abfb Merge main into fix/ci-nextest-archive 2026-12-05 05:35:10 -08:00
dotCooCoo 3ecd070872 Part of #10798: the font list's style rows preview their style on the text
Hovering a style row of an expanded family in the font list previewed
only the family on the selected type. apply_preview now takes the style
the picker reports with its preview (FontPickerOutput::preview_style and
CharacterControlsOutput::preview_style) and passes it to the font
command, so the type shows the hovered style; a family row still
previews the family in the closest style it has.

Every craft-libs rev moves to storytold/craft-libs#5489's head
(4f3e34d0dd), which adds preview_style, gives style rows a sample in
their own face, and keeps a typed query when a family's disclosure, its
star or a filter is clicked. Cargo.lock changes only the craft-libs
source lines.
2026-12-05 02:29:35 -08:00
dotCooCoo fb3f2d545f CI: the build job runs each shard's doctests in a command of its own
`cargo xtask ci doctests` ran the doctests of every workspace member in
one `cargo test --doc`, which resolves features over all of them and
rebuilt the libraries the per-shard builds had built: the step took 24
minutes in the build job of pull request run 47488581650. It now runs
one `cargo test --doc` per shard with the crates `ci shard` runs them
for. On the build host, after `ci archive`, the step took 34 seconds.
2026-12-04 23:58:57 -08:00
dotCooCoo 4f0f123108 CI: the build job builds each shard's tests in a command of its own
On the pull request run the build job ran one `cargo test --workspace`
for every test, and the runner stopped with "received a shutdown
signal" (exit 143) after 28 minutes, while it compiled
vectorcraft-engine's, vectorcraft-ui-egui's and the app crates' tests
side by side. A workspace build also resolves features over every
crate, so on the build host the archive step then rebuilt 58 units
that the shards' own builds had built with other features.

`cargo xtask ci archive` now builds the library and binary tests of
each shard's run in a cargo command of its own, then each run's
integration tests, as the shards and the cache warm did before. Each
archive uses its run's package and target selection, so the archive
step finds every test built: on the build host each of the archive
commands finished in under a second after the builds. An archive holds
one cargo selection, so each shard now makes one run:
vectorcraft-engine's integration tests move from shard 4 to shard 3,
beside its library tests, and `ci archive` fails on a shard with more
than one run.
2026-12-04 22:19:39 -08:00
dotCooCoo 181a471e6c Swatches: the panel checks a large selection in one read of the swatches
The Swatches panel's body in craft-libs drops selected keys that no
longer name a swatch or a group on every repaint while the panel is
hovered, and checked each key with a scan of every swatch name. With
2,000 swatches in 20 groups and every swatch and group selected, one
run compared about two million names.

Every craft-libs rev moves from 4c330f6bd1 to dbc6b20e78, which reads
the swatch names once per run and stops when it has found every
selected name. Delete events and the footer's Delete answer the first
lookup of a swatch or a group name with a scan and later lookups of
that kind from a map of the names. Cargo.lock changes only the
craft-libs source lines.
2026-12-04 21:22:30 -08:00
dotCooCoo cf866c82d5 CI: the build job's cache entry leaves out the integration test executables
The build job recorded every unit of `cargo test --workspace --lib
--bins --tests --no-run` for the cache trim, so the rolling entry would
hold the integration tests' executables. With them the entry measured
10.3 to 10.5 GB, above the repository's 10 GB cache budget, which is why
`cargo xtask ci warm` stopped building them. The library and binary
tests' build now records the units, and the integration tests build
afterwards without a record. The saved entry keeps every dependency and
dev-dependency the tests build with.
2026-12-04 20:27:33 -08:00
dotCooCoo dbb65e3d74 Merge main into fix/ci-nextest-archive
# Conflicts:
#	.github/workflows/ci.yml
#	xtask/src/main.rs
2026-12-04 20:16:03 -08:00
dotCooCooandElvis33LE 0cd2bab6f9 CI: build the tests once and run every shard from a nextest archive
Each of the five test shards compiled its own tests: 8 to 18 minutes
with a cache hit and 25 to 43 minutes with a miss, on every shard of
every run. The gate's build job now builds every shard's tests once
(`cargo xtask ci archive`) and writes one nextest archive per shard
with that shard's test binaries (`Shard::filterset`). The test legs
download their own archive and run it without building or restoring
the dependency cache. The build job runs the doctests after the
upload (`cargo xtask ci doctests`), and on main it saves the rolling
dependency cache in place of the `cache warm` legs.

The ci steps that are not tests (fmt, clippy, no-bundled-fonts and the
other checks) move from shard 6 to the gate's lint leg
(`cargo xtask ci checks`), which runs beside the build with a cache
entry of its own. The gate now has five test shards; `ci warm` and the
warm split are removed.

The nightly signing policy lists the new job names (build, lint and
test 1/5 to 5/5), and the cold cache clear waits for the build job's
save.

Co-authored-by: Elvis33LE <[email protected]>
2026-12-04 20:14:43 -08:00
.CooCoo c58b291771 Merge pull request #10816 from dotCooCoo/fix/craft-libs-pin-language-packs
Dependencies: move the craft-libs pin to craft-libs main 69c746e9
2026-12-04 19:42:37 -08:00
dotCooCoo 5bfe35996b xtask: the cache warm no longer builds integration test executables
Since #10163, `cargo xtask ci warm` built each test shard with
`--lib --bins --tests --no-run`, so the dependency-cache entry also held
the integration test executables. The gate-crates entry grew from about
4.7 GB to 10.3 to 10.5 GB, above the repository's 10 GB cache budget,
and the slowest test shard on main took 30 to 31 minutes afterwards
against 26 to 28 minutes before.

The warm build now builds the library and binary tests of each shard's
crates (`--lib --bins --no-run`) and skips a run of integration tests
alone, whose crate has its library tests built on another shard. The
integration tests take the same dependencies and dev-dependencies, so
the entry still holds every dependency the shards build. Cargo again
warns `unused dependency vectorcraft-testkit` for vectorcraft-cli in the
warm log; only that crate's integration tests use it.
2026-12-04 18:47:47 -08:00
dotCooCoo 5c527ab7ec Merge main into fix/craft-libs-pin-language-packs
Moves every craft-libs crate to craft-libs main 4c330f6, which contains
both 69c746e9 and main's c2a47df pin. The egui (399fc6e) and winit
(3fd7ae6) revs stay as that craft-libs rev uses them, and skrifa stays at
craft-libs 37d0532f until craft-libs#5222 merges.
2026-12-04 18:01:30 -08:00
dotCooCoo b852eef288 Merge main into fix/craft-libs-pin-language-packs
Every craft-libs crate stays on craft-libs main at 69c746e9, with egui
399fc6e and winit 3fd7ae6. The skrifa patch from main stays at craft-libs
37d0532 until craft-libs#5222 merges.
2026-12-04 16:20:40 -08:00
dotCooCoo 19eb6cd88c Merge main into fix/popout-stable-measure 2026-12-04 15:00:25 -08:00
.CooCoo c9776110a4 Merge pull request #10848 from dotCooCoo/fix/doc-test-cfg-attr-doc
xtask: the doc-test lint check reads doc attributes inside cfg_attr
2026-12-04 14:20:36 -08:00
.CooCoo 2b1bd7e71d Merge pull request #10790 from dotCooCoo/fix/font-hinting-blue-zone-hang
Fonts: a face without hinting instructions no longer hangs the font list
2026-12-04 14:20:17 -08:00
dotCooCoo 1bbc32ff82 Dependencies: move the craft-libs pin to craft-libs main (69c746e9)
Every craft-libs dependency moves from 33966c68 to craft-libs main at
69c746e9, which adds the equal-spacing smart guides of a move
(ToolContext::add_measures and ToolHostResponse::measures). The egui and
winit forks stay at the revisions craft-libs pins (399fc6e0, 3fd7ae64).
Cargo.lock changes only the sources of the craft-libs packages.
2026-12-04 12:52:13 -08:00
dotCooCoo d368eb5359 Merge main into fix/craft-libs-pin-language-packs 2026-12-04 12:28:38 -08:00
.CooCoo 63f68d0a7f Merge pull request #10618 from dotCooCoo/fix/test-lint-census-closure-writes
xtask: test-lint census rule follows closure writes, async blocks and nested guards
2026-12-04 10:35:21 -08:00
dotCooCoo 829f85298e Merge main into fix/popout-stable-measure 2026-12-04 10:14:11 -08:00
dotCooCoo 4f9f0924b2 Merge main into fix/craft-libs-pin-language-packs 2026-12-04 10:13:46 -08:00
dotCooCoo 9c08ad9395 Merge main into fix/font-hinting-blue-zone-hang 2026-12-04 10:09:33 -08:00
dotCooCoo 4368fed0c9 xtask: the doc-test lint check reads doc attributes inside cfg_attr
`cargo xtask layers` read only `#![doc(test(attr(...)))]` written
directly, so a library root that lowered its doc tests with
`#![cfg_attr(<cond>, doc(test(attr(allow(unsafe_code)))))]` still passed
the check that its doc tests deny unsafe code.

A `doc(...)` inside `cfg_attr(...)`, at any depth, now counts. Since the
check does not evaluate the condition, such an attribute can only lower
the level: an `allow`, `warn` or `expect` of `unsafe_code` inside it
lowers it, and a `deny` or `forbid` inside it does not count, as for a
lint attribute inside `cfg_attr` within `doc(test(attr(...)))`.
2026-12-04 10:04:19 -08:00
dotCooCoo 6b0ca1faea Dependencies: move the craft-libs pin to craft-libs main (33966c68)
Every craft-libs dependency moves from 0582d506, the head of
storytold/craft-libs#5281, to craft-libs main at 33966c68. The egui and
winit forks stay at the revisions craft-libs pins (399fc6e0, 3fd7ae64).

- Art dragged off the canvas: craft-libs main still ends the drag session
  when the tool host cancels a press whose canvas was hidden for a pass, so
  art dragged over another document's tab and back to its own canvas was
  not moved. The canvas now starts that session again while the button is
  held. storytold/craft-libs#5281 keeps the session running; the canvas
  code goes with the pin bump that takes it.
- Floating panels: with storytold/craft-libs#4739 in the pin,
  WindowHost::viewports_at skips minimized and hidden windows, so
  os_window_at drops its own minimized check. It keeps the check for an
  open dialog: the palette windows hide a few passes after the dialog
  opens.
- Tests: the hidden-palette test waits the pass in which the palettes show
  again after the dialog closes. The Gradient panel's swatch-drop tests
  show the Gradient panel over the Swatches panel, which fills the room
  under it.
2026-12-04 10:04:00 -08:00
dotCooCoo bf5e7ea76d Merge main into fix/craft-libs-pin-language-packs 2026-12-04 07:37:48 -08:00
dotCooCoo 3451c7a0a8 xtask: test-lint takes a saved bound only from a saved length
A local saved from `xs.len()` or `xs.iter().count()` gives the number
compared with it as the item count. One saved from an item or a flag
(`xs.first().copied().unwrap_or(0)`) shows at least one item, whatever
it is compared with.
2026-12-04 06:51:26 -08:00
dotCooCoo 31f86b52b5 xtask: test-lint follows redirects, closure uses and saved counts exactly
Workflow environment scan:
- A command whose standard output is redirected
  (`echo "N=x" >/dev/null |& tee -a "$GITHUB_ENV"`) does not set the
  variable; the same pipeline without the redirect still does.
- `env` reads assignments only before its child command, so
  `env printf '%s' "N=x"` passes the word to `printf`.
- A line break after `|` or `|&` continues the pipeline.
- A line continuation inside a name (`MY_\` and `SAMPLES=x` on the
  next line) is removed before names are read; single-quoted text is
  kept as it is.

Test reads:
- Closure names are read past the 1 KiB decode window and with
  combining marks.
- A unary `-` or `!` stays inside a cast's operand (`-Kind::A as i8`).
- A closure called only from a closure that never runs is not run;
  statements are judged last first against the code kept so far.
- An async closure's future passed to `drop` or `std::mem::drop` is not
  polled.
- `fallback(xs).len()` is a size check of the call's result, not of
  `xs`; `(xs).len() == 2` keeps its exact bound.
- An index shows `k + 1` items (`xs[0]` does not guard
  `xs.windows(2)`), and an index after the assertion counts only while
  nothing in between changes the collection.
- Turbofish arguments neither end a selector closure nor count as
  selector locals.
- A count through `by_ref()` consumes its source.
- A saved count (`let n = xs.len()`) guards only `xs`, with its compared
  bound.
- `(status.success() && dest.exists()) == true` is not status-only.
- Brackets inside const arguments are skipped when tracking open
  generic lists, so a shift after them stays visible.
- Every grouping layer around a constructor is unwrapped before a field
  is read.
- A raw identifier (`r#loop`) does not open an iterator block.
2026-12-04 06:37:21 -08:00
dotCooCoo 781daaf0fe Merge main into fix/test-lint-scope-and-status-parens
The conflicts in xtask/src/test_lint.rs keep main's shell command
reader (shell_command, command_word, writes_env_file with its later
redirection check), main's first-item roots, indexed_local and
name_byte/local_name, and this branch's grouped receivers, unused
closure check, status_condition and tuple-literal fields.

The merged scanner also closes these gaps:
- A quoted NAME=value counts only when the setter is the command
  itself, not an argument (`cargo test -- env "NAME=x"`);
  `/usr/bin/env "NAME=x" cargo test` still counts.
- Bash `|&` continues the pipeline, and the environment-file writer is
  the command after the last pipe outside quotes, so
  `tee 'backup|copy' "$GITHUB_ENV"` is found. `>|` redirects like `>`.
- A backslash-newline continuation leaves the word state as it was, so
  a `#` after `true; \` and a line break starts a comment.
- name_at reads past whitespace longer than 1 KiB, such as a long
  masked comment before a binding or nested fn name.
- An indexed item, or an iterator taken from it (`rows[1].by_ref()`),
  that is the `.all()` receiver in the assertion does not guard it.
- A selector after a closure (`r.items(|i| i > 0, i)`) is tracked:
  closure parameters are hidden only inside the closure's body.
  Non-ASCII selector locals (`café`) are tracked through the mutation
  check.
- A count produced by draining its source (`xs.drain(..).count()`)
  guards nothing.
- The type of a qualified path in a loop iterator
  (`<Producer as Make<{ 1 + 1 }>>::items()`) is not taken as the loop
  body.
2026-12-04 05:59:34 -08:00
dotCooCoo f98e03427a Merge main into fix/test-lint-census-closure-writes 2026-12-04 05:47:43 -08:00
dotCooCoo 5c09bd17ca xtask: test-lint keeps changed lines, redirects and guards to their own construct
- Only a hunk that removes blank lines and line comments reaches past
  the next line to the code after it, so deleting an import before an
  unchanged test no longer marks that test as changed.
- A replacement hunk that removes a skip comment inside a test also
  marks the code after it, so the `return` the comment explained counts
  as changed.
- A folded `run: >2-` block uses its indentation indicator as the
  content indentation.
- An assignment right after `&&`, `|`, `;` or `(` with no space before
  it (`true&&NAME=x cargo test`) is read as one.
- Only a redirection of standard output (`>>`, `1>>`, `&>>`) to
  `$GITHUB_ENV` writes the printed assignment; `2>>` does not.
- A redirection after `;`, `&&`, `&` or a line break belongs to the next
  command and does not replace the write to the environment file.
- A size check joined to an `.all(...)` by `||` does not guard it.
- A numeric index or a first-item unwrap guards only an `.all(...)` over
  the local it reads (`expected[1]` does not guard `actual.iter()`).
- A field of a tuple literal (`let pair = (5, Kind::A); pair.1`) resolves
  to its element, as a field of a tuple struct does.
2026-12-04 04:33:59 -08:00
dotCooCoo 5b1c3577f1 Merge main into fix/test-lint-port-review-fixes 2026-12-04 02:59:06 -08:00
dotCooCoo c0568c15e7 xtask: test-lint reads folded run blocks, later redirects and indexed clones exactly
- A deletion's changed range runs past lines that hold only a block
  comment, so a return after `/* spacer */` still counts as changed.
- A `run: >` block is folded as YAML folds it before its assignments are
  read, and a `run:` block ends at the first line indented no deeper than
  the `run` key, so a sibling `env:` key is read as a mapping.
- A later redirection of standard output (`>> "$GITHUB_ENV" > setup.log`)
  replaces the write to the environment file.
- A strict length bound past `usize::MAX` guards no `.all(...)` and no
  longer overflows.
- An element indexed out of a local with a non-ASCII name, or out of a
  nested container, holds the element's user value for `.clone()`.
2026-12-04 02:59:06 -08:00
dotCooCoo cc13d6abee xtask: test-lint closes thirteen scanner gaps in workflow and test reads
Workflow environment scan:
- A quoted `NAME=value` counts as an assignment only after a command
  that sets variables (`export`, `declare`, `env`, `/usr/bin/env` and
  similar) or in a pipeline that writes `$GITHUB_ENV`, not as an
  argument such as `cargo test -- "NAME=x"`.
- Bash `|&` is one pipe, so `echo "NAME=x" |& tee -a "$GITHUB_ENV"`
  writes the environment file.
- A `#` after an escaped space (`a\ #b`) stays in its word and does not
  start a comment.

Test reads:
- `split_args` does not close generic arguments at a `->` arrow.
- Binding names and nested `fn` names read non-ASCII letters
  (`_vérifier`), so an uncalled closure or nested function is excluded.
- A grouped size receiver (`(xs).len()`) is checked for later shrinking.
- An indexed item that is the direct `.all()` receiver
  (`rows[1].all(..)`) does not guard that assertion; an earlier access
  still shows the collection has items.
- Selector locals before a bitwise `|` are tracked; closure parameters
  are excluded by their parameter list and scope, and the scan no
  longer slices inside a non-ASCII character.
- A count whose initializer shrinks its source after the size read
  (`xs.len() + { xs.clear(); 0 }`) guards nothing.
- `&&status.success()` is a double borrow, not a conjunction.
- Generic tuple constructors (`Pair::<Input>(..)`) resolve their fields.
- A braced const argument in a loop iterator's turbofish is not taken as
  the loop body.
2026-12-04 02:55:02 -08:00
dotCooCoo dbffe7a76c Dependencies: move the craft-libs pin to 0582d506
Move every craft-libs dependency from 77ade517 to 0582d506, which is
craft-libs main at 13198740 (with storytold/craft-libs#5272) plus
storytold/craft-libs#5281. Take the egui fork at 399fc6e0 and the winit
fork at 3fd7ae64, the revisions craft-libs pins. The winit fork no
longer pulls in wayland-protocols-plasma.

Adjust VectorCraft to the new framework behavior:

- The Unsaved Changes question opens on the dialog host as a
  HostedUnsavedChangesDialog.
- The drag session now resolves a release against the targets of the
  release pass and delivers the drop in the next pass. The canvas no
  longer drops art released over a pane itself in that pass, which
  copied the art twice.
- Files the person drops in a pass that carries injected input stay
  confined to the automation roots in the pass that delivers them.
- Dragging art over another document's tab and back to its own canvas
  moves it again: craft-libs#5281 keeps the drag session running when
  the source canvas shows again.
2026-12-04 01:57:51 -08:00