Commit Graph

25 Commits

Author SHA1 Message Date
aristocratos c2c4fe47db Changes from main + fixes 2021-11-13 23:15:53 +01: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
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
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 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 d96fdd7eb2 Fixed: Extra "root" partition when running in snap 2021-10-06 18:06:05 +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 304b9af4e8 Fixed: Exception handling for faulty net download/upload speed 2021-09-30 22:49:14 +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 528df4d84f Added: ifstream check and try-catch for stod() in Tools::system_uptime() 2021-09-26 01:03:57 +02:00
aristocratos 5e6d1babdc Fixed: Processes not completely hidden when collapsed in tree mode 2021-09-23 12:44:46 +02:00
aristocratos 6d11c8b4db Fixed: Use /proc/pid/statm if RSS memory from /proc/pid/stat is faulty 2021-09-21 21:24:58 +02:00
aristocratos 8d3e4575be Fixed: stoi 0 literal pointer to nullptr and added more clamping for gradient array access 2021-09-21 17:21:42 +02:00
aristocratos 85f945ada0 Fixed: Color gradient array out of bounds, added clamp 0-100 for cpu percent values 2021-09-20 17:23:34 +02:00
aristocratos 33884e2bf0 Fixed variables to support 32-bit and added preset selection 2021-09-18 14:42:53 +02:00
aristocratos 650df9ac39 Added collect for battery 2021-09-17 14:25:54 +02:00
aristocratos 8583a8a2ef Added menu system 2021-09-12 15:58:23 +02:00
aristocratos db96a20e16 Added menus and boxes for signal sending 2021-09-01 21:40:13 +02:00
aristocratos 214d8962e0 Moving stuff around 2021-08-23 22:52:52 +02:00