Commit Graph

1671 Commits

Author SHA1 Message Date
Clement Tsang
870c29e6e0
ci: add coverage actions for macOS and windows (#1030)
* ci: add coverage actions for macOS and windows

* specify target as name

* use flags
2023-02-26 00:01:08 -05:00
Clement Tsang
cabc594279
refactor: clean up some options code (#1029)
* remove some dead code

* use macros to help clean up clutter for binary flags

* add test

* group

* fix using gpu feature
2023-02-25 04:24:38 -05:00
ClementTsang
449d735601
ci: specify where part of the CI workflow is 2023-02-22 00:01:28 -05:00
Clement Tsang
1ad38db3a4
ci: reduce CI timeout to 18 minutes (#1028)
* ci: reduce CI timeout to 15 minutes

* add additional timeouts

* go with 18 minutes for safety
2023-02-21 04:09:19 -05:00
Clement Tsang
78b1126fb4
other: move terminal check after the config check (#1027) 2023-02-20 00:57:09 -05:00
Clement Tsang
f1f07945f6
change: show process in tree if any ancestor or descendent matches (#1026)
* refactor: optimize kept list in tree to just store filtered values in a set

* change: show all direct children of a tree process children if the parent matches

* change: show process in tree if any ancestor or descendent matches
2023-02-20 00:15:16 -05:00
Clement Tsang
6d15f01009
other: support hw.temperature-based temps on FreeBSD (#1024)
* other: support hw.temperature-based temps for FreeBSD

* update changelog

* enable sysctl always for freebsd
2023-02-19 18:44:35 -05:00
Clement Tsang
2a1c4104fd
other: promote macOS aarch64 to official support (#1025)
Since I have a macOS M1 laptop to test on now, I think it's a good time
to bump it to be officially supported, especially since it's going
to be the main macOS platform for the foreseeable feature.
2023-02-19 01:12:13 -05:00
Clement Tsang
f89b243589
feature: support 3-char hex colours (#1022) 2023-02-18 01:55:26 -05:00
Clement Tsang
edc61d428c
bug: fix selected text bg colour being wrong if only the fg colour was set (#1021)
* rename file to be more generic

* fix selected text BG colour being wrong by default

* update changelog

* add test for bug
2023-02-18 00:51:13 -05:00
ClementTsang
a266dd74ec
docs: update contributing docs/links 2023-02-13 03:35:46 -05:00
Clement Tsang
c19f429d35
docs: update changelog and missing doc info (#1018) 2023-02-11 02:48:23 -05:00
allcontributors[bot]
2783abf2d4
docs: add mbikovitsky as a contributor for code (#1017)
* 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-02-10 15:13:47 -05:00
Michael Bikovitsky
d956f336a9
feature: Add support for displaying process usernames on Windows (#1016) 2023-02-10 15:01:37 -05:00
Clement Tsang
e7b682a550
other: add no-opt and flamegraph build profiles for convenience (#1014) 2023-02-08 00:41:03 -05:00
ClementTsang
9fd8ce3151
other: compile dependencies in dev with optimizations 2023-02-07 04:24:14 -05:00
Clement Tsang
88111de941
docs: bump mkdocs-material and mkdocs-material-extensions (#1013) 2023-02-05 23:54:24 -05:00
ClementTsang
9ed5df15bb
docs: add script to serve mkdocs locally 2023-02-04 04:58:16 -05:00
Clement Tsang
bce95c0d48
docs: update requirements.txt and bump to 3.11 (#1011) 2023-02-03 03:25:25 -05:00
Clement Tsang
a94a8059da
docs: add docs on process kill, update docs on updating docs (#1010)
* docs: add some documentation on process term, update captions

* docs on updating docs
2023-02-03 03:05:18 -05:00
allcontributors[bot]
d72f75cdce
docs: add spital as a contributor for code (#1009)
* 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-01-31 19:40:39 -05:00
spital
021a727f19
other: replace deprecated value_of and is_present in clap
* Upgrade clap to 3.2.2 to allow future fix warnings

* cargo fmt fix

* Replaced deprecated `value_of` and `is_present`, builds with no warnings, clap 3.2.2

* cargo fmt

* updated according to comments. builds fine, cargo test fine

* Match some versions

* Update Cargo.lock

* Fix typo, mb

---------

Co-authored-by: Clement Tsang <34804052+ClementTsang@users.noreply.github.com>
2023-01-31 19:34:52 -05:00
Clement Tsang
9ad1d8f0b4
other: ignore uninlined_format_args clippy lint for now (#1004) 2023-01-27 18:13:17 -05:00
ClementTsang
32434932a6
docs: update some packaging/distribution docs with more details 2023-01-26 21:37:09 -05:00
Clement Tsang
f416c54d2f
other: bump to 0.8.1 for nightly (#1002) 2023-01-24 20:54:26 -05:00
Clement Tsang
cdee5b6fc3
other: run cargo sort on Cargo.toml (#1001) 2023-01-24 20:27:48 -05:00
Clement Tsang
123e564d6e
ci: update cargo-llvm-cov to 0.5.9 (#1000) 2023-01-24 09:33:57 -05:00
ClementTsang
ea11be9cfc
ci: don't cache coverage in some cases 2023-01-23 19:35:54 -05:00
ClementTsang
00d60d8d45
other: update issue template wording 2023-01-23 02:08:03 -05:00
Clement Tsang
a4a237c8d2
docs: update gif for 0.8.0 (#998) 2023-01-22 03:55:14 -05:00
ClementTsang
2a4849ebb7
docs: fix typo 2023-01-22 01:20:39 -05:00
ClementTsang
0f58851dca
docs: update manual installation dl link 2023-01-22 01:15:46 -05:00
Clement Tsang
36840e5de9
uptick: 0.8.0 (#996)
* uptick: 0.8.0

* update changelog
2023-01-22 00:53:36 -05:00
Clement Tsang
9a011189f1
docs: update README section for unofficial support 2023-01-21 04:43:38 -05:00
Clement Tsang
635d173f49
other: explicitly style dd text colours (#995) 2023-01-20 20:53:27 -05:00
ClementTsang
490e94c347
other: bump to 0.8.0 2023-01-20 18:55:31 -05:00
Clement Tsang
3aa4aa1c08
bug: fix axis labels not being styled (#994)
Fixes graph axis labels not being styled.
2023-01-20 18:50:20 -05:00
Clement Tsang
4870ff365a
refactor: change name of some stuff, add some comments (#992)
* some quick refactoring first

* add todo for bug report template
2023-01-20 00:08:02 -05:00
Clement Tsang
7f7a328977
other: refresh cpu for sysinfo users if proc is used (#991) 2023-01-20 00:07:52 -05:00
Clement Tsang
22e386a38c
other: re-enable disk usage split, update help menu (#963)
* Revert "other: revert disk usage change for now (#962)"

This reverts commit d3661c2320.

* some cleanup

* update help menu

* update screenshot

* update changelog wording

* Remove redundant newlines

* Use type system to ensure help constants match in size
2023-01-19 05:40:34 -05:00
allcontributors[bot]
0a83456adb
docs: add felipesuri as a contributor for doc (#989)
* 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-01-18 16:23:23 -05:00
felipesuri
2de49c5042
docs: Update ArchLinux install command (#988)
It is removing `-yu`, because it updates the system before downloading the package.
ArchLinux is updated constantly and can crash the system, so it's better just to install the package.
2023-01-18 16:22:58 -05:00
Clement Tsang
04c1366af5
other: bump edition to 2021 (#987) 2023-01-18 02:26:30 -05:00
Clement Tsang
ebaf10936a
other: fix missing memory feature for heim on linux (#986) 2023-01-18 01:52:55 -05:00
Clement Tsang
639c93b4c8
other: switch to windows-rs for process killing (#985) 2023-01-18 01:43:08 -05:00
Clement Tsang
4b392c96f7
docs: add note about individual autocompletion files 2023-01-17 00:58:41 -05:00
Clement Tsang
50c95997f9
docs: update changelog and all contrib sections (#984) 2023-01-15 12:26:15 -05:00
allcontributors[bot]
7fdc927aff
docs: add NitrogenDev as a contributor for code (#983)
* 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-01-15 12:08:18 -05:00
Rareș Constantin
f8db3403af
other: Dynamic battery widget (#975)
* Added dynamic battery widget

For bottom to know that there are no batteries on the system,
I added the battery::Manager to the options.rs file because
here is the first moment bottom verifies battery configuration
by reading the config file, which may or may not contain the
battery field, but for a better UX, it doesn't matter what bottom
finds in the config file now, if it doesn't retrieve battery data,
it just ignores the battery widget all together.
If needed, it can be adjusted so that if the config file contains
the battery field, it will still show the widget.

* CFG guarding for BATTERY module

I guarded the options.rs in two places for battery module that can be missing in the feature list.

Co-authored-by: RaresCon <RaresCon>
Co-authored-by: NitrogenDev <44950964+NitrogenDev@users.noreply.github.com>
2023-01-15 12:06:42 -05:00
Clement Tsang
571ec08291
other: skip battery duration draw if unknown (#974)
* other: skip battery duration draw if unknown

* increase others

* update changelog
2023-01-15 12:06:19 -05:00