summaryrefslogtreecommitdiffstats
path: root/ProcessList.c
AgeCommit message (Collapse)Author
2020-10-18Make all required includes explicitBenny Baumann
Information as seen by IWYU 0.12 + clang 9 on Linux
2020-10-16Rename StringUtils.[ch] to XUtils.[ch]Benny Baumann
2020-10-16Misc Vector updatesChristian Göttsche
- Move swap() macro to source file and implement as function - Implement Vector_get() and Vector_size() as inline functions to make them type safe and avoid lhs usage - Comment comparison statistics, they are only needed for performance testing
2020-10-07Mark Object classes and Object class fields constChristian Göttsche
2020-10-05Update License consistently to GPLv2 as per COPYING fileDaniel Lange
2020-09-09Switch variable/field naming from WhiteList to MatchListNathan Scott
2020-09-03Axe automated header generation.Zev Weiss
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.
2020-08-26Merge branch 'ci-hwloc-job' of https://github.com/bertwesarg/htop into ↵Nathan Scott
bertwesarg-ci-hwloc-job
2019-10-31Clean up existing whitespaceDaniel Flanagan
2018-04-05Collapse current subtree pressing BackspaceHisham Muhammad
2018-02-04Fix: infinite loop in tree view on macOSWataru Ashihara
Fixes #688, the bug regressed on 584a9bc. On Mac OS X 10.11.6, all processes have their parents since there's a special process named "kernel_task", whose PID and PPID are 0. As a result, `this->processes` is never changed causing infinite `while`.
2017-09-14Make 'c' key work with threads as well.Hisham Muhammad
2017-09-04minor style tweakHisham Muhammad
2017-09-01Find roots when constructing process tree, fix #587wangqr
2016-02-29Release resource when using hwlocHisham
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-14Portable affinity using hwlocHisham
2015-08-20Merge pull request #43 from ErkiDerLoony/masterHisham Muhammad
Fix tree view if userland threads are hidden.
2015-08-20Merge pull request #134 from jeffgarrett/pid-selectionHisham Muhammad
Interpret command line PIDs as PIDs, not TIDs
2015-08-19Rename String to StringUtils.David Hunt
Fixes building on case-insensitive filesystems where String.h gets confused with <string.h>. From d734dacea0a10d0465dad4e95b3421511e7da112 Mon Sep 17 00:00:00 2001 From: David Hunt <dhunt@iolanthe.attlocal.net> Date: Sat, 11 Jul 2015 20:56:31 -0500 Subject: [PATCH 1/8] Rename String to StringUtils
2015-04-09Fixes to use platform-specific compare routines.Hisham Muhammad
2015-04-09Visual tweaks: change color when following, add Broken Gray theme.Hisham Muhammad
2015-04-02Merge branch 'master' into wipHisham Muhammad
Conflicts: Process.c Process.h htop.c linux/LinuxProcess.c linux/LinuxProcess.h test_spec.lua
2015-03-16Major advances in FreeBSD port.Hisham Muhammad
2015-03-16Get FreeBSD tree to compile again with latest changes.Hisham Muhammad
2015-03-15Move more Linux-specific code into Linux subdir.Hisham Muhammad
2015-02-20Fix allocation of processes. Closes #166.Hisham Muhammad
2015-01-21Sorry about the mega-patch.Hisham Muhammad
This is a work-in-progress, code is currently broken. (Some actions, and notably, the header, are missing.)
2014-11-27Add ProcessList_delete to the variable interface.Hisham Muhammad
2014-11-24Builds on Linux again!Hisham Muhammad
2014-11-24Changes for supporting separate platform subdirectories.Hisham Muhammad
2014-11-19Refactored key handlers.Hisham Muhammad
Made the logic more modular, hopefully easier to follow, and removed repeated code. Plus, some optimization in RichString code.
2014-10-08Interpret command line PIDs as PIDs, not TIDsJeff Garrett
2014-05-04pass processlist flags to readOpenVZData (fixes build error)yar
2014-05-03Update values for fields whose columns may appear later. Fixes #80.Hisham Muhammad
2014-04-24Support pagefaults stats. Closes #45.Hisham Muhammad
2014-04-24Add sanity checks.Hisham Muhammad
2014-04-22xread may return -1.Hisham Muhammad
2014-04-21Restrict size of inputs on sscanf reads.Hisham Muhammad
2014-04-21check return of topoErrHisham Muhammad
2014-04-21shorten scope of variables.Hisham Muhammad
2014-04-21goto considered harmful and confuses cppcheck.Hisham Muhammad
2014-04-21Fix resource leak detected by cppcheckHisham Muhammad
2014-04-11Fix logic for skipping non-numeric directories.Hisham Muhammad
Closes #42.
2014-04-11Fix tree view if userland threads are hidden.Edgar Kalkowski
2014-04-09Fix invalid access when highlighting basename of threads.Hisham Muhammad
2014-02-27New logic for highlighting basenames with spacesHisham Muhammad
2014-02-27alignment improvementsHisham Muhammad
2014-01-29Added additional column to monitor OOM killer score of each processLeigh Simpson
2014-01-16Fix order of calloc arguments.Hisham Muhammad
(Patch by Dawid Gajownik)