Commit Graph

278 Commits

Author SHA1 Message Date
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
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 603d8fe698 deps: bump lockfile as of 2024-12-20 (#1649) 2024-12-20 08:29:13 +00: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 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 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 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 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
Clement Tsang 8885910442 refactor: remove lib and move some things around (#1477)
A loooooong time ago (wow, it's been 4 years apparently...), I made the brilliant (/s) decision to use both lib.rs and main.rs because I was trying to add tests in the tests folder that needed private access to some functions in the src - and at the time, the only way I could think of doing so was exposing bottom as a library and a binary.

This isn't necessarily bad, but for my use case, it's pretty unnecessary nowadays (since I've moved all my tests back into the source files) and adds complexity in looking for certain things, so it's high time we move things around and remove lib.rs. I also took the time to clean up some weird code I spotted along the way.
2024-06-05 06:00:21 +00:00
Clement Tsang ee2e1fee1c refactor: use struct for args instead of builder interface (#1472)
* start moving args

* tmp

* refactor config

* port over ags

* update changelog
2024-05-27 01:16:37 -04:00
Clement Tsang 71f6136a1e deps: update deps as of 2024-05-26 (#1473)
* deps: update sysinfo to 0.30.12

* update some other dependencies
2024-05-26 23:39:54 -04:00
Clement Tsang 073ca890f7 refactor: extract unicode-ellipsis into its own crate (#1465)
* refactor: extract unicode-ellipsis into its own crate

* 0.1.4
2024-05-07 22:53:51 -04:00
Clement Tsang 398bf5930f refactor: some string-related code cleanup/refactor (#1463)
* other: organize some utility function files

* deps: remove kstring

* refactor: some naming changes

* refactor: some more small refactoring/naming changes

* simplify to_cell to return a Cow

* enable lints
2024-05-07 02:03:30 -04:00
Clement Tsang 15ed197d03 deps: bump lock deps as of 2024-04-28 (#1451) 2024-04-28 15:48:41 -04:00
Clement Tsang 6591b750f6 deps: bump deps as of 2024-04-28 (#1450)
* deps: bump deps as of 2024-04-28

* fix tests

* extra test
2024-04-28 15:27:33 -04:00
Clement Tsang 53a01ad874 deps: bump clap-related dependencies, increase unofficial msrv to 1.74 (#1445) 2024-04-11 01:53:36 -04:00
Clement Tsang aa3f80bcfa deps: bump dependencies as of 2024-04-10, including sysinfo 0.30.10 (#1444) 2024-04-11 01:39:04 -04:00
Clement Tsang c651e9a904 deps: bump dependencies as of 2024-03-23 (#1431) 2024-03-23 02:33:15 -04:00
Clement Tsang f70aff89dc deps: bump sysinfo to =0.30.7 (#1425) 2024-03-09 13:34:56 -05:00
Clement Tsang 92501d758c deps: downgrade clap and run cargo update to build on 1.70 (#1423)
bottom doesn't have an MSRV, but if we can still build on older versions
of Rust then I'm all for it. The updated clap versions didn't bring
anything interesting so there's no real issue for me to downgrade IMO.
2024-03-04 22:58:15 -05:00
Clement Tsang 26162c0414 deps: bump root dependencies as of 2024-03-04 (#1422) 2024-03-04 19:57:15 -05:00