summaryrefslogtreecommitdiffstats
path: root/scripts/qapi/common.py
Commit message (Expand)AuthorAgeFilesLines
* qapi: Avoid redundant parens in code generated for conditionalsMarkus Armbruster2021-09-031-4/+6
* qapi: Factor common recursion out of cgen_ifcond(), docgen_ifcond()Markus Armbruster2021-09-031-20/+25
* qapi: Fix C code generation for 'if'Markus Armbruster2021-09-031-2/+2
* qapi: Simplify how QAPISchemaIfCond represents "no condition"Markus Armbruster2021-09-031-2/+2
* qapi: make 'if' condition strings simple identifiersMarc-André Lureau2021-08-261-1/+1
* qapi: add 'not' condition operationMarc-André Lureau2021-08-261-0/+4
* qapi: add 'any' conditionMarc-André Lureau2021-08-261-2/+2
* qapi: replace if condition list with dict {'all': [...]}Marc-André Lureau2021-08-261-5/+18
* qapidoc: introduce QAPISchemaIfCond.docgen()Marc-André Lureau2021-08-261-0/+7
* qapi: introduce QAPISchemaIfCond.cgen()Marc-André Lureau2021-08-261-13/+22
* qapi: add must_match helperJohn Snow2021-05-201-1/+7
* qapi: Permit flat union members for any tag valueMarkus Armbruster2021-03-231-4/+4
* qapi/common.py: move build_params into gen.pyJohn Snow2020-10-101-23/+0Star
* qapi/common.py: Convert comments into docstrings, and elaborateJohn Snow2020-10-101-14/+40
* qapi/common.py: add type hint annotationsJohn Snow2020-10-101-11/+16
* qapi/common.py: Replace one-letter 'c' variableJohn Snow2020-10-101-4/+4
* qapi/common.py: delint with pylintJohn Snow2020-10-101-10/+8Star
* qapi/common.py: Add indent managerJohn Snow2020-10-101-16/+33
* qapi/common.py: Remove python compatibility workaroundJohn Snow2020-10-101-4/+1Star
* qapi: Drop conditionals for Python 2Markus Armbruster2020-03-051-5/+1Star
* qapi: Split up scripts/qapi/common.pyMarkus Armbruster2019-10-221-2321/+0Star
* qapi: Move gen_enum(), gen_enum_lookup() back to qapi/types.pyMarkus Armbruster2019-10-221-59/+0Star
* qapi: Eliminate accidental global frontend stateMarkus Armbruster2019-10-221-2/+3
* qapi: Store pragma state in QAPISourceInfo, not global stateMarkus Armbruster2019-10-221-17/+19
* qapi: Improve source file read error handlingMarkus Armbruster2019-09-281-20/+26
* qapi: Improve reporting of redefinitionMarkus Armbruster2019-09-281-0/+5
* qapi: Improve reporting of missing documentation commentMarkus Armbruster2019-09-281-10/+8Star
* qapi: Eliminate check_keys(), rename check_known_keys()Markus Armbruster2019-09-281-19/+21
* qapi: Improve reporting of invalid 'if' furtherMarkus Armbruster2019-09-281-11/+16
* qapi: Avoid redundant definition references in error messagesMarkus Armbruster2019-09-281-80/+49Star
* qapi: Improve reporting of missing / unknown definition keysMarkus Armbruster2019-09-281-21/+19Star
* qapi: Improve reporting of invalid flagsMarkus Armbruster2019-09-281-10/+12
* qapi: Improve reporting of invalid 'if' errorsMarkus Armbruster2019-09-281-2/+2
* qapi: Move context-free checking to the proper placeMarkus Armbruster2019-09-281-8/+8
* qapi: Move context-sensitive checking to the proper placeMarkus Armbruster2019-09-281-231/+193Star
* qapi: Inline check_name() into check_union()Markus Armbruster2019-09-281-2/+4
* qapi: Plumb info to the QAPISchemaMemberMarkus Armbruster2019-09-281-34/+42
* qapi: Make check_type()'s array case a bit more obviousMarkus Armbruster2019-09-281-1/+2
* qapi: Move check for reserved names out of add_name()Markus Armbruster2019-09-281-6/+10
* qapi: Report invalid '*' prefix like any other invalid nameMarkus Armbruster2019-09-281-4/+2Star
* qapi: Use check_name_str() where it sufficesMarkus Armbruster2019-09-281-5/+4Star
* qapi: Improve reporting of invalid name errorsMarkus Armbruster2019-09-281-4/+16
* qapi: Reorder check_FOO() parameters for consistencyMarkus Armbruster2019-09-281-41/+39Star
* qapi: Improve reporting of member name clashesMarkus Armbruster2019-09-281-13/+23
* qapi: Change frontend error messages to start with lower caseMarkus Armbruster2019-09-281-90/+102
* qapi: Clean up member name case checkingMarkus Armbruster2019-09-281-11/+14
* qapi: Prefix frontend errors with an "in definition" lineMarkus Armbruster2019-09-281-1/+14
* qapi: New QAPISourceInfo, replacing dictMarkus Armbruster2019-09-281-28/+41
* qapi: Rename .owner to .defined_inMarkus Armbruster2019-09-281-30/+31
* qapi: Tighten QAPISchemaFOO.check() assertionsMarkus Armbruster2019-09-281-2/+7