1261 Commits

Author SHA1 Message Date
eb3b28f23f Various Changes
Some checks failed
FreeBSD CMake / freebsd-14.3-aarch64 (push) Has been cancelled
FreeBSD CMake / freebsd-15.0-aarch64 (push) Has been cancelled
FreeBSD CMake / freebsd-14.3-x86_64 (push) Has been cancelled
FreeBSD CMake / freebsd-15.0-x86_64 (push) Has been cancelled
Linux CMake / clang-18 (push) Has been cancelled
Linux CMake / clang-19 (push) Has been cancelled
Linux CMake / clang-20 (push) Has been cancelled
Linux CMake / gcc-12 (push) Has been cancelled
Linux CMake / gcc-13 (push) Has been cancelled
Linux CMake / gcc-14 (push) Has been cancelled
macOS CMake / cmake_build_on_macos (push) Has been cancelled
NetBSD CMake / netbsd-10.1-aarch64 (push) Has been cancelled
NetBSD CMake / netbsd-10.1-amd64 (push) Has been cancelled
Continuous Build FreeBSD / build-freebsd (clang++) (push) Has been cancelled
Continuous Build FreeBSD / build-freebsd (g++) (push) Has been cancelled
Continuous Build Gpu / gpu_build_linux (push) Has been cancelled
Continuous Build Linux / static-build (aarch64-linux-musl) (push) Has been cancelled
Continuous Build Linux / static-build (aarch64_be-linux-musl) (push) Has been cancelled
Continuous Build Linux / static-build (arm-linux-musleabi) (push) Has been cancelled
Continuous Build Linux / static-build (arm-linux-musleabihf) (push) Has been cancelled
Continuous Build Linux / static-build (armeb-linux-musleabi) (push) Has been cancelled
Continuous Build Linux / static-build (armeb-linux-musleabihf) (push) Has been cancelled
Continuous Build Linux / static-build (armel-linux-musleabi) (push) Has been cancelled
Continuous Build Linux / static-build (armel-linux-musleabihf) (push) Has been cancelled
Continuous Build Linux / static-build (armv5l-linux-musleabi) (push) Has been cancelled
Continuous Build Linux / static-build (armv5l-linux-musleabihf) (push) Has been cancelled
Continuous Build Linux / static-build (armv6-linux-musleabi) (push) Has been cancelled
Continuous Build Linux / static-build (armv6-linux-musleabihf) (push) Has been cancelled
Continuous Build Linux / static-build (armv7l-linux-musleabihf) (push) Has been cancelled
Continuous Build Linux / static-build (armv7m-linux-musleabi) (push) Has been cancelled
Continuous Build Linux / static-build (armv7r-linux-musleabihf) (push) Has been cancelled
Continuous Build Linux / static-build (i486-linux-musl) (push) Has been cancelled
Continuous Build Linux / static-build (i686-linux-musl) (push) Has been cancelled
Continuous Build Linux / static-build (m68k-linux-musl) (push) Has been cancelled
Continuous Build Linux / static-build (mips-linux-musl) (push) Has been cancelled
Continuous Build Linux / static-build (mips-linux-musln32sf) (push) Has been cancelled
Continuous Build Linux / static-build (mips-linux-muslsf) (push) Has been cancelled
Continuous Build Linux / static-build (mips64-linux-musl) (push) Has been cancelled
Continuous Build Linux / static-build (mips64-linux-musln32) (push) Has been cancelled
Continuous Build Linux / static-build (mips64-linux-musln32sf) (push) Has been cancelled
Continuous Build Linux / static-build (mips64el-linux-musl) (push) Has been cancelled
Continuous Build Linux / static-build (mips64el-linux-musln32) (push) Has been cancelled
Continuous Build Linux / static-build (mips64el-linux-musln32sf) (push) Has been cancelled
Continuous Build Linux / static-build (mipsel-linux-musl) (push) Has been cancelled
Continuous Build Linux / static-build (mipsel-linux-musln32) (push) Has been cancelled
Continuous Build Linux / static-build (mipsel-linux-musln32sf) (push) Has been cancelled
Continuous Build Linux / static-build (mipsel-linux-muslsf) (push) Has been cancelled
Continuous Build Linux / static-build (powerpc-linux-musl) (push) Has been cancelled
Continuous Build Linux / static-build (powerpc-linux-muslsf) (push) Has been cancelled
Continuous Build Linux / static-build (powerpc64-linux-musl) (push) Has been cancelled
Continuous Build Linux / static-build (powerpc64le-linux-musl) (push) Has been cancelled
Continuous Build Linux / static-build (powerpcle-linux-musl) (push) Has been cancelled
Continuous Build Linux / static-build (powerpcle-linux-muslsf) (push) Has been cancelled
Continuous Build Linux / static-build (riscv32-linux-musl) (push) Has been cancelled
Continuous Build Linux / static-build (riscv64-linux-musl) (push) Has been cancelled
Continuous Build Linux / static-build (s390x-linux-musl) (push) Has been cancelled
Continuous Build Linux / static-build (x86_64-linux-musl) (push) Has been cancelled
Continuous Build Linux / static-build (x86_64-linux-muslx32) (push) Has been cancelled
Continuous Build MacOS / build-macos (map[runner:macos-13 version:Ventura]) (push) Has been cancelled
Continuous Build MacOS / build-macos (map[runner:macos-14 version:Sonoma]) (push) Has been cancelled
Continuous Build MacOS / build-macos (map[runner:macos-15 version:Sequoia]) (push) Has been cancelled
Continuous Build NetBSD / build-netbsd (push) Has been cancelled
Continuous Build OpenBSD / build-openbsd (push) Has been cancelled
🧪 Test snap can be built on x86_64 / build (20.x) (push) Has been cancelled
- Add CPU power monitoring (in watts)
- Display btrfs subvolume as one partition

