Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-12-03 | Fix sensors configure argument | Christian Göttsche | |
2020-12-03 | ci: use clang-11 | Christian Göttsche | |
2020-12-03 | ci: use correct configure flags for sensors | Christian Göttsche | |
2020-12-03 | Linux: avoid float division by 0 after system sleep | Christian Göttsche | |
linux/LinuxProcessList.c:1403:63: runtime error: division by zero SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior linux/LinuxProcessList.c:1403:63 in | |||
2020-12-03 | Silence possible NULL dereference | Christian Göttsche | |
Found by compiling with LTO ProcessList.c: In function ‘ProcessList_updateTreeSetLayer’: ProcessList.c:195:15: error: potential null pointer dereference [-Werror=null-dereference] 195 | if (proc->tree_depth == deep && proc->tree_left > left && proc->tree_right < right) { | ^ ProcessList.c:195:15: error: potential null pointer dereference [-Werror=null-dereference] ProcessList.c:195:15: error: potential null pointer dereference [-Werror=null-dereference] | |||
2020-12-03 | Add Linux cwd process column | Christian Göttsche | |
2020-12-02 | Minor code streamlining | Benny Baumann | |
2020-12-02 | Some minor spelling issues | Benny Baumann | |
2020-12-02 | Avoid expensive build of tree when not using it | Benny Baumann | |
2020-12-02 | Avoid useless search for pid 0 | Benny Baumann | |
2020-12-02 | Reorder field initialization to group fields by task | Benny Baumann | |
2020-12-02 | Code style cleanup and documentation/comments | Benny Baumann | |
2020-12-02 | Use common values for initial size estimates for Hashtables | Benny Baumann | |
2020-12-02 | Fix issue with inconsistent displayTreeSet | Maxim Zhiburt | |
2020-12-02 | Implement sorting in tree mode | Maxim Zhiburt | |
2020-12-02 | Set locale only once and do not override it later | Christian Göttsche | |
2020-12-02 | Dynamically load libsensors at runtime | Christian Göttsche | |
2020-12-02 | Add xReadfile wrapper for reading small to medium size files | Christian Göttsche | |
Inspired by proposed Linux syscall Avoid file descriptor leaks like 4af8c63f | |||
2020-12-02 | PressureStallMeter: improve display strings | Christian Göttsche | |
- Shorten name for header setup menu - Improve caption in bar mode | |||
2020-12-02 | Meter: document MeterClass string fields | Christian Göttsche | |
2020-12-02 | Use String_eq for readability and consistency | Christian Göttsche | |
2020-12-02 | Add cast to unsigned char to avoid signed char misuse | Christian Göttsche | |
2020-12-02 | Merge identical conditional branches | Christian Göttsche | |
2020-12-02 | Drop redundant return statements | Christian Göttsche | |
2020-12-02 | Compare indices not index with pair | Christian Göttsche | |
Fixes always true condition. Found by LGTM.com | |||
2020-12-02 | Use enum element name instead of magic number | Christian Göttsche | |
2020-12-01 | Fix a little typo (spelling) in the styleguide | Nathan Scott | |
2020-12-01 | Merge branch 'styleguide-tweak' of https://github.com/natoscott/htop into ↵ | Nathan Scott | |
natoscott-styleguide-tweak | |||
2020-12-01 | Update docs/styleguide.md | Nathan Scott | |
Co-authored-by: BenBE <BenBE@geshi.org> | |||
2020-11-29 | Print G in gigabyte color | Christian Göttsche | |
When printing a size like 27.2G print the G like the 27 in the gigabyte color. | |||
2020-11-29 | Implement Hashtable_clear to empty an existing Hashtable | Benny Baumann | |
2020-11-29 | Linux: fix process parsing for hidden pid directories | Christian Göttsche | |
2020-11-28 | Tweak style guide wording around single code statements | Nathan Scott | |
There was wording about brace-enclosing single code statements being 'strongly encouraged' - this isn't consistently used and IMO it introduces unnecessary noise in otherwise neat, concise code. I've reworded (dropped) this section and also fixed a handful of minor typos while reading this doc a little more carefully. | |||
2020-11-28 | Typo | Christian Göttsche | |
2020-11-28 | Typo fix in docs | Benny Baumann | |
2020-11-28 | Include documentation for COMM and EXE | Benny Baumann | |
2020-11-28 | Hide process selection on ESC | Christian Göttsche | |
Do not highlight the current process line after pressing ESC in the main screen. Restore after pressing any key. | |||
2020-11-28 | Update even more snprintfs | Christian Göttsche | |
Use size of actual buffers instead of magic numbers | |||
2020-11-28 | Replace more snprintfs, reduce buffer sizes to what is printed | Daniel Lange | |
2020-11-28 | Use 'N/A' instead of 'no perm' for more consistency | Benny Baumann | |
2020-11-28 | Fix reading of device nodes > 2 chars from memory maps | Daniel Lange | |
2020-11-28 | configure: do not check functions we are using unconditionally | Christian Göttsche | |
2020-11-28 | Add compat mode for systems without openat(2) | Christian Göttsche | |
2020-11-28 | LinuxProcessList: use openat instead of building path strings | Christian Göttsche | |
openat() is available since Linux 2.6.16 | |||
2020-11-27 | Drop unused global ProcessList memory fields | Nathan Scott | |
The global ProcessList structure contains a couple of unused fields. 'sharedMem' has never been used by any Meter, since its not been anything other than zero in Linux /proc/meminfo for many, many years. The freeMem field is only used in the usedMem calculation, so it can reside on the stack like some other memory variables used within-calculations-only and not exposed to the user via a Meter. | |||
2020-11-26 | Drop unneeded parameters to the ScreenManager constructor | Nathan Scott | |
All calls to ScreenManager_new always pass the same first five values, the orientation is always HORIZONTAL and the y1 parameter is always the height of the passed-in header struct pointer. I think its safe to assert at this point that no VERTICAL orientation will arrive (if it does, its no harm in re-adding this then) - so we can remove unused conditionals (and TODOs) based on orientation too. | |||
2020-11-26 | Make casing of N/A consistent (majority was N/A) | Benny Baumann | |
2020-11-26 | Randomly refresh M_LRS calculation, but latest after 2s | Benny Baumann | |
2020-11-26 | Distinguish display of no permissions for reading M_LRS | Benny Baumann | |
2020-11-26 | Roll our own strtoull implementation specialized to handle the parsing ↵ | Benny Baumann | |
requirements |