summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2016-03-07Prepare for release 2.0.1.2.0.1Hisham
2016-03-07Merge branch 'juanfra684-openbsd-mem-used'Hisham Muhammad
2016-03-07Merge branch 'Sp1l-master'Hisham Muhammad
2016-03-07Avoid global, as done by @gaod in #387.Hisham Muhammad
2016-03-07Merge branch 'master' of https://github.com/Sp1l/htop into Sp1l-masterHisham Muhammad
2016-03-07Merge pull request #436 from mmcco/tuneupHisham Muhammad
Misc. OpenBSD tuneup and improvement
2016-03-07Merge pull request #435 from mmcco/freebsdHisham Muhammad
Improve error reporting on FreeBSD libkvm call
2016-03-07Merge branch 'openbsd-mem-used' of https://github.com/juanfra684/htop into ↵Hisham Muhammad
juanfra684-openbsd-mem-used
2016-03-05A few more OpenBSD fixesMichael McConville
Namely: o use malloc where an xCalloc slipped in o safeguard against an empty arg list - I don't think it's possible, but it would be potentially exploitable o we need to initialize the arg string to an empty string because we no longer use strlcpy(3) o annotate a tricky use of strlcpy(3)'s truncation
2016-03-05Misc. OpenBSD tuneup and improvementMichael McConville
Including: o set *basenameEnd even in error cases (FreeBSD probably needs this) o use kvm_openfiles(3) rather than kvm_open(3) so that we can report errors (as with FreeBSD) o sanify the process argument list creation by using strlcat(3) o drop the pageSizeKb variable and use the PAGE_SIZE_KB macro directly, as the page size can't change anyway o clean up a few macros, add MINIMUM() and MAXIMUM() (should be mirrored to FreeBSD) o fix some syntax o add some useful comments
2016-03-05Improve error reporting on FreeBSD libkvm callMichael McConville
This involves switching from kvm_open(3) to kvm_openfiles(3). The only difference is that the latter has saner error reporting (see the man page for details). We can now fatally report the error rather than just calling assert(3).
2016-02-29Merge pull request #388 from mhinz/add-p-to-helpHisham Muhammad
Add "p" to Help
2016-02-29Merge branch 'master' of https://github.com/hishamhm/htopHisham
2016-02-29Release resource when using hwlocHisham
2016-02-29any of these values may wrapHisham
2016-03-01Add "p" to HelpMarco Hinz
2016-02-27Merge pull request #427 from tcreech/masterHisham Muhammad
Fix low CPU usage reporting in FreeBSD
2016-02-26Fix low CPU usage reporting in FreeBSDTim Creech
2016-02-20Catch invalid IO values due to no permissions.Hisham
Display them properly. Not fully convinced of the "no perm" message...
2016-02-19Try to retain last full name of a zombie process.Hisham
Once a process goes zombie on Linux, /proc/PID/cmdline gets empty. So, when we detect it is a zombie we stop reading this file. For processes that were zombies before htop started, there's no way to get the full name. Closes #49.
2016-02-19Force -lgcov harder when running `make coverage`.Hisham
Shouldn't be needed, but I had to make this tweak to make this work again.
2016-02-19Tweaks on the test suite, still problematic.Hisham
2016-02-19Remove old commented code.Hisham
2016-02-19Fix error test — looks like nobody bumped into this one!Hisham
2016-02-19Merge branch 'master' of https://github.com/hishamhm/htopHisham
2016-02-19Fix behavior of ESC key, getting rid of the annoying delay.Hisham
Thank you @Explorer09 for the push! Closes #417.
2016-02-18Merge branch 'master' of https://github.com/hishamhm/htopHisham Muhammad
2016-02-18Run through all command line arguments on Darwin.Hisham Muhammad
Also fixes the basename offset for highlighting the basename. Closes #379.
2016-02-18Fix behavior of Panel on empty lists.Hisham
Closes #370.
2016-02-18Scan threads for process state information.Hisham Muhammad
Based on: http://stackoverflow.com/questions/6788274/ios-mac-cpu-usage-for-thread and https://github.com/max-horvath/htop-osx/blob/e86692e869e30b0bc7264b3675d2a4014866ef46/ProcessList.c This should be a fix for #361.
2016-02-18Pre-reset 'show' for process.Hisham Muhammad
This simplifies the protocol between the platform-independent and platform-specific parts. The platform-specific parts were supposed to re-determine the value of process->show on each iteration, and the Darwin subsystem wasn't doing that. Instead of adding the code to the Darwin part, I lifted the burden of the OS-specific of resetting process->show: now they can choose to hide a process if they want to (e.g. detecting kernel threads) but are not required to (e.g. on Darwin where we're not listing threads separately (yet?)). Fixes tree view collapsing/expanding on OSX. Closes #416.
2016-02-18Fix tree organization on OSX.Hisham Muhammad
Closes #393.
2016-02-17Merge pull request #413 from koresar/masterHisham Muhammad
(Regression) Typo in the word "prority" -> "priority"
2016-02-17Typo in the word "priority"Vasyl Boroviak
2016-02-16Merge branch 'master' of https://github.com/hishamhm/htopHisham
2016-02-16Merge pull request #391 from gaod/masterHisham Muhammad
Add MEM% for processes in process list on FreeBSD.
2016-02-16Fix reading of io_syscr and io_syscw.Hisham
Issue noticed by GCC6 -Wmisleading-indentation. Thanks @JIghtuse and @Explorer09! Closes #409.
2016-02-14Merge pull request #380 from fingolfin/patch-1Hisham Muhammad
Simplify autogen.sh
2016-02-14Portable affinity using hwlocHisham
2016-02-14Simplify autogen.shMax Horn
Make use of the autoreconf tool
2016-02-14Fix FreeBSD CPU% calculationBernard Spil
2016-02-14Fix memory percentage display on FreeBSDBernard Spil
2016-02-14Merge branch 'master' of https://github.com/hishamhm/htopBernard Spil
2016-02-14Disable the syscall on systems that don't have it.Hisham
Got a report in #397 that htop runs in NetBSD masquerading as Linux and using a compatibility /proc (like we used to in FreeBSD) and that it builds fine apart from this syscall.
2016-02-14Make unsupported platform build again.Hisham
(Thanks @coypoop at #397 for the heads up!)
2016-02-14Add support for cachedMem and fix usedMem on OpenBSD.Juan Francisco Cantero Hurtado
2016-02-13Add MEM% for processes in process list on FreeBSD.Hung-Yi Chen
2016-02-13Fix buffer reuse.Hisham
2016-02-13Fix memory accounting in Darwin.Hisham
htop currently expects m_size and m_resident in pages (Process.c). According to the proc_info.h header, the values returned by libproc are in bytes: http://www.opensource.apple.com/source/xnu/xnu-1456.1.26/bsd/sys/proc_info.h Eventually we should change the htop crossplatform API to expect memory in bytes, but this is the smaller change that should fix it. Closes #385.
2016-02-12Merge branch 'master' of https://github.com/hishamhm/htopHisham