aboutsummaryrefslogtreecommitdiff
path: root/scripts/qapi/expr.py
AgeCommit message (Expand)AuthorFilesLines
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: Remove single-letter variableJohn Snow1-7/+7
2021-04-30qapi/expr.py: Consolidate check_if_str calls in check_ifJohn Snow1-17/+16
2021-04-30qapi/expr.py: add type hint annotationsJohn Snow1-25/+43
2021-04-30qapi/expr.py: Modify check_keys to accept any CollectionJohn Snow1-1/+1
2021-04-30qapi/expr.py: Add casts in a few select casesJohn Snow1-5/+5
2021-04-30qapi/expr.py: Check type of union and alternate 'data' memberJohn Snow1-0/+7
2021-04-30qapi/expr.py: move string check upwards in check_typeJohn Snow1-4/+4
2021-04-30qapi/expr.py: Add assertion for union type 'check_dict'John Snow1-1/+3
2021-04-30qapi/expr.py: constrain incoming expression typesJohn Snow1-3/+25
2021-04-30qapi/expr.py: Check for dict instead of OrderedDictJohn Snow1-3/+2
2021-04-30qapi/expr.py: Remove 'info' argument from nested check_if_strJohn Snow1-3/+3
2021-04-30qapi/expr: Comment cleanupJohn Snow1-1/+1
2021-03-23qapi: Enforce union and alternate branch naming rulesMarkus Armbruster1-2/+2
2021-03-23qapi: Enforce enum member naming rulesMarkus Armbruster1-2/+3
2021-03-23qapi: Enforce struct member naming rulesMarkus Armbruster1-2/+3
2021-03-23qapi: Enforce command naming rulesMarkus Armbruster1-2/+3
2021-03-23qapi: Enforce feature naming rulesMarkus Armbruster1-1/+1
2021-03-23qapi: Prepare for rejecting underscore in command and member namesMarkus Armbruster1-10/+14
2021-03-23qapi: Rename pragma *-whitelist to *-exceptionsMarkus Armbruster1-2/+2
2021-03-23qapi: Enforce type naming rulesMarkus Armbruster1-1/+2
2021-03-23qapi: Enforce event naming rulesMarkus Armbruster1-1/+3
2021-03-23qapi: Consistently permit any case in downstream prefixesMarkus Armbruster1-1/+1
2021-03-23qapi: Move uppercase rejection to check_name_lower()Markus Armbruster1-8/+7
2021-03-23qapi: Rework name checking in preparation of stricter checkingMarkus Armbruster1-15/+36
2021-03-23qapi: Lift enum-specific code out of check_name_str()Markus Armbruster1-13/+10
2021-03-23qapi: Permit flat union members for any tag valueMarkus Armbruster1-1/+3
2021-03-23qapi: Fix to reject optional members with reserved namesMarkus Armbruster1-5/+4
2020-10-10qapi: enforce import order/styling with isortJohn Snow1-1/+2
2020-10-10qapi: Prefer explicit relative importsJohn Snow1-2/+2
2020-10-09qapi: Add a 'coroutine' flag for commandsKevin Wolf1-2/+9
2020-03-17qapi: Add feature flags to struct membersMarkus Armbruster1-1/+2
2020-03-17qapi: Add feature flags to remaining definitionsMarkus Armbruster1-6/+5
2020-03-05qapi: Brush off some (py)lintMarkus Armbruster1-2/+1
2019-10-29qapi: Fold normalize_enum() into check_enum()Markus Armbruster1-7/+2
2019-10-29qapi: Fold normalize_features() into check_features()Markus Armbruster1-8/+2
2019-10-29qapi: Fold normalize_if() into check_if()Markus Armbruster1-12/+1
2019-10-22qapi: Add feature flags to commandsPeter Krempa1-15/+20
2019-10-22qapi: Split up scripts/qapi/common.pyMarkus Armbruster1-0/+378