Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Release 3.1.13.1.1 | Benny Baumann | 2021-10-14 | 1 | -1/+1 |
| | |||||
* | Suppress reporting memory leaks originating from libdevstat | Ximalas | 2021-10-14 | 1 | -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 release | Nathan Scott | 2021-10-13 | 1 | -0/+8 |
| | |||||
* | Plug the memory leak for the Disk I/O meter | Ximalas | 2021-10-12 | 1 | -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 Scott | 2021-10-12 | 1 | -1/+1 |
|\ | |||||
| * | Ensure consistent reporting of MemoryMeter used memory | Nathan Scott | 2021-10-12 | 1 | -1/+1 |
| | | | | | | | | Resolves #821 | ||||
* | | Report hugepage memory as real and used memory (as before) | Nathan Scott | 2021-10-12 | 1 | -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 mode | Benny Baumann | 2021-10-07 | 1 | -0/+6 |
| | |||||
* | Validate meter configuration before proceeding | Benny Baumann | 2021-10-06 | 1 | -1/+24 |
| | |||||
* | Properly release memory on partially read configuration | Benny Baumann | 2021-10-06 | 1 | -6/+14 |
| | |||||
* | Handle interrupted sampling from within libpcp PDU transfers | Nathan Scott | 2021-10-05 | 2 | -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 line | Benny Baumann | 2021-10-03 | 1 | -0/+2 |
| | |||||
* | Memory leak on NetBSD when querying full command line | Benny Baumann | 2021-10-03 | 1 | -0/+2 |
| | |||||
* | Memory leak on DragonFlyBSD when querying full command line | Benny Baumann | 2021-10-03 | 1 | -0/+3 |
| | |||||
* | Don't force allocation, as failure is handled | Benny Baumann | 2021-10-03 | 1 | -1/+1 |
| | |||||
* | Release memory for cmdline when Process_updateCmdline() returns. | Ximalas | 2021-10-03 | 1 | -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 safety | Christian Göttsche | 2021-10-01 | 2 | -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 header | Christian Göttsche | 2021-10-01 | 2 | -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 warnings | Christian Göttsche | 2021-10-01 | 4 | -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` option | Sohaib Mohamed | 2021-10-01 | 1 | -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. | fraggerfox | 2021-09-29 | 1 | -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 slightly | Nathan Scott | 2021-09-27 | 1 | -2/+3 |
| | |||||
* | Prepare changelog contents for the 3.1.1 bugfix release | Nathan Scott | 2021-09-27 | 1 | -0/+10 |
| | |||||
* | Merge branch 'amomchilov-workaround-for-FB9546856' | Nathan Scott | 2021-09-27 | 6 | -51/+173 |
|\ | |||||
| * | Merge branch 'workaround-for-FB9546856' of ↵ | Nathan Scott | 2021-09-27 | 6 | -51/+173 |
|/| | | | | | | | https://github.com/amomchilov/htop into amomchilov-workaround-for-FB9546856 | ||||
| * | Workaround for Rosetta 2 on Darwin | Alexander Momchilov | 2021-09-26 | 2 | -4/+64 |
| | | | | | | | | | | | | rdar://FB9546856 https://openradar.appspot.com/radar?id=5055988478509056 | ||||
| * | Refactor Platform_CompareKernelVersion API | Alexander Momchilov | 2021-09-26 | 3 | -26/+32 |
| | | |||||
| * | Extract Darwin "PlatformHelpers" | Alexander Momchilov | 2021-09-26 | 6 | -51/+107 |
| | | |||||
* | | Update the README to drop now redundant glibc version requirement | Nathan Scott | 2021-09-27 | 1 | -3/+0 |
| | | |||||
* | | Merge branch 'o_path' of https://github.com/cgzones/htop into cgzones-o_path | Nathan Scott | 2021-09-27 | 1 | -0/+4 |
|\ \ | |/ |/| | |||||
| * | Linux: define O_PATH if not defined | Christian Göttsche | 2021-09-24 | 1 | -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 set | Christian Göttsche | 2021-09-24 | 1 | -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/htop | Daniel Lange | 2021-09-24 | 3 | -3/+3 |
|\ \ | |/ |/| | |||||
| * | Update remaining license headers to explicitly say GPLv2+ | Christian Göttsche | 2021-09-24 | 3 | -3/+3 |
|/ | | | | Also change ReadMe badge. | ||||
* | Merge branch 'fasterit-clarify-license' | Nathan Scott | 2021-09-24 | 198 | -202/+213 |
|\ | |||||
| * | Merge branch 'clarify-license' of https://github.com/fasterit/htop into ↵ | Nathan Scott | 2021-09-24 | 198 | -202/+213 |
|/| | | | | | | | fasterit-clarify-license | ||||
| * | Update license headers to explicitly say GPLv2+ | Daniel Lange | 2021-09-22 | 195 | -197/+197 |
| | | |||||
| * | Make the "Released under the GNU GPLv2+. See 'man' page for more info." from ↵ | Daniel Lange | 2021-09-22 | 1 | -1/+10 |
| | | | | | | | | ScreenManager.c valid | ||||
| * | Clarify licensing | Daniel Lange | 2021-09-22 | 2 | -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 Scott | 2021-09-24 | 1 | -12/+10 |
|\ \ | |||||
| * | | Adjust Makefile.am macro definitions for older automake versions | Nathan Scott | 2021-09-23 | 1 | -12/+10 |
| | | | | | | | | | | | | Fixes: #803 | ||||
* | | | Merge branch 'fasterit-fix-mouse-wheel' | Nathan Scott | 2021-09-24 | 1 | -3/+3 |
|\ \ \ | |||||
| * | | | Merge branch 'fix-mouse-wheel' of https://github.com/fasterit/htop into ↵ | Nathan Scott | 2021-09-24 | 1 | -3/+3 |
|/| | | | | | | | | | | | | | | | fasterit-fix-mouse-wheel | ||||
| * | | | Fix mouse wheel collision with autogroups nice adjustment | Daniel Lange | 2021-09-22 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | Fixes #805 | ||||
* | | | | Document minimum versions for glibc and libcap. Thank you to James Brown ↵ | Daniel Lange | 2021-09-23 | 1 | -1/+4 |
| |/ / |/| | | | | | | | | | | | | | | (Roguelazer). Closes #804 | ||||
* | | | Update version to 3.1.1-dev | Daniel Lange | 2021-09-22 | 1 | -1/+1 |
| |/ |/| | |||||
* | | Use libunwind for printing backtrace | Christian Göttsche | 2021-09-21 | 2 | -12/+101 |
| | | |||||
* | | Release 3.1.03.1.0 | Nathan Scott | 2021-09-21 | 1 | -1/+1 |
| | | |||||
* | | Some minor editorial changes to the readme | Benny Baumann | 2021-09-20 | 1 | -7/+7 |
| | | |||||
* | | Bump to rc3, likely final release commits for 3.1.0 | Nathan Scott | 2021-09-20 | 1 | -1/+1 |
| | |