summaryrefslogtreecommitdiffstats
path: root/CRT.h
AgeCommit message (Collapse)Author
2020-11-25Add support to change numeric options in settings screenChristian Göttsche
Like delay or highlightDelaySecs
2020-11-24Improving Command display/sortNarendran Gopalakrishnan
2020-11-16Show CPU temperature in CPU meterChristian Göttsche
Show the CPU temperature in the CPU meter, like CPU frequency, instead of using an extra Meter.
2020-11-16Merge branch 'hili-new-old' of adsr/htop into highlight-new-old-processesDaniel Lange
2020-11-15Resolve merge conflicts, merge #229 "Add SystemdMeter" from @cgzonesDaniel Lange
2020-11-02Spacing around operatorsBenny Baumann
2020-10-31Add SystemdMeterChristian Göttsche
2020-10-31Zram Meter featureMurloc Knight
2020-10-30Highlight new and old processes (#74)Adam Saponara
2020-10-26Improve handling of no data in Disk and Network IO MetersChristian Göttsche
2020-10-19Cache PAGE_SIZEChristian Göttsche
man:sysconf(3) states: The values obtained from these functions are system configuration constants. They do not change during the lifetime of a process.
2020-10-18Make all required includes explicitBenny Baumann
Information as seen by IWYU 0.12 + clang 9 on Linux
2020-10-16Generalize Meter value colors for IOChristian Göttsche
2020-10-14Misc CRT cleanupChristian Göttsche
2020-10-12Centralise fault handlingBenny Baumann
This should be done as all platforms essentially did the same anyway and there was nothing platform specific.
2020-10-12Add key to pause process list updatesChristian Göttsche
2020-10-06Merge branch 'update-license-and-copyright-info'Nathan Scott
2020-10-05Add a date and datetime meter (#159)Michael F. Schönitzer
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.
2020-10-05Update License consistently to GPLv2 as per COPYING fileDaniel Lange
2020-10-03Add DiskIOMeter for IO read/write usageChristian Göttsche
2020-10-02Adjust colorsChristian Göttsche
- 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
2020-09-29Drop redundant declarationsChristian Göttsche
- `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
2020-09-18Avoid checking of undefined macrosChristian Göttsche
These feature macros are either define or not defined at all at the configure step.
2020-09-18Use strict function prototypesChristian Göttsche
int foo(); declares a function taking any number of arguments.
2020-09-18Refactor __attribute__ usageChristian Göttsche
Use internal macros for compatibility with non GNUC compilers.
2020-09-17Enhance highlighting of semi-large and large numbersBenny Baumann
2020-09-17Allow third party sigsegv handlerChristian Göttsche
For example from sanitizers.
2020-09-12Alignment tweakHugo Musso Gualandi
2020-09-12Clean up some code duplication in the header filesHugo Musso Gualandi
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.
2020-09-08Further, minor cleanups to headers post-MakeHeadersNathan Scott
Remove leftover empty ifdef/endif pairs, whitespace. The generated htop.h file was also unused - removed.
2020-09-03Remove superfluous 'extern's from function declarations.Zev Weiss
Applied via: $ find * -name '*.h' -exec sed -i -r 's/^extern (.+\()/\1/;' {} + Suggested-by: Bert Wesarg <bert.wesarg@googlemail.com>
2020-09-03Axe automated header generation.Zev Weiss
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.
2020-09-01add option (-U, --no-unicode) to disable unicode at runtimeChristian Hesse
2020-08-31Revert "Use UTF-8 for check buttons and tree open/closed"Bert Wesarg
This reverts commit 5d5913d355b3a9f03da589b3542b8f55467b4ed6.
2020-08-26Merge branch 'ci-hwloc-job' of https://github.com/bertwesarg/htop into ↵Nathan Scott
bertwesarg-ci-hwloc-job
2020-08-20Merge branch 'hishamhm-pull-920'3.0.0rc1Nathan Scott
2020-08-20Merge branch 'hishamhm-pull-914'Nathan Scott
2020-08-20Merge branch 'hishamhm-pull-890'Nathan Scott
2020-07-10Resolve complation issues with -fno-common (default from gcc-10)Nathan Scott
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
2019-09-03Support for ZFS Compressed ARC statisticsRoss Williams
2019-07-07Support ZFS ARC stats on FreeBSDRoss Williams
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.
2019-05-26CPU_KERNEL redefinedsenjan
2018-02-05Fix color behavior on some terminals.Hisham Muhammad
Fixes #635.
2017-07-26Security review: make privilege dropping-restoring optional.Hisham Muhammad
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.
2017-05-23Work around the strange behavior of gray.Hisham
2016-03-09Avoid overlapping key values defined by curses (Real fix).Explorer09
Real fix for issue #438.
2016-03-08Avoid overlapping key values defined by curses.Hisham
Closes #438.
2016-02-19Fix behavior of ESC key, getting rid of the annoying delay.Hisham
Thank you @Explorer09 for the push! Closes #417.
2015-08-20Merge pull request #221 from eworm-de/define-array-sizeHisham Muhammad
use a define for graphical meter array size
2015-08-19Add expand/collapse on additional clicks!Hisham Muhammad