2390 Commits

Author SHA1 Message Date
Clement Tsang 9ef7b687b3 uptick: 0.12.2 (#1934) 0.12.2 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 8add5183ad docs: add banner for nightly version (#1931)
* docs: try and add notification for nightly version

* hmmm

* hmmmm

* I forgot to run the banner

* fix spacing

* some more comments

* fmt
2025-12-26 00:58:11 -05:00
Clement Tsang 95b92892f3 docs: fix nightly redirect hook script (#1929)
Fix incorrect scoping.
2025-12-25 20:00:39 -05:00
Clement Tsang 4d34265971 docs: add nightly release redirect hook (#1928)
* docs: update copyright year

* docs: add nightly release redirect

* trigger docs in nightly

* workflow_call

* chmod

* fix for potential time delay?

* fix post release too

* prune runs that ran today too

* update docs
2025-12-25 19:57:38 -05:00
Clement Tsang e0eed14da3 ci: keep three days of nightly builds at once (#1926)
Might be a better experience to have 3 days of builds available as
opposed to pruning them every day.
nightly-e0eed14d-1766709747
2025-12-25 16:59:52 -05:00
Clement Tsang b6d425a829 docs: bump mkdocs material to 9.7.1 (#1927) 2025-12-25 16:44:04 -05:00
Clement Tsang d6f05157c4 docs: add some info on winget (#1925) 2025-12-25 15:42: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 d6deeff12c ci: add install check in release pipeline (#1923) 0.12.1 2025-12-25 11:43:08 -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 2ff9d8fda2 ci: fix post-release doc job (#1918) 2025-12-25 01:34:37 -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 8da4a84ea8 other: update changelog and deployment release template (#1917)
* other: update changelog and deployment release template

* also update pr example for schemastore
2025-12-25 01:07:30 -05:00
Clement Tsang af5eccc07f ci: revert a few script changes in release CI (#1916) 0.12.0 2025-12-24 23:47:39 -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
Clement Tsang 109506c70d ci: bump android cross version and build in releases (#1914)
Realized I never actually build it in my build CI. This also updates the git version of cross used. I may end up using this for everything to be honest, since the stable version of cross used is ancient.

Note that this is built like it is in normal CI, and that is with no default features.

This PR also enables loong in normal CI, which I forgot to do earlier.
2025-12-24 17:55:24 -05:00
Clement Tsang fee2d72088 ci: add loongarch64 to build CI job (#1913)
* ci: add loongarch64 to build CI job

* update changelog

* hmmm

* cleanup

* ahhh
2025-12-24 17:41:58 -05:00
Clement Tsang d458d1958b other: fix some config code for nice/priority (#1911)
* other: fix some config code for nice/priority

* driveby change from cfg(target_family=unix) to just cfg(unix)

* remove nice as a default for now
2025-12-21 15:22:00 -05:00
Clement Tsang fe2a5c559b bug + refactor: clean up query code, fix bug around quotes (#1910)
* refactor query error to another file

* refactor and/or/prefix

* more refactoring and tests

* clippy

* more tests

* even more tests

Also add some comments with context about some tests.

* todo and comments

* fix a bug around quote parsing

* update changelog

* add comment

* add comment

* update changelog
2025-12-21 15:13:15 -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 0160251e29 docs: add warning about copr being unmaintained (#1909)
* docs: add warning about copr being unmaintained

* driveby doc update as well

* formatting
2025-12-21 00:47:49 -05:00
Clement Tsang 9b9262b3cb ci: test workaround to immutable release issue on nightly (#1907)
Workaround is to create nightly as a draft and then use `gh` to manually publish it after. Also a lot of other small fixes.
2025-12-20 21:34:11 -05:00
Clement Tsang d7966473ea ci: add retries for the FreeBSD VM jobs (#1908)
* ci: add retries for the FreeBSD VM jobs

* hmmm it's running 3 times

* also apply to build + fix extra continue-on-error
2025-12-20 19:27:18 -05:00
Clement Tsang 8629468e45 ci: use scripts in more places in CI (#1906)
* move cirrus release script

* update a few other places
2025-12-20 18:53:36 -05:00
Clement Tsang 469947a61e other: update nightly schema (#1905) 2025-12-20 22:55:30 +00: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
Clement Tsang 9f01c1e00a other: disable skip CI for all-contributors (#1901) 2025-12-14 16:24:27 -05:00
allcontributors[bot] 8e2aaa0ea1 docs: add thunze as a contributor for maintenance (#1900)
* docs: update README.md

* docs: update .all-contributorsrc

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2025-12-14 16:14:50 -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 9d706190e4 docs: update changelog as of 2025-11-30 (#1895) 2025-11-30 19:08:53 -05:00
allcontributors[bot] 834795c81b docs: add gitgoggles as a contributor for code (#1894)
* docs: update README.md

* docs: update .all-contributorsrc

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2025-11-30 19:05:28 -05:00
gitgoggles 6c81caffd2 feat: enter key can be used to close process search widget (#1890)
Added the ability to press Enter after typing a search term in the Proc widget, making it more Vim-like for those with muscle-memory for Vim's '/' search.
2025-11-30 19:04:56 -05:00
Clement Tsang 3d2832a5d5 ci: require all actions to be pinned (#1893) 2025-11-30 18:42:39 -05:00
allcontributors[bot] 0246c39128 docs: add oxyzenQ as a contributor for doc (#1892)
* docs: update README.md

* docs: update .all-contributorsrc

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2025-11-30 16:44:08 -05:00
rezky_nightky f277dff2b2 fix: correct spelling across docs, comments, and configs (#1891) 2025-11-30 16:42:06 -05: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 316a3c0564 ci: run default feature tests in FreeBSD as well (#1884)
* ci: run basic tests in freebsd as well

* oops a space

* actually test
2025-11-23 00:54:24 -05:00
Clement Tsang a8f65a8065 other: add very basic test for data collection (#1883) 2025-11-22 23:57:06 -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 85af7ba50d ci: skip clear cache if the PR is a fork (#1880) 2025-11-17 06:21:35 -05:00
Clement Tsang 3ee950003b other: update the PR template (#1879) 2025-11-17 06:14:06 -05:00
Clement Tsang 21a63f8e76 docs: update changelog (#1878) 2025-11-17 06:05:29 -05:00
Adarsh Das 45b2522929 feature: add readonly mode (#1861)
* init

* Fixed code smells

* Updated documentation as per feedback
2025-11-17 06:03:46 -05:00
Clement Tsang daafd2fa36 other: update the PR template (#1877) 2025-11-17 05:50:59 -05:00
Clement Tsang d2b2c2a414 docs: update changelog as of 2025-11-16 post-0.11.4 (#1875) 2025-11-16 18:20:18 -05:00