This makes it so that if the `.github/workflows` directory is modified, we'll run `zizmor` to check things.
This also fixes some zizmor warnings:
- https://docs.zizmor.sh/audits/#self-repository
- For now, mutes the secret inherits one; this will be fixed later.
Some events weren't blocked when dialog boxes were open, which would mean they would still do stuff behind the dialog (e.g. process actions). This change just blocks it from doing that if the dialog box is open.
Slightly complicated but basically, add some overriding behaviour based on the available width on what string to emit. The main idea is that if we can't fit the percentage sign, we'll first omit that. If it's in decimal mode and we can't fit the decimals too, we then omit the decimals. Finally, if we can't fit the whole number portion, return `None` to hide the column entirely.
Older Windows versions (8.1 and older) were failing to render properly due to winapi not supporting underlining.
Looks like we were transitively enabling this feature because of the crossterm feature, which pulls in ratatui_crossterm which enables it by default. As a quick fix, we manually pull in ratatui_crossterm ourselves and disable that feature.
Adds Windows gnnllvm aarch64 build targets in CI. This applies to the MSI wix build and the normal binary. This also fixes that we weren't specifying the wix build target technically (wasn't a problem though since it was previously just using the default).
This change makes it so that if bracketed paste is not supported (e.g. Windows 7/8), we proceed and don't outright panic. This also has some small cosmetic changes around execute! and cleanup.
https://github.com/rust-lang/rust-clippy/pull/17681 got merged a while ago - this makes it so the `regex_creation_in_loops` clippy `expect` "fails", since it is actually now not triggered.
Unfortunately, this is only in beta from the looks of it at the moment, so I can't just remove it entirely. This change just makes it an unconditional `allow` with a note to get rid of it at some point once it's stable.
Note this only affects macOS, where we use this. This was fine because it's only actually triggered once, and then cached via a `OnceLock`.
Making it so that new features have to go through a feature request first. I'm somewhat not a fan of getting random feature PRs out of the blue - I feel bad saying no too. I would rather be upfront and say that look, if you want a feature, make a feature request and discuss it first before you waste time/tokens/whatever on it.
The way we're doing this for now is:
- If it's less than 100, always show 2 decimal places unless it ends in 0; if so, trim it away
- If it's less than 1000, then do the same but with 1
- If it's over 1000, show no decimal places.
The best way of doing this is probably something like a workspace... but I'm not really in the mood to refactor this into a workspace at the moment, so this will have to do :p
Enable binary disk capacity units with:
```toml
[disk]
use_binary_prefix = true
```
Or pass `--disk_use_binary_prefix` (alias `--disk-use-binary-prefix`). The CLI flag takes precedence over a false config setting. Decimal units remain the default.
Used, Free, and Total use the existing binary conversion helper. For example, 536,870,912,000 bytes changes from `537GB` to `500GiB`. Percentages, sorting by raw byte values, I/O rates, and network units retain their existing behavior.
The change passes the option from argument/config parsing through application settings and collected disk data to cell formatting. Four regression tests cover option precedence and both CLI spellings, collection-to-cell wiring, unit boundaries, missing values, percentages, I/O behavior, and sorting.
This apparently changes the preference directory to use `RoamingAppData` rather than `LocalAppData` (https://codeberg.org/dirs/dirs-rs#7); I don't think this affects me though as I don't find any usage of it.