aboutsummaryrefslogtreecommitdiff
path: root/scripts/qapi
AgeCommit message (Expand)AuthorFilesLines
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
2021-02-18qapi/introspect.py: Add docstrings to _gen_tree and _tree_to_qlitJohn Snow1-0/+20
2021-02-18qapi/introspect.py: add type hint annotationsJohn Snow3-39/+93
2021-02-18qapi/introspect.py: remove _gen_variants helperJohn Snow1-7/+2
2021-02-18qapi/introspect.py: improve readability of _tree_to_qlitJohn Snow1-15/+18
2021-02-18qapi/introspect.py: improve _tree_to_qlit error messageJohn Snow1-1/+3
2021-02-18qapi/introspect.py: create a typed 'Annotated' data strutcureJohn Snow1-33/+45
2021-02-18qapi/introspect.py: Introduce preliminary tree typingJohn Snow1-1/+30
2021-02-18qapi/introspect.py: Always define all 'extra' dict keysJohn Snow1-5/+4
2021-02-18qapi/introspect.py: replace 'extra' dict with 'comment' argumentJohn Snow1-6/+9
2021-02-18qapi/introspect.py: Unify return type of _make_tree()John Snow1-3/+1
2021-02-18qapi/introspect.py: guard against ifcond/comment misuseJohn Snow1-2/+9
2021-02-18qapi/introspect.py: add _gen_features helperJohn Snow1-8/+12
2021-02-18qapi/introspect.py: use _make_tree for features nodesJohn Snow1-1/+3
2021-02-18qapi/introspect.py: assert schema is not NoneJohn Snow1-0/+5
2021-02-18qapi: Replace List[str] with Sequence[str] for ifcondJohn Snow5-20/+21
2021-02-08qapi: enable strict-optional checksJohn Snow1-1/+0
2021-02-08qapi: type 'info' as Optional[QAPISourceInfo]John Snow5-6/+6
2021-02-08qapi/gen: Drop support for QAPIGen without a file nameMarkus Armbruster1-2/+2
2021-02-08qapi/commands: Simplify command registry generationMarkus Armbruster1-27/+22
2021-02-08qapi/gen: Support switching to another module temporarilyMarkus Armbruster1-0/+7
2021-02-08qapi/gen: write _genc/_genh access shimsJohn Snow1-5/+13
2021-02-08qapi: centralize the built-in module name definitionJohn Snow1-5/+8
2021-02-08qapi/gen: Combine ._add_[user|system]_moduleMarkus Armbruster3-14/+7
2021-02-08qapi: use './builtin' as the built-in module nameJohn Snow2-19/+19
2021-02-08qapi: use explicitly internal module namesJohn Snow3-3/+4
2021-02-08qapi/gen: Replace ._begin_system_module()Markus Armbruster3-6/+7
2021-02-08qapi: centralize is_[user|system|builtin]_module methodsJohn Snow2-16/+40
2021-02-08qapi/gen: inline _wrap_ifcond into end_if()John Snow1-5/+2
2021-02-08qapi/main: handle theoretical None-return from re.match()John Snow1-0/+2
2021-02-08qapi/events: fix visit_event typingJohn Snow1-5/+7
2021-02-08qapi/commands: assert arg_type is not NoneJohn Snow1-3/+6
2020-10-10qapi/visit.py: add type hint annotationsJohn Snow2-22/+56
2020-10-10qapi/visit.py: remove unused parameters from gen_visit_objectJohn Snow2-3/+2
2020-10-10qapi/visit.py: assert tag_member contains a QAPISchemaEnumTypeJohn Snow1-5/+7
2020-10-10qapi/types.py: remove one-letter variablesJohn Snow2-15/+15
2020-10-10qapi/types.py: add type hint annotationsJohn Snow2-27/+64
2020-10-10qapi/gen.py: delint with pylintJohn Snow2-2/+5
2020-10-10qapi/gen.py: update write() to be more idiomaticJohn Snow1-14/+11
2020-10-10qapi/gen.py: Remove unused parameterJohn Snow1-2/+2
2020-10-10qapi/gen.py: add type hint annotationsJohn Snow2-52/+57
2020-10-10qapi/gen: Make _is_user_module() return boolJohn Snow1-1/+1
2020-10-10qapi/source.py: delint with pylintJohn Snow2-1/+3
2020-10-10qapi/source.py: add type hint annotationsJohn Snow2-18/+19
2020-10-10qapi/commands.py: add type hint annotationsJohn Snow2-23/+56
2020-10-10qapi/commands.py: Don't re-bind to variable of different typeJohn Snow1-3/+1
2020-10-10qapi/events.py: Move comments into docstringsJohn Snow1-1/+5