Markus Armbruster
|
09896d3f48
qapi: Drop pointless flush() before close()
|
10 years ago |
Markus Armbruster
|
12f8e1b9ff
qapi: Factor open_output(), close_output() out of generators
|
10 years ago |
Markus Armbruster
|
16d80f6181
qapi: Turn generators' mandatory option -i into an argument
|
10 years ago |
Markus Armbruster
|
b45409683e
qapi: Fix generators to report command line errors decently
|
10 years ago |
Markus Armbruster
|
2114f5a98d
qapi: Factor parse_command_line() out of the generators
|
10 years ago |
Eric Blake
|
c6405b54b7
qapi: Make c_type() consistently convert qapi names
|
10 years ago |
Eric Blake
|
d557344628
qapi: Tidy c_type() logic
|
10 years ago |
Markus Armbruster
|
849bc5382e
qapi: Move camel_to_upper(), c_enum_const() to closely related code
|
10 years ago |
Markus Armbruster
|
b42e91484d
qapi: Use c_enum_const() in generate_alternate_qtypes()
|
10 years ago |
Markus Armbruster
|
02e20c7e59
qapi: Simplify c_enum_const()
|
10 years ago |
Markus Armbruster
|
7c81c61f9c
qapi: Rename generate_enum_full_value() to c_enum_const()
|
10 years ago |
Markus Armbruster
|
fa6068a1e8
qapi: Rename _generate_enum_string() to camel_to_upper()
|
10 years ago |
Eric Blake
|
18df515ebb
qapi: Rename identical c_fun()/c_var() into c_name()
|
10 years ago |
Markus Armbruster
|
47299262de
qapi: Fix C identifiers generated for names containing '.'
|
10 years ago |
Eric Blake
|
ff55d72eaf
qapi: Check for member name conflicts with a base class
|
10 years ago |
Eric Blake
|
a7f5966b29
qapi: Support (subset of) \u escapes in strings
|
10 years ago |
Eric Blake
|
6b5abc7df7
qapi: Drop support for inline nested types
|
10 years ago |
Eric Blake
|
3e391d3556
qapi: Forbid 'type' in schema
|
10 years ago |
Eric Blake
|
fd41dd4eae
qapi: Prefer 'struct' over 'type' in generator
|
10 years ago |
Eric Blake
|
2cbf09925a
qapi: More rigorous checking for type safety bypass
|
10 years ago |
Eric Blake
|
10d4d997f8
qapi: Whitelist commands that don't return dictionary
|
10 years ago |
Eric Blake
|
c9e0a79869
qapi: Require valid names
|
10 years ago |
Eric Blake
|
dd883c6f05
qapi: More rigourous checking of types
|
10 years ago |
Fam Zheng
|
e53188ada5
qapi: Allow true, false and null in schema json
|
10 years ago |
Eric Blake
|
4dc2e6906e
qapi: Better error messages for duplicated expressions
|
10 years ago |
Eric Blake
|
0545f6b887
qapi: Better error messages for bad expressions
|
10 years ago |
Eric Blake
|
ab916faddd
qapi: Use 'alternate' to replace anonymous union
|
10 years ago |
Eric Blake
|
811d04fd0c
qapi: Segregate anonymous unions into alternates in generator
|
10 years ago |
Eric Blake
|
268a1c5eb1
qapi: Prepare for catching more semantic parse errors
|
10 years ago |
Eric Blake
|
44bd1276a7
qapi: Tighten checking of unions
|
10 years ago |