summaryrefslogtreecommitdiffstats
path: root/ProcessList.c
Commit message (Collapse)AuthorAgeFilesLines
* Switch variable/field naming from WhiteList to MatchListNathan Scott2020-09-091-3/+3
|
* Axe automated header generation.Zev Weiss2020-09-031-63/+0
| | | | | | | | | | | | | | 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.
* Merge branch 'ci-hwloc-job' of https://github.com/bertwesarg/htop into ↵Nathan Scott2020-08-261-6/+13
| | | | bertwesarg-ci-hwloc-job
* Clean up existing whitespaceDaniel Flanagan2019-10-311-5/+5
|
* Collapse current subtree pressing BackspaceHisham Muhammad2018-04-051-1/+1
|
* Fix: infinite loop in tree view on macOSWataru Ashihara2018-02-041-0/+5
| | | | | | | | 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`.
* Make 'c' key work with threads as well.Hisham Muhammad2017-09-141-1/+1
|
* minor style tweakHisham Muhammad2017-09-041-3/+4
|
* Find roots when constructing process tree, fix #587wangqr2017-09-011-16/+38
|
* Release resource when using hwlocHisham2016-02-291-0/+5
|
* Pre-reset 'show' for process.Hisham Muhammad2016-02-181-0/+1
| | | | | | | | | | | | | 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.
* Portable affinity using hwlocHisham2016-02-141-0/+4
|
* Merge pull request #43 from ErkiDerLoony/masterHisham Muhammad2015-08-201-1/+1
|\ | | | | Fix tree view if userland threads are hidden.
| * Fix tree view if userland threads are hidden.Edgar Kalkowski2014-04-111-1/+1
| |
* | Merge pull request #134 from jeffgarrett/pid-selectionHisham Muhammad2015-08-201-1/+1
|\ \ | | | | | | Interpret command line PIDs as PIDs, not TIDs
| * | Interpret command line PIDs as PIDs, not TIDsJeff Garrett2014-10-081-1/+1
| | |
* | | Rename String to StringUtils.David Hunt2015-08-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Fixes to use platform-specific compare routines.Hisham Muhammad2015-04-091-4/+4
| | |
* | | Visual tweaks: change color when following, add Broken Gray theme.Hisham Muhammad2015-04-091-1/+1
| | |
* | | Merge branch 'master' into wipHisham Muhammad2015-04-021-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: Process.c Process.h htop.c linux/LinuxProcess.c linux/LinuxProcess.h test_spec.lua
* | | | Major advances in FreeBSD port.Hisham Muhammad2015-03-161-1/+43
| | | |
* | | | Get FreeBSD tree to compile again with latest changes.Hisham Muhammad2015-03-161-0/+10
| | | |
* | | | Move more Linux-specific code into Linux subdir.Hisham Muhammad2015-03-151-0/+1
| | | |
* | | | Fix allocation of processes. Closes #166.Hisham Muhammad2015-02-201-1/+0
| | | |
* | | | Sorry about the mega-patch.Hisham Muhammad2015-01-211-165/+29
|/ / / | | | | | | | | | | | | This is a work-in-progress, code is currently broken. (Some actions, and notably, the header, are missing.)
* | | Add ProcessList_delete to the variable interface.Hisham Muhammad2014-11-271-2/+2
| | |
* | | Builds on Linux again!Hisham Muhammad2014-11-241-15/+0
| | |
* | | Changes for supporting separate platform subdirectories.Hisham Muhammad2014-11-241-672/+12
| | |
* | | Refactored key handlers.Hisham Muhammad2014-11-191-6/+2
|/ / | | | | | | | | | | Made the logic more modular, hopefully easier to follow, and removed repeated code. Plus, some optimization in RichString code.
* | pass processlist flags to readOpenVZData (fixes build error)yar2014-05-041-2/+2
| |
* | Update values for fields whose columns may appear later. Fixes #80.Hisham Muhammad2014-05-031-13/+18
| |
* | Support pagefaults stats. Closes #45.Hisham Muhammad2014-04-241-4/+8
| |
* | Add sanity checks.Hisham Muhammad2014-04-241-2/+3
| |
* | xread may return -1.Hisham Muhammad2014-04-221-1/+1
| |
* | Restrict size of inputs on sscanf reads.Hisham Muhammad2014-04-211-13/+13
| |
* | check return of topoErrHisham Muhammad2014-04-211-0/+2
| |
* | shorten scope of variables.Hisham Muhammad2014-04-211-1/+2
| |
* | goto considered harmful and confuses cppcheck.Hisham Muhammad2014-04-211-10/+10
| |
* | Fix resource leak detected by cppcheckHisham Muhammad2014-04-211-7/+6
| |
* | Fix logic for skipping non-numeric directories.Hisham Muhammad2014-04-111-1/+2
|/ | | | Closes #42.
* Fix invalid access when highlighting basename of threads.Hisham Muhammad2014-04-091-1/+4
|
* New logic for highlighting basenames with spacesHisham Muhammad2014-02-271-3/+11
|
* alignment improvementsHisham Muhammad2014-02-271-2/+2
|
* Added additional column to monitor OOM killer score of each processLeigh Simpson2014-01-291-0/+26
|
* Fix order of calloc arguments.Hisham Muhammad2014-01-161-3/+3
| | | | (Patch by Dawid Gajownik)
* Make CPU meter optionally account guest time in its percentagesHisham Muhammad2013-12-181-0/+1
|
* Fixes in accounting of guest time when using virtualizationHisham Muhammad2013-12-181-10/+13
| | | | | (thanks to Patrick Marlier)
* Performance improvements due to conditional parsing of IO data depending on ↵Hisham Muhammad2013-05-241-5/+13
| | | | | | | selected fields. On my machine, this gives a ~20% improvement in htop process time use with the default config.
* Performance improvementsHisham Muhammad2013-04-291-70/+141
| | | | | (thanks to Jann Horn)
* Changes in object model: separate class objects to store vtable. Also, nicer ↵Hisham Muhammad2012-12-051-9/+6
| | | | UTF-8 display of big numbers.

© 2014-2024 Faster IT GmbH | imprint | privacy policy