summaryrefslogtreecommitdiffstats
path: root/DisplayOptionsPanel.c
Commit message (Collapse)AuthorAgeFilesLines
* ScreenManager: reduce ScreenManager_resizeChristian Göttsche2021-08-221-1/+1
| | | | | | | | | | | | | The main change is the header hight being not included in y1. This is important if a sub-manager gets resized, e.g. a resize while editing the Settings or in a pickFromVector selection, and afterwards, then the sub-manager is closed, the super-ScreenManager gets resized, it uses the correct header hight. The header hight might have been changed since the last resize of the super-manager in the Settings by adding/removing some meters. This fixes new meters being hidden after added at runtime after a resize in the main window.
* Disable mouse option when support is unavailablenia2021-07-151-0/+2
|
* Whitespace around operatorsBenny Baumann2021-07-151-1/+1
|
* Allow for highlighting of deleted executables to be configuredBenny Baumann2021-05-231-0/+1
| | | | Fixes #383
* Use `#if defined()` syntax when `#elif defined()` is presentBenny Baumann2021-03-211-1/+1
| | | | | | | This prefers the `#if defined()` syntax over the `#ifdef` variant whenever there's also a `#elif defined()` clause, thus making the multiple branching structure more obvious and the overall use more consistent.
* Merge pull request #436 from cgzones/freebsdGraham Inggs2021-03-181-2/+10
|\ | | | | | | FreeBSD: add support for CPU frequency and temperature Tested on two physical systems running FreeBSD 12.1
| * FreeBSD: add support for CPU frequency and temperatureChristian Göttsche2021-02-051-2/+10
| |
* | Separate data-update and drawing of headerChristian Göttsche2021-03-041-0/+1
| |
* | Option and key ("*") to collapse / expand all branches under PID 1Daniel Lange2021-02-131-0/+1
|/ | | | | | | (and PID 2 if kernel threads are shown) Based on hishamhm/htop#510 by Krishna Chaitanya, B Closes #68
* Clarify that only the main screen function bar is optionally hiddenDaniel Lange2021-01-111-1/+1
|
* Add option to hide the Function BarChristian Göttsche2021-01-041-0/+1
| | | | | | | | | | Support three settings: - Always show Function Bar - Always hide the Function Bar, except in Infoscreens (Env/Locks...) and when editing the search and filter mode - Hide the Function Bar on ESC until the next user input Closes: #439
* Add "Tree view is always sorted by PID" option to mimic htop 2 behaviorHisham Muhammad2020-12-191-0/+1
|
* IWYU updateChristian Göttsche2020-12-061-1/+0
|
* Dynamically load libsensors at runtimeChristian Göttsche2020-12-021-2/+2
|
* Add support to change numeric options in settings screenChristian Göttsche2020-11-251-32/+55
| | | | Like delay or highlightDelaySecs
* Improve Fahrenheit temperature configuration textChristian Göttsche2020-11-251-1/+1
|
* Group the "Merge Command" related options visuallyBenny Baumann2020-11-241-2/+2
|
* Improving Command display/sortNarendran Gopalakrishnan2020-11-241-0/+3
|
* Remove unnecessary parensBenny Baumann2020-11-211-1/+1
|
* Show CPU temperature in CPU meterChristian Göttsche2020-11-161-0/+4
| | | | | Show the CPU temperature in the CPU meter, like CPU frequency, instead of using an extra Meter.
* Highlight new and old processes (#74)Adam Saponara2020-10-301-0/+1
|
* Merge branch 'number-cpus-from-zero' of zevweiss/htopDaniel Lange2020-10-201-1/+1
|\ | | | | | | | | * This changes the default to count CPUs from zero (instead of starting at one) * Settings logic is inverted, backwards compatibility is preserved
| * Number CPUs from zero by default.Zev Weiss2020-09-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | Numbering from one is idiosyncratic and inconsistent with basically everything else in the world; it doesn't make much sense as default behavior. All naming is updated to reflect that numbering from one is a non-default, opt-in option. The old label of the flag saved in htoprc ("cpu_count_from_zero") is still supported for backwards compatibility with existing configs, however.
* | Make all required includes explicitBenny Baumann2020-10-181-2/+7
| | | | | | | | Information as seen by IWYU 0.12 + clang 9 on Linux
* | Rename StringUtils.[ch] to XUtils.[ch]Benny Baumann2020-10-161-1/+1
| |
* | Move xAsprintf, xSnprintf and xStrdup to StringUtils.hBenny Baumann2020-10-161-3/+4
| |
* | Mark Object instances constChristian Göttsche2020-10-071-1/+1
| |
* | Update License consistently to GPLv2 as per COPYING fileDaniel Lange2020-10-051-1/+1
| |
* | Do not drop qualifier in castChristian Göttsche2020-09-241-3/+3
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ListItem.c:73:33: warning: cast from 'const void *' to 'struct ListItem_ *' drops const qualifier [-Wcast-qual] ListItem* obj1 = (ListItem*) cast1; ^ ListItem.c:74:33: warning: cast from 'const void *' to 'struct ListItem_ *' drops const qualifier [-Wcast-qual] ListItem* obj2 = (ListItem*) cast2; ^ Process.c:434:28: warning: cast from 'const void *' to 'struct Process_ *' drops const qualifier [-Wcast-qual] Process* p1 = (Process*)v1; ^ Process.c:435:28: warning: cast from 'const void *' to 'struct Process_ *' drops const qualifier [-Wcast-qual] Process* p2 = (Process*)v2; ^ Process.c:441:36: warning: cast from 'const void *' to 'struct Process_ *' drops const qualifier [-Wcast-qual] Settings *settings = ((Process*)v1)->settings; ^ Process.c:443:22: warning: cast from 'const void *' to 'struct Process_ *' drops const qualifier [-Wcast-qual] p1 = (Process*)v1; ^ Process.c:444:22: warning: cast from 'const void *' to 'struct Process_ *' drops const qualifier [-Wcast-qual] p2 = (Process*)v2; ^ Process.c:446:22: warning: cast from 'const void *' to 'struct Process_ *' drops const qualifier [-Wcast-qual] p2 = (Process*)v1; ^ Process.c:447:22: warning: cast from 'const void *' to 'struct Process_ *' drops const qualifier [-Wcast-qual] p1 = (Process*)v2; ^ AffinityPanel.c:37:16: warning: cast from 'const char *' to 'void *' drops const qualifier [-Wcast-qual] free((void*)this->text); ^ AffinityPanel.c:39:19: warning: cast from 'const char *' to 'void *' drops const qualifier [-Wcast-qual] free((void*)this->indent); ^ linux/LinuxProcess.c:294:36: warning: cast from 'const void *' to 'struct Process_ *' drops const qualifier [-Wcast-qual] Settings *settings = ((Process*)v1)->settings; ^ linux/LinuxProcess.c:296:27: warning: cast from 'const void *' to 'struct LinuxProcess_ *' drops const qualifier [-Wcast-qual] p1 = (LinuxProcess*)v1; ^ linux/LinuxProcess.c:297:27: warning: cast from 'const void *' to 'struct LinuxProcess_ *' drops const qualifier [-Wcast-qual] p2 = (LinuxProcess*)v2; ^ linux/LinuxProcess.c:299:27: warning: cast from 'const void *' to 'struct LinuxProcess_ *' drops const qualifier [-Wcast-qual] p2 = (LinuxProcess*)v1; ^ linux/LinuxProcess.c:300:27: warning: cast from 'const void *' to 'struct LinuxProcess_ *' drops const qualifier [-Wcast-qual] p1 = (LinuxProcess*)v2; ^ linux/LinuxProcessList.c:62:32: warning: cast from 'const void *' to 'struct TtyDriver_ *' drops const qualifier [-Wcast-qual] TtyDriver* a = (TtyDriver*) va; ^ linux/LinuxProcessList.c:63:32: warning: cast from 'const void *' to 'struct TtyDriver_ *' drops const qualifier [-Wcast-qual] TtyDriver* b = (TtyDriver*) vb; ^ linux/Battery.c:130:21: warning: cast from 'const char *' to 'char *' drops const qualifier [-Wcast-qual] free((char *) isOnline); ^ linux/Battery.c:197:26: warning: cast from 'const char *' to 'char *' drops const qualifier [-Wcast-qual] xSnprintf((char *) filePath, sizeof filePath, SYS_POWERSUPPLY_DIR "/%s/type", entryName); ^ linux/Battery.c:209:29: warning: cast from 'const char *' to 'char *' drops const qualifier [-Wcast-qual] xSnprintf((char *) filePath, sizeof filePath, SYS_POWERSUPPLY_DIR "/%s/uevent", entryName); ^ linux/Battery.c:262:29: warning: cast from 'const char *' to 'char *' drops const qualifier [-Wcast-qual] xSnprintf((char *) filePath, sizeof filePath, SYS_POWERSUPPLY_DIR "/%s/online", entryName); ^
* Revert the vim_mode setting for now, needs a rethinkNathan Scott2020-09-151-1/+0
| | | | | | | | | | | | | There have been too many bugs reported in vim_mode, and the proposed fixes are increasingly fragile - hence we have decided to back it out for now. For reference: https://github.com/htop-dev/htop/issues/69 https://github.com/htop-dev/htop/pull/37 https://github.com/htop-dev/htop/pull/106 The whitespace changes also arrived in commit 12805f61d not sure what that was about, but backed out as well.
* Axe automated header generation.Zev Weiss2020-09-031-13/+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.
* add toggle for vim mode in optionsckath2020-08-291-0/+1
|
* Merge branch 'ci-hwloc-job' of https://github.com/bertwesarg/htop into ↵Nathan Scott2020-08-261-0/+3
| | | | bertwesarg-ci-hwloc-job
* Merge branch 'hishamhm-pull-932'Nathan Scott2020-08-201-0/+2
|\
| * Add a display option to hide CPU usage number from CPU meter.Arnavion2019-08-101-0/+1
| |
| * Add new display option to also show CPU frequency in CPU meters.Arnavion2019-08-091-0/+1
| | | | | | | | | | | | | | | | The option is only implemented on Linux. On other platforms, and on Linuxes that do not expose the relevant sysfs file, the frequency will be 0. The "CPU average" meter does not show a frequency, only the individual per-CPU meters.
* | Added option to enable/disable the mouse.MartinJM2019-07-121-1/+2
|/
* Mark some things as constRichard2017-07-221-1/+1
| | | | | | | Several string pointer arrays pointed to const strings but were not const themselves. A few various structures and arrays were also marked const.
* Try to make threads less confusing.Hisham2016-02-021-1/+1
|
* Check for failure in allocations.Hisham2016-02-021-14/+14
|
* Handle KEY_RECLICK events generated by ScreenManagerHisham Muhammad2015-08-271-0/+2
|
* Avoid future confusions with how default values are set.Hisham Muhammad2015-08-121-14/+14
|
* New setting: "Show program path"Tobias Geerinckx-Rice2015-08-071-0/+1
| | | | | | | | | Add a setting to hide all but the last component from the programme path, leaving only the "basename". Makes htop more usable on smaller screens, or systems with longer than average paths. Off by default. "Highlight program basename" will still be respected, to further visually separate process names from their arguments.
* Move FunctionBar inside PanelHisham Muhammad2015-03-231-1/+4
|
* Sorry about the mega-patch.Hisham Muhammad2015-01-211-16/+16
| | | | | This is a work-in-progress, code is currently broken. (Some actions, and notably, the header, are missing.)
* Make CPU meter optionally account guest time in its percentagesHisham Muhammad2013-12-181-0/+1
|
* Changes in object model: separate class objects to store vtable. Also, nicer ↵Hisham Muhammad2012-12-051-4/+10
| | | | UTF-8 display of big numbers.
* Option to update process names on every refreshHisham Muhammad2012-10-201-0/+1
| | | | | (thanks to Rob Hoelz)
* Remove old memory debugging routines. We have Valgrind nowadays.Hisham Muhammad2011-12-261-1/+0
|
* major header cleanupHisham Muhammad2011-12-261-4/+12
|

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