summaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)Author
2023-01-02ci: add build hash to nightly builds for version (#951)Clement Tsang
This adds the build hash to the btm -V output for nightly builds, making it easier to troubleshoot when someone might have obtained a nightly build, and what commit it corresponds to.
2023-01-01feature: split usage into usage percentage and value (#950)Clement Tsang
Denotes both usage and usage percentage. This also redoes the calculation for percentage to be based on the sum of avail + used, rather than on total, as otherwise we get potentially confusing percentages.
2023-01-01other: run rustfmt (#949)Clement Tsang
2022-12-31docs: update demo to 0.7.0 (#941)Clement Tsang
* docs: update demo to 0.7.0 * update again
2022-12-31bug: fix search scrolling with wider Unicode characters. (#938)Clement Tsang
This should help make search scrolling more reliable larger Unicode characters like CJK/flag characters.
2022-12-30other: use custom time chart grid implementation (#937)Clement Tsang
Pulls in the tui-rs grid logic so I can implement custom braille painting logic. We basically "flatten" the layering logic into a single layer by replacing resetting cells if the colour is different. This avoids the multiple allocations if we used multiple layers as intended with tui-rs. This gives us chart results similar to the current stable version, but with a flamegraph similar to the current master branch.
2022-12-30ci: clean all workflow caches to script (#936)Clement Tsang
2022-12-27bug: fix dot marker setting not being considered (#934)Clement Tsang
* bug: fixes marker settings being ignored while rendering time charts * appease clippy
2022-12-07docs: update changelog + docs for default expansion feature (#928)Clement Tsang
2022-12-06feature: Adding default expanded option to commandline and config (#919)Chon Sou
* [#822] adding default expanded option to commandline and config * refactoring (#919) * nullifying default expanded when in basic mode (#919)
2022-12-05other: add a redraw event on resize (#926)Clement Tsang
2022-12-05bug: fix incorrect text width calculation (#925)Clement Tsang
* bug: fix incorrect text calculation * actual fix, add tests * appease clippy * add link to inspiration
2022-12-03other: don't draw on non-updating events (#924)Clement Tsang
2022-11-29other: slightly reduce the CPU time spent for draws (#918)Clement Tsang
* other: group all dataset draws in a time chart We used to draw each data set separately as a new canvas. Now, in one canvas, we draw all datasets. Note that this changes how dataset lines are drawn - rather than drawing one on top of another, it now draws kinda all at once. This effect is *kinda* a bit better IMO, but it might also look a bit more cluttered. * other: optimize truncate_text Flamegraphs showed that this area seems to be a bit heavy at times with some inefficient use of iterators and collection. This change should hopefully optimize this a bit by reducing some collections or reallocations. There can also be some further optimizations with less allocations from callers. * Reduce some redundant draws
2022-11-28refactor: move widgets out of the app folder nesting (#917)Clement Tsang
Moves the widget folder away from being nested in the app hierarchy.
2022-11-26bug: fix possible gaps with widget layout spacing (#916)Clement Tsang
Fixes an occasional gap appearing due to how rect spacing was previously calculated.
2022-11-22other: change non-normalized shortcut (#912)Clement Tsang
2022-11-21bug: fix reading temperature from disabled devices (#911)database64128
2022-11-21other: non-normalized process CPU% cleanup and docs (#910)Clement Tsang
* refactor: simplify non-normalized code * update docs * appease clippy * add comment * unnormalized * fix issues on non-Linux regarding typos/imports
2022-11-21other: don't use manual map for color name mapping (#908)Clement Tsang
* other: don't use manual map for color name mapping I actually don't know why I was doing it like that before. This commit removes the phf crate, as it's not needed anymore. * update test
2022-11-21feature: per-core process cpu usage percentage (#899)database64128
2022-11-20other: update Debian extended descriptionClementTsang
2022-11-20bug: fix is_nan being incorrectly used to check for division by zero (#905)Clement Tsang
2022-11-20other: clean up some strings (#904)Clement Tsang
* other: clean up some strings * formatting
2022-11-20other: some cleanup in proc widget (#903)Clement Tsang
2022-11-19other: small linux process cleanup (#902)Clement Tsang
2022-11-19other: shrink the timed data vector in addition to clearing (#900)Clement Tsang
Should prevent the times series vector from possibly growing indefinitely.
2022-11-17other: deduplicate sorts, always sort proc by PID first (#898)Clement Tsang
* other: deduplicate sorts, sort proc by PID by default * add proc test * remove sort in Windows * fix tree * fix test * Remove mut * Add comment on sorting processes
2022-11-17bug: redirect stderr on FreeBSD to avoid drawing on UI (#897)Clement Tsang
2022-11-13deps: update sysctl to 0.5.2, procfs to 0.14.1 (#894)Clement Tsang
2022-11-13other: remove flume (#893)Clement Tsang
In hindsight, pulling in flume is probably overkill and doesn't really help much.
2022-11-13feature: add custom retention periods for data (#892)Clement Tsang
* feature: add custom retention periods for data * docs: update changelog * docs: update docs
2022-11-11other: remove the mouse throttler except for scroll events (#886)Clement Tsang
The throttler is only really needed for scrolls (e.g. free scroll wheels in Logitech mice), I don't really see it being needed in any other contexts. Moves/drag is another one I guess but we outright ignore those events right now.
2022-11-10refactor: run cargo +nightly fmt with group_imports (#885)Clement Tsang
* refactor: add some disabled unstable fmt options * run cargo +nightly fmt with group_imports * separate out the cfg-specific imports for clarity
2022-11-10other: try using flume for channel (#884)Clement Tsang
2022-11-10feature: search paste support (#881)Clement Tsang
* feature: add pasting to search Supports pasting events to the search bar (e.g. shift-insert, ctrl-shift-v). * update docs * clippy * comment * Update process.md * remove keyboard event throttle * fix issues with cjk/flag characters
2022-11-08deps: Update tui to 0.19.0 and crossterm to 0.25.0 (#878)Clement Tsang
* deps: update tui to 0.19 and crossterm to 0.25 * fix error * handle breaking changes
2022-11-06ci: add cache clearing to PR merges (#874)Clement Tsang
* ci: add cache clearing to PR merges * some renaming * small change to force cache * add manual run option
2022-11-06bug: fix spacing for disk table widget headers when sortingClementTsang
2022-11-06feature: basic sortable disk (#870)Clement Tsang
2022-11-05feature: basic sortable temp (#868)Clement Tsang
* feature: basic sortable temp * add shortcuts * fix missing shortcut names in header * update changelog * update docs
2022-11-05deps: update nvml to 0.8.0 (#869)Clement Tsang
2022-11-04refactor: clippy and small cleanup/comments (#865)Clement Tsang
* refactor: small cleanup and comments in some code * clippy * more clippy * fixes for macos/freebsd
2022-11-02More human friendly temperature sensor naming (#807)Diana
* More human friendly temperature sensor names This makes the names more human friendly, and possible to distinguish from each other * Keep hwmon sensor name for GPUs * Keep hwmon sensor name for non-GPUs too * fix device path
2022-11-02refactor: move data passing for table to another step (#863)Clement Tsang
* refactor: remove redundant scroll direction enum This was made redundant from the table refactor. * add some todos/docs * refactor: temp hack to pass in data on process
2022-10-20feature: Implement PgUp and PgDown in the help dialog. (#841)lroobrou
2022-10-16refactor: move some state code around (#839)Clement Tsang
2022-10-16enable gpu mem cli and update docs for arc/gpu mem (#836)Justin Martin
2022-10-15Revert "refactor: remove heim network usage (#833)"ClementTsang
This reverts commit 913562e7e6867e3eb32cdb034792e01cb6e98e81.
2022-10-15refactor: remove heim network usage (#833)Clement Tsang