Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Unify naming of first argument of Platform_getBattery | Christian Göttsche | 2020-11-25 | 2 | -3/+3 |
| | | | | Use percent throughout | ||||
* | Merge branch 'cleanup-init-done' into master | Nathan Scott | 2020-11-23 | 2 | -6/+19 |
|\ | |||||
| * | Minor cleanups to platform-specific init and done | Nathan Scott | 2020-11-19 | 2 | -6/+19 |
| | | | | | | | | | | | | | | Move platform-specific code out of the htop.c main function and into the platform sub-directories - primarily this is the Linux procfs path check and sensors setup/teardown; not needed on any other platforms. No functional changes here. | ||||
* | | Reduce scope of totaltime | Benny Baumann | 2020-11-22 | 1 | -5/+6 |
| | | |||||
* | | Fix NULL pointer dereference on kstat_lookup failure | Benny Baumann | 2020-11-22 | 1 | -14/+12 |
| | | |||||
* | | Rename virtual memory column from M_SIZE to M_VIRT | Christian Göttsche | 2020-11-21 | 3 | -3/+3 |
|/ | | | | Closes: #325 | ||||
* | Merge individual Battery.[ch] files into Platform.[ch] | Nathan Scott | 2020-11-18 | 4 | -16/+7 |
| | | | | | Consistent with everything else involving platform-specific calls from core htop code. | ||||
* | Merge branch 'temperature_v2' of cgzones/htop | Daniel Lange | 2020-11-17 | 1 | -0/+1 |
|\ | | | | | | | | | Closes #111, closes #49 Closes #93 - thank you for leading the way @DX37 (Maxim Kurnosenko)! | ||||
| * | Show CPU temperature in CPU meter | Christian Göttsche | 2020-11-16 | 1 | -0/+1 |
| | | | | | | | | | | Show the CPU temperature in the CPU meter, like CPU frequency, instead of using an extra Meter. | ||||
* | | Add process column for normalized CPU usage | Christian Göttsche | 2020-11-16 | 1 | -0/+1 |
|/ | | | | Shows the process CPU usage divided by the number of CPU cores | ||||
* | Introduce spaceship comparison for Processes | Christian Göttsche | 2020-11-15 | 1 | -8/+10 |
| | | | | | | | | | | | | | | | If currently two unsigned values are compared via `a - b`, in the case b is actually bigger than a, the result will not be an negative number (as -1 is expected) but a huge positive number as the subtraction is an unsigned subtraction. Avoid over-/underflow affected operations; use comparisons. Modern compilers will generate sane code, like: xor eax, eax cmp rdi, rsi seta al sbb eax, 0 ret | ||||
* | Resolve merge conflicts, merge #298 "Macro cleanup" from @BenBE | Daniel Lange | 2020-11-15 | 4 | -89/+128 |
|\ | |||||
| * | Integrate NAN check into assignment | Benny Baumann | 2020-11-02 | 1 | -4/+1 |
| | | | | | | | | The check for NAN is kept to avoid relying on implementation details of the CLAMP macro/function | ||||
| * | Embracing branches | Benny Baumann | 2020-11-02 | 2 | -15/+37 |
| | | |||||
| * | Spacing around operators | Benny Baumann | 2020-11-02 | 4 | -50/+56 |
| | | |||||
| * | Whitespace and indentation issues | Benny Baumann | 2020-11-02 | 2 | -23/+37 |
| | | |||||
| * | Spacing after keywords (if) | Benny Baumann | 2020-11-02 | 1 | -1/+1 |
| | | |||||
* | | Split platform dependent parts for file locks screen | Benny Baumann | 2020-11-14 | 2 | -4/+24 |
|/ | |||||
* | FreeBSD: implement Platform_getDiskIO() | Christian Goettsche | 2020-10-29 | 2 | -7/+4 |
| | |||||
* | Unify function argument names | Christian Göttsche | 2020-10-28 | 2 | -7/+7 |
| | | | | | Name first argument of ProcessList_goThroughEntries consistently super Name first argument of ProcessList_new consistently userTable | ||||
* | Hold only a const version of Settings in Process | Christian Göttsche | 2020-10-26 | 3 | -4/+4 |
| | |||||
* | Mark process parameter of Process_writeField consistently const | Christian Göttsche | 2020-10-26 | 2 | -4/+4 |
| | |||||
* | Hold only a const version of the ProcessList in Meters | Christian Göttsche | 2020-10-26 | 1 | -6/+6 |
| | |||||
* | Improve handling of no data in Disk and Network IO Meters | Christian Göttsche | 2020-10-26 | 2 | -4/+10 |
| | |||||
* | Drop tabs in source indentions | Christian Göttsche | 2020-10-20 | 2 | -4/+4 |
| | |||||
* | Merge branch 'header_pause' of cgzones/htop | Daniel Lange | 2020-10-20 | 2 | -2/+7 |
|\ | | | | | | | Continue to update generic data in paused mode | ||||
| * | Continue to update generic data in paused mode | Christian Göttsche | 2020-10-19 | 2 | -2/+7 |
| | | | | | | | | | | | | | | | | | | Generic data, as CPU and memory usage, are used by Meters. In paused mode they would stop receiving updates and especially Graph Meters would stop showing continuous data. Improves: #214 Closes: #253 | ||||
* | | Cache PAGE_SIZE | Christian Göttsche | 2020-10-19 | 1 | -11/+14 |
|/ | | | | | | man:sysconf(3) states: The values obtained from these functions are system configuration constants. They do not change during the lifetime of a process. | ||||
* | Add NetworkIOMeter | Christian Göttsche | 2020-10-16 | 2 | -0/+16 |
| | |||||
* | Refactor generating starttime string into Process class | Christian Göttsche | 2020-10-16 | 1 | -6/+1 |
| | |||||
* | Mark remaining classes const | Christian Göttsche | 2020-10-13 | 2 | -2/+2 |
| | |||||
* | Centralise fault handling | Benny Baumann | 2020-10-12 | 2 | -48/+0 |
| | | | | This should be done as all platforms essentially did the same anyway and there was nothing platform specific. | ||||
* | Mark process argument of Process_isThread const | Christian Göttsche | 2020-10-09 | 2 | -3/+3 |
| | |||||
* | Some more locations for ARRAYSIZE | Benny Baumann | 2020-10-08 | 1 | -1/+2 |
| | |||||
* | Mark Object instances const | Christian Göttsche | 2020-10-07 | 2 | -2/+2 |
| | |||||
* | Mark Object classes and Object class fields const | Christian Göttsche | 2020-10-07 | 1 | -2/+2 |
| | |||||
* | Enable -Wcast-qual compiler warning | Christian Göttsche | 2020-10-06 | 1 | -6/+6 |
| | |||||
* | Merge branch 'update-license-and-copyright-info' | Nathan Scott | 2020-10-06 | 8 | -8/+8 |
|\ | |||||
| * | Update License consistently to GPLv2 as per COPYING file | Daniel Lange | 2020-10-05 | 8 | -8/+8 |
| | | |||||
* | | Add a date and datetime meter (#159) | Michael F. Schönitzer | 2020-10-05 | 1 | -0/+4 |
|/ | | | | | | 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 usage | Christian Göttsche | 2020-10-03 | 2 | -0/+7 |
| | |||||
* | CPUMeter: add octuple-column CPU meters. | multi | 2020-09-28 | 1 | -0/+3 |
| | | | | | | | This is a straightforward extension of the existing multi-column CPU meter code, which now allows for up CPU meters to be displayed in up to 16 columns. This also adds the meter declarations to all the platform-specific code. | ||||
* | Add missing 4-column CPU meters to non-Linux platforms. | multi | 2020-09-28 | 1 | -0/+3 |
| | |||||
* | Add -Wmissing-prototypes compiler warning | Christian Göttsche | 2020-09-25 | 2 | -2/+4 |
| | |||||
* | Update CPU freq display to use NAN on error | Benny Baumann | 2020-09-24 | 1 | -1/+1 |
| | |||||
* | Update battery API to use NAN on error | Benny Baumann | 2020-09-24 | 1 | -1/+2 |
| | |||||
* | Drop dead code after break | Christian Göttsche | 2020-09-24 | 1 | -8/+1 |
| | |||||
* | htop shows no used memory in Solaris zone | senjan | 2020-09-21 | 1 | -7/+13 |
| | |||||
* | htop crashes on Solaris 11.4 due to missing ZFS ARC kstats | senjan | 2020-09-21 | 1 | -7/+7 |
| | |||||
* | Mark noreturn functions | Christian Göttsche | 2020-09-18 | 2 | -1/+4 |
| |