aboutsummaryrefslogtreecommitdiff
path: root/scripts/qapi
AgeCommit message (Expand)AuthorFilesLines
2024-07-17qapi: remove "Example" doc sectionJohn Snow1-1/+9
2024-07-06qapi/parser: don't parse rST markup as section headersJohn Snow1-2/+7
2024-07-06qapi: convert "Note" sections to plain rSTJohn Snow1-0/+15
2024-07-06qapi/parser: fix comment parsing immediately following a doc blockJohn Snow1-1/+1
2024-07-06qapi/parser: preserve indentation in QAPIDoc sectionsJohn Snow1-2/+2
2024-07-06qapi: linter fixupsJohn Snow3-9/+10
2024-05-06qapi: Simplify QAPISchemaVariants @tag_memberMarkus Armbruster1-26/+18
2024-05-06qapi: Move conditional code from QAPISchemaVariants to its subtypesMarkus Armbruster1-70/+70
2024-05-06qapi: Rename QAPISchemaAlternateType.variants to .alternativesMarkus Armbruster1-12/+13
2024-05-06qapi: Rename QAPISchemaObjectType.variants to .branchesMarkus Armbruster5-22/+22
2024-05-06qapi: Rename visitor parameter @variants to @alternativesMarkus Armbruster4-9/+10
2024-05-06qapi: Rename visitor parameter @variants to @branchesMarkus Armbruster4-14/+14
2024-05-06qapi: New QAPISchemaBranches, QAPISchemaAlternativesMarkus Armbruster4-18/+38
2024-04-24Merge tag 'pull-qapi-2024-04-24' of https://repo.or.cz/qemu/armbru into stagingRichard Henderson5-287/+536
2024-04-24qapi: Dumb down QAPISchema.lookup_entity()Markus Armbruster1-12/+6
2024-04-24qapi: Tighten check whether implicit object type already existsMarkus Armbruster1-1/+2
2024-04-24qapi/schema: remove unnecessary assertsJohn Snow1-25/+0
2024-04-24qapi/schema: turn on mypy strictnessJohn Snow1-5/+0
2024-04-24qapi/schema: add type hintsJohn Snow1-173/+397
2024-04-24qapi/parser.py: assert member.info is present in connect_memberJohn Snow1-0/+1
2024-04-24qapi/parser: demote QAPIExpression to Dict[str, Any]John Snow1-1/+2
2024-04-24qapi/schema: assert inner type of QAPISchemaVariants in check_clash()John Snow1-1/+4
2024-04-24qapi/schema: fix typing for QAPISchemaVariants.tag_memberJohn Snow1-3/+19
2024-04-24qapi/schema: Don't initialize "members" with `None`John Snow1-5/+7
2024-04-24qapi/schema: add _check_complete flagJohn Snow1-3/+5
2024-04-24qapi/schema: assert info is present when necessaryJohn Snow1-0/+2
2024-04-24qapi/schema: fix QAPISchemaArrayType.check's call to resolve_typeJohn Snow1-1/+1
2024-04-24qapi: Assert built-in types existMarkus Armbruster1-2/+6
2024-04-24qapi/schema: assert resolve_type has 'info' and 'what' args on errorJohn Snow1-0/+1
2024-04-24qapi/schema: add type narrowing to lookup_type()John Snow1-1/+3
2024-04-24qapi/schema: adjust type narrowing for mypy's benefitJohn Snow1-7/+9
2024-04-24qapi/schema: make c_type() and json_type() abstract methodsJohn Snow1-1/+4
2024-04-24qapi/schema: declare type for QAPISchemaArrayType.element_typeJohn Snow1-1/+1
2024-04-24qapi/schema: declare type for QAPISchemaObjectTypeMember.typeJohn Snow1-1/+1
2024-04-24qapi: create QAPISchemaDefinitionJohn Snow1-58/+78
2024-04-24qapi/schema: add pylint suppressionsJohn Snow2-5/+5
2024-04-24qapi: sort pylint suppressionsJohn Snow1-3/+3
2024-04-24qapi/parser: shush up pylintJohn Snow1-0/+1
2024-04-24qapi/parser: fix typo - self.returns.info => self.errors.infoJohn Snow1-1/+1
2024-04-24qapi: Inline and remove QERR_INVALID_PARAMETER_TYPE definitionPhilippe Mathieu-Daudé1-3/+2
2024-03-04qapi: Reject "Returns" section when command doesn't return anythingMarkus Armbruster1-1/+6
2024-03-04qapi: New documentation section tag "Errors"Markus Armbruster1-6/+17
2024-03-04qapi: Slightly clearer error message for invalid "Returns" sectionMarkus Armbruster1-2/+3
2024-03-04qapi: Memorize since & returns sectionsMarkus Armbruster1-14/+17
2024-02-26qapi: Divorce QAPIDoc from QAPIParseErrorMarkus Armbruster1-38/+28
2024-02-26qapi: Reject multiple and empty feature descriptionsMarkus Armbruster1-1/+7
2024-02-26qapi: Rewrite doc comment parserMarkus Armbruster1-269/+211
2024-02-26qapi: Merge adjacent untagged sectionsMarkus Armbruster1-0/+3
2024-02-26qapi: Call QAPIDoc.check() alwaysMarkus Armbruster1-5/+2
2024-02-26qapi: Recognize section tags and 'Features:' only after blank lineMarkus Armbruster1-3/+8