<feed xmlns='http://www.w3.org/2005/Atom'>
<title>spice-common.git, branch master</title>
<subtitle>spice-common</subtitle>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/fidencio/public_git/spice-common.git/'/>
<entry>
<title>Cap logging level to the valid bounds</title>
<updated>2016-03-11T10:16:22+00:00</updated>
<author>
<name>Frediano Ziglio</name>
<email>fziglio@redhat.com</email>
</author>
<published>2016-01-28T14:40:06+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/fidencio/public_git/spice-common.git/commit/?id=53ee80bd7d1d98d87654c57098722532df55dd1b'/>
<id>53ee80bd7d1d98d87654c57098722532df55dd1b</id>
<content type='text'>
Avoid overflows using its values.
The patch was originally written by Christophe Fergeau

Acked-by: Victor Toso &lt;victortoso@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Avoid overflows using its values.
The patch was originally written by Christophe Fergeau

Acked-by: Victor Toso &lt;victortoso@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove 2 unused vfuncs from client_marshallers.h</title>
<updated>2016-03-11T08:55:09+00:00</updated>
<author>
<name>Christophe Fergeau</name>
<email>cfergeau@redhat.com</email>
</author>
<published>2016-03-09T17:45:39+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/fidencio/public_git/spice-common.git/commit/?id=8af947e7b2062dda564bd9f6aacf5bc6b3da5e51'/>
<id>8af947e7b2062dda564bd9f6aacf5bc6b3da5e51</id>
<content type='text'>
The AudioVolume and AudioMute messages are not sent by the client, so
they do not need to appear in SpiceMessageMarshallers in
client_marshallers.h
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The AudioVolume and AudioMute messages are not sent by the client, so
they do not need to appear in SpiceMessageMarshallers in
client_marshallers.h
</pre>
</div>
</content>
</entry>
<entry>
<title>protocol: Add support for the VP8 and h264 video codecs</title>
<updated>2016-03-10T15:59:18+00:00</updated>
<author>
<name>Francois Gouget</name>
<email>fgouget@codeweavers.com</email>
</author>
<published>2016-03-01T15:50:16+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/fidencio/public_git/spice-common.git/commit/?id=00db44087807335e74c8f65ea3e6fde0b684e7db'/>
<id>00db44087807335e74c8f65ea3e6fde0b684e7db</id>
<content type='text'>
Clients that support multiple codecs must advertise the
SPICE_DISPLAY_CAP_MULTI_CODEC capability and one
SPICE_DISPLAY_CAP_CODEC_XXX per supported codec.

Signed-off-by: Francois Gouget &lt;fgouget@codeweavers.com&gt;
Acked-by: Christophe Fergeau &lt;cfergeau@redhat.com&gt;

(cherry picked from spice-protocol commit 7937915d67702a5c4b5147b277c432f5555e3852)

Signed-off-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Clients that support multiple codecs must advertise the
SPICE_DISPLAY_CAP_MULTI_CODEC capability and one
SPICE_DISPLAY_CAP_CODEC_XXX per supported codec.

Signed-off-by: Francois Gouget &lt;fgouget@codeweavers.com&gt;
Acked-by: Christophe Fergeau &lt;cfergeau@redhat.com&gt;

(cherry picked from spice-protocol commit 7937915d67702a5c4b5147b277c432f5555e3852)

Signed-off-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>protocol: add unix GL scanout messages</title>
<updated>2016-03-10T15:01:46+00:00</updated>
<author>
<name>Marc-Andre Lureau</name>
<email>marcandre.lureau@gmail.com</email>
</author>
<published>2015-12-22T15:08:09+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/fidencio/public_git/spice-common.git/commit/?id=279be89836f579c81cbc5c6790476d851a912244'/>
<id>279be89836f579c81cbc5c6790476d851a912244</id>
<content type='text'>
Add 2 new messages to the display channel to stream pre-rendered GL
images of the display. This is only possible when the client supports
SPICE_DISPLAY_CAP_GL_SCANOUT capability.

The first message, SPICE_MSG_DISPLAY_GL_SCANOUT_UNIX, sends a gl image
file handle via socket ancillary data, and can be imported in a GL
context with the help of eglCreateImageKHR() (as with the 2d canvas, the
SPICE_MSG_DISPLAY_MONITORS_CONFIG will give the monitors
coordinates (x/y/w/h) within the image). There can be only one scanount
per display channel.

A SPICE_MSG_DISPLAY_GL_DRAW message is sent with the coordinate of the
region within the scanount to (re)draw on the client display. For each
draw, once the client is done with the rendering, it must acknowldge it
by sending a SPICE_MSGC_DISPLAY_GL_DRAW_DONE message, in order to
release the context (it is expected to improve this in the future with a
cross-process GL fence).

The relation with the existing display channel messages is that all
other messages are unchanged: the last drawing command received must be
displayed. However the scanout display is all or nothing. Consequently,
if a 2d canvas draw is received, the display must be switched to the
drawn canvas. In other words, if the last message received is a GL draw
the display should switch to the GL display, if it's a 2d draw message
the display should be switched to the client 2d canvas.

