summaryrefslogtreecommitdiff
path: root/qobject
AgeCommit message (Expand)AuthorFilesLines
2019-01-24json: Fix % handling when not interpolatingChristophe Fergeau1-4/+6
2018-12-13json: Fix to reject duplicate object member namesMarkus Armbruster1-0/+5
2018-10-26qobject: Catch another straggler for use of qdict_put_str()Philippe Mathieu-Daudé1-1/+1
2018-09-24json: Eliminate lexer state IN_WHITESPACE, pseudo-token JSON_SKIPMarkus Armbruster2-18/+5
2018-09-24json: Eliminate lexer state IN_ERRORMarkus Armbruster2-8/+9
2018-09-24json: Nicer recovery from lexical errorsMarkus Armbruster1-14/+29
2018-09-24json: Make lexer's "character consumed" logic less confusingMarkus Armbruster2-11/+17
2018-09-24json: Clean up how lexer consumes "end of input"Markus Armbruster1-8/+9
2018-09-24json: Fix lexer for lookahead character beyond '\x7F'Markus Armbruster1-1/+1
2018-08-24json: Update references to RFC 7159 to RFC 8259Markus Armbruster1-1/+1
2018-08-24json: Support %% in JSON strings when interpolatingMarkus Armbruster1-1/+2
2018-08-24json: Improve safety of qobject_from_jsonf_nofail() & friendsMarkus Armbruster1-2/+10
2018-08-24json: Keep interpolation state in JSONParserContextMarkus Armbruster1-29/+30
2018-08-24json: Clean up headersMarkus Armbruster5-9/+58
2018-08-24qobject: Drop superfluous includes of qemu-common.hMarkus Armbruster8-8/+0
2018-08-24json: Make JSONToken opaque outside json-parser.cMarkus Armbruster2-7/+20
2018-08-24json: Unbox tokens queue in JSONMessageParserMarkus Armbruster2-20/+11
2018-08-24json: Streamline json_message_process_token()Markus Armbruster1-8/+5
2018-08-24json: Enforce token count and size limits more tightlyMarkus Armbruster1-18/+18
2018-08-24qjson: Have qobject_from_json() & friends reject empty and blankMarkus Armbruster1-0/+4
2018-08-24json: Assert json_parser_parse() consumes all tokens on successMarkus Armbruster1-0/+1
2018-08-24json: Fix streamer not to ignore trailing unterminated structuresMarkus Armbruster2-0/+10
2018-08-24json: Fix latent parser aborts at end of inputMarkus Armbruster1-2/+0
2018-08-24qjson: Fix qobject_from_json() & friends for multiple valuesMarkus Armbruster1-1/+14
2018-08-24json: Improve names of lexer states related to numbersMarkus Armbruster1-17/+17
2018-08-24json: Replace %I64d, %I64u by %PRId64, %PRIu64Markus Armbruster1-4/+6
2018-08-24json: Leave rejecting invalid interpolation to parserMarkus Armbruster2-38/+7
2018-08-24json: Pass lexical errors and limit violations to callbackMarkus Armbruster2-8/+17
2018-08-24json: Treat unwanted interpolation as lexical errorMarkus Armbruster3-17/+19
2018-08-24json: Rename token JSON_ESCAPE & friends to JSON_INTERPMarkus Armbruster2-36/+36
2018-08-24json: Don't create JSON_ERROR tokens that won't be usedMarkus Armbruster1-4/+2
2018-08-24json: Don't pass null @tokens to json_parser_parse()Markus Armbruster2-17/+12
2018-08-24json: Redesign the callback to consume JSON valuesMarkus Armbruster3-23/+17
2018-08-24json: Have lexer call streamer directlyMarkus Armbruster2-8/+11
2018-08-24json-parser: simplify and avoid JSONParserContext allocationMarc-André Lureau1-32/+9
2018-08-24json: remove useless return value from lexer/parserMarc-André Lureau2-19/+12
2018-08-24json: Fix \uXXXX for surrogate pairsMarkus Armbruster1-21/+39
2018-08-24json: Reject invalid \uXXXX, fix \u0000Markus Armbruster1-29/+6
2018-08-24json: Simplify parse_string()Markus Armbruster1-23/+19
2018-08-24json: Leave rejecting invalid escape sequences to parserMarkus Armbruster2-91/+37
2018-08-24json: Accept overlong \xC0\x80 as U+0000 ("modified UTF-8")Markus Armbruster2-2/+2
2018-08-24json: Leave rejecting invalid UTF-8 to parserMarkus Armbruster1-4/+2
2018-08-24json: Report first rather than last parse errorMarkus Armbruster1-4/+4
2018-08-24json: Reject invalid UTF-8 sequencesMarkus Armbruster1-6/+14
2018-08-24json: Tighten and simplify qstring_from_escaped_str()'s loopMarkus Armbruster1-23/+7
2018-08-24json: Revamp lexer documentationMarkus Armbruster1-9/+71
2018-08-24json: Reject unescaped control charactersMarkus Armbruster1-2/+2
2018-08-24json: Fix lexer to include the bad character in JSON_ERROR tokenMarkus Armbruster1-2/+2
2018-08-16Merge remote-tracking branch 'remotes/armbru/tags/pull-tests-2018-08-16' into...Peter Maydell1-8/+55
2018-08-16qobject: qobject_from_jsonv() is dangerous, hide it awayMarkus Armbruster1-1/+12