summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Downgrade requirement to Libtool 2.4.0.Hisham2016-09-111-1/+1
|/ / | | | | | | Courtesy to OpenWRT environments as requested by @champtar in #540.
* | Merge branch 'master' of https://github.com/hishamhm/htopHisham2016-08-3010-20/+20
|\ \
| * \ Merge pull request #550 from Explorer09/signals-tweaksHisham Muhammad2016-08-3010-20/+20
| |\ \ | | | | | | | | Mark signal tables 'const'
| | * | Mark signal tables 'const'Explorer092016-08-3010-20/+20
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | Specifically, Platform_signals[] and Platform_numberOfSignals. Both are not supposed to be mutable. Marking them 'const' puts them into rodata sections in binary. And for Platform_numberOfSignals, this aids optimization (aids only Link Time Optimization for now). :) Signed-off-by: Kang-Che Sung <explorer09@gmail.com>
* / / Fix typos, by @Gelma.Hisham2016-08-302-7/+7
|/ / | | | | | | Closes #546.
* | free(NULL) is a valid no-op, so let's make String_freeArray(NULL) valid too.Hisham2016-08-241-0/+3
| |
* | Return when reading cmdline fails (e.g. zombie process)Hisham2016-08-241-10/+12
| |
* | Point users to the official release tarballs.Hisham2016-08-231-1/+1
| |
* | Merge pull request #537 from Explorer09/string-utilsHisham Muhammad2016-08-114-28/+15
|\ \ | | | | | | Optimize Strings_startWith()
| * | Optimize Strings_startWith()Explorer092016-08-114-28/+15
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use strncmp() combined with a strlen() will give better performance than a strstr in worst case. Especially when the match prefix is a constant and not a variable. While we are at it, replace the match() function in linux/Battery.c, which uses a naive algorithm, with a macro that does better job by utilizing Strings_startWith(). $ gcc --version | head -n 1 gcc (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4 $ uname -m x86_64 $ size htop.old htop.new text data bss dec hex filename 137929 15112 3776 156817 26491 htop.old 137784 15104 3776 156664 263f8 htop.new Signed-off-by: Kang-Che Sung <explorer09 @ gmail.com>
* | Merge pull request #534 from Explorer09/issue-532Hisham Muhammad2016-08-091-2/+3
|\ \ | | | | | | Change scrolling behavior to make it more similar to other applications.
| * | Fix scrolling behavior change caused by 759caf0fExplorer092016-08-071-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>
* | Merge branch 'master' of https://github.com/hishamhm/htopHisham2016-07-281-1/+1
|\ \
| * \ Merge pull request #526 from Explorer09/bar-tweaksHisham Muhammad2016-07-231-1/+1
| |\ \ | | | | | | | | Let BarMeterMode_characters[] be const array.
| | * | Let BarMeterMode_characters[] be const array.Explorer092016-07-221-1/+1
| |/ /
* / / 'Follow' only if element is found in searchHisham2016-07-281-4/+4
|/ /
* | Changelog for htop 2.0.22.0.2Hisham2016-07-211-0/+15
| |
* | Preparing release 2.0.2, a minor bugfix release.Hisham2016-07-211-1/+1
|/
* Merge pull request #524 from ricardo0y/cross_compile_with_ncurses_configHisham Muhammad2016-07-121-1/+6
|\ | | | | Allow to override ncurses*-config path
| * Allow to override ncurses*-config pathRicardo Martincoski2016-07-111-1/+6
| | | | | | | | | | | | | | | | This will be used when cross-compiling with ncurses*-config generated for the target, using constructs like HTOP_NCURSES_CONFIG_SCRIPT=/path/to/ncurses5-config Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
* | Refresh whole panel on Ctrl+L in infoscreen.Hisham2016-06-231-0/+1
| | | | | | | | Closes #520.
* | Let's keep it simple then!Hisham2016-06-201-1/+1
| |
* | Dynamically adjust the size of line readsHisham Muhammad2016-06-195-25/+58
| | | | | | | | | | | | | | * Dynamically adjust the size of line reads. * Remove some more uses of fgets with arbitrary sizes. * Fix reading of lines and width of n column. Fixes #514.
* | While we're at it, get rid of another sprintf.Hisham2016-06-191-1/+1
| |
* | Moving left and right needs a full redraw.Hisham2016-06-191-0/+2
| |
* | Use "-" as the Ctrl and Alt joiner.Hisham2016-06-171-3/+3
| |
* | Merge pull request #511 from Explorer09/man-pageHisham Muhammad2016-06-171-2/+28
|\ \ | | | | | | Document Alt+{h,j,k,l} and Ctrl+{A,E} into man page
| * | Document Alt+{h,j,k,l} and Ctrl+{A,E} into man pageExplorer092016-06-171-2/+28
|/ / | | | | | | | | | | Rewrite the scrolling part in the man page so that each key become clearer on what it does. Also officially document the Alt+{h,j,k,l} key alternatives and Ctrl+A, Ctrl+E, '^', '$' keys (see issue #508).
* | Merge branch 'master' of https://github.com/hishamhm/htopHisham2016-06-152-5/+36
|\ \
| * \ Merge pull request #505 from Explorer09/xStrdupHisham Muhammad2016-06-042-5/+14
| |\ \ | | | | | | | | Fix xStrdup debug build failure & allow Clang to use ((nonnull))
| | * | Fix xStrdup debug build failure & allow Clang to use ((nonnull))Explorer092016-06-032-5/+14
| |/ /
| * | Merge pull request #504 from Explorer09/xStrdupHisham Muhammad2016-06-022-5/+27
| |\ \ | | | | | | | | Fixes upon xStrdup(NULL) problem
| | * | Add assert and __attribute__((nonnull)) on xStrdupExplorer092016-06-022-2/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | __attribute__((nonnull)) will help catching "calling with NULL" mistake on compile time. I also convert xStrdup into a macro, that will do assert() inline when the code is *not* built with -DNDEBUG . For release builds (with -DNDEBUG), preprocessor trick will ensure that generated code remains the same.
| | * | Don't check if (!str) in xStrdupExplorer092016-06-021-3/+0
| |/ / | | | | | | | | | | | | | | | | | | | | | This effectively reverts "Stricter strdup." 4674b4a7320bb6b003a4e3b3840027573691e60d If str is NULL upon the calling of strdup(), it should crash with SIGSEGV. Just let it crash. Adding the "if (!str) fail();" code serves nothing but bloat.
* | | Added Ctrl+A and Ctrl+E to go to beginning and end of line.Hisham2016-06-155-31/+30
| | | | | | | | | | | | | | | (Also, '^' and '$') Closes #508.
* | | Don't store invisible trailing whitespaceHisham2016-06-151-2/+5
|/ /
* | Merge branch 'master' of https://github.com/hishamhm/htopHisham2016-05-301-4/+2
|\ \
| * \ Merge pull request #500 from Explorer09/meter-tweaksHisham Muhammad2016-05-271-4/+2
| |\ \ | | | | | | | | Remove redundant is-null checks on free(Meter.drawData)
| | * | Remove redundant is-null checks on free(Meter.drawData)Explorer092016-05-271-4/+2
| |/ /
* | | Handle SIGQUIT. Closes #503.Hisham2016-05-301-0/+1
| | |
* | | Remove extra checks made redundant by XAlloc.Hisham2016-05-301-11/+2
| | |
* | | Stricter strdup.Hisham2016-05-301-1/+4
| | |
* | | Silence cast warning.Hisham2016-05-303-1/+3
|/ /
* | Silence warnings about seteuid return value.Hisham2016-05-254-13/+13
| | | | | | | | Closes #483.
* | Fixes #498.Hisham2016-05-251-1/+1
| |
* | Make sure a pointer fits in the argument!Hisham2016-05-252-2/+2
| |
* | Use set_escdelay() to avoid problems with ESCDELAY as a macro.Hisham2016-05-192-2/+2
| |
* | Fail early if libtool is not present.Hisham2016-05-191-0/+1
| |
* | Merge pull request #445 from Explorer09/configure-acHisham Muhammad2016-05-192-24/+27
|\ \ | | | | | | configure.ac fixes
| * | Update INSTALL text from autoconf-2.69Explorer092016-05-081-2/+2
| | |

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