<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bwlp/qemu.git/docs/sphinx, branch spice_video_codecs</title>
<subtitle>Experimental fork of QEMU with video encoding patches</subtitle>
<id>https://git.openslx.org/bwlp/qemu.git/atom/docs/sphinx?h=spice_video_codecs</id>
<link rel='self' href='https://git.openslx.org/bwlp/qemu.git/atom/docs/sphinx?h=spice_video_codecs'/>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/'/>
<updated>2022-01-05T10:10:13+00:00</updated>
<entry>
<title>docs/sphinx: fix compatibility with sphinx &lt; 1.8</title>
<updated>2022-01-05T10:10:13+00:00</updated>
<author>
<name>Marc-André Lureau</name>
</author>
<published>2022-01-04T07:46:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=9a50594761b4e329dc01cdd072c573a19e105775'/>
<id>urn:sha1:9a50594761b4e329dc01cdd072c573a19e105775</id>
<content type='text'>
SphinxDirective was added with sphinx 1.8 (2018-09-13).

Reported-by: Thomas Huth &lt;thuth@redhat.com&gt;
Signed-off-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
Tested-by: Thomas Huth &lt;thuth@redhat.com&gt;
Message-Id: &lt;20220104074649.1712440-1-marcandre.lureau@redhat.com&gt;
Signed-off-by: Thomas Huth &lt;thuth@redhat.com&gt;
</content>
</entry>
<entry>
<title>docs/sphinx: add sphinx modules to include D-Bus documentation</title>
<updated>2021-12-21T06:50:21+00:00</updated>
<author>
<name>Marc-André Lureau</name>
</author>
<published>2021-10-05T21:00:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=2668dc7b5d9f56d8c3e6d2876c526fddc7068eca'/>
<id>urn:sha1:2668dc7b5d9f56d8c3e6d2876c526fddc7068eca</id>
<content type='text'>
Add a new dbus-doc directive to import D-Bus interfaces documentation
from the introspection XML. The comments annotations follow the
gtkdoc/kerneldoc style, and should be formatted with reST.

Note: I realize after the fact that I was implementing those modules
with sphinx 4, and that we have much lower requirements. Instead of
lowering the features and code (removing type annotations etc), let's
have a warning in the documentation when the D-Bus modules can't be
used, and point to the source XML file in that case.

Signed-off-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
Acked-by: Gerd Hoffmann &lt;kraxel@redhat.com&gt;
</content>
</entry>
<entry>
<title>docs/sphinx: add templates files to generated depfile</title>
<updated>2021-11-08T08:27:23+00:00</updated>
<author>
<name>Marc-André Lureau</name>
</author>
<published>2021-10-08T21:57:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=0dd35c16297a365bc99115284ab3e77da9986368'/>
<id>urn:sha1:0dd35c16297a365bc99115284ab3e77da9986368</id>
<content type='text'>
Signed-off-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
Reviewed-by: John Snow &lt;jsnow@redhat.com&gt;
Reviewed-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>docs/sphinx: add static files to generated depfile</title>
<updated>2021-11-08T08:27:23+00:00</updated>
<author>
<name>Marc-André Lureau</name>
</author>
<published>2021-10-08T21:46:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=905655ea6ab6f25371415f2483e02ab34e3bb98a'/>
<id>urn:sha1:905655ea6ab6f25371415f2483e02ab34e3bb98a</id>
<content type='text'>
Signed-off-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
Reviewed-by: John Snow &lt;jsnow@redhat.com&gt;
Reviewed-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>docs/sphinx: add loaded modules to generated depfile</title>
<updated>2021-11-08T08:27:23+00:00</updated>
<author>
<name>Marc-André Lureau</name>
</author>
<published>2021-10-08T18:31:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=cd0a9e983c984e3a6a08397dc2ca4500886ec48b'/>
<id>urn:sha1:cd0a9e983c984e3a6a08397dc2ca4500886ec48b</id>
<content type='text'>
Signed-off-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
Reviewed-by: John Snow &lt;jsnow@redhat.com&gt;
Reviewed-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>qapidoc: introduce QAPISchemaIfCond.docgen()</title>
<updated>2021-08-26T11:53:56+00:00</updated>
<author>
<name>Marc-André Lureau</name>
</author>
<published>2021-08-04T08:31:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=d806f89f87152def5f422e946c84948831615236'/>
<id>urn:sha1:d806f89f87152def5f422e946c84948831615236</id>
<content type='text'>
Instead of building the condition documentation from a list of string,
use the result generated from QAPISchemaIfCond.docgen().

This changes the generated documentation from:
- COND1, COND2... (where COND1, COND2 are Literal nodes, and ',' is Text)
to:
- COND1 and COND2 (the whole string as a Literal node)

This will allow us to generate more complex conditions in the following
patches, such as "(COND1 and COND2) or COND3".

Adding back the differentiated formatting is left to the wish list.

