316 Commits

Author SHA1 Message Date
Clement Tsang 711584badd deps: bump rand to 0.8.6 (#2043)
See https://github.com/rust-random/rand/issues/1770. We were basically
never going to hit this edge case anyway but might as well.
2026-04-18 06:33:09 +00:00
Clement Tsang 8353f15a55 refactor: effectively vendor nohash (#2019) 2026-04-11 04:55:33 -04:00
Clement Tsang bce84d8db4 deps: bump some unicode-related dependencies (#2011) 2026-04-05 20:20:19 +00: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 f753a90c03 deps: bump lockfile deps as of 2026-02-06 (#1973) 2026-02-06 05:51:04 +00:00
Clement Tsang f6b8a88d14 deps: bump root deps as of 2026-02-06 (#1972) 2026-02-06 00:37:28 -05:00
dependabot[bot] a53af4ed51 build(deps): bump lru from 0.16.2 to 0.16.3 (#1952)
* build(deps): bump lru from 0.16.2 to 0.16.3

Bumps [lru](https://github.com/jeromefroe/lru-rs) from 0.16.2 to 0.16.3.
- [Changelog](https://github.com/jeromefroe/lru-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jeromefroe/lru-rs/compare/0.16.2...0.16.3)

---
updated-dependencies:
- dependency-name: lru
  dependency-version: 0.16.3
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* empty commit

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Clement Tsang <34804052+ClementTsang@users.noreply.github.com>
2026-01-08 21:07:53 -05:00
Clement Tsang 2f0e9dea99 uptick: 0.12.3 (#1945) 2025-12-31 17:46:26 -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 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 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
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 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 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 b87f45a9c5 other: fix lockfile (#1798) 2025-08-19 23:45:48 +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
Clement Tsang 881d609f31 deps: bump dependencies as of 2025-06-09 (#1739)
* deps: bump root dependencies

* bump lockfile
2025-06-09 03:28:01 -04:00
Clement Tsang 1769ee0987 deps: bump sysinfo to 0.35 (#1738)
* deps: bump sysinfo, fix cpu

* fix things for at least Linux

* bump some other stuff

* more things

* windows

* more stuff

* display

* ahhhh it's not stable

* redundant f32

* fix freebsd
2025-06-09 03:00:09 -04:00
Clement Tsang 3d35d08347 deps: bump root deps as of 2025-06-01 (#1734)
* deps: bump root deps as of 2025-06-01

* update schema generation

* update config file link too

* rerun
2025-06-01 19:49:05 -04:00
Clement Tsang 7e0c6aa286 deps: bump deps as of 2025-05-25 (#1729)
* docs: update README to remove check badge

* deps: bump deps as of 2025-05-25

* deps: bump lock deps as of 2025-05-25
2025-05-26 00:05:38 +00:00
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 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
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
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