Commit graph

2144 commits

Author SHA1 Message Date
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
Clement Tsang
0b0f004001
docs: update changelog to include full width battery change (#1258) 2023-07-19 20:19:44 -04:00
allcontributors[bot]
fcdf2ebe38
docs: add gabelluardo as a contributor for code (#1257)
* 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-19 20:05:26 -04:00
Gabriele Belluardo
83a8607e5b
other: full width battery bar (#1251) 2023-07-19 20:05:13 -04:00
Clement Tsang
c9a42f7061
docs: bump mkdocs-material to 9.1.19 (#1256) 2023-07-19 20:03:52 -04:00
Clement Tsang
dfca219a73
docs: bump mkdocs-material to 9.1.19 (#1256) 2023-07-19 04:23:22 -04:00
Clement Tsang
c1556d263e
deps: lock sysinfo to 0.29.5 (#1255) 2023-07-17 01:31:11 -04:00
Clement Tsang
e779120c4d
docs: update some installation README text 2023-07-13 04:37:07 -04:00
Clement Tsang
53c51c7c83
deps: clean and update dpes in Cargo.toml (#1254) 2023-07-12 03:44:09 -04:00
Clement Tsang
b0cb308106
refactor: flatten IoCounter return value (#1253)
* refactor: rewrite io stats collection function result

* refactor: flatten IoCounters vector results
2023-07-11 01:18:58 -04:00
Clement Tsang
f7ff2fc180
other: update changelog with ZFS I/O counters (#1252) 2023-07-10 00:36:11 -04:00
Justin Martin
b1a39026fb
add zfs io counters for linux and freebsd (#1248)
* add zfs io counters for linux and freebsd

* ci

* freebsd clippy

* code review: remove dead code for zfs feature gate of freebsd iocounters and squash if statement in zfs_io_counters
2023-07-09 17:50:22 -04:00
Clement Tsang
ccc7091529
deps: bump regex, serde, thiserror (#1250) 2023-07-09 05:20:12 -04:00
Clement Tsang
771e8fa463
docs: bump mkdocs material to 9.1.18 (#1249) 2023-07-08 03:12:40 -04:00
Clement Tsang
275daa1f63
deps: lock sysinfo to 0.29.4 (#1247) 2023-07-07 00:25:27 -04:00
Clement Tsang
567ba3760b
deps: bump deps as of 2023-07-06 (#1246) 2023-07-06 07:33:30 -04:00
Clement Tsang
a10b91239b
bug: missing windows syscall to close the handle on drop when killing (#1245)
* bug: missing windows syscall to close the handle on drop when killing

* changelog

* fix
2023-07-05 01:40:12 -04:00
Clement Tsang
f21ffde068
other: removes the percent sign from battery widget labels (#1244) 2023-07-04 01:44:17 -04:00
Clement Tsang
beef65a460
other: remove the percentage sign for CPU usage in CPU widget (#1243) 2023-07-04 01:35:39 -04:00
Clement Tsang
7240661aab
deps: bump dependencies as of 2023-07-03 (#1240)
* deps: bump deps as of 2023-07-02

* run cargo update
2023-07-03 00:47:02 -04:00
Clement Tsang
df3088e80e
other: hide battery tab selector if there is only one battery (#1236)
* other: hide battery tab selector if there is only one battery

* update changelog
2023-07-02 00:38:40 -04:00
Clement Tsang
3f53818c54
other: remove some unnecessary vec allocations (#1234)
* other: remove unnecessary vector allocations in farmer

* other: remove unnecessary vector allocations when drawing tui Rows
2023-07-01 03:28:23 -04:00
Clement Tsang
dce30ee882
docs: update some feature descriptions 2023-06-30 17:12:27 -04:00
Clement Tsang
9c368815dd
deps: bump deps as of 2023-06-29 (#1233)
* deps: bump deps as of 2023-06-29, clean up Cargo.toml a bit

* fix deprecated function call
2023-06-29 00:48:49 -04:00
Clement Tsang
fc027ece68
deps: bump deps as of 2023-06-27 (#1232)
Bumps:
- clap
- indexmap
- itertools
- libc
- serde_json
- toml_edit
2023-06-28 10:45:56 -04:00
Clement Tsang
b392f4b706
ci: update release template (#1231) 2023-06-28 05:08:33 -04:00
Clement Tsang
aa191a981d
bug: fix core dump if the terminal is closed while bottom is open (#1230)
* bug: fix core dump if the terminal is closed

The cause was:

- bottom thinks it's panicking if the terminal is closed.
- The panic hook tried to print out to the terminal - but the terminal
  was closed! It would unwrap and thus panic even harder.
- To solve this, we just make the panic hook calls not unwrap, since
  honestly if they fail it's whatever as far as I understand it.

* update changelog
2023-06-27 01:57:32 -04:00
Clement Tsang
0902abf6f9
docs: bump mkdocs-material to 9.1.17 (#1226) 2023-06-26 01:32:43 -04:00
Clement Tsang
6ad555db58
ci: fix winget package identifier (#1225) 2023-06-26 01:26:01 -04:00
Clement Tsang
6ee810f007
ci: clean + fix post-release and deployment actions (#1224) 2023-06-25 17:35:39 -04:00
Clement Tsang
590b15a510
other: update changelog with rpm 2023-06-25 15:40:25 -04:00
Clement Tsang
3ec66b876d
other: fix changelog typo 2023-06-25 15:39:46 -04:00
Clement Tsang
9fa5f3c4e9
ci: fix winget action 2023-06-25 15:37:15 -04:00
Clement Tsang
a3ae8e08a2
uptick: 0.9.3 (#1223)
* uptick: 0.9.3

* Update CHANGELOG.md
2023-06-25 00:31:57 -04:00
Clement Tsang
4ac3b43260
docs: update time-related documentation (#1222)
* docs: update time-related documentation

* fix retention too
2023-06-24 01:36:36 -04:00
Clement Tsang
cc3833289f
feature: support human times for rate (#1221) 2023-06-23 03:42:16 -04:00
Clement Tsang
0b7f4c745d
other: fix humantime-related documentation, add tests, support numbers + strings in toml (#1220)
* update documentation and support either numerical times or human times for time_delta and default_time_value

* update docs

* give more human times on error
2023-06-22 00:01:01 -04:00
Clement Tsang
6f1a8f7e5b
bug: fix overflow/underflow with graph timespan zoom (#1219)
* bug: fix overflow/underflow with graph timespan zoom

Basically, you could overflow/underflow the time span which would skip
checks.

* changelog
2023-06-21 00:03:48 -04:00
Clement Tsang
76e81df715
other: clean up some build script code (#1218)
Some build script formatting fixes and cleanup of some code. In
particular, I found some of the nightly version handling code to look
pretty gross so I separated out the parts into functions to clean it up
a bit.
2023-06-20 01:52:54 -04:00
Clement Tsang
9e97680131
other: revert color help text change (#1217)
Didn't mean to push this, reverting it.
2023-06-19 02:40:48 -04:00
Clement Tsang
751abecfe3
other: take ownership of config and matches when building App (#1215)
The clap matches/config struct was taken in as a reference when building
the App structure. However, we do not need to keep these around after
this, so we can instead take ownership of the match/config and drop it
after to save a bit of memory.
2023-06-19 01:47:57 -04:00
Clement Tsang
594e091a93
bug: fix arguments being unsorted (#1216)
clap v4 apparently changed it so arguments are not sorted by default
like before - this manually sorts the arguments beforehand to achieve
the same effect.
2023-06-19 01:37:22 -04:00
Clement Tsang
22d0d49984
ci: add checks to ensure post-release never runs on main/master/nightly (#1214) 2023-06-18 20:13:24 -04:00
Clement Tsang
45840d45c5
ci: add an action to automatically publish a winget PR on release (#1213) 2023-06-18 04:00:10 -04:00
Clement Tsang
7c0eda1034
other: use f32 for process percentage values (#1212)
* other: use f32 for process percentage values

This cuts down memory by a tiny bit, and we don't need a full f64 for
percentage values.

* fix for macos and windows
2023-06-18 02:11:57 -04:00
ClementTsang
9cd953e0ca
docs: update some README installation section titles 2023-06-17 22:41:49 -04:00
Clement Tsang
d6b6e0aea9
refactor: move out bits/bytes enum to utils (#1211) 2023-06-17 02:08:11 -04:00