575edffb4b
Add configure option to create static htop binary
2021-01-25 18:01:39 +01:00
759a34039c
configure: fail immediately on missing requirement
2021-01-25 17:57:21 +01:00
38b6a0148f
configure: misc modernizations
...
- require autoconf version 2.69
was released in 2012 and one still can configure and build on older
systems (just not generate the configure script)
- use modern C99 compiler check
- drop obsolete checks: AC_C_CONST, AC_FUNC_CLOSEDIR_VOID, AC_FUNC_STAT
- drop AC_HEADER_STDBOOL in favor of C99 compatibility
2021-01-25 17:57:21 +01:00
f3623b7880
configure: reformat for improved reabability
2021-01-25 17:57:21 +01:00
5e103ff9d1
configure: overhaul option handling
...
Switch Linux capabilities default from "no" to "check"
Document default settings
Use more readable formatting
2021-01-25 17:54:37 +01:00
6f6e0ec571
Update copyright for 2021
2021-01-22 20:06:51 +01:00
4dadbe3b34
configure: add -Winit-self warning
2021-01-21 19:49:07 +01:00
b20bb543ce
Find the correct library for clock_gettime before trying to use it
...
Otherwise if clock_gettime is librt then this code will incorrectly believe
that the function does not exist at all.
2021-01-20 15:04:03 +01:00
f4404effa4
Add option to drop Linux capabilities
...
Conflicts with setuid support, but that is commonly not enabled.
2021-01-11 20:19:51 +01:00
58ce887d14
Update version number to 3.0.6-dev to identify git repo builds
2021-01-11 18:59:55 +01:00
ce6d60e7de
Release 3.0.5
2021-01-11 18:18:21 +01:00
0672be7db1
Update version number for git repo builds
2020-12-22 17:41:14 +11:00
0b989ee38c
Bump version number for 3.0.4 release
2020-12-22 17:39:42 +11:00
8db8b9edac
DragonFlyBSD update
...
- drop unused kinfo includes and link argument
- detect kvm library necessity at configure step
- fix variable typo
2020-12-20 18:22:41 +01:00
c150e4bde9
Enable -Wformat=2
...
Now that the global format variable Process_pidFormat is gone, enable
the compiler warning -Wformat=2.
2020-12-19 21:13:32 +01:00
26993d2d2b
Support clock_gettime() on OSX El Capitan and earlier
2020-12-18 22:43:21 +01:00
f32f0188cd
Correct timebase for non-x86 CPUs on Darwin
...
Fixes : #368
2020-12-13 11:47:34 +01:00
ab60f59ed8
Check if clock_gettime needs linking of librt
2020-12-13 00:55:50 +01:00
880eecabf5
Indentation and line continuation fixes in configure.ac
2020-12-12 19:49:52 +01:00
ead978bce6
configure: check for additional linker flags for keypad(3)
...
Gentoo requires an explicit addition of -ltinfo
Resolves: https://bugs.gentoo.org/show_bug.cgi?id=690840
2020-12-07 15:33:16 +01:00
4f88d38256
Correct the version of htop development repo
2020-12-07 19:57:44 +11:00
f03f48a0fb
Change version string to note development repo build
2020-12-07 12:16:06 +11:00
ad8aa2ce77
Bump version number for 3.0.3 release
2020-12-07 11:49:14 +11:00
1f9e2ded9e
Update changelog for upcoming 3.0.3 release, annotate rc1
2020-12-04 14:05:27 +11:00
4f08d2d5ad
Fix sensors configure argument
2020-12-03 16:42:38 +01:00
b76eaf187a
Dynamically load libsensors at runtime
2020-12-02 21:03:24 +01:00
a41e5c0a80
configure: do not check functions we are using unconditionally
2020-11-28 12:35:34 +01:00
2ff2859c23
Add compat mode for systems without openat(2)
2020-11-28 12:35:34 +01:00
15fe8717b1
configure: create typedefs for fixed-sized integers if needed
...
If not defined in stdint.h or inttypes.h
See https://www.gnu.org/software/autoconf/manual/autoconf-2.62/html_node/Particular-Types.html
2020-11-26 20:28:38 +01:00
9b31ee5b63
Drop taskstats conditional
...
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.
2020-11-25 20:49:39 +01:00
c88c80e3bd
Drop cgroup conditional
...
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.
2020-11-25 20:49:39 +01:00
98fce1fb43
Compatibility function for faccessat
2020-11-24 19:05:48 +01:00
fec9af4e6f
Merge branch 'temperature_v2' of cgzones/htop
...
Closes #111 , closes #49
Closes #93 - thank you for leading the way @DX37 (Maxim Kurnosenko)!
2020-11-17 11:05:15 +01:00
a8a723ffe9
Add debug state to the configure report (thanks @benbe for the idea)
2020-11-16 17:01:51 +01:00
1b225cd7a0
Show CPU temperature in CPU meter
...
Show the CPU temperature in the CPU meter, like CPU frequency, instead
of using an extra Meter.
2020-11-16 16:38:54 +01:00
309f1d7282
hwloc = (portable) HardWare LOCality, not related to lock
2020-11-16 13:29:37 +01:00
f2b2735e07
Resolve merge conflicts, merge #229 "Add SystemdMeter" from @cgzones
2020-11-15 14:52:25 +01:00
84dad4c38e
Implement screen for active file locks
2020-11-09 19:17:57 +01:00
2a9e8ca074
Add SystemdMeter
2020-10-31 19:51:42 +01:00
bbf01054bf
Add compat wrapper for fstatat
2020-10-29 22:21:42 +01:00
c2fdfd99eb
FreeBSD: implement Platform_getDiskIO()
2020-10-29 22:21:42 +01:00
ddbb0c2c35
Add HTOP_$platform defines to config.h header
...
Can be used to conditionally compile platform specific code.
2020-10-29 22:17:52 +01:00
1d00893110
Automatically detect if backtrace(3) needs -lexecinfo
2020-10-16 10:58:14 +02:00
769df604b2
Set a -dev version to bug reports show a useful version and not the last release
2020-10-07 10:35:06 +02:00
db472075a4
Enable -Wcast-qual compiler warning
2020-10-06 11:20:07 +02:00
e9fa290019
Merge branch 'update-license-and-copyright-info'
2020-10-06 10:27:38 +11:00
ffd90c28ab
Mention platform for platform specific configure options
2020-10-05 12:48:23 +02:00
079c2abf8e
Update License consistently to GPLv2 as per COPYING file
2020-10-05 10:13:12 +02:00
90d16b6630
Update copyright statement
2020-10-05 09:47:49 +02:00
576b82f86a
Merge branch 'attr-nonnull' of https://github.com/BenBE/htop into BenBE-attr-nonnull
2020-10-05 15:57:52 +11:00