aboutsummaryrefslogtreecommitdiff
path: root/tests/check-qjson.c
AgeCommit message (Expand)AuthorFilesLines
2018-10-09tests/check-qjson: fix a leakMarc-André Lureau1-0/+1
2018-08-24json: Support %% in JSON strings when interpolatingMarkus Armbruster1-2/+2
2018-08-24json: Improve safety of qobject_from_jsonf_nofail() & friendsMarkus Armbruster1-10/+7
2018-08-24qjson: Have qobject_from_json() & friends reject empty and blankMarkus Armbruster1-2/+10
2018-08-24json: Fix streamer not to ignore trailing unterminated structuresMarkus Armbruster1-4/+4
2018-08-24qjson: Fix qobject_from_json() & friends for multiple valuesMarkus Armbruster1-7/+3
2018-08-24json: Replace %I64d, %I64u by %PRId64, %PRIu64Markus Armbruster1-0/+10
2018-08-24json: Leave rejecting invalid interpolation to parserMarkus Armbruster1-1/+2
2018-08-24json: Pass lexical errors and limit violations to callbackMarkus Armbruster1-7/+8
2018-08-24json: Redesign the callback to consume JSON valuesMarkus Armbruster1-1/+0
2018-08-24check-qjson: Fix and enable utf8_string()'s disabled partMarkus Armbruster1-8/+3
2018-08-24json: Fix \uXXXX for surrogate pairsMarkus Armbruster1-2/+1
2018-08-24json: Reject invalid \uXXXX, fix \u0000Markus Armbruster1-30/+11
2018-08-24json: Accept overlong \xC0\x80 as U+0000 ("modified UTF-8")Markus Armbruster1-7/+1
2018-08-24json: Reject invalid UTF-8 sequencesMarkus Armbruster1-92/+45
2018-08-24check-qjson: Document we expect invalid UTF-8 to be rejectedMarkus Armbruster1-80/+71
2018-08-24json: Reject unescaped control charactersMarkus Armbruster1-5/+1
2018-08-24check-qjson: Cover interpolation more thoroughlyMarkus Armbruster1-60/+98
2018-08-24check-qjson qmp-test: Cover control characters more thoroughlyMarkus Armbruster1-6/+30
2018-08-24check-qjson: Fix utf8_string() to test all invalid sequencesMarkus Armbruster1-5/+28
2018-08-24check-qjson: Simplify utf8_string()Markus Armbruster1-44/+9
2018-08-24check-qjson: Cover UTF-8 in single quoted stringsMarkus Armbruster1-214/+215
2018-08-24check-qjson: Consolidate partly redundant string testsMarkus Armbruster1-50/+14
2018-08-24check-qjson: Cover escaped characters more thoroughly, part 2Markus Armbruster1-9/+53
2018-08-24check-qjson: Streamline escaped_string()'s test stringsMarkus Armbruster1-11/+1
2018-08-24check-qjson: Cover escaped characters more thoroughly, part 1Markus Armbruster1-39/+57
2018-08-24check-qjson: Cover whitespace more thoroughlyMarkus Armbruster1-1/+1
2018-08-24check-qjson: Cover blank and lexically erroneous inputMarkus Armbruster1-3/+37
2018-08-24check-qjson: Cover multiple JSON objects in same stringMarkus Armbruster1-0/+20
2018-08-16qobject: Replace qobject_from_jsonf() by qobject_from_jsonf_nofail()Markus Armbruster1-7/+8
2018-05-04qobject: Replace qobject_incref/QINCREF qobject_decref/QDECREFMarc-André Lureau1-42/+42
2018-03-19qapi: Replace qobject_to_X(o) by qobject_to(X, o)Max Reitz1-20/+21
2018-02-09Include qapi/qmp/qstring.h exactly where neededMarkus Armbruster1-0/+1
2018-02-09qdict qlist: Make most helper macros functionsMarkus Armbruster1-0/+2
2018-02-09Eliminate qapi/qmp/types.hMarkus Armbruster1-1/+1
2017-09-04qlit: make qlit_equal_qobject return a boolMarc-André Lureau1-7/+7
2017-09-04qlit: rename compare_litqobj_to_qobj() to qlit_equal_qobject()Marc-André Lureau1-7/+7
2017-09-04qlit: use QLit prefix consistentlyMarc-André Lureau1-20/+20
2017-09-04qlit: move qlit from check-qjson to qobject/Marc-André Lureau1-95/+1
2017-07-24qapi: Separate type QNull from QObjectMarkus Armbruster1-3/+3
2017-06-20json: learn to parse uint64 numbersMarc-André Lureau1-0/+44
2017-06-20qapi: merge QInt and QFloat in QNumMarc-André Lureau1-42/+49
2017-03-07check-qjson: Test errors from qobject_from_json()Markus Armbruster1-32/+56
2017-03-07qobject: Propagate parse errors through qobject_from_json()Markus Armbruster1-31/+31
2017-02-22tests: Don't check qobject_type() before qobject_to_qbool()Markus Armbruster1-18/+6
2017-02-22tests: Don't check qobject_type() before qobject_to_qfloat()Markus Armbruster1-10/+2
2017-02-22tests: Don't check qobject_type() before qobject_to_qint()Markus Armbruster1-19/+5
2017-02-22tests: Don't check qobject_type() before qobject_to_qstring()Markus Armbruster1-23/+8
2017-02-22check-qjson: Simplify around compare_litqobj_to_qobj()Markus Armbruster1-21/+1
2016-12-05tests: Avoid qobject_from_jsonf("%"PRId64)Eric Blake1-3/+3