aboutsummaryrefslogtreecommitdiff
path: root/tests/qapi-schema
AgeCommit message (Expand)AuthorFilesLines
2022-04-21qapi-schema: test: add a unit test for parsing array alternatesPaolo Bonzini2-0/+5
2022-04-21qapi-schema: test: add a qapi-schema-test for array alternatesPaolo Bonzini4-0/+9
2022-04-21qapi-schema: support alternates with array typePaolo Bonzini3-4/+18
2021-11-08meson: drop sphinx_extn_dependsMarc-André Lureau1-1/+0
2021-11-08tests/qapi-schema/meson: add depfile to sphinx docMarc-André Lureau1-0/+3
2021-10-29qapi: New special feature flag "unstable"Markus Armbruster2-2/+10
2021-10-27qapi: Add feature flags to enum membersMarkus Armbruster7-3/+15
2021-10-05meson: switch minimum meson version to 0.58.2, minimum recommended to 0.59.2Paolo Bonzini1-2/+2
2021-10-02qapi/parser: remove FIXME comment from _append_body_lineJohn Snow1-1/+1
2021-10-02qapi: Add spaces after symbol declaration for consistencyJohn Snow1-0/+8
2021-10-02qapi/parser: fix unused check_args_section argumentsJohn Snow1-1/+1
2021-09-27tests/qapi-schema: Make test-qapi.py -u work when files are absentMarkus Armbruster1-3/+13
2021-09-27tests/qapi-schema: Use Python OSError instead of outmoded IOErrorMarkus Armbruster1-2/+2
2021-09-27tests/qapi-schema: Rename flat-union-* test cases to union-*Markus Armbruster65-48/+48
2021-09-27qapi: Drop simple unionsMarkus Armbruster10-10/+10
2021-09-27tests/qapi-schema: Purge simple unions from testsMarkus Armbruster26-84/+30
2021-09-27tests/qapi-schema: Drop simple union __org.qemu_x-Union1Markus Armbruster2-18/+8
2021-09-27tests/qapi-schema: Rewrite simple union TestIfUnion to be flatMarkus Armbruster2-11/+9
2021-09-27tests/qapi-schema: Simple union UserDefListUnion is now unused, dropMarkus Armbruster2-81/+0
2021-09-27tests/qapi-schema: Wean off UserDefListUnionMarkus Armbruster2-2/+2
2021-09-27tests/qapi-schema: Prepare for simple union UserDefListUnion removalMarkus Armbruster2-0/+32
2021-09-25qapi: Stop enforcing "type name should not end in 'Kind'Markus Armbruster4-5/+0
2021-09-25qapi: Tidy up unusual line breaksMarkus Armbruster3-18/+18
2021-09-08qapi: Fix bogus error for 'if': { 'not': '' }Markus Armbruster1-1/+1
2021-09-08tests/qapi-schema: Cover 'not' condition with empty argumentMarkus Armbruster4-0/+6
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