Fix JSON string formatter
Status from this message: Thanks, applied all.
Get series with b4
b4 am [email protected]Versions newest first
v2 from the cover letter
- Rebased, trivial conflicts in PATCH 1/4.
- Make mod_utf8_codepoint() treat empty input as invalid sequence of length zero (both when n==0 and when n>0 && *s==0). No code in this series passes empty input.
- Some commit messages and comments improved.
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | unicode: New mod_utf8_codepoint()include/ util/ util/ | +104 | 0 replies | |
| 2/4 | check-qjson: Improve a few comments, delete bogus onestests/ | +13 | 0 replies | |
| 3/4 | check-qjson: Test noncharacters other than U+FFFE, U+FFFF in stringstests/ | +84 | 0 replies | |
| 4/4 | qjson: to_json() case QTYPE_QSTRING is buggy, rewriteqobject/ tests/ | +145 | 0 replies |
Reviews trailers per patch
None of the 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Laszlo Ersek |
|---|---|
| Series | R-b |
| 1/4 | |
| 2/4 | |
| 3/4 | |
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Qemu-devel] [PATCH 0/4] Fix JSON string formatter
This should unbreak "make check" on machines where char is unsigned. Blue, please give it a whirl.
The JSON parser is still as broken as ever. Left for another day.
v2:
- Rebased, trivial conflicts in PATCH 1/4.
- Make mod_utf8_codepoint() treat empty input as invalid sequence of length zero (both when n==0 and when n>0 && *s==0). No code in this series passes empty input.
- Some commit messages and comments improved.
Markus Armbruster (4):
unicode: New mod_utf8_codepoint()
check-qjson: Improve a few comments, delete bogus ones
check-qjson: Test noncharacters other than U+FFFE, U+FFFF in strings
qjson: to_json() case QTYPE_QSTRING is buggy, rewrite
include/qemu-common.h | 3 + qobject/qjson.c | 102 ++++++++--------- tests/check-qjson.c | 308 ++++++++++++++++++++++++++++++-------------------- util/Makefile.objs | 2 +- util/unicode.c | 100 ++++++++++++++++ 5 files changed, 333 insertions(+), 182 deletions(-) create mode 100644 util/unicode.c
Signature · 1 line
1.7.11.7