2297 Commits

Author SHA1 Message Date
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 4416cf6b29701a67b093678e60e005de74c9642c.

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
Clement Tsang
2e6ac01f99
bug: fix parsing issue around certain disk names (#1755)
* bug: fix parsing issue around certain disk names

Turns out that in /proc/mount disk names may have weird escape
characters - these need to be changed when parsing it.

* update changelog

* back to the slow

* Add test
2025-07-17 02:15:55 +00:00
Clement Tsang
4605e88927
ci: replace windows-2019 runner with windows-2022 (#1756)
As it's deprecated and causing problems.
2025-07-17 02:02:38 +00:00
Clement Tsang
16b805b0a2
deps: bump root and lock deps (#1751) 2025-07-06 21:31:36 +00:00
allcontributors[bot]
fe13ef8997
docs: add kachick as a contributor for code (#1750)
* 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-01 11:27:03 -04:00
Kenichi Kamiya
d057fd141b
bug: fix invalid values in desktop file (#1749)
The current desktop file caused an error and a hint from `desktop-file-validate` 0.28.
This commit addresses those issues:

- The "Version" field must be empty or a desktop entry specification version (e.g., 1.0, 1.5),
  not the tool's version.
- The "Categories" field should only contain one main category to avoid warnings.

ref: https://specifications.freedesktop.org/desktop-entry-spec/1.5/recognized-keys.html
2025-07-01 11:26:55 -04:00
Clement Tsang
0f878c4ae2
refactor: fix clippy warnings for 1.88.0 (#1748) 2025-06-26 22:47:56 +00:00
Clement Tsang
760a2bc884
deps: bump root and lock deps (#1747) 2025-06-25 04:41:08 +00:00
Clement Tsang
16f7084f94
docs: actually fix actions shield (#1745) 2025-06-21 01:35:25 -04:00