61 Commits (b9789d2993d10acaecf41bdd3c19e623b5cd6613)

Author SHA1 Message Date
Daniel P. Berrangé 407bc4bf90 qapi: Move include/qapi/qmp/ to include/qobject/ 1 year ago
Marc-André Lureau 9edc6313da Replace GCC_FMT_ATTR with G_GNUC_PRINTF 4 years ago
Zhang Han 5086c9973a qobject: open brace '{' following struct go on the same line 5 years ago
Markus Armbruster 68af4cc121 json: Use GString instead of QString to accumulate strings 5 years ago
Alex Chen 922d42bb0d json: Fix a memleak in parse_pair() 6 years ago
Philippe Mathieu-Daudé 6f0dd6c5d2 json: Move switch 'fall through' comment to correct place 7 years ago
Markus Armbruster 856dfd8a03 qemu-common: Move qemu_isalnum() etc. to qemu/ctype.h 7 years ago
Christophe Fergeau bbc0586ced json: Fix % handling when not interpolating 7 years ago
Markus Armbruster 00382fa851 json: Fix to reject duplicate object member names 7 years ago
Markus Armbruster 37aded92c2 json: Update references to RFC 7159 to RFC 8259 8 years ago
Markus Armbruster 8bca4613e6 json: Support %% in JSON strings when interpolating 8 years ago
Markus Armbruster 16a4859921 json: Improve safety of qobject_from_jsonf_nofail() & friends 8 years ago
Markus Armbruster ada74c3ba1 json: Keep interpolation state in JSONParserContext 8 years ago
Markus Armbruster 86cdf9ec8d json: Clean up headers 8 years ago
Markus Armbruster abe7c2067c json: Make JSONToken opaque outside json-parser.c 8 years ago
Markus Armbruster a2731e08ee json: Unbox tokens queue in JSONMessageParser 8 years ago
Markus Armbruster 5d50113cf6 json: Assert json_parser_parse() consumes all tokens on success 8 years ago
Markus Armbruster e06d008ac8 json: Fix latent parser aborts at end of input 8 years ago
Markus Armbruster 53a0d616fe json: Replace %I64d, %I64u by %PRId64, %PRIu64 8 years ago
Markus Armbruster f7617d45d4 json: Leave rejecting invalid interpolation to parser 8 years ago
Markus Armbruster 2cbd15aa6f json: Treat unwanted interpolation as lexical error 8 years ago
Markus Armbruster 61030280ca json: Rename token JSON_ESCAPE & friends to JSON_INTERP 8 years ago
Markus Armbruster ff281a272f json: Don't pass null @tokens to json_parser_parse() 8 years ago
Markus Armbruster 62815d85ae json: Redesign the callback to consume JSON values 8 years ago
Marc-André Lureau e8b19d7d73 json-parser: simplify and avoid JSONParserContext allocation 8 years ago
Markus Armbruster dc45a07c36 json: Fix \uXXXX for surrogate pairs 8 years ago
Markus Armbruster 46a628b139 json: Reject invalid \uXXXX, fix \u0000 8 years ago
Markus Armbruster de6decfe8e json: Simplify parse_string() 8 years ago
Markus Armbruster b2da4a4d75 json: Leave rejecting invalid escape sequences to parser 8 years ago
Markus Armbruster 4b1c0cd7c7 json: Accept overlong \xC0\x80 as U+0000 ("modified UTF-8") 8 years ago
Markus Armbruster 574bf16ff1 json: Report first rather than last parse error 8 years ago
Markus Armbruster e59f39d403 json: Reject invalid UTF-8 sequences 8 years ago
Markus Armbruster 00ea57fadc json: Tighten and simplify qstring_from_escaped_str()'s loop 8 years ago
Marc-André Lureau cb3e7f08ae qobject: Replace qobject_incref/QINCREF qobject_decref/QDECREF 8 years ago
Max Reitz 532fb53284 qapi: Make more of qobject_to() 8 years ago
Max Reitz 7dc847ebba qapi: Replace qobject_to_X(o) by qobject_to(X, o) 8 years ago
Markus Armbruster 452fcdbc49 Include qapi/qmp/qdict.h exactly where needed 8 years ago
Markus Armbruster 47e6b297e7 Include qapi/qmp/qlist.h exactly where needed 8 years ago
Markus Armbruster 15280c360e qdict qlist: Make most helper macros functions 8 years ago
Markus Armbruster 6b67395762 Eliminate qapi/qmp/types.h 8 years ago
Markus Armbruster 006ca09f30 qapi: Separate type QNull from QObject 9 years ago
Marc-André Lureau 2bc7cfea09 json: learn to parse uint64 numbers 9 years ago
Marc-André Lureau 01b2ffcedd qapi: merge QInt and QFloat in QNum 9 years ago
Eric Blake c7eb39cbd4 qapi: Improve use of qmp/types.h 10 years ago
Veronia Bahaa f348b6d1a5 util: move declarations out of qemu-common.h 10 years ago
Markus Armbruster da34e65cb4 include/qemu/osdep.h: Don't include qapi/error.h 10 years ago
Eric Blake 6e8e5cb9aa qobject: Document more shortcomings in our number handling 10 years ago
Peter Maydell f2ad72b30e qobject: Clean up includes 10 years ago
Paolo Bonzini 9bada89711 qjson: surprise, allocating 6 QObjects per token is expensive 11 years ago
Paolo Bonzini 95385fe9ac qjson: store tokens in a GQueue 11 years ago