Commit Graph

2230 Commits

Author SHA1 Message Date
Clement Tsang 33e070bfa3 deps: bump root and lock deps as of 2025-04-29 (#1726)
* bump root deps

* bump lock
2025-04-29 04:42:31 +00:00
Clement Tsang b1be6b2cb9 ci: update the cross version for the Android CI test (#1725) 2025-04-21 03:47:16 -04:00
Clement Tsang 7b95977e5a deps: bump lock deps as of 2025-04-20 (#1722) 2025-04-21 07:46:57 +00:00
Clement Tsang 34feeafe17 deps: bump root deps as of 2025-04-20 (#1721) 2025-04-21 07:33:54 +00:00
allcontributors[bot] 16ae12ff7b docs: add nyurik as a contributor for code, and doc (#1724)
* docs: update README.md [skip ci]

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

* fix things

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
Co-authored-by: ClementTsang <34804052+ClementTsang@users.noreply.github.com>
2025-04-21 07:13:07 +00:00
Yuri Astrakhan 729f714bf9 feature: allow left to collapse trees and right to expand them (#1306)
Allow using the left arrow to collapse a tree branch in the process widget, or a right arrow to expand it.

---------

Co-authored-by: Clement Tsang <34804052+ClementTsang@users.noreply.github.com>
2025-04-21 03:01:18 -04:00
Clement Tsang 86b7ef331e feature: support delete key to kill processes (#1717)
* feature: support delete key to kill processes

* clippy

* Changelog

* fn + delete
2025-04-19 06:51:49 +00:00
Clement Tsang 508f05b640 bug: revert accidental time start change from another commit (#1716) 2025-04-14 02:21:42 -04:00
Clement Tsang 146b8596cf refactor: some refactoring while stable graphs (#1715)
* update grids

* asdfadf

* asdf

* b

* update loggers

* some formatting and refactoring

* docs

* some comments

* more docs
2025-04-14 06:13:20 +00:00
Clement Tsang c68b190388 bug: fix incorrect disable mouse click condition on cleanup (#1713)
Looks like a bug slipped through in #1706 so when stopping the program click events would continue. I could just fix the condition but I think it's fine to just unconditionally disable click events on cleanup.
2025-04-10 23:53:55 +00:00
Clement Tsang 69a4b59573 other: fix clippy warnings (#1712) 2025-04-10 23:20:11 +00:00
Grace Stok d50285075d docs: name change in contributor list (#1709) 2025-04-04 16:30:10 -04:00
allcontributors[bot] 60aac16ff0 docs: add benjamb as a contributor for code (#1707)
* docs: update README.md [skip ci]

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

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2025-03-30 12:28:38 -04:00
Ben Brown 3330c1f1e7 fix: Disable mouse capture when disable_click is set (#1706) 2025-03-30 12:28:21 -04:00
Clement Tsang f8b8a21748 docs: use local link in docs to reference itself & missing CPU config (#1704)
* docs: use local link in docs to reference itself

* also fix missing cpu config docs
2025-03-28 04:22:40 +00:00
Clement Tsang dd995c170f docs: bump docs requirements.txt (#1702) 2025-03-28 04:05:52 +00:00
Clement Tsang b1f969880e other: remove comment about skipping timeseries in basic (#1700)
Turns out I already did this. Nice.
2025-03-28 03:56:24 +00:00
Ada Ahmed 37a546ab0f other: update amdgpu marketing names and trim excess keywords (#1692) 2025-03-21 20:04:31 -04:00
Clement Tsang a90490fe83 docs: update README and autocomplete docs (#1699)
* formatting

* update autocomplete
2025-03-21 09:21:04 +00:00
Clement Tsang 40087d1203 docs: image tags are hard (#1698)
* docs: image tags are hard

* come on what

* ??

* img
2025-03-21 05:01:30 -04:00
Clement Tsang 95ac255557 docs: update thanks again (#1697)
It's thankin' time
2025-03-21 04:57:38 -04:00
Clement Tsang 235fd837a3 docs: update thanks (#1696) 2025-03-21 04:36:51 -04:00
Clement Tsang 2afd32fbb0 docs: update font-related troubleshooting (#1695) 2025-03-21 02:56:19 -04:00
Clement Tsang 5e95f8fac8 deps: bump lock deps as of 2025-03-19 (#1691) 2025-03-20 02:29:01 +00:00
Clement Tsang 769372ead6 deps: bump root dependencies as of 2025-03-19 (#1690)
* deps: bump root deps as of 2025-03-19

Tried this with cursor, worked alright after some nudging.

* looks like it missed a few

* nvm it missed a lot
2025-03-20 01:03:20 +00:00
Julius Enriquez a608a1bf83 docs: Add Alpine Linux installation instructions (#1689) 2025-03-10 10:23:11 -04:00
allcontributors[bot] a02257e6af docs: add win8linux as a contributor for doc (#1688)
* docs: update README.md [skip ci]

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

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2025-03-10 02:45:05 -04:00
Julius Enriquez 5442529888 docs: Add openSUSE installation instructions (#1687) 2025-03-10 02:44:55 -04:00
Clement Tsang 3113c24e37 other: allow for hyphen versions of arguments to be used (#1686)
This PR allows both args like `--autohide-time` _and_ `--autohide_time` to work.
2025-03-06 04:59:50 +00:00
Clement Tsang 05e1adc0b4 docs: Update CHANGELOG.md for #1683 (#1685) 2025-02-28 04:07:19 -05:00
allcontributors[bot] 40cc08d6d9 docs: add mtoohey31 as a contributor for code (#1684)
* docs: update README.md [skip ci]

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

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2025-02-28 04:05:54 -05:00
Matthew Toohey f8cfd962f3 fix: prevent graph lines from showing up behind legend (#1683)
* fix: prevent graph lines from showing up behind legend

* use cell_mut instead
2025-02-28 09:00:08 +00:00
Clement Tsang d2177ed022 refactor: don't duplicate AMD GPU temperature retrieval (#1682)
* some file/struct renaming

* refactor: don't get AMD gpu temperatures twice
2025-02-23 06:21:12 +00:00
Clement Tsang f7d070f944 refactor: somewhat migrate to Rust 2024 edition (#1681)
* refactor: try bumping to rust 2024 edition

* now run nightly fmt

* fix some macos changes

* only apply a few of these settings
2025-02-22 02:12:08 +00:00
Clement Tsang 9999a4824a docs: update documentation around how grouping processes and tree mode are incompatible (#1679)
* update default config

* use info, not note
2025-02-21 11:04:08 +00:00
Clement Tsang 393c24d303 docs: bump mkdocs-material to 9.6.5 (#1680) 2025-02-21 05:49:13 -05:00
Clement Tsang d63ca07cae refactor: clean up some file structure, process code, and terminal cleanup (#1676)
* move widgets

* reduce allocations needed

* ah

* more possible optimizations around reducing allocs

* some fixes

* I forgot to clear the buffer oops

* missing

* only run terminal cleanup after certain point
2025-02-15 02:32:09 -05:00
allcontributors[bot] 2b5441ca8b docs: add SigmaSquadron as a contributor for doc (#1675)
* docs: update README.md [skip ci]

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

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2025-02-13 13:25:57 -05:00
Fernando Rodrigues 7f98651541 docs: update Nix install instructions (#1674)
This commit contains the following changes:
1. Corrects the source of the package in the Nix instructions: `bottom` isn't coming from `nix-community`, but Nixpkgs itself.
2. Updates the Nix install instructions to use the new Nix CLI.
3. The original link was pointing to a home-manager module for bottom. We now include instructions on how to enable said module.
2025-02-13 13:25:45 -05:00
Clement Tsang 702775f58d refactor: use nonzero in mem data (#1673)
* refactor: use nonzerou64 for mem data

* clippy

* comment
2025-02-12 05:58:15 +00:00
Justin Martin 22fbd7d630 other: return None when mem_total is zero (#1667) 2025-02-07 19:02:07 -05:00
Clement Tsang ec1a4cb7e5 refactor: move conversion code to utils (#1671) 2025-02-07 01:54:03 +00:00
Clement Tsang a82d8578cf fix/other: fix bug with network y-axis labels and cache height calculations (#1670)
* test

* implement network height calc caching
2025-02-06 20:29:06 -05:00
Clement Tsang 8ac03b5962 other: don't collect time series data in basic mode (#1669)
Ideally I also introduce a way to ensure basic mode widgets straight up
cannot accidentally access ts data, but this works for now.
2025-02-06 19:21:18 -05:00
Clement Tsang 43a4a36429 pkg: add completion files to winget/msi installer (#1666)
* pkg: add completion files to winget/msi installer

* hmmm

* hmmmm

* oh lol
2025-02-04 06:43:21 +00:00
Clement Tsang f3a2067a78 docs: mention conda as an install option (#1665) 2025-02-03 19:20:23 -05:00
Clement Tsang d6ad688ab8 refactor: use cow for disk widget io read/write strings (#1664) 2025-02-03 06:48:12 +00:00
Clement Tsang 837e23560f refactor: points rework (v1) (#1663)
* refactor: add new method of storing timeseries data

* mostly finish adding data

* tmp

* migrate over to separate lib

* prepare to migrate over to new timeseries storage

* prepare to migrate frozen state

* migrate frozen state

* name

* migrate data collection

* migrate network

* fix some stuff

* fix a panic from bad pruning

* Fix pruning issues

* migrate RAM

* migrate swap

* migrate cache label

* refactor out to function

* migrate ram points

* migrate swap points

* migrate cache points

* migrate arc

* migrate gpu, remove a bunch of state code around force update

* rename cache, also some comments

* some temp cleanup

* migrate disk

* comments to remind me above fixmes, fix bug around time graph spans

* migrate load avg

* port temps

* style

* fix bug wiwth left edge gap

* partial migration of cpu, reorganize data file structure

* migrate cpu

* some cleanup

* fix bug with cpu widget + clippy

* start some small optimization work

* fix some things for some platforms

* refactor: rename data_collection to collection

* refactor: only process temp type in data eat step

* flatten components folder a bit

* partially migrate to new graph system and fix cpu bug

* driveby migration of process list to reduce allocs + more migration of points drawing

* revert the collection change

Forgot that I cut a new `Data` on each collection so that change was
useless.

* port over network stuff...

* fully migrate network, and fix some log bugs while we're at it

This is something I never noticed, but the log of 0 is inf - so there
were gaps in the lines when using log scaling!

* fix cpu colour in all mode

* clean up some disk table stuff
2025-02-03 06:34:58 +00:00
allcontributors[bot] 0aae119cfa docs: add fgimian as a contributor for code, and doc (#1662)
* docs: update README.md [skip ci]

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

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2025-01-18 15:28:43 -05:00
Fotis Gimian cf91c73b60 feature: make it possible to override generate dirs via env (#1658) 2025-01-18 15:27:24 -05:00