Commit Graph

278 Commits

Author SHA1 Message Date
Hisham Muhammad
fae598fce8 Continue following when switching to tree view. Patch by Richard Wang. 2012-05-28 20:42:40 +00:00
Hisham Muhammad
ac36e4acbf fix message in help screen 2012-05-28 01:02:06 +00:00
Hisham Muhammad
90d567531a Fix CPU percentage. Patch 3522180 for bug 3516978, by Richard. 2012-05-28 00:47:05 +00:00
Hisham Muhammad
05a78c8111 Auto-follow process when selecting which signal to use when killing a process.
This avoids killing the wrong process.
2012-03-30 01:20:32 +00:00
Hisham Muhammad
bca656c79e Fix crashes when process list is empty 2012-03-05 11:18:27 +00:00
Hisham Muhammad
368cb1fe20 avoid deleting valid symbolic links to .htoprc
so that home directories can be used with both old and new versions of htop
(see #3496731).
2012-03-05 11:12:58 +00:00
Hisham Muhammad
571ae33bb4 Fix warning on ARM processors.
Thanks to Kelly Anderson.
2012-02-17 13:45:58 +00:00
Hisham Muhammad
1a604a05a5 BUGFIX: behavior of 'F' (follow) key was broken, also affecting the
persistence of mouse selections. Closes #3165065.
2012-02-02 23:45:40 +00:00
Hisham Muhammad
58676d7001 minor style cleanups 2012-02-02 22:03:07 +00:00
Hisham Muhammad
ff8d54c221 Extra check if Process_getAffinity fails.
I could not reproduce the crash in current SVN 
(I've been adding checks for problems like this),
but the sanity check looks correct.
Thanks to Cybjit. Closes #3481053.
2012-01-29 23:51:36 +00:00
Hisham Muhammad
8b73d11ac6 make htop trunk compile on FreeBSD 8.2-STABLE
(thanks to Trond Endestrol)
2012-01-03 18:19:11 +00:00
Hisham Muhammad
5b3cc559b2 remove old reference to hwloc directory 2011-12-26 22:09:59 +00:00
Hisham Muhammad
45f7a4fc8d Remove old memory debugging routines. We have Valgrind nowadays. 2011-12-26 22:04:29 +00:00
Hisham Muhammad
84281bdc44 major header cleanup 2011-12-26 21:35:57 +00:00
Hisham Muhammad
81e44312b4 Use strdup explicitly 2011-12-25 20:23:53 +00:00
Hisham Muhammad
93233a67ea Move .htoprc to XDG-compliant path ~/.config/htop/htoprc,
respecting $XDG_CONFIG_HOME 
(thanks to Hadzhimurad Ustarkhan for the suggestion.)
2011-12-25 20:22:41 +00:00
Hisham Muhammad
5b0b2255ef Fix typo that has been lurking since 2006 2011-12-23 19:12:17 +00:00
Hisham Muhammad
59d5eecdfd fix pagedown in some panels 2011-12-14 23:30:16 +00:00
Hisham Muhammad
9c44f589d2 show proper values for very large times 2011-12-14 23:29:07 +00:00
Hisham Muhammad
0bb8dba937 update changelog, following confirmation of fix from users 2011-12-01 13:13:17 +00:00
Hisham Muhammad
bfd86a60cc Keep panel structure up-to-date as process list changes when headers are updated during the screen manager. Hopefully closes #3444533. 2011-12-01 12:31:57 +00:00
Hisham Muhammad
dfad0afb36 Don't run sched_setaffinity compatibility test when cross compiling 2011-11-23 18:43:35 +00:00
Hisham Muhammad
ae7e68321b cleanup old stuff 2011-11-21 02:58:34 +00:00
Hisham Muhammad
bc87a8ff8c Remove bundled hwloc-1.2.1. Use either native Linux affinity support or an external libhwloc.
(for details see https://sourceforge.net/mailarchive/forum.php?thread_name=CAJpkDYeZpwqcWxZ77wq6bMrnhn-KzkU1xAqb3cU0drfnA3n9FQ%40mail.gmail.com&forum_name=htop-general )
2011-11-21 02:52:41 +00:00
Hisham Muhammad
7ca1081712 Mega-commit with features and tweaks for 1.0:
* Performance improvements
* Support for splitting CPU meters into two or four columns
  (thanks to Wim Heirman)
* Switch from PLPA, which is now deprecated, to HWLOC.
* Bring back support for native Linux sched_setaffinity,
  so we don't have to use HWLOC where we don't need to.
* Support for typing in user names and column fields in selection panels.
2011-11-18 06:08:56 +00:00
Hisham Muhammad
3885648881 reduce code 2011-11-05 04:55:05 +00:00
Hisham Muhammad
88f6de2352 build fixes 2011-11-05 04:42:35 +00:00
Hisham Muhammad
539b32dc31 simplify code 2011-11-05 04:42:15 +00:00
Hisham Muhammad
9f29e92777 update changelog 2011-11-05 04:24:41 +00:00
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.
2011-11-05 04:19:47 +00:00
Hisham Muhammad
4c4cceee5d naming consistency 2011-11-05 03:50:44 +00:00
Hisham Muhammad
ca6b9238a3 Support for UTF-8 tree drawing
(thanks to Bin Guo)
2011-11-03 22:12:12 +00:00
Hisham Muhammad
b45b9e2b33 use unicode header first 2011-11-03 22:07:10 +00:00
Hisham Muhammad
9b87e52d41 try to use unicode headers first 2011-11-03 22:01:54 +00:00
Hisham Muhammad
c18ccdb910 store cppcheck rule for future use 2011-10-25 00:46:37 +00:00
Hisham Muhammad
d1b1cbc757 cleanups and fixes, thanks to cppcheck and gcc -Wextra 2011-10-25 00:05:46 +00:00
Hisham Muhammad
75080ce79d Use wider PID columns in 64-bit machines with larger pid_max values. 2011-09-29 18:40:23 +00:00
Hisham Muhammad
d25a0bc213 Fix regression in documentation 2011-09-27 00:03:40 +00:00
Hisham Muhammad
d1eff65fa5 Add changelog entry. 2011-09-26 03:25:12 +00:00
Hisham Muhammad
1afef1899d Add flag to allow using the system install of hwloc. 2011-09-26 03:24:22 +00:00
Hisham Muhammad
ec17b7029a Convert affinity control from the deprecated PLPA to HWLOC 2011-09-24 00:30:47 +00:00
Hisham Muhammad
d07b043ee0 Fix --sort-key=help 2011-09-08 04:47:48 +00:00
Hisham Muhammad
bb3e773c49 Interface improvements for large numbers. 2011-09-08 04:41:03 +00:00
Hisham Muhammad
b288eb88c0 minor change to improve portability 2011-09-08 04:29:23 +00:00
Hisham Muhammad
3e265ce4ab Add missing header titles. Closes #3152630. 2011-09-08 04:21:31 +00:00
Hisham Muhammad
f1f77653e0 removes some basic checks that succeed on most systems anyway and which cause problems for the uClibc folks. Closes #3204565. 2011-09-08 03:40:26 +00:00
Hisham Muhammad
5a8307a10b Fix panel inconsistency that could lead to crashes. Closes #2422267. 2011-09-08 03:38:48 +00:00
Hisham Muhammad
978019d34f sanity checks 2011-09-08 02:54:02 +00:00
Hisham Muhammad
f7fe4b4722 Fix off-by-one error in PROCESSOR display 2011-09-08 02:48:53 +00:00
Hisham Muhammad
4e72e790e3 make sure PLPA debug message never shows 2011-09-08 02:32:59 +00:00