Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix code style | Benny Baumann | 2023-12-26 | 1 | -40/+40 |
| | |||||
* | Add missing copyright/file headers | Benny Baumann | 2023-05-25 | 1 | -0/+8 |
| | |||||
* | Improve String_contains_i to allow for multiple terms | Daniel Lange | 2022-03-25 | 1 | -2/+2 |
| | | | | | | | | | | | This enables: * Multiple filters in the main panel and strace etc. views * Multiple search terms The search terms are separated by "|" and are still fixed strings matched case-insensitive. Added a multi flag at request of BenBE. | ||||
* | Introduce screen tabs | Hisham Muhammad | 2021-12-07 | 1 | -9/+3 |
| | | | | This is a forward port (by nathans) of Hisham's original code. | ||||
* | Cleanup: Fix misc styleguide issues | Sohaib Mohamed | 2021-11-04 | 1 | -1/+1 |
| | | | | Signed-off-by: Sohaib Mohamed <sohaib.amhmd@gmail.com> | ||||
* | netbsd: Support curses libraries without ncurses mouse support | nia | 2021-07-15 | 1 | -0/+2 |
| | | | | | | | | | | | | This adds a configure check for the ncurses getmouse() function and disables mouse-related code paths when mouse support is not present in the curses library. This is necessary for stable versions of NetBSD's libcurses, the development version has stub mouse functions for compatibility with ncurses. Signed-off-by: Nia Alarie <nia@NetBSD.org> | ||||
* | Check for set_escdelay in ncurses | Benny Baumann | 2021-07-04 | 1 | -0/+2 |
| | |||||
* | cleaned up includes with iwyu | mayurdahibhate | 2021-05-10 | 1 | -1/+0 |
| | |||||
* | InfoScreen/ProcessList: do not access Vector internals | Christian Göttsche | 2021-03-12 | 1 | -1/+1 |
| | | | | Use wrapper function to encapsulate the Vector structure | ||||
* | InfoScreen: Remove old lines before scanning again | Øystein Hiåsen | 2021-02-15 | 1 | -2/+6 |
| | |||||
* | Avoid syntax injection inside code block | YJ Lee | 2021-01-28 | 1 | -2/+3 |
| | | | Co-authored-by: BenBE <BenBE@geshi.org> | ||||
* | InfoScreen: add mouse wheel scroll | Youngjae Lee | 2021-01-28 | 1 | -5/+13 |
| | |||||
* | InfoScreen: fix mouse selection | Youngjae Lee | 2021-01-28 | 1 | -1/+1 |
| | |||||
* | InfoScreen: fix uncontrolled format string | V | 2021-01-08 | 1 | -1/+1 |
| | | | | | | mvwprintw takes a format string as its fourth argument, and title is user-controlled. This results in e.g. crashing when trying to trace a process with a format specifier in its command line. | ||||
* | Panel_new: reorder arguments | Christian Göttsche | 2021-01-04 | 1 | -1/+1 |
| | | | | Reorder owner and type so they match the order of Panel_init | ||||
* | Add option to hide the Function Bar | Christian Göttsche | 2021-01-04 | 1 | -2/+2 |
| | | | | | | | | | | Support three settings: - Always show Function Bar - Always hide the Function Bar, except in Infoscreens (Env/Locks...) and when editing the search and filter mode - Hide the Function Bar on ESC until the next user input Closes: #439 | ||||
* | Rework drawing of FunctionBar | Christian Göttsche | 2020-12-20 | 1 | -7/+8 |
| | | | | | | | | | | | 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 | ||||
* | Mark event arrays const | Christian Göttsche | 2020-12-20 | 1 | -1/+1 |
| | |||||
* | Common order for ESC/q/F10 | Benny Baumann | 2020-12-03 | 1 | -1/+1 |
| | |||||
* | Hide process selection on ESC | Christian Göttsche | 2020-11-28 | 1 | -2/+2 |
| | | | | | | Do not highlight the current process line after pressing ESC in the main screen. Restore after pressing any key. | ||||
* | Embracing branches | Benny Baumann | 2020-11-02 | 1 | -3/+8 |
| | |||||
* | Spacing around operators | Benny Baumann | 2020-11-02 | 1 | -7/+10 |
| | |||||
* | Drop tabs in source indentions | Christian Göttsche | 2020-10-20 | 1 | -1/+1 |
| | |||||
* | Make all required includes explicit | Benny Baumann | 2020-10-18 | 1 | -8/+9 |
| | | | | Information as seen by IWYU 0.12 + clang 9 on Linux | ||||
* | Rename StringUtils.[ch] to XUtils.[ch] | Benny Baumann | 2020-10-16 | 1 | -1/+1 |
| | |||||
* | Mark process argument of Process_isThread const | Christian Göttsche | 2020-10-09 | 1 | -1/+1 |
| | |||||
* | limit max screen title length to window width | ryenus | 2020-10-05 | 1 | -2/+9 |
| | | | | Applies screen title truncating to all InfoScreen classes. | ||||
* | InfoScreen: update content on resize | Christian Göttsche | 2020-10-02 | 1 | -0/+1 |
| | |||||
* | Drop redundant casts to the same type | Christian Göttsche | 2020-09-29 | 1 | -1/+1 |
| | |||||
* | Axe automated header generation. | Zev Weiss | 2020-09-03 | 1 | -36/+0 |
| | | | | | | | | | | | | | | 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. | ||||
* | Ignore wmove return value | Christian Göttsche | 2020-08-28 | 1 | -1/+1 |
| | | | | Found by Coverity | ||||
* | Avoid discarding const qualifiers | Christian Göttsche | 2020-08-25 | 1 | -2/+2 |
| | |||||
* | Merge branch 'hishamhm-pull-1010' | Nathan Scott | 2020-08-20 | 1 | -1/+2 |
|\ | |||||
| * | Fix misleading indentation | Jorge Pereira | 2020-06-11 | 1 | -2/+5 |
| | | |||||
* | | Merge branch 'hishamhm-pull-960' | Nathan Scott | 2020-08-20 | 1 | -2/+2 |
|\ \ | |||||
| * | | Clean up existing whitespace | Daniel Flanagan | 2019-10-31 | 1 | -2/+2 |
| |/ | |||||
* | | Resolve compilation warning relating to dangling else in InfoScreen_run | Nathan Scott | 2020-08-19 | 1 | -1/+2 |
| | | |||||
* | | fix a bug about use of unitialised variable. refer to ↵ | wurongxin | 2019-01-29 | 1 | -1/+1 |
|/ | | | | https://github.com/hishamhm/htop/issues/882 | ||||
* | Replace size_t with int/void* union | Hisham Muhammad | 2018-02-18 | 1 | -2/+3 |
| | | | | | | | | I was occasionally passing negative values to size_t. Plus, this better reflects the intent of the variant argument. Reported by Coverity: https://scan8.coverity.com/reports.htm#v13253/p10402/fileInstanceId=22093891&defectInstanceId=7543346&mergedDefectId=174179&fileStart=251&fileEnd=500 | ||||
* | Mark some things as const | Richard | 2017-07-22 | 1 | -2/+2 |
| | | | | | | | Several string pointer arrays pointed to const strings but were not const themselves. A few various structures and arrays were also marked const. | ||||
* | Refresh whole panel on Ctrl+L in infoscreen. | Hisham | 2016-06-23 | 1 | -0/+1 |
| | | | | Closes #520. | ||||
* | Use set_escdelay() to avoid problems with ESCDELAY as a macro. | Hisham | 2016-05-19 | 1 | -1/+1 |
| | |||||
* | Fix behavior of ESC key, getting rid of the annoying delay. | Hisham | 2016-02-19 | 1 | -0/+1 |
| | | | | | Thank you @Explorer09 for the push! Closes #417. | ||||
* | refactor *Screen classes, add InfoScreen superclass | Hisham Muhammad | 2016-01-12 | 1 | -0/+180 |