From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52474) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YgztF-0000yY-H5 for qemu-devel@nongnu.org; Sat, 11 Apr 2015 14:12:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YgztC-0003T9-C0 for qemu-devel@nongnu.org; Sat, 11 Apr 2015 14:12:21 -0400 Received: from resqmta-po-12v.sys.comcast.net ([96.114.154.171]:49917) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YgztC-0003Sw-7x for qemu-devel@nongnu.org; Sat, 11 Apr 2015 14:12:18 -0400 From: Eric Blake Date: Sat, 11 Apr 2015 12:09:39 -0600 Message-Id: <1428775783-18082-1-git-send-email-eblake@redhat.com> Subject: [Qemu-devel] [PATCH v2 0/4] Fix C identifiers generated for names containing '.' List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kwolf@redhat.com, akong@redhat.com, berto@igalia.com, armbru@redhat.com, mdroth@linux.vnet.ibm.com 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