Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-05-22 | Explicitly specify supported modes of all meters | Explorer09 | |
This reduces code size by not needing to check if 'supportedModes' is zero. | |||
2023-12-26 | Add includes for config.h as per the discussion in PR #1337 | Daniel Lange | |
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. | |||
2021-09-22 | Update license headers to explicitly say GPLv2+ | Daniel Lange | |
2021-05-10 | platform-dependent files included relative to main source directory | mayurdahibhate | |
2021-05-10 | cleaned up includes with iwyu | mayurdahibhate | |
2021-04-26 | Use RichString_appendnAscii where possible | Christian Göttsche | |
`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. | |||
2021-04-22 | ZfsCompressedArcMeter: avoid division by 0 | Christian Göttsche | |
On systems not using ZFS `this->values[0]` is zero. | |||
2021-03-04 | Save text buffer in Meter | Christian Göttsche | |
2021-02-09 | Make ZFS Meter "Unavailable" text match others -> FAILED_READ coloring | Daniel Lange | |
2021-02-09 | Forgot to correctly color ZFS ARC ratio | Ross Williams | |
`ZFS_RATIO` in `CRT.c` was unused, because I forgot to colorize the ARC ratio in the Compressed ARC meter. The intent was to improve readability of the meter by highlighting the most relevant value, the ratio, in a brighter color, for most themes. This change effects that intent. | |||
2020-12-08 | Split RichString_(append|appendn|write) into wide and ascii | Christian Göttsche | |
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. | |||
2020-12-08 | Use sizeof buffer instead of magic number | Christian Göttsche | |
2020-12-06 | Use size_t as len type for Meter_UpdateValues | Christian Göttsche | |
Most of the time the parameter is passed to snprintf type functions | |||
2020-11-22 | Reduce scope of local variables | Benny Baumann | |
2020-11-02 | Spacing around operators | Benny Baumann | |
2020-10-26 | Hold only a const version of the ProcessList in Meters | Christian Göttsche | |
2020-10-18 | Make all required includes explicit | Benny Baumann | |
Information as seen by IWYU 0.12 + clang 9 on Linux | |||
2020-10-16 | Rename StringUtils.[ch] to XUtils.[ch] | Benny Baumann | |
2020-10-16 | Move xAsprintf, xSnprintf and xStrdup to StringUtils.h | Benny Baumann | |
2020-10-13 | Mark remaining classes const | Christian Göttsche | |
2020-10-10 | Mark Object pointer to _display function const | Christian Göttsche | |
2020-10-05 | Update License consistently to GPLv2 as per COPYING file | Daniel Lange | |
2019-09-03 | Support for ZFS Compressed ARC statistics | Ross Williams | |