Daniel Lange
79db69c48d
Fix Solaris / OmniOS build
4 years ago
Christian Göttsche
ff4f44b22a
Pre-select the last sent signal in SignalsPanel
...
Instead of pre-selecting SIGTERM every time, select the signal last
send in the same htop session.
Closes : #862
4 years ago
Daniel Lange
94ad111391
Update license headers to explicitly say GPLv2+
5 years ago
Christian Göttsche
ce9e7fd14f
Panel_new: reorder arguments
...
Reorder owner and type so they match the order of Panel_init
5 years ago
Christian Göttsche
ea4f33409a
Update even more snprintfs
...
Use size of actual buffers instead of magic numbers
5 years ago
Benny Baumann
0f5262917f
Make all required includes explicit
...
Information as seen by IWYU 0.12 + clang 9 on Linux
5 years ago
Benny Baumann
872e542f4e
Rename StringUtils.[ch] to XUtils.[ch]
5 years ago
Benny Baumann
c6f04a9c5d
Move xAsprintf, xSnprintf and xStrdup to StringUtils.h
5 years ago
Daniel Lange
079c2abf8e
Update License consistently to GPLv2 as per COPYING file
6 years ago
Zev Weiss
a1a027b9bd
Axe automated header generation.
...
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.
6 years ago
Hisham Muhammad
dc050e8088
Fix overflow for signals >= 100.
...
Thanks to @gzip4 for tracking this down.
Closes #764 .
8 years ago
Hisham Muhammad
09e241fb12
Security review: check results of snprintf.
...
Calls marked with xSnprintf shouldn't fail.
Abort program cleanly if any of them does.
9 years ago
Hisham
5df425867c
Protect against strange values of SIGRTMIN and SIGRTMAX,
...
and change alignment of numbers.
10 years ago
Explorer09
0ce4835f95
Real-time signals support (for 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>
10 years ago
Martin "eto" Misuth
3ea7b34735
attempt to return to upstream/master
11 years ago
Hisham Muhammad
125c23ef23
Fix build in FreeBSD, and make sure SIGTERM is always the default.
11 years ago
Martin "eto" Misuth
2379835910
Added platform dependent DEFAULT_SIGNAL define, for now for:
...
FreeBSD
Linux
Other platforms will have it undefined for now.
11 years ago
Hisham Muhammad
3fe2f3e28e
Move list of signals to platform-specific code.
...
Implementations for Linux (tested) and FreeBSD (still untested, thanks to @etosan for providing the table).
Darwin and OpenBSD(ping @mmcco ) builds should be broken now, pending their own tables.
11 years ago
Hisham Muhammad
7cb8cb05fb
Simplify constructors.
11 years ago
Hisham Muhammad
d0c72c3fb2
Move FunctionBar inside Panel
11 years ago
Hisham Muhammad
00b324bfc1
Changes in object model: separate class objects to store vtable. Also, nicer UTF-8 display of big numbers.
13 years ago
Hisham Muhammad
45f7a4fc8d
Remove old memory debugging routines. We have Valgrind nowadays.
14 years ago
Hisham Muhammad
84281bdc44
major header cleanup
14 years ago
Hisham Muhammad
3885648881
reduce code
15 years ago
Hisham Muhammad
e204861de5
Allow typing to select items in various panels (sort, user, signal).
...
Factored code from the SignalsPanel to apply to all selections from main screen.
Closes feature request #3425304 .
15 years ago
Hisham Muhammad
02a30bfecd
warning fixes
16 years ago
Hisham Muhammad
6330ff3a0a
changes for htop 0.8.2
17 years ago
Hisham Muhammad
da23c8c5a1
Clean up headers by using 'static' whenever possible.
...
Reduces resulting code size.
18 years ago
Hisham Muhammad
a7c2aedcec
Improve construction of tree view, properly nesting threads.
...
Add CPU affinity screen ('a' key).
BUGFIX: Correct display of TPGID field.
Add TGID field.
19 years ago
Hisham Muhammad
73de9f1ed4
Rename ListBox'es to Panel's, matching dit.
20 years ago
Hisham Muhammad
c2cdcd0c1d
Rename ListBox to Panel, matching dit.
20 years ago
Hisham Muhammad
d6231bab89
Initial import.
20 years ago