aboutsummaryrefslogtreecommitdiff
path: root/scripts/qapi/common.py
AgeCommit message (Expand)AuthorFilesLines
2021-05-20qapi: add must_match helperJohn Snow1-1/+7
2021-03-23qapi: Permit flat union members for any tag valueMarkus Armbruster1-4/+4
2020-10-10qapi/common.py: move build_params into gen.pyJohn Snow1-23/+0
2020-10-10qapi/common.py: Convert comments into docstrings, and elaborateJohn Snow1-14/+40
2020-10-10qapi/common.py: add type hint annotationsJohn Snow1-11/+16
2020-10-10qapi/common.py: Replace one-letter 'c' variableJohn Snow1-4/+4
2020-10-10qapi/common.py: delint with pylintJohn Snow1-10/+8
2020-10-10qapi/common.py: Add indent managerJohn Snow1-16/+33
2020-10-10qapi/common.py: Remove python compatibility workaroundJohn Snow1-4/+1
2020-03-05qapi: Drop conditionals for Python 2Markus Armbruster1-5/+1
2019-10-22qapi: Split up scripts/qapi/common.pyMarkus Armbruster1-2321/+0
2019-10-22qapi: Move gen_enum(), gen_enum_lookup() back to qapi/types.pyMarkus Armbruster1-59/+0
2019-10-22qapi: Eliminate accidental global frontend stateMarkus Armbruster1-2/+3
2019-10-22qapi: Store pragma state in QAPISourceInfo, not global stateMarkus Armbruster1-17/+19
2019-09-28qapi: Improve source file read error handlingMarkus Armbruster1-20/+26
2019-09-28qapi: Improve reporting of redefinitionMarkus Armbruster1-0/+5
2019-09-28qapi: Improve reporting of missing documentation commentMarkus Armbruster1-10/+8
2019-09-28qapi: Eliminate check_keys(), rename check_known_keys()Markus Armbruster1-19/+21
2019-09-28qapi: Improve reporting of invalid 'if' furtherMarkus Armbruster1-11/+16
2019-09-28qapi: Avoid redundant definition references in error messagesMarkus Armbruster1-80/+49
2019-09-28qapi: Improve reporting of missing / unknown definition keysMarkus Armbruster1-21/+19
2019-09-28qapi: Improve reporting of invalid flagsMarkus Armbruster1-10/+12
2019-09-28qapi: Improve reporting of invalid 'if' errorsMarkus Armbruster1-2/+2
2019-09-28qapi: Move context-free checking to the proper placeMarkus Armbruster1-8/+8
2019-09-28qapi: Move context-sensitive checking to the proper placeMarkus Armbruster1-231/+193
2019-09-28qapi: Inline check_name() into check_union()Markus Armbruster1-2/+4
2019-09-28qapi: Plumb info to the QAPISchemaMemberMarkus Armbruster1-34/+42
2019-09-28qapi: Make check_type()'s array case a bit more obviousMarkus Armbruster1-1/+2
2019-09-28qapi: Move check for reserved names out of add_name()Markus Armbruster1-6/+10
2019-09-28qapi: Report invalid '*' prefix like any other invalid nameMarkus Armbruster1-4/+2
2019-09-28qapi: Use check_name_str() where it sufficesMarkus Armbruster1-5/+4
2019-09-28qapi: Improve reporting of invalid name errorsMarkus Armbruster1-4/+16
2019-09-28qapi: Reorder check_FOO() parameters for consistencyMarkus Armbruster1-41/+39
2019-09-28qapi: Improve reporting of member name clashesMarkus Armbruster1-13/+23
2019-09-28qapi: Change frontend error messages to start with lower caseMarkus Armbruster1-90/+102
2019-09-28qapi: Clean up member name case checkingMarkus Armbruster1-11/+14
2019-09-28qapi: Prefix frontend errors with an "in definition" lineMarkus Armbruster1-1/+14
2019-09-28qapi: New QAPISourceInfo, replacing dictMarkus Armbruster1-28/+41
2019-09-28qapi: Rename .owner to .defined_inMarkus Armbruster1-30/+31
2019-09-28qapi: Tighten QAPISchemaFOO.check() assertionsMarkus Armbruster1-2/+7
2019-09-24qapi: Assert .visit() and .check_clash() run only after .check()Markus Armbruster1-1/+10
2019-09-24qapi: Fix excessive QAPISchemaEntity.check() recursionMarkus Armbruster1-22/+52
2019-09-24qapi: Fix to .check() empty structs just onceMarkus Armbruster1-1/+1
2019-09-24qapi: Delete useless check_exprs() code for simple union kindMarkus Armbruster1-37/+2
2019-09-24qapi: Clean up around check_known_keys()Markus Armbruster1-4/+4
2019-09-24qapi: Simplify check_keys()Markus Armbruster1-11/+8
2019-09-24qapi: Normalize 'if' in check_exprs(), like other sugarMarkus Armbruster1-11/+15
2019-09-24qapi: Fix missing 'if' checks in struct, union, alternate 'data'Markus Armbruster1-0/+3
2019-09-24qapi: Reject blank 'if' conditions in addition to empty onesMarkus Armbruster1-2/+3
2019-09-24qapi: Fix broken discriminator error messagesMarkus Armbruster1-5/+4