croft-software 0.2.232

VSCode-style TUI written in Rust
refactor: CodeQL keeps its CLI, running jobs and queue in one group beside its code instead of 35 fields of the app (#2062). Nothing changes in use.
refactor: A workspace switch starts the multiplayer session's state over in one call instead of resetting its fields one by one, so a field added later has to say whether a switch keeps it (#2062). Nothing changes in use.
refactor: A multiplayer session's state (the relay connection, the merge bases kept through an outage, the peers' carets and an AI pilot's stream) sits in one group beside its code (#2062). Nothing changes in use.
refactor: Code completion keeps its popup, request, re-asks and pending import in one group beside its code instead of 12 fields of the app (#2062). Nothing changes in use.
refactor: Run and Debug keeps its sessions, configs and console in one group beside its code instead of 18 fields of the app (#2062). Nothing changes in use.
refactor: Each redraw no longer builds a small paragraph for every activity bar icon, highlight pill and count badge: they are written straight into their cells, so a frame makes about 57 fewer heap allocations.
refactor: Each redraw no longer builds a throwaway list for every row of the lines between panes: the seam painter judges each cell and its two neighbours as it goes, so a frame makes about 100 fewer heap allocations.
refactor: the status bar's and the panel's click areas each live in one group that every frame empties before it draws (#2062). Nothing changes in use.
refactor: The editor's word hover keeps its dwell, popup, request and what it was asked about in one group beside its code instead of 8 fields of the app (#2062). Nothing changes in use.
refactor: An idle croft no longer rebuilds the Explorer's OPEN EDITORS list, its tab titles, the TIMELINE check or the OUTLINE key on every pass of its loop: each is rebuilt when what it is made of changes, so a pass with nothing to do makes 13 fewer heap allocations with a file open.
refactor: An idle croft no longer copies the focused file's folder, the Source Control folder and each workspace root's path on every pass of its loop to see that Source Control and the Testing view still follow the right folder: those checks now compare in place and copy only when focus moves to another folder, so a pass with nothing to do makes 5 fewer heap allocations, 6 with a file open.
refactor: An idle croft does less on every pass of its loop: the git gutters, the SARIF step marks, inline blame and the record of who typed each line check whether they have anything to do before building anything, so a pass with nothing to do makes 18 fewer heap allocations with a file open.
refactor: An idle croft no longer copies each open file's path and caret on every pass of its loop to find the language servers already up to date, or to see that the caret has not moved for linked editing and occurrence highlights: those checks now compare in place and copy only when something is due, so a pass with nothing to do makes 9 fewer heap allocations with a file open.
refactor: An idle croft now makes no heap allocations at all on a pass of its loop with nothing to do, with or without a file open. The last steps that copied a path only to compare it now compare in place: the focus check for auto save, the Markdown preview's scroll and side preview, code lenses, test coverage, notebook kernels, finished PDF rebuilds, the language servers' diagnostics and the Explorer's DEPENDENCIES.
refactor: A workspace switch starts the language servers' state over in one call instead of resetting its fields one by one, so a field added later is reset too (#2062). Nothing changes in use.
refactor: The language servers' manager, sync, diagnostics, progress and questions live in one group beside their code instead of 8 fields of the app (#2062). Nothing changes in use.
refactor: The editor minimap keeps its side, raster, text strip and click area in one group beside its code instead of 10 fields of the app (#2062). Nothing changes in use.
refactor: A workspace switch starts the AI navigator's state over in one call instead of resetting its fields one by one, so a field added later is reset too (#2062). Nothing changes in use.
refactor: The AI navigator keeps its seat, pair record, host lock, turn and notes in one group beside its code instead of 18 fields of the app (#2062). Nothing changes in use.
refactor: Pull-request review keeps its comment boxes, jobs and `gh` reads in one group beside its code instead of 24 fields of the app (#2062). Nothing changes in use.
refactor: The history scrubber keeps its position, view, slider and caches in one group beside its code instead of 14 fields of the app (#2062). Nothing changes in use.
refactor: croft applies your settings at start through the same step a settings reload runs, so a setting that works at start also follows a save.
refactor: Each setting's scope, when it applies and the values Settings offers are written once, in one table beside the settings themselves, instead of in four lists kept by hand (#2062). Nothing changes in use.
refactor: A workspace switch hands PROBLEMS' build side, Source Control, Run and Debug, Search and the Quick Open index one call each, written beside each feature's own code (#2062). Nothing changes in use.
refactor: A workspace switch and Testing's folder follow reset Testing through one shared step, so the two can no longer reset different things (#2062). Nothing changes in use.
refactor: Zen Mode and shortcut recording each keep their state in one place (#2062). Nothing changes in use.
fix: after a workspace switch in the middle of an AI navigator turn, the next navigator's first turn no longer reports the old one's notes (#2878).
fix: after a workspace switch, croft says again when the new workspace's AI navigator is hosted by another croft window (#2879).
fix: after a workspace switch, croft no longer shows the questions the old workspace's language servers asked, which no longer went anywhere when answered (#2880).
fix: after a workspace switch in the middle of an AI navigator stream, the streaming badge no longer stays in the status bar for good (#2891).
fix: After a workspace switch, PROBLEMS and its badge no longer keep the problems of the workspace you left until a language server of the new one reports (#2896).
fix: After a workspace switch, Testing: Rerun Last Run no longer reruns the last run of the workspace you left in the new one; it says no test has run yet (#2900).
fix: After a workspace switch, or when Source Control moves to another folder's repository, it no longer shows the last commit, push or pull result of the repository it showed before under its commit box, including one that finishes after the move; the status bar still says how it went (#2901).
fix: After a workspace switch, Run and Debug no longer keeps the launch configuration or compound picked in the workspace you left; it shows the new workspace's own entries and their count straight away, even when the switch is made with Run and Debug open, and F5 debugs the active file until one is picked (#2902).
fix: A whole-project check still running when you switch workspaces is stopped: its compiler no longer runs on beside the new workspace's check, the old project's problems no longer land in the new workspace's PROBLEMS, and Check Project can start in the new workspace at once (#2903).
fix: Settings (UI) saves a change to a settings file that has comments, such as the one Open Settings (JSON) creates, instead of refusing it, and the file keeps its comments and layout, as when croft saves a setting from anywhere else (#2904).
fix: Terminal scrollback, the rewind budget and persistent panes now follow every user settings layer, including config.local.json, platform blocks and files config.json extends, as the other settings do; they read config.json alone (#2905).
fix: With a profile active, ~/.config/croft/config.local.json is the machine-local settings layer again, as the docs say: the settings hub opens it and its values apply. They were read from the profile's folder instead, so the hub's local layer changed nothing (#2906).
fix: Saving a settings file now applies the PROBLEMS scopes, diff whitespace default, auto-hide side bar, colour depth, screen reader mode and command, proactive navigator comments, secret redaction and the review export's AI marker at once, as the docs say; they waited for the next start. A setting toggled from the Command Palette and then changed back in the settings file follows the file. The three settings read only at start (layout, locale, disabled_extensions) are named in docs/SETTINGS.md, and Settings (UI) says so when you save one (#2907).
fix: Settings (UI) edits default_formatter as text and color_depth as a choice of its values while they are unset, as it does the other optional settings, instead of as raw JSON (#2908).
fix: Taking an extension out of `mcp_consented` in your settings now applies at once: its next viewer open or command asks for consent again, where croft used to run it without asking until the next start. A consent added to the file applies at once too, and consents listed in `config.json` and `config.local.json` add up, so one croft records is never hidden by the other file's list. Uninstalling an extension forgets its consent in every settings file of yours that lists it, including a platform block and a file your settings `extends`, so it asks again when added back (#2920).
fix: An idle croft no longer looks for each open file's local history on disk 125 times a second: a tab looks once, and again when croft saves a new snapshot of the file (#2925).
fix: The Source Control empty-state card no longer leaves a blank row under a word too long for one line that fills its lines exactly.