Commit graph

1055 commits

Author SHA1 Message Date
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
lvxnull b8e43d92b8 Use native POSIX polling syscalls to read input
No more awkward manual polling
2023-09-28 20:02:47 +02:00
Jakob P. Liljenberg 278a0e6b17
Merge pull request #630 from lvxnull/signal-list
Fix signal list on non-linux/weird linux platforms
2023-09-28 18:32:09 +02:00
lvxnull e89519fbb2 Fix signal list on non-linux/weird linux platforms 2023-09-28 18:23:11 +02:00
Jakob P. Liljenberg d16adc9fd0
Merge pull request #618 from nobounce/aggregate-child-processes
Add option to accumulate a child's resources in parent in tree-view
2023-09-28 18:20:42 +02:00
nobounce f34b40892f
Make process thread count better readable when wider than 5 digits 2023-09-24 16:34:50 +02:00
nobounce 6027cedd42
Add option to accumulate a child's resources in parent in tree-view 2023-09-14 23:29:49 +02:00
Jakob P. Liljenberg 2c3ac4855d
Merge pull request #589 from nobounce/cmake
Add CMake support for Linux
2023-09-13 21:14:56 +02:00
Jakob P. Liljenberg f90dc37c26
Merge pull request #610 from SidVeld/feature/horizon-theme
Horizon theme
2023-09-13 20:27:05 +02:00
nobounce 5c6a281002
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
2023-09-13 10:31:20 +02:00
SidVeld 68a49c10a6 Add horizon theme 2023-09-06 18:03:31 +03:00
Jakob P. Liljenberg 0cac861910
Merge pull request #609 from scorpion-26/byteconv
Fix short conversion of 1000-1023 *iB
2023-09-05 19:27:38 +02:00
scorpion-26 f798acdaf7 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")
2023-09-05 18:00:47 +02:00
Jos Dehaes 33595a2c9e initial openbsd bringup
first light

add temp sensor code

some fixes + some logging

add battery code

fix temp

remove some debugging

fix core CPU

fix keypress

remove debug logging

fix Makefile

logging

mem + swap

battery status

process args

detail process state

remove logging

disk io

minor cleanup
2023-09-01 22:35:56 +02: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 31be4362ce FreeBSD Github action 13.1 -> 13.2 and static libgcc and libstdc++ 2023-08-27 02:00:07 +02:00
aristocratos fc523fd1d0 Fix for FreeBSD github action not failing "correctly"... 2023-08-27 01:36:26 +02:00
aristocratos 08abf0b930 Quickfixes for MacOS and FreeBSD compilation. 2023-08-27 01:28:36 +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
aristocratos efddad42dc Changed: cpu_graph_lower Auto defaults to cpu_graph_upper when show_gpu_info is Off 2023-08-27 00:39:57 +02:00
aristocratos a9bc0874d4 Added show_gpu_info setting and Auto options for cpu graphs 2023-08-27 00:31:07 +02:00
aristocratos b3970ee19c Fixed: Key 5-0 gpu box toggle 2023-08-26 20:52:59 +02:00
aristocratos bd5d697830 Squashed commit of the following:
commit c296ac13cd
Merge: 9a1e760 091c30a
Author: Jakob P. Liljenberg <admin@qvantnet.com>
Date:   Sat Aug 26 19:29:57 2023 +0200

    Merge pull request #590 from nobounce/dangling-reference-config

    Convert parameters and config keys to std::string_view

commit 9a1e760a66
Merge: 9c8af4d 22e64ca
Author: Jakob P. Liljenberg <admin@qvantnet.com>
Date:   Sat Aug 26 19:20:18 2023 +0200

    Merge pull request #602 from jfouquart/main

    Fix getting zfs pool name with '.' char in freebsd

commit 9c8af4df43
Merge: 8a49d8c 2217cbe
Author: Jakob P. Liljenberg <admin@qvantnet.com>
Date:   Sat Aug 26 19:18:55 2023 +0200

    Merge pull request #601 from joske/cleanup

    [macos] don't check /sys on macos

