Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Silence possible NULL dereference | Christian Göttsche | 2020-12-03 | 1 | -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 streamlining | Benny Baumann | 2020-12-02 | 1 | -3/+3 |
| | |||||
* | Some minor spelling issues | Benny Baumann | 2020-12-02 | 1 | -10/+12 |
| | |||||
* | Avoid expensive build of tree when not using it | Benny Baumann | 2020-12-02 | 1 | -7/+9 |
| | |||||
* | Avoid useless search for pid 0 | Benny Baumann | 2020-12-02 | 1 | -0/+5 |
| | |||||
* | Reorder field initialization to group fields by task | Benny Baumann | 2020-12-02 | 1 | -8/+10 |
| | |||||
* | Code style cleanup and documentation/comments | Benny Baumann | 2020-12-02 | 1 | -29/+47 |
| | |||||
* | Use common values for initial size estimates for Hashtables | Benny Baumann | 2020-12-02 | 1 | -3/+3 |
| | |||||
* | Fix issue with inconsistent displayTreeSet | Maxim Zhiburt | 2020-12-02 | 1 | -7/+22 |
| | |||||
* | Implement sorting in tree mode | Maxim Zhiburt | 2020-12-02 | 1 | -62/+228 |
| | |||||
* | Include merge status with column title when enabled | Narendran Gopalakrishnan | 2020-11-24 | 1 | -4/+5 |
| | |||||
* | Improving Command display/sort | Narendran Gopalakrishnan | 2020-11-24 | 1 | -1/+1 |
| | |||||
* | fix indent | Christian Göttsche | 2020-11-21 | 1 | -1/+1 |
| | |||||
* | Apply patch from BenBE as per ↵ | Daniel Lange | 2020-11-16 | 1 | -11/+7 |
| | | | | https://github.com/htop-dev/htop/pull/241#issuecomment-720081138 | ||||
* | Merge branch 'hili-new-old' of adsr/htop into highlight-new-old-processes | Daniel Lange | 2020-11-16 | 1 | -5/+40 |
|\ | |||||
| * | Address items from review | Adam Saponara | 2020-10-31 | 1 | -1/+3 |
| | | |||||
| * | Highlight new and old processes (#74) | Adam Saponara | 2020-10-30 | 1 | -4/+38 |
| | | |||||
* | | Mark ProcessList_keyAt argument const | Christian Göttsche | 2020-11-15 | 1 | -1/+1 |
| | | |||||
* | | Embracing branches | Benny Baumann | 2020-11-02 | 1 | -12/+34 |
| | | |||||
* | | Spacing around operators | Benny Baumann | 2020-11-02 | 1 | -4/+4 |
|/ | |||||
* | Hold only a const version of Settings in ProcessList | Christian Göttsche | 2020-10-26 | 1 | -9/+10 |
| | |||||
* | Continue to update generic data in paused mode | Christian Göttsche | 2020-10-19 | 1 | -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 explicit | Benny Baumann | 2020-10-18 | 1 | -4/+3 |
| | | | | Information as seen by IWYU 0.12 + clang 9 on Linux | ||||
* | Rename StringUtils.[ch] to XUtils.[ch] | Benny Baumann | 2020-10-16 | 1 | -2/+2 |
| | |||||
* | Misc Vector updates | Christian Göttsche | 2020-10-16 | 1 | -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 const | Christian Göttsche | 2020-10-07 | 1 | -1/+1 |
| | |||||
* | Update License consistently to GPLv2 as per COPYING file | Daniel Lange | 2020-10-05 | 1 | -1/+1 |
| | |||||
* | Switch variable/field naming from WhiteList to MatchList | Nathan Scott | 2020-09-09 | 1 | -3/+3 |
| | |||||
* | Axe automated header generation. | Zev Weiss | 2020-09-03 | 1 | -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 Scott | 2020-08-26 | 1 | -6/+13 |
| | | | | bertwesarg-ci-hwloc-job | ||||
* | Clean up existing whitespace | Daniel Flanagan | 2019-10-31 | 1 | -5/+5 |
| | |||||
* | Collapse current subtree pressing Backspace | Hisham Muhammad | 2018-04-05 | 1 | -1/+1 |
| | |||||
* | Fix: infinite loop in tree view on macOS | Wataru Ashihara | 2018-02-04 | 1 | -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 Muhammad | 2017-09-14 | 1 | -1/+1 |
| | |||||
* | minor style tweak | Hisham Muhammad | 2017-09-04 | 1 | -3/+4 |
| | |||||
* | Find roots when constructing process tree, fix #587 | wangqr | 2017-09-01 | 1 | -16/+38 |
| | |||||
* | Release resource when using hwloc | Hisham | 2016-02-29 | 1 | -0/+5 |
| | |||||
* | Pre-reset 'show' for process. | Hisham Muhammad | 2016-02-18 | 1 | -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 hwloc | Hisham | 2016-02-14 | 1 | -0/+4 |
| | |||||
* | Merge pull request #43 from ErkiDerLoony/master | Hisham Muhammad | 2015-08-20 | 1 | -1/+1 |
|\ | | | | | Fix tree view if userland threads are hidden. | ||||
| * | Fix tree view if userland threads are hidden. | Edgar Kalkowski | 2014-04-11 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #134 from jeffgarrett/pid-selection | Hisham Muhammad | 2015-08-20 | 1 | -1/+1 |
|\ \ | | | | | | | Interpret command line PIDs as PIDs, not TIDs | ||||
| * | | Interpret command line PIDs as PIDs, not TIDs | Jeff Garrett | 2014-10-08 | 1 | -1/+1 |
| | | | |||||
* | | | Rename String to StringUtils. | David Hunt | 2015-08-19 | 1 | -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 Muhammad | 2015-04-09 | 1 | -4/+4 |
| | | | |||||
* | | | Visual tweaks: change color when following, add Broken Gray theme. | Hisham Muhammad | 2015-04-09 | 1 | -1/+1 |
| | | | |||||
* | | | Merge branch 'master' into wip | Hisham Muhammad | 2015-04-02 | 1 | -1/+1 |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: Process.c Process.h htop.c linux/LinuxProcess.c linux/LinuxProcess.h test_spec.lua | ||||
* | | | | Major advances in FreeBSD port. | Hisham Muhammad | 2015-03-16 | 1 | -1/+43 |
| | | | | |||||
* | | | | Get FreeBSD tree to compile again with latest changes. | Hisham Muhammad | 2015-03-16 | 1 | -0/+10 |
| | | | | |||||
* | | | | Move more Linux-specific code into Linux subdir. | Hisham Muhammad | 2015-03-15 | 1 | -0/+1 |
| | | | |