summaryrefslogtreecommitdiffstats
path: root/CRT.h
Commit message (Collapse)AuthorAgeFilesLines
* Add support to change numeric options in settings screenChristian Göttsche2020-11-251-3/+1
| | | | Like delay or highlightDelaySecs
* Improving Command display/sortNarendran Gopalakrishnan2020-11-241-0/+3
|
* Show CPU temperature in CPU meterChristian Göttsche2020-11-161-0/+1
| | | | | 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
| |
* | Resolve merge conflicts, merge #229 "Add SystemdMeter" from @cgzonesDaniel Lange2020-11-151-1/+2
|\ \
| * | Add SystemdMeterChristian Göttsche2020-10-311-1/+2
| | |
* | | Spacing around operatorsBenny Baumann2020-11-021-1/+1
|/ /
* / Zram Meter featureMurloc Knight2020-10-311-0/+1
|/
* Improve handling of no data in Disk and Network IO MetersChristian Göttsche2020-10-261-0/+1
|
* Cache PAGE_SIZEChristian Göttsche2020-10-191-0/+3
| | | | | | man:sysconf(3) states: The values obtained from these functions are system configuration constants. They do not change during the lifetime of a process.
* Make all required includes explicitBenny Baumann2020-10-181-1/+5
| | | | Information as seen by IWYU 0.12 + clang 9 on Linux
* Generalize Meter value colors for IOChristian Göttsche2020-10-161-3/+3
|
* Misc CRT cleanupChristian Göttsche2020-10-141-19/+15
|
* Centralise fault handlingBenny Baumann2020-10-121-4/+1
| | | | This should be done as all platforms essentially did the same anyway and there was nothing platform specific.
* Add key to pause process list updatesChristian Göttsche2020-10-121-0/+1
|
* Merge branch 'update-license-and-copyright-info'Nathan Scott2020-10-061-1/+1
|\
| * Update License consistently to GPLv2 as per COPYING fileDaniel Lange2020-10-051-1/+1
| |
* | Add a date and datetime meter (#159)Michael F. Schönitzer2020-10-051-0/+2
|/ | | | | | Add a date meter and sort header and source files in Makefile Change the lists of header and source files sorted alphabetical and one file per line. This way diffs become better readable and merges easier.
* Add DiskIOMeter for IO read/write usageChristian Göttsche2020-10-031-0/+3
|
* Adjust colorsChristian Göttsche2020-10-021-5/+1
| | | | | | | | - do not reverse CPU steal and guest in monochrome - black on black in Light Terminal is not visible, use blue on black - white on blue in Light Terminal is display as blue on black, use yellow on black - re-draw FunctionBar after color change
* Drop redundant declarationsChristian Göttsche2020-09-291-2/+0
| | | | | | | | - `CRT_fatalError()` is declared twice in CRT.h - `Process_pidFormat`, `Process_writeField()` and `Process_compare` are declared twice in Process.h - `btime` is defined in LinuxProcess.c and also declared in LinuxProcess.h, so drop in LinuxProcessList.h
* Avoid checking of undefined macrosChristian Göttsche2020-09-181-3/+3
| | | | | These feature macros are either define or not defined at all at the configure step.
* Use strict function prototypesChristian Göttsche2020-09-181-6/+6
| | | | int foo(); declares a function taking any number of arguments.
* Refactor __attribute__ usageChristian Göttsche2020-09-181-1/+3
| | | | Use internal macros for compatibility with non GNUC compilers.
* Enhance highlighting of semi-large and large numbersBenny Baumann2020-09-171-0/+1
|
* Allow third party sigsegv handlerChristian Göttsche2020-09-171-0/+1
| | | | For example from sanitizers.
* Alignment tweakHugo Musso Gualandi2020-09-121-2/+2
|
* Clean up some code duplication in the header filesHugo Musso Gualandi2020-09-121-26/+1
| | | | | | | | | | | | | PR htop-dev/htop#70 got rid of the infrastructure for generating header files, but it left behind some code duplication. Some of cases are things that belong in the header file and don't need to be repeated in the C file. Other cases are things that belong in the C file and don't need to be in the header file. In this commit I tried to fix all of these that I could find. When given a choice I preferred keeping things out of the header file, unless they were being used by someone else.
* Further, minor cleanups to headers post-MakeHeadersNathan Scott2020-09-081-2/+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-11/+11
| | | | | | | | 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.
* add option (-U, --no-unicode) to disable unicode at runtimeChristian Hesse2020-09-011-1/+1
|
* Revert "Use UTF-8 for check buttons and tree open/closed"Bert Wesarg2020-08-311-26/+2
| | | | This reverts commit 5d5913d355b3a9f03da589b3542b8f55467b4ed6.
* Merge branch 'ci-hwloc-job' of https://github.com/bertwesarg/htop into ↵Nathan Scott2020-08-261-2/+26
| | | | bertwesarg-ci-hwloc-job
* Merge branch 'hishamhm-pull-920'3.0.0rc1Nathan Scott2020-08-201-0/+7
|\
| * Support for ZFS Compressed ARC statisticsRoss Williams2019-09-031-0/+2
| |
| * Support ZFS ARC stats on FreeBSDRoss Williams2019-07-071-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | New meter displays same ARC stats as FreeBSD top(1). Can be extended to other platforms that support ZFS. Pulling kstat.zfs.misc.arcstats.c_max as the meter total, so the meter has a meaningful value to work up to. The Text meter displays, first, the maximum ARC size (Meter.total), then second, the total ARC used, using the difference between Meter.maxItems and Meter.curItems to "hide" the used value from the Bar and Graph drawing functions by using an index in Meter.values[] that is beyond curItems - 1, but less than maxItems - 1.
* | Merge branch 'hishamhm-pull-914'Nathan Scott2020-08-201-1/+1
|\ \
| * | CPU_KERNEL redefinedsenjan2019-05-261-1/+1
| |/
* | Merge branch 'hishamhm-pull-890'Nathan Scott2020-08-201-0/+3
| |
* | Resolve complation issues with -fno-common (default from gcc-10)Nathan Scott2020-07-101-14/+14
|/ | | | | | | Extends the MakeHeader script to auto-generate correct "extern" function declarations in some cases that it currently does not. Related to https://github.com/hishamhm/htop/pull/981
* Fix color behavior on some terminals.Hisham Muhammad2018-02-051-0/+1
| | | | Fixes #635.
* Security review: make privilege dropping-restoring optional.Hisham Muhammad2017-07-261-0/+22
| | | | | | | This is/was necessary only on macOS, because you needed root in order to read the process list. This was never necessary on Linux, and it also raises security concerns, so now it needs to be enabled explicitly at build time.
* Work around the strange behavior of gray.Hisham2017-05-231-1/+5
|
* Avoid overlapping key values defined by curses (Real fix).Explorer092016-03-091-1/+1
| | | | Real fix for issue #438.
* Avoid overlapping key values defined by curses.Hisham2016-03-081-1/+1
| | | | Closes #438.
* Fix behavior of ESC key, getting rid of the annoying delay.Hisham2016-02-191-0/+2
| | | | | Thank you @Explorer09 for the push! Closes #417.
* Merge pull request #221 from eworm-de/define-array-sizeHisham Muhammad2015-08-201-2/+6
|\ | | | | use a define for graphical meter array size
| * remove UTF-8 code when compiling with --disable-unicodeChristian Hesse2015-08-191-2/+6
| |

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