pmacs/pmacs-gpu
Levi Neuwirth 200fc16ba2
fix(gui-1b): assert B4's off-Linux inertness where the effect would be
The inertness stopped at a seam. `middle_click_paste_source()
.unwrap_or(PasteSource::Clipboard)` at the call site restores the
rejected fallback and passes every row: the helper still returns `None`,
and Linux still receives PRIMARY. A contract asserted only in the
function that decides it is not asserted on the path that acts on it.

The end-to-end row drops its `cfg(target_os = "linux")` and asserts the
complete transcript on both platforms: one PRIMARY paste on Linux, and
off Linux NO paste of any selection and no local effect either.

One honest limit is recorded on the row rather than left implied. On a
Linux host that `unwrap_or` never engages --- the source is already
`Some(Primary)` --- so no row on this machine can fire that mutant, and
a green local run says nothing about it. The `else` branch is what
catches it, and it runs on the non-Linux CI legs. Forcing the source to
`None` everywhere fires two rows locally, which is the closest
demonstration available here.

Also repairs the neighbouring test's documentation, which my insertion
had split: `an_unused_button_produces_no_effect_of_any_kind` was left
with "row that calls it claimed-and-dropped" while its opening two lines
had been absorbed into the B4 row's comment. Both are contiguous blocks
again.

Two process notes, because both recurred:

- This is the THIRD insertion in this lane to damage an adjacent test's
  docs or attributes. The cause is anchoring a splice on a `fn` or doc
  line without checking what precedes it; from here I anchor above the
  doc block and read the neighbour back after inserting.
- The previous commit's message claimed the `cfg` removal it did not
  contain: an edit script died partway, wrote nothing, and I committed
  on the strength of a later partial edit. Amended rather than left
  standing, and the file is now verified per claim rather than per
  script exit.
2026-09-01 12:22:57 +02:00
..
fonts feat(math): bundle Latin Modern Math and read its MATH constants 2026-07-24 18:27:34 -04:00
src fix(gui-1b): assert B4's off-Linux inertness where the effect would be 2026-09-01 12:22:57 +02:00
Cargo.toml feat(release): binaries on tag — Distribution Stage 1 2026-08-01 14:40:47 -04:00