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