add_range checked each row of the range against the selected keys with
Vec::contains, so adding a range of n rows to a selection of m keys made
up to n * m comparisons. With more than 8 rows in the range, the selected
keys now go into a HashSet first. Shorter ranges keep the plain search.
The order of the selection and the anchor and lead rules do not change.
The new trial selects 2,000 of 5,000 rows and Shift+Cmd-clicks row 0
with the anchor on row 4,000. With the plain search the click makes
about 6 million key comparisons; with the set it stays under 1 million,
which the trial asserts.
On macOS the temp directory is under /var, a link to /private/var, so current_dir() reads back the /private/var path and the assert failed on main's macOS gate.
`repaint::request_after` read the pass clock to note the wake in an open replay record, also on a thread with no
running pass (the control server's `WindowHost::repaint_in`). The read moved the context's pass state to that thread
for a moment, and a UI pass starting then ran on an empty default state, which was parked afterwards: no command sets,
no app catalog, every command shown by its id until a restart.
The clock is now read only while a record is open on this thread, the only case `note_wake` notes anything in.
set_in_model left the rows' kept values in place. Body::values reads them
before a host's sRGB-only color, and in HSB a grey or black matches for any
hue, so after picking a grey chip the Hue row kept the hue of earlier row
edits and the next channel edit started from it. The pick now removes the
kept entries for the chip's model before it files the edit.
Set craft_hdr::Limits::max_axis from Limits::max_side and drop the
separate resolution-line parser. A side over the limit is now
DecodeError::LimitExceeded ("axis length"), reported before any pixel
memory is allocated.
generate and generate_with no longer keep their own required variable
and skip_or_fail. A fixture that cannot be made now goes through
skip::skip with the variable generate is given (default
CRAFT_TEST_REQUIRED): unset or empty prints `SKIPPED: <reason>`, `1`
fails the test, and any other value, `0` included, fails it as a
configuration error. generate_with keeps the caller's required value
and prints the same skip line. The README paragraph and the test of the
variable's values follow the new rule.
- FetchError's Display escapes control characters in names, since a refused pin or an archive
entry can hold them.
- A name part longer than 255 bytes is refused.
- Names compare by the lowercase of the uppercase of their lowercase, so a capital sharp S, a
small sharp S and "ss" are one name.
- A file entry that names the archive's root (`.` or `./`) is refused instead of dropped; only a
folder entry may name it.
- The README says which names the path rules apply to.
- The system-tar test removes TAR_OPTIONS from tar's environment.
with_deadline returns a result that arrives before the limit is checked,
and wait_until checks its condition once for any number of raises that
came during one call of it.
The limit restarted after every call of the condition, so a thread that
kept raising the signal while the condition stayed false held wait_until
forever. The limit now counts from the start of the call, and each wait
lasts at most the time left. The condition is still called before the
limit is checked, so a condition that holds never fails.
Two tests cover it: an injected clock with a wait that always reports a
raise, and a real thread raising in a loop under with_deadline. Both
fail without the change.
When the server closes a connection with input still unread, the kernel
sends a reset, and the client's read fails with ConnectionReset or
ConnectionAborted instead of returning the end of the stream. is_closed
returned false for that, so the deadline test could fail, mostly on
Windows. is_closed now treats any read error other than a timeout as a
close, as a_browser_post_never_reaches_the_app already did, and a new
test checks the reset, abort and timeout cases.