Commit Graph

423 Commits

Author SHA1 Message Date
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 98342617a1 refactor: update how we render and handle process kill dialogs (#1701)
* fmt

* temp work

* get yes/no working

* cleanup

* fill out some more buttons

* conditional compilation

* update

* update docs

* wait this just works

* like 80% of the way there

* some stuff around the killing screen

* mouse works

* done!

* clippy

* more stuff

* fix some imports for windows

* android fixes

* oop

* ahh

* hmm
2025-06-08 04:46:31 -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 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 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 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
Clement Tsang 1edd8d81ed deps: bump Cargo.toml and Cargo.lock dependencies (#1659)
* deps: bump dependencies

* update lockfile dependencies
2025-01-18 03:23:06 +00:00
Clement Tsang c9ffc41e51 deps: bump dependencies (#1656) 2025-01-07 00:44:48 -05:00
Clement Tsang 3ca753f4b9 deps: bump root deps as of 2024-12-20 (#1648)
* deps: bump root deps as of 2024-12-20

* remove deprecated code
2024-12-20 03:17:27 -05:00
Clement Tsang 0d182e4b3a feature: support custom widget borders (#1642)
* run a dep bump

* add widget border type

* feature: support custom widget borders

* fmt

* remove none since it looks really bad

* fix bug with title for tables with no title when expanded

* fix jsonschema

* fix some unused stuff
2024-12-05 06:52:55 +00:00
Clement Tsang ae0d350122 refactor: a bunch of cleanup of dead code and misc. stuff (#1634)
* refactor: lines

* shift around some stuff in Cargo.toml

* some docs

* some more cargo stuff

* clean up a bunch of stuff after making things less public

* clippy lints

* a lot more cleanup

* clippy

* fix some errors

* fix for windows
2024-11-28 22:42:17 +00:00
Clement Tsang 991cc3eed8 refactor: clean up some clippy lints from 1.83 (#1632) 2024-11-28 19:16:15 +00:00
Clement Tsang 24cb8a417c refactor: move schema generation to its own binary, go back to lib-bin (#1630)
* refactor: separate schema generation to its own binary, go back to lib-bin setup

Decided it might be nicer to separate the schema generation bit to its
own binary. This does mean that we have to go back to the lib-bin
system, as otherwise passing shared code is _really_ hard.

* handle versioning

* run fmt
2024-11-28 08:05:25 +00:00
Clement Tsang 103c4f6ab4 deps: bump various dependencies (#1621)
Bumps various dependencies, including ratatui
2024-11-14 09:23:07 +00:00
Clement Tsang 16a2fd6a41 deps: bump to ratatui 0.28 (#1618)
* deps: bump ratatui to 0.28, and crossterm to 0.28

* fix warnings
2024-11-03 16:11:00 +00:00
Clement Tsang 4f92ffc1cc deps: bump lock and some root deps (#1616) 2024-11-03 10:37:02 -05:00
Clement Tsang 776f8cb3d3 refactor: bump 'msrv' to 1.81 and update deprecated code (#1615)
* refactor: ignore warning for deprecated panic hook from Rust 1.82.0

* refactor: bump 'msrv' to 1.81 and update deprecated code

* some more cleanup

* even more cleanup
2024-11-01 17:51:12 +00:00
Clement Tsang 76fb7598e9 deps: bump lockfile deps (#1608)
* deps: bump lockfile deps

* left one
2024-10-15 02:03:13 +00:00
Clement Tsang 318ed9fd6f deps: bump starship-battery to 0.10.0 (#1607) 2024-10-14 21:53:44 -04:00
Clement Tsang 4189ae0935 deps: bump a few root deps (#1606) 2024-10-15 01:00:57 +00:00
Clement Tsang 4e47f9b51a bug: fix incorrect default config definitions for chart legends (#1594)
I had changed how this was parsed in-code but I forgot to update the default configs. This also adds some e2e tests to hopefully catch this all for real in the future, since the schema ones don't catch this stuff and the constants test doesn't actually run the binary for a proper e2e test.
2024-09-12 09:51:23 +00:00
Clement Tsang d20dc49c95 deps: bump a few root deps (#1587) 2024-09-09 02:24:51 +00:00
Clement Tsang c9a99886a5 deps: bump a few root deps as of 2024-09-03 (#1582)
* deps: bump a few root deps as of 2024-09-03

I didn't touch the TUI ones (crossterm, ratatui) or sysinfo for now.

* also run cargo update
2024-09-03 21:58:34 -04:00
Clement Tsang 2ec1fb56c9 uptick: 0.10.2 (#1544) 2024-08-05 20:28:17 -04:00
Clement Tsang 2f102bc1aa uptick: 0.10.1 (#1527) 2024-08-01 15:56:39 +00:00
Clement Tsang 8afae3fbe8 uptick: 0.10.0 (#1510)
* uptick: 0.10.0

* docs: fix changelog

* bump lockfile

* match clap

* add/update schema

* add note
2024-08-01 02:45:57 -04:00
Clement Tsang e4eb69dbd5 deps: bump deps as of 2024-07-027 (#1507)
* deps: bump root deps as of 2024-07-027

* bump lockfile
2024-07-27 01:39:22 -04:00
Clement Tsang 1208c459e4 refactor: remove time as a dependency outside of logging (#1506)
I was mostly just using the time crate for local log debugging and just to avoid converting seconds to h/m/s.

This PR makes it so we are only using it for local log debugging.
2024-07-26 05:12:29 +00:00
Clement Tsang 01c0c33451 other: include a toolchain file from now on (#1503) 2024-07-26 01:02:54 +00:00
Clement Tsang 29029b86fb refactor: remove BottomError (#1498)
* refactor: remove BottomError

* remove thiserror

* some cleanup

* forgot to remove this
2024-07-22 07:30:03 +00:00
Clement Tsang df569b2319 deps: bump deps as of 2024-07-03 (#1490)
* deps: bump root deps as of 2024-07-03

* deps: bump Cargo.lock as well
2024-07-04 04:50:05 -04:00
Clement Tsang 28416ddb57 deps: bump root + lock deps as of 2024-06-27 (#1488)
* deps: bump root deps as of 2024-06-27

* deps: bump lock as well

* also bump unicode_ellipsis
2024-06-27 23:40:05 -04:00
Clement Tsang 615ae1a3a8 deps: bump root deps and lockfile as of 2024-06-19 (#1486)
* deps: bump deps as of 2024-06-19

* bump lock as well

* fmt
2024-06-19 14:04:51 -04:00
Clement Tsang 3602429529 other: add schema test for uncommented default config (#1484)
* other: add schema test for uncommented default time

* ahhh

* forgot to disable this
2024-06-17 00:59:36 -04:00
Clement Tsang 7666a09162 feat: add way to automatically generate new json schemas (#1482) 2024-06-16 19:28:24 -04:00
Clement Tsang 982b7181a6 change: change how disk, temp, and net filters in config are set (#1481)
* change: change how disk, temp, and net filters in config are set

* run rustfmt

* update default config
2024-06-16 02:15:36 -04:00
Clement Tsang 46520d8b4e uptick: 0.10.0 (#1479)
Note that I'm not releasing 0.10.0 _yet_, will do so after a few more
changes are done.
2024-06-06 22:06:53 -04:00