[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v2 0/4] Fix C identifiers generated for names contai
From: |
Eric Blake |
Subject: |
[Qemu-devel] [PATCH v2 0/4] Fix C identifiers generated for names containing '.' |
Date: |
Sat, 11 Apr 2015 12:09:39 -0600 |
This series of 4 replaces the RFC v1 of 02/19 of Markus' series:
https://lists.gnu.org/archive/html/qemu-devel/2015-04/msg00361.html
and requires as prereq: v6 of my nested qapi series (currently at 38/36):
https://lists.gnu.org/archive/html/qemu-devel/2015-04/msg00486.html
as well as prereq: v2 qapi: Drop dead genlist parameter:
https://lists.gnu.org/archive/html/qemu-devel/2015-04/msg01272.html
I took Markus' work and further extended it until the testsuite uses
downstream extension names everywhere in the schema (actually, I
wrote the test first, then hammered on the generator until it passed,
and rearranged the patches).
Eric Blake (3):
qapi: Drop duplicate c_fun() in favor of c_var()
qapi: Correctly handle downstream extensions in more locations
qapi: Test name mangling of downstream extensions
Markus Armbruster (1):
qapi: Fix C identifiers generated for names containing '.'
scripts/qapi-commands.py | 19 ++++++-------
scripts/qapi-event.py | 2 +-
scripts/qapi-types.py | 29 ++++++++++----------
scripts/qapi-visit.py | 48 ++++++++++++++++++---------------
scripts/qapi.py | 20 +++++++-------
tests/qapi-schema/qapi-schema-test.json | 19 +++++++++++++
tests/qapi-schema/qapi-schema-test.out | 21 ++++++++++++---
tests/test-qmp-commands.c | 8 ++++++
8 files changed, 108 insertions(+), 58 deletions(-)
--
2.1.0