Part of #978. The Color Wheel panel menu gains HSL Sliders, shown in
place of OKLCH Sliders: H (0 to 360°), S and L (0 to 100 %) rows under
the wheel or the box that edit the hue, saturation and lightness of the
color's display sRGB, as CSS Color 4 defines HSL
(https://www.w3.org/TR/css-color-4/#the-hsl-notation). A pick goes into
the working RGB space as the wheel's picks do, the rows keep the hue of
a gray, and they take the arrow keys and report their names, values and
ranges to screen readers as the OKLCH rows do.
- vectorcraft-color: rgb_to_hsl and hsl_to_rgb follow the conversions
in CSS Color 4 sections 7.1 and 7.2, with Color::to_hsl and
Color::from_hsl beside to_hsb and from_hsb.
- ui.colorWheel takes sliders: "hsl"; an unknown value now answers
"`sliders` must be none, oklch or hsl".
- Docs: docs/mcp.md, docs/control-protocol.md and the Color Wheel
evidence in docs/target-app-parity.md.
* CI: FreeBSD builds with two jobs
The nightly FreeBSD run has been killed for memory (exit 137) while
compiling the workspace's test targets, on both architectures, every
night since at least 9 November. Two rustc processes at a time fit in
the VM's 12 GB.
* CI: one FreeBSD build job at a time
With two jobs the engine and ui-egui test builds were still killed when
they compiled together.
The check before a PNG or JPEG is embedded as it is read the profile's
color space only from a profile of at least 128 bytes, so a gray or RGB
profile cut short after its color space reached the PDF writer. The
color space is now read from bytes 16..20 of any profile that holds
them, and valid_icc rejects the short profile.
When the last of the bounded breaks such a line reads came right before
U+2028, the line ended at that break and the next line held only the
forced break, drawing an empty line. The line now reads on to the
forced break and ends there when it fits as drawn.
In PDF/X-1a, a tagged gray JPEG that the Compression settings keep as
JPEG was decoded and written with Flate. It is now written with its
JPEG data unchanged, in DeviceGray without its profile.
A PNG or JPEG embedded as it is now has its gray or RGB profile checked
with valid_icc, like the images the recoder writes: a malformed profile
is left out, the JPEG keeping its JPEG data and the PNG decoded.
After the merge of main, the tracked-ligatures note is the only reader of
the first run's features, and the branch replaces that check with one that
reads every frame of the story, so clippy reported the binding as unused.
tab_advance read the text after a tab up to the next tab for every
stop, though only right, center and decimal stops align it. The first
tab of a long paragraph read the paragraph to its end, even on a line
that stops reading a bounded number of breaks past its overflow. It
now reads that text only when it reaches a stop that aligns it.
A gray or RGB image is tagged with the ICC profile it carries only when
the profile passes the checks a CMYK image's profile already passes: at
most 16 MiB, the size its header declares, the acsp signature, an input,
display, output or color space profile class, and a tag table that lies
within it. Otherwise the image is written in DeviceGray or DeviceRGB, kept
as it is, resampled or compressed with JPEG.