The ids already carry their hash: the runtime's per-pass stores (lazy, layout memory, sensing arenas, id pass,
reads of overlays, inspect, keys, pointer, access) look them up without SipHash. The id pass keys its Auto
ordinals by the scope's id joined with the component type.
Canvas::layer_bounds takes a LayerBounds provider; ViewCommands::apply and available take it in place of
ViewTarget::layers, which is gone. Fit Layers is available when the canvas has a provider and calls it only in
the pass that applies the command. Trial: showing the canvas asks for no bounds; firing Fit Layers asks once.
Slot::content and AppShell::content give a slot the version of the app data it shows; DockPanels::content
gives one per panel body. With one, the slot or body runs in a settling Lazy. Trials: a versioned slot and a
versioned panel body run only when their version changes; a stroke whose tool asks for repaints runs no
versioned panel beside the canvas and one pass per move frame.
Lazy::content gives the version of the app data a settling child shows; it runs when the version changes.
frame::request_repaint asked inside a settling child runs only that child; outside every one it still runs
them all. frame::request_own_repaint moves only what the caller shows: the tool host and the canvas zoom ease
use it. Input other than pointer motion unsettles only the children without a content version.
Three ways the lexer lost a blank line, so two paragraphs ran together:
- A comment took its line end with it, so a blank line right after it
read as a single line end (wordcraft#6350).
- A control word took the spaces and one line end after it, so a blank
line right after `\relax` at a line end read as a single line end
(wordcraft#6366).
- Only LF was a line end. TeX ends a line at LF, CR or CRLF. With CR line
ends every paragraph break was lost, and a comment or a verbatim
environment ran to the end of the file and dropped the rest of it; with
CR or CRLF a control word kept the line end after it as a space
(wordcraft#6365, #6373, #6374, #6375). The lexer now reads every line
end as LF.
Each symptom has its own test. The CR fix needs the control-word fix
before it: CRLF files read a blank line after a control word correctly
only because the CR stopped the control word from taking the line end.
Port of storytold/wordcraft#6387, whose files moved here with the LaTeX
reader.
The control symbol branch took the line end or tab after a `\` as the
symbol's name, and the parser drops unknown commands, so `mid\` at a line
end followed by `line` read as `midline`, and a blank line after it no
longer ended the paragraph. TeX reads `\` before a line end or a tab as a
control space, as for `\ `.
- lex.rs: `\` before a line end (LF or CRLF) or a tab gives `Tok::Cmd(" ")`
and leaves the line end in place, so a following blank line still ends
the paragraph and the line end adds no second space.
- parser.rs: an optional argument such as an `\item` label reads a
control space as a space instead of writing `\ ` back as text.
This also keeps apart, on reopening, a paragraph that ends in two spaces:
export writes its last space as a control space at the line end.
Port of storytold/wordcraft#6298, whose files moved here with the LaTeX
reader.
`\\*` is a line break that also forbids a page break after it. The lexer
read `\\` as the control symbol and left the `*` as text, so `a\\*b`
showed `a`, a line break, then `*b`, `\\*[3pt]` showed `*[3pt]`, and in
a tabular the next row's first cell started with `*`.
The lexer now takes the star with `\\`, so the parser and the tabular
reader see the line break they already handle, with its optional
spacing argument.
* ci: run the Windows gate's tests with nextest and link with rust-lld
The Windows leg of the Workspace gate takes 55-100 minutes. About half of that is
cargo test running ~370 test binaries one after another, twice (default and all
features), and another 15-17 minutes per feature set is the uncached test build,
where link.exe links every test executable.
- Windows runs the tests with cargo-nextest (parallel across binaries) and the
doctests with cargo test --doc. The same tests run; .config/nextest.toml puts
the tests that relied on in-process mutexes (craft-ui GPU, craft-video h264
fixtures, craft-print) in one-at-a-time groups.
- Windows links with rust-lld via CARGO_TARGET_X86_64_PC_WINDOWS_MSVC_LINKER.
Linux and macOS legs are unchanged.
* ci: keep link.exe on the Windows gate
The first run with rust-lld built the tests no faster than link.exe at the same
runner speed (14.4 min against 15.1 min on a runner 8% slower at clippy), so the
linker change is not worth its risk. nextest stays.
* svg: floor declared() name window to a character boundary
If the MAX_NAME+1 cut split a UTF-8 character, get(..bound).unwrap_or(rest)
fell back to scanning the entire suffix. Floor the window instead, and
when recording an overlong name extend to the next character boundary so
the key is still longer than MAX_NAME.
* test(svg): assert declared() keys stay bounded after a multibyte cut
The overlong-name refusal alone also passed on the old unwrap_or(rest)
fallback, which recorded the whole suffix. Bound recorded keys to
MAX_NAME+4 so the test fails if the suffix is stored again.