Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-12-18 | libjson: correctly escape strings in JSONfmt() | Ori Bernstein | |
2016-04-27 | libjson: add slack space to literal string buffer to handle bad runes ↵ | cinap_lenrek | |
(thanks mischief) if the input string contains invalid utf-8, runetochar() produces unicode replacement characters that can overflow the literal buffer. as the overflow check is done after runetochar(), add UTFmax bytes of slack space avoiding the issue. | |||
2015-12-22 | libjson: added printing support (thanks spew) | cinap_lenrek | |
2015-12-22 | libjson: fix memory leak setjmp/longjmp problem (thanks spew) | cinap_lenrek | |
spew → I fixed the memory leak setjmp/longjmp problem with libjson spew → http://www.spew.club/json.patch spew → full file: http://www.spew.club/json.c spew → going to bed, I'll annoy cinap_lenrek tomorrow to try to get this committed | |||
2013-11-10 | libjson: don't perform chartorune in getch() when char is null terminator, ↵ | BurnZeZ | |
and remove empty string check added last commit | |||
2013-11-10 | libjson: check for empty string in jsonparse() | BurnZeZ | |
2013-10-28 | libjson: fix missing buffer free, slight cleanup | BurnZeZ | |
2013-10-28 | libjson: dynamically allocate buffer | BurnZeZ | |
2013-10-28 | libjson: fix mistake... (harmless) | cinap_lenrek | |
2013-10-28 | libjson: fix for 21 bit runes, implement utf-16 surrogates | cinap_lenrek | |
2013-10-27 | libjson: fix mistake in unicode handler (thanks cinap) | BurnZeZ | |
2013-10-27 | libjson: handle unicode escapes | BurnZeZ | |
2013-10-27 | make libjson from /sys/src/cmd/btc/json.c | BurnZeZ | |