Signed-off-by: MOVZX <movzx@yahoo.com>
2025-07-17 04:07:10 +07:00
Steffen Winter
b3356354a4 Fix --tty/--no-tty flag having no effect
Some checks failed
FreeBSD CMake / freebsd-14.3-aarch64 (push) Has been cancelled
FreeBSD CMake / freebsd-15.0-aarch64 (push) Has been cancelled
FreeBSD CMake / freebsd-14.3-x86_64 (push) Has been cancelled
FreeBSD CMake / freebsd-15.0-x86_64 (push) Has been cancelled
Linux CMake / clang-18 (push) Has been cancelled
Linux CMake / clang-19 (push) Has been cancelled
Linux CMake / clang-20 (push) Has been cancelled
Linux CMake / gcc-12 (push) Has been cancelled
Linux CMake / gcc-13 (push) Has been cancelled
Linux CMake / gcc-14 (push) Has been cancelled
macOS CMake / cmake_build_on_macos (push) Has been cancelled
NetBSD CMake / netbsd-10.1-aarch64 (push) Has been cancelled
NetBSD CMake / netbsd-10.1-amd64 (push) Has been cancelled
Continuous Build FreeBSD / build-freebsd (clang++) (push) Has been cancelled
Continuous Build FreeBSD / build-freebsd (g++) (push) Has been cancelled
Continuous Build Gpu / gpu_build_linux (push) Has been cancelled
Continuous Build Linux / static-build (aarch64-linux-musl) (push) Has been cancelled
Continuous Build Linux / static-build (aarch64_be-linux-musl) (push) Has been cancelled
Continuous Build Linux / static-build (arm-linux-musleabi) (push) Has been cancelled
Continuous Build Linux / static-build (arm-linux-musleabihf) (push) Has been cancelled
Continuous Build Linux / static-build (armeb-linux-musleabi) (push) Has been cancelled
Continuous Build Linux / static-build (armeb-linux-musleabihf) (push) Has been cancelled
Continuous Build Linux / static-build (armel-linux-musleabi) (push) Has been cancelled
Continuous Build Linux / static-build (armel-linux-musleabihf) (push) Has been cancelled
Continuous Build Linux / static-build (armv5l-linux-musleabi) (push) Has been cancelled
Continuous Build Linux / static-build (armv5l-linux-musleabihf) (push) Has been cancelled
Continuous Build Linux / static-build (armv6-linux-musleabi) (push) Has been cancelled
Continuous Build Linux / static-build (armv6-linux-musleabihf) (push) Has been cancelled
Continuous Build Linux / static-build (armv7l-linux-musleabihf) (push) Has been cancelled
Continuous Build Linux / static-build (armv7m-linux-musleabi) (push) Has been cancelled
Continuous Build Linux / static-build (armv7r-linux-musleabihf) (push) Has been cancelled
Continuous Build Linux / static-build (i486-linux-musl) (push) Has been cancelled
Continuous Build Linux / static-build (i686-linux-musl) (push) Has been cancelled
Continuous Build Linux / static-build (m68k-linux-musl) (push) Has been cancelled
Continuous Build Linux / static-build (mips-linux-musl) (push) Has been cancelled
Continuous Build Linux / static-build (mips-linux-musln32sf) (push) Has been cancelled
Continuous Build Linux / static-build (mips-linux-muslsf) (push) Has been cancelled
Continuous Build Linux / static-build (mips64-linux-musl) (push) Has been cancelled
Continuous Build Linux / static-build (mips64-linux-musln32) (push) Has been cancelled
Continuous Build Linux / static-build (mips64-linux-musln32sf) (push) Has been cancelled
Continuous Build Linux / static-build (mips64el-linux-musl) (push) Has been cancelled
Continuous Build Linux / static-build (mips64el-linux-musln32) (push) Has been cancelled
Continuous Build Linux / static-build (mips64el-linux-musln32sf) (push) Has been cancelled
Continuous Build Linux / static-build (mipsel-linux-musl) (push) Has been cancelled
Continuous Build Linux / static-build (mipsel-linux-musln32) (push) Has been cancelled
Continuous Build Linux / static-build (mipsel-linux-musln32sf) (push) Has been cancelled
Continuous Build Linux / static-build (mipsel-linux-muslsf) (push) Has been cancelled
Continuous Build Linux / static-build (powerpc-linux-musl) (push) Has been cancelled
Continuous Build Linux / static-build (powerpc-linux-muslsf) (push) Has been cancelled
Continuous Build Linux / static-build (powerpc64-linux-musl) (push) Has been cancelled
Continuous Build Linux / static-build (powerpc64le-linux-musl) (push) Has been cancelled
Continuous Build Linux / static-build (powerpcle-linux-musl) (push) Has been cancelled
Continuous Build Linux / static-build (powerpcle-linux-muslsf) (push) Has been cancelled
Continuous Build Linux / static-build (riscv32-linux-musl) (push) Has been cancelled
Continuous Build Linux / static-build (riscv64-linux-musl) (push) Has been cancelled
Continuous Build Linux / static-build (s390x-linux-musl) (push) Has been cancelled
Continuous Build Linux / static-build (x86_64-linux-musl) (push) Has been cancelled
Continuous Build Linux / static-build (x86_64-linux-muslx32) (push) Has been cancelled
Continuous Build MacOS / build-macos (map[runner:macos-13 version:Ventura]) (push) Has been cancelled
Continuous Build MacOS / build-macos (map[runner:macos-14 version:Sonoma]) (push) Has been cancelled
Continuous Build MacOS / build-macos (map[runner:macos-15 version:Sequoia]) (push) Has been cancelled
Continuous Build NetBSD / build-netbsd (push) Has been cancelled
Continuous Build OpenBSD / build-openbsd (push) Has been cancelled
🧪 Test snap can be built on x86_64 / build (20.x) (push) Has been cancelled
Use the right config key for the tty setting, which is `tty_mode` and not
`force_tty`.

