Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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 | |
| | | ||||||
* | | Merge branch 'cgzones-readme'3.1.0rc3 | Nathan Scott | 2021-09-20 | 1 | -45/+55 | |
|\ \ | ||||||
| * | | Merge branch 'readme' of https://github.com/cgzones/htop into cgzones-readme | Nathan Scott | 2021-09-20 | 1 | -45/+55 | |
|/| | | ||||||
| * | | Update ReadMe | Christian Göttsche | 2021-09-19 | 1 | -45/+55 | |
| | | | | | | | | | | | | | | | | | | | | | Add license and repology badge, improve several wording, improve several sections. [skip ci] | |||||
* | | | Merge branch 'cgzones-multicolumn' | Nathan Scott | 2021-09-20 | 4 | -1/+18 | |
|\ \ \ | ||||||
| * | | | Merge branch 'multicolumn' of https://github.com/cgzones/htop into ↵ | Nathan Scott | 2021-09-20 | 4 | -1/+18 | |
|/| | | | | | | | | | | | | | | | cgzones-multicolumn | |||||
| * | | | Header: do not let multi-column meters expand to empty neighbors | Christian Göttsche | 2021-09-18 | 4 | -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 Scott | 2021-09-20 | 1 | -2/+2 | |
|\ \ \ \ | |_|/ / |/| | | | ||||||
| * | | | Merge branch 'mouse' of https://github.com/cgzones/htop into cgzones-mouse | Nathan Scott | 2021-09-20 | 1 | -2/+2 | |
|/| | | | ||||||
| * | | | MainPanel: do not reset on disabled mouse events | Christian Göttsche | 2021-09-18 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | Do not reset the hidden process selection (and hidden function bar) on mouse events, when mouse support is disabled. | |||||
* | | | | Fix typo | Christian Göttsche | 2021-09-18 | 1 | -1/+1 | |
| |/ / |/| | | ||||||
* | | | Fix typo in gettime implementation on darwin | Benny Baumann | 2021-09-18 | 1 | -1/+2 | |
|/ / | ||||||
* | | Merge pull request #779 from BenBE/percent-highlight | Nathan Scott | 2021-09-14 | 1 | -0/+2 | |
|\ \ | | | | | | | Highlight percentages similar to large numbers | |||||
| * | | Process_printPercentage using one color transition | Nathan Scott | 2021-09-14 | 1 | -1/+1 | |
| | | | | | | | | | Update Process_printPercentage such that color change happens only once at 100% and beyond. | |||||
| * | | Highlight large percentages similar to large memory columns | Benny Baumann | 2021-09-05 | 1 | -0/+2 | |
| | | |