summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
| |
* | 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
| | |

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