aristocratos
6fa3bf41d7
Makefile fixed WARNFLAGS
2021-10-21 13:12:45 +02:00
aristocratos
2c98e2ca29
Updated Makefile
2021-10-21 13:08:12 +02:00
Jos Dehaes
e69780e9bc
fix build
2021-10-20 23:26:09 +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
f15c2fdcf6
Fixed: Makefile g++ -dumpmachine failure to get platform on some distros
2021-10-18 20:55:06 +02:00
aristocratos
997bfd2712
v1.0.17 New features and bug fixes
2021-10-18 18:56:27 +02:00
aristocratos
a590dd3f67
Ignore format-truncation
2021-10-18 11:20:12 +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
368ed273ec
Merge pull request #98 from jan-guenter/svg-logo
...
SVG logo
2021-10-17 22:48:47 +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
ebcfd1c367
added a SVG version of the logo
...
recreated logo.png form logo.svg for optimized png data
2021-10-17 20:54:02 +02:00
aristocratos
dfef4fdcc8
Update README.md
2021-10-17 20:25:46 +02:00
aristocratos
9da58e0e64
Trigger on push to branch "main" not "master"
2021-10-17 17:51:23 +02:00
aristocratos
be9086c68f
Swap triggers around to see if it triggers...
2021-10-17 17:48:31 +02:00
aristocratos
7adbcbb6d9
Merge pull request #97 from jan-guenter/battery-detection-issue-94
...
Improved battery detection
2021-10-17 17:14:18 +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
2ee1333226
Changed: Removed microblaze platform from build targets because of issue with atomics
2021-10-17 12:11: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
Jan Günter
ac1b6aab47
adopting review comments
...
https://github.com/aristocratos/btop/pull/92#discussion_r730320662
https://github.com/aristocratos/btop/pull/92#discussion_r730320819
2021-10-17 01:02:37 +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
d3c85dad21
removed temporary trigger for testing on branch
2021-10-16 23:51:12 +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
347e135bad
updated README.md to reflect Makefile changes
2021-10-16 15:47:48 +02:00
Jan Günter
bca3521472
updated makefile to add cf-protection for i*86 builds
2021-10-16 15:37:40 +02:00
Jan Günter
b83f58a5b7
updated workflow
...
- removed ARCH parameter in favor of auto deection
- added STRIP flag
2021-10-16 15:16:44 +02:00
Jan Günter
7d4c2bd3c9
updated Makefile
...
- added platform and arch detection from CXX machine tuple
- add PLATFORM_LC, a lowercase version of PLATFORM, for case insensitive comparison
- added bool flag STRIP to force -s linker flag
- turned linker warnings into errors in case of STATIC to fail in case of glibc static linking issues
- bumped version to 1.3
2021-10-16 15:15:56 +02:00
Jan Günter
f0535095a2
changed workflow to build binaries using musl
2021-10-16 13:39:52 +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
Jan Günter
19ff463695
added yml definitions to .editorconfig
2021-10-16 13:00:23 +02:00
aristocratos
3e936bfa8e
v1.0.16 Bug fixes
2021-10-16 11:14:11 +02:00
aristocratos
070691d5d0
Merge pull request #88 from jlopezcur/fix_vim-keys-typo
...
fix: when vim keys [k]ill should be [K]ill
2021-10-16 10:36:59 +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
e5ccf7db2c
Update bug_report.md
2021-10-16 02:23:44 +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