Signed-off-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
Message-Id: &lt;20210804083105.97531-6-marcandre.lureau@redhat.com&gt;
Reviewed-by: Markus Armbruster &lt;armbru@redhat.com&gt;
[TODO comment added]
Signed-off-by: Markus Armbruster &lt;armbru@redhat.com&gt;
</content>
</entry>
<entry>
<title>qapi: add QAPISchemaIfCond.is_present()</title>
<updated>2021-08-26T11:53:56+00:00</updated>
<author>
<name>Marc-André Lureau</name>
</author>
<published>2021-08-04T08:30:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=33aa3267bacc5a7af363c0ffa5f1bdabba54b989'/>
<id>urn:sha1:33aa3267bacc5a7af363c0ffa5f1bdabba54b989</id>
<content type='text'>
Signed-off-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
Reviewed-by: Markus Armbruster &lt;armbru@redhat.com&gt;
Message-Id: &lt;20210804083105.97531-4-marcandre.lureau@redhat.com&gt;
Signed-off-by: Markus Armbruster &lt;armbru@redhat.com&gt;
</content>
</entry>
<entry>
<title>qapi: wrap Sequence[str] in an object</title>
<updated>2021-08-26T11:53:56+00:00</updated>
<author>
<name>Marc-André Lureau</name>
</author>
<published>2021-08-04T08:30:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=f17539c80da3c0ebabbe75a04f5451995367ec91'/>
<id>urn:sha1:f17539c80da3c0ebabbe75a04f5451995367ec91</id>
<content type='text'>
Mechanical change, except for a new assertion in
QAPISchemaEntity.ifcond().

Signed-off-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
Message-Id: &lt;20210804083105.97531-3-marcandre.lureau@redhat.com&gt;
Reviewed-by: Markus Armbruster &lt;armbru@redhat.com&gt;
[Rebased with obvious conflicts, commit message adjusted]
Signed-off-by: Markus Armbruster &lt;armbru@redhat.com&gt;
</content>
</entry>
<entry>
<title>qapi/error: Repurpose QAPIError as an abstract base exception class</title>
<updated>2021-04-30T10:59:54+00:00</updated>
<author>
<name>John Snow</name>
</author>
<published>2021-04-21T19:22:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=46f49468c690ff015a5b5346a279845f5e55369e'/>
<id>urn:sha1:46f49468c690ff015a5b5346a279845f5e55369e</id>
<content type='text'>
Rename QAPIError to QAPISourceError, and then create a new QAPIError
class that serves as the basis for all of our other custom exceptions,
without specifying any class properties.

This leaves QAPIError as a package-wide error class that's suitable for
any current or future errors.

(Right now, we don't have any errors that DON'T also want to specify a
Source location, but this MAY change. In these cases, a common abstract
ancestor would be desired.)

Add docstrings to explain the intended function of each error class.

Signed-off-by: John Snow &lt;jsnow@redhat.com&gt;
Message-Id: &lt;20210421192233.3542904-2-jsnow@redhat.com&gt;
Reviewed-by: Markus Armbruster &lt;armbru@redhat.com&gt;
Signed-off-by: Markus Armbruster &lt;armbru@redhat.com&gt;
</content>
</entry>
<entry>
<title>sphinx: qapidoc: Wrap "If" section body in a paragraph node</title>
<updated>2021-04-13T09:14:58+00:00</updated>
<author>
<name>John Snow</name>
</author>
<published>2021-04-06T14:19:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=2d18b4ca023ca1a3aee18064251d6e6e1084f3eb'/>
<id>urn:sha1:2d18b4ca023ca1a3aee18064251d6e6e1084f3eb</id>
<content type='text'>
These sections need to be wrapped in a block-level element, such as
Paragraph in order for them to be rendered into Texinfo correctly.

Before (e.g.):

&lt;section ids="qapidoc-713"&gt;
  &lt;title&gt;If&lt;/title&gt;
  &lt;literal&gt;defined(CONFIG_REPLICATION)&lt;/literal&gt;
&lt;/section&gt;

became:

  .SS If
  \fBdefined(CONFIG_REPLICATION)\fP.SS \fBBlockdevOptionsReplication\fP (Object)
  ...

After:

&lt;section ids="qapidoc-713"&gt;
  &lt;title&gt;If&lt;/title&gt;
  &lt;paragraph&gt;
    &lt;literal&gt;defined(CONFIG_REPLICATION)&lt;/literal&gt;
  &lt;/paragraph&gt;
&lt;/section&gt;

becomes:

  .SS If
  .sp
  \fBdefined(CONFIG_REPLICATION)\fP
  .SS \fBBlockdevOptionsReplication\fP (Object)
  ...

Reported-by: Markus Armbruster &lt;armbru@redhat.com&gt;
Tested-by: Markus Armbruster &lt;armbru@redhat.com&gt;
Signed-off-by: John Snow &lt;jsnow@redhat.com&gt;
Reviewed-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
Message-id: 20210406141909.1992225-2-jsnow@redhat.com
Signed-off-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
</content>
</entry>
</feed>
