summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | implement: readJailNameDiederik de Groot2017-04-202-45/+72
| | | | | | | | | | | | | | | | | | | | Note: dragonflybsd does not have 'jail_get' like freebsd does. It does however provide a sysctl "jail.list" which returns a list of all jails.
| * | | Initial addition of dragonflybsd (based on FreeBSD)Diederik de Groot2017-04-1913-10/+1214
| |/ /
* | | Merge pull request #614 from dkgroot/EnhanceMakeHeaderHisham Muhammad2017-04-241-24/+33
|\ \ \ | |/ / |/| | Enh: scripts/MakeHeader script
| * | Enh: scripts/MakeHeader scriptDiederik de Groot2017-04-211-24/+33
|/ / | | | | | | | | Only write a new .h file if something changed for the header file being created. This prevents a lot of recompilation during development
* | Merge pull request #610 from coypoop/patch-1Hisham Muhammad2017-03-281-0/+1
|\ \ | | | | | | Add missing include
| * | Add missing includecoypoop2017-03-251-0/+1
| | | | | | | | | sys/time.h for struct timeval
* | | Merge pull request #608 from giwhub/giwhub-patch-1Hisham Muhammad2017-03-281-0/+2
|\ \ \ | |/ / |/| | Add Comment[zh_CN] and GenericName[zh_CN] into htop.desktop
| * | Add Comment[zh_CN] and GenericName[zh_CN] into htop.desktopgiwhub2017-03-241-0/+2
|/ /
* | Merge branch 'master' of https://github.com/hishamhm/htopHisham2017-02-1511-33/+33
|\ \
| * \ Merge pull request #593 from kamyarrasta/issue/502sessionidHisham Muhammad2017-02-045-8/+8
| |\ \ | | | | | | | | Issue #502 update Session ID column
| | * | Issue #502 fix SID colunm header widthKamyar Rasta2017-02-054-4/+4
| | | |
| | * | Issue #502 update Session ID columnKamyar Rasta2017-02-015-8/+8
| |/ /
| * | Merge pull request #584 from EliteTK/buffer-lengthsHisham Muhammad2016-12-306-25/+25
| |\ \ | | | | | | | | Replace all uses of sprintf with snprintf
| | * | Replace all uses of sprintf with snprintfTomasz Kramkowski2016-12-296-25/+25
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In all the cases where sprintf was being used within htop, snprintf could have been used. This patch replaces all uses of sprintf with snprintf which makes sure that if a buffer is too small to hold the resulting string, the string is simply cut short instead of causing a buffer overflow which leads to undefined behaviour. `sizeof(variable)` was used in these cases, as opposed to `sizeof variable` which is my personal preference because `sizeof(variable)` was already used in one way or another in other parts of the code.
* / / Cap battery at 100%.Hisham2017-02-151-0/+3
|/ / | | | | | | | | Apparently invalid results can be returned by buggy drivers in old laptops, as reported by @thukydides. See #596.
* | Interpret TTY_NR column on Linux,Hisham2016-10-0110-30/+197
| | | | | | | | | | translate dev_t to major:minor on other platforms. Closes #316.
* | Merge branch 'master' of https://github.com/hishamhm/htopHisham2016-09-160-0/+0
|\ \
| * \ Merge pull request #551 from Explorer09/rt-signalsHisham Muhammad2016-09-161-1/+24
| |\ \ | | | | | | | | Real-time signals support (kill command)
* | | | Protect against strange values of SIGRTMIN and SIGRTMAX,Hisham2016-09-161-14/+5
| | | | | | | | | | | | | | | | and change alignment of numbers.
* | | | Merge pull request #551 from Explorer09/rt-signalsHisham Muhammad2016-09-161-1/+24
|\ \ \ \ | |/ / / |/| / / | |/ / Real-time signals support (kill command)
| * / Real-time signals support (for kill command)Explorer092016-09-141-1/+24
|/ / | | | | | | | | | | | | | | | | | | SignalsPanel_new now fetches SIGRTMIN and SIGRTMAX and generates real- time signals entries at runtime. All signals between SIGRTMIN and SIGRTMAX are written in "SIGRTMIN+n" notation, per discussion in pull request #551. Signed-off-by: Kang-Che Sung <explorer09 @ gmail.com>
* | Merge branch 'master' of https://github.com/hishamhm/htopHisham2016-09-111-1/+1
|\ \
| * \ Merge pull request #555 from ivan/masterHisham Muhammad2016-09-061-1/+1
| |\ \ | | | | | | | | Fix column misalignment for priority -101 threads
| | * | Fix column misalignment for priority -101 threadsIvan Kozik2016-09-061-1/+1
| |/ / | | | | | | | | | | | | | | | BFS-patched kernels can have kernel threads with priority -101. This change makes priority -101 display as "RT", just like priority -100. Related: https://github.com/hishamhm/htop/issues/314
* / / 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
| |

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