Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Group the "Merge Command" related options visually | Benny Baumann | 2020-11-24 | 1 | -2/+2 | |
| | | ||||||
* | | Refactor command string creation | Benny Baumann | 2020-11-24 | 2 | -76/+118 | |
| | | | | | | | | Hopefully this patch makes it a bit more approachable how it's done. | |||||
* | | Make kernel thread display for COMM/EXE columns less visible and more consistent | Benny Baumann | 2020-11-24 | 1 | -4/+4 | |
| | | ||||||
* | | Minor indentation fix | Benny Baumann | 2020-11-24 | 1 | -1/+1 | |
| | | ||||||
* | | Reduce visual noise to when comm and cmdline actually disagree on the ↵ | Benny Baumann | 2020-11-24 | 1 | -4/+9 | |
| | | | | | | | | program basename | |||||
* | | Assume full basename matches COMM when matching full COMM buffer | Narendran Gopalakrishnan | 2020-11-24 | 1 | -2/+1 | |
| | | ||||||
* | | Include merge status with column title when enabled | Narendran Gopalakrishnan | 2020-11-24 | 1 | -4/+5 | |
| | | ||||||
* | | Cleanup some documentation | Narendran Gopalakrishnan | 2020-11-24 | 2 | -2/+2 | |
| | | ||||||
* | | Add heuristic for space-separated cmdline | Benny Baumann | 2020-11-24 | 1 | -5/+91 | |
| | | ||||||
* | | Compatibility function for faccessat | Benny Baumann | 2020-11-24 | 4 | -1/+43 | |
| | | ||||||
* | | Improving Command display/sort | Narendran Gopalakrishnan | 2020-11-24 | 18 | -16/+593 | |
| | | ||||||
* | | LinuxProcess_adjustTime: simplify by not using double | Christian Göttsche | 2020-11-24 | 1 | -8/+6 | |
| | | | | | | | | Does not work with -ffast-math else. | |||||
* | | Move treeView setting to make status bar item correct when using --sort-key, ↵ | Daniel Lange | 2020-11-24 | 1 | -5/+5 | |
| | | | | | | | | | | | | patch from @cgzones Closes #340 | |||||
* | | LinuxProcessList: fix misspelling | Christian Göttsche | 2020-11-24 | 1 | -1/+1 | |
| | | ||||||
* | | DarwinProcessList: retry getting list of all processes on ENOMEM | Christian Göttsche | 2020-11-23 | 1 | -17/+15 | |
| | | | | | | | | | | | | | | | | | | | | | | The process count might change between the two sysctl() calls getting the size and getting the data. Retry (3 times) in case the data-retrieval sysctl() call fails with ENOMEM. see http://mirror.informatimago.com/next/developer.apple.com/qa/qa2001/qa1123.html Related: #118 | |||||
* | | Linux: fix display of new thread for one cycle when hidden | Christian Göttsche | 2020-11-23 | 1 | -2/+3 | |
|/ | ||||||
* | Merge branch 'cleanup-init-done' into master | Nathan Scott | 2020-11-23 | 15 | -86/+158 | |
|\ | ||||||
| * | Consistent ordering of function declarations for FreeBSD | Nathan Scott | 2020-11-23 | 1 | -2/+2 | |
| | | ||||||
| * | Add whitespace to improve Linux Platform_init readability | Nathan Scott | 2020-11-19 | 1 | -0/+1 | |
| | | ||||||
| * | Minor cleanups to platform-specific init and done | Nathan Scott | 2020-11-19 | 15 | -85/+156 | |
| | | | | | | | | | | | | | | 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. | |||||
* | | LinuxProcessList: skip parsing threads if the kind of thread is disabled | Christian Göttsche | 2020-11-22 | 1 | -2/+23 | |
| | | ||||||
* | | Reduce scope of cached values | Benny Baumann | 2020-11-22 | 2 | -7/+10 | |
| | | ||||||
* | | Object: assert callbacks exists | Christian Göttsche | 2020-11-22 | 1 | -3/+7 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Improves stacktraces. Current stacktrace: ./htop(backtrace+0x5b)[0x45d98b] ./htop(CRT_handleSIGSEGV+0x189)[0x4eb5e9] /lib/x86_64-linux-gnu/libpthread.so.0(+0x14140)[0x7fbbfb1ea140] New: ./htop(backtrace+0x5b)[0x45d98b] ./htop(CRT_handleSIGSEGV+0x189)[0x4eb7f9] /lib/x86_64-linux-gnu/libpthread.so.0(+0x14140)[0x7f62b0a65140] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x141)[0x7f62b089ac41] /lib/x86_64-linux-gnu/libc.so.6(abort+0x123)[0x7f62b0884537] /lib/x86_64-linux-gnu/libc.so.6(+0x2540f)[0x7f62b088440f] /lib/x86_64-linux-gnu/libc.so.6(+0x345c2)[0x7f62b08935c2] ./htop(Vector_delete+0x873)[0x54b303] ./htop(Panel_done+0x7b)[0x51abbb] ./htop[0x4ed8ee] ./htop(Vector_delete+0x414)[0x54aea4] ./htop(ScreenManager_delete+0x37)[0x536ea7] ./htop[0x4d9d1a] ./htop[0x4d5516] ./htop[0x5078d7] ./htop(ScreenManager_run+0x69f)[0x5388bf] ./htop(main+0x7c6)[0x4fcf76] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xea)[0x7f62b0885cca] ./htop(_start+0x2a)[0x42688a] | |||||
* | | Reduce scope of local variables | Benny Baumann | 2020-11-22 | 4 | -16/+10 | |
| | | ||||||
* | | Simplify code flow by inlining declarations where they are used | Benny Baumann | 2020-11-22 | 1 | -14/+7 | |
| | | | | | | | | Note that xStrdup always returns non-NULL, thus the one error case cannot be reached. | |||||
* | | No need to check for change when no action is required | Benny Baumann | 2020-11-22 | 2 | -7/+4 | |
| | | ||||||
* | | 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 | |
| | | ||||||
* | | Fix build for custom make targets | Benny Baumann | 2020-11-21 | 1 | -3/+3 | |
| | | ||||||
* | | Simplify page size related calculations | Christian Göttsche | 2020-11-21 | 2 | -2/+2 | |
| | | ||||||
* | | Rename virtual memory column from M_SIZE to M_VIRT | Christian Göttsche | 2020-11-21 | 22 | -29/+29 | |
| | | | | | | | | Closes: #325 | |||||
* | | LinuxProcess: mark LinuxProcess_printDelay static | Christian Göttsche | 2020-11-21 | 2 | -5/+1 | |
| | | ||||||
* | | fix indent | Christian Göttsche | 2020-11-21 | 1 | -1/+1 | |
| | | ||||||
* | | Remove unnecessary parens | Benny Baumann | 2020-11-21 | 1 | -1/+1 | |
| | | ||||||
* | | IWYU update (FreeBSD) | Christian Goettsche | 2020-11-19 | 14 | -52/+63 | |
| | | ||||||
* | | IWYU update (Linux) | Christian Göttsche | 2020-11-19 | 18 | -31/+48 | |
|/ | ||||||
* | Add missing OpenBSD battery function declaration | Nathan Scott | 2020-11-19 | 1 | -0/+2 | |
| | ||||||
* | Spelling corrections | Christian Göttsche | 2020-11-18 | 2 | -5/+5 | |
| | ||||||
* | Align command line argument descriptions in help output | Christian Göttsche | 2020-11-18 | 1 | -11/+10 | |
| | | | | Also drop #link comment | |||||
* | Merge individual Battery.[ch] files into Platform.[ch] | Nathan Scott | 2020-11-18 | 2 | -7/+6 | |
| | | | | | Small changes from review - keep headers sorted and keep local variable declarations at the top of source files. | |||||
* | Merge individual Battery.[ch] files into Platform.[ch] | Nathan Scott | 2020-11-18 | 29 | -693/+515 | |
| | | | | | Consistent with everything else involving platform-specific calls from core htop code. | |||||
* | DarwinProcessList: mark local functions static and sort includes | Christian Göttsche | 2020-11-17 | 2 | -39/+22 | |
| | ||||||
* | DarwinProcess: mark local function static and sort includes | Christian Göttsche | 2020-11-17 | 2 | -12/+10 | |
| | ||||||
* | Use 0 as no-match value for sortkey | Christian Göttsche | 2020-11-17 | 1 | -2/+2 | |
| | | | | | Field numbers start at 1, and using -1 as no-match special value triggers static analyzers using a potential negative array access. | |||||
* | Silence theoretical memory leak | Christian Göttsche | 2020-11-17 | 1 | -1/+3 | |
| | | | | In practice systemctl should never return multiple SystemState= lines. | |||||
* | Merge branch 'temperature_v2' of cgzones/htop | Daniel Lange | 2020-11-17 | 19 | -23/+220 | |
|\ | | | | | | | | | 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 | 19 | -23/+220 | |
| | | | | | | | | | | Show the CPU temperature in the CPU meter, like CPU frequency, instead of using an extra Meter. | |||||
* | | Avoid calling Object_isA from inside Vector_isConsistent | Benny Baumann | 2020-11-17 | 3 | -11/+8 | |
| | | ||||||
* | | Hashtable: use dynamic growth and use primes as size | Christian Göttsche | 2020-11-17 | 3 | -73/+209 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | Dynamically increase the hashmap size to not exceed the load factor and avoid too long chains. Switch from Separate Chaining to Robin Hood linear probing to improve cache locality. Use primes as size to further avoid collisions. E.g. on a standard kde system the number of entries in the ProcessTable might be around 650. | |||||
* | | Hashtable update | Christian Göttsche | 2020-11-17 | 5 | -29/+31 | |
| | | | | | | | | | | | | - use consistent type for key by introducing a new typedef - use unsigned types for sizes - name parameters in foreach function typedef |