<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bwlp/qemu.git/tests/qapi-schema/union-branch-invalid-dict.json, branch spice_video_codecs</title>
<subtitle>Experimental fork of QEMU with video encoding patches</subtitle>
<id>https://git.openslx.org/bwlp/qemu.git/atom/tests/qapi-schema/union-branch-invalid-dict.json?h=spice_video_codecs</id>
<link rel='self' href='https://git.openslx.org/bwlp/qemu.git/atom/tests/qapi-schema/union-branch-invalid-dict.json?h=spice_video_codecs'/>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/'/>
<updated>2021-09-27T06:23:25+00:00</updated>
<entry>
<title>tests/qapi-schema: Purge simple unions from tests</title>
<updated>2021-09-27T06:23:25+00:00</updated>
<author>
<name>Markus Armbruster</name>
</author>
<published>2021-09-17T14:31:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=76432d988b67d95006d0aa66dce2aa5999868d29'/>
<id>urn:sha1:76432d988b67d95006d0aa66dce2aa5999868d29</id>
<content type='text'>
Drop tests that are specifically about simple unions:

* SugaredUnion in doc-good: flat unions are covered by @Object.

* union-branch-case and union-clash-branches: branch naming for flat
  unions is enforced for the tag enum instead, which is covered by
  enum-member-case and enum-clash-member.

* union-empty: empty flat unions are covered by flat-union-empty.

Rewrite the remainder to use flat unions: args-union, bad-base,
flat-union-base-union, union-branch-invalid-dict, union-unknown.

Except drop union-optional-branch. because converting this one is not
worth the trouble; we don't explicitly check names beginning with '*'
in other places, either.

Signed-off-by: Markus Armbruster &lt;armbru@redhat.com&gt;
Reviewed-by: Eric Blake &lt;eblake@redhat.com&gt;
Message-Id: &lt;20210917143134.412106-21-armbru@redhat.com&gt;
</content>
</entry>
<entry>
<title>qapi: add a dictionary form for TYPE</title>
<updated>2018-12-13T18:20:11+00:00</updated>
<author>
<name>Marc-André Lureau</name>
</author>
<published>2018-12-13T12:37:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=87adbbffd4b03c68d039ce0be5dcfde38a6a7b1b'/>
<id>urn:sha1:87adbbffd4b03c68d039ce0be5dcfde38a6a7b1b</id>
<content type='text'>
Wherever a struct/union/alternate/command/event member with NAME: TYPE
form is accepted, desugar it to a NAME: { 'type': TYPE } form.

This will allow to add new member details, such as 'if' in the
following patch to introduce conditionals, or 'default' for default
values etc.

Signed-off-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
Message-Id: &lt;20181213123724.4866-13-marcandre.lureau@redhat.com&gt;
Reviewed-by: Markus Armbruster &lt;armbru@redhat.com&gt;
Signed-off-by: Markus Armbruster &lt;armbru@redhat.com&gt;
</content>
</entry>
</feed>
