Commit graph

1049 commits

Author SHA1 Message Date
masiboss 5902484f39 simplify removal of "Apple" 2023-12-07 21:42:11 +01:00
masiboss 5beb9e12e5 in case apple decides to add another suffix to the cpu name 2023-12-07 20:56:40 +01:00
masiboss 1b2f11b412 cut less of cpu name if frequency is not shown 2023-12-07 20:49:34 +01:00
masiboss bcf4ad8ab6 fix array out of bounds on regular m chip 2023-12-07 19:50:12 +01:00
masiboss aeefcacbc9 fix cpu version not included 2023-12-07 19:34:11 +01:00
masiboss 23698940df strip "Apple" from name of Apple silicon chips 2023-12-07 19:23:58 +01:00
Steffen Winter 8096433736
Fix printed model name for older Intel CPU 2023-12-05 02:34:24 +01:00
Steffen Winter f4b14ce97e
Add CMake compile instructions for macOS 2023-12-05 01:09:15 +01:00
Steffen Winter 97b35d9720
Add cmake workflow for all platforms 2023-12-05 01:03:54 +01:00
Steffen Winter e35538fa29 Patch RPATH on FreeBSD, support OSX and format 2023-12-04 15:56:23 +01:00
Jakob P. Liljenberg 0d357468b5
Merge pull request #674 from imwints/bsd-workflow
Provide FreeBSD static release binaries
2023-12-01 22:52:51 +01:00
Steffen Winter 00f58b6228
Provide FreeBSD static release binaries
Bumps vmaction@freesdb-vm to version 1 which runs on Linux and doesn't
hang all the time. Also uses clang for full static compilation
2023-12-01 15:12:47 +01:00
Jakob P. Liljenberg ebc46ca12c
Clean up compile instructions 2023-11-27 18:21:42 +01:00
Jakob P. Liljenberg d1384c9341
Merge pull request #671 from imwints/cmake-gpu
Bring GPU support to CMake and improve how Make handles the ROCm library build
2023-11-27 17:53:39 +01:00
Steffen Winter 6f12e3555d
Properly invoke CMake to build ROCm
* Build an optimized library by default
* Only build the library target
* ROCm is build with debug symbols when `make DEBUG=true`
* Enable LTO
* Use the more generic CMake build command instead of calling make
  directly, this always uses all cores by default and makes it easier to
  switch to another generator e.g. Ninja
* Use a variable to store the ROCm source directory. The directory can
  be changed with `make ROCM_DIR=<dir>`
* The static library is now directly linked by CMake and not created off
  of the object files from a shared library build
* The C++ compiler used to compile btop is now used to compile ROCm to
  avoid name mangling when `CXX` from the environment and `make CXX=`
  differ
