Commit graph

1977 commits

Author SHA1 Message Date
Clement Tsang
2c13683eb3
ci: pin and update some workflow actions (#1145)
* ci: pin and update some workflow actions

* also update setup-python

* and rust-toolchain
2023-05-11 00:42:39 -04:00
ClementTsang
31869dee29
docs: update choco install instructions 2023-05-10 04:01:23 -04:00
ClementTsang
13b58d4d4e
docs: reword binary install section 2023-05-10 03:59:27 -04:00
ClementTsang
331ed47387
github: update deploy body template 2023-05-10 03:35:54 -04:00
Clement Tsang
8777143801
uptick: 0.9.0 (#1143)
* uptick: 0.9.0

* years are hard

* update changelog
2023-05-10 03:17:25 -04:00
Clement Tsang
efe65ecbe2
deps: bump dependencies in Cargo.lock file (#1144)
Avoids an annoying message when installing with `--locked`.
2023-05-09 20:36:35 -04:00
Clement Tsang
cb9d99527a
docs: update process config docs (#1142) 2023-05-09 19:35:32 -04:00
Clement Tsang
dae65bcd56
bug: fix certain custom column combinations causing issues (#1140)
* docs: update some docs related to processes

* bug: temp bandaid on column feature to avoid dupes issue
2023-05-09 19:20:34 -04:00
Clement Tsang
53d7cbb170
docs: bump mkdocs-material to 9.1.11 (#1141) 2023-05-09 00:24:38 -04:00
Clement Tsang
1111bbe831
docs: update help section of docs (#1139)
* docs: update help section of docs a bit

* update
2023-05-07 17:07:24 -04:00
Clement Tsang
e12ed777b7
docs: update docs with processes column (#1138) 2023-05-07 17:00:55 -04:00
Clement Tsang
a62fdc5e04
deps: bump clap to 4.2.7 and libc to 0.2.143 (#1136) 2023-05-07 04:35:42 -04:00
Clement Tsang
f00d09ded5
deps: bump sysinfo to =0.29.0 (#1135) 2023-05-07 01:32:25 -04:00
ClementTsang
3239bce86b
ci: update some ci docs 2023-05-07 00:42:35 -04:00
Clement Tsang
440e10c34d
other: disable logging when building with default features (#1133)
* other: disable logging when building with default features

* update docs
2023-05-06 17:35:10 -04:00
Clement Tsang
bb94355cfc
ci: allow skipped CI workflow to mean success (#1134) 2023-05-06 13:59:43 -04:00
Clement Tsang
b60a62d5f0
other: keep running even if logger fails to initialize (#1132)
This just makes it so that even if the logger is enabled, if it fails to
initialize (e.g. read-only directory), bottom will still continue to
start up, and just print a warning that the logger encountered an issue.
2023-05-06 12:56:01 -04:00
Clement Tsang
4cdedffaee
other: use sysinfo for temps for android and ios (#1130) 2023-05-06 00:58:19 -04:00
Clement Tsang
f237babb58
ci: output a failure in the completion step if a previous step failed (#1128)
* ci: output a failure in the completion step if a previous step failed

* test

* okay now if I add failure

* yoink

* always

* use needs syntax
2023-05-05 04:28:04 -04:00
Clement Tsang
5548db6472
docs: bump mkdocs-material to 9.1.9 (#1127) 2023-05-05 01:06:56 -04:00
ClementTsang
240075ab4a
ci: clarify clear cache instructions 2023-05-04 01:22:28 -04:00
Clement Tsang
2051c06115
deps: bump dirs to 5.0.1 (#1123) 2023-05-03 01:23:48 -04:00
allcontributors[bot]
e0c1cc1bf3
docs: add yshui as a contributor for code (#1121)
* 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-05-02 01:36:09 -04:00
Yuxuan Shui
80183b8b1c
feature: show running time of processes (#801)
* feature: show running time of processes

* fix clippy

* add time searching

* update changelog

* use safer duration for linux in case of 0

* some cleanup

* quick hack to deal with some Windows processes returning unix epoch time as start time

---------

Co-authored-by: Clement Tsang <34804052+ClementTsang@users.noreply.github.com>
2023-05-02 01:33:53 -04:00
Clement Tsang
7edc2fc7e5
deps: bump patch versions as of 2023-04-30 (#1119) 2023-05-01 01:27:04 -04:00
Clement Tsang
b02a5963fc
docs: update default config file with processes section (#1120) 2023-05-01 01:26:41 -04:00
Clement Tsang
d6f9dd9a24
other: update .gitignore to ignore all test configs 2023-04-30 15:51:01 -04:00
Clement Tsang
3baead3a28
GitHub: update issue template links in contributing doc 2023-04-30 05:03:06 -04:00
Clement Tsang
605314d44c
feature: add customizable process columns (#1115)
* feature: add customizable process columns

* Add some tests and actual logic

* more tests

* update changelog

* update config field

* even more tests

* update documentation

* more testing
2023-04-29 19:21:48 -04:00
Clement Tsang
7162e9c483
deps: bump clap to 4.2.5 (#1118) 2023-04-29 00:02:29 -04:00
Clement Tsang
c99e98c6d3
other: edit some comments 2023-04-28 00:00:23 -04:00
Clement Tsang
48747b8bd2
deps: bump patch versions as of 2023-04-26 (#1117) 2023-04-27 00:19:32 -04:00
Clement Tsang
d180617e7a
docs: update mkdocs-material to 9.1.8 (#1116) 2023-04-26 00:29:39 -04:00
Clement Tsang
817529b15f
github: remove issue report title template 2023-04-23 20:05:36 -04:00
Clement Tsang
109498c1db
deps: remove const_format dependency (#1114)
* deps: remove const_format dependency

I was importing it for just one use case, but I could just define the
const string manually and not pull it in at all.

* update husky entry
2023-04-23 00:53:21 -04:00
Clement Tsang
a00ab46c5e
deps: bump regex to 1.8.0 (#1111) 2023-04-22 00:19:12 -04:00
Clement Tsang
4a86b1c21b
refactor: add fallback process signal (#1112)
* refactor: add fallback process signal

* also update dialog logic to be able to fall back in some cases
2023-04-22 00:19:05 -04:00
Clement Tsang
8b81dfba47
bug: fix side borders in basic mode (#1110)
Seems like I broke this when migrating from tui-rs to ratatui. This just
uses explicit enum variants to set my side borders and a test to try and
make sure this doesn't happen again.
2023-04-21 00:07:45 -04:00
Clement Tsang
3618449d42
deps: update clap to 4.x (#1107)
* deps: update clap to 4.x

* changelog

* fix test

* add gpu feature/flag test
2023-04-21 00:07:34 -04:00
Clement Tsang
3a0cf16247
other: update deprecated fn_args_layout to fn_params_layout (#1109) 2023-04-20 20:52:04 -04:00
Clement Tsang
1c95411494
feature: add current battery charging state, update field names (#1106) 2023-04-19 00:46:57 -04:00
Clement Tsang
3e1aa9c75a
docs: update demo caption 2023-04-18 00:54:58 -04:00
Clement Tsang
6ea3635b28
deps: migrate from tui to ratatui (#1086) 2023-04-16 00:04:16 -04:00
Clement Tsang
8c6ae3bbc7
other: update default config generation to show cache (#1102) 2023-04-15 02:01:35 -04:00
Clement Tsang
513024aefd
refactor: clean up data init sleep duration code (#1101)
* refactor: clean up data init sleep duration code

* const
2023-04-15 02:01:25 -04:00
Clement Tsang
20902e87b9
other: Speed up first draw and first data collection (#1100)
* other: add first draw immediately after initialization

Previously, I would only do the first draw after an event triggered, so
this just makes it so that I *always* draw once first. Some widgets look
a bit weird with no data, but this is fine I guess if we want to gain a
bit of responsiveness.

* other: potentially shorten first time to get data

* other: move event loop thread init earlier in app initialization
2023-04-15 00:15:36 -04:00
Clement Tsang
fa1f4976e2
deps: update starship-battery to 0.8.0 (#1098) 2023-04-14 00:13:00 -04:00
Clement Tsang
69e6494491
deps: bump serde to 1.0.160 (#1095) 2023-04-13 01:40:16 -04:00
allcontributors[bot]
731a4217f4
docs: add aragonnetje6 as a contributor for code (#1096)
* 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-04-12 22:52:06 -04:00
Twan Stok
1b1e80ec3c
feature: add buffer and cache memory (#1063)
* First implementation of cache memory data collection, mostly copied from RAM and swap implementations

* First implementation of cache memory display, copied from RAM and swap implementations. placed cache as second in the list as it is more similar to the RAM than any other item in the list

* expanded comment to explain method.

* rustfmt

* all cache-related code excluded on windows, in the process refactored src/data_conversion.rs convert_mem_label() to convert a single label instead of all at once

* better factoring-out of cache memory logic to allow individual disabling

* added --enable_cache_memory flag, disabled cache memory collection by default

* renamed CCH to CHE
not sure how i messed that up

* changelog updated

* Added command line flag documentation

* updated config file documentation

* specified that buffer and cache memory display does not work on windows

* resolved merge conflicts

* added documentation to cache memory data collection

* capitalized Windows

* implemented missing canvas styling logic

* fixed misplaced no-windows flag

* reduced colour collisions, as cache colour was the same as the first GPU colour

* made FIFTH_COLOUR constant windows-only

* Revert "made FIFTH_COLOUR constant windows-only"

This reverts commit 72698f1dd7.

* made FIFTH_COLOUR constant non-windows-only

* minor fix for basic mode row count

* Update src/app/data_harvester/memory/sysinfo.rs

Co-authored-by: Clement Tsang <34804052+ClementTsang@users.noreply.github.com>

* Update src/canvas/widgets/mem_basic.rs

Co-authored-by: Clement Tsang <34804052+ClementTsang@users.noreply.github.com>

* updated default_config.toml

* formatting

---------

Co-authored-by: ClementTsang <34804052+ClementTsang@users.noreply.github.com>
2023-04-12 22:51:41 -04:00