Commit Graph
1465 Commits
Author SHA1 Message Date
Clement TsangandGitHub 7fec637360 bug: fix missing temp path locations to check on Linux (#816)
* bug: fix missing temp path locations to check on Linux

* remember to divide by a thousand in thermal_zone
2022-09-23 00:48:58 -04:00
Clement TsangandGitHub cf95f2c2a6 github: update bug report desc for non-release 2022-09-23 00:09:48 -04:00
ClementTsang 3d2c40ce2f docs: update changelog for device sleep and m1 temp 2022-09-18 05:15:37 -04:00
Clement TsangandGitHub e80e07a716 refactor: minor cleanup of linux disk code (#813)
Since we no longer use heim for Linux disk checking, we can remove the
async reliance and update some file names/comments to be more
appropriate to the current state of the code. We also do some small
cleanup.
2022-09-18 05:13:27 -04:00
Clement TsangandGitHub cc048de3b0 refactor: replace heim temp conversion code (#811) 2022-09-17 23:43:40 -04:00
ClementTsang 10efe75fbd docs: update some contribution documentation 2022-09-16 05:16:58 -04:00
allcontributors[bot]GitHuballcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
de78824470 docs: add DianaNites as a contributor (#809)
* update README.md [skip ci]

* update .all-contributorsrc [skip ci]

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2022-09-16 05:09:35 -04:00
DianaandGitHub c3e4a95d04 Replace heim with sysfs and dont wake devices (#805)
* Replace heim with sysfs and dont wake devices

This commit replaces heim sensor reading with manual sysfs sensor reading, and skips reading sensors for any device that is in ACPI D3cold

This has the notable downside of still keeping a device awake, which I hope to solve in a later commit

* Update docs

They were referring to files i ultimately decided against using in this implementation, and so were no longer relevant to document.

* has_temp check should be before reading hwmon_name

* should_read_temp doesn't have to be mutable

* Fix sensor for zenpower kernel module
2022-09-16 05:06:17 -04:00
Clement TsangandGitHub c6c7fb3a30 deps: update sysinfo to 0.26.2 (#806)
* deps: update sysinfo to 0.26.2

This dependency update has some nice things in store for us:
- MacOS M1 temperature support
- Bevy of bug fixes

* update documentation

* some fixes
2022-09-16 04:42:24 -04:00
Clement TsangandGitHub a427a9d2f2 other: add zfs to deploy feature set (#808) 2022-09-14 05:50:34 -04:00
ClementTsang e369e1286f docs: update README 2022-09-12 19:38:57 -04:00
Clement TsangandGitHub 5973e6db72 docs: adjust dev doc file structure, add build and deploy docs (#804)
* docs: add separate section on development

* docs: update instructions on writing docs

* docs: add build and deploy docs
2022-09-12 04:14:19 -04:00
Clement TsangandGitHub 72189185b6 other: sort Cargo.toml (#802) 2022-09-07 23:51:08 -04:00
Clement TsangandGitHub 46a2a3a52b other: Clarify help menu (#800)
* other: clarify that numbers are for help menu

* bug: fix incorrect overscroll check, should be min
2022-09-03 04:04:03 -04:00
Clement TsangandGitHub 726e727de6 docs: note that freebsd is not on stable for now 2022-08-31 13:05:14 -04:00
Clement TsangandGitHub 14808b3a2e ci: completion/manpage generation script spring cleaning (#795)
* ci: spring cleaning of completions autogen

This commit changes a few things/cleans up stuff:
- Completion and manpage generation now drops the files off in
  `./target/tmp/bottom` rather than arbitrarily in the build directory.
  This was originally done because I was lazy and just needed it to work
  in CI, but it's kinda gross if you want to build the manpages in your
  own directory.
- CI was updated to handle this.
- Only run if the `BTM_GENERATE` env var is actually non-empty.

* docs: update for manpage/completion gen

* ci: auto delete autogen comp/manpage dir

* ci: fix incorrect mv for autogen

The mv was too late, should be earlier in the workflow.

* ci: specify shell in autogen delete

* docs: more updates to manpage/comp docs

* ci: unify env vars

* ci: skip autogen on build-msi
2022-08-30 18:25:16 -04:00
Clement TsangandGitHub 28b5095770 github: update wording for packaging issues 2022-08-24 10:01:20 -04:00
Clement TsangandGitHub 0ec3e5afbb github: update packaging issue template (#791) 2022-08-23 19:29:30 -04:00
ClementTsang c891ff8865 docs: update changelog for PR #784 2022-08-23 13:33:04 -04:00
allcontributors[bot]GitHuballcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
90c56a9f3b docs: add jamartin9 as a contributor for code (#789)
* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2022-08-22 02:48:01 -04:00
Justin MartinandGitHub 6e0bc96093 feature: Add zfs feature flag for arc memory (#784)
* freebsd clippy

* add arc support

* Code Review: moved runtime cfg checks to compile time and formatting

* remove compile platform checks

* add zfs feature flag to get_arc_data
2022-08-22 02:47:22 -04:00
ClementTsang 11657aa0ab docs: update changelog 2022-08-19 19:29:08 -04:00
Clement TsangandGitHub 1d0801ce71 docs: update mkdocs-material to 8.4.0 (#788) 2022-08-19 19:07:36 -04:00
Clement TsangandGitHub 3c21147509 github: update version placeholder in bug template 2022-08-17 23:04:22 -04:00
Clement TsangandGitHub 80d659bf8c github: update issue link and wording 2022-08-17 23:03:48 -04:00
Clement TsangandGitHub c01e3bca71 github: add note on coverage/tests in PR template 2022-08-17 11:30:13 -04:00
ClementTsang 658b8c720f refactor: minor tweak to update_position code 2022-08-15 00:50:27 -04:00
ViridiCanisandGitHub f5e2b7242a feature: clamp scrolling (#775)
* clamp scrolling when trying to go beyond the top or bottom

* add more 'do nothing' cases to `update_position`

* adjust tests to clamping scrolling

* fixup! add more 'do nothing' cases to `update_position`

* fixup! clamp scrolling when trying to go beyond the top or bottom

* fixup! fixup! clamp scrolling when trying to go beyond the top or bottom
2022-08-15 00:45:27 -04:00
Clement TsangandGitHub 3016a3d6a2 refactor: change max_scroll_index usage to better reflect name (#783)
Tweaks `max_scroll_index` usage in the help menu to better reflect its name of being a max index, not a max index bound.

For example, before, the index could not be equal to or more than `max_scroll_index`, but the name would have implied that it should be less than or equal to it.
2022-08-14 18:21:48 -04:00
Clement TsangandGitHub 79a0f20825 github: tweak wording of PR 2022-08-14 18:17:01 -04:00
ClementTsang 05eb740fc3 docs: fix allcontributor file 2022-08-14 17:58:45 -04:00
ClementTsang 249a28f661 docs: fix allcontributor typo 2022-08-14 17:58:07 -04:00
Clement TsangandGitHub e9d5c7e071 Merge pull request #782 from ClementTsang/half_page_scroll_doc
Half page scroll doc
2022-08-14 17:55:39 -04:00
ClementTsang 582cd308eb docs: add half-page scroll shortcut to docs 2022-08-14 17:51:04 -04:00
ClementTsang 4984b85704 docs: update changelog for half page scroll change 2022-08-14 17:50:41 -04:00
allcontributors[bot]GitHuballcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
10062c7899 docs: add ViridiCanis as a contributor for bug, code (#781)
* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2022-08-14 17:47:18 -04:00
5da7411d3c Feature: half page scrolling (#774)
* add ctrl-u/ctrl-d to process table

* add help text for ctrl-u/ctrl-d

* add ctrl-u/ctrl-d to help dialog

* store height of help menu, fix overscroll with half page down on help menu

Co-authored-by: ClementTsang <34804052+ClementTsang@users.noreply.github.com>
2022-08-14 17:47:03 -04:00
Clement TsangandGitHub 2e0771d483 ci: update release build OS to ubuntu 20.04 (#780)
Due to the deprecation of Ubuntu 18.04 as a runner target this PR updates the OS to 20.04 (see https://github.com/actions/runner-images/issues/6002), the next supported version of Ubuntu.
2022-08-13 12:14:51 -04:00
Clement TsangandGitHub fcb8cac0d5 ci: add ARM macOS to build workflow (#779)
Adds macOS ARM to the build workflow for nightly/release.
2022-08-13 11:53:07 -04:00
Clement TsangandGitHub 4e2a25ac68 github: update PR template wording for testing 2022-08-13 11:38:50 -04:00
ClementTsang 56bb3657a4 clippy: fix clippy eq warning 2022-08-13 11:34:17 -04:00
ClementTsang 83284e2dba docs: edit docs regarding M1 macOS support 2022-08-13 11:31:29 -04:00
Clement TsangandGitHub b62b93f551 github: update some wording in issue template 2022-08-09 14:23:17 -04:00
allcontributors[bot]GitHuballcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
fd8346112a docs: add xgdgsc as a contributor for doc (#772)
* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2022-07-26 14:08:13 -04:00
xgdgscandGitHub bc74e0b73b docs: fix dead link (#771) 2022-07-26 14:08:03 -04:00
Clement TsangandGitHub 39f04fb22c docs: mention FreeBSD works (#769)
Update some documentation to mention (currently unofficialish) FreeBSD support.
2022-07-24 06:53:34 -04:00
Clement TsangandGitHub 31bd2ca19f docs: bump mkdocs to fix markdown breaking exts (#770)
The markdown Python lib seems to be causing some issues with certain
extensions. Bumping mkdocs to 1.3.1 seems to resolve this issue (the
alternative is pinning markdown to < 8.4.0).
2022-07-24 06:50:52 -04:00
allcontributors[bot]GitHuballcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
5bf05eb558 docs: add wezm as a contributor for code (#768)
* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2022-07-23 20:46:34 -04:00
Wesley MooreandGitHub 577fda96fc Implement support for FreeBSD (#766)
* WIP FreeBSD support

* Implement get_cpu_data_list for FreeBSD

* Implement disks for FreeBSD

It doesn't work though as sysinfo doesn't make the device name available.

* Use libxo to read process cpu info on FreeBSD

* Populate get_io_usage with libxo too

Actual I/O stats still aren't populated though as there's not an
easy source for them.

* Share more processes code between macos and freebsd

* Extract function for deserializing libxo output on FreeBSD

* Implement filtering of disks in FreeBSD

* Clean up memory data collection

* Update module docs
2022-07-23 20:44:29 -04:00
Clement TsangandGitHub 510aa5c404 ci: try simpler cross/cargo action for builds and tests (#767)
Uses a personal action for simpler invocations of cargo/cross commands.
2022-07-16 00:34:18 -04:00