Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Allow to pass '/' for item search | Benny Baumann | 2020-12-03 | 1 | -1/+1 |
| | |||||
* | Handle 'q' as quit if first character | Benny Baumann | 2020-12-03 | 1 | -0/+11 |
| | |||||
* | Some visual code cleanup | Benny Baumann | 2020-12-03 | 1 | -2/+14 |
| | |||||
* | Use common handling for scrolling | Benny Baumann | 2020-12-03 | 1 | -8/+10 |
| | |||||
* | Reduce code duplication | Benny Baumann | 2020-12-03 | 1 | -8/+6 |
| | |||||
* | 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. | ||||
* | Merge branch 'hili-new-old' of adsr/htop into highlight-new-old-processes | Daniel Lange | 2020-11-16 | 1 | -5/+7 |
|\ | |||||
| * | Highlight new and old processes (#74) | Adam Saponara | 2020-10-30 | 1 | -5/+7 |
| | | |||||
* | | Embracing branches | Benny Baumann | 2020-11-02 | 1 | -7/+15 |
| | | |||||
* | | Spacing around operators | Benny Baumann | 2020-11-02 | 1 | -5/+5 |
| | | |||||
* | | Whitespace and indentation issues | Benny Baumann | 2020-11-02 | 1 | -2/+2 |
| | | |||||
* | | Spacing after keywords (for) | Benny Baumann | 2020-11-02 | 1 | -1/+1 |
| | | |||||
* | | Assert Vector_get returns an object | Christian Göttsche | 2020-11-02 | 1 | -2/+0 |
|/ | | | | | It is generally assumed Vector_get returns a non-NULL object. Use a generic assert in Vector_get instead of in callers. | ||||
* | Avoid some unnecessary casts and mark some not changing variables const | Christian Göttsche | 2020-10-27 | 1 | -1/+1 |
| | |||||
* | Make all required includes explicit | Benny Baumann | 2020-10-18 | 1 | -7/+10 |
| | | | | 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 Object instances const | Christian Göttsche | 2020-10-07 | 1 | -1/+1 |
| | |||||
* | Mark Object classes and Object class fields const | Christian Göttsche | 2020-10-07 | 1 | -2/+2 |
| | |||||
* | Update License consistently to GPLv2 as per COPYING file | Daniel Lange | 2020-10-05 | 1 | -1/+1 |
| | |||||
* | Call character checking function with unsigned char | Christian Göttsche | 2020-09-17 | 1 | -1/+1 |
| | | | | See https://wiki.sei.cmu.edu/confluence/display/c/STR37-C.+Arguments+to+character-handling+functions+must+be+representable+as+an+unsigned+char | ||||
* | Clean up some code duplication in the header files | Hugo Musso Gualandi | 2020-09-12 | 1 | -2/+0 |
| | | | | | | | | | | | | | 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. | ||||
* | Consolidate repeated macro definitions into one header | Nathan Scott | 2020-09-09 | 1 | -17/+10 |
| | | | | | | | | The MIN, MAX, CLAMP, MINIMUM, and MAXIMUM macros appear throughout the codebase with many re-definitions. Make a single copy of each in a common header file, and use the BSD variants of MINIMUM/MAXIMUM due to conflicts in the system <sys/param.h> headers. | ||||
* | Further, minor cleanups to headers post-MakeHeaders | Nathan Scott | 2020-09-08 | 1 | -3/+0 |
| | | | | | Remove leftover empty ifdef/endif pairs, whitespace. The generated htop.h file was also unused - removed. | ||||
* | Axe automated header generation. | Zev Weiss | 2020-09-03 | 1 | -54/+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. | ||||
* | Merge branch 'ci-hwloc-job' of https://github.com/bertwesarg/htop into ↵ | Nathan Scott | 2020-08-26 | 1 | -0/+8 |
| | | | | bertwesarg-ci-hwloc-job | ||||
* | Clean up existing whitespace | Daniel Flanagan | 2019-10-31 | 1 | -2/+2 |
| | |||||
* | Handle unexpected values for character passed to isalnum | Hisham Muhammad | 2018-02-05 | 1 | -1/+1 |
| | | | | | | | It seems that certain negative integer values can crash isalnum(). Let's protect against those. Fixes #711. | ||||
* | Fix scrolling behavior change caused by 759caf0f | Explorer09 | 2016-08-07 | 1 | -2/+3 |
| | | | | | | | | | | | | | | | | Commit "Make PgDown behavior more usual." 759caf0f8fa593430adea676fc64612b5197dca8 silently changes the PageDown scrolling behavior that, instead of scrolling one window down until the end of the window touches the end of the list, the window simply repositions itself in a way that the selected item always become the last item in the new window. The commit reverts the behavior, and also fixes sanity conditionals so that the scrollV variable will _never_ become negative or out-of- bound. Fixes issue #532. Also keep the problem #480 addressed. Signed-off-by: Kang-Che Sung <explorer09 @ gmail.com> | ||||
* | Moving left and right needs a full redraw. | Hisham | 2016-06-19 | 1 | -0/+2 |
| | |||||
* | Added Ctrl+A and Ctrl+E to go to beginning and end of line. | Hisham | 2016-06-15 | 1 | -9/+17 |
| | | | | | (Also, '^' and '$') Closes #508. | ||||
* | Make PgDown behavior more usual. | Hisham | 2016-05-04 | 1 | -1/+1 |
| | | | | Closes #480. | ||||
* | Fix behavior of Panel on empty lists. | Hisham | 2016-02-18 | 1 | -1/+1 |
| | | | | Closes #370. | ||||
* | Check for failure in allocations. | Hisham | 2016-02-02 | 1 | -2/+2 |
| | |||||
* | Fix moving of meters | Hisham Muhammad | 2015-11-02 | 1 | -1/+1 |
| | |||||
* | fix calloc() calls | Christian Hesse | 2015-09-07 | 1 | -1/+1 |
| | | | | | | | * size_t nmemb (number of elements) first, then size_t size * do not assume char is size 1 but use sizeof() * allocate for char, not pointer to char (found by Michael McConville, fixes #261) | ||||
* | Don't select last item when clicking past the end of the panel. | Hisham Muhammad | 2015-08-27 | 1 | -1/+4 |
| | |||||
* | Support for NCurses 6.0 and mouse wheel | Hisham Muhammad | 2015-08-19 | 1 | -0/+15 |
| | |||||
* | Rename String to StringUtils. | David Hunt | 2015-08-19 | 1 | -1/+1 |
| | | | | | | | | | 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 | ||||
* | Visual tweaks: change color when following, add Broken Gray theme. | Hisham Muhammad | 2015-04-09 | 1 | -7/+13 |
| | |||||
* | Merge branch 'master' into wip | Hisham Muhammad | 2015-04-02 | 1 | -1/+0 |
|\ | | | | | | | | | | | | | | | | | | | Conflicts: Process.c Process.h htop.c linux/LinuxProcess.c linux/LinuxProcess.h test_spec.lua | ||||
| * | Cleanup unused field. | Hisham Muhammad | 2015-03-31 | 1 | -1/+0 |
| | | |||||
| * | Do not trust isalpha(c) for values > 255. | Hisham Muhammad | 2015-03-22 | 1 | -1/+1 |
| | | | | | | | | Fixes #174. | ||||
* | | handle clicks on panel header line | Hisham Muhammad | 2015-03-24 | 1 | -3/+7 |
| | | |||||
* | | Do not trust isalpha(c) for values > 255. | Hisham Muhammad | 2015-03-23 | 1 | -1/+1 |
| | | | | | | | | | | | | | | Fixes #174. Conflicts: Panel.c | ||||
* | | incremental search and filter reintegrated! | Hisham Muhammad | 2015-03-23 | 1 | -0/+2 |
| | | |||||
* | | Move FunctionBar inside Panel | Hisham Muhammad | 2015-03-23 | 1 | -3/+9 |
| | | |||||
* | | Refactor state control variables. | Hisham Muhammad | 2015-03-22 | 1 | -2/+2 |
| | | |||||
* | | Complete cursor-based movement of headers. | Hisham Muhammad | 2015-02-03 | 1 | -0/+1 |
| | | |||||
* | | Another mega-patch for the refactoring process. | Hisham Muhammad | 2015-01-23 | 1 | -5/+5 |
| | | | | | | | | | | Kinda runs, but functionality from the original main loop is still missing. Patience. | ||||
* | | Sorry about the mega-patch. | Hisham Muhammad | 2015-01-21 | 1 | -91/+88 |
|/ | | | | | This is a work-in-progress, code is currently broken. (Some actions, and notably, the header, are missing.) |