Commit e89e480
fix(ui): harden responsive_columns against stride-canceling spacing (#189)
* fix(ui): harden responsive_columns against stride-canceling spacing
Review follow-ups for the merged #187 responsive-grid work.
- responsive_columns clamps the per-tile stride to a positive value. A caller
passing a spacing that cancels MIN_TILE_CELL_W previously divided by zero into
an inf-derived usize::MAX column count, so the helper reported `preferred`
columns even when far fewer tiles fit. Pinned with a regression test, plus a
test for the preferred_columns == 0 -> 1 floor that had no coverage.
- deny.toml: mark the two unmaintained-crate advisory ignores with explicit
drop-conditions, and record that RUSTSEC-2026-0192 (ttf-parser) is an
unmaintained notice, not a memory-safety CVE (verified against the local
RustSec advisory DB: informational = "unmaintained").
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
* style: apply cargo fmt to tile_layout
Fixes the CI lint (cargo fmt --check) failure on this branch.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
* ci(deny): ignore quick-xml RUSTSEC-2026-0194/0195 pending upstream bump
Both advisories are DoS-via-untrusted-XML in quick-xml < 0.41. The sole
consumer is wayland-scanner, a build-time proc-macro parsing vendored
Wayland protocol XML; no untrusted XML is parsed at runtime, so neither
issue is reachable in the shipped binary. wayland-scanner 0.31.10
(latest) still pins quick-xml ^0.39 — drop these ignores when it moves
to 0.41.
Closes #192.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>1 parent ddc122a commit e89e480
2 files changed
Lines changed: 27 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | | - | |
18 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
19 | 22 | | |
20 | 23 | | |
21 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
38 | | - | |
39 | | - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
40 | 42 | | |
41 | 43 | | |
42 | 44 | | |
| |||
161 | 163 | | |
162 | 164 | | |
163 | 165 | | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
164 | 183 | | |
0 commit comments