summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2020-12-04Update changelog for upcoming 3.0.3 release, annotate rc13.0.3rc1Nathan Scott
2020-12-03Document implicit incremental searchBenny Baumann
2020-12-03Allow to pass '/' for item searchBenny Baumann
2020-12-03Handle 'q' as quit if first characterBenny Baumann
2020-12-03Some visual code cleanupBenny Baumann
2020-12-03Use common handling for scrollingBenny Baumann
2020-12-03Reduce code duplicationBenny Baumann
2020-12-03Common order for ESC/q/F10Benny Baumann
2020-12-03Fix sensors configure argumentChristian Göttsche
2020-12-03ci: use clang-11Christian Göttsche
2020-12-03ci: use correct configure flags for sensorsChristian Göttsche
2020-12-03Linux: avoid float division by 0 after system sleepChristian Göttsche
linux/LinuxProcessList.c:1403:63: runtime error: division by zero SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior linux/LinuxProcessList.c:1403:63 in
2020-12-03Silence possible NULL dereferenceChristian 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-03Add Linux cwd process columnChristian Göttsche
2020-12-02Minor code streamliningBenny Baumann
2020-12-02Some minor spelling issuesBenny Baumann
2020-12-02Avoid expensive build of tree when not using itBenny Baumann
2020-12-02Avoid useless search for pid 0Benny Baumann
2020-12-02Reorder field initialization to group fields by taskBenny Baumann
2020-12-02Code style cleanup and documentation/commentsBenny Baumann
2020-12-02Use common values for initial size estimates for HashtablesBenny Baumann
2020-12-02Fix issue with inconsistent displayTreeSetMaxim Zhiburt
2020-12-02Implement sorting in tree modeMaxim Zhiburt
2020-12-02Set locale only once and do not override it laterChristian Göttsche
2020-12-02Dynamically load libsensors at runtimeChristian Göttsche
2020-12-02Add xReadfile wrapper for reading small to medium size filesChristian Göttsche
Inspired by proposed Linux syscall Avoid file descriptor leaks like 4af8c63f
2020-12-02PressureStallMeter: improve display stringsChristian Göttsche
- Shorten name for header setup menu - Improve caption in bar mode
2020-12-02Meter: document MeterClass string fieldsChristian Göttsche
2020-12-02Use String_eq for readability and consistencyChristian Göttsche
2020-12-02Add cast to unsigned char to avoid signed char misuseChristian Göttsche
2020-12-02Merge identical conditional branchesChristian Göttsche
2020-12-02Drop redundant return statementsChristian Göttsche
2020-12-02Compare indices not index with pairChristian Göttsche
Fixes always true condition. Found by LGTM.com
2020-12-02Use enum element name instead of magic numberChristian Göttsche
2020-12-01Fix a little typo (spelling) in the styleguideNathan Scott
2020-12-01Merge branch 'styleguide-tweak' of https://github.com/natoscott/htop into ↵Nathan Scott
natoscott-styleguide-tweak
2020-12-01Update docs/styleguide.mdNathan Scott
Co-authored-by: BenBE <BenBE@geshi.org>
2020-11-29Print G in gigabyte colorChristian Göttsche
When printing a size like 27.2G print the G like the 27 in the gigabyte color.
2020-11-29Implement Hashtable_clear to empty an existing HashtableBenny Baumann
2020-11-29Linux: fix process parsing for hidden pid directoriesChristian Göttsche
2020-11-28Tweak style guide wording around single code statementsNathan 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-28TypoChristian Göttsche
2020-11-28Typo fix in docsBenny Baumann
2020-11-28Include documentation for COMM and EXEBenny Baumann
2020-11-28Hide process selection on ESCChristian Göttsche
Do not highlight the current process line after pressing ESC in the main screen. Restore after pressing any key.
2020-11-28Update even more snprintfsChristian Göttsche
Use size of actual buffers instead of magic numbers
2020-11-28Replace more snprintfs, reduce buffer sizes to what is printedDaniel Lange
2020-11-28Use 'N/A' instead of 'no perm' for more consistencyBenny Baumann
2020-11-28Fix reading of device nodes > 2 chars from memory mapsDaniel Lange
2020-11-28configure: do not check functions we are using unconditionallyChristian Göttsche