Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update license headers to explicitly say GPLv2+ | Daniel Lange | 2021-09-22 | 1 | -1/+1 |
| | |||||
* | Use PATH lookup for systemctl in systemd meter | Scott Olson | 2021-07-15 | 1 | -9/+9 |
| | | | | | | Before this change, the systemd meter was broken on distros like NixOS, which have systemctl in PATH, but not at /bin/systemctl. After the change, it works on all my NixOS machines. | ||||
* | platform-dependent files included relative to main source directory | mayurdahibhate | 2021-05-10 | 1 | -1/+1 |
| | |||||
* | cleaned up includes with iwyu | mayurdahibhate | 2021-05-10 | 1 | -0/+1 |
| | |||||
* | Use RichString_appendnAscii where possible | Christian Göttsche | 2021-04-26 | 1 | -8/+13 |
| | | | | | | | | | | `RichString_appendnAscii()` avoids a `strlen(3)` call over ` RichString_appendAscii()`. Use the former where the length is available from a previous checked `snprintf(3)` call. Keep `RichString_appendAscii()` when passing a string literal and rely on compilers to optimize the `strlen(3)` call away. | ||||
* | Add read-only option | Christian Göttsche | 2021-04-14 | 1 | -0/+3 |
| | | | | | Add command line option to disable all system and process changing features. | ||||
* | Save text buffer in Meter | Christian Göttsche | 2021-03-04 | 1 | -2/+2 |
| | |||||
* | Use String_eq wrapper instead of raw strcmp | Christian Göttsche | 2021-01-30 | 1 | -1/+1 |
| | |||||
* | Add configure option to create static htop binary | Christian Göttsche | 2021-01-25 | 1 | -3/+41 |
| | |||||
* | Add wrapper function for free and strdup | Christian Göttsche | 2021-01-11 | 1 | -2/+1 |
| | | | | Reduces code in callers and helps avoiding memory leaks. | ||||
* | Split RichString_(append|appendn|write) into wide and ascii | Christian Göttsche | 2020-12-08 | 1 | -10/+10 |
| | | | | | | | | RichString_writeFrom takes a top spot during performance analysis due to the calls to mbstowcs() and iswprint(). Most of the time we know in advance that we are only going to print regular ASCII characters. | ||||
* | Use size_t as len type for Meter_UpdateValues | Christian Göttsche | 2020-12-06 | 1 | -1/+1 |
| | | | | Most of the time the parameter is passed to snprintf type functions | ||||
* | Convert personal copyright authorship to team | Christian Göttsche | 2020-12-04 | 1 | -1/+1 |
| | |||||
* | IWYU update (Linux) | Christian Göttsche | 2020-11-19 | 1 | -2/+6 |
| | |||||
* | Silence theoretical memory leak | Christian Göttsche | 2020-11-17 | 1 | -1/+3 |
| | | | | In practice systemctl should never return multiple SystemState= lines. | ||||
* | Add SystemdMeter | Christian Göttsche | 2020-10-31 | 1 | -0/+329 |