Build fzt into the command palette instead of loading fzt.dll (FZT2-10) #72
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
queue
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
romaine-life/tuimail!72
Loading…
Reference in a new issue
No description provided.
Delete branch "FZT2-10-rust-fzt"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The command palette builds fzt in, from fzt's Rust crate (fzt v0.2.124), instead of loading fzt.dll from home-sync's install at run time, which nothing tied to the fzt tuimail was built and tested against. The crate gives the same frames and picks fzt.dll did (fzt holds the two identical with shared recorded cases), so the palette looks and works as before.
Removed
src/fzt.rs: the libloading loader, its JSON types, and the "not installed" / "not loaded" paths; thelibloadingdependency.Changed
palette.rs,app.rsandui/palette.rsusefzt::Session,fzt::Command,fzt::KeyEvent,fzt::Frameandfzt::VisibleRowdirectly; the open session is boxed (clippy's large-variant check). A resize can no longer fail, so its error branch is gone.Palette::Failedstays, now only for fzt refusing a menu or key (class=palette kind=refused).infois found in the:folder, a resize lays it out again, and the every-window-size draw test covers an open palette.logfile.rs's class comment say fzt is built in.Left alone: the palette's look, keys, menu and the
:folder's info command;Options.versionstays empty, as fzt.dll was sent it.Work package: https://openproject.home.romaine.life/wp/FZT2-10
🤖 Generated with Claude Code
merge-queue stopped this at
16fcf83: CI failed: Suite release / check-build (rust, aarch64-pc-windows-msvc) (, rust-aarch64-pc-windows-msvc, aarch64-pc-windows-msvc, false, windows-latest, aarch64-pc-windows-msvc, rust) (pull_request). Push a fix. A failure fixed on main lands once thequeuelabel is removed and added again: the queue merges main in and CI runs on the new head.