Skip to content
Permalink
Branch: htop-column-pa…
Commits on Oct 2, 2019
Commits on Apr 10, 2018
  1. Bump version to 2.2.0

    hishamhm committed Apr 10, 2018
  2. Update ChangeLog

    hishamhm committed Apr 10, 2018
Commits on Apr 6, 2018
  1. Require pkg-config as an optional build dependency on Linux (hishamhm…

    hishamhm committed Apr 6, 2018
    …#775)
    
    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.
Commits on Apr 5, 2018
  1. MakeHeader.py: Fix for non-utf8 environments (hishamhm#770)

    volkov-am authored and hishamhm committed Apr 5, 2018
    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
  2. Add -t command-line flag for tree view

    lytedev authored and hishamhm committed Apr 5, 2018
  3. Solaris: fix a memory leak caused by calling ProcessList_getProcess t…

    ninefathom authored and hishamhm committed Mar 30, 2018
    …wice for each LWP
Commits on Mar 27, 2018
  1. Solaris: Implement LWP enumeration (hishamhm#768)

    ninefathom authored and hishamhm committed Mar 27, 2018
    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
Commits on Mar 26, 2018
  1. OpenBSD: read Battery data

    nerd972 authored and hishamhm committed Mar 5, 2018
    Signed-off-by: Hisham Muhammad <hisham@gobolinux.org>
  2. macOS: keep scanning thread for versions before High Sierra (hishamhm…

    pmalhaire authored and hishamhm committed Mar 25, 2018
    …#728)
    
    Keep scanning threads for versions before High Sierra 13.0.0 and after 13.3.0.
  3. New makefile targets to rebuild and clean htop headers.

    Explorer09 authored and hishamhm committed Mar 17, 2018
    `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>
Commits on Mar 25, 2018
  1. Linux: change how kernel threads are detected

    hishamhm committed Mar 25, 2018
    Use the same method that ps and top use to determine if a
    process is a kernel thread on Linux: check if cmdline is empty.
    
    Thanks to @wangqr's investigation reported here:
    hishamhm#761 (comment)
    
    Fixes hishamhm#761.
  2. Fix overflow for signals >= 100.

    hishamhm committed Mar 25, 2018
    Thanks to @gzip4 for tracking this down.
    
    Closes hishamhm#764.
Commits on Mar 16, 2018
  1. Solaris: code indentation fix

    ninefathom authored and hishamhm committed Mar 5, 2018
Older
You can’t perform that action at this time.