summaryrefslogtreecommitdiffstats
path: root/ProcessList.c
Commit message (Collapse)AuthorAgeFilesLines
* Silence possible NULL dereferenceChristian Göttsche2020-12-031-1/+2
| | | | | | | | | | | Found by compiling with LTO ProcessList.c: In function ‘ProcessList_updateTreeSetLayer’: ProcessList.c:195:15: error: potential null pointer dereference [-Werror=null-dereference] 195 | if (proc->tree_depth == deep && proc->tree_left > left && proc->tree_right < right) { | ^ ProcessList.c:195:15: error: potential null pointer dereference [-Werror=null-dereference] ProcessList.c:195:15: error: potential null pointer dereference [-Werror=null-dereference]
* Minor code streamliningBenny Baumann2020-12-021-3/+3
|
* Some minor spelling issuesBenny Baumann2020-12-021-10/+12
|
* Avoid expensive build of tree when not using itBenny Baumann2020-12-021-7/+9
|
* Avoid useless search for pid 0Benny Baumann2020-12-021-0/+5
|
* Reorder field initialization to group fields by taskBenny Baumann2020-12-021-8/+10
|
* Code style cleanup and documentation/commentsBenny Baumann2020-12-021-29/+47
|
* Use common values for initial size estimates for HashtablesBenny Baumann2020-12-021-3/+3
|
* Fix issue with inconsistent displayTreeSetMaxim Zhiburt2020-12-021-7/+22
|
* Implement sorting in tree modeMaxim Zhiburt2020-12-021-62/+228
|
* Include merge status with column title when enabledNarendran Gopalakrishnan2020-11-241-4/+5
|
* Improving Command display/sortNarendran Gopalakrishnan2020-11-241-1/+1
|
* fix indentChristian Göttsche2020-11-211-1/+1
|
* Apply patch from BenBE as per ↵Daniel Lange2020-11-161-11/+7
| | | | https://github.com/htop-dev/htop/pull/241#issuecomment-720081138
* Merge branch 'hili-new-old' of adsr/htop into highlight-new-old-processesDaniel Lange2020-11-161-5/+40
|\
| * Address items from reviewAdam Saponara2020-10-311-1/+3
| |
| * Highlight new and old processes (#74)Adam Saponara2020-10-301-4/+38
| |
* | Mark ProcessList_keyAt argument constChristian Göttsche2020-11-151-1/+1
| |
* | Embracing branchesBenny Baumann2020-11-021-12/+34
| |
* | Spacing around operatorsBenny Baumann2020-11-021-4/+4
|/
* Hold only a const version of Settings in ProcessListChristian Göttsche2020-10-261-9/+10
|
* Continue to update generic data in paused modeChristian Göttsche2020-10-191-2/+8
| | | | | | | | | Generic data, as CPU and memory usage, are used by Meters. In paused mode they would stop receiving updates and especially Graph Meters would stop showing continuous data. Improves: #214 Closes: #253
* Make all required includes explicitBenny Baumann2020-10-181-4/+3
| | | | Information as seen by IWYU 0.12 + clang 9 on Linux
* Rename StringUtils.[ch] to XUtils.[ch]Benny Baumann2020-10-161-2/+2
|
* Misc Vector updatesChristian Göttsche2020-10-161-2/+2
| | | | | | | | - 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
* Mark Object classes and Object class fields constChristian Göttsche2020-10-071-1/+1
|
* Update License consistently to GPLv2 as per COPYING fileDaniel Lange2020-10-051-1/+1
|
* 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
| | | |

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