aboutsummaryrefslogtreecommitdiff
path: root/scripts/qapi/common.py
AgeCommit message (Expand)AuthorFilesLines
2022-07-13qapi: Avoid generating C identifier 'linux'zhenwei pi1-1/+1
2021-09-08qapi: Bury some unused code in class IndentationMarkus Armbruster1-6/+1
2021-09-08qapi: Drop Indentation.__bool__()Markus Armbruster1-6/+3
2021-09-08qapi: Fix a botched type annotationMarkus Armbruster1-1/+2
2021-09-03qapi: Use "not COND" instead of "!COND" for generated documentationMarkus Armbruster1-1/+1
2021-09-03qapi: Avoid redundant parens in code generated for conditionalsMarkus Armbruster1-4/+6
2021-09-03qapi: Factor common recursion out of cgen_ifcond(), docgen_ifcond()Markus Armbruster1-20/+25
2021-09-03qapi: Fix C code generation for 'if'Markus Armbruster1-2/+2
2021-09-03qapi: Simplify how QAPISchemaIfCond represents "no condition"Markus Armbruster1-2/+2
2021-08-26qapi: make 'if' condition strings simple identifiersMarc-André Lureau1-1/+1
2021-08-26qapi: add 'not' condition operationMarc-André Lureau1-0/+4
2021-08-26qapi: add 'any' conditionMarc-André Lureau1-2/+2
2021-08-26qapi: replace if condition list with dict {'all': [...]}Marc-André Lureau1-5/+18
2021-08-26qapidoc: introduce QAPISchemaIfCond.docgen()Marc-André Lureau1-0/+7
2021-08-26qapi: introduce QAPISchemaIfCond.cgen()Marc-André Lureau1-13/+22
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