Markus Armbruster
|
574bf16ff1
json: Report first rather than last parse error
|
7 years ago |
Markus Armbruster
|
e59f39d403
json: Reject invalid UTF-8 sequences
|
7 years ago |
Markus Armbruster
|
00ea57fadc
json: Tighten and simplify qstring_from_escaped_str()'s loop
|
7 years ago |
Marc-André Lureau
|
cb3e7f08ae
qobject: Replace qobject_incref/QINCREF qobject_decref/QDECREF
|
7 years ago |
Max Reitz
|
532fb53284
qapi: Make more of qobject_to()
|
7 years ago |
Max Reitz
|
7dc847ebba
qapi: Replace qobject_to_X(o) by qobject_to(X, o)
|
7 years ago |
Markus Armbruster
|
452fcdbc49
Include qapi/qmp/qdict.h exactly where needed
|
7 years ago |
Markus Armbruster
|
47e6b297e7
Include qapi/qmp/qlist.h exactly where needed
|
7 years ago |
Markus Armbruster
|
15280c360e
qdict qlist: Make most helper macros functions
|
7 years ago |
Markus Armbruster
|
6b67395762
Eliminate qapi/qmp/types.h
|
7 years ago |
Markus Armbruster
|
006ca09f30
qapi: Separate type QNull from QObject
|
8 years ago |
Marc-André Lureau
|
2bc7cfea09
json: learn to parse uint64 numbers
|
8 years ago |
Marc-André Lureau
|
01b2ffcedd
qapi: merge QInt and QFloat in QNum
|
8 years ago |
Eric Blake
|
c7eb39cbd4
qapi: Improve use of qmp/types.h
|
9 years ago |
Veronia Bahaa
|
f348b6d1a5
util: move declarations out of qemu-common.h
|
9 years ago |
Markus Armbruster
|
da34e65cb4
include/qemu/osdep.h: Don't include qapi/error.h
|
9 years ago |
Eric Blake
|
6e8e5cb9aa
qobject: Document more shortcomings in our number handling
|
9 years ago |
Peter Maydell
|
f2ad72b30e
qobject: Clean up includes
|
9 years ago |
Paolo Bonzini
|
9bada89711
qjson: surprise, allocating 6 QObjects per token is expensive
|
9 years ago |
Paolo Bonzini
|
95385fe9ac
qjson: store tokens in a GQueue
|
9 years ago |
Markus Armbruster
|
d538b25543
qjson: Convert to parser to recursive descent
|
9 years ago |
Markus Armbruster
|
6b9606f68e
qjson: Inline token_is_escape() and simplify
|
9 years ago |
Markus Armbruster
|
50e2a467f5
qjson: Inline token_is_keyword() and simplify
|
9 years ago |
Markus Armbruster
|
c54616608a
qjson: Give each of the six structural chars its own token type
|
9 years ago |
Markus Armbruster
|
cc7a8ea740
Include qapi/qmp/qerror.h exactly where needed
|
10 years ago |
Eric Blake
|
fc48ffc39e
qobject: Use 'bool' for qbool
|
10 years ago |
Eric Blake
|
e549e7161f
json-parser: Accept 'null' in QMP
|
10 years ago |
Gonglei
|
a491af471b
json-parser: drop superfluous assignment for token variable
|
11 years ago |
Cole Robinson
|
f231b88db1
qerror.h: Remove QERR defines that are only used once
|
11 years ago |
Michael Roth
|
3d5b3ec6d4
json-parser: fix handling of large whole number values
|
12 years ago |