Jacopo De Simoi
9fac14d5fc
Better spacing for sorted column
2 years ago
Jacopo De Simoi
4e8e440501
Use "regular" highlight if unfocused
2 years ago
Jacopo De Simoi
5b2d04b20a
Put margin in each column
2 years ago
Jacopo De Simoi
c08a23edb0
Use dimmed on highlighted background for unfocused selection
2 years ago
Jacopo De Simoi
2297ca0500
Avoid bold in solarized-based themes
2 years ago
Jacopo De Simoi
79dfa5f585
Put Kernel CPU first
2 years ago
Jacopo De Simoi
f1b3afb156
Implement rudimentary separator
2 years ago
Jacopo De Simoi
470ff22e40
Implement highlight methods
2 years ago
Jacopo De Simoi
3101544ebd
Remove Bar borders
...
This is an experiment in Tufte-ism
2 years ago
Jacopo De Simoi
0b48e27433
Introduce highlighted pairs
...
This only makes sense in solarized-like schemes
2 years ago
Jacopo De Simoi
53d3b9f265
Remove bold attribute (broken on solarized-like)
2 years ago
Jacopo De Simoi
c567228967
Use accent color for labels
2 years ago
Jacopo De Simoi
bef457875a
Use proper glyphs to denote sorting
2 years ago
Jacopo De Simoi
f043fcd5e3
Add separators
...
This allows to use neutral highlighting for the top row and the
function bar.
2 years ago
Jacopo De Simoi
a889a019e2
Shorten labels in function bar
2 years ago
Jacopo De Simoi
93226a58aa
Use accent color for key and add separator
2 years ago
Jacopo De Simoi
ad51a18aeb
Use filled square for bar char
2 years ago
Jacopo De Simoi
7d8ed80f82
Pad core id with 0s
2 years ago
Jacopo De Simoi
c95b58a6ba
Make the separator between columns larger
2 years ago
Daniel Lange
68c970c7ef
Release 3.3.0
2 years ago
Christian Göttsche
2b6304cec5
Linux: use fseek(3)
...
Use fseek(3) instead of rewind(3) to check for success.
2 years ago
fraggerfox
f9fb93aaf8
Refactor the goThroughEntries.
2 years ago
fraggerfox
615d489597
Fix build in NetBSD.
2 years ago
Samuel Venable
71021b2d8b
Attempt to "Fix" OpenBSD Build
...
Co-authored-by: Benny Baumann <BenBE@geshi.org>
2 years ago
Explorer09
7bf8f02de2
Clarify isNonnegative() behavior in comments
...
Also fix some comments of isNaN() and isPositive() functions.
No code changes.
2 years ago
Daniel Lange
c3b4a770c0
Updates for 2024. Happy New Year!
2 years ago
Benny Baumann
b149a506cf
Shorten docker container IDs to 12 characters
2 years ago
Christian Göttsche
955208569c
Settings: preserve empty header
...
If the user removes all meters from the header on exit htop will write
no values for the settings column_meters_X and column_meter_modes_X.
The parser skips all configuration settings with no value, so on the
next start no header meter related key is processed and htop will add a
set of default meters to the header.
Write instead an invalid value of `!`, so the keys are parsed and htop
will not add the default meters back.
Closes : #1248
2 years ago
Explorer09
887c4eaff3
Fix execlp() argument without pointer cast
...
Regression from c55401b82b
2 years ago
Explorer09
e5c09ffd96
Row_printTime() code shrink
...
Signed-off-by: Kang-Che Sung <explorer09@gmail.com>
2 years ago
Explorer09
e9cf230aa0
Row_printKBytes() improvements
...
* Allow the maximum value of "15.9Z" ((2^64 - 2) KiB) to be printed.
(The previous version supports the maximum of "99.9P" (99.9 PiB)
before the printing format goes weird.)
* Print up to 2 fraction digits for values between "9.76G" (10000 MiB)
and "9.99G" (< 10 GiB), "9.76T" and "9.99T", and so on.
Signed-off-by: Kang-Che Sung <explorer09@gmail.com>
2 years ago
Benny Baumann
c845b79ea7
Clarify magic number for data/cols fields
2 years ago
Benny Baumann
338baa4173
Fix naming convention inconsistency
2 years ago
наб
4bcea76663
OpenFilesScreen: Make column sizing dynamic for file size, offset and inode
...
Previously this limited the size to single-digit-gigabytes(!).
Now it can be single-digit-petabytes before going out of alignment.
Fixes: Debian#1059369
2 years ago
Daniel (dmilith) Dettlaff
c55401b82b
Add support for "truss" (FreeBSD equivalent of "strace")
2 years ago
UeiWang
7ee92be6fd
Darwin: add NetworkIOMeter support
2 years ago
Benny Baumann
6490590dc8
Relocate include of config.h from header to source modeule
2 years ago
Benny Baumann
cf9abeb695
Document compilation issues and changed config.h inclusion rules
2 years ago
Benny Baumann
acb1ae4d29
Minor code simplification
2 years ago
Benny Baumann
2af66a4aba
Convince IWYU to keep size_t/ssize_t via stddef.h
2 years ago
Benny Baumann
9ee8a7ca64
Force to keep explicit forward declarations
2 years ago
Benny Baumann
e56089e1fa
Update includes based on IWYU
2 years ago
Benny Baumann
20bd78493b
Update list of special header mappings for IWYU
2 years ago
Benny Baumann
d0a57b61c1
Force configuration with clang for IWYU runs
...
This reduces the noise caused by incompatible attribute definitions between GCC/Clang.
2 years ago
Benny Baumann
2aacbf84cb
Use consistent style for process field output/compare functions
2 years ago
Benny Baumann
6aa9ef2726
Fix code style
2 years ago
Benny Baumann
a98fc47ffe
Check for large file support and some types we use
2 years ago
Benny Baumann
5c7cb91d18
Do not touch CFLAGS in configure.ac
...
This fixes an inconsistency between tests run by ./configure and actual make
2 years ago
Daniel Lange
179aeb0108
Add includes for config.h as per the discussion in PR #1337
...
Many thanks to @Explorer09 Kang-Che Sung (宋岡哲).
Also add a #error stanza to XUtils.h in case somebody forgets the beautiful mess GNU forces on us.
2 years ago
Christian Hesse
8980d7a896
HeaderLayout: add "3 columns - 40/30/30", "... 30/40/30" & "... 30/30/40"
...
Existing layouts with three columns do not match my needs... There is
always a column too narrow. I think this would be a reasonable choice.
2 years ago