Commit Graph

2413 Commits

Author SHA1 Message Date
Clement Tsang 72db12304a ci: fix nightly prune not working (#1961)
* ci: fix nightly prune not working

This change makes it so we keep the last three nightly runs + prune
anything that was created today.

Tested by just running it manually.

* driveby to only run the ghp deploy on main
2026-01-16 02:16:54 -05:00
Clement Tsang 78ae9169e6 docs: update changelog (#1960)
* docs: update changelog

* eh add this too
2026-01-16 01:06:30 -05:00
Clement Tsang a95e46a48e docs: update info around mirrored doc sites (#1959) 2026-01-16 01:01:49 -05:00
Clement Tsang 99a993219e docs: remove HTML comments causing banner gap to show (#1958)
* docs: remove HTML comments causing banner gap to show

Turns out the HTML comments get rendered, which causes an unsightly bar
to show up where the banner is even when not nightly.

* add comments back but use jinja comments

See: https://tedboy.github.io/jinja2/templ5.html

* add more context
2026-01-16 00:54:46 -05:00
Clement Tsang 0cae59c81b ci: fix missing mike deploy in post-release workflow (#1957)
* ci: fix missing mike deploy in post_release

* remove unnecessary renaming logic while we're here

* fix gh pages workflow since gh-pages is not a valid branch

Looks like I can't trigger things committing things to that branch...?
2026-01-15 19:57:28 -05:00
Clement Tsang dff9b489a8 docs: explicitly add doc links (mirror and primary) to README (#1956) 2026-01-15 19:41:55 -05:00
Clement Tsang b5b55ddc8c docs: also publish docs to github pages (#1955)
* docs: also publish docs to github pages

So just in case people can't access the Cloudflare Pages docs,
they can still access the GitHub ones.

* temporarily add to PR as trigger to test

* ok
2026-01-15 19:30:39 -05:00
dependabot[bot] a53af4ed51 build(deps): bump lru from 0.16.2 to 0.16.3 (#1952)
* build(deps): bump lru from 0.16.2 to 0.16.3

Bumps [lru](https://github.com/jeromefroe/lru-rs) from 0.16.2 to 0.16.3.
- [Changelog](https://github.com/jeromefroe/lru-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jeromefroe/lru-rs/compare/0.16.2...0.16.3)

---
updated-dependencies:
- dependency-name: lru
  dependency-version: 0.16.3
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* empty commit

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Clement Tsang <34804052+ClementTsang@users.noreply.github.com>
2026-01-08 21:07:53 -05:00
Clement Tsang 7682f9d6b3 refactor: run nightly format on code (#1951) nightly-7682f9d6-1767660412 2026-01-05 03:59:14 -05:00
Clement Tsang b3445b3044 refactor: clean up some query code (#1949)
* tmp

* intermediate work

* delete some code

* hook things up

* use QueryOptions everywhere instead

* comments

* more cleanup

* even more cleanup

* fmt

* update comment

* some more tests while I'm at it

* add todo for additional tests

* more empty quotes

* more empty quote testing

* even more tests

* driveby test for arg tests
2026-01-05 03:51:43 -05:00
Clement Tsang a462cc650f ci: bump cargo-llvm-cov to 0.6.22 (#1950) 2026-01-05 03:45:22 -05:00
Clement Tsang b7fba3ebd8 docs: update changelog (#1946) 2025-12-31 19:20:25 -05:00
Clement Tsang 2f0e9dea99 uptick: 0.12.3 (#1945) 0.12.3 2025-12-31 17:46:26 -05:00
Clement Tsang 76cb583dc3 docs: update changelog with #1943 (#1944)
Added a bug fix for a crash related to multi-byte UTF8 characters.
2025-12-30 14:12:37 -05:00
Frederick Zhang 14178fc8e3 bug: fix crash caused by multi-byte UTF8 chars in process names (#1943)
When a process name contains multi-byte characters, cmdline[start..end]
is unsafe since it operates on bytes and can cause panic when start/end
are not char boundaries.
2025-12-30 14:11:37 -05:00
Clement Tsang 151e4d6127 refactor: move around some files related to the time graphs (#1942)
* refactor: move around some files related to the time graphs

* fmt

* fmt again

* update changelog

* add docs for time_graph

* rename time_graph to time_chart to be consistent

* nvm, that just makes it more annoying

* fmt

* Update documentation comment for time_graph.rs

* add extra rustdoc lint as well while I'm here
2025-12-29 00:22:15 -05:00
Clement Tsang 003d625090 deps: bump lockfile as of 2025-12-28 (#1941)
* deps: bump lockfile as of 2025-12-28

* bump windows in Cargo.toml

* some refactoring
2025-12-28 19:24:18 -05:00
Clement Tsang ccc7779fc8 deps: bump root deps as of 2025-12-28, remove backtrace (#1940)
* deps: bump root deps as of 2025-12-28, remove backtrace

* fmt
2025-12-28 19:00:57 -05:00
Clement Tsang 26b1801c45 refactor: use ratatui 0.30.0 (#1930)
* refactor: support ratatui 0.30.0-beta.1

* 0.30.0!

* some refactoring

* ugh I broke something

* hm I think that fixes it

* fmt
2025-12-28 18:43:32 -05:00
allcontributors[bot] a72b36ed26 docs: add ggaddy as a contributor for doc (#1939)
* docs: update README.md

* docs: update .all-contributorsrc

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2025-12-28 14:29:10 -05:00
G f27168d3f0 docs: update Fedora install instructions (#1935)
* fedora update README

Fix URL and use dnf to handle dependencies

* update for 0.12.2-1

update fedora rpm install notes
2025-12-28 04:36:33 -05:00
Clement Tsang 2c25ea9363 other: remove cargo husky dev dependency (#1937)
I honestly forgot I was using this. This change just removes the
automated hook creation, the hook file still exists if anyone wants to
reference/use it in `scripts/hooks/pre-push`.
2025-12-27 23:56:03 -05:00
Clement Tsang e2ffa4e542 docs: update wording around pre-built binaries (#1936) 2025-12-27 16:22:59 -05:00
Clement Tsang 9ef7b687b3 uptick: 0.12.2 (#1934) 0.12.2 2025-12-27 11:58:56 -05:00
Clement Tsang 870d68ab3e bug: fix Windows memory leak caused by getting priority (#1933)
Looks like the issue was related to how we were getting priority in Windows, using the winprocinfo crate. This is resolved by just manually doing the windows API calls necessary.

---

* test if leak is caused by winprocinfo

* manually implement priority code

* cleanup

* update changelog
2025-12-27 11:43:43 -05:00
Clement Tsang 8add5183ad docs: add banner for nightly version (#1931)
* docs: try and add notification for nightly version

* hmmm

* hmmmm

* I forgot to run the banner

* fix spacing

* some more comments

* fmt
2025-12-26 00:58:11 -05:00
Clement Tsang 95b92892f3 docs: fix nightly redirect hook script (#1929)
Fix incorrect scoping.
2025-12-25 20:00:39 -05:00
Clement Tsang 4d34265971 docs: add nightly release redirect hook (#1928)
* docs: update copyright year

* docs: add nightly release redirect

* trigger docs in nightly

* workflow_call

* chmod

* fix for potential time delay?

* fix post release too

* prune runs that ran today too

* update docs
2025-12-25 19:57:38 -05:00
Clement Tsang e0eed14da3 ci: keep three days of nightly builds at once (#1926)
Might be a better experience to have 3 days of builds available as
opposed to pruning them every day.
nightly-e0eed14d-1766709747
2025-12-25 16:59:52 -05:00
Clement Tsang b6d425a829 docs: bump mkdocs material to 9.7.1 (#1927) 2025-12-25 16:44:04 -05:00
Clement Tsang d6f05157c4 docs: add some info on winget (#1925) 2025-12-25 15:42:43 -05:00
Clement Tsang 73b88870ec other: use Rust 2024 edition again (#1924)
* fix typo

* Reapply "refactor: migrate to Rust 2024 edition (#1678)"

This reverts commit 02384b4c56.
2025-12-25 12:05:06 -05:00
Clement Tsang d6deeff12c ci: add install check in release pipeline (#1923) 0.12.1 2025-12-25 11:43:08 -05:00
Clement Tsang 64b22b52a6 uptick: 0.12.1 (#1922) 2025-12-25 11:18:39 -05:00
Clement Tsang b96aa55a90 other: temporarily revert 2024 changes + hardcode some ratatui things (#1921)
* Revert "refactor: migrate to Rust 2024 edition (#1678)"

This reverts commit b07eb646ce.

* other: temporarily revert 2024 changes

* additionally work around some issues
2025-12-25 11:10:32 -05:00
Clement Tsang 76527e114d deps: pin ratatui 0.30.0-beta.0 for now (#1920)
Looks like the `beta.1` breaks things, so it breaks non-locked installs.

TODO: Add a test for non-locked before deploying.
2025-12-25 10:48:48 -05:00
Clement Tsang 2ff9d8fda2 ci: fix post-release doc job (#1918) 2025-12-25 01:34:37 -05:00
Clement Tsang b07eb646ce refactor: migrate to Rust 2024 edition (#1678)
* refactor: try bumping to rust 2024 edition

* clippy
2025-12-25 01:17:41 -05:00
Clement Tsang 8da4a84ea8 other: update changelog and deployment release template (#1917)
* other: update changelog and deployment release template

* also update pr example for schemastore
2025-12-25 01:07:30 -05:00
Clement Tsang af5eccc07f ci: revert a few script changes in release CI (#1916) 0.12.0 2025-12-24 23:47:39 -05:00
Clement Tsang 2c623399ae uptick: 0.12.0 (#1915)
* uptick: 0.12.0

* update schema generation while we're at it

* wording

* update schema generation docs

* update docs
2025-12-24 22:52:50 -05:00
Clement Tsang 109506c70d ci: bump android cross version and build in releases (#1914)
Realized I never actually build it in my build CI. This also updates the git version of cross used. I may end up using this for everything to be honest, since the stable version of cross used is ancient.

Note that this is built like it is in normal CI, and that is with no default features.

This PR also enables loong in normal CI, which I forgot to do earlier.
2025-12-24 17:55:24 -05:00
Clement Tsang fee2d72088 ci: add loongarch64 to build CI job (#1913)
* ci: add loongarch64 to build CI job

* update changelog

* hmmm

* cleanup

* ahhh
2025-12-24 17:41:58 -05:00
Clement Tsang d458d1958b other: fix some config code for nice/priority (#1911)
* other: fix some config code for nice/priority

* driveby change from cfg(target_family=unix) to just cfg(unix)

* remove nice as a default for now
2025-12-21 15:22:00 -05:00
Clement Tsang fe2a5c559b bug + refactor: clean up query code, fix bug around quotes (#1910)
* refactor query error to another file

* refactor and/or/prefix

* more refactoring and tests

* clippy

* more tests

* even more tests

Also add some comments with context about some tests.

* todo and comments

* fix a bug around quote parsing

* update changelog

* add comment

* add comment

* update changelog
2025-12-21 15:13:15 -05:00
Adarsh Das 102ae6b247 feat: Added priority and nice as columns in process view (#1881)
* basic priority and nice functionality

* fix fmt, clippy and tests

* trying to fix other platform build errors

* fmt fix

* trying more fixes

* clean project

* refactored nice to be for all unix systems

* few more places where I had to change cfg for Nice

* Fix scheme names issues

* fix for schema

* fmt

* fixed clippy errors

* 'nice' fix

* fmt

* fixed cfg in tests also

* trying to fix macos test errors

* fix nice value extraction for mac

* modularised nice and priority for mac and freebsd

* fmt

* more multi target to unix

* removing unnecesary guards

* added safety comments

- also reverted string array reference changes

utils fix

* weird utils clippy error fix

* removed unneeded commit

* not needed after main merge(?)
2025-12-21 14:31:43 -05:00
Clement Tsang 0160251e29 docs: add warning about copr being unmaintained (#1909)
* docs: add warning about copr being unmaintained

* driveby doc update as well

* formatting
2025-12-21 00:47:49 -05:00
Clement Tsang 9b9262b3cb ci: test workaround to immutable release issue on nightly (#1907)
Workaround is to create nightly as a draft and then use `gh` to manually publish it after. Also a lot of other small fixes.
2025-12-20 21:34:11 -05:00
Clement Tsang d7966473ea ci: add retries for the FreeBSD VM jobs (#1908)
* ci: add retries for the FreeBSD VM jobs

* hmmm it's running 3 times

* also apply to build + fix extra continue-on-error
2025-12-20 19:27:18 -05:00
Clement Tsang 8629468e45 ci: use scripts in more places in CI (#1906)
* move cirrus release script

* update a few other places
2025-12-20 18:53:36 -05:00