Christian Göttsche
f0a9dfc37e
Resolve conversion from int to char
5 years ago
Christian Göttsche
1e9b184367
Resolve conversion from int to unsigned and back
5 years ago
Christian Göttsche
ba1549f99b
Resolve conversion from int to short
5 years ago
Christian Göttsche
f61e74a4af
Resolve conversion from ssize_t to int for readlink return value
5 years ago
Daniel Lange
8029e9af04
Update htop logo, provide .svg file as well
5 years ago
Daniel Lange
ef0fc7129e
Update AUTHORS file with htop-dev team
5 years ago
Christian Göttsche
bc16fa037f
Convert personal copyright authorship to team
5 years ago
Benny Baumann
cc7f16bb8f
Some minor additions to the changelog
5 years ago
Nathan Scott
1f9e2ded9e
Update changelog for upcoming 3.0.3 release, annotate rc1
5 years ago
Benny Baumann
bd6237eb31
Document implicit incremental search
5 years ago
Benny Baumann
bc91a382f6
Allow to pass '/' for item search
5 years ago
Benny Baumann
bda07fa42b
Handle 'q' as quit if first character
5 years ago
Benny Baumann
9adb94a379
Some visual code cleanup
5 years ago
Benny Baumann
5fe2a88c08
Use common handling for scrolling
5 years ago
Benny Baumann
a7955c4966
Reduce code duplication
5 years ago
Benny Baumann
c49ca61dd9
Common order for ESC/q/F10
5 years ago
Christian Göttsche
4f08d2d5ad
Fix sensors configure argument
5 years ago
Christian Göttsche
64230ee5cd
ci: use clang-11
5 years ago
Christian Göttsche
2ec940e0d2
ci: use correct configure flags for sensors
5 years ago
Christian Göttsche
d1db9da936
Linux: avoid float division by 0 after system sleep
...
linux/LinuxProcessList.c:1403:63: runtime error: division by zero
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior linux/LinuxProcessList.c:1403:63 in
5 years ago
Christian Göttsche
3695cbd5d8
Silence possible NULL dereference
...
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]
5 years ago
Christian Göttsche
fe84840314
Add Linux cwd process column
5 years ago
Benny Baumann
c6b66a75ea
Minor code streamlining
5 years ago
Benny Baumann
709821ff55
Some minor spelling issues
5 years ago
Benny Baumann
2d874177bc
Avoid expensive build of tree when not using it
5 years ago
Benny Baumann
bd24664fc2
Avoid useless search for pid 0
5 years ago
Benny Baumann
d0e71cb75f
Reorder field initialization to group fields by task
5 years ago
Benny Baumann
e3b6049043
Code style cleanup and documentation/comments
5 years ago
Benny Baumann
b4b952d78d
Use common values for initial size estimates for Hashtables
5 years ago
Maxim Zhiburt
4907d90cff
Fix issue with inconsistent displayTreeSet
5 years ago
Maxim Zhiburt
cf306ff86e
Implement sorting in tree mode
5 years ago
Christian Göttsche
4f7d48aa24
Set locale only once and do not override it later
5 years ago
Christian Göttsche
b76eaf187a
Dynamically load libsensors at runtime
5 years ago
Christian Göttsche
f7a8952933
Add xReadfile wrapper for reading small to medium size files
...
Inspired by proposed Linux syscall
Avoid file descriptor leaks like 4af8c63f
5 years ago
Christian Göttsche
1d8192c10b
PressureStallMeter: improve display strings
...
- Shorten name for header setup menu
- Improve caption in bar mode
5 years ago
Christian Göttsche
472f0124cd
Meter: document MeterClass string fields
5 years ago
Christian Göttsche
c0b50164dd
Use String_eq for readability and consistency
5 years ago
Christian Göttsche
7975cd2ca3
Add cast to unsigned char to avoid signed char misuse
5 years ago
Christian Göttsche
9029cc83ad
Merge identical conditional branches
5 years ago
Christian Göttsche
43ee295c23
Drop redundant return statements
5 years ago
Christian Göttsche
ec0f5d0ba9
Compare indices not index with pair
...
Fixes always true condition.
Found by LGTM.com
5 years ago
Christian Göttsche
bbac4c2a62
Use enum element name instead of magic number
5 years ago
Nathan Scott
65866c69d6
Fix a little typo (spelling) in the styleguide
5 years ago
Nathan Scott
f59af39684
Merge branch 'styleguide-tweak' of https://github.com/natoscott/htop into natoscott-styleguide-tweak
5 years ago
Nathan Scott
6ab1e468ef
Update docs/styleguide.md
...
Co-authored-by: BenBE <BenBE@geshi.org>
5 years ago
Christian Göttsche
cd305b4325
Print G in gigabyte color
...
When printing a size like 27.2G print the G like the 27 in the gigabyte color.
5 years ago
Benny Baumann
c1563337ae
Implement Hashtable_clear to empty an existing Hashtable
5 years ago
Christian Göttsche
9549ca8c88
Linux: fix process parsing for hidden pid directories
5 years ago
Nathan Scott
b2a8b2426e
Tweak style guide wording around single code statements
...
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.
5 years ago
Christian Göttsche
5ee6875f73
Typo
5 years ago