Files
bitchx/source
Kevin Easton 4a3cff53f4 Simplify and improve justification step of status formatting, and use the same code for $statsparse()
Separate out the justification step of make_status() into a new function, so it can be wired in to
stat_convert_format() as well.  This makes $statsparse() work correctly with right-justified status
formats.

Minimise the amount of copying around that is done during the justification - instead, we can just
remember pointers into the buffer returned by strip_ansi() for the left-hand-side, right-hand-side and
padding character.

Don't keep concatenating onto the same buffer with strlcat() when generating the padding - that gives
n^2 behaviour.  Instead keep a pointer to the current end and concatenate there.

Ensure buffer is null-terminated before calling strlcat() on it, in stat_convert_format().
2017-08-23 02:21:42 +10:00
..
2016-09-29 01:11:29 +10:00
2017-06-28 00:03:09 +10:00
2017-02-08 23:56:36 +11:00
2017-06-26 16:54:50 +10:00
2017-05-10 23:41:32 +10:00
2017-07-15 23:29:14 +10:00
2017-07-15 23:29:14 +10:00
2017-07-11 19:01:09 +10:00