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
Clement Tsang
a3541c9350
docs: use consistent wording around command-line options ( #1378 )
...
* docs: use consistent wording around command-line options
* fix missing code blocks
2024-01-11 02:14:05 -05:00
Clement Tsang
bc2c363a49
refactor: clean up arg code more ( #1377 )
...
* fix sort function
* Try macros
* Revert "Try macros"
This reverts commit 93c7306f8a
.
* use next_help_heading instead
* test
* Revert "test"
This reverts commit 017a1702b3
.
* Reapply "test"
This reverts commit 23c09d3828
.
* use foldl instead :)
* a word
* different conditionals
* update docs, change ordering
* more formatting stuff
2024-01-11 00:25:53 -05:00
Clement Tsang
6b62176554
refactor: rearrange/resort args ( #1376 )
...
* clean up Cargo.toml
* some small cleanup
* refactor: group together similar args in the help generation and code
This groups together related arguments in both the help text and the
code itself.
* update changelog
* clippy
* builder pattern instead
2024-01-10 19:07:22 -05:00
Clement Tsang
0f969fcfd4
refactor: clean up help drawing code ( #1374 )
...
* refactor: clean up the help drawing
* a bit cleaner
* add test
* some fmt
2024-01-08 02:35:32 -05:00
Thomas Mühlbacher
0c161ae77e
feature: Add support for bcachefs ( #1373 )
...
Make sure that bcachefs mounts are also displayed in the disks widget.
bcachefs is a file system that will be included in the upcoming Linux
v6.7 kernel. Briefly tested this and it works on my system.
2024-01-04 11:18:45 -05:00
Clement Tsang
77777ef588
refactor: clean up some more drawing/component code ( #1372 )
...
* rename battery info widget file
* add widget trait
* move basic table arrows over
* some renaming
* more renaming and shuffling
* cleanup
* fmt
2024-01-02 01:24:13 -05:00
Clement Tsang
c242b4aff3
refactor: move around some configuration code again ( #1371 )
2024-01-01 17:39:10 -05:00
Clement Tsang
228da99489
refactor: move around configuration-related files ( #1370 )
...
* rename general utils file
* refactor: move around some configuration files
* more shuffling around
* fix some ugly formatting
2024-01-01 17:20:40 -05:00
Clement Tsang
e71048e394
other: update lints ( #1369 )
...
I have `missing_docs` disabled for now as that'll take a long time to
get through... maybe in a separate PR.
2024-01-01 05:34:53 -05:00
Clement Tsang
ecb6faa089
refactor: restructure canvas file folder structure ( #1368 )
...
* refactor: group together some canvas files
* rename file
* more shuffling around
* fmt
* more shuffling
Going to flatten widgets in another PR.
* some docs
* naming
* fmt
2024-01-01 05:19:52 -05:00
Clement Tsang
74792f0ddf
other: quick lint fixes for some warnings ( #1367 )
2023-12-30 23:28:44 -05:00
Clement Tsang
631f7208e4
deps: bump anyhow, clap, and thiserror ( #1365 )
2023-12-27 23:13:07 -05:00
Clement Tsang
22b40780ad
refactor: pull data collection out of nested folder structure ( #1364 )
...
* refactor: pull data collection out of nested folder structure
* fix sysinfo
* comment
2023-12-27 23:00:58 -05:00
Justin Martin
28d2950d92
deps: update ratatui version ( #1362 )
...
* cargo update ratatui
* replace convert_arc_labels with convert_mem_labels
* remove redundant generic
---------
Co-authored-by: Clement Tsang <34804052+ClementTsang@users.noreply.github.com>
2023-12-25 17:28:54 -05:00
Clement Tsang
c10779ecc0
refactor: fix macro formatting in disk data collection code ( #1363 )
2023-12-25 17:26:32 -05:00
Clement Tsang
a1168cac67
refactor: remove once_cell ( #1361 )
...
* refactor: remove once_cell
* some missing fixes
2023-12-23 04:35:42 -05:00
Clement Tsang
854f3aed95
refactor: some more cleanups around linux temp code ( #1360 )
2023-12-20 19:18:50 -05:00
Clement Tsang
a67da93c5f
other: if in a non-D0 state, short-circuit further logic ( #1355 )
...
* other: if in a non-D0 state, short-circuit further logic
* cleanup
* add back an empty name and value
* fix for macos/windows
* some testing things
2023-12-20 01:36:08 -05:00
Clement Tsang
004c83728d
docs: update changelog with #1353 ( #1358 )
2023-12-19 22:52:29 -05:00
dependabot[bot]
c6a3393419
chore(deps): bump zerocopy from 0.7.26 to 0.7.31 ( #1357 )
...
Bumps [zerocopy](https://github.com/google/zerocopy ) from 0.7.26 to 0.7.31.
- [Release notes](https://github.com/google/zerocopy/releases )
- [Changelog](https://github.com/google/zerocopy/blob/main/CHANGELOG.md )
- [Commits](https://github.com/google/zerocopy/compare/v0.7.26...v0.7.31 )
---
updated-dependencies:
- dependency-name: zerocopy
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-15 03:02:35 -05:00
Clement Tsang
b6f92c2f3d
feature: support default selection of average CPU graph ( #1353 )
...
* feature: support default selection of average CPU graph
* test
2023-12-10 15:21:35 -05:00