Commit Graph

148 Commits

Author SHA1 Message Date
Denis Mikhaylik
e51f5c202f Remove reduntant symbols in tree view (#948) 2025-09-10 15:20:16 +00:00
Steffen Winter
db34cb55a4 Don't terminate on GPU access failure
Closes: https://github.com/aristocratos/btop/issues/899
2025-09-02 07:10:44 +00:00
Thomas Müller
db0514fa32 feat: display CPU power draw & fix GPU+load avg overwriting core info
This change was based on YuriiShkrobut's initial PR from here:
https://github.com/aristocratos/btop/pull/595

Co-authored-by: Yurii Shkrobut <yurii.shkrobut@gmail.com>
2025-08-17 10:01:25 +02:00
Sam Kirby
185d61d1aa match formatting for units 2025-07-28 14:46:57 +02:00
Sam Kirby
d1b391b2fb fix layout issue when enc/dec meters are unavailable 2025-07-28 14:46:57 +02:00
Sam Kirby
18cb61b7d6 Add utilisation meters for GPU hardware video encoder and decoder 2025-07-28 14:46:57 +02:00
aristocratos
86ec5fd062 Changed decimal points to always be dots regardless of locale, issue #1183 2025-07-18 00:20:18 +02: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
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
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
Marie Ramlow
4812ac8280 Fix typo: Mhz -> MHz 2025-05-01 10:53:44 +00:00
bad code
f72d11fe52 Avoid copy in constructor
Enable compilers to move temporary variables into the constructor.
2025-04-24 19:04:02 +00:00
bad code
889d8efce4 Drop trailing newlines 2025-04-24 19:04:02 +00:00
bad code
f366b38f85 Avoid copies in ltrim() and ltrim() 2025-04-23 20:15:12 +00:00
Taha YASSINE
e4953efbea Replace brackets with arrows in net box 2025-04-13 15:34:56 +00:00
Taha YASSINE
e68f2a01d1 Replace brackets with arrows in proc box 2025-04-13 15:34:56 +00:00
aristocratos
f3446ed1cf Show GPU Watt fractions when below 100W 2024-09-23 22:41:47 +02:00
aristocratos
928d66d58f Set Intel GPU baseline max power at 10W 2024-09-22 01:24:46 +02:00
aristocratos
4210f5fc88 Fix missing core percentages, issue #792 2024-09-21 21:34:11 +02:00
aristocratos
35857f85eb GPU fixes 2024-09-21 20:16:01 +02:00
Gerald Pottler
4702716ae0 Update spacing 2024-06-23 23:31:49 +02:00
Gerald Pottler
be1b9c36dc fix io_graph_speeds parsing
Issue #868
2024-06-23 23:15:04 +02:00
aristocratos
3f384c0a5d Fixed missing CPU core temps when too small to show core temp graphs, issues #792 #867 2024-06-01 14:09:49 +02:00
aristocratos
97d2fb567a Fixed missing IO graphs in IO mode, issue #867 2024-06-01 13:45:10 +02:00
Steffen Winter
d200ce45ae Show time in days when remaining battery exceeds an estimation of 24h 2024-04-30 15:32:41 +02:00
Jakob P. Liljenberg
f1f37ad6af Merge branch 'main' into battery-power-2 2024-02-11 16:39:59 +01:00
vsey
40cdb92b8e Merge branch 'aristocratos:main' into battery-power-2 2024-01-22 22:01:14 +01:00
Helmut K. C. Tessarek
6a6f514f80 fix: increase interface name length to 15 2024-01-12 11:28:42 -05:00
aristocratos
62964693b3 Fixed gpu boxes visibility state not saved and removed unnecessary comments 2024-01-07 14:51:03 +01:00
aristocratos
057f4594fb Fixed config variable show_gpu_info working correctly 2024-01-07 14:10:40 +01:00
vsey
fb6af5ddb4 Merge branch 'aristocratos:main' into battery-power-2 2023-12-29 01:14:34 +01:00
aristocratos
285fb215d1 Proc::draw() -> Use std::erase_if() instead of for loops 2023-12-28 13:10:18 +01:00
vsey
63ce0abc64 Merge branch 'aristocratos:main' into battery-power-2 2023-12-26 23:43:14 +01:00
aristocratos
b4eb397fc6 Fix errors 2023-12-25 10:52:52 +01:00
aristocratos
3c04a7a380 Added more checks and debug logging 2023-12-25 10:41:15 +01:00
aristocratos
8b81c4a4ec Return const refs 2023-12-25 03:28:35 +01:00
aristocratos
ced47a960f Replace robin_hood map and set with STD alternative and add safeVal() function for map/vector access with fallback 2023-12-25 02:26:13 +01:00
jkre
2934138a66 Only redraw battery indicator on power change if power change option is set to true 2023-12-14 22:56:31 +01:00
jkre
7a188bfaaf round wattage to second decimal 2023-12-14 01:39:00 +01:00
jkre
1ad1418771 remove redundant space 2023-12-14 00:58:17 +01:00
jkre
ddd4bec1c3 Show wattage next to battery remaining time when wattage could be calculated 2023-12-14 00:54:29 +01:00
masiboss
1b2f11b412 cut less of cpu name if frequency is not shown 2023-12-07 20:49:34 +01:00
aristocratos
19bcff894b Squashed commit of the following:
commit 0267eba2bb
Merge: 50bbab0 e81cf2b
Author: Jakob P. Liljenberg <admin@qvantnet.com>
Date:   Wed Nov 15 21:43:18 2023 +0100

    Merge pull request #659 from ivanp7/patch-1

    Add alternative key codes for Delete, Insert, Home, End

commit 50bbab0512
Merge: 9edbf27 5a14c7b
Author: Jakob P. Liljenberg <admin@qvantnet.com>
Date:   Wed Nov 15 21:35:50 2023 +0100

    Merge pull request #660 from stradicat/feature/elementarish

    Elementarish theme: color update according to Elementary palette

commit 5a14c7b6fa
Merge: 979506f 71eb414
Author: Dennis Mayr <dmayr.dev@gmail.com>
Date:   Wed Nov 15 17:27:34 2023 -0300

    Merge branch 'main' of https://github.com/stradicat/btop

commit 979506f18e
Author: Dennis Mayr <dmayr.dev@gmail.com>
Date:   Wed Nov 8 11:17:47 2023 -0300

    Elementarish theme: color update according to Elementary palette

commit 71eb4142e8
Author: Dennis Mayr <dmayr.dev@gmail.com>
Date:   Wed Nov 8 11:17:47 2023 -0300

    Elementarish theme: color update according to Elementary palette

commit e81cf2b7ff
Author: vân <3432246+ivanp7@users.noreply.github.com>
Date:   Tue Nov 7 15:12:27 2023 +0000

    Add alternative key codes for Insert, Home, End

commit f9452ff6d5
Author: vân <3432246+ivanp7@users.noreply.github.com>
Date:   Mon Nov 6 13:31:53 2023 +0000

    Add alternative Delete key code

    Delete key not always produces ^[[3~, on some terminals (like st) it produces ^[[P.

commit 9edbf27f1b
Merge: 2a864f6 ff1f51c
Author: Jakob P. Liljenberg <admin@qvantnet.com>
Date:   Sat Oct 21 02:09:55 2023 +0200

    Merge pull request #649 from nobounce/workflow-timeout

    Set FreeBSD workflow timeout

commit ff1f51ccbb
Author: Steffen Winter <steffen.winter@proton.me>
Date:   Wed Oct 18 22:26:36 2023 +0200

    Set FreeBSD workflow timeout

    Recently the FreeBSD workflow has started to hang in a boot loop when
    the VM starts up. The issue is being tracked upstream but there is not
    response at the moment.

    To work around this set a timeout to not waste CI minutes. Other
    workflows might also want this change since they don't take 20 minutes
    anyway.

commit 2a864f6f2e
Merge: 636eb25 b2bf8ef
Author: Jakob P. Liljenberg <admin@qvantnet.com>
Date:   Sat Oct 7 10:40:54 2023 +0200

    Merge pull request #643 from DecklynKern/main

    Fix scrollbar not clearing sometimes.

commit b2bf8ef504
Author: DecklynKern <DecklynKern@gmail.com>
Date:   Fri Oct 6 17:33:38 2023 -0600

    Fix scrollbar not clearing sometimes.

commit 636eb25f5e
Merge: 260c0f6 b5ba2fc
Author: Jakob P. Liljenberg <admin@qvantnet.com>
Date:   Sat Sep 30 19:51:03 2023 +0200

    Merge pull request #623 from rahulaggarwal965/main

    Add keybind for toggling memory display mode in PROC box

commit b5ba2fc963
Author: Rahul Aggarwal <rahulaggarwal965@gmail.com>
Date:   Wed Sep 20 22:55:56 2023 -0400

    Add keybind for toggling memory display mode in PROC box

commit 260c0f6623
Merge: 52bfff7 e6a06eb
Author: Jakob P. Liljenberg <admin@qvantnet.com>
Date:   Sat Sep 30 18:56:25 2023 +0200

    Merge pull request #635 from lvxnull/editorconfig

    Add hpp files to .editorconfig

commit e6a06eb729
Author: lvxnull <86745229+lvxnull@users.noreply.github.com>
Date:   Thu Sep 28 19:44:47 2023 +0200

    Add hpp files to .editorconfig

commit 52bfff7ceb
Merge: 1f72e56 19dbbe1
Author: Jakob P. Liljenberg <admin@qvantnet.com>
Date:   Sat Sep 30 18:55:08 2023 +0200

    Merge pull request #636 from nobounce/performance-iili

    Minor string initialization improvement

commit 19dbbe1a17
Author: nobounce <steffen.winter@proton.me>
Date:   Fri Sep 29 12:20:59 2023 +0200

    Minor string initialization improvement

commit 1f72e56c7d
Merge: 278a0e6 cdcf8bc
Author: Jakob P. Liljenberg <admin@qvantnet.com>
Date:   Fri Sep 29 10:43:21 2023 +0200

    Merge pull request #633 from crestfallnatwork/main

    [fix] Made disks statvfs logic asynchronous.

commit cdcf8bc929
Author: crestfalln <guptahiman01@gmail.com>
Date:   Fri Sep 29 09:07:27 2023 +0530

    fixed bug where updated disks stats overrided disk io data

commit 9b4e85f08d
Author: crestfalln <no-reply@crestfalln.com>
Date:   Thu Sep 28 04:57:05 2023 +0530

    fixed bug where updated disks stats overrided disk io data

commit 889623874e
Author: crestfalln <no-reply@crestfalln.com>
Date:   Wed Sep 27 23:57:06 2023 +0530

    made disks stat logic async

commit 278a0e6b17
Merge: d16adc9 e89519f
Author: Jakob P. Liljenberg <admin@qvantnet.com>
Date:   Thu Sep 28 18:32:09 2023 +0200

    Merge pull request #630 from lvxnull/signal-list

    Fix signal list on non-linux/weird linux platforms

commit e89519fbb2
Author: lvxnull <86745229+lvxnull@users.noreply.github.com>
Date:   Sun Sep 24 21:44:38 2023 +0200

    Fix signal list on non-linux/weird linux platforms

commit d16adc9fd0
Merge: 2c3ac48 f34b408
Author: Jakob P. Liljenberg <admin@qvantnet.com>
Date:   Thu Sep 28 18:20:42 2023 +0200

    Merge pull request #618 from nobounce/aggregate-child-processes

    Add option to accumulate a child's resources in parent in tree-view

commit f34b40892f
Author: nobounce <steffen.winter@proton.me>
Date:   Sun Sep 24 16:34:50 2023 +0200

    Make process thread count better readable when wider than 5 digits

commit 6027cedd42
Author: nobounce <steffen.winter@proton.me>
Date:   Thu Sep 14 23:27:05 2023 +0200

    Add option to accumulate a child's resources in parent in tree-view

commit 2c3ac4855d
Merge: f90dc37 5c6a281
Author: Jakob P. Liljenberg <admin@qvantnet.com>
Date:   Wed Sep 13 21:14:56 2023 +0200

    Merge pull request #589 from nobounce/cmake

    Add CMake support for Linux

commit f90dc37c26
Merge: 0cac861 68a49c1
Author: Jakob P. Liljenberg <admin@qvantnet.com>
Date:   Wed Sep 13 20:27:05 2023 +0200

    Merge pull request #610 from SidVeld/feature/horizon-theme

    Horizon theme

commit 5c6a281002
Author: nobounce <steffen.winter@proton.me>
Date:   Tue Aug 29 20:39:00 2023 +0200

    Add CMake support

    Linux is completly supported

    FreeBSD is not able to create a static executable for now. See
    https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273398

    MacOS was not tested

commit 68a49c10a6
Author: SidVeld <sidveld@gmail.com>
Date:   Wed Sep 6 18:03:31 2023 +0300

    Add horizon theme

commit 0cac861910
Merge: 31be436 f798acd
Author: Jakob P. Liljenberg <admin@qvantnet.com>
Date:   Tue Sep 5 19:27:38 2023 +0200

    Merge pull request #609 from scorpion-26/byteconv

    Fix short conversion of 1000-1023 *iB

commit f798acdaf7
Author: scorpion-26 <dev.scorpion26@gmail.com>
Date:   Tue Sep 5 18:00:47 2023 +0200

    Fix short conversion of 1000-1023*iB

    floating_humanizer([1000-1024], true) with base 8 returns "2K", whereas it should return
    "1.0K" to align with other formats. The conversion is also broken for
    all other units(e.g. 1023M is also broken and returns "2G")

commit 31be4362ce
Author: aristocratos <gnmjpl@gmail.com>
Date:   Sun Aug 27 02:00:07 2023 +0200

    FreeBSD Github action 13.1 -> 13.2 and static libgcc and libstdc++

commit fc523fd1d0
Author: aristocratos <gnmjpl@gmail.com>
Date:   Sun Aug 27 01:36:26 2023 +0200

    Fix for FreeBSD github action not failing "correctly"...
2023-11-25 21:01:11 +01:00
aristocratos
b87772611c Added definition GPU_SUPPORT to toggle GPU related code 2023-11-25 20:44:45 +01:00
aristocratos
975525d38f Fix: Cpu gpu stats always shown when show_gpu_info is On and sizing issues 2023-08-27 12:34:46 +02:00
aristocratos
7290109f80 Merge fix 2023-08-27 00:58:30 +02:00
aristocratos
283d463242 Merge branch 'main' into pr/romner-set/529 2023-08-27 00:56:22 +02:00