summaryrefslogtreecommitdiffstats
path: root/scripts/qapi
Commit message (Expand)AuthorAgeFilesLines
* qapi/parser: enable mypy checksJohn Snow2021-10-021-5/+0Star
* qapi/parser: Add FIXME for consolidating JSON-related typesJohn Snow2021-10-021-0/+4
* qapi/parser: add type hint annotations (QAPIDoc)John Snow2021-10-021-28/+39
* qapi/parser: add import cycle workaroundJohn Snow2021-10-021-4/+11
* qapi/parser: Introduce NullSectionJohn Snow2021-10-021-11/+16
* qapi/parser: clarify _end_section() logicJohn Snow2021-10-021-7/+15
* qapi/parser: remove FIXME comment from _append_body_lineJohn Snow2021-10-021-2/+4
* qapi/parser: fix unused check_args_section argumentsJohn Snow2021-10-021-8/+10
* qapi/gen: use dict.items() to iterate over _modulesJohn Snow2021-10-021-2/+1Star
* qapi/pylintrc: ignore 'consider-using-f-string' warningJohn Snow2021-10-021-0/+1
* qapi: Drop simple unionsMarkus Armbruster2021-09-272-94/+28Star
* qapi: Stop enforcing "type name should not end in 'Kind'Markus Armbruster2021-09-251-3/+3
* qapi: Fix bogus error for 'if': { 'not': '' }Markus Armbruster2021-09-081-8/+13
* qapi: Bury some unused code in class IndentationMarkus Armbruster2021-09-081-6/+1Star
* qapi: Drop Indentation.__bool__()Markus Armbruster2021-09-081-6/+3Star
* qapi: Fix a botched type annotationMarkus Armbruster2021-09-081-1/+2
* qapi: Tweak error messages for unknown / conflicting 'if' keysMarkus Armbruster2021-09-031-4/+3Star
* qapi: Tweak error messages for missing / conflicting meta-typeMarkus Armbruster2021-09-031-14/+9Star
* qapi: Use re.fullmatch() where appropriateMarkus Armbruster2021-09-031-1/+1
* qapi: Use "not COND" instead of "!COND" for generated documentationMarkus Armbruster2021-09-031-1/+1
* 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-032-3/+3
* qapi: Simplify QAPISchemaIfCond's interface for generating CMarkus Armbruster2021-09-035-38/+31Star
* qapi: make 'if' condition strings simple identifiersMarc-André Lureau2021-08-262-3/+3
* qapi: add 'not' condition operationMarc-André Lureau2021-08-262-2/+9
* qapi: add 'any' conditionMarc-André Lureau2021-08-262-5/+5
* qapi: replace if condition list with dict {'all': [...]}Marc-André Lureau2021-08-263-31/+54
* qapidoc: introduce QAPISchemaIfCond.docgen()Marc-André Lureau2021-08-262-1/+16
* qapi: introduce QAPISchemaIfCond.cgen()Marc-André Lureau2021-08-266-34/+46
* qapi: add QAPISchemaIfCond.is_present()Marc-André Lureau2021-08-262-4/+7
* qapi: wrap Sequence[str] in an objectMarc-André Lureau2021-08-267-76/+93
* qapi: Fix crash on redefinition with a different conditionMarkus Armbruster2021-08-261-11/+11
* qapi: Fix crash on missing enum member nameMarkus Armbruster2021-07-151-1/+1
* qapi/parser: add docstringsJohn Snow2021-05-201-0/+69
* qapi/parser: allow 'ch' variable nameJohn Snow2021-05-201-0/+1
* qapi/parser: Remove superfluous list comprehensionJohn Snow2021-05-201-1/+1
* qapi/parser: add type hint annotationsJohn Snow2021-05-201-20/+38
* qapi/parser: Rework _check_pragma_list_of_str as a TypeGuardJohn Snow2021-05-201-14/+16
* qapi/parser: Fix token membership tests when token can be NoneJohn Snow2021-05-201-2/+3
* qapi: add must_match helperJohn Snow2021-05-203-11/+16
* qapi/parser: Use @staticmethod where appropriateJohn Snow2021-05-201-2/+4
* qapi/parser: assert object keys are stringsJohn Snow2021-05-201-0/+2
* qapi/parser: enforce all top-level expressions must be dict in _parse()John Snow2021-05-201-6/+8
* qapi/parser: Assert lexer value is a stringJohn Snow2021-05-201-0/+1
* qapi/parser: factor parsing routine into methodJohn Snow2021-05-201-12/+28
* qapi/source: Remove line number from QAPISourceInfo initializerJohn Snow2021-05-202-8/+4Star
* qapi/parser: Don't try to handle file errorsJohn Snow2021-05-203-14/+18
* qapi/error.py: enable mypy checksJohn Snow2021-04-301-5/+0Star