summaryrefslogtreecommitdiffstats
path: root/htop.c
AgeCommit message (Collapse)Author
2020-10-19XUtils string related updatesChristian Göttsche
- allow count out-parameter of String_split() to be NULL - introduce xStrndup() - do not allow NULL pointers passed to String_eq() it is not used in any code - implement String_startsWith(), String_contains_i() and String_eq() as inline header functions - adjust several conversion issues
2020-10-18Make all required includes explicitBenny Baumann
Information as seen by IWYU 0.12 + clang 9 on Linux
2020-10-16Rename StringUtils.[ch] to XUtils.[ch]Benny Baumann
2020-10-16Move xAsprintf, xSnprintf and xStrdup to StringUtils.hBenny Baumann
2020-10-16Misc conversion fixesChristian Göttsche
2020-10-12Add key to pause process list updatesChristian Göttsche
2020-10-07Option to set initial filterlaydervus
Closes #219
2020-10-05Add Copyright statement to --help (needed as it has the license info)Daniel Lange
2020-10-05Update License consistently to GPLv2 as per COPYING fileDaniel Lange
2020-10-03Add clang analyzer CI jobChristian Göttsche
2020-09-24Avoid warning about unreachable break statementChristian Göttsche
htop.c:112:13: warning: 'break' will never be executed [-Wunreachable-code-break] break; ^~~~~ htop.c:109:13: warning: 'break' will never be executed [-Wunreachable-code-break] break; ^~~~~
2020-09-24Add DeepCode inline suppressionChristian Göttsche
We just want a non-NUll pointer in the matching pid hashtable. The pointer is not dereferenced anyways.
2020-09-18Mark noreturn functionsChristian Göttsche
2020-09-18Use strict function prototypesChristian Göttsche
int foo(); declares a function taking any number of arguments.
2020-09-18Sort option in help messageChristian Göttsche
2020-09-18Convert short version option to capital VChristian Göttsche
v is generally used for enabling verbose mode
2020-09-18Change option '-m' to '-M' for consistency of cliMichael F. Schönitzer
`-m` was added as short option for `--no-mouse`, this is inconsistence to the rest of the cli since otherwise the short options to disable a feature are capital letters. Therefore this commit renames the option to `-M`. This commit also documents the option in the man page.
2020-09-17Free movingBar memory on exitChristian Göttsche
2020-09-17Avoid modifying optargChristian Göttsche
It might be working, but lets rather not modify getopt's global variable `optarg`. Also there is no need to call `getenv("USER")`, just use `geteuid()`.
2020-09-09Switch variable/field naming from WhiteList to MatchListNathan Scott
2020-09-04Fix regression in -u optional-argument handlingNathan Scott
Resolves https://github.com/htop-dev/htop/issues/91
2020-09-01add option (-U, --no-unicode) to disable unicode at runtimeChristian Hesse
2020-08-31Merge branch 'configure' of https://github.com/cgzones/htop into ↵Nathan Scott
cgzones-configure
2020-08-31Simplify the --version output, old dates are confusing peopleNathan Scott
Drop the copyright notice from the version output as a number of people seem to be confused by what this means, and we can do without all the (well intentioned) bug reports.
2020-08-28Drop configure option --enable-procChristian Göttsche
Move to HTOP_LINUX, as --enable-proc implies my_htop_platform=linux, and the Linux features do not work without a proc fs.
2020-08-20Merge branch 'hishamhm-pull-1011'Nathan Scott
2020-08-20Merge branch 'hishamhm-pull-923'Nathan Scott
2020-08-20Merge branch 'hishamhm-pull-960'Nathan Scott
2020-08-20Merge branch 'hishamhm-pull-884'Nathan Scott
2020-06-11Let the user know about their errorJorge Pereira
If the user informed wrong value, then let them know about that.
2019-10-31Clean up existing whitespaceDaniel Flanagan
2019-07-12Added an option to disable the mouse.MartinJM
2019-02-10htop.c: remove unused "--io" / "-i" (#811)Lion Yang
Introduced from https://github.com/hishamhm/htop/commit/3383d8e5561dfc6fb2b65e0a194df94ccb5e08af (2.0.0) but never used.
2019-01-31User option "-u" now defaults to $USERsolanav
2018-08-25htop.c: remove unused "--io" / "-i" (#811)Lion Yang
Introduced from https://github.com/hishamhm/htop/commit/3383d8e5561dfc6fb2b65e0a194df94ccb5e08af (2.0.0) but never used.
2018-05-22fix option stringChristian Hesse
This broke with commit db05ba61065f64b59d0014518be0786b5439e54c.
2018-04-05Add -t command-line flag for tree viewDaniel Flanagan
2016-02-19Remove old commented code.Hisham
2016-02-19Fix error test — looks like nobody bumped into this one!Hisham
2016-02-02Check for failure in allocations.Hisham
2016-01-04align help outputChristian Hesse
2015-10-05gcc warning cleanups.Hisham Muhammad
2015-09-19Replace some remaining tabsMichael McConville
2015-09-19Change more fprintf(stderr, ...); exit(...); to err[x](...). Tweak a few ↵Michael McConville
existing ones and fix some style.
2015-09-18(Very) initial working OpenBSD portMichael McConville
2015-07-16remove duplicate codeChristian Hesse
2015-03-23Do not trust isalpha(c) for values > 255.Hisham Muhammad
Fixes #174. Conflicts: Panel.c
2015-03-23Move FunctionBar inside PanelHisham Muhammad
2015-03-22Working on integration of IncSet in new branch.Hisham Muhammad
2015-03-15Merge branch 'wip' of https://github.com/hishamhm/htop into freebsdHisham Muhammad