commit 8a49d8cf45
Merge: 1556388 008fcd8
Author: Jakob P. Liljenberg <admin@qvantnet.com>
Date:   Sat Aug 26 19:18:07 2023 +0200

    Merge pull request #600 from joske/makefile

    [macos/freebsd] support gcc13

commit 1556388c83
Merge: 1b126f5 d17e1a2
Author: Jakob P. Liljenberg <admin@qvantnet.com>
Date:   Sat Aug 26 19:14:00 2023 +0200

    Merge pull request #599 from joske/main

    [macos] fix temp sensor on system with many cores

commit d17e1a2dac
Author: Jos Dehaes <jos.dehaes@gmail.com>
Date:   Fri Aug 25 16:18:39 2023 +0200

    fix some warnings

commit 4d8aa6b118
Author: Jos Dehaes <jos.dehaes@gmail.com>
Date:   Fri Aug 25 15:52:58 2023 +0200

    fix core check

commit 22e64caaff
Author: Jonathan Fouquart <jfouquart@hotmail.fr>
Date:   Fri Aug 25 09:37:49 2023 +0200

    Fix getting zfs pool name with '.' char in freebsd

commit 2217cbe143
Author: Jos Dehaes <jos.dehaes@gmail.com>
Date:   Wed Aug 23 16:01:04 2023 +0200

    [macos] don't check /sys on macos

commit 008fcd889e
Author: Jos Dehaes <jos.dehaes@gmail.com>
Date:   Wed Aug 23 16:05:00 2023 +0200

    also add g++13

commit 0fdca5eb03
Author: Jos Dehaes <jos.dehaes@gmail.com>
Date:   Wed Aug 23 15:54:07 2023 +0200

    support gcc13

commit dcbdb7360d
Author: Jos Dehaes <jos.dehaes@gmail.com>
Date:   Wed Aug 23 15:46:47 2023 +0200

    [macos] fix temp sensor on system with many cores

commit 1b126f55e3
Author: aristocratos <gnmjpl@gmail.com>
Date:   Fri Aug 4 01:08:27 2023 +0200

    Update Makefile for partial static compilation on freebsd

commit c8ec6bbb00
Author: aristocratos <gnmjpl@gmail.com>
Date:   Thu Aug 3 23:08:33 2023 +0200

    Fix freebsd nullptr changes and makefile for gcc12 and newer

commit 8a33aab588
Merge: 94e5c02 e4abcef
Author: Jakob P. Liljenberg <admin@qvantnet.com>
Date:   Sun Jul 30 13:21:48 2023 +0200

    Merge pull request #539 from nobounce/replace-NULL-nullptr

    Modernize using nullptr.

commit 94e5c02d11
Author: aristocratos <gnmjpl@gmail.com>
Date:   Thu Jul 27 20:51:21 2023 +0200

    Better text editing

commit 091c30ab2b
Author: nobounce <steffen.winter@proton.me>
Date:   Thu Jul 27 14:17:54 2023 +0200

    Convert parameters and config keys to std::string_view

    Using std::string_view instead of std::string& silences a new warning
    from GCC 13, -Wdangling-reference

    Also switch return type of `getI` from int& to int, trivial types are
    cheaper to copy by value

commit e4abcefbf9
Author: nobounce <steffen.winter@proton.me>
Date:   Wed Jul 26 16:19:17 2023 +0200

    Use nullptr instead of NULL.

    See https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2431.pdf
    TLDR: NULL is of type int and relies on proper implicit pointer
    conversion which may lead to issues when using overloaded functions

    It is also considered a 'best practise' for modern C++ and
    conveys the programmers intention more precisly.

commit d53307f14c
Author: nobounce <steffen.winter@proton.me>
Date:   Sun Jul 23 19:53:36 2023 +0200

    Fix path to Linux CI file in itself

    The CI file has a list of dependent files including itself. The path was
    not updated when the CI was split into different files

commit 594f42b9eb
Merge: aca2e4b 53d6eba
Author: Jakob P. Liljenberg <admin@qvantnet.com>
Date:   Wed Jul 26 15:38:01 2023 +0200

    Merge pull request #584 from nobounce/nb/fix-ci-path

    Fix path to Linux CI file in itself

