summaryrefslogtreecommitdiffstats
path: root/DisplayOptionsPanel.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Use strdup explicitlyHisham Muhammad2011-12-251-11/+11
|
* * Option for counting CPUs from zeroHisham Muhammad2011-03-221-0/+2
| | | | | | (thanks to Sean Noonan) * Meters update in every screen (no longer halting while on Setup, etc.)
* Use a more correct name for memory option.Hisham Muhammad2010-11-201-1/+1
| | | | | | | User 'sworddragon' in sf.net points out that highlighting '90' in '90000' is not highlighting a "megabyte", since 90000 is not 90MB. Closes #3094939.
* add support for steal/guest CPU time measurementHisham Muhammad2010-08-241-1/+1
| | | | | | simplify processor data accounting (add CPUData structure) remove Process_clone trick
* show custom thread namesHisham Muhammad2010-02-251-0/+1
|
* Let mouseclicks tick/untick checkboxesHisham Muhammad2008-05-071-0/+1
|
* Clean up headers by using 'static' whenever possible.Hisham Muhammad2008-03-091-25/+24
| | | | | Reduces resulting code size.
* BUGFIX: Fix display of CPU count for threaded processes.Hisham Muhammad2008-03-081-0/+1
| | | | | | | | | | When user threads are hidden, process now shows the sum of processor usage for all processors. When user threads are displayed, each thread shows its own processor usage, including the root thread. (thanks to Bert Wesarg for the report) Also, add option to display thread colors differently.
* IO-wait time now counts as idle time, which is a moreHisham Muhammad2007-11-091-1/+1
| | | | | | | accurate description. It is still available in split time, now called detailed CPU time. (thanks to Samuel Thibault for the report)

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