ends_with_control_word walked back over the whole trailing run of
letters for every letter written, so a long run took quadratic time:
200,000 letters took about 10 s in a release build, and 400,000 did not
finish in 3 minutes in a test build. The output position after the last
plain letter is now remembered; while the output still ends there its
trailing letters are plain text and are not scanned again.
Review finding on #1162 (ends_with_control_word).
With Lowercase Extension on, saving over an existing PHOTO.PNG wrote
PHOTO.png: a second file beside the one the panel asked about on a file
system that tells letter case apart, or a silent rename on one that does
not. settled_save_path now lowercases only a name that does not exist yet.
Port of storytold/photocraft#9899, whose code moved here in
storytold/photocraft#15449.
* craft-dds: expose shared BC1-7, ETC1/EAC, and packed pixel decoders (#778)
* fix(dds): qualify super::anchor in bptc test
* craft-dds: add independent known-answer test vectors for BC6H, BC7, ETC1, and EAC
* fix(dds): remove unused partition/anchor imports in bptc test
* craft-mesh: add COLLADA (.dae) and Alembic (.abc) readers
* fix(mesh): use str::to_owned instead of into_owned in dae
* craft-mesh: make dae and abc opt-in features
* fix(mesh): remove unused Error import and use Entry API in abc
* ps: expose public PostScript token/lexer scanner (read::lex)
* ps(lex): only mark stream fresh on Ok token
* fix(ps): allow clippy::should_implement_trait on Lexer::next
* mesh, image-codecs: add clearcoat/sheen GLB, obj_with_mtl, and EXR chromaticities (#778)
* fix(mesh): import Image and TextureRef in obj tests
* fix(mesh): construct Mesh via struct literal in gltf test
linear_to_latex separated a control word from a following letter only by
looking at the next input character. A character it then dropped (an
unmatched 〖 or 〗, or a control character) hid the letter after it, so
`\in〗put` and `∈〗put` were written as `\input`, a command the exported
.tex would run on the machine of whoever compiles it. A letter is now
separated whenever the output so far ends in a control word.
Review finding on #1162 (latex_text.rs, the 〗 arm). The control
character case was already on main.
A body whose container sets scroll_owner is clipped to its body region. The canvas
pads its body by the rulers' strips and shows the Rulers itself over its own rect,
handing them its space and snap. The guide a ruler drag places reaches the body
through ruler_guide, so Guides::pending is gone, and the rulers' output comes back
in CanvasOutput. The tool host's paint and smart lines no longer clip to the canvas
rect.
Part of photocraft#15863, photocraft#15476.
Stops register after update, which calls Cx::join_roving, so a stop and its focusable parts are in the body's
roving group from the first pass that shows them. Membership is a field of the pass (roving_member), read by the
stops and the report step; the pass-stamped join slots in egui memory (join_group, member_group, join_part_group,
part_group) go. testing::focus::pass_stop_groups reads what the running pass registered.
A run notes each layout memory entry and kept transcript it keeps (replay::note_layout_keep, from read, record,
end_measure and kept_serves) in Facts::layout_keeps, merged outward like owners. A replay keeps them through one
layout_memory::keep and passes them to the record open around it. The journal no longer holds where the run measured,
which changes with the path layout memory takes and means nothing to a replay.
A view whose room moved (a scroll) replays its record shifted. Its audit run compares with the kept record as that
replay adds it: egui's records through PassRecords::shifted, journal entries with their arguments shifted, and the
kept rect moved by the shift's offset. journal's again is Copy (every capture-free closure is).
Test builds only. With CRAFT_UI_AUDIT_REPLAY=1 (or testing::audit_replays), the outermost view that would replay in a
real pass runs for real inside an audit record; the kept run stays as it was. The run is compared with what the replay
adds: the view's rect, paint, widget rects and AccessKit nodes (PassRecords::first_difference), focus registrations,
the journal and the output. A difference panics with the view's name and the first difference of each kind. Counters
count nothing inside an audit run, so the count trials hold under the audit.
A record that paints a paint callback is blocked: its view runs every pass, and the audit names it.
An edit through a given binding unsettled every settling child for its frame and
the next, so each move of a slider, scrub or other value drag ran every panel body
of the window. A child with a content version sees what the app does with the edit
as a new version, as it does for input elsewhere, so a given edit now follows the
input rule: only children without a content version run.
Part of storytold/photocraft#15476, for storytold/photocraft#15859.
A tip outline the tool host requests carries its region: the canvas's view on
the canvas's layer. The window takes the whole outline as its cursor image only
while it lies inside that region with no layer over it; otherwise the ring paints
on the canvas's layer clipped to the view, under panels, menus and dialogs, and
the window takes only its marks, as for a tip too large for an image.
photocraft#15863