(there will probably be a stipped-down "gl-only" channel in the future,
or support for other streaming methods, but this protocol change should
be enough for basic virgl or other gpu-accelerated support)

Signed-off-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
Acked-by: Frediano Ziglio &lt;fziglio@redhat.com&gt;

(cherry picked from spice-protocol commit 3fc2221e965623c5a7e50d95f1623269a067c2d3)

Signed-off-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add 2 new messages to the display channel to stream pre-rendered GL
images of the display. This is only possible when the client supports
SPICE_DISPLAY_CAP_GL_SCANOUT capability.

The first message, SPICE_MSG_DISPLAY_GL_SCANOUT_UNIX, sends a gl image
file handle via socket ancillary data, and can be imported in a GL
context with the help of eglCreateImageKHR() (as with the 2d canvas, the
SPICE_MSG_DISPLAY_MONITORS_CONFIG will give the monitors
coordinates (x/y/w/h) within the image). There can be only one scanount
per display channel.

A SPICE_MSG_DISPLAY_GL_DRAW message is sent with the coordinate of the
region within the scanount to (re)draw on the client display. For each
draw, once the client is done with the rendering, it must acknowldge it
by sending a SPICE_MSGC_DISPLAY_GL_DRAW_DONE message, in order to
release the context (it is expected to improve this in the future with a
cross-process GL fence).

The relation with the existing display channel messages is that all
other messages are unchanged: the last drawing command received must be
displayed. However the scanout display is all or nothing. Consequently,
if a 2d canvas draw is received, the display must be switched to the
drawn canvas. In other words, if the last message received is a GL draw
the display should switch to the GL display, if it's a 2d draw message
the display should be switched to the client 2d canvas.

(there will probably be a stipped-down "gl-only" channel in the future,
or support for other streaming methods, but this protocol change should
be enough for basic virgl or other gpu-accelerated support)

Signed-off-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
Acked-by: Frediano Ziglio &lt;fziglio@redhat.com&gt;

(cherry picked from spice-protocol commit 3fc2221e965623c5a7e50d95f1623269a067c2d3)

Signed-off-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>proto: Use proper type for preferred_compression field</title>
<updated>2016-03-10T15:01:46+00:00</updated>
<author>
<name>Christophe Fergeau</name>
<email>cfergeau@redhat.com</email>
</author>
<published>2015-07-23T14:36:22+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/fidencio/public_git/spice-common.git/commit/?id=0853b579df42b8833e86940bb719e143f71203fb'/>
<id>0853b579df42b8833e86940bb719e143f71203fb</id>
<content type='text'>
No need to use an uint8 typed member, we can directly use the
appropriate enum8 type here, which makes everything more explicit.

(cherry picked from spice-protocol commit 8a3def14e35039753097094ba356e85e8fc2d128)

Signed-off-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
No need to use an uint8 typed member, we can directly use the
appropriate enum8 type here, which makes everything more explicit.

(cherry picked from spice-protocol commit 8a3def14e35039753097094ba356e85e8fc2d128)

Signed-off-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>proto: Rename image_compress to image_compression</title>
<updated>2016-03-10T15:01:46+00:00</updated>
<author>
<name>Christophe Fergeau</name>
<email>cfergeau@redhat.com</email>
</author>
<published>2015-07-23T14:36:21+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/fidencio/public_git/spice-common.git/commit/?id=2ccf106920d650ddf8eebd80654519290e5fa452'/>
<id>2ccf106920d650ddf8eebd80654519290e5fa452</id>
<content type='text'>
Re-using the SPICE_IMAGE_COMPRESS_ prefix in newer spice-protocol
releases is going to cause issues as there will be clashing enum members
in older spice-server releases. Using SPICE_IMAGE_COMPRESSION_ as a
prefix sidesteps these backward compability issues.

(cherry picked from spice-protocol commit e857cd9a378cdf56805b64284491a12af93a7cbf)

Signed-off-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Re-using the SPICE_IMAGE_COMPRESS_ prefix in newer spice-protocol
releases is going to cause issues as there will be clashing enum members
in older spice-server releases. Using SPICE_IMAGE_COMPRESSION_ as a
prefix sidesteps these backward compability issues.

(cherry picked from spice-protocol commit e857cd9a378cdf56805b64284491a12af93a7cbf)

Signed-off-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>codegen: simplify FdType</title>
<updated>2016-03-10T15:01:42+00:00</updated>
<author>
<name>Marc-André Lureau</name>
<email>marcandre.lureau@gmail.com</email>
</author>
<published>2016-01-14T16:50:11+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/fidencio/public_git/spice-common.git/commit/?id=487f914a5dd3db4d39d54c20413434985a5d8de6'/>
<id>487f914a5dd3db4d39d54c20413434985a5d8de6</id>
<content type='text'>
This patch is a left-over from the fd passing commit 267391c8fd as
suggested by Frediano Ziglio during review.