commit aca2e4be75
Author: aristocratos <gnmjpl@gmail.com>
Date:   Wed Jul 26 14:38:48 2023 +0200

    Fix whitespace indent -> tab indent

commit 33faa01910
Author: aristocratos <gnmjpl@gmail.com>
Date:   Wed Jul 26 14:34:15 2023 +0200

    Revert fmt submodule to static fmt folder in include

commit 53d6ebabc0
Author: nobounce <steffen.winter@proton.me>
Date:   Sun Jul 23 19:53:36 2023 +0200

    Fix path to Linux CI file in itself

    The CI file has a list of dependent files including itself. The path was
    not updated when the CI was split into different files
2023-08-26 20:29:43 +02:00
Jakob P. Liljenberg c296ac13cd
Merge pull request #590 from nobounce/dangling-reference-config
Convert parameters and config keys to std::string_view
2023-08-26 19:29:57 +02:00
Jakob P. Liljenberg 9a1e760a66
Merge pull request #602 from jfouquart/main
Fix getting zfs pool name with '.' char in freebsd
2023-08-26 19:20:18 +02:00
Jakob P. Liljenberg 9c8af4df43
Merge pull request #601 from joske/cleanup
[macos] don't check /sys on macos
2023-08-26 19:18:55 +02:00
Jakob P. Liljenberg 8a49d8cf45
Merge pull request #600 from joske/makefile
[macos/freebsd] support gcc13
2023-08-26 19:18:07 +02:00
Jakob P. Liljenberg 1556388c83
Merge pull request #599 from joske/main
[macos] fix temp sensor on system with many cores
2023-08-26 19:14:00 +02:00
Jos Dehaes d17e1a2dac fix some warnings 2023-08-25 16:18:39 +02:00
Jos Dehaes 4d8aa6b118 fix core check 2023-08-25 15:52:58 +02:00
Jonathan Fouquart 22e64caaff Fix getting zfs pool name with '.' char in freebsd 2023-08-25 09:37:49 +02:00
Jos Dehaes 2217cbe143 [macos] don't check /sys on macos 2023-08-23 16:46:02 +02:00
Jos Dehaes 008fcd889e also add g++13 2023-08-23 16:11:31 +02:00
Jos Dehaes 0fdca5eb03 support gcc13 2023-08-23 15:54:07 +02:00
Jos Dehaes dcbdb7360d [macos] fix temp sensor on system with many cores 2023-08-23 15:46:47 +02:00
aristocratos 1b126f55e3 Update Makefile for partial static compilation on freebsd 2023-08-04 01:08:27 +02:00
aristocratos c8ec6bbb00 Fix freebsd nullptr changes and makefile for gcc12 and newer 2023-08-03 23:08:33 +02:00
Jakob P. Liljenberg 8a33aab588
Merge pull request #539 from nobounce/replace-NULL-nullptr
Modernize using nullptr.
2023-07-30 13:21:48 +02:00
aristocratos 94e5c02d11 Better text editing 2023-07-27 20:51:21 +02:00
nobounce 091c30ab2b
Convert parameters and config keys to std::string_view
Using std::string_view instead of std::string& silences a new warning
from GCC 13, -Wdangling-reference

Also switch return type of `getI` from int& to int, trivial types are
cheaper to copy by value
2023-07-27 14:17:54 +02:00
nobounce e4abcefbf9 Use nullptr instead of NULL.
See https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2431.pdf
TLDR: NULL is of type int and relies on proper implicit pointer
conversion which may lead to issues when using overloaded functions

It is also considered a 'best practise' for modern C++ and
conveys the programmers intention more precisly.
2023-07-26 16:19:17 +02:00
nobounce d53307f14c Fix path to Linux CI file in itself
The CI file has a list of dependent files including itself. The path was
not updated when the CI was split into different files
2023-07-26 16:17:14 +02:00
Jakob P. Liljenberg 594f42b9eb
Merge pull request #584 from nobounce/nb/fix-ci-path
Fix path to Linux CI file in itself
2023-07-26 15:38:01 +02:00
aristocratos aca2e4be75 Fix whitespace indent -> tab indent 2023-07-26 14:38:48 +02:00