Commit graph

191 commits

Author SHA1 Message Date
aristocratos 19e9a181ea v1.0.3 Bug fixes 2021-09-21 17:39:49 +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 026a9311e9 v1.0.2 Bug fixes 2021-09-20 18:32:08 +02:00
aristocratos bb5728187a Fixed: Options menu page selection alignment 2021-09-20 18:28:45 +02:00
aristocratos af465b5b84 Fixed: Menu size and preset size issues and added warnings for small terminal size 2021-09-20 18:20:30 +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 9319d0c48c Missing comma... 2021-09-18 20:31:47 +02:00
aristocratos 91025a8025 v1.0.1 Bug fixes 2021-09-18 20:20:02 +02:00
aristocratos fca1d8c199 Fixed UTF-8 check to include UTF8 and added thread started check before joining in clean_quit() 2021-09-18 17:59:45 +02:00
aristocratos 3b80ef9e40 Command line options fixup 2021-09-18 17:33:02 +02:00
Michael Pyne 97726f3fa7 Fix documentation of --utf-force in README and --help.
Fixes #1.
2021-09-18 10:58:51 -04:00
aristocratos 480b421852 v1.0.0 First release 2021-09-18 15:30:42 +02:00
aristocratos 9b6f362247 Added preset selection as program argument 2021-09-18 15:26:56 +02:00
aristocratos 33884e2bf0 Fixed variables to support 32-bit and added preset selection 2021-09-18 14:42:53 +02:00
aristocratos cffa303270 Added battery info in Cpu::draw() 2021-09-18 02:13:35 +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
aristocratos 03f64c22de Added btop_platform.cpp, moved btop_linux.cpp to btop_linux.hpp and updated robin_hood.h 2021-08-23 17:35:27 +02:00
aristocratos b2e0707c32 Added terminal size limit warnings and fixed net auto sizing 2021-08-22 21:39:25 +02:00
aristocratos 3f27fb24b5 Added clock, updated makefile and switch to using semaphore to trigger _runner thread 2021-08-22 16:04:01 +02:00
aristocratos 8bd97b4f24 Fixed memory leak and greatly reduced general memory usage 2021-08-17 22:33:21 +02:00
aristocratos 7ab765b575 Added Net::collect(), Net::draw() and input mappings for net 2021-08-15 23:20:55 +02:00
aristocratos ee073f6ae5 Added some comments and changed some defaults 2021-08-12 22:25:18 +02:00
aristocratos ced3d47ebe Removed bad goto and added 100 microseconds sleep in thread manager loop to spare some cpu cycles 2021-08-11 23:21:33 +02:00
aristocratos f9ed675d47 Added bitmask enums and fixed signed to unsigned comparisons 2021-08-11 20:25:11 +02:00
aristocratos d56fe4cdb5 Runner::_runner() async threads and bitmask loop 2021-08-11 08:00:13 +02:00
aristocratos acb20832d1 Added mem and disks 2021-08-10 20:20:33 +02:00
aristocratos 95db0eaf90 Formatting and fixes 2021-08-04 00:11:50 +02:00
aristocratos 102ed6179e Added cpu temperature functionality 2021-08-03 23:47:46 +02:00
aristocratos e33b4b7b0c Added Cpu::collect(), Cpu::get_cpuName() and Cpu::getHz() 2021-07-29 23:40:56 +02:00
aristocratos 3a4f33485a Added proc info box and changed Proc::collect() to reuse old data when changing filters or sorting etc. 2021-07-26 01:06:34 +02:00
aristocratos 9ee9f3232d Added functionality for text editing and slight modifications to default theme colors 2021-07-24 02:13:26 +02:00
aristocratos f8005aeb21 Added mouse support and graphs for processes in proc box 2021-07-23 01:41:00 +02:00
aristocratos 4dab58a570 removed duplicate 2021-07-21 03:21:10 +02:00
aristocratos 5d4e2ce182 Loads... 2021-07-21 03:17:34 +02:00
aristocratos 77ef41daea Small changesd 2021-07-18 18:04:49 +02:00
aristocratos 0c1feb909e Added Input::process for input actions and Runner:: namespace for multithreading collection and drawing 2021-07-18 15:44:32 +02:00
aristocratos 1121978214 Proc::draw() and SIGWINCH resizing handler 2021-07-15 23:49:16 +02:00
aristocratos e3b297e82a Proc::draw gradients 2021-07-05 22:18:58 +02:00
aristocratos 1ff9e218d3 Added Draw::calcSizes() and Proc::draw() 2021-07-04 22:02:31 +02:00
aristocratos ad5864266a Added Proc::_collect_details for process info box collection 2021-07-04 01:18:48 +02:00
aristocratos 3634633e21 Proc::collect() optimization and started on Proc::_collect_details() 2021-06-30 22:28:12 +02:00
aristocratos 331665dc55 Fixed filtering for processes tree view 2021-06-27 22:13:32 +02:00
aristocratos db3bf06485 proc/[pid]/stat collection improvement 2021-06-27 01:19:57 +02:00
aristocratos 36f0264485 Added theme loadfile function 2021-06-25 23:58:19 +02:00
aristocratos b4d223cf40 Small optimization for collect 2021-06-22 22:06:31 +02:00
aristocratos f3628a96eb added str_to_upper and str_to_lower 2021-06-22 19:19:14 +02:00
aristocratos c222805383 Why not and or 2021-06-21 22:52:55 +02:00
aristocratos 3a783ae4a5 Added themes and 16 color mode 2021-06-20 22:07:04 +02:00
aristocratos 61694f72a5 More reorganizing 2021-06-20 00:49:13 +02:00
aristocratos 470bca62ec More efficient proc sorting 2021-06-20 00:04:02 +02:00
aristocratos 3e92a5e89a More file reorganizations 2021-06-19 22:48:31 +02:00
aristocratos d459d088a0 File reorganization and more efficient build 2021-06-19 14:57:27 +02:00
aristocratos ba481d042c Added processes tree view 2021-06-13 23:12:11 +02:00
aristocratos c4b55c7dfd Added config file loader 2021-06-12 18:49:27 +02:00
aristocratos 63a286d6a1 Added config file descriptions and config write function 2021-06-12 00:35:15 +02:00
aristocratos 10a8bfe39e Added signal handler 2021-06-09 19:47:49 +02:00
aristocratos dbb5a0599b Fixed broken uresize() 2021-06-06 23:12:01 +02:00
aristocratos 9667fe65b4 Change Proc::collect to return a reference to Proc::current_procs instead of a new vector 2021-06-06 22:49:24 +02:00
aristocratos deec8f20e0 Config thread safety 2021-06-06 01:41:36 +02:00
aristocratos 43e3c4fa87 Optimizations and fixes 2021-06-05 01:41:24 +02:00
aristocratos ce34cbb8d0 Small improvements 2021-06-02 21:33:26 +02:00
aristocratos 9bf7da049b Graph symbols to 5x5 2D vector 2021-06-01 22:36:36 +02:00
aristocratos d5aa08be7b Graph changes 2021-05-31 21:47:41 +02:00
aristocratos 4780035073 Fix Graph 2021-05-30 17:01:57 +02:00
aristocratos 3263e7496d Added Graph class 2021-05-30 02:15:09 +02:00
aristocratos f424feb24d Small changes 2021-05-29 02:32:36 +02:00
aristocratos ecd4ef9985 Added Meter class 2021-05-27 22:29:36 +02:00
aristocratos e7cbc28960 small 2021-05-26 16:23:29 +02:00
aristocratos 342f0af6a8 Added error logger 2021-05-23 22:25:07 +02:00
aristocratos b5e709da66 Added init path setup and strf_time function 2021-05-23 01:59:13 +02:00
aristocratos 81f2284a75 Proc optimization 2021-05-22 02:13:56 +02:00
aristocratos 881b90f4f3 fixes 2021-05-20 15:04:06 +02:00
aristocratos 9a901a4fba ssplit() added ignore_remainder bool 2021-05-20 15:03:33 +02:00
aristocratos d17c6d475a Switch /proc/pid/stat to string parsing to avoid bad charaters in comm field 2021-05-20 09:36:36 +02:00
aristocratos 098a914f4b Proc changes 2021-05-19 23:21:56 +02:00
aristocratos 806045c0a6 Switched from map to unordered_map where possible 2021-05-18 22:11:34 +02:00
aristocratos 9b837535bd Switch from vectors to arrays when size is known 2021-05-18 01:16:22 +02:00
aristocratos e040e6bb74 Added color gradients and function for drawing boxes 2021-05-16 22:58:16 +02:00
aristocratos 8364d856c8 changed proc cache to be more effective 2021-05-15 13:24:24 +02:00
aristocratos c007282317 added proc_info and p_cache structs instead of tuples 2021-05-15 02:56:04 +02:00
aristocratos 833d253276 Namespaces < Classes 2021-05-14 18:54:37 +02:00
aristocratos 05eb21dfbb Added threads, memory to processes 2021-05-13 21:11:10 +02:00
aristocratos 621534f5d4 del 2021-05-13 03:12:46 +02:00
aristocratos cfa944faac Processes sorting, filtering and cpu calculations 2021-05-13 03:11:29 +02:00
aristocratos d1180d6b38 Testing Processes class 2021-05-10 23:46:41 +02:00
aristocratos faa52b0306 Testing reading from proc 2021-05-09 22:25:41 +02:00
aristocratos 224ade22fa Refactoring and new functions 2021-05-09 00:18:51 +02:00
aristocratos 3b3a93935d File reorganization 2021-05-08 20:37:36 +02:00