Commit Graph

2127 Commits

Author SHA1 Message Date
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
Clement Tsang 8919ae37d7
ci: bump action-gh-release to 2.0.1 (#1426)
Update resolves Node deprecation warnings from GHA.
2024-03-09 22:24:14 -05:00
Clement Tsang 32e04778dd
ci: bump cargo-deb version to 2.1.0 (#1424) 2024-03-09 14:23:59 -05:00
Clement Tsang f70aff89dc
deps: bump sysinfo to =0.30.7 (#1425) 2024-03-09 13:34:56 -05:00
Clement Tsang 92501d758c
deps: downgrade clap and run cargo update to build on 1.70 (#1423)
bottom doesn't have an MSRV, but if we can still build on older versions
of Rust then I'm all for it. The updated clap versions didn't bring
anything interesting so there's no real issue for me to downgrade IMO.
2024-03-04 22:58:15 -05:00
Clement Tsang 26162c0414
deps: bump root dependencies as of 2024-03-04 (#1422) 2024-03-04 19:57:15 -05:00
Clement Tsang 7ea72cc814
deps: bump sysinfo to 0.30.6 (#1420) 2024-03-04 19:23:13 -05:00
dependabot[bot] 973be9103b
chore(deps): bump mio from 0.8.10 to 0.8.11 (#1421)
Bumps [mio](https://github.com/tokio-rs/mio) from 0.8.10 to 0.8.11.
- [Release notes](https://github.com/tokio-rs/mio/releases)
- [Changelog](https://github.com/tokio-rs/mio/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tokio-rs/mio/compare/v0.8.10...v0.8.11)

---
updated-dependencies:
- dependency-name: mio
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-04 17:11:52 -05:00
Clement Tsang e1daa63a86
ci: migrate macOS ARM builds to use GHA (#1419)
* ci: migrate macOS ARM builds to use GHA

M1 macOS runners are now available on GHA, so we can use it instead of
CirrusCI for builds/CI.

* bump freebsd
2024-03-03 01:17:14 -05:00
Clement Tsang d604f72aac
ci: update sha for auto winget PR action (#1418) 2024-03-02 21:26:13 -05:00
Clement Tsang 73f1827a03
docs: actually fix numbering for Windows font troubleshooting guide (#1417) 2024-03-02 02:31:01 -05:00
Clement Tsang 8402ea285d
docs: fix numbering for Windows font troubleshooting guide (#1416) 2024-03-02 02:17:58 -05:00
Clement Tsang d78428ac19
docs: some clarification (#1415) 2024-02-20 09:14:10 -05:00
allcontributors[bot] e48f5e990a
docs: add john-s-lin as a contributor for doc (#1414)
* 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-02-19 20:08:39 -05:00
john-s-lin 79969c76be
docs: fix broken link to config documentation in README (#1413) 2024-02-19 20:08:26 -05:00
Clement Tsang cd1715cd8f
other: add process uptime as a default column (#1411)
* other: add process uptime as a default column

* update docs
2024-02-15 03:27:19 -05:00
Clement Tsang 3ee883420a
bug: fix uptime calculation for Linux (#1410)
* bug: fix uptime for linux

Use another calculation to determine the uptime of a process on
Linux.

* appease clippy

* changelog

* edit add
2024-02-15 03:01:45 -05:00
Clement Tsang 0068f8a744
deps: update lock dependencies (2024-02-14) (#1409) 2024-02-15 01:00:23 -05:00
Clement Tsang 16b6773652
deps: update root dependencies (2024-02-14) (#1408) 2024-02-15 00:01:47 -05:00
Clement Tsang 0b92679e16
other: add v1 schema + versioning + tests (#1407)
* other: add v1.0 schema

* add tests, rename some files for consistency
2024-02-04 06:26:24 -05:00
Clement Tsang b6660610d0
deps: bump ratatui to 0.26 (#1406)
* deps: bump ratatui to 0.26

* adjust process width

* a few nonzero optimizations

* add a todo

* update comments to be less confusing about time chart
2024-02-03 19:59:12 -05:00
allcontributors[bot] 8d84b688b0
docs: add Freed-Wu as a contributor for code, and doc (#1404)
* 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-02-02 02:24:38 -05:00
wzy 98d4c4498b
other: add json schema (#1382) (#1394)
* other: add json schema (#1382)

* docs: add some screenshots

* other: move around schema files

* docs: move around some docs around config files

---------

Co-authored-by: ClementTsang <34804052+ClementTsang@users.noreply.github.com>
2024-02-02 02:24:23 -05:00
Clement Tsang 59b7650999
ci: bump choco action to v3.0.0 and replace release deletion action (#1402)
* ci: bump choco action to v3.0.0 and replace release delete action with gh

* back to action since it isn't a git repo

* let's test if gh works fine if I pull repo
2024-01-28 19:37:31 -05:00
Clement Tsang db9e97a0df
ci: update upload-artifact to v4.3.0 and download-artifact to v4.1.1 (#1399)
* ci: update upload-artifact to v4.3.0 and download-artifact to v4.1.1

* fix rpm/deb

* add exception for quay; idk what I'll do once node support is gone

* fix broken script

* fix download

* migrate 2-17 to cirrus to avoid node deprecation warnings

* prevent cirrus cancellation

* update cache to work with linux

* simplify cache

* update some comments

* add timeouts
2024-01-28 18:11:05 -05:00
Clement Tsang a377e93ecc
ci: bump skip-duplicate-actions to v5.3.1 and setup-python to v5.0.0 (#1401)
* ci: bump skip-duplicate-actions to v5.3.1

* also bump setup-python to v5.0.0
2024-01-28 06:11:42 -05:00
Clement Tsang 0f61b7b176
ci: update cirrus-ci FreeBSD versions (#1400)
* ci: update cirrus-ci FreeBSD versions

Looks like the newest available FreeBSD images are 13-2 and 14-0, and
the previously used ones aren't available anymore.

* comment
2024-01-28 06:09:06 -05:00
Clement Tsang e9125500af
ci: add an explicit timeout for jobs (#1398) 2024-01-28 05:23:17 -05:00
Clement Tsang 5cf17f6015
other: flatten process config struct and clean up help text (#1395)
* refactor: flatten process config field

* other: clean up some doc formatting using indoc and breaklines

* fix broken test

* remove default as that breaks things for now

* add test

* more tests
2024-01-21 05:47:13 -05:00
Clement Tsang 975e3d776b
refactor: move some files around in prep for a future options refactor (#1393)
* some formatting

* refactor: move some files around in prep for a bigger config/options refactor
2024-01-18 18:46:00 -05:00
Clement Tsang be4fa27b84
refactor: convert layout creation tests back to being unit tests (#1392) 2024-01-16 23:47:05 -05:00
Clement Tsang f07994ef68
deps: bump sysinfo to =0.30.5 (#1390)
* deps: bump sysinfo to =0.30.5

* fix an import

* fix stuff for linux

* fix temps

* some fmt

* disks

* oops

* fix some bugs
2024-01-15 20:43:14 -05:00
Clement Tsang 81e77c02a8
ci: add logic to retry codecov upload (#1391) 2024-01-15 15:40:14 -05:00
Clement Tsang 7be98344e9
ci: clean up some jobs in CI; bump Rust-related actions (#1388)
* ci: clean up some jobs in CI; bump Rust-related actions

* also update codecov

* rearrange

* comments
2024-01-15 06:01:04 -05:00
Clement Tsang f760ce1080
deps: bump non-root dependencies as of 2024-01-15 (#1387)
* deps: bump non-root dependencies as of 2024-01-15

* also test 1.70 unofficial msrv
2024-01-15 05:06:24 -05:00
Clement Tsang 0a0c3c19b5
deps: bump dependencies as of 2024-01-15 (#1386) 2024-01-15 04:38:18 -05:00
Clement Tsang dd66ae774c
refactor: simplify some config -> constraints code (#1383)
* refactor: simplify some config -> constraints code

* iteratively progress...

* update bcr; this might need testing since I removed some old proc code

* widget side

* fix battery

* fix widget tests with bandaid for now

The issue was that the calculations assume a certain ratio for CPU
legends.

* add some tests

* bump up

* fix proc drawing issues

So with the proc widget in certain places, there would be a panic during
constraint determination.

Looks like back when I wrote this I made some gross assumptions about
certain things. In particular, the problem here was that the search
added an additional "one" height, so that needs to be accounted for
after we removed the "doubling" code.

* tests

* fix tests

* reorganize tests

* clippy

* fix cross tests not working

* fix builds for android
2024-01-15 04:19:18 -05:00
ClementTsang f093902aef
other: fix deploy profile 2024-01-11 23:39:17 -05:00
Clement Tsang 4246194634
docs: change code font and enable privacy (#1381) 2024-01-11 03:46:28 -05:00
Clement Tsang 16a94d65d2
add last revision date (#1380) 2024-01-11 03:20:35 -05:00
Clement Tsang b106121a84
docs: bump mkdocs-material to 0.9.6 (#1379) 2024-01-11 02:42:50 -05:00
ClementTsang 7cd1c15714
docs: fix another incorrect heading 2024-01-11 02:30:03 -05:00