Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-01-12 | Hashtable: use appropriate return type for nextPrime | Christian Göttsche | |
The return value is guaranteed to be smaller than SIZE_MAX, so return size_t (matters on 32 bit architectures). | |||
2021-01-11 | Mark several non-modified pointer variables const | Christian Göttsche | |
2021-01-11 | SELinuxMeter: hardcode SELINUX_MAGIC value | Christian Göttsche | |
Avoid <linux/magic.h> include, not found by musl-gcc. The value of SELINUX_MAGIC should really never change. | |||
2021-01-11 | Add compiler hints on memory allocating utility functions | Christian Göttsche | |
2021-01-11 | Linux: Add SwapCached to the swap meter | David Zarzycki | |
According to the Linux kernel documentation, "SwapCached" tracks "memory that once was swapped out, is swapped back in but still also is in the swapfile (if memory is needed it doesn't need to be swapped out AGAIN because it is already in the swapfile. This saves I/O)." | |||
2021-01-11 | Add option to drop Linux capabilities | Christian Göttsche | |
Conflicts with setuid support, but that is commonly not enabled. | |||
2021-01-11 | Mark several non-modified pointer variables const | Christian Göttsche | |
2021-01-11 | Remove dead code | Christian Göttsche | |
2021-01-11 | Process: drop commLen | Christian Göttsche | |
It is only used on Linux to optimize memory handling in case the command changes to a smaller-or-equal string. This "optimization" however causes more code bloat and maintenance cost on string handling issues than it gains. | |||
2021-01-11 | Add wrapper function for free and strdup | Christian Göttsche | |
Reduces code in callers and helps avoiding memory leaks. | |||
2021-01-11 | Refactor setting filter and use safe strncpy | Christian Göttsche | |
2021-01-11 | XUtils: add safe strncpy implementation | Christian Göttsche | |
The standard strncpy fails to null-terminate the destination in case the source is longer than the passed size. | |||
2021-01-11 | Drop always false condition | Christian Göttsche | |
The previous if conditional branch would have been taken in case this condition would be true, | |||
2021-01-11 | Fix git log remainder in ChangeLog | Daniel Lange | |
2021-01-11 | Update version number to 3.0.6-dev to identify git repo builds | Daniel Lange | |
2021-01-11 | Release 3.0.53.0.5 | Daniel Lange | |
2021-01-11 | Merge branch 'fix-palette2' of deviant/htop | Daniel Lange | |
2021-01-11 | Clarify that only the main screen function bar is optionally hidden | Daniel Lange | |
2021-01-11 | Fix clearing the last line in setup on function bar change (thanks cgzones) | Daniel Lange | |
2021-01-11 | Fix white text in the Light Terminal colour scheme | V | |
2021-01-11 | Make Infoscreens the correct height | Daniel Lange | |
2021-01-11 | Merge branch 'wide_proc_comm' of cgzones/htop | Daniel Lange | |
2021-01-11 | Linux: use correct column alignment for wide fields | Christian Göttsche | |
This affects: - PROC_COMM, PROC_EXE and CWD on Linux - JAIL on FreeBSD and DragonFlyBSD - ZONE on Solaris | |||
2021-01-11 | Merge branch 'RichString_attrn' of cgzones/htop | Daniel Lange | |
2021-01-11 | Merge branch 'following_exit' of cgzones/htop | Daniel Lange | |
2021-01-10 | RichString_setAttrn: refactor to take a length instead of a stop index | Christian Göttsche | |
Fixes: #459 | |||
2021-01-10 | Exit follow mode cleanly after followed process dies | Christian Göttsche | |
2021-01-09 | Solaris: make Process callbacks static | Christian Göttsche | |
Fixes prototype of SolarisProcess_compareByKey since 90ea3ac3 | |||
2021-01-09 | Convert unnecessary static variables | Christian Göttsche | |
They are not used in any other function and are not used maybe uninitialized. | |||
2021-01-08 | Update help and man page for improved -t / -s options | Daniel Lange | |
2021-01-08 | Free memory on multiple filter command line arguments | Christian Göttsche | |
2021-01-08 | Merge branch 'err_h' of cgzones/htop | Daniel Lange | |
2021-01-08 | Merge branch 'light_color' of cgzones/htop | Daniel Lange | |
2021-01-08 | Merge branch 'ncurses_format' of cgzones/htop | Daniel Lange | |
2021-01-08 | Refactor crash handler message to avoid embedded directive | Christian Göttsche | |
CRT.c:821:2: error: embedding a directive within macro arguments has undefined behavior [-Werror,-Wembedded-directive] #ifdef HAVE_EXECINFO_H ^ CRT.c:823:2: error: embedding a directive within macro arguments has undefined behavior [-Werror,-Wembedded-directive] #endif ^ CRT.c:858:2: error: embedding a directive within macro arguments has undefined behavior [-Werror,-Wembedded-directive] #ifdef HTOP_DARWIN ^ CRT.c:862:2: error: embedding a directive within macro arguments has undefined behavior [-Werror,-Wembedded-directive] #endif ^ CRT.c:864:2: error: embedding a directive within macro arguments has undefined behavior [-Werror,-Wembedded-directive] #ifdef HTOP_DARWIN ^ CRT.c:868:2: error: embedding a directive within macro arguments has undefined behavior [-Werror,-Wembedded-directive] #endif ^ | |||
2021-01-08 | ci: enable format attributes in ncurses headers | Christian Göttsche | |
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 3695cbd5d8dda27f99383437035450814463b633 and ad3acfc847e9d54f07a0684c19181d5f4c28fee4 | |||
2021-01-08 | Revert color change on LightTerminal | Christian Göttsche | |
Partially revert 4b14ab9789eee004daab8594ac00a113c18af060 ColorPair(Black,Black) is not actually black on black, but due to adjustments in CRT_setColors() black on default-background-color. Thanks to V for reporting. | |||
2021-01-08 | InfoScreen: fix uncontrolled format string | V | |
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. | |||
2021-01-07 | Drop usage of formatted error messages from <err.h> | Christian Göttsche | |
They do not clean up the ncurses environment, leaving the terminal in a broken state. Also drop bare usage of exit(3). | |||
2021-01-07 | Show arrow indicating order of sorted process column | Christian Göttsche | |
2021-01-06 | Unify prototype of Vector_get | Christian Göttsche | |
Vector_get() currently takes a `const Vector*` in debug mode and a `Vector*` else. | |||
2021-01-06 | Hashtable: fail hard on too big size request | Christian Göttsche | |
2021-01-06 | Hashtable: widen size from int to size_t | Christian Göttsche | |
2021-01-06 | Hashtable: hide implementation of Hashtable and HashtableItem | Christian Göttsche | |
2021-01-06 | Hashtable: use more distinct typename for key type | Christian Göttsche | |
2021-01-06 | LibSensors: add support for Ryzen CPUs | Matej Dian | |
2021-01-06 | Declare for loop variables inside the loop | Christian Göttsche | |
2021-01-06 | Drop useless double parenthesis | Christian Göttsche | |
2021-01-06 | Avoid function cast by refactoring callback prototype | Christian Göttsche | |
2021-01-04 | Panel_new: reorder arguments | Christian Göttsche | |
Reorder owner and type so they match the order of Panel_init |