Rewrite the code to evaluate whether to force tty mode or not, which
wasn't respecting the command line flags correctly.

Closes: https://github.com/aristocratos/btop/issues/1190
2025-07-16 16:42:04 +00:00
Managor
3c39088292 Update README.md (#1194) 2025-07-12 10:34:20 +00:00
Anthony D'Atri
1e8f7dd3ff docs: spelling and formatting fixes in README.md (#1182)
Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
2025-07-04 11:03:47 +00:00
Steffen Winter
762d0b4bb4 Reduce noise in Github templates
Remove superfluous title prefix and make instructions comments so they
don't leak into the final request.
2025-07-03 23:56:03 +00:00
aristocratos
0f398abd64 v1.4.4 Bug fixes 2025-07-03 22:53:42 +02:00
Rebecca Cran
dec33b445a Fix auto-detection of CPU temp on Ampere boards (#1185)
Ampere boards use the APM X-Gene Hardware Monitoring driver. The label
the driver returns is "Soc Temperature" which the current code doesn't
detect. Fix that by adding a special case for it. This prevents it from
using the "CPU Power" sensor and reporting the CPU tempature as over
8000C (which is the power reported in mW).

Co-authored-by: Rebecca Cran <rebecca@os.amperecomputing.com>
2025-07-02 09:48:28 +00:00
Steffen Winter
be845e693a ci: update openbsd 7 runners to 7.7 2025-06-30 06:30:09 +00:00
Steffen Winter
a871a908fc ci: update freebsd 14 runners to 14.3 2025-06-30 06:30:09 +00:00
aristocratos
1c2ab3f5b5 Merge branch 'main' of github.com:aristocratos/btop 2025-06-14 18:36:43 +02:00
aristocratos
589c133fb3 Fixed floating_humanizer() to work correctly when numeric delimiter isn't a dot. 2025-06-14 18:36:39 +02:00
Steffen Winter
1b0b89212e Add command line option to set an inital filter
This will spawn btop with a filter already set, which can be edited and
also deleted as usual.

Beware that the filter will ALWAYS also match btop itself, since the
--filter argument on the command line will match.

Closes: https://github.com/aristocratos/btop/issues/883
2025-06-07 13:02:15 +00:00
Steffen Winter
27f11e4bc6 CMake: Create a library target for intel_gpu_top code
This allows the suppression of warnings specifically for the C code,
which throws lots of warnings with current compilers.
2025-06-03 08:57:17 +00:00
Steffen Winter
1d0db23eeb CMake: Don't drop LTO silently
This will ensure that the configure step fails if LTO is requested but
unsupported by the compiler.
2025-06-03 08:57:17 +00:00
Steffen Winter
d429bcfe82 Exit gracefully if integer conversion in CLI parser fails 2025-06-01 22:35:38 +00:00
Steffen Winter
6d4bcacfee Make 100ms the minimal refresh rate
Closes: https://github.com/aristocratos/btop/issues/1171
2025-06-01 22:35:38 +00:00
Steffen Winter
61fbc11044 CI: Disable recursive cloning in workflows 2025-05-30 08:36:45 +00:00
Steffen Winter
a7bf6831be CMake: Remove compiler warning options
Easily replacable with `CMAKE_CXX_FLAGS=` at configure time.

Both options where for developers only, pedantic enabled too many
warnings together to be really useful. If there is desire to fix some
warnings they should be enabled one after another and added to the
default set of options.
2025-05-30 08:36:31 +00:00
MrCocoNuat
42fac76af9 Fix wrong use of too in terminal size error message (#1166) 2025-05-27 08:03:10 +00:00
Tim Strijdhorst
cfe075e649 Make the disk filter description more clear (#1077) 2025-05-23 21:57:56 +00:00
Jacek Wieczorek
a6ab8f6f97 Lock/unlock config to avoid infinite recursion (#1031)
Closes: #996
2025-05-23 12:34:04 +00:00
Steffen Winter
92f127ec71 Remove unused .gitmodules file 2025-05-16 19:38:43 +00:00
xDMPx
d758fc8dc6 Fix incorrect positioning and start symbol of second title introduced in 2538d89ed9 2025-05-12 22:33:32 +00:00
aristocratos
ffcd064a36 Fix dangling reference warnings for GCC 13 and later 2025-05-11 01:07:52 +02:00
aristocratos
3f1ccd9f6c v1.4.3 Bug fixes 2025-05-10 13:02:34 +02:00
Steffen Winter
9bd618fd0e Sync CMake.gitignore template
I'm experimenting with cmake presets so this is helpful.

Ref: https://github.com/github/gitignore/blob/main/CMake.gitignore
2025-05-03 18:40:46 +00:00
Steffen Winter
d000384a41 Ignore incomplete filter regex
When a user enters a special regex character that expects a closing
character, btop will crash before the user has a chance to enter the
closing character. This will now just be ignored and no process will
match the filter until the regex is valid again.

Closes: https://github.com/aristocratos/btop/issues/1133
2025-05-03 12:59:36 +00:00
Steffen Winter
b44f87a426 Remove redundant optimization flag
This flag only enables two other vectorization flags which are included
in the -O2 set by default.
2025-05-03 11:56:47 +00:00
Steffen Winter
f1c1e737d0 Enable additional checks in libc++ with the new hardening mode
The old _LIBCPP_ENABLE_ASSERTIONS macro is deprecated in LLVM 20 and
should be replaced with this.
2025-05-03 11:45:57 +00:00
aristocratos
c3b225f536 Revert e266ccd which broke str_to_upper() and str_to_lower() 2025-05-03 13:25:46 +02:00
Jakob P. Liljenberg
99dac3eb76 Merge pull request #1131 from imwints/push-lnqkzlnpzpqs 2025-05-01 22:35:44 +02:00
aristocratos
274d0c78e5 v1.4.2 Bug fixes 2025-05-01 22:24:11 +02:00
aristocratos
f1482fe87e Fix process arguments appearing outside proc box by replacing ASCII control codes with blankspace, issue #1080 2025-05-01 21:59:49 +02:00
Steffen Winter
6459c6470b ci: run cmake workflows on changes to the cmake module folder 2025-05-01 21:04:14 +02:00
Jakob P. Liljenberg
f46a133a0c Merge pull request #1130 from imwints/push-pqvlpwzmzlyu 2025-05-01 20:42:32 +02:00
Steffen Winter
2538d89ed9 perf: use string view everywhere
This has the potential to avoid allocations when something non allocated
is implicitly converted.
2025-05-01 20:36:27 +02:00
Steffen Winter
c52b2c4c93 perf: avoid copies by moving string into struct 2025-05-01 20:36:27 +02:00
Steffen Winter
99713316e8 perf: avoid copies with capture-by-reference 2025-05-01 20:36:27 +02:00
Steffen Winter
eb7970ad89 refactor: use algorithm from <ranges> 2025-05-01 20:36:27 +02:00
Steffen Winter
e266ccdc99 refactor: remove unnecessary lamda 2025-05-01 20:36:27 +02:00
Steffen Winter
c7e76900ff perf: use smaller enum base type 2025-05-01 20:36:27 +02:00
Tom Webber
fd35ac1b61 Update flags in help message and README
Co-authored-by: Steffen Winter <steffen.winter@proton.me>
2025-05-01 17:47:30 +00:00
Tom Webber
a5b01c1ac3 Fix wrong naming in documentation and error messages for force-utf argument 2025-05-01 17:47:30 +00:00
Steffen Winter
d3e16cb8e3 Respect the cli flags debug and force utf
This was missed in de0d295f6f.
2025-05-01 17:47:30 +00:00
Steffen Winter
70223c8c1c Remove unused variable 2025-05-01 17:47:30 +00:00
Steffen Winter
7fde3b0612 Flatten cmake module path 2025-05-01 17:26:35 +00:00
Steffen Winter
9df491eff7 CMake: Remove option to use mold
This can be easily achieved by settings `LDFLAGS=-fuse-ld=mold` before
configuration.
2025-05-01 17:26:14 +00:00
Raymont Qin
bbae1460a8 Some spelling + grammar fixes :) 2025-05-01 14:09:37 +00:00
Raymont Qin
adce088bc9 Update Terminus font link 2025-05-01 14:09:37 +00:00
Raymont Qin
19b8adebad Fix typo 2025-05-01 14:09:37 +00:00