Skip to content

Fix JSON string formatter

Markus Armbruster qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 15 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4unicode: New mod_utf8_codepoint()include/qemu-common.h util/Makefile.objs util/unicode.c+100 -03 replies
2/4check-qjson: Fix up a few bogus commentstests/check-qjson.c+2 -32 replies
3/4check-qjson: Test noncharacters other than U+FFFE, U+FFFF in stringstests/check-qjson.c+72 -133 replies
4/4qjson: to_json() case QTYPE_QSTRING is buggy, rewriteqobject/qjson.c tests/check-qjson.c+145 -1733 replies

Reviews trailers per patch

3 of 4 patches have a Reviewed-by or Acked-by.

PatchBlue SwirlLaszlo Ersek
SeriesT-b
1/4
2/4R-b
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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.

Markus Armbruster (4):
unicode: New mod_utf8_codepoint()
check-qjson: Fix up a few bogus comments
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   | 280 +++++++++++++++++++++++++++++---------------------
 util/Makefile.objs    |   1 +
 util/unicode.c        |  96 +++++++++++++++++
 5 files changed, 306 insertions(+), 176 deletions(-)
 create mode 100644 util/unicode.c
Signature · 1 line
1.7.11.7