61 Commits (fd41dd4eae5f7ea92f10c04cb3f217727fcee91f)

Author SHA1 Message Date
Eric Blake fd41dd4eae qapi: Prefer 'struct' over 'type' in generator 11 years ago
Eric Blake 2cbf09925a qapi: More rigorous checking for type safety bypass 11 years ago
Eric Blake 10d4d997f8 qapi: Whitelist commands that don't return dictionary 11 years ago
Eric Blake c9e0a79869 qapi: Require valid names 11 years ago
Eric Blake dd883c6f05 qapi: More rigourous checking of types 11 years ago
Fam Zheng e53188ada5 qapi: Allow true, false and null in schema json 11 years ago
Eric Blake 4dc2e6906e qapi: Better error messages for duplicated expressions 11 years ago
Eric Blake 0545f6b887 qapi: Better error messages for bad expressions 11 years ago
Eric Blake ab916faddd qapi: Use 'alternate' to replace anonymous union 11 years ago
Eric Blake 811d04fd0c qapi: Segregate anonymous unions into alternates in generator 11 years ago
Eric Blake 268a1c5eb1 qapi: Prepare for catching more semantic parse errors 11 years ago
Eric Blake 44bd1276a7 qapi: Tighten checking of unions 11 years ago
Eric Blake a8d4a2e4d7 qapi: Forbid base without discriminator in unions 11 years ago
Eric Blake cf3935907b qapi: Better error messages for bad enums 11 years ago
Eric Blake fe2a9303c9 qapi: Require ASCII in schema 11 years ago
Eric Blake cb17f79eef qapi: Fix generation of 'size' builtin type 11 years ago
Eric Blake b52c4b9cf0 qapi: Simplify builtin type handling 11 years ago
Stefan Hajnoczi 7ac9a9d6e1 qapi.py: avoid Python 2.5+ any() function 12 years ago
Wenchao Xia d6f9c82c62 qapi script: clean up in scripts 12 years ago
Wenchao Xia 21cd70dfc1 qapi script: add event support 12 years ago
Amos Kong 05dfb26cd2 qapi: Suppress unwanted space between type and identifier 12 years ago
Amos Kong 0d14eeb233 qapi: add const prefix to 'char *' insider c_type() 12 years ago
Luiz Capitulino 3478881130 scripts/qapi.py: Avoid syntax not supported by Python 2.4 12 years ago
Benoît Canet 24fd848950 qapi: skip redundant includes 12 years ago
Lluís Vilanova a719a27c82 qapi: Add a primitive to include other files from a QAPI schema file 12 years ago
Lluís Vilanova 33aaad529e qapi: Use an explicit input file 12 years ago
Wenchao Xia 5d371f41b4 qapi script: do not add "_" for every capitalized char in enum 12 years ago
Wenchao Xia 5223070c47 qapi script: do not allow string discriminator 12 years ago
Wenchao Xia bceae7697f qapi script: support enum type as discriminator in union 12 years ago
Wenchao Xia b0b58195e4 qapi script: use same function to generate enum string 12 years ago
Wenchao Xia 6299659f54 qapi script: code move for generate_enum_name() 12 years ago
Wenchao Xia b86b05ed60 qapi script: check correctness of union 12 years ago
Wenchao Xia 515b943a91 qapi script: remember line number in schema parsing 12 years ago
Wenchao Xia 4b35991a3b qapi script: add check for duplicated key 12 years ago
Wenchao Xia dad1fcab91 qapi script: remember explicitly defined enum values 12 years ago
Markus Armbruster 678e48a2e4 qapi: Fix licensing of scripts 12 years ago
Max Reitz 8592a545b6 qapi: Add "errno" to the list of polluted words 13 years ago
Tomoki Sekiyama 6f88009ee5 Add c++ keywords to QAPI helper script 13 years ago
Peter Maydell 21e0043bad scripts/qapi.py: Avoid syntax not supported by Python 2.4 13 years ago
Markus Armbruster f1a145e154 qapi.py: Permit comments starting anywhere on the line 13 years ago
Markus Armbruster 28b8bd4c75 qapi.py: Rename expr_eval to expr in parse_schema() 13 years ago
Markus Armbruster 5f3cd2b717 qapi.py: Fix diagnosing non-objects at a schema's top-level 13 years ago
Markus Armbruster 6974ccd542 qapi.py: Fix schema parser to check syntax systematically 13 years ago
Markus Armbruster 9213aa5391 qapi.py: Reject invalid characters in schema file 13 years ago
Markus Armbruster 2caba36cc6 qapi.py: Decent syntax error reporting 13 years ago
Markus Armbruster c7a3f25200 qapi.py: Restructure lexer and parser 13 years ago
Kevin Wolf 69dd62dfd6 qapi: Anonymous unions 13 years ago
Kevin Wolf ea66c6d881 qapi.py: Maintain a list of union types 13 years ago
Kevin Wolf b35284ea20 qapi.py: Allow top-level type reference for command definitions 13 years ago
Kevin Wolf bd9927fee4 qapi.py: Avoid code duplication 13 years ago