Clement Tsang
eaff5d009a
ci: clean up cirrus CI ( #1530 )
...
* ci: try adding auto cancellation back to cirrus tasks
* tweak timeout
* some renaming
* modernizing
* Revert "modernizing"
This reverts commit d66b3aa0e9
.
* hmmm
* bleh back to false
2024-08-01 19:52:11 -04:00
Clement Tsang
8811d54058
other: delete v1.0 schema directory ( #1529 )
...
I've already migrated the schema in schemastore to follow the new system of matching versions with bottom's version.
2024-08-01 16:38:09 +00:00
Clement Tsang
2f102bc1aa
uptick: 0.10.1 ( #1527 )
2024-08-01 15:56:39 +00:00
Clement Tsang
5b68b6ee81
other: add test to catch issues with incorrect long arg names ( #1528 )
2024-08-01 15:45:24 +00:00
Clement Tsang
03e69b3be0
bug: fix using clap macro incorrectly, causing broken long help name ( #1526 )
...
Basically, I did:
```
long = "blah blah blah"
```
but it should have been:
```
long,
long_help = "blah blah blah"
```
The former makes the _long help flag_ the description which... well,
isn't right.
2024-08-01 15:21:09 +00:00
Clement Tsang
9364955bcd
docs: fix invalid flag in docs ( #1523 )
...
The docs set the colour theme as a config flag, but we moved colours to styles.theme so that's invalid.
2024-08-01 11:03:14 -04:00
Clement Tsang
163a8dc74a
docs: update changelog ( #1524 )
2024-08-01 11:03:01 -04:00
Clement Tsang
ea46613c58
ci: bump winget-releaser ( #1522 )
2024-08-01 15:00:10 +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
a6e1ea3bd8
docs: update docs on filter ( #1519 )
...
Updates some outdated docs on filtering, and adds some tests as well. In particular, this also adds a cfg_attr on tests to try and catch unknown fields; we'll be more lenient in prod builds though and allow them.
2024-07-31 06:41:30 +00:00
Clement Tsang
2c0fb2a723
other: clarify config file creation logic/code ( #1518 )
2024-07-31 05:33:32 +00:00
Clement Tsang
38c6e70c1e
docs: update changelog ( #1517 )
2024-07-31 01:22:42 -04:00
allcontributors[bot]
b9c42265fd
docs: add CosmicHorrorDev as a contributor for code ( #1516 )
...
* docs: update README.md [skip ci]
* docs: update .all-contributorsrc [skip ci]
---------
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2024-07-31 00:36:31 -04:00
CosmicHorror
8f995f80e4
other: Add the config path to the error message if unable to create config ( #1515 )
2024-07-31 00:36:12 -04:00
Clement Tsang
4b14ccb56b
feature: support italic text styling ( #1514 )
...
Support italics as a text styling option.
2024-07-31 01:54:26 +00:00
Clement Tsang
c77256eaaf
change: make table headers bold by default ( #1513 )
...
* change: make table headers bold by default
* changelog
2024-07-31 00:37:38 +00:00
Clement Tsang
08a7b8b860
feature: support bold text ( #1512 )
...
* feature: support bold text
* add changelog
* more testing
2024-07-30 07:43:57 +00:00
Clement Tsang
f091ebdc6a
feature: support simple colour settings for text fields too ( #1511 )
...
* feature: support simple colour settings for text fields too
* also add 'color' back to some options
* tests
2024-07-30 07:15:23 +00:00
Clement Tsang
95905d7a2b
docs: add the binary name to the title again ( #1508 )
...
Let's hope this doesn't lead to more issues where people try installing the wrong package though... sigh.
2024-07-29 19:14:46 -04:00
Clement Tsang
449d8b4315
ci: update and fix schema validation script ( #1509 )
...
* ci: update and fix schema validation script
* fix issue with tomllib.load
2024-07-29 19:11:40 -04:00
Clement Tsang
28972a1e64
refactor: refactor styling options ( #1499 )
...
Introduce a new configuration system for styling.
2024-07-29 09:03:35 +00: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
1208c459e4
refactor: remove time as a dependency outside of logging ( #1506 )
...
I was mostly just using the time crate for local log debugging and just to avoid converting seconds to h/m/s.
This PR makes it so we are only using it for local log debugging.
2024-07-26 05:12:29 +00:00
Clement Tsang
c2d3ab5591
uptick: 0.9.7 ( #1505 )
...
* docs: update changelog with 0.9.7 hotfix
* Update bottom.desktop
* uptick: 0.9.7
2024-07-26 00:45:22 -04:00
Clement Tsang
e37b159fae
other: remove toolchain, clean up CI ( #1504 )
2024-07-26 00:23:06 -04:00
Clement Tsang
01c0c33451
other: include a toolchain file from now on ( #1503 )
2024-07-26 01:02:54 +00:00
Clement Tsang
a794cc5123
refactor: run clippy after updating to Rust 1.80 ( #1502 )
2024-07-26 00:44:38 +00: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
0401f527e5
refactor: migrate data collection and some others away from BottomError ( #1497 )
2024-07-22 04:52:38 +00:00
Clement Tsang
c56e28328e
refactor: convert more errors over ( #1496 )
...
* refactor: remove From<String> for BottomError
* fix kill_process
2024-07-19 23:52:13 -04:00
Clement Tsang
1ec4ca3f06
refactor: out with arg/config error, and make user messages more consistent ( #1494 )
...
* refactor: out with arg/config error, and make user messages more consistent
* finish up
* fix all the tests
2024-07-19 06:51:50 +00:00
Clement Tsang
d97d75f797
refactor: clean up conversion and crossterm errors ( #1493 )
...
* refactor: clean up conversion errors
* refactor: remove crossterm error
2024-07-14 08:01:44 +00:00
Clement Tsang
571a801bf8
refactor: error refactoring, part 1 ( #1492 )
...
* refactor: use anyhow for logging
* refactor: clean up query errors
* also remove tryparseint
2024-07-13 05:35:09 +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
982b7181a6
change: change how disk, temp, and net filters in config are set ( #1481 )
...
* change: change how disk, temp, and net filters in config are set
* run rustfmt
* update default config
2024-06-16 02:15:36 -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
7aa379aabf
bug: fix -V not working and causing Cirrus CI to fail ( #1478 )
...
* bug: fix -V not working and causing Cirrus CI to fail
* add comment
* update workflows and fix tests
2024-06-05 01:12:00 -04: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
c61de8f09c
ci: bump rust-cache and rust-toolchain ( #1471 )
2024-05-26 06:29:46 -04:00
Clement Tsang
cce835b752
Run cargo wix init ( #1468 )
...
* ci: run cargo wix init
* remove wix init call
2024-05-11 21:18:09 -04:00
Clement Tsang
a15ef63669
ci: bump cargo-deb to 2.2.0 ( #1466 )
2024-05-08 20:48:50 -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
d515c03ec7
ci: forgot to add if statement for nightly skip check ( #1464 )
2024-05-07 02:13:11 -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