Age | Commit message (Collapse) | Author |
|
* refactor: extract unicode-ellipsis into its own crate
* 0.1.4
|
|
* other: organize some utility function files
* deps: remove kstring
* refactor: some naming changes
* refactor: some more small refactoring/naming changes
* simplify to_cell to return a Cow
* enable lints
|
|
* 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
|
|
* rename general utils file
* refactor: move around some configuration files
* more shuffling around
* fix some ugly formatting
|
|
I have `missing_docs` disabled for now as that'll take a long time to
get through... maybe in a separate PR.
|
|
* 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
|
|
* refactor: pull data collection out of nested folder structure
* fix sysinfo
* comment
|
|
|
|
* refactor: remove once_cell
* some missing fixes
|
|
|
|
* 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
|
|
* refactor: simplify temperature conversion function usage
Just make it a function on the temperature type enum.
* fix sysinfo variant
* simple test
|
|
* Add gpu util, power and procs.
Consolidated gpu calls into `data_harvester`.
Changed config flag from `enable_gpu_memory` to `enable_gpu`.
Added GPU utilization to the cpu widget.
Added GPU process memory usage and utilization percentage to the proc widget.
Added key binds for gpu process toggling.
Added GPU power usage to the battery widget.
Added bounds check to battery widget header.
Show battery widget header when `gpu_enable`.
Added feature flag `legacy-functions` to `nvml-wrapper`.
updated config file(s).
updated help text.
updated docs.
* Code Review:
Remove GPU util from cpu widget
Remove GPU power from battery widget
Use reference for gpu widgets_to_harvest
Extract match arm to function for feature gate
* Code Review: add gmem% toggle
* Do not poll gpu temp when filtered
* Code Review Two Changes:
adjust doc wordings
remove extra references
remove extra widget harvest checks
init proc gpu values
use convert_temp_unit for gpu temp
|
|
(#1316)
* refactor: update some stuff in the query code
* do some eq_ignore_ascii work
* tests
* some docs, and rename files
|
|
* refactor: use a less convoluted match for filesystem type conversion
* revert, just use comment
* just use if statements instead
* test
* inline
|
|
* Fixed uninlined args
First ran this, and fixed a few more similar issues by hand
```
cargo clippy --workspace --fix --benches --tests --bins -- -A clippy::all -W clippy::uninlined_format_args
```
Note that in a few cases, format args were passed by ref - which is actually a tiny perf hit - compiler would not be able to optimize them.
* revert change here
since it contains a non-inlineable variable I'm not a fan of using it partially here
* revert
given the other formats above/below I would prefer keeping it like this
---------
Co-authored-by: Clement Tsang <34804052+ClementTsang@users.noreply.github.com>
|
|
|
|
Keep code a bit tidier and consistent (i.e. if an identifier already has a `use` entry above, why in some cases still prove a full path to it?)
|
|
* deps: use clap 4.4.0 to remove is-terminal
* fmt
* appease clippy
* fmt again
* Revert "deps: use clap 4.4.0 to remove is-terminal"
This reverts commit 78aa6ec8481d38357adc09e262aa5df87796b6c7.
|
|
* deps: bump windows to 0.51.1
* some changes to fit new API
|
|
|
|
* refactor: rewrite io stats collection function result
* refactor: flatten IoCounters vector results
|
|
* add zfs io counters for linux and freebsd
* ci
* freebsd clippy
* code review: remove dead code for zfs feature gate of freebsd iocounters and squash if statement in zfs_io_counters
|
|
* bug: missing windows syscall to close the handle on drop when killing
* changelog
* fix
|
|
* other: remove unnecessary vector allocations in farmer
* other: remove unnecessary vector allocations when drawing tui Rows
|
|
* deps: bump deps as of 2023-06-29, clean up Cargo.toml a bit
* fix deprecated function call
|
|
* other: use f32 for process percentage values
This cuts down memory by a tiny bit, and we don't need a full f64 for
percentage values.
* fix for macos and windows
|
|
* other: convert some cfg if
* fix
|
|
* other: some cleanup
* other: add conditional logging macros
* more cleanup
* use compile-time feature for some text in clap
|
|
when gathering temps (#1188)
* feature: also check coretemp on Linux when gathering temps
* update changelog
* add comment
* add logic to check thermal zone if there are no hwmon entries
* cleanup
* handle duplicates between hwmon and thermal zone
* Revert "handle duplicates between hwmon and thermal zone"
This reverts commit 402606cc62f27ba196ef2ade6a669ae84aedf0e0.
* cleanup
* back to running thermal zone if no hwmon
* prevent failure cases
* temp logging
* name refactoring
* port dupe name logic to hwmon
* Cleanup, add fallback to sensor name
* more tests
* Fix log
* update changelog
* cleanup and more tests
|
|
* ci: add a build check for aarch64-linux-android
* appease clippy
* use 1.67.0 for Android due to NDK issue
* remove sparse since it is default now for 1.70 and causes issues with older versions anyway
|
|
* other: remaining changes needed to get android to build
* update changelog
* simplify disk os-specific code
|
|
|
|
* refactor: redo how we do some processes between different OSes
* cleanup
* more cleanup
* windows
* freebsd
* clean up linux more, fix broken FreeBSD import
* some more cleanup to remove some big imports
|
|
Partitions mounted using the ntfs3 driver in linux (mainlined since 5.15)
won't show up because the name didn't match.
|
|
`/sys/class/thermal` (#1187)
* docs: update changelog
* feature: add a counter to duplicate names if using /sys/class/thermal/
* update changelog
|
|
* bug: when getting Linux temps, don't bail ASAP if they fail
This meant that if hwmon failed, it would never try and get temperatures
from thermal or GPU. The same is true for thermal failing leading to GPU
never running.
* update docs
|
|
|
|
|
|
|
|
Another one on the chopping block. This also moves out the app
widget logic to a separate struct.
|
|
|
|
* refactor: remove procfs, use personal impls/rustix directly
* buffer sharing
* inline
* some cleanup
|
|
* refactor: remove TypedBuilder for col
* clean up basic
|
|
* refactor: remove TypedBuilder for widget
* group together cpu
* clean up proc too
|
|
|
|
|
|
|
|
* 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>
|
|
* 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
|