summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Linux: always compute procExeDeleted if already setChristian Göttsche2021-09-241-2/+2
| | | | | | | | A process, whose executable has been replaced and thus marked by htop, can be re-executed with the replaced executable, with the same PID, in two ways: the Linux feature checkpoint/restore or re-execution of PID 1. The actual check is just a string comparison, like the dropped condition, leading to (almost) no computation overhead.
* Merge branch 'license' of cgzones/htopDaniel Lange2021-09-243-3/+3
|\
| * Update remaining license headers to explicitly say GPLv2+Christian Göttsche2021-09-243-3/+3
|/ | | | Also change ReadMe badge.
* Merge branch 'fasterit-clarify-license'Nathan Scott2021-09-24198-202/+213
|\
| * Merge branch 'clarify-license' of https://github.com/fasterit/htop into ↵Nathan Scott2021-09-24198-202/+213
|/| | | | | | | fasterit-clarify-license
| * Update license headers to explicitly say GPLv2+Daniel Lange2021-09-22195-197/+197
| |
| * Make the "Released under the GNU GPLv2+. See 'man' page for more info." from ↵Daniel Lange2021-09-221-1/+10
| | | | | | | | ScreenManager.c valid
| * Clarify licensingDaniel Lange2021-09-222-4/+6
| | | | | | | | | | | | | | htop has been licensed as GPLv2 but there was inconsistency regarding the option to choose "any later version" as granted by the license. This commit clarifies the htop dev team is fine with that choice.
* | Merge branch 'automake-compat'Nathan Scott2021-09-241-12/+10
|\ \
| * | Adjust Makefile.am macro definitions for older automake versionsNathan Scott2021-09-231-12/+10
| | | | | | | | | | | | Fixes: #803
* | | Merge branch 'fasterit-fix-mouse-wheel'Nathan Scott2021-09-241-3/+3
|\ \ \
| * | | Merge branch 'fix-mouse-wheel' of https://github.com/fasterit/htop into ↵Nathan Scott2021-09-241-3/+3
|/| | | | | | | | | | | | | | | fasterit-fix-mouse-wheel
| * | | Fix mouse wheel collision with autogroups nice adjustmentDaniel Lange2021-09-221-3/+3
| | | | | | | | | | | | | | | | Fixes #805
* | | | Document minimum versions for glibc and libcap. Thank you to James Brown ↵Daniel Lange2021-09-231-1/+4
| |/ / |/| | | | | | | | | | | | | | (Roguelazer). Closes #804
* | | Update version to 3.1.1-devDaniel Lange2021-09-221-1/+1
| |/ |/|
* | Use libunwind for printing backtraceChristian Göttsche2021-09-212-12/+101
| |
* | Release 3.1.03.1.0Nathan Scott2021-09-211-1/+1
| |
* | Some minor editorial changes to the readmeBenny Baumann2021-09-201-7/+7
| |
* | Bump to rc3, likely final release commits for 3.1.0Nathan Scott2021-09-201-1/+1
| |
* | Merge branch 'cgzones-readme'3.1.0rc3Nathan Scott2021-09-201-45/+55
|\ \
| * | Merge branch 'readme' of https://github.com/cgzones/htop into cgzones-readmeNathan Scott2021-09-201-45/+55
|/| |
| * | Update ReadMeChristian Göttsche2021-09-191-45/+55
| | | | | | | | | | | | | | | | | | | | | Add license and repology badge, improve several wording, improve several sections. [skip ci]
* | | Merge branch 'cgzones-multicolumn'Nathan Scott2021-09-204-1/+18
|\ \ \
| * | | Merge branch 'multicolumn' of https://github.com/cgzones/htop into ↵Nathan Scott2021-09-204-1/+18
|/| | | | | | | | | | | | | | | cgzones-multicolumn
| * | | Header: do not let multi-column meters expand to empty neighborsChristian Göttsche2021-09-184-1/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Extending to right neighbors is intended for text meters with an overlong content, so the whole text is shown if possible. Multi column meters, like the combined memory and swap meter, position its text depending on the given total width; keep the position to the original assigned header slot. Short term resolution for #796
* | | | Merge branch 'cgzones-mouse'Nathan Scott2021-09-201-2/+2
|\ \ \ \ | |_|/ / |/| | |
| * | | Merge branch 'mouse' of https://github.com/cgzones/htop into cgzones-mouseNathan Scott2021-09-201-2/+2
|/| | |
| * | | MainPanel: do not reset on disabled mouse eventsChristian Göttsche2021-09-181-2/+2
| | | | | | | | | | | | | | | | Do not reset the hidden process selection (and hidden function bar) on mouse events, when mouse support is disabled.
* | | | Fix typoChristian Göttsche2021-09-181-1/+1
| |/ / |/| |
* | | Fix typo in gettime implementation on darwinBenny Baumann2021-09-181-1/+2
|/ /
* | Merge pull request #779 from BenBE/percent-highlightNathan Scott2021-09-141-0/+2
|\ \ | | | | | | Highlight percentages similar to large numbers
| * | Process_printPercentage using one color transitionNathan Scott2021-09-141-1/+1
| | | | | | | | | Update Process_printPercentage such that color change happens only once at 100% and beyond.
| * | Highlight large percentages similar to large memory columnsBenny Baumann2021-09-051-0/+2
| | |
* | | Header: cache number of columns in HeaderLayout_getColumnsChristian Göttsche2021-09-121-1/+1
| | | | | | | | | | | | | | | The header layout, and therefore the number of columns, should never be changed within such loop.
* | | Linux: recalculate LRS valueChristian Göttsche2021-09-121-1/+1
| | | | | | | | | | | | | | | The LRS value is only zero in the first cycle; drop the check to recalculate while running.
* | | valgrind: rewrite ncurses suppressionsChristian Göttsche2021-09-111-33/+17
| | | | | | | | | | | | | | | Simplify and update valgrind suppressions for possible leak and reachable memory inside ncurses.
* | | valgrind: track origin of uninitialised valuesChristian Göttsche2021-09-111-1/+1
| | |
* | | HeaderOptionsPanel: select the current not saved optionChristian Göttsche2021-09-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Select the current active header layout, not the current saved layout from the settings, as the value gets only saved back from the active header to settings on closing the setup menu. Closes: #785
* | | Linux: zero CPU data after allocationChristian Göttsche2021-09-111-7/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Zero all the CPU data, like totalPeriod, after its memory allocation via realloc(3). Conditional jump or move depends on uninitialised value(s) at 0x132A9B: LinuxProcessList_scanCPUTime (LinuxProcessList.c:1928) by 0x1358C3: ProcessList_goThroughEntries (LinuxProcessList.c:2079) by 0x12A79A: ProcessList_scan (ProcessList.c:627) by 0x11CA67: CommandLine_run (CommandLine.c:357) by 0x4A81E49: (below main) (libc-start.c:314) Uninitialised value was created by a heap allocation at 0x48396C5: malloc (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) by 0x12F633: xRealloc (XUtils.c:64) by 0x12F633: xReallocArray (XUtils.c:78) by 0x1325A8: LinuxProcessList_updateCPUcount (LinuxProcessList.c:207) by 0x134E0A: ProcessList_new (LinuxProcessList.c:284) by 0x11C8D0: CommandLine_run (CommandLine.c:301) by 0x4A81E49: (below main) (libc-start.c:314)
* | | Add xReallocArrayZero() helperChristian Göttsche2021-09-112-0/+18
| | | | | | | | | | | | | | | Add helper function to reallocate an dynamic allocated array including zeroing the newly allocated memory.
* | | MemorySwapMeter: align with CPU meterChristian Göttsche2021-09-101-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | Use the same width for each sub meter to align with CPU meter. Currently if the total width is even, so it does not split exactly into 2 equal parts plus 1 (for the middle space character column), the extra column is added to the second meter width. Closes: #783
* | | CRT: close backup stderr file after resetChristian Göttsche2021-09-101-0/+2
| | | | | | | | | | | | | | | Close the backup file descriptor of original stderr once it has been restored at stderr.
* | | Settings: set ok when reading configuration from sysconfdirChristian Hesse2021-09-101-1/+1
| | | | | | | | | | | | | | | Without this htoprc from sysconfdir is ignored and default meters are loaded.
* | | Add missing end-of-line to htoprc file version mismatch warningNathan Scott2021-09-081-1/+1
| | |
* | | Fix a typo in a configure.ac commentNathan Scott2021-09-081-1/+1
| | |
* | | Update configure to reflect rc2 in the version3.1.0rc2Benny Baumann2021-09-051-1/+1
|/ /
* | Add a Process_printPercentage helper routineHisham Muhammad2021-09-053-44/+29
| | | | | | | | | | Replace several open-coded variants of percentage formatting. This function has been ported from Hishams old 'next' branch.
* | Drop redundant semicolonsChristian Göttsche2021-09-041-2/+2
| |
* | hwloc: use int in hwloc_bitmap_foreach_begin loopChristian Göttsche2021-09-042-5/+5
| | | | | | | | Affinity.c:67:10: runtime error: implicit conversion from type 'int' of value -1 (32-bit, signed) to type 'unsigned int' changed the value to 4294967295 (32-bit, unsigned)
* | configure: output vserver as implied if ancient-vserver is enabledChristian Göttsche2021-09-041-3/+6
| | | | | | | | | | | | | | | | The build time configuration ancient-vserver implies the configuration vserver; say so in the configure status report if only ancient-vserver has been specified. Also indent with 3 spaces.

© 2014-2024 Faster IT GmbH | imprint | privacy policy