- 06 Apr, 2018 7 commits
-
-
Guy M. Broome authored
-
Guy M. Broome authored
-
Guy M. Broome authored
-
Guy M. Broome authored
-
wangqr authored
Fixes #675
-
Kang-Che Sung (宋岡哲) authored
This reduces generated Makefile.in size by 74%. (217319 bytes -> 56326 bytes) Automake considers that <prog>_CFLAGS and <prog>_LDFLAGS are program-specific build rules, and when such are specified, Automake will generate additional code just to avoid the "generic" and package-wide AM_CFLAGS or AM_LDFLAGS. (Especially for <prog>_CFLAGS, Automake will rename generated object files to become "prog-foo.o" and such, and it's _a lot_ of code to achieve this in Makefile.) There's no reason for htop to rename intermediate object files. It's better to make things simpler. Signed-off-by: Kang-Che Sung <explorer09@gmail.com>
-
gmbroome authored
This commit adds support for Solaris, squashed from PR #741: Summary of additions: * Initial setup of Solaris platform directory * Add Solaris platform into autoconf template * Uptime and load averages * Add dependency on libkstat * Basic process listing * Zone name display * CPU detection * Per-process memory and CPU usage parsed correctly * Uses sysconf to discover number of CPUs, instead of more complex libkstat code * Simple memory display working * Reduce repetitive calls to the PAGE_SIZE macro when reading memory info * Add Project, Contract, Task, and Pool into process properties * Use system major()/minor() implementations and remove extraneous definition of mkdev() * Get the STARTTIME column working properly, using the Linux implementation as a guide
-
- 16 Mar, 2018 1 commit
-
-
Sebastian Martin Dicke authored
-
- 26 Feb, 2018 27 commits
-
-
Hisham Muhammad authored
-
Hisham Muhammad authored
-
Hisham Muhammad authored
-
Hisham Muhammad authored
-
Hisham Muhammad authored
-
Hisham Muhammad authored
-
Hisham Muhammad authored
-
Hisham Muhammad authored
-
Hisham Muhammad authored
-
Hisham Muhammad authored
-
Hisham Muhammad authored
-
Hisham Muhammad authored
-
Hisham Muhammad authored
-
Hisham Muhammad authored
-
Hisham Muhammad authored
-
Hisham Muhammad authored
-
Hisham Muhammad authored
-
Hisham Muhammad authored
-
Hisham Muhammad authored
-
Hisham Muhammad authored
-
Jesin authored
The configure script relied on bash-specific extensions to shell syntax and behavior, causing build failures on systems with other /bin/sh implementations. This commit replaces those with equivalent constructs that should work in all POSIX shells.
-
Hisham Muhammad authored
-
Hisham Muhammad authored
-
Hisham Muhammad authored
-
Hisham Muhammad authored
-
Michael Klein authored
Fixes #695.
-
Kang-Che Sung (宋岡哲) authored
glibc 2.28 no longer defines 'major' and 'minor' in <sys/types.h> and requires us to include <sys/sysmacros.h>. (glibc 2.25 starts deprecating the macros in <sys/types.h>.) Now do include the latter if found on the system. At the moment, let's also utilize AC_HEADER_MAJOR in configure script. However as Autoconf 2.69 has not yet updated the AC_HEADER_MAJOR macro to reflect the glibc change [1], so add a workaround code. Fixes #663. Supersedes pull request #729. Reference: [1] https://git.savannah.gnu.org/gitweb/?p=autoconf.git;a=commit;h=e17a30e987d7ee695fb4294a82d987ec3dc9b974 Signed-off-by: Kang-Che Sung <explorer09@gmail.com>
-
- 19 Feb, 2018 1 commit
-
-
Hisham Muhammad authored
-
- 18 Feb, 2018 4 commits
-
-
Hisham Muhammad authored
Avoid unnecessary access() call and make code read more linearly.
-
Hisham Muhammad authored
Require at least the `fields` entry to be present, so we can have a decent guess that it was indeed a settings file.
-
Hisham Muhammad authored
I was occasionally passing negative values to size_t. Plus, this better reflects the intent of the variant argument. Reported by Coverity: https://scan8.coverity.com/reports.htm#v13253/p10402/fileInstanceId=22093891&defectInstanceId=7543346&mergedDefectId=174179&fileStart=251&fileEnd=500
-