Benny Baumann
18763051a2
Split platform dependent parts for file locks screen
5 years ago
Benny Baumann
2d6da2e520
Add compat wrapper for readlinkat
5 years ago
Fynn Wulf
84dad4c38e
Implement screen for active file locks
5 years ago
Benny Baumann
e7b95feee4
Remove unnecessary braces
5 years ago
Benny Baumann
0e922d4085
Integrate NAN check into assignment
...
The check for NAN is kept to avoid relying on implementation details of the CLAMP macro/function
5 years ago
Benny Baumann
cb8bb12974
Shorten initializer
5 years ago
Benny Baumann
1c060a9d6b
Avoid RichString_beginAllocated being ammendable
5 years ago
Benny Baumann
0d64ca9262
Wrap inline structure definitions
5 years ago
Benny Baumann
45869513bf
Embracing branches
5 years ago
Benny Baumann
61e14d4bb2
Spacing around operators
5 years ago
Benny Baumann
b23f8235e2
Whitespace and indentation issues
5 years ago
Benny Baumann
9a16b1079e
Make scope of match macro symmetric
5 years ago
Benny Baumann
493217e814
Fix indentation to 3 spaces
5 years ago
Benny Baumann
adf797c295
Spacing after keywords (for)
5 years ago
Benny Baumann
374edb9ed5
Spacing after keywords (if)
5 years ago
Benny Baumann
0a51eae11f
Spacing after keywords (while)
5 years ago
Benny Baumann
1877325329
Spacing after keywords (#define)
5 years ago
Benny Baumann
db0a13970e
Convert addattrstr to static inline function
...
NB: The macro could have been a braced while(0) loop, which without optimization produces more code
5 years ago
Benny Baumann
c790b6ae67
Remove accidental syntax collision
5 years ago
Benny Baumann
7ab0915a6c
Remove unnecessary trailing semicolon on macros
5 years ago
Christian Göttsche
0806a7958b
Assert Vector_get returns an object
...
It is generally assumed Vector_get returns a non-NULL object.
Use a generic assert in Vector_get instead of in callers.
5 years ago
Daniel Lange
742e610f1d
Merge branch 'wrap' of cgzones/htop
5 years ago
Christian Göttsche
0c1908832b
Handle data wraparounds in IO Meters
...
If the current data is smaller than the previous one, either by a retrieve error
or a device removal or a original data wraparound, sanitize the value to zero.
Fixes : #299
5 years ago
Adam Saponara
a83f515f0f
Address items from review
5 years ago
Christian Göttsche
15652e7b81
Enclose macro arguments in parentheses
5 years ago
Christian Göttsche
2a9e8ca074
Add SystemdMeter
5 years ago
Murloc Knight
ab17ef4dc0
Zram Meter feature
5 years ago
Christian Göttsche
43d274a617
Use integer type for item count instead of char
5 years ago
Erdem Ersoy
59ef15b2ad
Fix segmentation fault when column name is NULL.
...
So, some columns (ex: SECATTR) can be sortable now.
5 years ago
Daniel Lange
6787c43097
Merge branch 'source-format' of BenBE/htop
...
Closes #158
5 years ago
Benny Baumann
de884d17bb
Documentation on the repository style guide
5 years ago
Adam Saponara
dde71c6637
Highlight new and old processes ( #74 )
5 years ago
Christian Göttsche
bbf01054bf
Add compat wrapper for fstatat
5 years ago
Christian Göttsche
049046c700
FreeBSD: update Process
5 years ago
Christian Göttsche
97ea45ca9a
FreeBSD: update ProcessList
5 years ago
Christian Goettsche
c2fdfd99eb
FreeBSD: implement Platform_getDiskIO()
5 years ago
Christian Göttsche
c91061c84b
FreeBSD: Platform update
5 years ago
Christian Goettsche
88eec2dc00
FreeBSD: rework tty process column
5 years ago
Christian Göttsche
ddbb0c2c35
Add HTOP_$platform defines to config.h header
...
Can be used to conditionally compile platform specific code.
5 years ago
Christian Göttsche
03b773b701
Small ListItem update
5 years ago
Christian Göttsche
6375df49c9
Simplify RichString_begin
5 years ago
Christian Göttsche
887dfde308
Implement Process_getParentPid and Process_isChildOf as functions
...
Make it more readable and fix unenclosed macro arguments
5 years ago
Christian Göttsche
76797f8d92
Implement Process_isUserlandThread as function
...
Make it more readable and fix unenclosed macro arguments
5 years ago
Christian Göttsche
d33b2be2ca
Implement LinuxProcess_effectiveIOPriority as function
...
Make it more readable and fix unenclosed macro arguments
5 years ago
Christian Göttsche
6b3dbd5c67
Implement IncSet_filter as function
...
Make it more readable and fix unenclosed macro arguments
5 years ago
Christian Göttsche
7019949574
Implement RichString_setLen as function
...
Make it more readable and fix unenclosed macro arguments
5 years ago
Christian Göttsche
8c1f5c5a6f
Enclose macro arguments in parentheses
5 years ago
Christian Göttsche
61bae4c9d2
Unify function argument names
...
Name first argument of ProcessList_goThroughEntries consistently super
Name first argument of ProcessList_new consistently userTable
5 years ago
Benny Baumann
cf1a9ec180
Refactor LinuxProcessList_readSmapsFile to work line-oriented
5 years ago
Christian Göttsche
e89b289494
Drop duplicate assignment
5 years ago