* CMake is invoked from btop's root directory
2023-11-27 12:19:21 +01:00
Steffen Winter 0585bc9cfb Suppress all output from ROCm build
Similar to including external include files with `-isystem`, ignore
output from ROCm build since these warnings aren't a concern here
2023-11-27 11:42:40 +01:00
Steffen Winter 831be262b0 Remove ROCm object files with make clean/distclean 2023-11-27 11:42:40 +01:00
Steffen Winter 2f59e61d87
Add GPU options for cmake based builds 2023-11-27 11:42:30 +01:00
Steffen Winter 7588d96dd4
Add check for <ranges> header 2023-11-26 21:40:29 +01:00
Steffen Winter ebbb769a6a
Move calls to find_package to where they're required 2023-11-26 21:39:13 +01:00
Steffen Winter ed0fa34a9d
Bump required CMake version 2023-11-26 19:39:29 +01:00
Jakob P. Liljenberg 2b0cc37632
Update compile instructions for Gpu support 2023-11-25 23:11:54 +01:00
aristocratos 359c67136b Update changelog 2023-11-25 22:49:26 +01:00
Jakob P. Liljenberg 5b01235315
Merge pull request #529 from romner-set/main
Add GPU monitoring support
2023-11-25 21:57:32 +01:00
Jakob P. Liljenberg 0bb8599a96
Merge branch 'main' into main 2023-11-25 21:51:09 +01:00
aristocratos 94d4502901 Readme update and Makfile fixes. 2023-11-25 21:48:50 +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
Jakob P. Liljenberg 0267eba2bb
Merge pull request #659 from ivanp7/patch-1
Add alternative key codes for Delete, Insert, Home, End
2023-11-15 21:43:18 +01:00
Jakob P. Liljenberg 50bbab0512
Merge pull request #660 from stradicat/feature/elementarish
Elementarish theme: color update according to Elementary palette
2023-11-15 21:35:50 +01:00
Dennis Mayr 5a14c7b6fa
Merge branch 'main' of https://github.com/stradicat/btop 2023-11-15 17:27:34 -03:00
Dennis Mayr 979506f18e
Elementarish theme: color update according to Elementary palette 2023-11-15 17:25:09 -03:00
Dennis Mayr 71eb4142e8
Elementarish theme: color update according to Elementary palette 2023-11-08 11:17:47 -03:00
vân e81cf2b7ff
Add alternative key codes for Insert, Home, End 2023-11-07 15:12:27 +00:00
vân f9452ff6d5
Add alternative Delete key code
Delete key not always produces ^[[3~, on some terminals (like st) it produces ^[[P.
2023-11-06 13:31:53 +00:00
Jakob P. Liljenberg 9edbf27f1b
Merge pull request #649 from nobounce/workflow-timeout
Set FreeBSD workflow timeout
2023-10-21 02:09:55 +02:00
Steffen Winter ff1f51ccbb
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.
2023-10-18 22:41:49 +02:00
nobounce c90e3f9b15
Try get terminal size of "/dev/tty" if stdout fails
LLDB does not set the terminal sizes for stdout so try to get them for
"/dev/tty". This helps to get back traces on arm64 where gdb is
not supported
2023-10-14 17:12:44 +02:00
Jakob P. Liljenberg 2a864f6f2e
Merge pull request #643 from DecklynKern/main
Fix scrollbar not clearing sometimes.
2023-10-07 10:40:54 +02:00
DecklynKern b2bf8ef504 Fix scrollbar not clearing sometimes. 2023-10-06 17:33:38 -06:00
Jakob P. Liljenberg 636eb25f5e
Merge pull request #623 from rahulaggarwal965/main
Add keybind for toggling memory display mode in PROC box
2023-09-30 19:51:03 +02:00
Rahul Aggarwal b5ba2fc963 Add keybind for toggling memory display mode in PROC box 2023-09-30 19:41:03 +02:00
Jakob P. Liljenberg 260c0f6623
Merge pull request #635 from lvxnull/editorconfig
Add hpp files to .editorconfig
2023-09-30 18:56:25 +02:00
lvxnull e6a06eb729 Add hpp files to .editorconfig 2023-09-30 18:55:56 +02:00
Jakob P. Liljenberg 52bfff7ceb
Merge pull request #636 from nobounce/performance-iili
Minor string initialization improvement
2023-09-30 18:55:08 +02:00
nobounce 19dbbe1a17
Minor string initialization improvement 2023-09-29 12:26:19 +02:00
Jakob P. Liljenberg 1f72e56c7d
Merge pull request #633 from crestfallnatwork/main
[fix] Made disks statvfs logic asynchronous.
2023-09-29 10:43:21 +02:00
crestfalln cdcf8bc929 fixed bug where updated disks stats overrided disk io data 2023-09-29 09:51:18 +02:00
crestfalln 9b4e85f08d fixed bug where updated disks stats overrided disk io data 2023-09-29 09:51:18 +02:00
crestfalln 889623874e made disks stat logic async 2023-09-29 09:51:18 +02:00