Clement Tsang
1208c459e4
refactor: remove time as a dependency outside of logging ( #1506 )
...
I was mostly just using the time crate for local log debugging and just to avoid converting seconds to h/m/s.
This PR makes it so we are only using it for local log debugging.
2024-07-26 05:12:29 +00:00
Clement Tsang
c2d3ab5591
uptick: 0.9.7 ( #1505 )
...
* docs: update changelog with 0.9.7 hotfix
* Update bottom.desktop
* uptick: 0.9.7
2024-07-26 00:45:22 -04:00
Clement Tsang
e37b159fae
other: remove toolchain, clean up CI ( #1504 )
2024-07-26 00:23:06 -04:00
Clement Tsang
01c0c33451
other: include a toolchain file from now on ( #1503 )
2024-07-26 01:02:54 +00:00
Clement Tsang
a794cc5123
refactor: run clippy after updating to Rust 1.80 ( #1502 )
2024-07-26 00:44:38 +00:00
Clement Tsang
29029b86fb
refactor: remove BottomError ( #1498 )
...
* refactor: remove BottomError
* remove thiserror
* some cleanup
* forgot to remove this
2024-07-22 07:30:03 +00:00
Clement Tsang
0401f527e5
refactor: migrate data collection and some others away from BottomError ( #1497 )
2024-07-22 04:52:38 +00:00
Clement Tsang
c56e28328e
refactor: convert more errors over ( #1496 )
...
* refactor: remove From<String> for BottomError
* fix kill_process
2024-07-19 23:52:13 -04:00
Clement Tsang
1ec4ca3f06
refactor: out with arg/config error, and make user messages more consistent ( #1494 )
...
* refactor: out with arg/config error, and make user messages more consistent
* finish up
* fix all the tests
2024-07-19 06:51:50 +00:00
Clement Tsang
d97d75f797
refactor: clean up conversion and crossterm errors ( #1493 )
...
* refactor: clean up conversion errors
* refactor: remove crossterm error
2024-07-14 08:01:44 +00:00
Clement Tsang
571a801bf8
refactor: error refactoring, part 1 ( #1492 )
...
* refactor: use anyhow for logging
* refactor: clean up query errors
* also remove tryparseint
2024-07-13 05:35:09 +00:00
Clement Tsang
df569b2319
deps: bump deps as of 2024-07-03 ( #1490 )
...
* deps: bump root deps as of 2024-07-03
* deps: bump Cargo.lock as well
2024-07-04 04:50:05 -04:00
Clement Tsang
28416ddb57
deps: bump root + lock deps as of 2024-06-27 ( #1488 )
...
* deps: bump root deps as of 2024-06-27
* deps: bump lock as well
* also bump unicode_ellipsis
2024-06-27 23:40:05 -04:00
Clement Tsang
615ae1a3a8
deps: bump root deps and lockfile as of 2024-06-19 ( #1486 )
...
* deps: bump deps as of 2024-06-19
* bump lock as well
* fmt
2024-06-19 14:04:51 -04:00
Clement Tsang
3602429529
other: add schema test for uncommented default config ( #1484 )
...
* other: add schema test for uncommented default time
* ahhh
* forgot to disable this
2024-06-17 00:59:36 -04:00
Clement Tsang
7666a09162
feat: add way to automatically generate new json schemas ( #1482 )
2024-06-16 19:28:24 -04:00
Clement Tsang
982b7181a6
change: change how disk, temp, and net filters in config are set ( #1481 )
...
* change: change how disk, temp, and net filters in config are set
* run rustfmt
* update default config
2024-06-16 02:15:36 -04:00
Clement Tsang
46520d8b4e
uptick: 0.10.0 ( #1479 )
...
Note that I'm not releasing 0.10.0 _yet_, will do so after a few more
changes are done.
2024-06-06 22:06:53 -04:00
Clement Tsang
8885910442
refactor: remove lib
and move some things around ( #1477 )
...
A loooooong time ago (wow, it's been 4 years apparently...), I made the brilliant (/s) decision to use both lib.rs and main.rs because I was trying to add tests in the tests folder that needed private access to some functions in the src - and at the time, the only way I could think of doing so was exposing bottom as a library and a binary.
This isn't necessarily bad, but for my use case, it's pretty unnecessary nowadays (since I've moved all my tests back into the source files) and adds complexity in looking for certain things, so it's high time we move things around and remove lib.rs. I also took the time to clean up some weird code I spotted along the way.
2024-06-05 06:00:21 +00:00
Clement Tsang
7aa379aabf
bug: fix -V not working and causing Cirrus CI to fail ( #1478 )
...
* bug: fix -V not working and causing Cirrus CI to fail
* add comment
* update workflows and fix tests
2024-06-05 01:12:00 -04:00
Clement Tsang
ee2e1fee1c
refactor: use struct for args instead of builder interface ( #1472 )
...
* start moving args
* tmp
* refactor config
* port over ags
* update changelog
2024-05-27 01:16:37 -04:00
Clement Tsang
71f6136a1e
deps: update deps as of 2024-05-26 ( #1473 )
...
* deps: update sysinfo to 0.30.12
* update some other dependencies
2024-05-26 23:39:54 -04:00
Clement Tsang
c61de8f09c
ci: bump rust-cache and rust-toolchain ( #1471 )
2024-05-26 06:29:46 -04:00
Clement Tsang
cce835b752
Run cargo wix init ( #1468 )
...
* ci: run cargo wix init
* remove wix init call
2024-05-11 21:18:09 -04:00
Clement Tsang
a15ef63669
ci: bump cargo-deb to 2.2.0 ( #1466 )
2024-05-08 20:48:50 -04:00
Clement Tsang
073ca890f7
refactor: extract unicode-ellipsis into its own crate ( #1465 )
...
* refactor: extract unicode-ellipsis into its own crate
* 0.1.4
2024-05-07 22:53:51 -04:00
Clement Tsang
d515c03ec7
ci: forgot to add if statement for nightly skip check ( #1464 )
2024-05-07 02:13:11 -04:00
Clement Tsang
398bf5930f
refactor: some string-related code cleanup/refactor ( #1463 )
...
* other: organize some utility function files
* deps: remove kstring
* refactor: some naming changes
* refactor: some more small refactoring/naming changes
* simplify to_cell to return a Cow
* enable lints
2024-05-07 02:03:30 -04:00
Clement Tsang
bcc89170a6
ci: add skip for nightly build ( #1462 )
2024-05-05 20:42:32 -04:00
allcontributors[bot]
6136ac8e76
docs: add TheSkyentist as a contributor for code ( #1461 )
...
* docs: update README.md [skip ci]
* docs: update .all-contributorsrc [skip ci]
---------
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2024-05-05 18:11:12 +00:00
Raphael Erik Hviding
3ded6a6529
bug: fix battery table when hiding gaps ( #1458 )
...
This changes the behavior of the battery widget when paired with the skip_table_gap.
2024-05-05 18:11:02 +00:00
Clement Tsang
d53725bbfc
ci: try attestations for binaries ( #1455 )
...
* ci: try attestations for binaries
* add additional attestation steps
2024-05-03 11:37:16 -04:00
Clement Tsang
2b819a3097
other: comment out some dead code ( #1456 )
2024-05-02 15:19:44 -04:00
allcontributors[bot]
25fb319736
docs: add MichalBryxi as a contributor for doc ( #1453 )
...
* docs: update README.md [skip ci]
* docs: update .all-contributorsrc [skip ci]
---------
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2024-04-30 11:13:35 -04:00
Michal Bryxí
e4f3b6911a
docs: Which table goes "flags" under? ( #1452 )
...
- There is currently no indication under which [table](https://toml.io/en/v1.0.0#table ) do "flags" go in the config file.
- I think having that being explicitly spelled out & having an example saves quite a bit of people's time. Would for me 🙃
2024-04-30 11:13:23 -04:00
Clement Tsang
15ed197d03
deps: bump lock deps as of 2024-04-28 ( #1451 )
2024-04-28 15:48:41 -04:00
Clement Tsang
6591b750f6
deps: bump deps as of 2024-04-28 ( #1450 )
...
* deps: bump deps as of 2024-04-28
* fix tests
* extra test
2024-04-28 15:27:33 -04:00
Clement Tsang
f23233e824
docs: update some docs about install methods ( #1446 )
2024-04-13 18:26:33 -04:00
Clement Tsang
53a01ad874
deps: bump clap-related dependencies, increase unofficial msrv to 1.74 ( #1445 )
2024-04-11 01:53:36 -04:00
Clement Tsang
aa3f80bcfa
deps: bump dependencies as of 2024-04-10, including sysinfo 0.30.10 ( #1444 )
2024-04-11 01:39:04 -04:00
Clement Tsang
a16793e3aa
docs: sort some install methods ( #1443 )
2024-04-10 20:51:16 -04:00
Clement Tsang
93d6718766
other: update a bunch of argument descriptions and some arg/config names ( #1441 )
...
* other: update a bunch of argument descriptions and some arg/config names
* update docs
* changelog
2024-04-10 20:46:35 -04:00
allcontributors[bot]
bb0bc8a0b0
docs: add davlgd as a contributor for doc ( #1442 )
...
* docs: update README.md [skip ci]
* docs: update .all-contributorsrc [skip ci]
---------
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2024-04-10 19:34:01 -04:00
David Legrand
7f92eb76e6
docs: add install instructions to Exherbo Linux in README.md ( #1440 )
2024-04-10 19:33:42 -04:00
Clement Tsang
d341dbb39b
docs: update changelog for #1436 and #1430 ( #1439 )
2024-04-02 01:23:01 -04:00
allcontributors[bot]
6c608144aa
docs: add lyuha as a contributor for code, and doc ( #1438 )
...
* docs: update README.md [skip ci]
* docs: update .all-contributorsrc [skip ci]
---------
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2024-04-02 01:06:13 -04:00
Lee Wonjoon
a083ec00dd
feature: Add option to set a position of legend ( #1430 )
...
* Add option to set a position of legend
* some small changes
---------
Co-authored-by: ClementTsang <34804052+ClementTsang@users.noreply.github.com>
2024-04-02 01:06:01 -04:00
Clement Tsang
2ee0df1502
change: use sysinfo's swap value for Windows ( #1436 )
...
* some consts
* change: use sysinfo's swap calculation for windows
I'll add an additional field for committed in a separate PR which shows
the previous value.
2024-03-27 22:24:14 -04:00
Clement Tsang
c651e9a904
deps: bump dependencies as of 2024-03-23 ( #1431 )
2024-03-23 02:33:15 -04:00
Clement Tsang
2238d49c6c
docs: bump deps as of 2024-03-23 ( #1432 )
2024-03-23 02:31:13 -04:00