-
Notifications
You must be signed in to change notification settings - Fork 581
Resolve complation issues with -fno-common (default from gcc-10) #1017
base: master
Are you sure you want to change the base?
Commits on Sep 18, 2020
-
Change option '-m' to '-M' for consistency of cli
`-m` was added as short option for `--no-mouse`, this is inconsistence to the rest of the cli since otherwise the short options to disable a feature are capital letters. Therefore this commit renames the option to `-M`. This commit also documents the option in the man page.
Configuration menu - View commit details
-
Copy full SHA for 1061bd7 - Browse repository at this point
Copy the full SHA 1061bd7View commit details -
Configuration menu - View commit details
-
Copy full SHA for f3b4e24 - Browse repository at this point
Copy the full SHA f3b4e24View commit details -
Convert short version option to capital V
v is generally used for enabling verbose mode
Configuration menu - View commit details
-
Copy full SHA for f6b0efd - Browse repository at this point
Copy the full SHA f6b0efdView commit details -
Configuration menu - View commit details
-
Copy full SHA for dd6500c - Browse repository at this point
Copy the full SHA dd6500cView commit details -
Configuration menu - View commit details
-
Copy full SHA for f4602f7 - Browse repository at this point
Copy the full SHA f4602f7View commit details -
Use internal macros for compatibility with non GNUC compilers.
Configuration menu - View commit details
-
Copy full SHA for 7107d1d - Browse repository at this point
Copy the full SHA 7107d1dView commit details -
Use strict function prototypes
int foo(); declares a function taking any number of arguments.
Configuration menu - View commit details
-
Copy full SHA for c3952e7 - Browse repository at this point
Copy the full SHA c3952e7View commit details -
Avoid checking of undefined macros
These feature macros are either define or not defined at all at the configure step.
Configuration menu - View commit details
-
Copy full SHA for b85a314 - Browse repository at this point
Copy the full SHA b85a314View commit details -
Configuration menu - View commit details
-
Copy full SHA for e719a85 - Browse repository at this point
Copy the full SHA e719a85View commit details -
Configuration menu - View commit details
-
Copy full SHA for 475f729 - Browse repository at this point
Copy the full SHA 475f729View commit details -
Configuration menu - View commit details
-
Copy full SHA for efb971f - Browse repository at this point
Copy the full SHA efb971fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5ea13e7 - Browse repository at this point
Copy the full SHA 5ea13e7View commit details
Commits on Sep 21, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 5432862 - Browse repository at this point
Copy the full SHA 5432862View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2c933f2 - Browse repository at this point
Copy the full SHA 2c933f2View commit details -
Configuration menu - View commit details
-
Copy full SHA for eb260af - Browse repository at this point
Copy the full SHA eb260afView commit details -
Configuration menu - View commit details
-
Copy full SHA for e0e5997 - Browse repository at this point
Copy the full SHA e0e5997View commit details
Commits on Sep 23, 2020
-
Configuration menu - View commit details
-
Copy full SHA for f9966b5 - Browse repository at this point
Copy the full SHA f9966b5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b11738 - Browse repository at this point
Copy the full SHA 6b11738View commit details
Commits on Sep 24, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 2565dd3 - Browse repository at this point
Copy the full SHA 2565dd3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7844e06 - Browse repository at this point
Copy the full SHA 7844e06View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8325774 - Browse repository at this point
Copy the full SHA 8325774View commit details -
Configuration menu - View commit details
-
Copy full SHA for c1b5201 - Browse repository at this point
Copy the full SHA c1b5201View commit details -
Configuration menu - View commit details
-
Copy full SHA for d2b3a7a - Browse repository at this point
Copy the full SHA d2b3a7aView commit details -
Configuration menu - View commit details
-
Copy full SHA for f805093 - Browse repository at this point
Copy the full SHA f805093View commit details -
Configuration menu - View commit details
-
Copy full SHA for 47e2cef - Browse repository at this point
Copy the full SHA 47e2cefView commit details -
Configuration menu - View commit details
-
Copy full SHA for 29ec115 - Browse repository at this point
Copy the full SHA 29ec115View commit details -
Properly query sysconf settting and use NAN if unavailable
This also fixes an issue with time returned negative if sysconf(_SC_CLK_TCK) returned an error.
Configuration menu - View commit details
-
Copy full SHA for d0d3deb - Browse repository at this point
Copy the full SHA d0d3debView commit details -
Configuration menu - View commit details
-
Copy full SHA for ebcf924 - Browse repository at this point
Copy the full SHA ebcf924View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3c65d78 - Browse repository at this point
Copy the full SHA 3c65d78View commit details -
Configuration menu - View commit details
-
Copy full SHA for 321960b - Browse repository at this point
Copy the full SHA 321960bView commit details -
Configuration menu - View commit details
-
Copy full SHA for ba0fca1 - Browse repository at this point
Copy the full SHA ba0fca1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7ecea3d - Browse repository at this point
Copy the full SHA 7ecea3dView commit details -
Avoid unsigned integer overflow
unsigned integer overflows are well-defined, but they might point to a counting issue. Having the code free of unsigned overflows makes it easier to spot potential bugs. Action.c:332:27: runtime error: implicit conversion from type 'int' of value -1 (32-bit, signed) to type 'uid_t' (aka 'unsigned int') changed the value to 4294967295 (32-bit, unsigned) SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior Action.c:332:27 in
Configuration menu - View commit details
-
Copy full SHA for 5233817 - Browse repository at this point
Copy the full SHA 5233817View commit details -
show selected command wrapped in a separate window
For a process with a very long command, especially with many long command line arguments, inspecting the command and its arguments could become inconvenient. Meanwhile htop supports the concept of "screen", or window, which is extended here to create a dedicated "CommandScreen", making it possible to display the command of the selected process in a separate window meanwhile being wrapped into multiple lines. Another benefit of using a command screen is, the user can navigate through the wrapped lines of the command and perform actions like searching and filtering.
Configuration menu - View commit details
-
Copy full SHA for f4bb502 - Browse repository at this point
Copy the full SHA f4bb502View commit details -
Make --enable-hwloc and --enable-linux-affinity mutual exclusive
They can not be supported both at the same time. Fail configure step instead of silently only use hwloc.
Configuration menu - View commit details
-
Copy full SHA for 005c4d1 - Browse repository at this point
Copy the full SHA 005c4d1View commit details -
Add DeepCode inline suppression
commsize is bounded by the allocated length passed in by commLen, saved into commLenIn
Configuration menu - View commit details
-
Copy full SHA for 594409f - Browse repository at this point
Copy the full SHA 594409fView commit details -
Add DeepCode inline suppression
We just want a non-NUll pointer in the matching pid hashtable. The pointer is not dereferenced anyways.
Configuration menu - View commit details
-
Copy full SHA for f4e1f46 - Browse repository at this point
Copy the full SHA f4e1f46View commit details -
Read CPU frequency from sysfs by default
Use the more portable sysfs node /sys/devices/system/cpu/cpuX/cpufreq/scaling_cur_freq to get the CPU frequency. In case of an error fall back to /proc/cpuinfo . Also use a fixed width of 4 for the frequency to avoid position jumps in case the frequency moves in the range 900-1100 MHz.
Configuration menu - View commit details
-
Copy full SHA for edf1b10 - Browse repository at this point
Copy the full SHA edf1b10View commit details -
Configuration menu - View commit details
-
Copy full SHA for ce0fd5f - Browse repository at this point
Copy the full SHA ce0fd5fView commit details -
Include prototype in Battery implementation
linux/Battery.c:291:6: warning: no previous prototype for function 'Battery_getData' [-Wmissing-prototypes] void Battery_getData(double* level, ACPresence* isOnAC) { ^
Configuration menu - View commit details
-
Copy full SHA for 4296e74 - Browse repository at this point
Copy the full SHA 4296e74View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4a1f3fc - Browse repository at this point
Copy the full SHA 4a1f3fcView commit details -
Avoid bad function cast warning
linux/Platform.c:142:17: warning: cast from function call of type 'double' to non-matching type 'int' [-Wbad-function-cast] return (int) floor(uptime); ^~~~~~~~~~~~~
Configuration menu - View commit details
-
Copy full SHA for cd1ba14 - Browse repository at this point
Copy the full SHA cd1ba14View commit details -
Avoid warning about unreachable break statement
htop.c:112:13: warning: 'break' will never be executed [-Wunreachable-code-break] break; ^~~~~ htop.c:109:13: warning: 'break' will never be executed [-Wunreachable-code-break] break; ^~~~~
Configuration menu - View commit details
-
Copy full SHA for 6a03cd2 - Browse repository at this point
Copy the full SHA 6a03cd2View commit details -
ListItem.c:73:33: warning: cast from 'const void *' to 'struct ListItem_ *' drops const qualifier [-Wcast-qual] ListItem* obj1 = (ListItem*) cast1; ^ ListItem.c:74:33: warning: cast from 'const void *' to 'struct ListItem_ *' drops const qualifier [-Wcast-qual] ListItem* obj2 = (ListItem*) cast2; ^ Process.c:434:28: warning: cast from 'const void *' to 'struct Process_ *' drops const qualifier [-Wcast-qual] Process* p1 = (Process*)v1; ^ Process.c:435:28: warning: cast from 'const void *' to 'struct Process_ *' drops const qualifier [-Wcast-qual] Process* p2 = (Process*)v2; ^ Process.c:441:36: warning: cast from 'const void *' to 'struct Process_ *' drops const qualifier [-Wcast-qual] Settings *settings = ((Process*)v1)->settings; ^ Process.c:443:22: warning: cast from 'const void *' to 'struct Process_ *' drops const qualifier [-Wcast-qual] p1 = (Process*)v1; ^ Process.c:444:22: warning: cast from 'const void *' to 'struct Process_ *' drops const qualifier [-Wcast-qual] p2 = (Process*)v2; ^ Process.c:446:22: warning: cast from 'const void *' to 'struct Process_ *' drops const qualifier [-Wcast-qual] p2 = (Process*)v1; ^ Process.c:447:22: warning: cast from 'const void *' to 'struct Process_ *' drops const qualifier [-Wcast-qual] p1 = (Process*)v2; ^ AffinityPanel.c:37:16: warning: cast from 'const char *' to 'void *' drops const qualifier [-Wcast-qual] free((void*)this->text); ^ AffinityPanel.c:39:19: warning: cast from 'const char *' to 'void *' drops const qualifier [-Wcast-qual] free((void*)this->indent); ^ linux/LinuxProcess.c:294:36: warning: cast from 'const void *' to 'struct Process_ *' drops const qualifier [-Wcast-qual] Settings *settings = ((Process*)v1)->settings; ^ linux/LinuxProcess.c:296:27: warning: cast from 'const void *' to 'struct LinuxProcess_ *' drops const qualifier [-Wcast-qual] p1 = (LinuxProcess*)v1; ^ linux/LinuxProcess.c:297:27: warning: cast from 'const void *' to 'struct LinuxProcess_ *' drops const qualifier [-Wcast-qual] p2 = (LinuxProcess*)v2; ^ linux/LinuxProcess.c:299:27: warning: cast from 'const void *' to 'struct LinuxProcess_ *' drops const qualifier [-Wcast-qual] p2 = (LinuxProcess*)v1; ^ linux/LinuxProcess.c:300:27: warning: cast from 'const void *' to 'struct LinuxProcess_ *' drops const qualifier [-Wcast-qual] p1 = (LinuxProcess*)v2; ^ linux/LinuxProcessList.c:62:32: warning: cast from 'const void *' to 'struct TtyDriver_ *' drops const qualifier [-Wcast-qual] TtyDriver* a = (TtyDriver*) va; ^ linux/LinuxProcessList.c:63:32: warning: cast from 'const void *' to 'struct TtyDriver_ *' drops const qualifier [-Wcast-qual] TtyDriver* b = (TtyDriver*) vb; ^ linux/Battery.c:130:21: warning: cast from 'const char *' to 'char *' drops const qualifier [-Wcast-qual] free((char *) isOnline); ^ linux/Battery.c:197:26: warning: cast from 'const char *' to 'char *' drops const qualifier [-Wcast-qual] xSnprintf((char *) filePath, sizeof filePath, SYS_POWERSUPPLY_DIR "/%s/type", entryName); ^ linux/Battery.c:209:29: warning: cast from 'const char *' to 'char *' drops const qualifier [-Wcast-qual] xSnprintf((char *) filePath, sizeof filePath, SYS_POWERSUPPLY_DIR "/%s/uevent", entryName); ^ linux/Battery.c:262:29: warning: cast from 'const char *' to 'char *' drops const qualifier [-Wcast-qual] xSnprintf((char *) filePath, sizeof filePath, SYS_POWERSUPPLY_DIR "/%s/online", entryName); ^
Configuration menu - View commit details
-
Copy full SHA for 18b1e9f - Browse repository at this point
Copy the full SHA 18b1e9fView commit details -
Linux: consider the ZFS ARC to be cache.
This commit is based on a patch originally by @edef1c. The ZFS ARC is a cache (it's in the name), which will be evicted by the kernel if memory pressure so requires. Hence, the ARC should not be counted towards a system's total used memory, and should instead be grouped with the other caches in the system. Signed-off-by: edef <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for dfa40ad - Browse repository at this point
Copy the full SHA dfa40adView commit details
Commits on Sep 25, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 4e282eb - Browse repository at this point
Copy the full SHA 4e282ebView commit details
Commits on Sep 28, 2020
-
Merge branch 'arc-is-not-cache' of https://github.com/multiplexd/htop …
…into multiplexd-arc-is-not-cache
Configuration menu - View commit details
-
Copy full SHA for 400178a - Browse repository at this point
Copy the full SHA 400178aView commit details -
Merge pull request #181 from cgzones/missing_prototypes
Add -Wmissing-prototypes compiler warning
Configuration menu - View commit details
-
Copy full SHA for 8c9bd20 - Browse repository at this point
Copy the full SHA 8c9bd20View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6191336 - Browse repository at this point
Copy the full SHA 6191336View commit details -
Merge pull request #107 from cgzones/hwlock_linuxaffinity
Make --enable-hwloc and --enable-linux-affinity mutual exclusive
Configuration menu - View commit details
-
Copy full SHA for e75077a - Browse repository at this point
Copy the full SHA e75077aView commit details -
CPUMeter: refactor common CPU meter rendering code.
Instead of scanning the meter name to determine the number of columns in a CPU meter, move the common code behind some wrapper functions, and specify the number of columns as an explicit parameter when called from the wrappers. While this does add a bit of code for all the necessary wrapper functions, this should be less brittle in case of future changes to the CPU meter code.
Configuration menu - View commit details
-
Copy full SHA for d22f657 - Browse repository at this point
Copy the full SHA d22f657View commit details -
Configuration menu - View commit details
-
Copy full SHA for 491bf98 - Browse repository at this point
Copy the full SHA 491bf98View commit details -
CPUMeter: add octuple-column CPU meters.
This is a straightforward extension of the existing multi-column CPU meter code, which now allows for up CPU meters to be displayed in up to 16 columns. This also adds the meter declarations to all the platform-specific code.
Configuration menu - View commit details
-
Copy full SHA for 9ee7256 - Browse repository at this point
Copy the full SHA 9ee7256View commit details
Commits on Sep 29, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 214c742 - Browse repository at this point
Copy the full SHA 214c742View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8439491 - Browse repository at this point
Copy the full SHA 8439491View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6db2d52 - Browse repository at this point
Copy the full SHA 6db2d52View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7ae967a - Browse repository at this point
Copy the full SHA 7ae967aView commit details -
- `CRT_fatalError()` is declared twice in CRT.h - `Process_pidFormat`, `Process_writeField()` and `Process_compare` are declared twice in Process.h - `btime` is defined in LinuxProcess.c and also declared in LinuxProcess.h, so drop in LinuxProcessList.h
Configuration menu - View commit details
-
Copy full SHA for 241e4b3 - Browse repository at this point
Copy the full SHA 241e4b3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8b55113 - Browse repository at this point
Copy the full SHA 8b55113View commit details -
Configuration menu - View commit details
-
Copy full SHA for 736c496 - Browse repository at this point
Copy the full SHA 736c496View commit details -
This issue was previously hidden as xSnprintf expanded to only one large command that didn't trigger the GCC formatting check.
Configuration menu - View commit details
-
Copy full SHA for dac1e05 - Browse repository at this point
Copy the full SHA dac1e05View commit details -
Configuration menu - View commit details
-
Copy full SHA for e1c9687 - Browse repository at this point
Copy the full SHA e1c9687View commit details -
Process.{h,c}: Use integer types that are more portable
When building on a 32-bit system, the compiler warned that the following line uses a constant whose value is the overflow result of a compile-time computation: Process.c (line 109): } else if (number < 10000 * ONE_M) { Namely, this constant expression: 10000 * ONE_M was intended to produce the following value: 10485760000 However, the result overflowed to produce: 1895825408 The reason for this overflow is as follows: o The macros are expanded: 10000 * (ONE_K * ONE_K) 10000 * (1024L * 1024L) o The untyped constant expression "10000" is typed: 10000U * (1024L * 1024L) o The parenthesized expression is evaluated: 10000U * (1048576L) o The left operand ("10000U") is converted: 10000L * (1048576L) Unbound by integer sizes, that last multiplication would produce the following value: 10485760000 However, on a 32-bit machine, where a long is 32 bits (really 31 bits when talking about positive numbers), the maximum value that can be computed is 2**31-1: 2147483647 Consequently, the computation overflows. o The compiler produces a long int value that is the the result of overflow (10485760000 % 2**31): 1895825408L Actually, I think this overflow is implementation-defined, so it's not even a portable description of what happens. The solution is to use a long long int (or, even better, an unsigned long long int) type for the constant expression; the C standard mandates a sufficiently large maximum value for such types. Hence, the following change is made to the bad line: - } else if (number < 10000 * ONE_M) { + } else if (number < 10000ULL * ONE_M) { However, the whole line is now patently silly, because the variable "number" is typed "unsigned long", and so it will always be less than the constant expression (the compiler will warn about this, too). Hence, "number" must be typed "unsigned long long"; however, this necessitates changing all of the string formats from something like "%lu" to something like "%llu". Et voila! This commit is born. Then, for the sake of completeness, the declared types of the constant-expression macros are updated: o ONE_K is made unsigned (a "UL" instead of "L") o ONE_T is computed by introducing "1ULL *" o Similar changes are made for ONE_DECIMAL_{K,T} Also, a non-portable overflow-conversion to a signed value has been replaced with a portable comparison: - if ((long long) number == -1LL) { + if (number == ULLONG_MAX) { It might be worth reviewing the rest of the code for other cases where overflows are not handled correctly; even at runtime, it's often necessary to check for overflow unless such behavior is expected (especially for signed integer values, for which overflow has implementation-defined behavior).
Configuration menu - View commit details
-
Copy full SHA for ab3171d - Browse repository at this point
Copy the full SHA ab3171dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2cde4a7 - Browse repository at this point
Copy the full SHA 2cde4a7View commit details
Commits on Oct 1, 2020
-
Add screen shot of htop to readme
Added a basic screenshot of htop in action to the readme so that visitors to the page can quickly get a rough idea about what htop does.
Configuration menu - View commit details
-
Copy full SHA for 816734e - Browse repository at this point
Copy the full SHA 816734eView commit details
Commits on Oct 2, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 3afa5df - Browse repository at this point
Copy the full SHA 3afa5dfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8efc885 - Browse repository at this point
Copy the full SHA 8efc885View commit details -
- do not reverse CPU steal and guest in monochrome - black on black in Light Terminal is not visible, use blue on black - white on blue in Light Terminal is display as blue on black, use yellow on black - re-draw FunctionBar after color change
Configuration menu - View commit details
-
Copy full SHA for 4b14ab9 - Browse repository at this point
Copy the full SHA 4b14ab9View commit details
Commits on Oct 3, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 6f38700 - Browse repository at this point
Copy the full SHA 6f38700View commit details -
Configuration menu - View commit details
-
Copy full SHA for e518459 - Browse repository at this point
Copy the full SHA e518459View commit details -
Add --enable-debug configure option to enable asserts
asserts are still disabled by default.
Configuration menu - View commit details
-
Copy full SHA for b7f6329 - Browse repository at this point
Copy the full SHA b7f6329View commit details -
Resolve DEBUG compilation issues
Use NDEBUG conditional instead of DEBUG. Do not call static functions in extern inline ones. Vector.c:67:11: error: static function 'Vector_isConsistent' is used in an inline function with external linkage [-Werror,-Wstatic-in-inline]
Configuration menu - View commit details
-
Copy full SHA for d69585b - Browse repository at this point
Copy the full SHA d69585bView commit details -
Configuration menu - View commit details
-
Copy full SHA for b82a13c - Browse repository at this point
Copy the full SHA b82a13cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 42946ec - Browse repository at this point
Copy the full SHA 42946ecView commit details
Commits on Oct 5, 2020
-
Merge branch 'attr-nonnull' of https://github.com/BenBE/htop into Ben…
…BE-attr-nonnull
Configuration menu - View commit details
-
Copy full SHA for 576b82f - Browse repository at this point
Copy the full SHA 576b82fView commit details -
Configuration menu - View commit details
-
Copy full SHA for c953257 - Browse repository at this point
Copy the full SHA c953257View commit details -
Merge branch '0000/int-sizes/00' of https://github.com/mfwitten/htop …
…into mfwitten-0000/int-sizes/00
Configuration menu - View commit details
-
Copy full SHA for 72613a3 - Browse repository at this point
Copy the full SHA 72613a3View commit details -
Daniel Lange authored and Daniel Lange committed
Oct 5, 2020 Configuration menu - View commit details
-
Copy full SHA for 90d16b6 - Browse repository at this point
Copy the full SHA 90d16b6View commit details -
Update License consistently to GPLv2 as per COPYING file
Daniel Lange authored and Daniel Lange committedOct 5, 2020 Configuration menu - View commit details
-
Copy full SHA for 079c2ab - Browse repository at this point
Copy the full SHA 079c2abView commit details -
limit max screen title length to window width
Applies screen title truncating to all InfoScreen classes.
Configuration menu - View commit details
-
Copy full SHA for ff455b0 - Browse repository at this point
Copy the full SHA ff455b0View commit details -
Add Copyright statement to --help (needed as it has the license info)
Daniel Lange authored and Daniel Lange committedOct 5, 2020 Configuration menu - View commit details
-
Copy full SHA for 7758774 - Browse repository at this point
Copy the full SHA 7758774View commit details -
Configuration menu - View commit details
-
Copy full SHA for 49bb1b5 - Browse repository at this point
Copy the full SHA 49bb1b5View commit details -
Configuration menu - View commit details
-
Copy full SHA for cdd3913 - Browse repository at this point
Copy the full SHA cdd3913View commit details -
Configuration menu - View commit details
-
Copy full SHA for 577984d - Browse repository at this point
Copy the full SHA 577984dView commit details -
Configuration menu - View commit details
-
Copy full SHA for ffd90c2 - Browse repository at this point
Copy the full SHA ffd90c2View commit details -
Add a date and datetime meter (#159)
Add a date meter and sort header and source files in Makefile Change the lists of header and source files sorted alphabetical and one file per line. This way diffs become better readable and merges easier.
Configuration menu - View commit details
-
Copy full SHA for d93cac1 - Browse repository at this point
Copy the full SHA d93cac1View commit details -
Configuration menu - View commit details
-
Copy full SHA for dc6523b - Browse repository at this point
Copy the full SHA dc6523bView commit details -
Configuration menu - View commit details
-
Copy full SHA for e9fa290 - Browse repository at this point
Copy the full SHA e9fa290View commit details
Commits on Oct 6, 2020
-
Handle Panel_getSelected() returning NULL
Found by compiling with LTO: ColumnsPanel.c: In function ‘ColumnsPanel_eventHandler’: ColumnsPanel.c:46:59: error: potential null pointer dereference [-Werror=null-dereference] 46 | ((ListItem*)Panel_getSelected(super))->moving = this->moving; | ^ AvailableColumnsPanel.c: In function ‘AvailableColumnsPanel_eventHandler’: AvailableColumnsPanel.c:31:8: error: potential null pointer dereference [-Werror=null-dereference] 31 | int key = ((ListItem*) Panel_getSelected(super))->key; | ^ AvailableMetersPanel.c: In function ‘AvailableMetersPanel_eventHandler’: AvailableMetersPanel.c:40:24: error: potential null pointer dereference [-Werror=null-dereference] 40 | int param = selected->key & 0xff; | ^ linux/IOPriorityPanel.c: In function ‘IOPriorityPanel_getIOPriority’: linux/IOPriorityPanel.c:37:11: error: potential null pointer dereference [-Werror=null-dereference] 37 | return (IOPriority) ( ((ListItem*) Panel_getSelected(this))->key ); | ^
Configuration menu - View commit details
-
Copy full SHA for ad3acfc - Browse repository at this point
Copy the full SHA ad3acfcView commit details -
Configuration menu - View commit details
-
Copy full SHA for db47207 - Browse repository at this point
Copy the full SHA db47207View commit details -
Configuration menu - View commit details
-
Copy full SHA for db159e7 - Browse repository at this point
Copy the full SHA db159e7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3653ee3 - Browse repository at this point
Copy the full SHA 3653ee3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 954d6c1 - Browse repository at this point
Copy the full SHA 954d6c1View commit details
Commits on Oct 7, 2020
-
Configuration menu - View commit details
-
Copy full SHA for fbf6424 - Browse repository at this point
Copy the full SHA fbf6424View commit details -
Set a -dev version to bug reports show a useful version and not the l…
…ast release
Daniel Lange authored and Daniel Lange committedOct 7, 2020 Configuration menu - View commit details
-
Copy full SHA for 769df60 - Browse repository at this point
Copy the full SHA 769df60View commit details -
Doing a quick check with callgrind this gives an average reduction from 1804 cycles/call down to 491 cycles/call on my test system. The average was taken over about 40k calls.
Configuration menu - View commit details
-
Copy full SHA for 1704c29 - Browse repository at this point
Copy the full SHA 1704c29View commit details -
Replace copy loop by memmove in Vector_insert
This is basically the same change like in Vector_take, just in the opposite direction.
Configuration menu - View commit details
-
Copy full SHA for 1640513 - Browse repository at this point
Copy the full SHA 1640513View commit details -
Configuration menu - View commit details
-
Copy full SHA for 08d85e6 - Browse repository at this point
Copy the full SHA 08d85e6View commit details -
Configuration menu - View commit details
-
Copy full SHA for ba282cf - Browse repository at this point
Copy the full SHA ba282cfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2970cae - Browse repository at this point
Copy the full SHA 2970caeView commit details
Commits on Oct 8, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 4a78f4b - Browse repository at this point
Copy the full SHA 4a78f4bView commit details
Commits on Oct 9, 2020
-
use 'w' for command wrapping as 'M' is already used
since 'M' is already used for sort-by-memory, as with: keys['M'] = actionSortByMemory; reorder help info about shortcut keys
Configuration menu - View commit details
-
Copy full SHA for 32a2caa - Browse repository at this point
Copy the full SHA 32a2caaView commit details -
Merge branch 'master' of https://github.com/ryenus/htop
Closes #223
Daniel Lange authored and Daniel Lange committedOct 9, 2020 Configuration menu - View commit details
-
Copy full SHA for 7fa0f19 - Browse repository at this point
Copy the full SHA 7fa0f19View commit details -
Configuration menu - View commit details
-
Copy full SHA for 41eea8a - Browse repository at this point
Copy the full SHA 41eea8aView commit details -
Configuration menu - View commit details
-
Copy full SHA for f4439b1 - Browse repository at this point
Copy the full SHA f4439b1View commit details -
Configuration menu - View commit details
-
Copy full SHA for e5fdb80 - Browse repository at this point
Copy the full SHA e5fdb80View commit details
Commits on Oct 10, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 79ad39c - Browse repository at this point
Copy the full SHA 79ad39cView commit details -
- Remove local types and function from header file - Reduce OpenFiles_Data to neccessary size - Print file access mode (r/w/u) - Fix memory leak on consecutive items without an intermediate file item: ==15257==ERROR: LeakSanitizer: detected memory leaks Direct leak of 120 byte(s) in 12 object(s) allocated from: #0 0x48c864 in strdup (htop/htop+0x48c864) #1 0x542f68 in xStrdup htop/XAlloc.c:71:17 #2 0x50e225 in OpenFilesScreen_getProcessData htop/OpenFilesScreen.c:112:25 #3 0x50cd17 in OpenFilesScreen_scan htop/OpenFilesScreen.c:141:35 #4 0x4fd3eb in InfoScreen_run htop/InfoScreen.c:81:35 #5 0x4d58bb in actionLsof htop/Action.c:361:4 #6 0x501766 in MainPanel_eventHandler htop/MainPanel.c:80:19 #7 0x5289fa in ScreenManager_run htop/ScreenManager.c:227:19 #8 0x4f748e in main htop/htop.c:300:4 #9 0x7ff73e0d8cc9 in __libc_start_main csu/../csu/libc-start.c:308:16 SUMMARY: AddressSanitizer: 120 byte(s) leaked in 12 allocation(s).
Configuration menu - View commit details
-
Copy full SHA for f8b9ced - Browse repository at this point
Copy the full SHA f8b9cedView commit details
Commits on Oct 11, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 55eafd3 - Browse repository at this point
Copy the full SHA 55eafd3View commit details
Commits on Oct 12, 2020
-
Configuration menu - View commit details
-
Copy full SHA for fc301b7 - Browse repository at this point
Copy the full SHA fc301b7View commit details -
Configuration menu - View commit details
-
Copy full SHA for b47bc66 - Browse repository at this point
Copy the full SHA b47bc66View commit details -
This should be done as all platforms essentially did the same anyway and there was nothing platform specific.
Configuration menu - View commit details
-
Copy full SHA for 6014800 - Browse repository at this point
Copy the full SHA 6014800View commit details -
Configuration menu - View commit details
-
Copy full SHA for 25022c2 - Browse repository at this point
Copy the full SHA 25022c2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0b9a001 - Browse repository at this point
Copy the full SHA 0b9a001View commit details -
CPUMeter: avoid crashes and leaks in case the CPU count changes
E.g. if the HT/SMT mode changes Use separate data for sub-meters Do not reuse drawData for maintainability
Configuration menu - View commit details
-
Copy full SHA for 9f5b50e - Browse repository at this point
Copy the full SHA 9f5b50eView commit details -
Settings: do not save initial cpu count
Not needed and confusing with ProcessList.cpuCount
Configuration menu - View commit details
-
Copy full SHA for 5cc20e7 - Browse repository at this point
Copy the full SHA 5cc20e7View commit details
Commits on Oct 13, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 7af0665 - Browse repository at this point
Copy the full SHA 7af0665View commit details -
Configuration menu - View commit details
-
Copy full SHA for 59edb2e - Browse repository at this point
Copy the full SHA 59edb2eView commit details
Commits on Oct 14, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 1df7fa3 - Browse repository at this point
Copy the full SHA 1df7fa3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 898a690 - Browse repository at this point
Copy the full SHA 898a690View commit details
Commits on Oct 15, 2020
-
Doing so allows for more than one error to be detected in builds
Configuration menu - View commit details
-
Copy full SHA for 2f9381d - Browse repository at this point
Copy the full SHA 2f9381dView commit details -
Configuration menu - View commit details
-
Copy full SHA for bfa7d1f - Browse repository at this point
Copy the full SHA bfa7d1fView commit details -
Doing so allows for more than one error to be detected in builds
Configuration menu - View commit details
-
Copy full SHA for 3c08fa3 - Browse repository at this point
Copy the full SHA 3c08fa3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 846fe8a - Browse repository at this point
Copy the full SHA 846fe8aView commit details
Commits on Oct 16, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 1d00893 - Browse repository at this point
Copy the full SHA 1d00893View commit details -
Configuration menu - View commit details
-
Copy full SHA for af4f58d - Browse repository at this point
Copy the full SHA af4f58dView commit details -
Configuration menu - View commit details
-
Copy full SHA for d744dac - Browse repository at this point
Copy the full SHA d744dacView commit details -
Configuration menu - View commit details
-
Copy full SHA for 783be77 - Browse repository at this point
Copy the full SHA 783be77View commit details -
Configuration menu - View commit details
-
Copy full SHA for a63cfc8 - Browse repository at this point
Copy the full SHA a63cfc8View commit details -
- Move swap() macro to source file and implement as function - Implement Vector_get() and Vector_size() as inline functions to make them type safe and avoid lhs usage - Comment comparison statistics, they are only needed for performance testing
Configuration menu - View commit details
-
Copy full SHA for e9246ab - Browse repository at this point
Copy the full SHA e9246abView commit details -
Configuration menu - View commit details
-
Copy full SHA for a802961 - Browse repository at this point
Copy the full SHA a802961View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7cd093c - Browse repository at this point
Copy the full SHA 7cd093cView commit details -
Configuration menu - View commit details
-
Copy full SHA for c6f04a9 - Browse repository at this point
Copy the full SHA c6f04a9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 872e542 - Browse repository at this point
Copy the full SHA 872e542View commit details
Commits on Oct 17, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 5e4b182 - Browse repository at this point
Copy the full SHA 5e4b182View commit details -
Avoids leaking memory upon realloc failure.
Configuration menu - View commit details
-
Copy full SHA for c138d14 - Browse repository at this point
Copy the full SHA c138d14View commit details
Commits on Oct 18, 2020
-
Fix misaligned access inside taskstats structure
Reported by UB sanitizer (alongside several other messages): linux/LinuxProcessList.c:782:25: runtime error: member access within misaligned address 0x614000000264 for type 'struct taskstats', which requires 8 byte alignment 0x614000000264: note: pointer points here 64 01 03 00 0a 00 00 00 00 00 00 00 02 00 00 00 00 00 00 00 4b c8 2e 00 00 00 00 00 3e 45 3c fd ^ The issue doesn't cause trouble on x86, but any architecture with stricter memory alignment requirements may inadvertedly break.
Configuration menu - View commit details
-
Copy full SHA for 8154325 - Browse repository at this point
Copy the full SHA 8154325View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4dfedd3 - Browse repository at this point
Copy the full SHA 4dfedd3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3e5bc03 - Browse repository at this point
Copy the full SHA 3e5bc03View commit details -
Merge branch 'strace-leaks' of BenBE/htop
Closes #262
Daniel Lange authored and Daniel Lange committedOct 18, 2020 Configuration menu - View commit details
-
Copy full SHA for 8534dcb - Browse repository at this point
Copy the full SHA 8534dcbView commit details -
Merge branch 'misaligned-struct-access' of BenBE/htop
Closes #263
Daniel Lange authored and Daniel Lange committedOct 18, 2020 Configuration menu - View commit details
-
Copy full SHA for 8c93f31 - Browse repository at this point
Copy the full SHA 8c93f31View commit details -
Configuration menu - View commit details
-
Copy full SHA for 29346d0 - Browse repository at this point
Copy the full SHA 29346d0View commit details -
Make all required includes explicit
Information as seen by IWYU 0.12 + clang 9 on Linux
Configuration menu - View commit details
-
Copy full SHA for 0f52629 - Browse repository at this point
Copy the full SHA 0f52629View commit details
Commits on Oct 19, 2020
-
Allow low and high value of CLAMP to be equal
Can for example occur in RichString_setAttrn(), when pausing and resuming process tracing: htop: RichString.c:56: void RichString_setAttrn(RichString *, int, int, int): Assertion `(0) < (this->chlen - 1)' failed. ./htop(backtrace+0x5b)[0x45d9eb] ./htop(CRT_handleSIGSEGV+0x189)[0x4ebab9] /lib/x86_64-linux-gnu/libpthread.so.0(+0x14140)[0x7fd249d35140] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x141)[0x7fd249b6ac41] /lib/x86_64-linux-gnu/libc.so.6(abort+0x123)[0x7fd249b54537] /lib/x86_64-linux-gnu/libc.so.6(+0x2540f)[0x7fd249b5440f] /lib/x86_64-linux-gnu/libc.so.6(+0x345c2)[0x7fd249b635c2] ./htop(RichString_setAttrn+0x234)[0x526de4] ./htop(RichString_setAttr+0x50)[0x5275c0] ./htop(Panel_draw+0x17b6)[0x514c26] ./htop(InfoScreen_run+0x305)[0x4fe7a5] ./htop[0x4d59d8] ./htop[0x5029cf] ./htop(ScreenManager_run+0x69f)[0x52a82f] ./htop(main+0x704)[0x4f8774] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xea)[0x7fd249b55cca] ./htop(_start+0x2a)[0x4268ea]
Configuration menu - View commit details
-
Copy full SHA for 0db398d - Browse repository at this point
Copy the full SHA 0db398dView commit details -
man:sysconf(3) states: The values obtained from these functions are system configuration constants. They do not change during the lifetime of a process.
Configuration menu - View commit details
-
Copy full SHA for 3618774 - Browse repository at this point
Copy the full SHA 3618774View commit details -
Configuration menu - View commit details
-
Copy full SHA for 96e2a42 - Browse repository at this point
Copy the full SHA 96e2a42View commit details -
Assert allocating non-zero size memory
Allocating zero size memory results in implementation-defined behavior: man:malloc(3) : If size is 0, then malloc() returns either NULL, or a unique pointer value that can later be successfully passed to free().
Configuration menu - View commit details
-
Copy full SHA for 577416d - Browse repository at this point
Copy the full SHA 577416dView commit details -
- allow count out-parameter of String_split() to be NULL - introduce xStrndup() - do not allow NULL pointers passed to String_eq() it is not used in any code - implement String_startsWith(), String_contains_i() and String_eq() as inline header functions - adjust several conversion issues
Configuration menu - View commit details
-
Copy full SHA for 4c66eb6 - Browse repository at this point
Copy the full SHA 4c66eb6View commit details
Commits on Oct 20, 2020
-
Merge branch 'cache_pagesize' of cgzones/htop
Daniel Lange authored and Daniel Lange committedOct 20, 2020 Configuration menu - View commit details
-
Copy full SHA for 2d57d28 - Browse repository at this point
Copy the full SHA 2d57d28View commit details -
Merge branch 'help_lines' of https://github.com/cgzones/htop
Daniel Lange authored and Daniel Lange committedOct 20, 2020 Configuration menu - View commit details
-
Copy full SHA for 475fd1e - Browse repository at this point
Copy the full SHA 475fd1eView commit details -
Merge branch 'number-cpus-from-zero' of zevweiss/htop
* This changes the default to count CPUs from zero (instead of starting at one) * Settings logic is inverted, backwards compatibility is preserved
Daniel Lange authored and Daniel Lange committedOct 20, 2020 Configuration menu - View commit details
-
Copy full SHA for a0fb6e3 - Browse repository at this point
Copy the full SHA a0fb6e3View commit details -
Merge branch 'header_pause' of cgzones/htop
Continue to update generic data in paused mode
Daniel Lange authored and Daniel Lange committedOct 20, 2020 Configuration menu - View commit details
-
Copy full SHA for 9f1a9ab - Browse repository at this point
Copy the full SHA 9f1a9abView commit details -
Merge branch 'Xalloc_Cleanup' of cgzones/htop
Daniel Lange authored and Daniel Lange committedOct 20, 2020 Configuration menu - View commit details
-
Copy full SHA for 0ea18a6 - Browse repository at this point
Copy the full SHA 0ea18a6View commit details -
Merge branch 'screenshot' of nzbart/htop
Daniel Lange authored and Daniel Lange committedOct 20, 2020 Configuration menu - View commit details
-
Copy full SHA for 0c54309 - Browse repository at this point
Copy the full SHA 0c54309View commit details -
Configuration menu - View commit details
-
Copy full SHA for dea19b6 - Browse repository at this point
Copy the full SHA dea19b6View commit details -
Configuration menu - View commit details
-
Copy full SHA for f8208f2 - Browse repository at this point
Copy the full SHA f8208f2View commit details -
- Add a full featured clang job - Explicit disable options otherwise enabled by default in minimal job
Configuration menu - View commit details
-
Copy full SHA for 803234a - Browse repository at this point
Copy the full SHA 803234aView commit details -
- Add Settings forward declaration in Process.h - Add assert.h include in XUitls.c - Add conditional stdbool.h include in Object.h - Drop unneeded stddef.h include in Richstring.c - Drop unneeded unistd.h include in Process.h - Drop unneeded string.h include in linux/Platform.c - Use String_eq to avoid string.h include in Action.c - Improve script to run custom iwyu version
Configuration menu - View commit details
-
Copy full SHA for 8a08a32 - Browse repository at this point
Copy the full SHA 8a08a32View commit details -
Increase print buffer in NetworkIOMeter_display
In case the packet values wrap-around or have other weird values, the current buffer might be to small
Configuration menu - View commit details
-
Copy full SHA for 45a2208 - Browse repository at this point
Copy the full SHA 45a2208View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7429c22 - Browse repository at this point
Copy the full SHA 7429c22View commit details -
Configuration menu - View commit details
-
Copy full SHA for e12d48a - Browse repository at this point
Copy the full SHA e12d48aView commit details -
Merge branch 'Fix wrong strncmp replacement' of cgzones/htop
Daniel Lange authored and Daniel Lange committedOct 20, 2020 Configuration menu - View commit details
-
Copy full SHA for f8bd5ac - Browse repository at this point
Copy the full SHA f8bd5acView commit details
Commits on Oct 22, 2020
-
Configuration menu - View commit details
-
Copy full SHA for b08b255 - Browse repository at this point
Copy the full SHA b08b255View commit details -
Mark user field of Process const
It's a non-owning pointer to a hashtable entry.
Configuration menu - View commit details
-
Copy full SHA for 11bf7be - Browse repository at this point
Copy the full SHA 11bf7beView commit details
Commits on Oct 26, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 0ae2bb1 - Browse repository at this point
Copy the full SHA 0ae2bb1View commit details -
Simplify environment-reading code
Suggested PR changes, thanks @cgzones
Configuration menu - View commit details
-
Copy full SHA for 94e32cf - Browse repository at this point
Copy the full SHA 94e32cfView commit details -
If POWER_SUPPLY_{CHARGE,ENERGY}_NOW is missing then try to use POWER_SUPPLY_CAPACITY to determine current charge level.
Configuration menu - View commit details
-
Copy full SHA for 167adc0 - Browse repository at this point
Copy the full SHA 167adc0View commit details -
Configuration menu - View commit details
-
Copy full SHA for f757810 - Browse repository at this point
Copy the full SHA f757810View commit details -
Configuration menu - View commit details
-
Copy full SHA for 72103e9 - Browse repository at this point
Copy the full SHA 72103e9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7109172 - Browse repository at this point
Copy the full SHA 7109172View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4eb4439 - Browse repository at this point
Copy the full SHA 4eb4439View commit details -
Configuration menu - View commit details
-
Copy full SHA for a3bb7cb - Browse repository at this point
Copy the full SHA a3bb7cbView commit details
Commits on Oct 27, 2020
-
Configuration menu - View commit details
-
Copy full SHA for c98d457 - Browse repository at this point
Copy the full SHA c98d457View commit details -
Drop duplicate and always true condition
This block is only entered if this->owner is true.
Configuration menu - View commit details
-
Copy full SHA for 1533ea8 - Browse repository at this point
Copy the full SHA 1533ea8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 27870bd - Browse repository at this point
Copy the full SHA 27870bdView commit details -
Configuration menu - View commit details
-
Copy full SHA for ac2b07e - Browse repository at this point
Copy the full SHA ac2b07eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 059810c - Browse repository at this point
Copy the full SHA 059810cView commit details -
Configuration menu - View commit details
-
Copy full SHA for e89b289 - Browse repository at this point
Copy the full SHA e89b289View commit details
Commits on Oct 28, 2020
-
Configuration menu - View commit details
-
Copy full SHA for cf1a9ec - Browse repository at this point
Copy the full SHA cf1a9ecView commit details -
Name first argument of ProcessList_goThroughEntries consistently super Name first argument of ProcessList_new consistently userTable
Configuration menu - View commit details
-
Copy full SHA for 61bae4c - Browse repository at this point
Copy the full SHA 61bae4cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8c1f5c5 - Browse repository at this point
Copy the full SHA 8c1f5c5View commit details -
Implement RichString_setLen as function
Make it more readable and fix unenclosed macro arguments
Configuration menu - View commit details
-
Copy full SHA for 7019949 - Browse repository at this point
Copy the full SHA 7019949View commit details -
Implement IncSet_filter as function
Make it more readable and fix unenclosed macro arguments
Configuration menu - View commit details
-
Copy full SHA for 6b3dbd5 - Browse repository at this point
Copy the full SHA 6b3dbd5View commit details -
Implement LinuxProcess_effectiveIOPriority as function
Make it more readable and fix unenclosed macro arguments
Configuration menu - View commit details
-
Copy full SHA for d33b2be - Browse repository at this point
Copy the full SHA d33b2beView commit details -
Implement Process_isUserlandThread as function
Make it more readable and fix unenclosed macro arguments
Configuration menu - View commit details
-
Copy full SHA for 76797f8 - Browse repository at this point
Copy the full SHA 76797f8View commit details -
Implement Process_getParentPid and Process_isChildOf as functions
Make it more readable and fix unenclosed macro arguments
Configuration menu - View commit details
-
Copy full SHA for 887dfde - Browse repository at this point
Copy the full SHA 887dfdeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6375df4 - Browse repository at this point
Copy the full SHA 6375df4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 03b773b - Browse repository at this point
Copy the full SHA 03b773bView commit details
Commits on Oct 29, 2020
-
Add HTOP_$platform defines to config.h header
Can be used to conditionally compile platform specific code.
Configuration menu - View commit details
-
Copy full SHA for ddbb0c2 - Browse repository at this point
Copy the full SHA ddbb0c2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 88eec2d - Browse repository at this point
Copy the full SHA 88eec2dView commit details -
Configuration menu - View commit details
-
Copy full SHA for c91061c - Browse repository at this point
Copy the full SHA c91061cView commit details -
Configuration menu - View commit details
-
Copy full SHA for c2fdfd9 - Browse repository at this point
Copy the full SHA c2fdfd9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 97ea45c - Browse repository at this point
Copy the full SHA 97ea45cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 049046c - Browse repository at this point
Copy the full SHA 049046cView commit details -
Configuration menu - View commit details
-
Copy full SHA for bbf0105 - Browse repository at this point
Copy the full SHA bbf0105View commit details
Commits on Oct 31, 2020
-
Configuration menu - View commit details
-
Copy full SHA for dde71c6 - Browse repository at this point
Copy the full SHA dde71c6View commit details -
Configuration menu - View commit details
-
Copy full SHA for de884d1 - Browse repository at this point
Copy the full SHA de884d1View commit details -
Merge branch 'source-format' of BenBE/htop
Closes #158
Daniel Lange authored and Daniel Lange committedOct 31, 2020 Configuration menu - View commit details
-
Copy full SHA for 6787c43 - Browse repository at this point
Copy the full SHA 6787c43View commit details -
Fix segmentation fault when column name is NULL.
So, some columns (ex: SECATTR) can be sortable now.
Configuration menu - View commit details
-
Copy full SHA for 59ef15b - Browse repository at this point
Copy the full SHA 59ef15bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 43d274a - Browse repository at this point
Copy the full SHA 43d274aView commit details -
Configuration menu - View commit details
-
Copy full SHA for ab17ef4 - Browse repository at this point
Copy the full SHA ab17ef4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2a9e8ca - Browse repository at this point
Copy the full SHA 2a9e8caView commit details -
Configuration menu - View commit details
-
Copy full SHA for 15652e7 - Browse repository at this point
Copy the full SHA 15652e7View commit details
Commits on Nov 1, 2020
-
Configuration menu - View commit details
-
Copy full SHA for a83f515 - Browse repository at this point
Copy the full SHA a83f515View commit details
Commits on Nov 2, 2020
-
Handle data wraparounds in IO Meters
If the current data is smaller than the previous one, either by a retrieve error or a device removal or a original data wraparound, sanitize the value to zero. Fixes: #299
Configuration menu - View commit details
-
Copy full SHA for 0c19088 - Browse repository at this point
Copy the full SHA 0c19088View commit details -
Merge branch 'wrap' of cgzones/htop
Daniel Lange authored and Daniel Lange committedNov 2, 2020 Configuration menu - View commit details
-
Copy full SHA for 742e610 - Browse repository at this point
Copy the full SHA 742e610View commit details -
Assert Vector_get returns an object
It is generally assumed Vector_get returns a non-NULL object. Use a generic assert in Vector_get instead of in callers.
Configuration menu - View commit details
-
Copy full SHA for 0806a79 - Browse repository at this point
Copy the full SHA 0806a79View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7ab0915 - Browse repository at this point
Copy the full SHA 7ab0915View commit details -
Configuration menu - View commit details
-
Copy full SHA for c790b6a - Browse repository at this point
Copy the full SHA c790b6aView commit details -
Convert addattrstr to static inline function
NB: The macro could have been a braced while(0) loop, which without optimization produces more code
Configuration menu - View commit details
-
Copy full SHA for db0a139 - Browse repository at this point
Copy the full SHA db0a139View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1877325 - Browse repository at this point
Copy the full SHA 1877325View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a51eae - Browse repository at this point
Copy the full SHA 0a51eaeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 374edb9 - Browse repository at this point
Copy the full SHA 374edb9View commit details -
Configuration menu - View commit details
-
Copy full SHA for adf797c - Browse repository at this point
Copy the full SHA adf797cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 493217e - Browse repository at this point
Copy the full SHA 493217eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9a16b10 - Browse repository at this point
Copy the full SHA 9a16b10View commit details -
Configuration menu - View commit details
-
Copy full SHA for b23f823 - Browse repository at this point
Copy the full SHA b23f823View commit details -
Configuration menu - View commit details
-
Copy full SHA for 61e14d4 - Browse repository at this point
Copy the full SHA 61e14d4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4586951 - Browse repository at this point
Copy the full SHA 4586951View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0d64ca9 - Browse repository at this point
Copy the full SHA 0d64ca9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1c060a9 - Browse repository at this point
Copy the full SHA 1c060a9View commit details -
Configuration menu - View commit details
-
Copy full SHA for cb8bb12 - Browse repository at this point
Copy the full SHA cb8bb12View commit details -
Integrate NAN check into assignment
The check for NAN is kept to avoid relying on implementation details of the CLAMP macro/function
Configuration menu - View commit details
-
Copy full SHA for 0e922d4 - Browse repository at this point
Copy the full SHA 0e922d4View commit details -
Configuration menu - View commit details
-
Copy full SHA for e7b95fe - Browse repository at this point
Copy the full SHA e7b95feView commit details
Commits on Nov 9, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 84dad4c - Browse repository at this point
Copy the full SHA 84dad4cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2d6da2e - Browse repository at this point
Copy the full SHA 2d6da2eView commit details
Commits on Nov 14, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 1876305 - Browse repository at this point
Copy the full SHA 1876305View commit details -
Configuration menu - View commit details
-
Copy full SHA for d431786 - Browse repository at this point
Copy the full SHA d431786View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9e976b8 - Browse repository at this point
Copy the full SHA 9e976b8View commit details
Commits on Nov 15, 2020
-
Daniel Lange authored and Daniel Lange committed
Nov 15, 2020 Configuration menu - View commit details
-
Copy full SHA for da2dcf9 - Browse repository at this point
Copy the full SHA da2dcf9View commit details -
Resolve merge conflicts, merge #298 "Macro cleanup" from @BenBE
Daniel Lange authored and Daniel Lange committedNov 15, 2020 Configuration menu - View commit details
-
Copy full SHA for bb908f3 - Browse repository at this point
Copy the full SHA bb908f3View commit details -
Resolve merge conflicts, merge #229 "Add SystemdMeter" from @cgzones
Daniel Lange authored and Daniel Lange committedNov 15, 2020 Configuration menu - View commit details
-
Copy full SHA for f2b2735 - Browse repository at this point
Copy the full SHA f2b2735View commit details -
Configuration menu - View commit details
-
Copy full SHA for d785b1b - Browse repository at this point
Copy the full SHA d785b1bView commit details -
Introduce spaceship comparison for Processes
If currently two unsigned values are compared via `a - b`, in the case b is actually bigger than a, the result will not be an negative number (as -1 is expected) but a huge positive number as the subtraction is an unsigned subtraction. Avoid over-/underflow affected operations; use comparisons. Modern compilers will generate sane code, like: xor eax, eax cmp rdi, rsi seta al sbb eax, 0 ret
Configuration menu - View commit details
-
Copy full SHA for 397b5c4 - Browse repository at this point
Copy the full SHA 397b5c4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 42073ba - Browse repository at this point
Copy the full SHA 42073baView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9131732 - Browse repository at this point
Copy the full SHA 9131732View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9f67b95 - Browse repository at this point
Copy the full SHA 9f67b95View commit details -
It is only used to read process directories on RedHat beginning with a dot. Unconditionally accept directories with a starting dot.
Configuration menu - View commit details
-
Copy full SHA for ad72b74 - Browse repository at this point
Copy the full SHA ad72b74View commit details -
Configuration menu - View commit details
-
Copy full SHA for f856fe6 - Browse repository at this point
Copy the full SHA f856fe6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0411fdb - Browse repository at this point
Copy the full SHA 0411fdbView commit details
Commits on Nov 16, 2020
-
Merge branch 'hili-new-old' of adsr/htop into highlight-new-old-proce…
…sses
Daniel Lange authored and Daniel Lange committedNov 16, 2020 Configuration menu - View commit details
-
Copy full SHA for 0951090 - Browse repository at this point
Copy the full SHA 0951090View commit details -
Apply patch from BenBE as per htop-dev/htop#241 (comment)
Daniel Lange authored and Daniel Lange committedNov 16, 2020 Configuration menu - View commit details
-
Copy full SHA for 8f2d129 - Browse repository at this point
Copy the full SHA 8f2d129View commit details -
Fix whitespace before comma in the new color definitions
Daniel Lange authored and Daniel Lange committedNov 16, 2020 Configuration menu - View commit details
-
Copy full SHA for 19868a3 - Browse repository at this point
Copy the full SHA 19868a3View commit details -
Merge branch 'highlight-new-old-processes'
Daniel Lange authored and Daniel Lange committedNov 16, 2020 Configuration menu - View commit details
-
Copy full SHA for 8bc083c - Browse repository at this point
Copy the full SHA 8bc083cView commit details -
hwloc = (portable) HardWare LOCality, not related to lock
Daniel Lange authored and Daniel Lange committedNov 16, 2020 Configuration menu - View commit details
-
Copy full SHA for 309f1d7 - Browse repository at this point
Copy the full SHA 309f1d7View commit details -
Add debug state to the configure report (thanks @BenBE for the idea)
Daniel Lange authored and Daniel Lange committedNov 16, 2020 Configuration menu - View commit details
-
Copy full SHA for a8a723f - Browse repository at this point
Copy the full SHA a8a723fView commit details -
Add process column for normalized CPU usage
Shows the process CPU usage divided by the number of CPU cores
Configuration menu - View commit details
-
Copy full SHA for 15eab20 - Browse repository at this point
Copy the full SHA 15eab20View commit details
Commits on Nov 17, 2020
-
- use consistent type for key by introducing a new typedef - use unsigned types for sizes - name parameters in foreach function typedef
Configuration menu - View commit details
-
Copy full SHA for 7914ec2 - Browse repository at this point
Copy the full SHA 7914ec2View commit details -
Hashtable: use dynamic growth and use primes as size
Dynamically increase the hashmap size to not exceed the load factor and avoid too long chains. Switch from Separate Chaining to Robin Hood linear probing to improve cache locality. Use primes as size to further avoid collisions. E.g. on a standard kde system the number of entries in the ProcessTable might be around 650.
Configuration menu - View commit details
-
Copy full SHA for 307c34b - Browse repository at this point
Copy the full SHA 307c34bView commit details -
Merge individual Battery.[ch] files into Platform.[ch]
Consistent with everything else involving platform-specific calls from core htop code.
Configuration menu - View commit details
-
Copy full SHA for 351f93e - Browse repository at this point
Copy the full SHA 351f93eView commit details