Commit Graph

123 Commits

Author SHA1 Message Date
romner 95b3228308 Improve GPU side panel 2023-05-13 19:41:51 +02:00
romner adcdc583b0 Add GPU side panel 2023-05-13 00:27:23 +02:00
romner d522a91ef4 Add rudimentary, fullscreen single-GPU NVML utilization graph 2023-05-12 19:34:47 +02:00
Arjun P c1675634ef Address comment 2022-10-31 21:42:34 +00:00
Arjun P bb40de64c9 Fix bug in proc_tree view when showing full cmd 2022-10-30 09:27:56 +00:00
Arjun P 4fbda9df29 proc tree: fix width threshold to match commit message and use and/or instead of &&, || 2022-10-29 00:20:11 +01:00
Arjun P ede7d0a76a proc tree view: if there's more than 40 width left, try to print full cmd 2022-10-28 22:24:56 +01:00
Στέφανος f0e413ed6f All but two places `const bool` have been updated
I haven't touched `include/robin_hood.h` as I don't know whether it's a
third-party header file that could get rewritten at a later time of a
possible future release by the author(s) of it.
2022-10-04 21:36:04 +03:00
Στέφανος 8331cb36f8 More const bool cleanup 2022-10-04 17:33:53 +03:00
Στέφανος ab7fe62e65 Fix variable initialization to 'auto' for getB()
It does not make sense to return a `const bool&` as we are dealing with
Boolean literals that are `prvalue`s of type bool.

The compiler is smart enough to do the necessary optimizations wherever
is applicable.
2022-10-04 12:56:14 +03:00
Στέφανος 36a180033d Forgot to update 'auto' usage wherever necessary 2022-10-04 12:11:12 +03:00
Στέφανος 1fddbc1cd6 Further Cleanup Part 2 2022-10-03 00:29:05 +03:00
aristocratos 90034156dd Fixed: Memory values not clearing properly when not in graph mode in mem box 2022-08-28 13:36:00 +02:00
Aristocratos 2d6bf1f4aa Added: Option to hide the small cpu graphs for processes 2022-07-29 16:18:06 +02:00
Aristocratos edbafa9060 Changed: Small graphs now show colors for each character 2022-07-26 21:34:14 +02:00
aristocratos ab92ed1257 Fixed: Logo transparency 2022-07-05 11:52:12 +02:00
aristocratos 6b1b9f8142 Changed: Rewrite of process sorting and tree generation including fixes for tree sorting and mouse support 2022-07-03 12:37:54 +02:00
aristocratos 294b753164 Fixed: Mouse mappings for net box 2022-03-04 20:26:04 +01:00
aristocratos 7097c1c790 Merge branch 'main' of github.com:aristocratos/btop 2022-03-04 20:23:12 +01:00
aristocratos 2b569266d3 Fixed: Small ui fixes for mem and disks 2022-03-04 20:22:46 +01:00
mrdotx ccfbf182e3
fix: title_left symbol between auto and zero in the net box is not displayed 2022-02-24 11:55:16 +01:00
mohammad hashemy 682313027f add "g" and "G" to vim keys 2022-02-21 20:52:08 +03:30
aristocratos f7860f9d1b Optimization: Proc::draw() 2022-02-16 08:06:24 +01:00
aristocratos 58846af516 Fixed: Process tree not redrawing properly 2022-02-15 06:58:22 +01:00
aristocratos ac5ad87121 Fixed: Battery meter draw fix 2022-02-11 19:46:29 +01:00
aristocratos 31555d8a7e Fixed: Alignment of columns in proc box when wide UTF8 characters are used 2022-02-11 19:30:06 +01:00
aristocratos 609dfccadd Fixed: Fixed network graph scale int rollover 2021-12-09 07:10:56 +01: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 2df9b58ff1 Added: Toggle in options for enabling directional vim keys "h,j,k,l" 2021-10-12 17:34:52 +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 585bb7bb1e Changed: Graph empty symbol is now regular whitespace 2021-10-02 22:39:45 +02:00
aristocratos d226e6199f Fixed: Cpu percent formatting if over 10'000 2021-09-30 22:48:03 +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 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 2aca963f30 Fixed: Scrollbar position incorrect in small lists and selection not working when filtering 2021-09-24 22:24:15 +02:00
aristocratos a35a2c6884 Fixed: Cores not constrained to cpu box and core numbers above 100 cut off 2021-09-24 22:07:01 +02:00
aristocratos 5e6d1babdc Fixed: Processes not completely hidden when collapsed in tree mode 2021-09-23 12:44:46 +02:00
aristocratos 078daf431a Fixed: Load AVG sizing when hiding temperatures 2021-09-22 09:10:52 +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 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 acb20832d1 Added mem and disks 2021-08-10 20:20:33 +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 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 c222805383 Why not and or 2021-06-21 22:52:55 +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