Christian Göttsche
de645ea16c
ci: enable format attributes in ncurses headers
...
Avoid format string issues like bfcb8ca0 by helping compilers spot such
bogus usages.
Also use LTO and O3 in the full-featured gcc job, which might trigger
additional warnings on advanced inlining, like
3695cbd5d8 and
ad3acfc847
5 years ago
V
bfcb8ca019
InfoScreen: fix uncontrolled format string
...
mvwprintw takes a format string as its fourth argument, and title is
user-controlled. This results in e.g. crashing when trying to trace a
process with a format specifier in its command line.
5 years ago
Christian Göttsche
27db9297b7
Show arrow indicating order of sorted process column
5 years ago
Christian Göttsche
330d4fe22f
Unify prototype of Vector_get
...
Vector_get() currently takes a `const Vector*` in debug mode and a
`Vector*` else.
5 years ago
Christian Göttsche
8e10cde800
Hashtable: fail hard on too big size request
5 years ago
Christian Göttsche
ca2c01bd16
Hashtable: widen size from int to size_t
5 years ago
Christian Göttsche
7043a93eba
Hashtable: hide implementation of Hashtable and HashtableItem
5 years ago
Christian Göttsche
8fe04b7494
Hashtable: use more distinct typename for key type
5 years ago
Matej Dian
43d5c61884
LibSensors: add support for Ryzen CPUs
5 years ago
Christian Göttsche
e103ec0317
Declare for loop variables inside the loop
5 years ago
Christian Göttsche
7ff654f2df
Drop useless double parenthesis
5 years ago
Christian Göttsche
7386c6fed0
Avoid function cast by refactoring callback prototype
5 years ago
Christian Göttsche
ce9e7fd14f
Panel_new: reorder arguments
...
Reorder owner and type so they match the order of Panel_init
5 years ago
Christian Göttsche
badeaf9e82
IncSet: do not resize on our own and do not search on resize
...
The supervising ScreenManager will resize all Panels.
Also do not start the search on resize.
5 years ago
Christian Göttsche
a3cced9fb6
Add option to hide the Function Bar
...
Support three settings:
- Always show Function Bar
- Always hide the Function Bar, except in Infoscreens (Env/Locks...)
and when editing the search and filter mode
- Hide the Function Bar on ESC until the next user input
Closes : #439
5 years ago
Christian Göttsche
24c5ca9ddf
Panel: rework hight logic
...
The hight of a Panel dpends on whether the Panel has a header or not.
Also the header migth not be set on Panel creation, like in the
MainPanel. This currently causes the cursor to get hidden behind the
FunctionBar on down-scrolling.
5 years ago
Christian Göttsche
eb6f8d569d
Action: drop resize callback
...
The supervising ScreenManager will resize all Panels
5 years ago
Christian Göttsche
8c8149d146
XUtils: check for multiplication overflow in allocation size
5 years ago
Luke Groeninger
a150a81669
Fix CPU percentage on M1 silicon Macs
5 years ago
Christian Göttsche
90ea3ac3c9
Object: return int on comparison
...
Comparisons do, due to the new introduced shaceship-comparisons,
only return -1, 0, 1 or the result of strcmp().
5 years ago
Christian Göttsche
293c16e22d
Only initialize and gather delay accounting data if a related column is enabled
...
Avoid creating and communicating over a netlink socket by default, which
triggers cap_net_admin checks as root.
5 years ago
Christian Göttsche
f6aa5d29bb
Action: remove trivial wrapper function
5 years ago
Christian Göttsche
2c06566405
LoadMeter: dynamically adjust color and total of bar
...
Change the color and total based on the actual 1min load value:
< 1 : green and total of 1.0
< cpu-count : yellow and total of cpu-count
else : red and total of 2*cpu-count
Closes : #32
5 years ago
Christian Göttsche
d609c04fe4
CRT: add METER_VALUE_ERROR and adjust some METER_VALUE_WARN colors
5 years ago
Daniel Lange
ca9d7cd708
Also find libsensors.so.4 for Fedora and friends
5 years ago
Daniel Lange
debeac49cd
Merge branch 'cpufreq' of hadfl/htop for Solaris / OmniOS support
5 years ago
Daniel Lange
a0b899f29d
Note Shift-F3 use in man page
5 years ago
Daniel Lange
8b83a9f055
Enable going back to previous search matches (Shift-F3)
5 years ago
Dominik Hassler
495f2292dc
add support to display CPU frequencies on Solarish platforms
5 years ago
Daniel Lange
1cc3f8074f
Merge branch 'user_wide' of cgzones/htop
5 years ago
Christian Göttsche
aa08279964
Linux: accept clock CPU frequency
...
processor : 0
cpu : POWER8 (architected), altivec supported
clock : 4024.000000MHz
revision : 2.0 (pvr 004d 0200)
Closes : #424
5 years ago
Christian Göttsche
5359eae28b
Process: use correct column aligning on wide username
...
Closes : #421
5 years ago
Jake Mannens
f1463fdd64
Added keybind 'N' for sorting by PID
5 years ago
Jake Mannens
3edb6e1ea3
Position help labels one step to the right
5 years ago
Daniel Lange
71ddc6a6a1
Merge branch 'remove-n-keybind' of jakem72360/htop
5 years ago
Dominik Hassler
b9336af76f
fix argument type following prototype change in "Invert Process_compare resolution so that superclass matches run first"
5 years ago
Jake Mannens
f46ddd3230
Remove 'n' and 'N' search inc/dec keybinds
5 years ago
Christian Göttsche
94d7f0b585
RichString: return number of written characters on write/append functions
5 years ago
Christian Göttsche
86d2931255
Restore highlighted header of current sorted process column
5 years ago
Nathan Scott
0672be7db1
Update version number for git repo builds
5 years ago
Nathan Scott
0b989ee38c
Bump version number for 3.0.4 release
5 years ago
Christian Göttsche
3fb0024fd3
Merge branch 'misc' of https://github.com/cgzones/htop into cgzones-misc
5 years ago
Nathan Scott
dfb9b82607
Resolve clang-analyzer signed/unsigned comparison CI failure
5 years ago
Nathan Scott
fc7aead36b
Merge branch 'harden_makecommandstr' of https://github.com/BenBE/htop into BenBE-harden_makecommandstr
5 years ago
Nathan Scott
737cd6167a
Merge branch 'resize_bar' of https://github.com/cgzones/htop into cgzones-resize_bar
5 years ago
Benny Baumann
6502b02666
DiD: Ensure string offsets are inside string boundaries
5 years ago
Christian Göttsche
cdfd407e2e
Panel_init: initialize selectedLen member
5 years ago
Christian Göttsche
64c05a1ed5
EnvScreen: mark local class functions static
5 years ago
Christian Göttsche
a7612b0b7d
TraceScreen: mark local class functions static
5 years ago
Christian Göttsche
3ec8f67ab2
InfoScreen: drop unused member
5 years ago