summaryrefslogtreecommitdiffstats
path: root/CRT.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix white text in the Light Terminal colour schemeV2021-01-111-7/+12
|
* Merge branch 'light_color' of cgzones/htopDaniel Lange2021-01-081-21/+21
|\
| * Revert color change on LightTerminalChristian Göttsche2021-01-081-21/+21
| | | | | | | | | | | | | | | | | | Partially revert 4b14ab9789eee004daab8594ac00a113c18af060 ColorPair(Black,Black) is not actually black on black, but due to adjustments in CRT_setColors() black on default-background-color. Thanks to V for reporting.
* | Refactor crash handler message to avoid embedded directiveChristian Göttsche2021-01-081-3/+11
|/ | | | | | | | | | | | | | | | | | | | | | CRT.c:821:2: error: embedding a directive within macro arguments has undefined behavior [-Werror,-Wembedded-directive] #ifdef HAVE_EXECINFO_H ^ CRT.c:823:2: error: embedding a directive within macro arguments has undefined behavior [-Werror,-Wembedded-directive] #endif ^ CRT.c:858:2: error: embedding a directive within macro arguments has undefined behavior [-Werror,-Wembedded-directive] #ifdef HTOP_DARWIN ^ CRT.c:862:2: error: embedding a directive within macro arguments has undefined behavior [-Werror,-Wembedded-directive] #endif ^ CRT.c:864:2: error: embedding a directive within macro arguments has undefined behavior [-Werror,-Wembedded-directive] #ifdef HTOP_DARWIN ^ CRT.c:868:2: error: embedding a directive within macro arguments has undefined behavior [-Werror,-Wembedded-directive] #endif ^
* Show arrow indicating order of sorted process columnChristian Göttsche2021-01-071-0/+4
|
* CRT: add METER_VALUE_ERROR and adjust some METER_VALUE_WARN colorsChristian Göttsche2020-12-261-2/+8
|
* Enable going back to previous search matches (Shift-F3)Daniel Lange2020-12-251-0/+1
|
* Misc CRT cleanupChristian Göttsche2020-12-141-26/+22
|
* Cull the definitions of pageSize and pageSizeKB from CRT.cNathan Scott2020-12-101-8/+0
| | | | | | | | | | | | | | | By storing the per-process m_resident and m_virt values in the form htop wants to display them in (KB, not pages), we no longer need to have definitions of pageSize and pageSizeKB in the common CRT code. These variables were never really CRT (i.e. display) related in the first place. It turns out the darwin platform code doesn't need to use these at all (the process values are extracted from the kernel in bytes not pages) and the other platforms can each use their own local pagesize variables, in more appropriate locations. Some platforms were actually already doing this, so this change is removing duplication of logic and variables there.
* IWYU updateChristian Göttsche2020-12-061-1/+0
|
* Hide degree character without wide ncurses supportChristian Göttsche2020-12-051-1/+1
|
* Resolve conversion from int to shortChristian Göttsche2020-12-051-7/+5
|
* Set locale only once and do not override it laterChristian Göttsche2020-12-021-3/+0
|
* Compare indices not index with pairChristian Göttsche2020-12-021-1/+1
| | | | | | Fixes always true condition. Found by LGTM.com
* Use enum element name instead of magic numberChristian Göttsche2020-12-021-1/+2
|
* Add support to change numeric options in settings screenChristian Göttsche2020-11-251-6/+6
| | | | Like delay or highlightDelaySecs
* Improving Command display/sortNarendran Gopalakrishnan2020-11-241-0/+18
|
* Show CPU temperature in CPU meterChristian Göttsche2020-11-161-0/+19
| | | | | Show the CPU temperature in the CPU meter, like CPU frequency, instead of using an extra Meter.
* Fix whitespace before comma in the new color definitionsDaniel Lange2020-11-161-10/+10
|
* Merge branch 'hili-new-old' of adsr/htop into highlight-new-old-processesDaniel Lange2020-11-161-0/+12
|\
| * Highlight new and old processes (#74)Adam Saponara2020-10-301-0/+12
| |
* | Fixup of SystemdMeter mergeChristian Göttsche2020-11-151-5/+10
| |
* | Resolve merge conflicts, merge #229 "Add SystemdMeter" from @cgzonesDaniel Lange2020-11-151-1/+2
|\ \
| * | Add SystemdMeterChristian Göttsche2020-10-311-6/+12
| | |
* | | Embracing branchesBenny Baumann2020-11-021-5/+11
| | |
* | | Spacing around operatorsBenny Baumann2020-11-021-369/+369
| | |
* | | Spacing after keywords (if)Benny Baumann2020-11-021-2/+2
|/ /
* / Zram Meter featureMurloc Knight2020-10-311-0/+6
|/
* Improve handling of no data in Disk and Network IO MetersChristian Göttsche2020-10-261-0/+6
|
* Merge branch 'Xalloc_Cleanup' of cgzones/htopDaniel Lange2020-10-201-1/+1
|\
| * XUtils string related updatesChristian Göttsche2020-10-191-1/+1
| | | | | | | | | | | | | | | | | | | | - allow count out-parameter of String_split() to be NULL - introduce xStrndup() - do not allow NULL pointers passed to String_eq() it is not used in any code - implement String_startsWith(), String_contains_i() and String_eq() as inline header functions - adjust several conversion issues
* | Cache PAGE_SIZEChristian Göttsche2020-10-191-0/+7
|/ | | | | | 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-10/+8
| | | | Information as seen by IWYU 0.12 + clang 9 on Linux
* Rename StringUtils.[ch] to XUtils.[ch]Benny Baumann2020-10-161-1/+1
|
* Generalize Meter value colors for IOChristian Göttsche2020-10-161-18/+18
|
* Misc CRT cleanupChristian Göttsche2020-10-141-36/+19
|
* Centralise fault handlingBenny Baumann2020-10-121-7/+105
| | | | 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-1/+7
|
* 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/+10
|/ | | | | | 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.
* Resolve DEBUG compilation issuesChristian Göttsche2020-10-031-2/+2
| | | | | | | Use NDEBUG conditional instead of DEBUG. Do not call static functions in extern inline ones. Vector.c:67:11: error: static function 'Vector_isConsistent' is used in an inline function with external linkage [-Werror,-Wstatic-in-inline]
* Add DiskIOMeter for IO read/write usageChristian Göttsche2020-10-031-0/+18
|
* Adjust colorsChristian Göttsche2020-10-021-27/+27
| | | | | | | | - 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
* Mark noreturn functionsChristian Göttsche2020-09-181-0/+1
|
* Avoid checking of undefined macrosChristian Göttsche2020-09-181-4/+4
| | | | | These feature macros are either define or not defined at all at the configure step.
* Enhance highlighting of semi-large and large numbersBenny Baumann2020-09-171-0/+6
|
* Allow third party sigsegv handlerChristian Göttsche2020-09-171-1/+7
| | | | For example from sanitizers.
* Clean up some code duplication in the header filesHugo Musso Gualandi2020-09-121-10/+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.

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