aboutsummaryrefslogtreecommitdiff
path: root/tests/qapi-schema
AgeCommit message (Expand)AuthorFilesLines
2021-09-03qapi: Tweak error messages for unknown / conflicting 'if' keysMarkus Armbruster3-3/+3
2021-09-03qapi: Tweak error messages for missing / conflicting meta-typeMarkus Armbruster2-4/+2
2021-09-03tests/qapi-schema: Hide OrderedDict in test outputMarkus Armbruster3-19/+28
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-3/+3
2021-09-03qapi: Fix C code generation for 'if'Markus Armbruster1-1/+0
2021-09-03tests/qapi-schema: Demonstrate broken C code for 'if'Markus Armbruster5-3/+11
2021-09-03tests/qapi-schema: Correct two 'if' conditionalsMarkus Armbruster2-7/+6
2021-08-26qapi: make 'if' condition strings simple identifiersMarc-André Lureau12-73/+73
2021-08-26qapi: add 'not' condition operationMarc-André Lureau8-7/+16
2021-08-26qapi: add 'any' conditionMarc-André Lureau8-7/+21
2021-08-26qapi: replace if condition list with dict {'all': [...]}Marc-André Lureau23-53/+83
2021-08-26qapi: add QAPISchemaIfCond.is_present()Marc-André Lureau1-1/+1
2021-08-26qapi: wrap Sequence[str] in an objectMarc-André Lureau1-2/+2
2021-08-26qapi: Fix crash on redefinition with a different conditionMarkus Armbruster1-1/+1
2021-07-15qapi: Fix crash on missing enum member nameMarkus Armbruster3-0/+4
2021-06-02docs: fix references to docs/devel/build-system.rstStefano Garzarella1-1/+1
2021-05-20qapi/parser: Fix token membership tests when token can be NoneJohn Snow7-0/+6
2021-05-20qapi/parser: enforce all top-level expressions must be dict in _parse()John Snow2-2/+2
2021-05-20qapi: Add test for nonexistent schema fileJohn Snow3-1/+7
2021-05-20qapi/parser: Don't try to handle file errorsJohn Snow1-3/+0
2021-04-30qapi/expr.py: Check type of union and alternate 'data' memberJohn Snow7-0/+16
2021-03-23qapi: Enforce union and alternate branch naming rulesMarkus Armbruster6-9/+13
2021-03-23qapi: Enforce enum member naming rulesMarkus Armbruster2-1/+2
2021-03-23qapi: Enforce struct member naming rulesMarkus Armbruster4-5/+10
2021-03-23tests/qapi-schema: Switch member name clash test to structMarkus Armbruster5-4/+4
2021-03-23qapi: Enforce command naming rulesMarkus Armbruster2-22/+25
2021-03-23qapi: Prepare for rejecting underscore in command and member namesMarkus Armbruster3-3/+3
2021-03-23qapi: Rename pragma *-whitelist to *-exceptionsMarkus Armbruster7-8/+7
2021-03-23tests/qapi-schema: Rename returns-whitelist to returns-bad-typeMarkus Armbruster5-3/+3
2021-03-23tests/qapi-schema: Rename pragma-*-crap to pragma-value-not-*Markus Armbruster13-9/+9
2021-03-23tests/qapi-schema: Rename redefined-builtin to redefined-predefinedMarkus Armbruster5-3/+3
2021-03-23qapi: Enforce type naming rulesMarkus Armbruster21-23/+28
2021-03-23qapi: Enforce event naming rulesMarkus Armbruster9-30/+16
2021-03-23qapi: Fix to reject optional members with reserved namesMarkus Armbruster3-15/+2
2021-03-23tests/qapi-schema: Tweak to demonstrate buggy member name checkMarkus Armbruster3-3/+16
2021-03-23tests/qapi-schema: Drop TODO comment on simple unionsMarkus Armbruster2-2/+1
2021-03-23tests/qapi-schema: Belatedly update comment on alternate clashMarkus Armbruster2-5/+2
2021-03-23tests/qapi-schema: Rework comments on longhand member definitionsMarkus Armbruster8-8/+12
2021-03-23tests/qapi-schema: Drop redundant flat-union-inline testMarkus Armbruster4-14/+0
2021-03-19qapi: Implement deprecated-output=hide for QMP event dataMarkus Armbruster2-0/+5
2021-03-19qapi: Implement deprecated-output=hide for QMP command resultsMarkus Armbruster2-17/+18
2021-03-05qapi: Fix parse errors for removal of null from schema languageMarkus Armbruster2-2/+2
2021-02-08qapi: use './builtin' as the built-in module nameJohn Snow8-8/+8
2020-10-17meson: move SPHINX_ARGS references within "if build_docs"Paolo Bonzini1-44/+44
2020-10-09qapi: Add a 'coroutine' flag for commandsKevin Wolf7-3/+12
2020-09-29scripts/qapi: Remove texinfo generation supportPeter Maydell2-321/+1
2020-09-29tests/qapi-schema: Add test of the rST QAPI doc-comment outputPeter Maydell3-0/+348
2020-09-29tests/qapi-schema: Convert doc-good.json to rST-style strong/emphasisPeter Maydell3-3/+3
2020-09-29scripts/qapi/parser.py: improve doc comment indent handlingPeter Maydell5-2/+12