summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2019-10-31Add `trim_trailing_whitespace` to editorconfigDaniel Flanagan
2019-10-31Clean up existing whitespaceDaniel Flanagan
2019-10-31Merge remote-tracking branch 'upstream/master'Daniel Flanagan
2019-02-10Linting changesHisham Muhammad
as reported by lgtm.com
2019-02-10Return of snprintf is not the number of written bytesHisham Muhammad
2019-02-10Fix printf() unsigned placeholdersAlan Barr
Unsigned numbers should be using "%u". Raised by cppcheck
2019-02-10Prevent possible NULL pointer deferenceAlan Barr
Raised by cppcheck
2019-02-10Remove duplicated if conditionAlan Barr
The for loop already handles i being < nPanels Raised by cppcheck
2019-02-10htop.c: remove unused "--io" / "-i" (#811)Lion Yang
Introduced from https://github.com/hishamhm/htop/commit/3383d8e5561dfc6fb2b65e0a194df94ccb5e08af (2.0.0) but never used.
2018-08-24Linux: fix CPU countHisham Muhammad
2018-08-24Linux: remove warnings of unused variablesHisham Muhammad
2018-08-24Improve Catalan translation for desktop file (#828)Robert Antoni Buj Gelonch
2018-08-19Improve htop.desktop file (#609)Jan Chren
- sort entries according to the spec - add to the `Monitor` category
2018-08-19Linux: add process->starttime and use it for STARTTIME column (#700)Shawn Landden
this way a remount of /proc will not reset starttimes and we can also see startup times for processes started before the mount of /proc also record btime (boot time in seconds since epoch) as Linux semi-global
2018-08-19OpenBSD: make the STARTTIME column display correctly (#815)multiplexd
2018-08-19OpenBSD: add environment reading support (#819)multiplexd
2018-07-28Fix process name updates for shorter strings (#812)Score_Under
When a process name changes from a long string to a short string, truncate instead of just overwriting the beginning.
2018-06-13Fix virtualization color in help screenHisham Muhammad
Closes #785.
2018-06-13Unstage/gitignore INSTALL since it's regenerated by autogen.shHisham Muhammad
As noted by @marcelpaulo. I've had ugly diffs that fiddled with this file in the past, so it's good to see it gone. Closes #800.
2018-06-02Mention the "c" key (tag subtree) in the manJérémie Roquet
This was reported by @agguser.
2018-05-22Disable 'make dist' when pkg.m4 is unused in configureExplorer09
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>
2018-05-22fix option stringChristian Hesse
This broke with commit db05ba61065f64b59d0014518be0786b5439e54c.
2018-05-22Fix #define to match header when regenerating with MakeHeader.py (#789)Faster IT
from Debian https://sources.debian.org/src/htop/2.2.0-1/debian/patches/fix-linux-process.patch/
2018-04-10Bump version to 2.2.02.2.0Hisham Muhammad
2018-04-10Update ChangeLogHisham Muhammad
2018-04-10Add tree view flag to man page (#777)Daniel Flanagan
2018-04-06Add tree view flag to man pageDaniel Flanagan
2018-04-06Require pkg-config as an optional build dependency on Linux (#775)Hisham Muhammad
With this commit: * if pkgconfig is installed, it will expand the code inside the shell if, adding the pkgconfig-based tests for the dependencies of Linux delay accounting. * if pkgconfig is not installed, it will add an error message inside the test of Linux delay accounting, telling the user to install pkgconfig and rebuild the configure script if they want to use Linux delay accounting. The end result is: * people running Linux * will not need pkgconfig when not using delay accounting * will need pkgconfig when using delay accounting * if they don't have it * they are told by configure they need to install it and re-run autogen.sh when running from Git * they are told by configure they need to install it and re-run configure when running from the tarball * people not running Linux * will never need pkgconfig ...and in none of the above scenarios the generated configure script produces unexpanded macros for users checking out the sources from Git.
2018-04-05MakeHeader.py: Fix for non-utf8 environments (#770)volkov-am
Header creation fails with non-utf8 locale and python3. Simply set LC_ALL="C" and use python3 to reproduce the issue. env LC_ALL="C" ./scripts/MakeHeader.py MetersPanel.c Traceback (most recent call last): File "./scripts/MakeHeader.py", line 32, in <module> for line in file.readlines(): File "/usr/lib64/python3.5/encodings/ascii.py", line 26, in decode return codecs.ascii_decode(input, self.errors)[0] UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 956: ordinal not in range(128) This changes is python2 and python3 compatible cStringIO.StringIO module is removed because it is not able to accept unicode strings https://docs.python.org/2/library/stringio.html#cStringIO.StringIO
2018-04-05Add -t command-line flag for tree viewDaniel Flanagan
2018-04-05macOS: fix the switched version test (#772)pmalhaire
2018-04-05Solaris: update proc state letters to reflect Solaris usageGuy M. Broome
2018-04-05Solaris: bump copyright in Platform.{c,h}Guy M. Broome
2018-04-05Solaris: fix a memory leak caused by calling ProcessList_getProcess twice ↵Guy M. Broome
for each LWP
2018-04-05Solaris: Implement process environment listingGuy M. Broome
2018-04-05Solaris: add placeholder message about environment listingGuy M. Broome
2018-04-05Solaris: showing a dash for the top-level process is no longer necessaryGuy M. Broome
2018-04-05Solaris: add warning about proc_walk_f callback functionGuy M. Broome
2018-04-05Solaris: condense separate process vs lwp handling down to a single workflowGuy M. Broome
2018-04-05Solaris: get completely out of the file handling business using libprocGuy M. Broome
2018-04-05Solaris: Condense conditional blocks for new vs old LWPs and procsGuy M. Broome
2018-04-05Solaris: remove unneeded accumulators for process and thread countingGuy M. Broome
2018-04-05Solaris: Assorted post-LWP code cleanupGuy M. Broome
2018-04-05Solaris: Implement kernel thread countingGuy M. Broome
2018-04-05Solaris: If a process has a running LWP, then the process is by definition ↵Guy M. Broome
running
2018-04-05Collapse current subtree pressing BackspaceHisham Muhammad
2018-03-27Solaris: Implement LWP enumeration (#768)gmbroome
Squashed the following commits: * Solaris: Get LWP enumeration working * Solaris: Make showing and hiding of kernel threads behave * Solaris: remove usage of lwpstatus that is no longer needed * Solaris: no discrete access to parent proc structure needed * Solaris: Restore runtime MaxPid detection after LWP changes * Solaris: Workaround virtual PID signal issue by shadowing kill() with a macro * Solaris: Fix unintention double-shifting of virtual PID for LWP enumeration * Solaris: Add LWPID to default display since LWP enumeration is also default * Solaris: use PAGE_SIZE_KB from Process.h instead of custom definition * Solaris: stop LWP enumeration at 1023 LWPs per proc since that is all we can handle in the virtual PID
2018-03-26OpenBSD: read Battery datanerd972
Signed-off-by: Hisham Muhammad <hisham@gobolinux.org>
2018-03-26macOS: keep scanning thread for versions before High Sierra (#728)pmalhaire
Keep scanning threads for versions before High Sierra 13.0.0 and after 13.3.0.
2018-03-26Solaris: Fix virt and resident memory sizes. Was using KiB, needed pages.Guy M. Broome