You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qemu/scripts/qapi
Daniel P. Berrangé 2ebb09f34f qapi: expose all schema features to code
This replaces use of the constants from the QapiSpecialFeatures
enum, with constants from the auto-generate QapiFeatures enum
in qapi-features.h

The 'deprecated' and 'unstable' features still have a little bit of
special handling, being force defined to be the 1st + 2nd features
in the enum, regardless of whether they're used in the schema. This
retains compatibility with common code that references the features
via the QapiSpecialFeatures constants.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Message-ID: <20250205123550.2754387-5-berrange@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
[Imports tidied up with isort]
Signed-off-by: Markus Armbruster <armbru@redhat.com>
2 weeks ago
..
.flake8 qapi: Update flake8 config 2 years ago
.isort.cfg qapi: enforce import order/styling with isort 4 years ago
__init__.py
commands.py qapi: expose all schema features to code 2 weeks ago
common.py qapi: Smarter camel_to_upper() to reduce need for 'prefix' 6 months ago
error.py qapi/error: Add type hints 4 years ago
events.py qapi: Move include/qapi/qmp/ to include/qobject/ 2 weeks ago
expr.py qapi: Fix to reject 'data': 'mumble' in struct 2 years ago
features.py qapi: expose all schema features to code 2 weeks ago
gen.py qapi: expose all schema features to code 2 weeks ago
introspect.py qapi: Move include/qapi/qmp/ to include/qobject/ 2 weeks ago
main.py qapi: expose all schema features to code 2 weeks ago
mypy.ini qapi/schema: turn on mypy strictness 10 months ago
parser.py qapi: remove "Example" doc section 7 months ago
pylintrc qapi/schema: add pylint suppressions 10 months ago
schema.py qapi: expose all schema features to code 2 weeks ago
source.py qapi: Require member documentation (with loophole) 1 year ago
types.py qapi: expose all schema features to code 2 weeks ago
visit.py qapi: expose all schema features to code 2 weeks ago