Nathan Scott
dab4144f4a
Merge branch 'hishamhm-pull-872'
2020-08-20 12:30:51 +10:00
Nathan Scott
45ae6191c1
Merge branch 'hishamhm-pull-866'
2020-08-20 12:29:25 +10:00
Nathan Scott
ed2b7791df
Merge branch 'hishamhm-pull-871'
2020-08-20 09:53:39 +10:00
Nathan Scott
78f4d064de
Merge branch 'hishamhm-pull-868'
2020-08-20 09:53:00 +10:00
Nathan Scott
e7d2f9383a
Merge branch 'hishamhm-pull-857'
2020-08-20 09:47:13 +10:00
Nathan Scott
97d700082c
Merge branch 'hishamhm-pull-855'
2020-08-20 09:44:25 +10:00
Nathan Scott
46ab1aa3bd
Merge branch 'hishamhm-pull-850'
2020-08-20 09:42:40 +10:00
Nathan Scott
500fb283e9
Resolve compiler warnings and errors relating to the Arg union
...
Promote the Arg union to a core data type in Object.c such
that it is visible everywhere (many source files need it),
and correct declarations of several functions that use it.
The Process_sendSignal function is also corrected to have
the expected return type (bool, not void) - an error being
masked by ignoring this not-quite-harmless warning. I've
also added error checking to the kill(2) call here, which
was previously overlooked / missing (?).
2020-08-20 09:35:33 +10:00
Nathan Scott
5228f5d47a
Ensure result buffer termination in String_cat utility routine
2020-08-20 09:03:45 +10:00
Nathan Scott
74d547674d
Merge branch 'hishamhm-pull-917'
2020-08-19 18:15:18 +10:00
Nathan Scott
034e56b3c0
Merge branch 'hishamhm-pull-891'
2020-08-19 18:13:48 +10:00
Nathan Scott
6310e5dc3a
Merge branch 'hishamhm-pull-886'
2020-08-19 18:12:30 +10:00
Nathan Scott
36ef4d4fb6
Resolve compilation warning relating to dangling else in InfoScreen_run
2020-08-19 18:10:16 +10:00
Nathan Scott
80ce69c44f
Merge branch 'hishamhm-pull-883'
2020-08-19 18:09:19 +10:00
Nathan Scott
6fbee8c1f4
Merge branch 'hishamhm-pull-881'
2020-08-19 18:06:57 +10:00
Nathan Scott
00d333cc7b
Merge branch 'hishamhm-pull-869'
2020-08-19 18:04:28 +10:00
Nathan Scott
eef6bc447d
Correction to smaps buffer size passed to smaps path snprintf
2020-08-19 17:50:43 +10:00
Nathan Scott
f9625cacf0
Merge branch 'hishamhm-pull-843'
2020-08-19 17:47:38 +10:00
Nathan Scott
e9947acfc6
Merge branch 'hishamhm-pull-818'
2020-08-19 16:49:43 +10:00
Nathan Scott
5a17cee74d
Merge branch 'hishamhm-pull-817'
2020-08-19 16:43:55 +10:00
Nathan Scott
ed6f22a847
Merge branch 'master' of github.com:htop-dev/htop
2020-08-18 20:24:11 +10:00
Nathan Scott
2f59798b3b
Merge pull request #2 from leetonidas/master
...
fixed display of blank bars
2020-08-18 20:22:24 +10:00
Jonischkeit Clemens
9a70e43129
fixed display of blank bars
...
The buffer for blank bars was left uninitialized resulting in random
looking characters sometimes even overwriting the end of the bar.
2020-08-18 11:48:08 +02:00
Nathan Scott
7ac1c709b7
Re-generate all headers with latest scripts/MakeHeader.py
...
Sync-up missing extern declarations for many functions.
2020-08-18 17:41:49 +10:00
Nathan Scott
579995c7c2
Merge branch 'hishamhm-pull-842'
2020-08-18 17:35:56 +10:00
Nathan Scott
98e8da8bd3
Merge pull request #1 from htop-dev/natoscott-continuous-integration
...
Create ci.yml with a workflow for Ubuntu latest
2020-08-17 16:02:20 +10:00
Nathan Scott
7fbbf25afe
Update ci.yml
...
Comment out MacOSX for now - seems to be missing needed aclocal/m4 toolchain components.
2020-08-17 15:53:49 +10:00
Nathan Scott
e1f48c7c7c
Update ci.yml
...
Correction to deb package name
2020-08-17 15:48:24 +10:00
Nathan Scott
6cd1615863
Update ci.yml
...
Attempt to fix Ubuntu dependencies, add macosx
2020-08-17 15:40:47 +10:00
Nathan Scott
c86ac5cf98
Update ci.yml
...
Install libncurses-dev package on the build system
2020-08-17 15:16:49 +10:00
Nathan Scott
b3003f02fa
Create ci.yml
...
Initial version of htop CI using github actions.
2020-08-17 14:59:23 +10:00
Nathan Scott
dfd9279f87
Resolve complation issues with -fno-common (default from gcc-10)
...
Extends the MakeHeader script to auto-generate correct "extern"
function declarations in some cases that it currently does not.
Related to https://github.com/hishamhm/htop/pull/981
2020-07-10 10:35:32 +10:00
Jesin
886eb68102
Close pipe after lsof
2019-06-23 13:13:05 -04:00
Explorer09
3512971084
Fix configure 'major' workaround causing <sys/sysmacros.h> to miss.
...
A logic mistake in pull request #746 causes <sys/sysmacro.h> to be
*not* included when AC_HEADER_MAJOR (before autoconf-2.70) finds
'major' in <sys/types.h>. Though this would still build htop, it would
still bring deprecation warning in systems using glibc 2.25-2.27. Fix
the logic and suppress the warning.
Also, include config.h in Process.c for the sake of strengthening the
code.
Signed-off-by: Kang-Che Sung <explorer09@gmail.com>
2019-06-14 10:10:23 +08:00
Alexander Schlarb
078c2ddde5
Linux: Use /proc/*/smaps_rollup for improved PSS parsing speed
2019-03-20 17:00:49 +01:00
Alexander Schlarb
fc0bf546c3
Linux: Add PSS (proportional set size), Swap and SwapPSS calculation
...
Original code was written by *Craig M. Brandenburg* for htop 1.0.2
Many performance improvements by GitHub user *linvinus*, ported to htop 2.0.2
2019-03-20 17:00:41 +01:00
scootergrisen
43875d94c9
Add danish translation to htop.desktop
2019-02-19 01:25:52 +01:00
wangqr
da60309fc9
Don't follow process when selecting non-process-specific options
...
Disable the follow process logic in Action_pickFromVector(), when
selecting sort order or user filter, since they don't apply on specific
process.
Fix #856
2019-02-12 22:15:51 -05:00
wangqr
6f161e60e1
Restore meter name after used in Header_addMeterByName()
...
Fix #852
2019-02-12 22:13:58 -05:00
Hisham Muhammad
402e46bb82
Linting changes
...
as reported by lgtm.com
2019-02-10 14:16:46 +01:00
Hisham Muhammad
90518bfc84
Return of snprintf is not the number of written bytes
2019-02-10 14:16:46 +01:00
Alan Barr
f49f545813
Fix printf() unsigned placeholders
...
Unsigned numbers should be using "%u".
Raised by cppcheck
2019-02-10 14:16:46 +01:00
Alan Barr
60e557868a
Prevent possible NULL pointer deference
...
Raised by cppcheck
2019-02-10 14:16:46 +01:00
Alan Barr
79c939eb84
Remove duplicated if condition
...
The for loop already handles i being < nPanels
Raised by cppcheck
2019-02-10 14:16:46 +01:00
Lion Yang
dc7d035238
htop.c: remove unused "--io" / "-i" ( #811 )
...
Introduced from 3383d8e556
(2.0.0) but never used.
2019-02-10 14:16:46 +01:00
Ricardo Nabinger Sanchez
6194c8dcc6
Honour setting of counting CPUs from 0/1 when presenting meters
...
In the listing of Available Meters for CPUs, the list of CPUs is always
presented by counting them from one. However, if the user prefers to
count CPUs from zero, this is sometimes confusing when fine-tuning the
meters.
2019-02-07 10:39:08 -02:00
wurongxin
a360a80d16
fix a bug about use of unitialised variable. refer to https://github.com/hishamhm/htop/issues/882
2019-01-29 12:45:30 +08:00
Ukiah Smith
9139d29bbb
chore: add clarification to the docs
2019-01-26 09:56:19 -05:00
adrien1018
536941fb23
Deal with larger numbers in colorNumber and outputRate
2018-12-30 20:18:35 +08:00
Tobias Kortkamp
ecfd6f685e
Fix memory statistics display on FreeBSD/powerpc
...
Use the appropriate types when calling sysctl().
Currently, `unsigned long long int` is used for all sizes and on
FreeBSD/powerpc this causes all sysctl() calls in scanMemoryInfo()
to fail as they are actually of different sizes on powerpc, where
(sizeof(unsigned long long int), sizeof(u_long)) == (8, 4)
vs (8, 8) on amd64. This results in bogus memory sizes being
reported by htop.
Signed-off-by: Tobias Kortkamp <tobik@FreeBSD.org>
2018-12-24 13:51:01 +01:00