| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Several string pointer arrays pointed to const strings
but were not const themselves.
A few various structures and arrays were also marked const.
|
| | | | |
|
| |\ \ \
| | |/ /
| |/| | |
Settings: do not emit trailing whitespace
|
| |/ / |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This is/was necessary only on macOS, because you needed root in order
to read the process list. This was never necessary on Linux, and
it also raises security concerns, so now it needs to be enabled
explicitly at build time.
|
|/ / |
|
| |
| |
| |
| |
| | |
Thanks @Sworddragon for the heads up.
See #88.
|
|\ \ |
|
| |\ \
| | |/
| |/| |
DragonFlyBSD PID_MAX is 999999.
|
| |/
| |
| |
| |
| |
| | |
See DragonFlyBSD source "sys/sys/proc.h".
Fixes #646
|
|/
|
|
| |
Closes #648.
|
|
|
|
| |
As suggested by @wolfgang42 in #100.
|
|
|
|
| |
As suggested by @wolfgang42. Fixes #100.
|
|\ |
|
| |\
| | |
| | | |
make special keys also work with TERM=xterm-256color
|
| |/ |
|
|/ |
|
|\
| |
| | |
Mouse-friendly functions bar for meters panel
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Before:
SpaceStyle EnterMove DelDeleteEscDone |
~~~~~ ~~~~~ ~~~ ~~~ |
UpUp DnDown LtLeft RtRight EnterConfirmDelDeleteEscDone |
~~ ~~ ~~ ~~ ~~~~~ ~~~ ~~~ |
After:
SpaceStyle EnterMove DelDeleteF10Done
~~~~~ ~~~~~ ~~ ~~~ ~~~
SpaceStyle EnterLock UpUp DnDown <-Left ->Right DelDeleteF10Done
~~~~~ ~~~~~ ~~ ~~ ~~ ~~ ~~ ~~~ ~~~
* Align 'Delete' and 'Done' to the right to match functions on other
screens. (Accidental clicking is avoided as a side benefit.)
* You could change meter type while in moving mode. New bar now hints
this.
* Two Enter key functions are put in the same place and so mouse clicks
there act like functions toggle. (The wording change to 'Lock' is
also to reflect this.)
* '<-' and '->' instead of 'Lt' and 'Rt' abbreviation as the latter is
not widely seen and arrows shapes are obvious. :)
* 'Esc' key for 'Done' in this context may not be intuitive, comparing
to 'F10'. While I wish there be a Cancel/Undo function for 'Esc', it
wouldn't hurt if we write 'F10' for 'Done' on functions bar for now.
|
| |
| |
| |
| |
| | |
Per @hishamhm's suggestion. This is UI change only.
In code the class names and symbols still refer them as "modes".
|
| | |
|
|\ \
| | |
| | | |
update keymap in help
|
| | | |
|
|\ \ \
| | | |
| | | | |
Initial addition of dragonflybsd (based on FreeBSD)
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
| |/ / |
|
|\ \ \
| |/ /
|/| | |
Enh: scripts/MakeHeader script
|
|/ /
| |
| |
| |
| | |
Only write a new .h file if something changed for the header file being created.
This prevents a lot of recompilation during development
|
|\ \
| | |
| | | |
Add missing include
|
| | |
| | |
| | | |
sys/time.h for struct timeval
|
|\ \ \
| |/ /
|/| | |
Add Comment[zh_CN] and GenericName[zh_CN] into htop.desktop
|
|/ / |
|
|\ \ |
|
| |\ \
| | | |
| | | | |
Issue #502 update Session ID column
|
| | | | |
|
| |/ / |
|
| |\ \
| | | |
| | | | |
Replace all uses of sprintf with snprintf
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
|/ /
| |
| |
| |
| | |
Apparently invalid results can be returned by buggy drivers in old laptops,
as reported by @thukydides. See #596.
|
| |
| |
| |
| |
| | |
translate dev_t to major:minor on other platforms.
Closes #316.
|
|\ \ |
|
| |\ \
| | | |
| | | | |
Real-time signals support (kill command)
|
| | | |
| | | |
| | | |
| | | | |
and change alignment of numbers.
|
|\ \ \ \
| |/ / /
|/| / /
| |/ / |
Real-time signals support (kill command)
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
|\ \ |
|
| |\ \
| | | |
| | | | |
Fix column misalignment for priority -101 threads
|
| |/ /
| | |
| | |
| | |
| | |
| | | |
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
|