aboutsummaryrefslogtreecommitdiff
path: root/scripts/qapi
AgeCommit message (Expand)AuthorFilesLines
2021-09-08qapi: Fix bogus error for 'if': { 'not': '' }Markus Armbruster1-8/+13
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: Tweak error messages for unknown / conflicting 'if' keysMarkus Armbruster1-4/+3
2021-09-03qapi: Tweak error messages for missing / conflicting meta-typeMarkus Armbruster1-14/+9
2021-09-03qapi: Use re.fullmatch() where appropriateMarkus Armbruster1-1/+1
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 Armbruster2-3/+3
2021-09-03qapi: Simplify QAPISchemaIfCond's interface for generating CMarkus Armbruster5-38/+31
2021-08-26qapi: make 'if' condition strings simple identifiersMarc-André Lureau2-3/+3
2021-08-26qapi: add 'not' condition operationMarc-André Lureau2-2/+9
2021-08-26qapi: add 'any' conditionMarc-André Lureau2-5/+5
2021-08-26qapi: replace if condition list with dict {'all': [...]}Marc-André Lureau3-31/+54
2021-08-26qapidoc: introduce QAPISchemaIfCond.docgen()Marc-André Lureau2-1/+16
2021-08-26qapi: introduce QAPISchemaIfCond.cgen()Marc-André Lureau6-34/+46
2021-08-26qapi: add QAPISchemaIfCond.is_present()Marc-André Lureau2-4/+7
2021-08-26qapi: wrap Sequence[str] in an objectMarc-André Lureau7-76/+93
2021-08-26qapi: Fix crash on redefinition with a different conditionMarkus Armbruster1-11/+11
2021-07-15qapi: Fix crash on missing enum member nameMarkus Armbruster1-1/+1
2021-05-20qapi/parser: add docstringsJohn Snow1-0/+69
2021-05-20qapi/parser: allow 'ch' variable nameJohn Snow1-0/+1
2021-05-20qapi/parser: Remove superfluous list comprehensionJohn Snow1-1/+1
2021-05-20qapi/parser: add type hint annotationsJohn Snow1-20/+38
2021-05-20qapi/parser: Rework _check_pragma_list_of_str as a TypeGuardJohn Snow1-14/+16
2021-05-20qapi/parser: Fix token membership tests when token can be NoneJohn Snow1-2/+3
2021-05-20qapi: add must_match helperJohn Snow3-11/+16
2021-05-20qapi/parser: Use @staticmethod where appropriateJohn Snow1-2/+4
2021-05-20qapi/parser: assert object keys are stringsJohn Snow1-0/+2
2021-05-20qapi/parser: enforce all top-level expressions must be dict in _parse()John Snow1-6/+8
2021-05-20qapi/parser: Assert lexer value is a stringJohn Snow1-0/+1
2021-05-20qapi/parser: factor parsing routine into methodJohn Snow1-12/+28
2021-05-20qapi/source: Remove line number from QAPISourceInfo initializerJohn Snow2-8/+4
2021-05-20qapi/parser: Don't try to handle file errorsJohn Snow3-14/+18
2021-04-30qapi/error.py: enable mypy checksJohn Snow1-5/+0
2021-04-30qapi/error: Add type hintsJohn Snow1-2/+9
2021-04-30qapi/error.py: enable pylint checksJohn Snow1-2/+1
2021-04-30qapi/error.py: move QAPIParseError to parser.pyJohn Snow2-15/+21
2021-04-30qapi/error: assert QAPISourceInfo is not NoneJohn Snow1-0/+1
2021-04-30qapi/error: Make QAPISourceError 'col' parameter optionalJohn Snow2-7/+4
2021-04-30qapi/error: Use Python3-style super()John Snow1-1/+1
2021-04-30qapi/error: Repurpose QAPIError as an abstract base exception classJohn Snow2-4/+12
2021-04-30qapi/expr: Update authorship and copyright informationJohn Snow1-1/+2
2021-04-30qapi/expr.py: Use tuples instead of lists for static dataJohn Snow1-2/+2
2021-04-30qapi/expr.py: Add docstringsJohn Snow1-5/+251
2021-04-30qapi/expr: Only explicitly prohibit 'Kind' nor 'List' for type namesJohn Snow1-3/+3
2021-04-30qapi/expr.py: enable pylint checksJohn Snow1-1/+0