aboutsummaryrefslogtreecommitdiff
path: root/scripts/qapi
AgeCommit message (Expand)AuthorFilesLines
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
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 Snow2-30/+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 Armbruster3-2/+8
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 Armbruster4-11/+11
2021-03-23qapi: Factor out QAPISchemaParser._check_pragma_list_of_str()Markus Armbruster1-10/+9
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 Armbruster2-5/+7
2021-03-23qapi: Fix to reject optional members with reserved namesMarkus Armbruster1-5/+4
2021-03-19qapi: Implement deprecated-input=reject for QMP command argumentsMarkus Armbruster2-2/+4
2021-03-19qapi: Implement deprecated-input=reject for QMP commandsMarkus Armbruster1-3/+7
2021-03-19qapi: Implement deprecated-output=hide for QMP event dataMarkus Armbruster1-3/+6
2021-03-19qapi: Implement deprecated-output=hide for QMP eventsMarkus Armbruster1-1/+11
2021-03-19qapi: Implement deprecated-output=hide for QMP command resultsMarkus Armbruster2-2/+14
2021-03-05qapi: Fix parse errors for removal of null from schema languageMarkus Armbruster1-4/+4
2021-02-18qapi/introspect.py: set _gen_tree's default ifcond argument to ()John Snow1-2/+2
2021-02-18qapi/introspect.py: Type _gen_tree variants as Sequence[str]John Snow1-4/+4
2021-02-18qapi/introspect.py: Update copyright and authors listJohn Snow1-1/+2