Commit Graph

465 Commits

Author SHA1 Message Date
Clement Tsang bce84d8db4 deps: bump some unicode-related dependencies (#2011) 2026-04-05 20:20:19 +00:00
Clement Tsang bb08494c12 other: use vhs to automatically record demo gif (#2006)
This PR adds a vhs "tape" file to automatically do the demo gif
recording. The point of this is to make it more consistent/easy to do,
and this has the benefit of making a smaller gif file.
2026-03-22 18:57:23 -04:00
Clement Tsang b931dd9846 deps: bump sysinfo to 0.38.4 (#2004)
Updates sysinfo to pin it to 0.38.4 from 0.38.0. Changelog can be found at https://github.com/GuillaumeGomez/sysinfo/blob/main/CHANGELOG.md#0384.
2026-03-21 20:28:13 +00:00
Clement Tsang 51a1a30111 deps: bump sysinfo to =0.38.0 (#1974) 2026-02-06 01:22:14 -05:00
Clement Tsang f6b8a88d14 deps: bump root deps as of 2026-02-06 (#1972) 2026-02-06 00:37:28 -05:00
Clement Tsang 2f0e9dea99 uptick: 0.12.3 (#1945) 2025-12-31 17:46:26 -05:00
Clement Tsang 151e4d6127 refactor: move around some files related to the time graphs (#1942)
* refactor: move around some files related to the time graphs

* fmt

* fmt again

* update changelog

* add docs for time_graph

* rename time_graph to time_chart to be consistent

* nvm, that just makes it more annoying

* fmt

* Update documentation comment for time_graph.rs

* add extra rustdoc lint as well while I'm here
2025-12-29 00:22:15 -05:00
Clement Tsang 003d625090 deps: bump lockfile as of 2025-12-28 (#1941)
* deps: bump lockfile as of 2025-12-28

* bump windows in Cargo.toml

* some refactoring
2025-12-28 19:24:18 -05:00
Clement Tsang ccc7779fc8 deps: bump root deps as of 2025-12-28, remove backtrace (#1940)
* deps: bump root deps as of 2025-12-28, remove backtrace

* fmt
2025-12-28 19:00:57 -05:00
Clement Tsang 26b1801c45 refactor: use ratatui 0.30.0 (#1930)
* refactor: support ratatui 0.30.0-beta.1

* 0.30.0!

* some refactoring

* ugh I broke something

* hm I think that fixes it

* fmt
2025-12-28 18:43:32 -05:00
Clement Tsang 2c25ea9363 other: remove cargo husky dev dependency (#1937)
I honestly forgot I was using this. This change just removes the
automated hook creation, the hook file still exists if anyone wants to
reference/use it in `scripts/hooks/pre-push`.
2025-12-27 23:56:03 -05:00
Clement Tsang 9ef7b687b3 uptick: 0.12.2 (#1934) 2025-12-27 11:58:56 -05:00
Clement Tsang 870d68ab3e bug: fix Windows memory leak caused by getting priority (#1933)
Looks like the issue was related to how we were getting priority in Windows, using the winprocinfo crate. This is resolved by just manually doing the windows API calls necessary.

---

* test if leak is caused by winprocinfo

* manually implement priority code

* cleanup

* update changelog
2025-12-27 11:43:43 -05:00
Clement Tsang 73b88870ec other: use Rust 2024 edition again (#1924)
* fix typo

* Reapply "refactor: migrate to Rust 2024 edition (#1678)"

This reverts commit 02384b4c56.
2025-12-25 12:05:06 -05:00
Clement Tsang 64b22b52a6 uptick: 0.12.1 (#1922) 2025-12-25 11:18:39 -05:00
Clement Tsang b96aa55a90 other: temporarily revert 2024 changes + hardcode some ratatui things (#1921)
* Revert "refactor: migrate to Rust 2024 edition (#1678)"

This reverts commit b07eb646ce.

* other: temporarily revert 2024 changes

* additionally work around some issues
2025-12-25 11:10:32 -05:00
Clement Tsang 76527e114d deps: pin ratatui 0.30.0-beta.0 for now (#1920)
Looks like the `beta.1` breaks things, so it breaks non-locked installs.

TODO: Add a test for non-locked before deploying.
2025-12-25 10:48:48 -05:00
Clement Tsang b07eb646ce refactor: migrate to Rust 2024 edition (#1678)
* refactor: try bumping to rust 2024 edition

* clippy
2025-12-25 01:17:41 -05:00
Clement Tsang 2c623399ae uptick: 0.12.0 (#1915)
* uptick: 0.12.0

* update schema generation while we're at it

* wording

* update schema generation docs

* update docs
2025-12-24 22:52:50 -05:00
Adarsh Das 102ae6b247 feat: Added priority and nice as columns in process view (#1881)
* basic priority and nice functionality

* fix fmt, clippy and tests

* trying to fix other platform build errors

* fmt fix

* trying more fixes

* clean project

* refactored nice to be for all unix systems

* few more places where I had to change cfg for Nice

* Fix scheme names issues

* fix for schema

* fmt

* fixed clippy errors

* 'nice' fix

* fmt

* fixed cfg in tests also

* trying to fix macos test errors

* fix nice value extraction for mac

* modularised nice and priority for mac and freebsd

* fmt

* more multi target to unix

* removing unnecesary guards

* added safety comments

- also reverted string array reference changes

utils fix

* weird utils clippy error fix

* removed unneeded commit

* not needed after main merge(?)
2025-12-21 14:31:43 -05:00
Clement Tsang bf60535d30 deps: update sysinfo to 0.37.2 (#1903) 2025-12-19 03:52:37 -05:00
Clement Tsang 94af05ee06 refactor: use rustc-hash and nohash (#1902)
* add nohash and rustc-hash

* use fxhash by default

* comment

* fmt

* clippy

* use nohash for pid stuff

* fix import

* fix imports again

* fix windows type for gpu pid
2025-12-19 03:42:46 -05:00
Tom b771527304 other: rename Linux icon to avoid collision with generic bottom icon (#1896)
Many icon themes, e.g. the Papirus icon theme [1], ship with a generic
icon named `bottom` under `<scale>/actions/bottom.<extension>`. This
caused the icon for the bottom application to be displayed as the
generic icon when using an icon theme that ships with it.

[1] https://github.com/PapirusDevelopmentTeam/papirus-icon-theme
2025-12-12 14:47:52 +01:00
Clement Tsang 1aaea6d71b other: make deb conflict with "btm" (#1888)
Apparently that's what's needed to fix the issue.
2025-11-24 12:39:04 -05:00
Clement Tsang c840eccae6 other: make the deb package conflict with the official "bottom" package (#1887) 2025-11-24 11:37:16 -05:00
Clement Tsang 86b35bcd79 refactor: use clippy::unwrap_used (#1882)
* refactor: use clippy::unwrap_used

* fix log format use

* fix a bunch of macos ones

* oop

* allow schema script

* driveby schema bump
2025-11-22 23:26:02 -05:00
Clement Tsang 9e061d175f uptick: 0.11.4 (#1868) 2025-11-16 14:40:46 -05:00
Clement Tsang 873ba20e68 deps: bump ratatui to 0.30.0-beta.0 (#1860)
* deps: bump ratatui to 0.30.0-beta.0

* use SpaceEvenly

* explicitly mention layout-cache

* fix changelog as driveby
2025-11-11 05:57:51 -05:00
Clement Tsang f8e598c5b9 uptick: 0.11.3 (#1853) 2025-11-06 10:09:52 -05:00
Clement Tsang e2a9ba44ab ci: validate RPM release's digest + some driveby fixes (#1851)
* ci: add a checksig for rpm release

* driveby fix for icon location

* verbose

* also test local install

* Driveby echo of rust version

* some organization

* -y

* comment

* driveby reduce verbosity

* okay that works, add this check

* run btm -V
2025-11-05 11:06:35 -05:00
Clement Tsang 49ee330116 ci: pin Rust version in CI to file (#1845)
* set the CI version to be pinned in jobs instead

* pin it to a file

* .txt

* quotes?

* todo

* bash?
2025-11-02 10:30:15 -05:00
Clement Tsang abbf751685 ci: use icon in wix (#1840)
* move icon location

* fix gitignore

* oop
2025-10-25 10:30:17 -04:00
Clement Tsang d091babbc6 other: add icon as part of .desktop file (#1839) 2025-10-24 11:10:06 -04:00
Clement Tsang 16449f2697 docs: use bottom.pages.dev (#1703)
* docs: use bottom.pages.dev

This _might_ stick, this might not. I may only do this after releasing
one more stable version. We'll see.

* fix schema
2025-10-12 07:26:22 +00:00
Clement Tsang 6dc02ea041 uptick: 0.11.2 (#1831)
* uptick: 0.11.2

* update changelog
2025-10-07 18:31:36 -04:00
Clement Tsang adc802b54c deps: bump ratatui to 0.30.0-alpha.5 (#1821)
* deps: bump ratatui to 0.30.0-alpha.5

* bump lockfile deps too
2025-09-25 01:29:31 -04:00
Clement Tsang 428d4d0cb5 deps: bump deps as of 2025-09-23 (#1820) 2025-09-24 22:29:09 -04:00
Clement Tsang c8614bf2be deps: bump deps and lockfile (#1815)
* deps: bump deps and lockfile

* fix expected error message in test

* fix some windows errors and lint stuff
2025-09-14 19:33:58 +00:00
Clement Tsang 6c62e7817f ci: build and check Windows ARM (#1801)
* ci: build and check Windows ARM

* forgot to update these

* ???

* is it the image or smth

* nope not that

* Update build_releases.yml

* Update ci.yml

* Update build_releases.yml

* fix build

* ???

* ????

* ????????

* okay that works, now just set the output file
2025-08-21 22:40:30 -04:00
Clement Tsang 6409f67dbc deps: bump deps as of 2025-08-19 (#1799)
* deps: downgrade sysinfo, bump other things

* revert sysinfo back to 0.37.0
2025-08-19 20:16:10 -04:00
Clement Tsang 0418ad6dcf other: use normal version to avoid wix issues (#1797) 2025-08-18 21:51:26 +00:00
Clement Tsang 3ff7977e6f feature: add support for threads in linux (#1793)
* feature: add support for threads in linux

* bump version too

* only enable for linux for now

* thread some things around

* update changelog

* add highlighting support

* fmt and run schema

* how did this get added

* hmmm cfg in if seems to not work

* fix updated fields

* fixes

* revert uptime rename

* some cleanup

* fix doc

* oop
2025-08-17 07:07:50 +00:00
Clement Tsang e23af2f393 other: bump btm's cargo version to 0.11.1 (#1783) 2025-08-14 23:34:14 +00:00
Clement Tsang 74ddb592e8 deps: bump deps as of 2025-08-14 (#1781) 2025-08-14 03:23:42 -04:00
Clement Tsang 0f212183fe other: skip the initial sleep on data collection initialization (#1779)
* deps: bump sysinfo

* remove sleep on startup

* missing collection set

* some logic around updating the battery list to match how it is now

* more refactoring

* oops

* forgot to initialize battery manager

* fix list updating logic + battery manager logic

* comment

* initialize should refresh list to true

* ah

* this works a bit nicer
2025-08-13 06:57:45 +00:00
Clement Tsang 868667add8 deps: bump deps as of 2025-08-11 (#1778)
* docs: update changelog

* bump deps
2025-08-12 08:47:02 +00:00
Clement Tsang 51c67ee599 other: change how we calculate swap usage in Windows (#1769)
* bump sysinfo

* other: change how we calculate swap usage in Windows

* update changelog

* update comments

* add test?

* adjust test
2025-08-03 05:25:11 +00:00
Clement Tsang 16b805b0a2 deps: bump root and lock deps (#1751) 2025-07-06 21:31:36 +00:00
Clement Tsang 760a2bc884 deps: bump root and lock deps (#1747) 2025-06-25 04:41:08 +00:00
Clement Tsang 9ba7d2c04e deps: bump dependencies (#1742)
* deps: bump root dependencies

* bump lockfile

* didn't need that tempfile dep since it's just for testing

* driveby note
2025-06-12 06:45:42 +00:00