summaryrefslogtreecommitdiffstats
path: root/ProcessList.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Mark several non-modified pointer variables constChristian Göttsche2021-01-111-4/+4
|
* Exit follow mode cleanly after followed process diesChristian Göttsche2021-01-101-4/+8
|
* Show arrow indicating order of sorted process columnChristian Göttsche2021-01-071-0/+7
|
* Object: return int on comparisonChristian Göttsche2021-01-021-2/+2
| | | | | Comparisons do, due to the new introduced shaceship-comparisons, only return -1, 0, 1 or the result of strcmp().
* Merge Process_pidColumns into Process_fields and rework auto-fit for ↵Christian Göttsche2020-12-191-12/+16
| | | | PID-like columns
* Separate tree and list sort ordersHisham Muhammad2020-12-191-2/+4
| | | | | | | | | | | | Implements the suggestion from https://github.com/htop-dev/htop/issues/399#issuecomment-747861013 Thanks to the refactors from 0bd5c8fb5da and 6393baa74e5, this was really easy and clean to do. It maintains the "Tree view always by PID" option in the Settings, which results in some specific behaviors such as "clicking on the column header to exit tree view" and "picking a new sort order to exit tree view", for the sake of the muscle memory of long time htop users. :)
* Add "Tree view is always sorted by PID" option to mimic htop 2 behaviorHisham Muhammad2020-12-191-4/+12
|
* Fix typoChristian Göttsche2020-12-181-1/+1
|
* ProcessList: save scan time in millisecondChristian Göttsche2020-12-181-2/+4
| | | | | The delay is saved in deciseconds, use a bigger resolution to avoid timing irregularities.
* Support clock_gettime() on OSX El Capitan and earlierChristian Göttsche2020-12-181-3/+3
|
* Additional code simplificationBenny Baumann2020-12-081-9/+6
| | | | Additional correction for #375
* Split RichString_(append|appendn|write) into wide and asciiChristian Göttsche2020-12-081-2/+2
| | | | | | | | RichString_writeFrom takes a top spot during performance analysis due to the calls to mbstowcs() and iswprint(). Most of the time we know in advance that we are only going to print regular ASCII characters.
* IWYU updateChristian Göttsche2020-12-061-0/+1
|
* 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
|

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