1411 Commits

Author SHA1 Message Date
Steffen Winter
7e778d1766 feat: default to lowercase truthy values
This makes the config toml compatible.
2025-12-23 13:54:22 +01:00
Steffen Winter
8844733e07 fix: point log level description to new log file 2025-12-23 13:54:22 +01:00
Steffen Winter
5eb678a6bb docs: update flags in manpage 2025-12-23 13:54:22 +01:00
Steffen Winter
10086d6009 feat: add cli option to dump default config
Closes: https://github.com/aristocratos/btop/issues/1394
2025-12-23 13:54:22 +01:00
Yinghao
c2b477ec9f feat: mouse drag support for scrollbar (#1401)
* Fix: tab indent instead of spaces

* Feat: add mouse dragging of scrollbar

* Refactor: cleanup of mouse processing for process box actions
2025-12-22 11:44:03 +00:00
Yinghao
e81c2b4b44 fix: shorten humanized units and remove dead code (#1393)
* Refactor: remove unreachable code

* Fix: shortening of humanized units
2025-12-21 18:13:03 +00:00
renovate[bot]
1be5603206 chore(deps): update actions/upload-artifact action to v6 2025-12-13 10:52:58 +01:00
Steffen Winter
871c1db49f test: propagate libbtop link flags to tests 2025-12-04 21:33:57 +01:00
Jakob P. Liljenberg
7a5ae1cd8a Update link format for issue reference in CONTRIBUTING.md 2025-12-04 21:23:26 +01:00
Jakob P. Liljenberg
436c24af08 Update contributing guidelines 2025-12-04 21:22:07 +01:00
Jakob P. Liljenberg
5e340a59cf Update README with AI contribution guidelines 2025-12-04 21:00:09 +01:00
Jakob P. Liljenberg
d5c5b6c6ab Update CONTRIBUTING.md with AI submission guidelines 2025-12-04 20:55:15 +01:00
Alex Decious
4a62d6235c docs: add entry to man page and README for --themes-dir addition (#1387) 2025-12-03 18:25:06 +00:00
Jakob P. Liljenberg
0d08551b41 Merge pull request #1357 from adeci/themes-dir 2025-12-02 22:15:13 +01:00
Jakob P. Liljenberg
c2a56aaa1e Merge pull request #1377 from TheSovietPancakes/main 2025-12-02 22:07:38 +01:00
Yinghao
d4eb16f5d1 fix: respect cpu_graph_lower = "Auto" (#1379)
Sometimes GPU data wasn't collected the cpu_graph_lower option was set to "Auto".

Closes: https://github.com/aristocratos/btop/issues/1368
Co-authored-by: Steffen Winter <steffen.winter@proton.me>
2025-11-26 20:44:58 +00:00
TheSovietPancakes
5332b1f0c9 Fixed GPU box positions in low height settings 2025-11-26 01:39:11 -06:00
TheSovietPancakes
bfb7316127 Fixed GPU rendering 2025-11-25 22:26:47 -06:00
Otto Kekäläinen
b446e214c2 Install README in its own subdirectory (#1373)
According to the Linux Standard Base (LSB), README files should be
installed in the /usr/share/doc directory. By convention however the
README files should not go there 'bare', but in a subdirectory for each
program.

Install to $(PREFIX)/share/doc/btop/README.md to comply with this.

To ensure the 'themes' is copied as a full directory and not individual
files, create the /usr/share/btop in a separate step as the doc
installation step no longer does it.
2025-11-23 10:55:23 +00:00
Steffen Winter
7e76afbfab test: add tests for string split 2025-11-22 18:15:47 +01:00
Steffen Winter
ede6b18eb7 refactor: use c++ 23 ranges for string split 2025-11-22 18:15:47 +01:00
Jakob P. Liljenberg
f8188b1f43 Merge pull request #1367 from yinghao-w/fix-box-rendering 2025-11-22 17:17:55 +01:00
Jakob P. Liljenberg
9ca711b027 Merge pull request #1372 from fraggerfox/netbsd-minor-fixes 2025-11-22 17:14:01 +01:00
Santhosh Raju
6f2c418df2 Bugfixes and improvements for NetBSD. 2025-11-22 13:43:01 +01:00
Santhosh Raju
f88ecb7757 Help btop find its themes in NetBSD. 2025-11-22 13:42:34 +01:00
Santhosh Raju
d6896081b2 Revert off color changes when done. 2025-11-22 13:41:49 +01:00
renovate[bot]
686f67db85 chore(deps): update actions/checkout action to v6 2025-11-20 22:27:32 +01:00
Yinghao Wang
4e71c79980 Fix: Align boxes when Cpu bottom and Gpu on 2025-11-18 16:41:41 +00:00
Thomas Müller
af4a0c3e84 fix: cpu per-thread totals not reaching 100% (#1366) 2025-11-18 14:54:45 +00:00
Steffen Winter
7123634d74 chore: add license header 2025-11-18 10:23:03 +01:00
Steffen Winter
b8a3bca7ec fix: add missing include 2025-11-18 10:22:46 +01:00
Jakob P. Liljenberg
a077c3e2bf Merge pull request #1362 from v1cont/main 2025-11-17 22:41:41 +01:00
Jakob P. Liljenberg
1fdfee372b Merge pull request #1363 from yinghao-w/fix-preset-cycling 2025-11-17 22:39:46 +01:00
Yinghao Wang
8bae5869a2 Pass only static duration strings to Config::set in Config::apply_preset 2025-11-15 18:07:59 +00:00
Victor Ananjevsky
ad0a5dca7a fix segfault on musl systems 2025-11-13 18:17:56 +02:00
Yinghao
69c2cda0dd fix: don't over-/underflow when parsing --update argument (#1359) 2025-11-11 09:26:26 +00:00
adeci
04c3a938a8 feat: add --themes-dir flag 2025-11-10 10:04:49 +07:00
Steffen Winter
58a61ce150 build(cmake): don't set a default build type
This was initially done to aid with fortifying source which required an
optimized build. We since removed the logic do to avoid duplicating work
of distribtions.

We are also much more likly to call cmake in development so we mostly
don't want release builds by default.
2025-11-08 23:52:15 +01:00
Jakob P. Liljenberg
93018b052f Merge pull request #1344 from vandabbin/hide-button-mouse 2025-11-08 14:58:06 +01:00
Barry Van Deerlin
18c4019853 Fix: missed changing mouse mapping for hide button
I missed the line of code that was mapping the mouse for the hide button.

It now is mapped properly when the detailed view process is selected in the list.
2025-11-04 19:09:49 -08:00
Alvaro Parker
5b32da5a3a fix: skip first argument of argv (#1339)
Introduced in https://github.com/aristocratos/btop/pull/1325
2025-11-03 13:27:11 +00:00
Steffen Winter
520a4bd611 test: add test harness with ctest 2025-11-02 17:16:56 +01:00
Steffen Winter
fd695e3d3a ci: bump freebsd toolchain to GCC 15 2025-11-02 17:16:56 +01:00
Jakob P. Liljenberg
7b4b5e568d Merge pull request #1332 from vandabbin/hide-not-grey-when-selected 2025-11-02 09:16:45 +01:00
Jakob P. Liljenberg
7c3a8d4008 Merge pull request #1334 from vandabbin/fix-pause-tty-theme 2025-11-02 09:14:49 +01:00
Jakob P. Liljenberg
a073f3761a Merge pull request #1336 from aristocratos/aristocratos-patch-3 2025-11-02 09:13:45 +01:00
Jakob P. Liljenberg
8b61a00f66 Change snap test-build to use gcc-14 and g++-14 2025-11-02 09:09:32 +01:00
Jakob P. Liljenberg
fbb33dd5a8 Add snapcraft.yaml to workflow paths 2025-11-02 08:58:23 +01:00
Jakob P. Liljenberg
585cb9130b snapcraft.yaml Fix autotools config 2025-11-02 08:57:00 +01:00
Jakob P. Liljenberg
f6768d3102 Merge pull request #1335 from aristocratos/aristocratos-patch-2 2025-11-02 08:46:12 +01:00