qapi: Fix qapi mangling of downstream names, and more
The following changes since commit 1eeace9c237a729d11c7acd7c0338ab4562af637:
Merge remote-tracking branch 'remotes/agraf/tags/signed-s390-for-upstream' into staging (2015-05-13 16:06:07 +0100)
are available in the git repository at:
git://repo.or.cz/qemu/armbru.git tags/pull-qapi-2015-05-15
for you to fetch changes up to 4180978c9205c50acd2d6c385def9b3e81911696:
qapi: Inline gen_command_decl_prologue(), gen_command_def_prologue() (2015-05-14 18:41:33 +0200)
----------------------------------------------------------------
qapi: Fix qapi mangling of downstream names, and more
----------------------------------------------------------------
Eduardo Habkost (1):
qmp: Add qom_path field to query-cpus command
Eric Blake (9):
qapi: Rename identical c_fun()/c_var() into c_name()
qapi: Tidy c_type() logic
qapi: Make c_type() consistently convert qapi names
qapi: Support downstream enums
qapi: Support downstream structs
qapi: Support downstream simple unions
qapi: Support downstream flat unions
qapi: Support downstream alternates
qapi: Support downstream events and commands
Markus Armbruster (15):
qapi: Fix C identifiers generated for names containing '.'
qapi: Rename _generate_enum_string() to camel_to_upper()
qapi: Rename generate_enum_full_value() to c_enum_const()
qapi: Simplify c_enum_const()
qapi: Use c_enum_const() in generate_alternate_qtypes()
qapi: Move camel_to_upper(), c_enum_const() to closely related code
tests: Add missing dependencies on $(qapi-py)
qapi: qapi-event.py option -b does nothing, drop it
qapi: qapi-commands.py option --type is unused, drop it
qapi: Factor parse_command_line() out of the generators
qapi: Fix generators to report command line errors decently
qapi: Turn generators' mandatory option -i into an argument
qapi: Factor open_output(), close_output() out of generators
qapi: Drop pointless flush() before close()
qapi: Inline gen_command_decl_prologue(), gen_command_def_prologue()
Michael S. Tsirkin (1):
doc: fix qmp event type
Makefile | 14 +- cpus.c | 1 + docs/qapi-code-gen.txt | 10 +- docs/qmp/qmp-events.txt | 4 +- qapi-schema.json | 8 +- qmp-commands.hx | 7 +- scripts/qapi-commands.py | 236 +++++++++++------------------- scripts/qapi-event.py | 135 +++++------------ scripts/qapi-types.py | 161 +++++++-------------- scripts/qapi-visit.py | 187 +++++++++--------------- scripts/qapi.py | 248 ++++++++++++++++++++++---------- tests/Makefile | 16 +-- tests/qapi-schema/qapi-schema-test.json | 20 +++ tests/qapi-schema/qapi-schema-test.out | 21 ++- tests/test-qmp-commands.c | 15 ++ 15 files changed, 492 insertions(+), 591 deletions(-)
Signature · 1 line
1.9.3
Peter Maydell
AppliedQuoted 9 lines · Markus Armbruster
The following changes since commit
1eeace9c237a729d11c7acd7c0338ab4562af637:Merge remote-tracking branch 'remotes/agraf/tags/signed-s390-for-upstream' into staging (2015-05-13 16:06:07 +0100)
are available in the git repository at:
git://repo.or.cz/qemu/armbru.gittags/pull-qapi-2015-05-15
Quoted 8 lines
for you to fetch changes up to
4180978c9205c50acd2d6c385def9b3e81911696:qapi: Inline
gen_command_decl_prologue(),gen_command_def_prologue()(2015-05-14 18:41:33 +0200)----------------------------------------------------------------
qapi: Fix qapi mangling of downstream names, and more----------------------------------------------------------------
Applied, thanks.
-- PMM