summaryrefslogtreecommitdiff
path: root/scripts/qapi.py
AgeCommit message (Expand)AuthorFilesLines
2015-05-14qapi: Drop pointless flush() before close()Markus Armbruster1-4/+0
2015-05-14qapi: Factor open_output(), close_output() out of generatorsMarkus Armbruster1-0/+50
2015-05-14qapi: Turn generators' mandatory option -i into an argumentMarkus Armbruster1-7/+5
2015-05-14qapi: Fix generators to report command line errors decentlyMarkus Armbruster1-1/+5
2015-05-14qapi: Factor parse_command_line() out of the generatorsMarkus Armbruster1-0/+40
2015-05-14qapi: Make c_type() consistently convert qapi namesEric Blake1-4/+29
2015-05-14qapi: Tidy c_type() logicEric Blake1-28/+30
2015-05-14qapi: Move camel_to_upper(), c_enum_const() to closely related codeMarkus Armbruster1-25/+25
2015-05-14qapi: Use c_enum_const() in generate_alternate_qtypes()Markus Armbruster1-11/+0
2015-05-14qapi: Simplify c_enum_const()Markus Armbruster1-3/+1
2015-05-14qapi: Rename generate_enum_full_value() to c_enum_const()Markus Armbruster1-3/+3
2015-05-14qapi: Rename _generate_enum_string() to camel_to_upper()Markus Armbruster1-6/+6
2015-05-14qapi: Rename identical c_fun()/c_var() into c_name()Eric Blake1-7/+4
2015-05-14qapi: Fix C identifiers generated for names containing '.'Markus Armbruster1-2/+5
2015-05-05qapi: Check for member name conflicts with a base classEric Blake1-1/+22
2015-05-05qapi: Support (subset of) \u escapes in stringsEric Blake1-1/+35
2015-05-05qapi: Drop support for inline nested typesEric Blake1-13/+7
2015-05-05qapi: Forbid 'type' in schemaEric Blake1-14/+0
2015-05-05qapi: Prefer 'struct' over 'type' in generatorEric Blake1-17/+29
2015-05-05qapi: More rigorous checking for type safety bypassEric Blake1-5/+17
2015-05-05qapi: Whitelist commands that don't return dictionaryEric Blake1-3/+28
2015-05-05qapi: Require valid namesEric Blake1-17/+46
2015-05-05qapi: More rigourous checking of typesEric Blake1-9/+87
2015-05-05qapi: Allow true, false and null in schema jsonFam Zheng1-3/+18
2015-05-05qapi: Better error messages for duplicated expressionsEric Blake1-14/+49
2015-05-05qapi: Better error messages for bad expressionsEric Blake1-7/+37
2015-05-05qapi: Use 'alternate' to replace anonymous unionEric Blake1-18/+14
2015-05-05qapi: Segregate anonymous unions into alternates in generatorEric Blake1-33/+55
2015-05-05qapi: Prepare for catching more semantic parse errorsEric Blake1-17/+20
2015-05-05qapi: Tighten checking of unionsEric Blake1-17/+72
2015-05-05qapi: Forbid base without discriminator in unionsEric Blake1-10/+10
2015-05-05qapi: Better error messages for bad enumsEric Blake1-5/+29
2015-05-05qapi: Require ASCII in schemaEric Blake1-2/+2
2015-05-05qapi: Fix generation of 'size' builtin typeEric Blake1-0/+1
2015-05-05qapi: Simplify builtin type handlingEric Blake1-7/+1
2014-08-28qapi.py: avoid Python 2.5+ any() functionStefan Hajnoczi1-4/+4
2014-06-27qapi script: clean up in scriptsWenchao Xia1-1/+1
2014-06-23qapi script: add event supportWenchao Xia1-0/+12
2014-06-23qapi: Suppress unwanted space between type and identifierAmos Kong1-6/+17
2014-06-23qapi: add const prefix to 'char *' insider c_type()Amos Kong1-1/+3
2014-05-21scripts/qapi.py: Avoid syntax not supported by Python 2.4Luiz Capitulino1-1/+1
2014-05-16qapi: skip redundant includesBenoît Canet1-3/+11
2014-05-08qapi: Add a primitive to include other files from a QAPI schema fileLluís Vilanova1-12/+52
2014-05-08qapi: Use an explicit input fileLluís Vilanova1-2/+3
2014-03-11qapi script: do not add "_" for every capitalized char in enumWenchao Xia1-7/+19
2014-03-11qapi script: do not allow string discriminatorWenchao Xia1-0/+5
2014-03-11qapi script: support enum type as discriminator in unionWenchao Xia1-1/+26
2014-03-11qapi script: use same function to generate enum stringWenchao Xia1-4/+9
2014-03-11qapi script: code move for generate_enum_name()Wenchao Xia1-0/+10
2014-03-11qapi script: check correctness of unionWenchao Xia1-2/+86