summaryrefslogtreecommitdiffstats
path: root/Makefile.am
Commit message (Collapse)AuthorAgeFilesLines
* DragonFlyBSD updateChristian Göttsche2020-12-201-3/+4
| | | | | | - drop unused kinfo includes and link argument - detect kvm library necessity at configure step - fix variable typo
* Rework enum ProcessFieldChristian Göttsche2020-12-191-6/+13
| | | | | | Use only one enum instead of a global and a platform specific one. Drop Platform_numberOfFields global variable. Set known size of Process_fields array
* Update htop logo, provide .svg file as wellDaniel Lange2020-12-051-1/+3
|
* Dynamically load libsensors at runtimeChristian Göttsche2020-12-021-0/+2
|
* Drop taskstats conditionalChristian Göttsche2020-11-251-1/+1
| | | | | | | | | | taskstats is only checked on runtime if the column RCHAR, WCHAR, SYSCR, SYSCW, RBYTES, WBYTES, CNCLWB, IO_READ_RATE, IO_WRITE_RATE or IO_RATE is selected. taskstats is currently enabled by default. Drop the taskstats configuration switch, to reduce the maintenance cost.
* Drop cgroup conditionalChristian Göttsche2020-11-251-1/+1
| | | | | | | | | cgroup is only checked on runtime if the column CGROUP is selected. cgroup is currently disabled by default, but most distributions do enable it. Drop the cgroup configuration switch, to reduce the maintenance cost.
* Add support to change numeric options in settings screenChristian Göttsche2020-11-251-2/+2
| | | | Like delay or highlightDelaySecs
* Fix build for custom make targetsBenny Baumann2020-11-211-3/+3
|
* Merge individual Battery.[ch] files into Platform.[ch]Nathan Scott2020-11-181-18/+8
| | | | | Consistent with everything else involving platform-specific calls from core htop code.
* Resolve merge conflicts, merge #229 "Add SystemdMeter" from @cgzonesDaniel Lange2020-11-151-0/+2
|\
| * Add SystemdMeterChristian Göttsche2020-10-311-0/+2
| |
* | Split platform dependent parts for file locks screenBenny Baumann2020-11-141-2/+2
| |
* | Implement screen for active file locksFynn Wulf2020-11-091-0/+2
|/
* Zram Meter featureMurloc Knight2020-10-311-0/+3
|
* Add compat wrapper for fstatatChristian Göttsche2020-10-291-0/+2
|
* Make all required includes explicitBenny Baumann2020-10-181-0/+1
| | | | Information as seen by IWYU 0.12 + clang 9 on Linux
* Combine XAlloc.[ch] into XUtils.[ch]Benny Baumann2020-10-171-2/+0
|
* Rename StringUtils.[ch] to XUtils.[ch]Benny Baumann2020-10-161-4/+4
|
* Add NetworkIOMeterChristian Göttsche2020-10-161-0/+2
|
* Add SELinuxMeterChristian Göttsche2020-10-161-9/+17
|
* Automatically detect if backtrace(3) needs -lexecinfoChristian Göttsche2020-10-161-2/+1
|
* Centralise fault handlingBenny Baumann2020-10-121-14/+8
| | | | This should be done as all platforms essentially did the same anyway and there was nothing platform specific.
* Makefile sort correctionChristian Göttsche2020-10-091-1/+1
|
* Add a date and datetime meter (#159)Michael F. Schönitzer2020-10-051-19/+101
| | | | | | 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.
* Add --enable-debug configure option to enable assertsChristian Göttsche2020-10-031-1/+0
| | | | asserts are still disabled by default.
* Add DiskIOMeter for IO read/write usageChristian Göttsche2020-10-031-2/+2
|
* show selected command wrapped in a separate windowryenus2020-09-241-2/+2
| | | | | | | | | | | | | | | 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.
* Add some default compiler warningsChristian Göttsche2020-09-181-1/+1
| | | | Compatible with gcc and clang.
* autotools: enable warnings and cleanupChristian Göttsche2020-09-171-2/+0
| | | | | | | | | | | | - enable warnings in autogen script - drop unused m4/ directory usage - drop AC_TYPE_SIGNAL: C99 guarantees the signal return type to be void - drop AC_CHECK_FILE of procdir: most of the time compilation is done on a different system than htop is run and there is a runtime check in place - improve linux_affinity corss compile logic: use fourth argument instead of pre-test
* Consolidate repeated macro definitions into one headerNathan Scott2020-09-091-1/+1
| | | | | | | | The MIN, MAX, CLAMP, MINIMUM, and MAXIMUM macros appear throughout the codebase with many re-definitions. Make a single copy of each in a common header file, and use the BSD variants of MINIMUM/MAXIMUM due to conflicts in the system <sys/param.h> headers.
* Further, minor cleanups to headers post-MakeHeadersNathan Scott2020-09-081-1/+1
| | | | | Remove leftover empty ifdef/endif pairs, whitespace. The generated htop.h file was also unused - removed.
* Axe automated header generation.Zev Weiss2020-09-031-31/+2
| | | | | | | | | | | | | | Reasoning: - implementation was unsound -- broke down when I added a fairly basic macro definition expanding to a struct initializer in a *.c file. - made it way too easy (e.g. via otherwise totally innocuous git commands) to end up with timestamps such that it always ran MakeHeader.py but never used its output, leading to overbuild noise when running what should be a null 'make'. - but mostly: it's just an awkward way of dealing with C code.
* Merge branch 'ci-hwloc-job' of https://github.com/bertwesarg/htop into ↵Nathan Scott2020-08-261-1/+2
|\ | | | | | | bertwesarg-ci-hwloc-job
| * Do not include the generated `config.h` header into the packageBert Wesarg2020-08-251-1/+2
| |
* | Fix out-of-tree buildsBert Wesarg2020-08-251-1/+1
|/
* configure: add option --enable-werrorChristian Göttsche2020-08-211-1/+1
| | | | | Adds the compiler flag -Werror to fail on warnings. Useful for CI runs.
* Merge branch 'hishamhm-pull-920'3.0.0rc1Nathan Scott2020-08-201-8/+26
|\
| * Support for ZFS Compressed ARC statisticsRoss Williams2019-09-031-4/+8
| |
| * ZFS arcstats for SolarisRoss Williams2019-07-071-2/+5
| |
| * Refactor common OpenZFS sysctl accessRoss Williams2019-07-071-10/+11
| | | | | | | | | | Darwin and FreeBSD export zfs kstats through the same APIs, so moving functions into a common file.
| * ZFS arcstats for Darwin (macOS / OS X)Ross Williams2019-07-071-2/+4
| |
| * ZFS arcstats for LinuxRoss Williams2019-07-071-2/+4
| | | | | | | | | | | | If no pools are imported (ARC size == 0) or the ZFS module is not in the kernel (/proc/spl/kstat/zfs/arcstats does not exist), then the Meter reports "Unavailable".
| * Support ZFS ARC stats on FreeBSDRoss Williams2019-07-071-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | New meter displays same ARC stats as FreeBSD top(1). Can be extended to other platforms that support ZFS. Pulling kstat.zfs.misc.arcstats.c_max as the meter total, so the meter has a meaningful value to work up to. The Text meter displays, first, the maximum ARC size (Meter.total), then second, the total ARC used, using the difference between Meter.maxItems and Meter.curItems to "hide" the used value from the Bar and Graph drawing functions by using an index in Meter.values[] that is beyond curItems - 1, but less than maxItems - 1.
* | Merge branch 'hishamhm-pull-1009'Nathan Scott2020-08-201-1/+1
|\ \
| * | Fix use of '-rdynamic'Jorge Pereira2020-06-111-1/+1
| |/ | | | | | | The option should be informed to the linker.
* / Merge branch 'hishamhm-pull-890'Nathan Scott2020-08-201-2/+4
|/
* Disable 'make dist' when pkg.m4 is unused in configureExplorer092018-05-221-0/+7
| | | | | | | | | This would prevent a careless future package maintainer from creating a release tarball with a defective configure script. :) Also, add a warning in the autogen.sh phase if pkg.m4 is unused. Signed-off-by: Kang-Che Sung <explorer09@gmail.com>
* New makefile targets to rebuild and clean htop headers.Explorer092018-03-261-16/+104
| | | | | | | | | | | | | `make htop-headers` will regenerate all '.h' headers in htop source for all platforms. `make clean-htop-headers` will delete all generated htop headers. Because of the introduction of these two targets, I slightly changed the style of platform-specific portions of makefile rules. Please comment if you accept such a style, or need me to revert to old style. Signed-off-by: Kang-Che Sung <explorer09@gmail.com>
* Use AM_CFLAGS and AM_LDFLAGS in Makefile.am (#760)Kang-Che Sung (宋岡哲)2018-03-161-5/+5
| | | | | | | | | | | | | | | | 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>
* Import Solaris support (#741)gmbroome2018-03-021-0/+10
| | | | | | | | | | | | | | | | | | | | | 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

© 2014-2024 Faster IT GmbH | imprint | privacy policy