Commit graph

166 commits

Author SHA1 Message Date
aristocratos ce2a2797b8 Merge branch 'main' of github.com:aristocratos/btop 2021-10-26 17:31:37 +02:00
aristocratos 1e374b1ede Removed bad code 2021-10-26 17:31:13 +02:00
CS Adnan 73a0ad73c0 remove log warning + extra if for k10temp 2021-10-26 11:26:52 +06:00
CS Adnan 602cef8760 add support for AMD Ryzen 5000 temp sensor 2021-10-25 00:17:54 +06:00
aristocratos a1ba01980f v1.0.19 Improved build system 2021-10-21 16:54:18 +02:00
aristocratos a0ee4046c6 v1.0.18 Fix for build platform detection 2021-10-19 17:29:57 +02:00
aristocratos 997bfd2712 v1.0.17 New features and bug fixes 2021-10-18 18:56:27 +02:00
aristocratos 7d89c75abb FIxed: Battery error if non existant battery named is entered 2021-10-17 22:55:36 +02:00
aristocratos 4cacdf28fe Added: Displayed battery selectable in options menu 2021-10-17 22:26:43 +02:00
Jan Günter 22297f7954 added try catch block as suggested in review
https://github.com/aristocratos/btop/pull/97#discussion_r730428842
2021-10-17 17:06:18 +02:00
Jan Günter 966c9f5e5e improved battery detection
- new considering all power supplies (instead of path name filtering)
- only consider power supplies that are currently present
- only consider power supplies of type Batter or UPS
2021-10-17 16:31:25 +02:00
aristocratos 8a1211ec59
Merge pull request #92 from jan-guenter/musl-build
static musl builds
2021-10-17 01:59:07 +02:00
Jan Günter 816270750d readability change request in review
https://github.com/aristocratos/btop/pull/92#discussion_r730321422
2021-10-17 01:45:26 +02:00
aristocratos 1601422613 Changed: Reverted mutexes back to custom atomic bool based locks 2021-10-16 23:52:06 +02:00
Jan Günter c8a7c0dc19 changed static build behavior
restrict getpwuid usage only in static builds with glibc
2021-10-16 13:02:06 +02:00
aristocratos 3e936bfa8e v1.0.16 Bug fixes 2021-10-16 11:14:11 +02:00
Javier López Úbeda 084e231f1e fix: when vim keys [k]ill should be [K]ill
When we activate the vim_keys new option the label for kill a process
should be capitalized as "Kill" for match the shortcut Shift+K

fix: #87
2021-10-16 03:29:39 +02:00
aristocratos e20258ea9f Added: Try to restart secondary thread in case of stall and addiotional error checks for ifstream in Proc::collect() 2021-10-15 08:32:37 +02:00
aristocratos 832699ffe6 Changed: Removed unnecessary async threads in Runner thread 2021-10-14 21:44:39 +02:00
aristocratos 79a030ca82 Changed: Reverted thread mutex lock to atomic bool with wait and timeout 2021-10-14 09:22:14 +02:00
aristocratos 804fe60ca9 Fixed: Swapped from atomic bool spinlocks to mutexes to fix rare deadlock 2021-10-13 20:54:36 +02:00
aristocratos a1bda5f30c Fixed: atomic_wait() and atomic_lock{} use cpu pause instructions instead of thread sleep 2021-10-12 20:09:35 +02:00
aristocratos 903ab4cc8a v1.0.15 Vim keys 2021-10-12 17:39:21 +02:00
aristocratos 2df9b58ff1 Added: Toggle in options for enabling directional vim keys "h,j,k,l" 2021-10-12 17:34:52 +02:00
aristocratos 07145f9351 Fixed: Removed unneeded lock in Runner::run() 2021-10-12 16:56:47 +02:00
aristocratos 4b4bac7edd Changed: Limit atomic_wait() to 1000ms to fix rare stall 2021-10-12 16:49:10 +02:00
aristocratos d96fdd7eb2 Fixed: Extra "root" partition when running in snap 2021-10-06 18:06:05 +02:00
aristocratos 2d013e857f v1.0.14 Bug fixes and start of OSX development 2021-10-06 17:11:10 +02:00
aristocratos dbcd12b9d0 Fixed: snap root disk and changed to compiler flags instead of env variables for detection 2021-10-06 11:25:10 +02:00
aristocratos 69c5eba1db Fixed: Uid -> User fallback to getpwuid() if failure for non static builds 2021-10-06 10:47:24 +02:00
aristocratos 02fcb8c34a Changed: Total system memory is checked at every update instead of once at start 2021-10-05 09:18:04 +02:00
aristocratos f9505a425d v1.0.13 Better symbol compatibility 2021-10-02 22:43:49 +02:00
aristocratos 585bb7bb1e Changed: Graph empty symbol is now regular whitespace 2021-10-02 22:39:45 +02:00
aristocratos a15f961b2f Updated Prerequisites 2021-10-01 15:24:41 +02:00
aristocratos ae7b8b77ff Version bump 2021-09-30 22:51:05 +02:00
aristocratos 304b9af4e8 Fixed: Exception handling for faulty net download/upload speed 2021-09-30 22:49:14 +02:00
aristocratos d226e6199f Fixed: Cpu percent formatting if over 10'000 2021-09-30 22:48:03 +02:00
aristocratos a246c098cd v1.0.11 Bug fixes 2021-09-29 21:24:33 +02:00
aristocratos a49b8f999f Changed: Init will continue if UTF-8 locale are detected even if it fails to set the locale 2021-09-29 11:43:37 +02:00
aristocratos c70667e9e5 Fixed: UTF8 set LANG and LC_ALL to empty before UTF8 search and fixed empty error msg on exit before signal handler init 2021-09-29 08:16:49 +02:00
aristocratos ab013b989b Changed: Snap new / mountpoint detection 2021-09-28 21:54:51 +02:00
aristocratos 06cac6756d Fixed: Get real / mountpoint when running inside snap 2021-09-28 21:01:50 +02:00
aristocratos ff6d1d6eec Changed: atomic_wait to use while loop instead of atom.wait() because of random stalls 2021-09-28 16:58:08 +02:00
aristocratos 5fba94c96c v1.0.10 Bug fixes 2021-09-28 16:37:02 +02:00
aristocratos 8296c1a8d5 Changed: UTF8 detection search if LANG is set but fails to set 2021-09-28 13:08:45 +02:00
aristocratos dc914aa86d Fixed: Cpu percent cutting off above 1000 percent and added scaling with "k" prefix above 10'000 2021-09-28 09:26:50 +02:00
aristocratos 683c57539a Changed: Moved signal handler setup to later in init 2021-09-28 09:05:16 +02:00
aristocratos 1e84265479 Changed: Cpu temp values check for existing values 2021-09-28 08:54:22 +02:00
aristocratos a09ad06367 Added: Check for empty percentage deques 2021-09-27 12:51:04 +02:00
aristocratos 01dfd27ec4 Changed: Moved check for valid terminal dimensions to before platform init 2021-09-27 11:59:10 +02:00