summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Release 3.1.13.1.1Benny Baumann2021-10-141-1/+1
|
* Suppress reporting memory leaks originating from libdevstatXimalas2021-10-141-0/+10
| | | | | | | | | | Based on https://cgit.freebsd.org/src/tree/lib/libdevstat/devstat.c the following four functions call memory allocation functions: - devstat_getdevs() - devstat_selectdevs() - devstat_buildmatch() - get_devstat_kvm()
* Updates to the ChangeLog for 3.1.1 releaseNathan Scott2021-10-131-0/+8
|
* Plug the memory leak for the Disk I/O meterXimalas2021-10-121-1/+1
| | | There are no functions in libdevstat to initialise or clean up memory. The simplest change is to mark the local variable info as static.
* Merge branch 'revert-used-memory'Nathan Scott2021-10-121-1/+1
|\
| * Ensure consistent reporting of MemoryMeter used memoryNathan Scott2021-10-121-1/+1
| | | | | | | | Resolves #821
* | Report hugepage memory as real and used memory (as before)Nathan Scott2021-10-121-2/+2
|/ | | | | | This is real, physical memory available for applications to use. We should not try to pretend otherwise; its confusing for users and inconsistent with all other tools.
* Handle procExeDeleted & usesDeletedLib without mergedCommandline modeBenny Baumann2021-10-071-0/+6
|
* Validate meter configuration before proceedingBenny Baumann2021-10-061-1/+24
|
* Properly release memory on partially read configurationBenny Baumann2021-10-061-6/+14
|
* Handle interrupted sampling from within libpcp PDU transfersNathan Scott2021-10-052-2/+6
| | | | | | | | | This situation can arise if pcp-htop screen is resized right at the same time sampling from pmcd(1) is happening. Have a couple more goes at it before giving up entirely; once there is no data available though we cannot proceed into accessing the sample result data structure (segv will result) so a new short-circuit guard is added there also.
* Memory leak on OpenBSD when querying full command lineBenny Baumann2021-10-031-0/+2
|
* Memory leak on NetBSD when querying full command lineBenny Baumann2021-10-031-0/+2
|
* Memory leak on DragonFlyBSD when querying full command lineBenny Baumann2021-10-031-0/+3
|
* Don't force allocation, as failure is handledBenny Baumann2021-10-031-1/+1
|
* Release memory for cmdline when Process_updateCmdline() returns.Ximalas2021-10-031-0/+2
| | | | This closes a nasty memory leak. There is at least another leak looming somewhere when Disk I/O is shown in the header area. That could very well be an issue within libdevstat native to FreeBSD.
* Linux: improve tryRead macro safetyChristian Göttsche2021-10-012-3/+4
| | | | | | | | | | Add an explicit else clause so a following else branch for a prior if condition does not get mixed up. Also force a trailing semicolon and thereby silence current -Wextra-semi-stmt warnings. Improve readability of the hwloc_bitmap_foreach_begin loop macro.
* Settings: use size_t for meter count in headerChristian Göttsche2021-10-012-5/+5
| | | | | | Header.c:150:26: error: implicit conversion loses integer precision: 'int' to 'uint8_t' (aka 'unsigned char') [-Werror,-Wimplicit-int-conversion] colSettings->len = len; ~ ^~~
* Resolve -Wimplicit-int-conversion warningsChristian Göttsche2021-10-014-5/+6
| | | | | | | | | | | | | | | | | | | | Panel.c:414:49: error: implicit conversion loses integer precision: 'int' to 'short' [-Werror,-Wimplicit-int-conversion] this->scrollH = MAXIMUM(this->selectedLen - this->w, 0); ~ ~~~~~~~~~~~~~~~~~~^~~~~~~~~ ./Macros.h:11:54: note: expanded from macro 'MAXIMUM' #define MAXIMUM(a, b) ((a) > (b) ? (a) : (b)) ^ IncSet.c:159:38: error: implicit conversion loses integer precision: 'int' to 'char' [-Werror,-Wimplicit-int-conversion] mode->buffer[mode->index] = ch; ~ ^~ Panel.c:456:24: error: implicit conversion loses integer precision: 'int' to 'char' [-Werror,-Wimplicit-int-conversion] buffer[len] = ch; ~ ^~ Panel.c:473:22: error: implicit conversion loses integer precision: 'int' to 'char' [-Werror,-Wimplicit-int-conversion] buffer[0] = ch; ~ ^~
* astyle: Add `--pad-header` optionSohaib Mohamed2021-10-011-1/+1
| | | | | | | | | | | | | | | | Insert space padding between a header (e.g. 'if', 'for', 'while'...) and the following paren. ex: if(isFoo((a+2), b)) bar(a, b); becomes: if (isFoo((a+2), b)) bar(a, b); Link: http://astyle.sourceforge.net/astyle.html#_pad-paren Signed-off-by: Sohaib Mohamed <sohaib.amhmd@gmail.com>
* Adds a missing HAVE_GETMOUSE check.fraggerfox2021-09-291-2/+8
| | | | | | Fixes builds failing with error MainPanel.c:65:62: error: 'Settings {aka struct Settings_}' has no member named 'enableMouse' if (ch != ERR && (ch != KEY_MOUSE || this->state->settings->enableMouse))
* Improve configuration file version diagnostic formatting slightlyNathan Scott2021-09-271-2/+3
|
* Prepare changelog contents for the 3.1.1 bugfix releaseNathan Scott2021-09-271-0/+10
|
* Merge branch 'amomchilov-workaround-for-FB9546856'Nathan Scott2021-09-276-51/+173
|\
| * Merge branch 'workaround-for-FB9546856' of ↵Nathan Scott2021-09-276-51/+173
|/| | | | | | | https://github.com/amomchilov/htop into amomchilov-workaround-for-FB9546856
| * Workaround for Rosetta 2 on DarwinAlexander Momchilov2021-09-262-4/+64
| | | | | | | | | | | | rdar://FB9546856 https://openradar.appspot.com/radar?id=5055988478509056
| * Refactor Platform_CompareKernelVersion APIAlexander Momchilov2021-09-263-26/+32
| |
| * Extract Darwin "PlatformHelpers"Alexander Momchilov2021-09-266-51/+107
| |
* | Update the README to drop now redundant glibc version requirementNathan Scott2021-09-271-3/+0
| |
* | Merge branch 'o_path' of https://github.com/cgzones/htop into cgzones-o_pathNathan Scott2021-09-271-0/+4
|\ \ | |/ |/|
| * Linux: define O_PATH if not definedChristian Göttsche2021-09-241-0/+4
| | | | | | | | | | | | | | Defining O_PATH if not defined by <fcntl.h> does not really add any maintenance cost and might improve some portability. Related: #804
* | 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
| |

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