Signed-off-by: Marc-André Lureau &lt;marcandre.lureau@gmail.com&gt;
Acked-by: Frediano Ziglio &lt;fziglio@redhat.com&gt;

(cherry picked from spice-protocol commit 47076559628d71c128e14e11147ce36b92677885)

Signed-off-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch is a left-over from the fd passing commit 267391c8fd as
suggested by Frediano Ziglio during review.

Signed-off-by: Marc-André Lureau &lt;marcandre.lureau@gmail.com&gt;
Acked-by: Frediano Ziglio &lt;fziglio@redhat.com&gt;

(cherry picked from spice-protocol commit 47076559628d71c128e14e11147ce36b92677885)

Signed-off-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>protocol: learn to describe fd passing in messages</title>
<updated>2016-03-10T15:01:42+00:00</updated>
<author>
<name>Marc-Andre Lureau</name>
<email>marcandre.lureau@gmail.com</email>
</author>
<published>2015-12-22T15:08:08+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/fidencio/public_git/spice-common.git/commit/?id=c5ed374a328b054846fd34536270f3f11392af69'/>
<id>c5ed374a328b054846fd34536270f3f11392af69</id>
<content type='text'>
Add a new type, "unix_fd", used to describe file descriptor sharing via
socket ancillary data (these messages are local only).

The marshaller/demarshaller can't serialize this in memory (consume_fd
implementation is empty), so it is the responsability of the marshaller
user to handle sending and receiving the handles, which are appended at
the end of the message with an extra stream byte (because some Unix
requires sending at least a byte with ancillary data).

Even if there is no fd to send (or if the fd is invalid etc), the
receiver side expects an extra byte anyway.

Signed-off-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
Acked-by: Frediano Ziglio &lt;fziglio@redhat.com&gt;

(cherry-picked from spice-protocol commit 267391c8fd7c90c067b3e4845ff0227a2580e2e2)

Signed-off-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add a new type, "unix_fd", used to describe file descriptor sharing via
socket ancillary data (these messages are local only).

The marshaller/demarshaller can't serialize this in memory (consume_fd
implementation is empty), so it is the responsability of the marshaller
user to handle sending and receiving the handles, which are appended at
the end of the message with an extra stream byte (because some Unix
requires sending at least a byte with ancillary data).

Even if there is no fd to send (or if the fd is invalid etc), the
receiver side expects an extra byte anyway.

Signed-off-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
Acked-by: Frediano Ziglio &lt;fziglio@redhat.com&gt;

(cherry-picked from spice-protocol commit 267391c8fd7c90c067b3e4845ff0227a2580e2e2)

Signed-off-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "Remove files moved to spice-protocol"</title>
<updated>2016-03-10T15:01:36+00:00</updated>
<author>
<name>Marc-André Lureau</name>
<email>marcandre.lureau@gmail.com</email>
</author>
<published>2016-03-10T14:18:06+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/fidencio/public_git/spice-common.git/commit/?id=1cd26b87c10870ea9bfb65b4640d2e318b45aafb'/>
<id>1cd26b87c10870ea9bfb65b4640d2e318b45aafb</id>
<content type='text'>
This reverts commit 7665dcf1bb2fa0b16b3d0015b28d7f5912664c3f.

Also revert the related build-sys changes to fix the build.

codegen generated code depends on spice-common code (marshaller,
messages etc), it makes more sense to keep the generator along
this. Otherwise a newer protocol release will fail to build older
projects.

*.proto files are required as well, since it generates code that parent
modules depend on unconditionnaly.

Signed-off-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 7665dcf1bb2fa0b16b3d0015b28d7f5912664c3f.

Also revert the related build-sys changes to fix the build.

codegen generated code depends on spice-common code (marshaller,
messages etc), it makes more sense to keep the generator along
this. Otherwise a newer protocol release will fail to build older
projects.

*.proto files are required as well, since it generates code that parent
modules depend on unconditionnaly.

Signed-off-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>test-logging: unset G_MESSAGES_DEBUG</title>
<updated>2016-03-10T14:47:39+00:00</updated>
<author>
<name>Marc-André Lureau</name>
<email>marcandre.lureau@gmail.com</email>
</author>
<published>2016-03-10T14:45:43+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/fidencio/public_git/spice-common.git/commit/?id=f06f699d7817354a532f091f46044720f9045887'/>
<id>f06f699d7817354a532f091f46044720f9045887</id>
<content type='text'>
This test is sensitive to G_MESSAGES_DEBUG variable. Make it insensitive
by unsetting the environment variable.

Signed-off-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
Acked-by: Frediano Ziglio &lt;fziglio@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This test is sensitive to G_MESSAGES_DEBUG variable. Make it insensitive
by unsetting the environment variable.

Signed-off-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
Acked-by: Frediano Ziglio &lt;fziglio@redhat.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
