Jos Dehaes
96461f4d94
sane memory stats
2021-10-22 13:54:00 +02:00
Jos Dehaes
e5ceeee197
processes
2021-10-22 13:38:27 +02:00
Jos Dehaes
889433d4c6
cpu model + cpu load
2021-10-22 12:08:47 +02:00
Jos Dehaes
f037ab306a
freebsd first work
2021-10-22 10:31:37 +02:00
Jos Dehaes
de62167921
Merge branch 'main' into OSX
...
# Conflicts:
# CHANGELOG.md
# Makefile
# src/btop.cpp
2021-10-20 23:10:36 +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
Jos Dehaes
4c30742d41
comments about temp sensors
2021-10-18 10:08:01 +02:00
Jos Dehaes
46030de77c
available = total - used
2021-10-18 08:10:37 +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
Jos Dehaes
4c228de0ef
use sysconf to get arg_max - seems simpler
2021-10-17 22:19:41 +02:00
Jos Dehaes
c60fc29f0f
arg_max should be int on macos
2021-10-17 22:10:50 +02:00
Jos Dehaes
0b5a931a6d
only fetch max_args once
2021-10-17 22:01:42 +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
aristocratos
71d5cd5fd9
Reverted mutexes back to custom atomic bool based locks
2021-10-16 23:24:07 +02:00
Jos Dehaes
3f34a67df6
these helpers can be static
2021-10-16 21:47:55 +02:00
Jos Dehaes
fc19c46c8a
code cleanup: put the code in .cpp to enable incremental build
2021-10-16 21:45:16 +02:00
Jos Dehaes
c252c618c0
don't crash on intel
2021-10-16 21:09:21 +02:00
Jos Dehaes
9f88187c29
small improvement
2021-10-16 21:06:18 +02:00
Jos Dehaes
808f09c974
don't iterate 3 times
2021-10-16 20:59:48 +02:00
Jos Dehaes
d8408336e3
remove debug
2021-10-16 20:59:27 +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
Jos Dehaes
4f078c3beb
more temperature (M1 + intel)
2021-10-13 23:38:36 +02:00
aristocratos
289880aaa6
Merge branch 'OSX' of github.com:aristocratos/btop into OSX
2021-10-16 19:37:09 +02:00
aristocratos
88a2528ca3
Merge changes from main
2021-10-16 19:34:10 +02:00
Jos Dehaes
3ffb21203a
release a bit more - still has negative temps for 2 cores on my system
2021-10-16 19:20:45 +02:00
aristocratos
70b4871062
Fixed leaks in Mem and attempt at fixing leaks in sensors.cpp
2021-10-16 01:59:44 +02:00
Jos Dehaes
fbae907720
temperature sensors via IOKit
2021-10-15 23:41:46 +02:00
aristocratos
cef0f0a68d
Process command line arguments
2021-10-15 18:39:17 +02:00
Jos Dehaes
a416c888c7
temperature
2021-10-13 21:16:54 +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
e7afe00ce7
Cpu usage working again
2021-10-13 12:54:43 +02:00
aristocratos
4193ef8921
Fixed cpu lazy sorting
2021-10-13 10:36:51 +02:00
aristocratos
8a399c499a
pointer to smart pointer, first pass
2021-10-12 21:50:46 +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
772605003a
Fixed detailed memory not updating
2021-10-12 18:54:38 +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