summary refs log tree commit diff
path: root/pls.c
AgeCommit message (Collapse)Author
2019-07-27Make copyright headers consistentCurtis McEnroe
2018-12-16Move base64 back to pls.cCurtis McEnroe
2018-12-16Move base64 to string.cCurtis McEnroe
2018-12-03Implement base64 encodingCurtis McEnroe
Will be used for SASL authentication.
2018-09-02Write terminating null in allocating wcs/mbs conversionsCurtis McEnroe
Turns out wcsnrtombs doesn't.
2018-09-02Add aswprintfCurtis McEnroe
The format string won't get checked but I'm not sure I can reasonably use the same hack.
2018-08-20Add wcsnchr, wcsnrchr, awcsntombsCurtis McEnroe
This eliminates calls to editHead and editTail inside edit.c. Oh god I'm sorry for following libc naming conventions for this stuff.
2018-08-20Set errno in vaswprintf in case vswprintf does notCurtis McEnroe
As is the case on GNU.
2018-08-08Factor out line editing to edit.cCurtis McEnroe
2018-08-07Factor out allocating conversion between wcs and mbsCurtis McEnroe
2018-08-07Convert input to multibyte before handlingCurtis McEnroe
2018-08-06Fix allocation size in vaswprintfCurtis McEnroe
This is so embarrassing. It only started crashing once it had strings that were long enough, and then it took me so long to notice this mistake. I was worried I was still doing va_list wrong somehow.
2018-08-06Implement word wrappingCurtis McEnroe
2018-08-06Use wchar_t strings for all of UICurtis McEnroe
vaswprintf is a nightmare.