summaryrefslogtreecommitdiffstats
path: root/Settings.h
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Separate tree and list sort ordersHisham Muhammad2020-12-191-0/+14
| | | | | | | | | | | | 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-0/+1
|
* IWYU updateChristian Göttsche2020-12-061-0/+1
|
* Dynamically load libsensors at runtimeChristian Göttsche2020-12-021-1/+1
|
* Calculate library size (M_LRS column) from maps fileFynn Wulf2020-11-261-1/+1
|
* Improving Command display/sortNarendran Gopalakrishnan2020-11-241-0/+3
|
* 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.
* Merge branch 'hili-new-old' of adsr/htop into highlight-new-old-processesDaniel Lange2020-11-161-0/+2
|\
| * Highlight new and old processes (#74)Adam Saponara2020-10-301-0/+2
| |
* | Drop hideThreads SettingChristian Göttsche2020-11-151-1/+0
|/ | | | | It is only used to read process directories on RedHat beginning with a dot. Unconditionally accept directories with a starting dot.
* Merge branch 'number-cpus-from-zero' of zevweiss/htopDaniel Lange2020-10-201-2/+2
|\ | | | | | | | | * 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-2/+2
| | | | | | | | | | | | | | | | | | | | | | 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-1/+4
| | | | | | | | Information as seen by IWYU 0.12 + clang 9 on Linux
* | Settings: do not save initial cpu countChristian Göttsche2020-10-121-2/+1
| | | | | | | | Not needed and confusing with ProcessList.cpuCount
* | Update License consistently to GPLv2 as per COPYING fileDaniel Lange2020-10-051-1/+1
| |
* | Sort headers/includesBenny Baumann2020-09-291-1/+2
|/
* Revert the vim_mode setting for now, needs a rethinkNathan Scott2020-09-151-2/+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.
* Further, minor cleanups to headers post-MakeHeadersNathan Scott2020-09-081-3/+0
| | | | | Remove leftover empty ifdef/endif pairs, whitespace. The generated htop.h file was also unused - removed.
* Remove superfluous 'extern's from function declarations.Zev Weiss2020-09-031-4/+4
| | | | | | | | Applied via: $ find * -name '*.h' -exec sed -i -r 's/^extern (.+\()/\1/;' {} + Suggested-by: Bert Wesarg <bert.wesarg@googlemail.com>
* Axe automated header generation.Zev Weiss2020-09-031-2/+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-0/+3
| | | | bertwesarg-ci-hwloc-job
* Merge branch 'hishamhm-pull-959'Nathan Scott2020-08-201-0/+1
|\
| * Fix whitespaceDaniel Flanagan2019-10-311-1/+1
| |
| * Add simple vim modeDaniel Flanagan2019-10-311-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds a "vim_mode" setting (false/`0` by default) that causes keys to be remapped in the following way by the `ScreenManager`: + h -> LEFT + j -> DOWN + k -> UP + l -> RIGHT + LEFT -> h (toggle help) + DOWN -> j (noop) + UP -> k (open kill menu) + RIGHT -> l (lsof current process) + K (Shift+K) -> k (open kill menu) + J (Shift+J) -> K (toggle show/hide kernel threads) + L (Shift+L) -> l (lsof current process) I couldn't figure out where the manpage documentation is in the repo, though I admittedly did not look particularly hard. I believe this change would be a welcome option for heavy vim users like myself who would like a familiar way to get around in htop.
* | 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.
* | Merge branch 'hishamhm-pull-923'Nathan Scott2020-08-201-0/+1
|\ \
| * | Added an option to disable the mouse.MartinJM2019-07-121-1/+2
| |/
* | Merge branch 'hishamhm-pull-960'Nathan Scott2020-08-201-1/+1
|\ \
| * | Clean up existing whitespaceDaniel Flanagan2019-10-311-1/+1
| |/
* / Re-generate all headers with latest scripts/MakeHeader.pyNathan Scott2020-08-181-4/+4
|/ | | | Sync-up missing extern declarations for many functions.
* Merge pull request #148 from nckx/display-basenameHisham Muhammad2015-08-121-0/+1
|\ | | | | [PATCH] New setting: "Show program path"
| * 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.
* | Update Settings.hHisham Muhammad2015-08-121-0/+1
|/
* Another mega-patch for the refactoring process.Hisham Muhammad2015-01-231-1/+1
| | | | | Kinda runs, but functionality from the original main loop is still missing. Patience.
* Sorry about the mega-patch.Hisham Muhammad2015-01-211-6/+39
| | | | | This is a work-in-progress, code is currently broken. (Some actions, and notably, the header, are missing.)
* alignment improvementsHisham Muhammad2014-02-271-1/+1
|
* major header cleanupHisham Muhammad2011-12-261-7/+3
|
* Use strdup explicitlyHisham Muhammad2011-12-251-0/+1
|
* Mega-commit with features and tweaks for 1.0:Hisham Muhammad2011-11-181-1/+1
| | | | | | | | | | | * Performance improvements * Support for splitting CPU meters into two or four columns (thanks to Wim Heirman) * Switch from PLPA, which is now deprecated, to HWLOC. * Bring back support for native Linux sched_setaffinity, so we don't have to use HWLOC where we don't need to. * Support for typing in user names and column fields in selection panels.
* Tempus fugit.Hisham Muhammad2011-05-261-1/+1
|
* Tempus fugit.Hisham Muhammad2010-02-251-1/+1
|
* Clean up headers by using 'static' whenever possible.Hisham Muhammad2008-03-091-4/+2
| | | | | Reduces resulting code size.
* Regenerated all headers.Hisham Muhammad2006-06-061-3/+1
|
* - Overhaul meters implementation;Hisham Muhammad2006-04-101-3/+5
| | | | | | - add AllCPUsMeter; - because of that, the new .htoprc is incompatible with previous released versions.
* Initial import.Hisham Muhammad2006-03-041-0/+39

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