summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2021-03-12Process: do not access RichString internalsChristian Göttsche
Use wrapper macro to encapsulate the RichString structure
2021-03-12Process_compare: reorder checksChristian Göttsche
Check for result being 0 first, before checking if the result might be negated, so we do not need to negate 0.
2021-03-12Object: always include stdbool.hChristian Göttsche
The function Object_isA() returning bool is nowadays unconditional
2021-03-12configure: use portable ANDChristian Göttsche
man:test(1) NOTE: Binary -a and -o are inherently ambiguous. Use 'test EXPR1 && test EXPR2' or 'test EXPR1 || test EXPR2' instead. Also fix indent
2021-03-05Merge branch 'misc' of https://github.com/cgzones/htop into cgzones-miscNathan Scott
2021-03-04Separate data-update and drawing of headerChristian Göttsche
2021-03-04Save text buffer in MeterChristian Göttsche
2021-03-04Ensure buffer for gethostname(2) is properly terminatedBenny Baumann
2021-03-04Merge branch 'follow' of cgzones/htopDaniel Lange
Closes #557
2021-03-04Resolve trailing-whitespace failure in CI (merge issue)Nathan Scott
2021-03-04Fix include file ordering of generic headersNathan Scott
2021-03-04Move generic (shared) code into its own sub-directoryNathan Scott
Code that is shared across some (but not all) platforms is moved into a 'generic' home. Makefile.am cleanups to match plus some minor alphabetic reordering/formatting. As discussed in https://github.com/htop-dev/htop/pull/553
2021-03-04Separate display from sampling in SysArch and Hostname MetersNathan Scott
Several of our newer meters have merged coding concerns in terms of extracting values and displaying those values. This commit rectifies that for the SysArch and Hostname meters, allowing use of this code with alternative front/back ends. The SysArch code is also refined to detect whether the platform has an os-release file at all and/or the sys/utsname.h header via configure.ac.
2021-03-03Follow followed process when switching thread visibilitiesChristian Göttsche
Do not stop following a process when switching the visibility of userland or kernel threads. Related: #557
2021-03-03Document PERCENT_NORM_CPU and mention Irix / Solaris modes (top lingo)Daniel Lange
2021-03-03Unsupported: add normalized CPU percentage columnDaniel Lange
2021-03-03Darwin: add normalized CPU percentage columnChristian Göttsche
Missed in 15eab2012d21
2021-03-02Drop newline at end of if branchChristian Göttsche
2021-03-02LinuxProcess: Drop dead assignmentChristian Göttsche
Modern compilers are very good at finding uninitialized paths, lets rely on them.
2021-03-02Enclose macro argument in parenthesesChristian Göttsche
2021-03-02Use uppercase floating point literal suffixChristian Göttsche
2021-03-02Use ATTR_UNUSED instead of void castingChristian Göttsche
2021-03-02SysArchMeter: avoid static variableChristian Göttsche
2021-03-02Fix compilation of the 'unsupported' platform (Process flags)Nathan Scott
2021-03-02Merge pull request #550 from natoscott/diskio-typesNathan Scott
Fix integer sizing issues in the DiskIO Meter
2021-03-02Merge pull request #549 from natoscott/network-typesNathan Scott
Fix integer sizing issues in the NetworkIO Meter
2021-03-02Switch NetworkIO Meter to using uint32_t and uint64_tNathan Scott
From review via @BenBE, this is now a whole lot cleaner.
2021-03-02Switch DiskIO Meter to using uint32_t and uint64_tNathan Scott
From review via @BenBE, this is now a whole lot cleaner.
2021-03-01Fix a possible truncation of the intermediate strings in the SysArch meterBenny Baumann
2021-03-01Merge pull request #533 from cgzones/os-releaseNathan Scott
SysArchMeter: read os-release instead of running lsb-release
2021-03-01Fix integer sizing issues in the DiskIO MeterNathan Scott
On Linux kernels the size of the values exported for block device bytes has used a 64 bit integer for quite some time (2.6+ IIRC). Make the procfs value extraction use correct types and change internal types used to rate convert these counters (within the DiskIO Meter) 64 bit integers, where appropriate.
2021-03-01Fix integer sizing issues in the NetworkIO MeterNathan Scott
On Linux kernels the size of the values exported for network device bytes and packets has used a 64 bit integer for quite some time (2.6+ IIRC). Make the procfs value extraction use correct types and change internal types used to rate convert these counters (within the NetworkIO Meter) 64 bit integers, where appropriate.
2021-02-28Merge branch 'networkiograph' of Nudin/htopDaniel Lange
2021-02-28Implement bar and graph mode for NetworkIOMeter (#408)Michael F. Schönitzer
2021-02-28Make the first tree item stable on expand / collapse againDaniel Lange
Regression introduced with 06b1674
2021-02-28Rescale graph when value of total is changedMichael F. Schönitzer
2021-02-17Merge branch 'remove-setuid' of BenBE/htopDaniel Lange
2021-02-17Include note in changelog regarding removal of the setuid featureBenny Baumann
2021-02-17Refactor to remove no-op callsBenny Baumann
This removes the call-sites of the removed setuid feature
2021-02-17Remove setuid supportBenny Baumann
This support was rarely ever used and has been disabled by default for some time. As far as the developer team is aware there's no distribution that activated this feature in their packages by default.
2021-02-17Merge branch 'enable-better-debug-on-enable-debug' of fasterit/htopDaniel Lange
2021-02-17Merge branch 'fix-duplicate-lines' of hiasen/htopDaniel Lange
2021-02-17SysArchMeter: read os-release instead of running lsb-releaseChristian Göttsche
os-release is available on FreeBSD by default. Also avoid executing a third-party program. Examples: Linux 5.10.0-3-amd64 [x86_64] @ Debian GNU/Linux bullseye/sid FreeBSD 12.2-RELEASE-p3 [amd64] Closes: #516
2021-02-17Drop empty file zfs/ZfsArcStats.cChristian Göttsche
2021-02-16Drop -DDEBUG (was removed in d69585b82abfdaede9e8c358982a4953c432e8d2), add ↵Daniel Lange
-Og for make debug target
2021-02-16Enable making with -ggdb3 on configure --enable-debugDaniel Lange
2021-02-16Shorten keyboard help to fit default screen widthDaniel Lange
2021-02-15InfoScreen: Remove old lines before scanning againØystein Hiåsen
2021-02-15De-typo DiskIOMeterDaniel Lange
2021-02-15Merge branch 'collapse-tree-view' of fasterit/htopDaniel Lange