ClementTsang
6fa04de2b7
docs: shorten some of the -h help dialog
2022-03-20 19:45:01 -04:00
Clement Tsang
5fb322b2b9
docs: remove "btm" from title due to confusion
...
It's caused two reports now because it's being mixed up with https://crates.io/crates/btm - going to remove it for now as it's likely the source of confusion.
2022-03-16 22:27:11 -04:00
Clement Tsang
f2b8b4e842
other: add manpage file to cargo deb config, move back to build script ( #693 )
...
Adds the asset for the manpage to cargo deb config. Also moves the generated manpage file to a .1.gz file. Also, moves back to a build script since that was causing some issues for the automatic Cargo.toml fields detection for manpage and completion generation.
To prevent compilation from happening every time, and only in CI, we use an env var to avoid generation steps.
2022-03-11 06:45:05 -05:00
Clement Tsang
8087f0b636
ci: add manpage generation, migrate build script ( #692 )
...
Adds manpage generation to the build process, as well as following the xtask concept of adding additional build scripts that only need to run on deploy/nightly as opposed to `build.rs`. Note this doesn't follow the recommended method of using workplaces because I don't really want to shift the entire repo structure just for this.
More on xtask: https://github.com/matklad/cargo-xtask
2022-03-10 05:15:48 -05:00
Clement Tsang
92ec359936
deps: update regex to 1.5.5 due to CVE ( #691 )
...
Prompted by the following CVE: https://blog.rust-lang.org/2022/03/08/cve-2022-24713.html
Addresses it by following the recommended fix of updating to 1.5.5.
2022-03-08 15:16:56 -05:00
Clement Tsang
01f6bddab6
deps: update clap to 3.x ( #690 )
...
Updates bottom to use clap 3.x, along with some small refactoring changes.
2022-03-07 22:53:02 -05:00
Clement Tsang
e682882aee
other: fix clippy lints on vector reference params ( #689 )
...
Fixes a few clippy lints around function parameters and using slices over vector references.
2022-03-07 18:44:45 -05:00
Clement Tsang
57e1a8285e
ci: update audit workflow ( #685 )
...
Manually install the audit crate as part of the audit CI since it seems to be using too old of a version of Rust.
2022-02-27 19:52:09 -05:00
ClementTsang
adf1e2b216
docs: update changelog
2022-02-25 14:32:44 -05:00
Clement Tsang
2eb865247e
deps: update dirs to 4.x ( #682 )
...
Updates the dirs dependency to 4.0.0. This is a breaking change but should not affect bottom.
2022-02-25 05:21:46 -05:00
Clement Tsang
5f042aef94
deps: update procfs and testing deps ( #681 )
2022-02-25 05:02:15 -05:00
Clement Tsang
c4c9130b4a
ci: enable strip on release builds with Cargo.toml ( #679 )
...
Removes the manual strip used in favour of the now native functionality in Cargo.
2022-02-25 02:18:22 -05:00
Clement Tsang
128ec81200
ci: switch to a manual cargo tarpaulin installation ( #680 )
...
Update to use a manual install of cargo tarpaulin, fixes the wrong filename being checked in the skip action.
2022-02-25 02:15:26 -05:00
Clement Tsang
c2bfcec40e
deps: update sysinfo to 0.23.4 ( #678 )
2022-02-24 23:12:37 -05:00
allcontributors[bot]
1642b570b8
docs: add shurizzle as a contributor for code ( #677 )
...
* docs: update README.md [skip ci]
* docs: update .all-contributorsrc [skip ci]
* fix
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
Co-authored-by: ClementTsang <cjhtsang@uwaterloo.ca>
2022-02-22 06:29:48 -05:00
Clement Tsang
39597975a7
Merge pull request #676 from shurizzle/master
...
Add support for nvidia GPUs
2022-02-22 03:19:44 -08:00
shurizzle
c0feff3c01
Add support for nvidia GPUs
2022-02-13 00:07:44 +01:00
Clement Tsang
9ef7f5d4b7
github: update packaging issue template f/ clarity
...
Add the specific packaging locations that I maintain bottom on, and fix some typos.
2022-02-03 15:55:24 -05:00
ClementTsang
2849cd3026
ci: add extra field to choco template
2022-02-02 23:31:35 -05:00
Clement Tsang
5df7839d18
ci: disable 32-bit in choco generation ( #671 )
...
Seems like the 32-bit binary triggers false positives on VirusTotal.
Going to disable this for now.
2022-02-02 22:34:43 -05:00
Clement Tsang
8587af6936
uptick: 0.6.8 ( #670 )
...
Uptick to 0.6.8.
2022-02-01 21:01:32 -05:00
Clement Tsang
b59e34f159
Merge pull request #669 from Frederick888/fix-num-cpus
...
Refresh sysinfo CPU
2022-02-01 17:28:13 -08:00
Frederick Zhang
f54cc1a2cf
Refresh sysinfo CPU
...
Without this now sysinfo `sys.processors().len()` returns 0.
2022-02-02 11:41:38 +11:00
Clement Tsang
d7dc710ddb
uptick: 0.6.7 ( #667 )
...
Uptick to 0.6.7, with appropriate updates to the README and changelog.
2022-01-31 16:40:50 -05:00
Clement Tsang
61c8bfd574
docs: add a line to feature request docs/template ( #666 )
...
Just adds an extra line to the template/docs to check if an existing issue already exists.
2022-01-29 14:49:41 -05:00
Clement Tsang
6c989785fb
bug: fix issues caused by having a width that is too small ( #665 )
...
Due to a missing check, you could resize the window to a width that was too small, and it would trigger an endless while-loop for any table while trying to redistribute remaining space. This has been rectified with an explicit check, as well as a smarter method of redistributing remaining space borrowed from the rewrite.
This also adds explicit width checks for widgets that have borders; if the width is <2, before, it would panic.
Note that the rewrite I have kinda fixes all these issues already, so I don't want to invest too hard into this, but this should be fine as a patch for now.
Also note that minimal heights don't seem to be causing any issues, it just seems to be minimal widths.
2022-01-27 19:16:27 -05:00
allcontributors[bot]
255b69c15f
docs: add GuillaumeGomez as a contributor for code ( #661 )
...
* docs: update README.md [skip ci]
* docs: update .all-contributorsrc [skip ci]
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2022-01-20 14:21:10 -05:00
Clement Tsang
fbd95126b0
Merge pull request #658 from GuillaumeGomez/update-sysinfo
...
Update sysinfo version
2022-01-20 11:20:55 -08:00
Guillaume Gomez
e195b056b0
Update sysinfo version
2022-01-20 13:00:15 +01:00
Clement Tsang
1237a35663
docs: update app descriptions ( #659 )
...
Update app descriptions across the board to be more consistent.
2022-01-19 23:49:11 -05:00
Clement Tsang
3529e484cc
ci: remove winget step ( #660 )
...
Removes the winget step from the deployment pipeline; it seems like a bot now manages winget deployments for bottom, which is nice.
2022-01-19 23:45:20 -05:00
ClementTsang
398d52af2e
ci: update CFP hook secret name
2022-01-16 16:05:20 -05:00
Clement Tsang
43fe0bc9e4
docs: change wording for Cargo install in README
2022-01-11 18:02:12 -05:00
Clement Tsang
99a1965cf8
docs: center the title/description in the README ( #656 )
...
Centers the title and description in the README via some ugly HTML.
2022-01-10 01:19:31 -05:00
Clement Tsang
b8429cb401
docs: indicate stable version in selector on deploy ( #654 )
...
Adds an indicator in the form of `$version (stable)` to make it easier to see which is the most recent stable version.
This is done via CI and mike:
1. Set the previous title to just `$version`. We can get this value by `mike list stable` and grepping for valid version tags (otherwise this might have issues with `$version (stable)`).
2. Deploy `$new_version` and alias to stable.
3. Update the `$new_version` to have a new title of `$new_version (stable)`.
2022-01-01 20:45:44 -05:00
Clement Tsang
f35718b580
docs: add section on WSL in Linux known issues, update links ( #653 )
...
Update support links in documentation; add section on WSL in Linux known issues.
2021-12-31 16:50:40 -05:00
Clement Tsang
1481fe4282
ci: test installing .deb in build ( #651 )
...
Add an additional validation step to the .deb file generation in nightly and deployment workflows.
2021-12-30 20:48:56 -05:00
Clement Tsang
456efdc242
Merge pull request #649 from mati865/more-consts
...
Replace statics with consts where possible
2021-12-30 16:57:15 -08:00
Mateusz Mikuła
318fde3712
Remove unused constants
2021-12-31 00:41:01 +01:00
Mateusz Mikuła
e33d6b5361
Replace statics with consts where possible
2021-12-30 21:29:57 +01:00
Clement Tsang
049ea13187
docs: Make winget install more specific
2021-12-30 15:09:22 -05:00
allcontributors[bot]
6d4045a5f4
docs: add mati865 as a contributor for code ( #648 )
...
* docs: update README.md [skip ci]
* docs: update .all-contributorsrc [skip ci]
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2021-12-28 14:33:43 -05:00
Mateusz Mikuła
72f2aeaab6
Fix Clippy warnings ( #647 )
2021-12-28 14:31:42 -05:00
Clement Tsang
9eabb061aa
feature: add basic page up/down scrolling ( #646 )
...
Adds page up/down scrolling support to respectively scroll up/down by a full page.
Note that this is mostly just to get the feature out for those interested, and is admittedly a bit rushed - I will be rewriting all logic involving event handling as part of state refactor anyways, so this will also get changed in the work done there, and therefore, I kinda just sped through this.
2021-12-27 18:23:11 -05:00
Clement Tsang
c92cfc644d
bug/ci: fix debian file generation breaking completions ( #645 )
...
Fixes completion file generation being broken while the .deb file is made, due to using an incorrect path.
2021-12-27 16:49:15 -05:00
Clement Tsang
cf08f935dc
deps: update time to 0.3.5 ( #643 )
...
Updates time to 0.3.5: https://github.com/time-rs/time/blob/main/CHANGELOG.md#035-2021-11-12
2021-12-23 17:31:41 -05:00
Clement Tsang
3fefcdbb11
docs: Update mkdocs file layout and config ( #642 )
...
Updates some settings regarding mkdocs. Main changes:
* Separate out support into two separate pages
* Move ToC as part of navigation
2021-12-22 18:03:33 -05:00
Clement Tsang
9a11ead991
ci: Use commit hash for some actions to pin them ( #641 )
...
Pins some actions using a specific commit hash.
2021-12-22 17:29:50 -05:00
ClementTsang
eaff52c8a4
docs: Add comment/changelog about not including guest twice
2021-12-22 14:57:15 -05:00
Clement Tsang
5526fe738d
uptick: 0.6.6 ( #638 )
2021-12-22 14:18:50 -05:00