Commit Graph

2471 Commits

Author SHA1 Message Date
ClementTsang 655a165261 clean up a bunch of stuff 2026-04-17 03:27:50 -04:00
Clement Tsang f98041ea18 docs: update changelog (#2038) 2026-04-14 01:40:46 -04:00
Ada Freya Ahmed fc7f9f4ce1 other: update amdgpu marketing names (#2037) 2026-04-14 01:40:29 -04:00
Clement Tsang 8b548ada95 refactor: run nightly fmt (#2036)
* refactor: run nightly fmt

* manually fix some multilines

* run it again
2026-04-13 05:34:53 +00:00
Clement Tsang d187559af9 refactor: generalize input field logic for easier reuse (#2035)
* add generalized input field file

* partial migration

* even more!

* app is clean

* move over canvas

* finish migrating

* fmt

* update and generate some tests

* Add test comments

* fix logic issue with me trying to avoid a second cursor

* fix delete word behaviour with unicode

* update changelog

* remove unused reset

* some test updates + cleanup

* clippy

* comment

* remove redundant shrink_to_fit
2026-04-13 01:24:24 -04:00
Clement Tsang 3545a31881 refactor: run nightly format (#2033)
Run `cargo +nightly fmt` using the nightly options (other than wrap comments).
2026-04-12 20:39:30 +00:00
Clement Tsang 92451063bc docs: update changelog (#2032) 2026-04-12 14:48:59 -04:00
Clement Tsang 0f0fa21f91 feature: show graph legend in more situations (#2031)
This PR makes it so that instead of always just hiding the entire legend if it's too big for the current size, we instead show less parts of the legend to make it fit. For example, if it's too tall, we just show less entries. If it is too wide, but other entries still would fit, we truncate the entries that are too long so they fit.

This is somewhat helpful because in the memory widget, the GPU entry at the moment is causing the legend to hide in situations where it used to not. We can also do more work to make that better, but IMO not always hiding the legend also makes sense to have in general.
2026-04-12 03:03:16 -04:00
Clement Tsang ddd8d87324 ci: fix else if -> elif typo in docs.yml (#2030) 2026-04-12 00:21:38 -04:00
Clement Tsang 0af259c878 ci: fix incorrect asset name for 2.17 linux builds (#2029)
* ci: fix incorrect asset name for 2.17 linux builds

* other stufF
2026-04-11 23:56:57 -04:00
Clement Tsang ede0070ac7 ci: fix post-release trigger + typo in post-release (#2028) 2026-04-11 23:15:29 -04:00
Clement Tsang 8f962d4bde ci: clean up doc CI jobs (#2027)
* remove unnecessary nightly release override

* unify to use docs.yml
2026-04-11 22:46:48 -04:00
Clement Tsang 056748ba9f ci: tweak workflow permissions more (#2026)
* ci: fix clear cache workflow permissions

* fix perms for deployment/nightly

* more finely scope other tasks

* fix nightly

* change name

* fix docs permissions
2026-04-11 22:50:03 +00:00
Clement Tsang 731564b656 ci: test using no permissions by default for most CI jobs + bump setup-python (#2025)
* ci: test using no permissions by default for most CI jobs

* Also require production approval for a release upload

* remove build_release individual 'job'

* tweak some stuff

* driveby bump on setup-python to 6.2.0 to fix node20 warnings

* remove bsd vm check name
2026-04-11 17:48:58 -04:00
Clement Tsang 53f0236050 ci: migrate from cirrus for 2.17 to cross (#2022)
* ci: migrate from cirrus for 2.17 to cross

CirrusCI is going to be stopped soon after the OAI acquisition, so we're
on a clock to move away from it. Thankfully, we only use it for 2.17
builds for CentOS.

Looks like supporting 2.17 is natively supported by cross
(https://github.com/cross-rs/cross/issues/680), so this PR tries to use
that to do it instead.

* it's uppercase

* use older version

* revert + pin version

* typo

* allow overriding artifact name

* update comment
2026-04-11 21:09:39 +00:00
Clement Tsang 13a36016ed ci: update rust-cache and actions/checkout with node 24 support (#2024)
Progressively updating more GHA things to work with node24.
2026-04-11 16:52:16 -04:00
Clement Tsang 336e716232 ci: replace skip-duplicate-actions with personal fork to fix node 20 warnings (#2023)
Use a personal fork of skip-duplicate-actions that bumps it to node 24.
2026-04-11 16:29:26 -04:00
Clement Tsang 8353f15a55 refactor: effectively vendor nohash (#2019) 2026-04-11 04:55:33 -04:00
Clement Tsang a797ad79c5 docs: update contribution docs (#2018) 2026-04-11 08:14:36 +00:00
allcontributors[bot] 6122daa9f4 docs: add dastarruer as a contributor for code (#2017)
* docs: update README.md

* docs: update .all-contributorsrc

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2026-04-11 08:00:50 +00:00
dastarruer 8cb217cd19 feature: add a global bg_color option for widgets (#1979)
* feature: add global bg_color option

* period

* fmt

* oops, format again

* update default config + schema

* rename field + apply it to dialogs

* update dialog to just draw once

* handle basic

* add test + some small tweaks

---------

Co-authored-by: Clement Tsang <34804052+ClementTsang@users.noreply.github.com>
2026-04-11 03:59:25 -04:00
Clement Tsang 8a38f89113 docs: add note about justifying dep changes (#2016) 2026-04-11 06:50:10 +00:00
Clement Tsang 6970f0ef61 refactor: clean up some table code (#2014)
* clean up column logic

* some more cleaning around

* clippy
2026-04-11 02:28:38 -04:00
Clement Tsang edd20d5ade docs/deps: update mkdocs-material/mike dep version (#2015) 2026-04-11 01:19:44 -04:00
Clement Tsang bce84d8db4 deps: bump some unicode-related dependencies (#2011) 2026-04-05 20:20:19 +00:00
Clement Tsang 99a84aaef2 ci: configure job to publish to crates.io (#2009)
* ci: configure job to publish to crates.io

* make this run last

* pin version
2026-04-04 23:23:32 -04:00
Clement Tsang bb08494c12 other: use vhs to automatically record demo gif (#2006)
This PR adds a vhs "tape" file to automatically do the demo gif
recording. The point of this is to make it more consistent/easy to do,
and this has the benefit of making a smaller gif file.
2026-03-22 18:57:23 -04:00
Clement Tsang 7496bbdd54 feature: configurable default sort column for temperature and disk table widgets. (#2003)
Adds support for configuring the default sort column for temperature and disk widgets via config file.
2026-03-21 17:23:16 -04: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 ca74694ffc docs: update changelog (#1998) 2026-03-11 23:44:17 -04:00
allcontributors[bot] 5a9832c742 docs: add WqyJh as a contributor for code (#1997)
* docs: update README.md

* docs: update .all-contributorsrc

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2026-03-11 23:41:16 -04:00
Clement Tsang 42ee4c79af feat: add packet size & packet rate (#1980)
* feat: add packet size & packet rate

* feat: add packet size & packet rate for network basic panel

* update wording

* some text shifting fixes

* fix most things

---------

Co-authored-by: WqyJh <781345688@qq.com>
2026-03-11 23:41:07 -04:00
Clement Tsang bd201af507 ci: use most recent *bsd versions for CI testing (#1996) 2026-03-11 03:52:44 +00:00
Clement Tsang b6c92a701f other: fix clippy warnings on beta (#1995) 2026-03-08 03:21:11 +00:00
Clement Tsang 47afb96340 ci: Update Rust version to 1.94.0 (#1994) 2026-03-07 19:03:45 +00:00
Clement Tsang a54dcbb093 ci: fix *BSD tests (#1993)
* ci: fix CI tests for FreeBSD

* add netbsd

* netbsd skips data collection for now

* comments

* wrong script
2026-02-28 14:45:42 -05:00
Clement Tsang b079c7faa1 ci: simplify clippy check definition (#1992) 2026-02-28 07:05:59 -05:00
Clement Tsang 1973ce4ed8 ci: granular checks in CI (#1991)
* ci: granular checks in CI

* cleanup

* update comments

* fix some jobs failing for now

* change cfg

* add comment on why freebsd tests don't work
2026-02-28 06:51:56 -05:00
Clement Tsang 9d9f857195 ci: reuse build artifacts for build-deb and build-rpm (#1990)
* reuse build artifacts for build-deb and rpm

* don't need cross anymore

* no need to download cargo if I'm just using a container

* revert

* Revert again
2026-02-26 23:20:50 -05:00
Clement Tsang 5aa9a85850 ci: bump cargo-generate-rpm to 0.20.0 (#1989) 2026-02-26 22:10:49 -05:00
Clement Tsang d921527d8b ci: use native ARM runners w/o cross for aarch64-unknown-linux-gnu jobs (#1988)
* ci: don't use cross for aarch64-unknown-linux-gnu

* also use ubuntu-24.04 everywhere

* fix build-deb too

* fix musl too

* yeah we can use native arm for container for deb step for musl

* fix musl issues
2026-02-26 21:59:15 -05:00
Clement Tsang fc6382432c ci: unify cross versions (#1987) 2026-02-26 20:56:43 -05:00
Clement Tsang 7f3bcc66fa ci: build FreeBSD and NetBSD binaries using cross (#1986)
* ci: build FreeBSD and NetBSD using cross

* hmmm

* try another cross version?

* add netbsd Cross.toml config

* hmmmm

* hmmmmm

* hmmmmmm

* try this

* add todo

* add another todo
2026-02-27 01:12:14 +00:00
Clement Tsang 0063592455 ci: use cross for FreeBSD CI workflow (#1985)
* ci: test FreeBSD + cross for CI job again

* looks like I don't need to use a VM now!
2026-02-25 21:35:22 -05:00
Clement Tsang d268f3c378 ci: simplify BSD jobs, move NetBSD CI to use cross (#1983)
* ci: combine all bsd vm jobs

* can't do conditional 'uses'

* remove need

* fix stuff

* rename

* also test netbsd using cross

* looks like netbsd is fine with cross
2026-02-24 09:30:38 +00:00
Clement Tsang 8811e5fbe1 ci: support testing NetBSD in general CI (#1982)
* ci: support testing NetBSD in general CI

* job renaming

* bump timeout

* apparently there's a cert issue?

* fix name change issues + completion step

* hmmm hopefully this works

* I'm so confused here

* adding this temporarily, deleting after

* deleting for now

* gotta skip data collection test, dang

* have to temporarily skip clippy too
2026-02-24 03:48:24 -05:00
Clement Tsang dd1567f6d8 ci: add template for testing OpenBSD in general CI (#1981)
* ci: support testing OpenBSD in general CI

* oops

* no need for doas?

* oh so it's tier 3

* comments

* don't bother with 7.7 as it's almost eol

* also bump freebsd version to 1.4.2

* comments

* driveby fmt on everything

* no support for starship-battery

* oh

* disable tests for now for openbsd, only run build

* fix build command

* comment out
2026-02-24 02:36:23 -05:00
Clement Tsang a4ddb7ddb9 ci: bump rust version in CI to 1.93.1 (#1977) 2026-02-12 20:32:24 -05:00
Clement Tsang e1a88408f0 ci: use test signing slug for nightly builds (#1975)
Since I don't want to approve it for every single build each day.
2026-02-06 12:53:11 -05:00
Clement Tsang 51a1a30111 deps: bump sysinfo to =0.38.0 (#1974) 2026-02-06 01:22:14 -05:00