summaryrefslogtreecommitdiffstats
path: root/IncSet.c
AgeCommit message (Collapse)Author
2021-01-11Mark several non-modified pointer variables constChristian Göttsche
2021-01-11Refactor setting filter and use safe strncpyChristian Göttsche
2021-01-06Drop useless double parenthesisChristian Göttsche
2021-01-04IncSet: do not resize on our own and do not search on resizeChristian Göttsche
The supervising ScreenManager will resize all Panels. Also do not start the search on resize.
2020-12-25Enable going back to previous search matches (Shift-F3)Daniel Lange
2020-12-24Remove 'n' and 'N' search inc/dec keybindsJake Mannens
2020-12-20Rework drawing of FunctionBarChristian Göttsche
Draw the FunctionBar within Panel_draw instead of manually throughout the code. Add an optional PanelClass function drawFunctionBar, to allow specific panels to override the default FunctionBar_draw call. Rework the code on color change, to really change all colors (selection markers and panel headers). Closes: #402
2020-12-20Mark event arrays constChristian Göttsche
2020-11-02Embracing branchesBenny Baumann
2020-11-02Whitespace and indentation issuesBenny Baumann
2020-11-02Spacing after keywords (for)Benny Baumann
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-12Add key to pause process list updatesChristian Göttsche
2020-10-05Update License consistently to GPLv2 as per COPYING fileDaniel Lange
2020-09-17Call character checking function with unsigned charChristian Göttsche
See https://wiki.sei.cmu.edu/confluence/display/c/STR37-C.+Arguments+to+character-handling+functions+must+be+representable+as+an+unsigned+char
2020-09-12Clean up some code duplication in the header filesHugo Musso Gualandi
PR htop-dev/htop#70 got rid of the infrastructure for generating header files, but it left behind some code duplication. Some of cases are things that belong in the header file and don't need to be repeated in the C file. Other cases are things that belong in the C file and don't need to be in the header file. In this commit I tried to fix all of these that I could find. When given a choice I preferred keeping things out of the header file, unless they were being used by someone else.
2020-09-03Axe automated header generation.Zev Weiss
Reasoning: - implementation was unsound -- broke down when I added a fairly basic macro definition expanding to a struct initializer in a *.c file. - made it way too easy (e.g. via otherwise totally innocuous git commands) to end up with timestamps such that it always ran MakeHeader.py but never used its output, leading to overbuild noise when running what should be a null 'make'. - but mostly: it's just an awkward way of dealing with C code.
2018-11-03added MainPanel actions n and N for find next and find prev. closes #601syrrim
2017-07-22Mark some things as constRichard
Several string pointer arrays pointed to const strings but were not const themselves. A few various structures and arrays were also marked const.
2016-05-05Auto-follow process after a search.Hisham
See #237.
2016-02-02Check for failure in allocations.Hisham
2015-12-09Redraw the panel when resizing the window during an incremental searchAntoine Catton
KEY_RESIZE wasn't handled by the incremental search. Resulting in this bug: * Set your terminal window to a small size. * Press '\' to filter the processes * Maximize your terminal window * The list of processes didn't resize. This change fixes this bug. Thank you Julian Andrews (@julianandrews) for finding this bug.
2015-08-19Rename String to StringUtils.David Hunt
Fixes building on case-insensitive filesystems where String.h gets confused with <string.h>. From d734dacea0a10d0465dad4e95b3421511e7da112 Mon Sep 17 00:00:00 2001 From: David Hunt <dhunt@iolanthe.attlocal.net> Date: Sat, 11 Jul 2015 20:56:31 -0500 Subject: [PATCH 1/8] Rename String to StringUtils
2015-03-23Do not trust isalpha(c) for values > 255.Hisham Muhammad
Fixes #174. Conflicts: Panel.c
2015-03-23incremental search and filter reintegrated!Hisham Muhammad
2015-03-23Move FunctionBar inside PanelHisham Muhammad
2014-04-24Fix out-of-bounds write.Hisham Muhammad
2014-01-16Fix order of calloc arguments.Hisham Muhammad
(Patch by Dawid Gajownik)
2012-11-10search and filter for the strace and lsof screens!Hisham Muhammad