Clement Tsang
3a50d7622e
ci: update rust-cache to 2.7.0 ( #1332 )
2023-11-23 23:32:09 -05:00
Clement Tsang
bbeb43ef77
ci: update cargo-llvm-cov to 0.5.37 ( #1331 )
2023-11-23 23:29:42 -05:00
Clement Tsang
9d0bfbbf93
docs: update changelog ordering and some wording ( #1328 )
2023-11-21 00:25:25 -05:00
Clement Tsang
36bf5afeb1
change changelog heading levels ( #1327 )
2023-11-20 23:15:14 -05:00
Clement Tsang
ab9331140a
refactor: simplify temperature conversion function usage ( #1326 )
...
* refactor: simplify temperature conversion function usage
Just make it a function on the temperature type enum.
* fix sysinfo variant
* simple test
2023-11-20 03:08:24 -05:00
Clement Tsang
10a37c263a
change: small gpu proc changes ( #1325 )
...
* other: use consistent casing with Mem/Mem% in processes for GPU cols
* other: remove mem check for GPU enable check
2023-11-20 02:30:57 -05:00
Justin Martin
e4a6e751ec
feature: Add gpu proc info ( #1276 )
...
* Add gpu util, power and procs.
Consolidated gpu calls into `data_harvester`.
Changed config flag from `enable_gpu_memory` to `enable_gpu`.
Added GPU utilization to the cpu widget.
Added GPU process memory usage and utilization percentage to the proc widget.
Added key binds for gpu process toggling.
Added GPU power usage to the battery widget.
Added bounds check to battery widget header.
Show battery widget header when `gpu_enable`.
Added feature flag `legacy-functions` to `nvml-wrapper`.
updated config file(s).
updated help text.
updated docs.
* Code Review:
Remove GPU util from cpu widget
Remove GPU power from battery widget
Use reference for gpu widgets_to_harvest
Extract match arm to function for feature gate
* Code Review: add gmem% toggle
* Do not poll gpu temp when filtered
* Code Review Two Changes:
adjust doc wordings
remove extra references
remove extra widget harvest checks
init proc gpu values
use convert_temp_unit for gpu temp
2023-11-19 23:54:15 -05:00
Clement Tsang
5df66006d8
docs: fix typo in process column config ( #1323 )
...
Lowercase a word.
2023-11-19 06:49:37 -05:00
Clement Tsang
5a17212f89
other: add additional clamping functions on numeric types ( #1324 )
...
* other: add additional clamping functions on numeric types
* add tests and replace one usage
2023-11-19 03:15:19 -05:00
Clement Tsang
7c14aa2666
ci: bump actions/checkout to v4.1.1 ( #1322 )
2023-11-18 19:15:28 -05:00
Clement Tsang
f021bc34d7
docs: add Android as unsupported but builds in README ( #1321 )
2023-11-18 06:27:33 -05:00
Clement Tsang
a5bbe5e333
deps: bump toml_edit to 0.21.0 ( #1320 )
...
* deps: bump toml_edit to 0.21.0
* fix some formatting
2023-11-16 17:24:45 -05:00
Clement Tsang
036366274e
docs: bump mike to v2.0.0 ( #1318 )
...
* bump mike
* bump some docs
* update some settings and serve script to use mike
2023-11-16 03:17:21 -05:00
Clement Tsang
04713bf81d
docs: bump mkdocs-related dependencies to latest ( #1317 )
...
* docs: bump mkdocs-related dependencies to latest
bumps mkdocs-material to 9.4.8, mkdocs to 1.5.3, mkdocs-material-extensions to 1.3
* fix some link warnings
2023-11-16 02:45:04 -05:00
Clement Tsang
4d2df4c4e9
refactor: clean up some query code and some ascii-only string comparisons ( #1316 )
...
* refactor: update some stuff in the query code
* do some eq_ignore_ascii work
* tests
* some docs, and rename files
2023-11-15 06:23:04 -05:00
Clement Tsang
8b9328e29e
refactor: comment on convoluted Filesystem::from_str
code ( #1315 )
...
* refactor: use a less convoluted match for filesystem type conversion
* revert, just use comment
* just use if statements instead
* test
* inline
2023-11-15 04:13:19 -05:00
Yuri Astrakhan
5eb4fbde5d
chore: fix certain uninlined string format uses ( #1310 )
...
* Fixed uninlined args
First ran this, and fixed a few more similar issues by hand
```
cargo clippy --workspace --fix --benches --tests --bins -- -A clippy::all -W clippy::uninlined_format_args
```
Note that in a few cases, format args were passed by ref - which is actually a tiny perf hit - compiler would not be able to optimize them.
* revert change here
since it contains a non-inlineable variable I'm not a fan of using it partially here
* revert
given the other formats above/below I would prefer keeping it like this
---------
Co-authored-by: Clement Tsang <34804052+ClementTsang@users.noreply.github.com>
2023-11-15 03:47:22 -05:00
Yuri Astrakhan
a6200640b9
chore: run spell and grammar checkers
...
* Chore: Run an spell cheker, and gramar cheker
* small revert
---------
Co-authored-by: Clement Tsang <34804052+ClementTsang@users.noreply.github.com>
2023-11-15 03:03:48 -05:00
Devin-Yeung
d1d1498900
bug: fat32 mounts don't show up in macOS ( #1314 )
2023-11-14 23:57:24 -05:00
Yuri Astrakhan
712a003681
Chore: Remove un-needed lifetimes in a few calls ( #1309 )
2023-10-23 23:53:08 -04:00
Yuri Astrakhan
1e16456d5f
chore: Minor cleanup - remove un-needed ident qualifiers ( #1307 )
...
Keep code a bit tidier and consistent (i.e. if an identifier already has a `use` entry above, why in some cases still prove a full path to it?)
2023-10-22 22:29:03 -04:00
Clement Tsang
4174012b8f
ci: test if building with musl on Rust > 1.71 works again ( #1302 )
...
* ci: test if building with musl on Rust > 1.71 works again
* use cross instead?
* specify cross version to fix build issue
* Update build_releases.yml
2023-09-24 03:11:08 -04:00
Clement Tsang
5d455354dd
bump clap and add nushell/fig completions ( #1300 )
...
* add nushell and fig completion generation
* now bump clap
* bump cargo-action too
* add rust-version key and set to 1.70.0, N-2
2023-09-12 03:36:45 -04:00
Clement Tsang
6256742f81
deps: bump sysinfo to =0.29.10 ( #1298 )
2023-09-11 00:13:17 -04:00
Clement Tsang
494bed6ee2
github: add section on whether you're using ZFS ( #1299 )
2023-09-10 22:43:33 -04:00
Clement Tsang
f38fbf0d8b
ci: add .desktop file ( #1296 )
...
* ci: add .desktop file
* move to a separate desktop folder
* also skip one more file
2023-09-06 19:12:28 -04:00
Clement Tsang
1f41ff3ae6
docs: bump mkdocs and mkdocs-material versions ( #1293 )
2023-09-04 18:24:25 -04:00
Clement Tsang
6d25109871
uptick: 0.9.6 ( #1288 )
2023-08-26 21:27:19 -04:00
Clement Tsang
1ef0c05aa6
deps: bump dependencies as of 2023-08-26 ( #1287 )
2023-08-26 21:16:43 -04:00
Clement Tsang
11676bb6c1
deps: pin serde to 1.0.188 ( #1286 )
...
* deps: pin serde to 1.0.188
* changelog
2023-08-26 21:02:22 -04:00
Clement Tsang
3e00e65483
docs: update changelog dates
2023-08-26 11:47:26 -04:00
Clement Tsang
44cc00564a
ci: pin musl to 1.71.0 for now when building releases ( #1282 )
2023-08-24 23:21:03 -04:00
Clement Tsang
e8f6d4853a
other: appease clippy after Rust 1.72.0 ( #1281 )
...
* deps: use clap 4.4.0 to remove is-terminal
* fmt
* appease clippy
* fmt again
* Revert "deps: use clap 4.4.0 to remove is-terminal"
This reverts commit 78aa6ec848
.
2023-08-24 20:26:46 -04:00
Clement Tsang
713b1874b7
uptick: 0.9.5 ( #1280 )
2023-08-24 19:25:26 -04:00
Clement Tsang
ac55add21e
deps: bump windows to 0.51.1 ( #1279 )
...
* deps: bump windows to 0.51.1
* some changes to fit new API
2023-08-22 17:27:36 -04:00
Clement Tsang
2e2b32ce71
deps: bump dependencies as of 2023-08-18 ( #1277 )
...
* deps: update root dependencies
* run cargo update
* revert windows for now
I wll handle it in separate dep bump since it requires more changes
2023-08-20 16:02:27 -04:00
Clement Tsang
ea6f87f54b
deps: pin serde to <=1.0.171 ( #1278 )
2023-08-19 16:06:53 -04:00
Clement Tsang
54c7fe5ea3
deps: pin sysinfo to 0.29.8 ( #1273 )
2023-08-16 05:45:47 -04:00
Clement Tsang
619e9d9c1b
deps: bump deps as of 2023-08-08 ( #1272 )
2023-08-09 01:27:56 -04:00
Clement Tsang
07b7caa5fa
uptick: 0.9.4 ( #1270 )
...
* uptick: 0.9.4
* update date
2023-08-05 17:51:24 -04:00
Clement Tsang
7aae9293e4
docs: bump mkdocs-material to 9.1.21 and mkdocs to 1.5.1 ( #1269 )
...
* docs: bump mkdocs-material to 9.1.21
* Update requirements.txt
2023-08-01 02:12:10 -04:00
Clement Tsang
43e3ab00ea
deps: pin sysinfo to 0.29.7 ( #1268 )
2023-07-29 02:24:35 -04:00
Clement Tsang
a736d856ce
docs: update changelog with ARC max usage fix ( #1267 )
2023-07-27 04:05:19 -04:00
allcontributors[bot]
560d1e383d
docs: add zebp as a contributor for code ( #1266 )
...
* docs: update README.md [skip ci]
* docs: update .all-contributorsrc [skip ci]
---------
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2023-07-27 03:58:52 -04:00
Zeb Piasecki
a336c64330
bug: display arc max size in arc usage instead of system memory ( #1264 )
2023-07-27 03:56:25 -04:00
Clement Tsang
dbf054506f
deps: bump dependencies as of 2023-07-24 ( #1265 )
2023-07-24 04:02:59 -04:00
Clement Tsang
0e8feca616
deps: pin sysinfo to 0.29.6 ( #1263 )
2023-07-23 03:21:24 -04:00
Clement Tsang
f182eb200e
docs: a few extra words around what version of rust releases are built with
2023-07-21 09:56:41 -04:00
Clement Tsang
646c9f191b
deps: Update ratatui 0.22.0 ( #1261 )
...
* deps: bump ratatui to 0.22.0
* fix missing new fields
2023-07-21 00:19:25 -04:00
Clement Tsang
d2b945957f
deps: bump some dependencies as of 2023-07-19 ( #1260 )
2023-07-20 02:25:02 -04:00