2305 Commits

Author SHA1 Message Date
Clement Tsang 6dc02ea041 uptick: 0.11.2 (#1831)
* uptick: 0.11.2

* update changelog
0.11.2
2025-10-07 18:31:36 -04:00
Clement Tsang 7d7f1a4938 ci: use macos-15 in CI (#1828)
* ci: use macos-15 in CI

* bump in ci

* driveby fix for freebsd 15 in builds
2025-10-02 17:50:52 -04:00
Clement Tsang 3d22177de6 bug: check subtraction when calculating network widget y-axis (#1827)
This PR adds an explicit check for the case where the `Instant` is somehow too small and falls back to manually checking for the oldest visible timestamp.
2025-10-01 07:55:23 +00:00
Clement Tsang 93d49ea627 ci: update freebsd-vm to v1.2.4 (#1824)
* ci: update freebsd-vm to v1.2.4

* update builds

* Update config.yml
2025-09-25 19:38:27 -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 c5ca6a8216 ci: bump cargo-action to 0.0.7, rust-cache to 2.8.1, and rust-toolchain to e97e2d8 (#1822)
* deps: bump cargo-action to 0.0.7

* bump rust-cache and rust-toolchain

* bump
2025-09-25 00:16:17 -04:00
Clement Tsang 428d4d0cb5 deps: bump deps as of 2025-09-23 (#1820) 2025-09-24 22:29:09 -04:00
Clement Tsang be6d561d3f doc: update changelog with #1817 (#1818) 2025-09-22 18:40:28 -04:00
Piotr Kubaj 59b1db530d bug: fix build on FreeBSD on ARM / POWER (#1817)
Both ARM and POWER use unsigned char. This PR fixes `process_ext.rs` to use `libc::c_char` rather than the previous `i8`.
2025-09-17 11:37:39 -04:00
Clement Tsang e4b814fd0b refactor: optimize username cloning for Unix processes (#1816)
* refactor: rename/update comments for uid_to_username

* use arc<str> instead of cloning user repeatedly

* clippy

* oop

* oop2

* hmmm hopefully that works?

* ugh
2025-09-14 23:47:49 -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 ddc2c0fb8b docs: update changelog for #1811 (#1814) 2025-09-14 19:11:31 +00:00
Justin Martin 392a659f33 bug: skip avg cpu in basic mode with dedicated row (#1811)
update sample config
2025-09-14 14:53:30 -04:00
Justin Martin b07f940970 feature: hide k-threads (#1772)
* hide k-threads init

comment

* add config for hide_k_threads

arg help

* update docs for hide_k_threads

* add test_toggle_k_thread for process_table

* update help text and schema

* add hide_k_threads to sample_configs default

* add Virt column to sample default config

* update sample demo config column name for schema ci

* force_rerender_and_update from toggle_k_threads for updates when frozen

* use is_kernel for ProcessType

* remove todo

* Apply suggestions from code review

Co-authored-by: Clement Tsang <34804052+ClementTsang@users.noreply.github.com>

---------

Co-authored-by: Clement Tsang <34804052+ClementTsang@users.noreply.github.com>
2025-09-07 18:56:56 -04:00
Clement Tsang f1017d6f6f bug: fix issue with process name isolation on Linux (#1809)
* driveby fix for dash cmdline bin name

* fmt
2025-09-01 21:50:53 -04:00
Clement Tsang d55e1a674f docs: fix missing pages + delete old filtering page (#1806) 2025-08-29 23:27:26 -04:00
Clement Tsang a35b81a187 docs: update docs page with missing features (#1805)
* add no key setting

* do it here instead of in main loop

* add a warning

* docs: update a bunch of docs with features

* linux-only test

* oop

* skip field check for other os

* oop

* easier way of doing it

* use dead code

* oop

* huh guess I don't need it
2025-08-29 23:12:19 -04:00
Clement Tsang d799c656aa feature: support ignoring all keypresses (#1719)
* refactor

* add no key setting

* do it here instead of in main loop
2025-08-29 21:30:50 -04:00
Clement Tsang 43e1b34899 bug/refactor: draw average CPU last, refactor CPU data code (#1804)
This PR makes it so we draw the average CPU on top again. This also refactors internals to have the average CPU stored separately.
2025-08-22 04:19:03 +00:00
Clement Tsang 58a9a643a4 docs: update default config (#1803) 2025-08-21 23:31:12 -04: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 47cc0b346a bug: fix colon at end of process name for now on Linux (#1800)
* driveby use rustix

* refactor some code aeround

* bug: fix colon at end of process name for now

* clippy

* comments

* changelog

* some other changes + test

* extra test
2025-08-21 07:21:44 -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
allcontributors[bot] 1442010f1f docs: add marverix as a contributor for doc (#1792)
* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2025-08-19 19:55:04 -04:00
Marek Sierociński 3edd3e1a47 docs: Add installation with gah (#1780) 2025-08-19 19:54:44 -04:00
Clement Tsang b87f45a9c5 other: fix lockfile (#1798) 2025-08-19 23:45:48 +00: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 2578f20ce5 uptick: 0.11.1 (#1786) 0.11.1 2025-08-14 23:56:41 -04:00
Clement Tsang f846fdcc05 bug: fix reported usage spike at the start on some OSes (#1788)
* bug: fix spike at the start on some OSes

* add clean

* bake things in better I guess

* hmmm no nvm

* tiny sleep

* update changelog
2025-08-14 22:04:48 -04:00
Clement Tsang 849edf71db bug: fix issue with battery widget time and small widths (#1787)
* bug: fix issue with battery time and small widths

* changelog
2025-08-15 00:56:06 +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 c29647eaf8 ci: use cargo-deb 3.5.0 (#1782)
* ci: use cargo-deb 3.5.0

* change default location for debian release
2025-08-14 03:56:51 -04: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
Frederick Zhang 9fe558183b fix: use default disk.columns when only other disk.* configs exist (#1776)
I configured `[disk.name_filter]` and after upgrading to v0.11.0, the
disk widget became empty since `disk.columns` was parsed as an empty
vector unless I added `disk.columns` to my config as well.
2025-08-08 15:01:48 +00:00
Clement Tsang c17110caf2 ci: remove winget job (#1775)
* ci: remove winget job

Seems like it's not necessary for me to do this anymore?

* driveby update
2025-08-07 02:53:31 -04:00
Clement Tsang 65a5d5314c docs: bump mkdocs-material, hide navigation for home page (#1774) 2025-08-06 23:57:35 +00:00
Clement Tsang 858dea3e65 docs: forgot some entries in my changelog (#1773) 2025-08-06 05:04:52 +00:00
Clement Tsang 566502347e docs: update things to reference 0.11.0 in prep for release (#1765)
* docs: update things to reference 0.11.0 in prep for release

Things still missing:
- Update schema
- Release notes
- Any doc site updates?
- Any GIF updates?
- Take a pass over README?

* update schema with 0.11

* update schema with virt

* update

* update date

* an attempt and failure to update the gif

* bump freebsd

* bump

* I swear

* okay so no freebsd 15, got it
0.11.0
2025-08-06 04:09:39 +00:00
allcontributors[bot] e18217c619 docs: add Bucket-Bucket-Bucket as a contributor for code (#1771)
* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2025-08-04 19:34:19 -04:00
Clement Tsang 2132da2f8b feature: option to have process tree entries be collapsed by default (#1770)
* Add option to have process tree collapsed by default

* Fix collapse logic

* format

* tweak how it's done

* oops

* slight tweaks to the no-children collapse logic

* update schema

---------

Co-authored-by: ceres <ceres.bezuidenhout@trintel.co.za>
Co-authored-by: Bucket-Bucket-Bucket <107044719+Bucket-Bucket-Bucket@users.noreply.github.com>
2025-08-04 23:29:42 +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 4d935bdd70 feature: support virtual memory column for processes (#1767)
* quick refactor of bytes/name

* oop

* Add virt mem field

* add value

* add virtual memory columns + tests

* fix

* Changelog
2025-07-30 04:24:21 +00:00
Clement Tsang d06f239b5f docs: revert 0.11.0 docs change (#1764)
This reverts commit 4416cf6b29.

Didn't mean to merge this yet -_-
2025-07-29 04:39:01 -04:00
Clement Tsang bb0d4bdd32 refactor: refactor the data table increment position code (#1762)
* refactor: refactor the data table increment position code

* some comments

* changelog
2025-07-29 08:24:49 +00:00
Clement Tsang 4416cf6b29 docs: update things to reference 0.11.0 in prep for release (#1763)
Things still missing:
- Update schema
- Release notes
- Any doc site updates?
- Any GIF updates?
- Take a pass over README?
2025-07-29 08:16:39 +00:00
allcontributors[bot] d74d94f4e1 docs: add yahlia as a contributor for code (#1761)
* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2025-07-29 04:12:09 -04:00
yahlia 4356ab7b24 bug: fix increment for data tables if the change is greater than the number of entries left (#1759) 2025-07-29 03:52:58 -04:00