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
|
|
This changes the behavior of the battery widget when paired with the skip_table_gap.
|
|
|
|
* deps: bump deps as of 2024-04-28
* fix tests
* extra test
|
|
* other: update a bunch of argument descriptions and some arg/config names
* update docs
* changelog
|
|
* Add option to set a position of legend
* some small changes
---------
Co-authored-by: ClementTsang <34804052+ClementTsang@users.noreply.github.com>
|
|
* some consts
* change: use sysinfo's swap calculation for windows
I'll add an additional field for committed in a separate PR which shows
the previous value.
|
|
* other: add process uptime as a default column
* update docs
|
|
* bug: fix uptime for linux
Use another calculation to determine the uptime of a process on
Linux.
* appease clippy
* changelog
* edit add
|
|
* 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
|
|
* 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
|
|
* some formatting
* refactor: move some files around in prep for a bigger config/options refactor
|
|
|
|
* deps: bump sysinfo to =0.30.5
* fix an import
* fix stuff for linux
* fix temps
* some fmt
* disks
* oops
* fix some bugs
|
|
* deps: bump non-root dependencies as of 2024-01-15
* also test 1.70 unofficial msrv
|
|
* 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
|
|
* docs: use consistent wording around command-line options
* fix missing code blocks
|
|
* fix sort function
* Try macros
* Revert "Try macros"
This reverts commit 93c7306f8ae8b906e0a66d1a4d758aad51efe3eb.
* use next_help_heading instead
* test
* Revert "test"
This reverts commit 017a1702b35dd7fd87c449e27a3bdb65bc858f72.
* Reapply "test"
This reverts commit 23c09d3828594d880ecf5e753e1fcdf5fd719e42.
* use foldl instead :)
* a word
* different conditionals
* update docs, change ordering
* more formatting stuff
|
|
* 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
|
|
* refactor: clean up the help drawing
* a bit cleaner
* add test
* some fmt
|
|
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.
|
|
* rename battery info widget file
* add widget trait
* move basic table arrows over
* some renaming
* more renaming and shuffling
* cleanup
* fmt
|
|
|
|
* 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
|
|
* 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>
|
|
|
|
* 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
|
|
* feature: support default selection of average CPU graph
* test
|
|
* other: add back local time in debug logs
This still has a UTC fallback.
* cleanup and some warnings
|
|
command-line args (#1344)
* other: change group -> group_processes to match config file name
* update docs
* update changelog
|
|
|
|
|
|
* refactor: iteratively detect ASCII and build string when truncating
* more tests
* test going by usize
* Revert "test going by usize"
This reverts commit 4fe71260e70696a0bb5907c97a2ca049fc23214c.
|
|
(#1333)
* refactor: add fast branch if the entire string is definitely not truncated
* update comments
|
|
This is just a first attempt to speed up what looked like a hot spot in samply's profiling results.
Benchmark code and results here: https://gist.github.com/ClementTsang/e242f12f7e1d1902ed414dcc18c3b321
|
|
* refactor: simplify temperature conversion function usage
Just make it a function on the temperature type enum.
* fix sysinfo variant
* simple test
|
|
* other: use consistent casing with Mem/Mem% in processes for GPU cols
* other: remove mem check for GPU enable check
|
|
* 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
|
|
* other: add additional clamping functions on numeric types
* add tests and replace one usage
|
|
(#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>
|
|
|