<feed xmlns='http://www.w3.org/2005/Atom'>
<title>spice-protocol.git/python_modules, branch master</title>
<subtitle>spice-protocol</subtitle>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/fidencio/public_git/spice-protocol.git/'/>
<entry>
<title>Remove codegen</title>
<updated>2016-03-10T15:57:08+00:00</updated>
<author>
<name>Marc-André Lureau</name>
<email>marcandre.lureau@gmail.com</email>
</author>
<published>2016-02-26T17:14:33+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/fidencio/public_git/spice-protocol.git/commit/?id=2a6e51c7ee867fe3f4b7dd07dee5517533a967be'/>
<id>2a6e51c7ee867fe3f4b7dd07dee5517533a967be</id>
<content type='text'>
Codegen generates code specific to spice-common submodule. It's not
meant as a generic protocol header or specification. See discussion and
commits about spice-common codegen re-import.

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>
Codegen generates code specific to spice-common submodule. It's not
meant as a generic protocol header or specification. See discussion and
commits about spice-common codegen re-import.

Signed-off-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>codegen: simplify FdType</title>
<updated>2016-01-19T14:43:23+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-protocol.git/commit/?id=47076559628d71c128e14e11147ce36b92677885'/>
<id>47076559628d71c128e14e11147ce36b92677885</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;
</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;
</pre>
</div>
</content>
</entry>
<entry>
<title>protocol: learn to describe fd passing in messages</title>
<updated>2016-01-14T11:46:16+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-protocol.git/commit/?id=267391c8fd7c90c067b3e4845ff0227a2580e2e2'/>
<id>267391c8fd7c90c067b3e4845ff0227a2580e2e2</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;
</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;
</pre>
</div>
</content>
</entry>
<entry>
<title>build-sys: Use $datadir for .proto files/codegen scripts</title>
<updated>2015-10-02T10:51:51+00:00</updated>
<author>
<name>Christophe Fergeau</name>
<email>cfergeau@redhat.com</email>
</author>
<published>2015-10-01T16:21:56+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/fidencio/public_git/spice-protocol.git/commit/?id=95b5617874a17f13c3419f4de87dfd88a8eb832d'/>
<id>95b5617874a17f13c3419f4de87dfd88a8eb832d</id>
<content type='text'>
They are not arch-specific, so installing them in $libdir is not needed.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
They are not arch-specific, so installing them in $libdir is not needed.
</pre>
</div>
</content>
</entry>
<entry>
<title>build-sys: Install code generation data/scripts</title>
<updated>2015-08-07T09:54:48+00:00</updated>
<author>
<name>Christophe Fergeau</name>
<email>cfergeau@redhat.com</email>
</author>
<published>2015-07-06T16:20:15+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/fidencio/public_git/spice-protocol.git/commit/?id=1830e216c447585afca6d02462f59720a80e8bbc'/>
<id>1830e216c447585afca6d02462f59720a80e8bbc</id>
<content type='text'>
spice-common generate code from these python scripts and the installed
SPICE .proto. This commit installs them during make install, and adds a
codegendir variable to the pkgconfig file so that spice-common can
locate the scripts.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
spice-common generate code from these python scripts and the installed
SPICE .proto. This commit installs them during make install, and adds a
codegendir variable to the pkgconfig file so that spice-common can
locate the scripts.
</pre>
</div>
</content>
</entry>
<entry>
<title>codegen: ptypes.py: keep attribute names in sets</title>
<updated>2015-08-04T17:10:22+00:00</updated>
<author>
<name>Uri Lublin</name>
<email>uril@redhat.com</email>
</author>
<published>2015-07-27T17:14:26+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/fidencio/public_git/spice-protocol.git/commit/?id=1d026b9a71a12df119f5582c9a42be08259b0bac'/>
<id>1d026b9a71a12df119f5582c9a42be08259b0bac</id>
<content type='text'>
This patch changes the type of 'valid_attributes' and
'attributes_with_arguments'.
Both of them are list of different strings and are kept in sets.

This was the intention of the original code, but this patch
use a specific set([ strings ]) format, instead of { strings }.

This fixes the build for me on RHEL-6 (python-2.6.6).
Build error is:

File "/home/ulublin/git/spice/spice-common/python_modules/ptypes.py",
line 67
      'end',
           ^
SyntaxError: invalid syntax
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch changes the type of 'valid_attributes' and
'attributes_with_arguments'.
Both of them are list of different strings and are kept in sets.

This was the intention of the original code, but this patch
use a specific set([ strings ]) format, instead of { strings }.

This fixes the build for me on RHEL-6 (python-2.6.6).
Build error is:

File "/home/ulublin/git/spice/spice-common/python_modules/ptypes.py",
line 67
      'end',
           ^
SyntaxError: invalid syntax
</pre>
</div>
</content>
</entry>
<entry>
<title>codegen: Allow to specify C type for index variable</title>
<updated>2015-07-23T09:22:11+00:00</updated>
<author>
<name>Frediano Ziglio</name>
<email>fziglio@redhat.com</email>
</author>
<published>2015-07-21T16:45:40+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/fidencio/public_git/spice-protocol.git/commit/?id=de1286ad80ce7c559fccde5f6e466a89fc1ce60d'/>
<id>de1286ad80ce7c559fccde5f6e466a89fc1ce60d</id>
<content type='text'>
This is to prepare to generate the wireshark dissector which uses
glib types instead of the newer C ones (for compatibility with some
compilers).

Signed-off-by: Frediano Ziglio &lt;fziglio@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is to prepare to generate the wireshark dissector which uses
glib types instead of the newer C ones (for compatibility with some
compilers).

Signed-off-by: Frediano Ziglio &lt;fziglio@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>codegen: Check we don't pop too many indexes</title>
<updated>2015-07-23T09:22:11+00:00</updated>
<author>
<name>Frediano Ziglio</name>
<email>fziglio@redhat.com</email>
</author>
<published>2015-07-21T16:45:39+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/fidencio/public_git/spice-protocol.git/commit/?id=08384ac7fbdc8303fdf85cc2689602e429607126'/>
<id>08384ac7fbdc8303fdf85cc2689602e429607126</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>codegen: Remove old ptr32 attribute</title>
<updated>2015-07-23T09:22:11+00:00</updated>
<author>
<name>Frediano Ziglio</name>
<email>fziglio@redhat.com</email>
</author>
<published>2015-07-21T16:45:38+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/fidencio/public_git/spice-protocol.git/commit/?id=f6506a25639a47cfdcef452202c1ee9233be3f36'/>
<id>f6506a25639a47cfdcef452202c1ee9233be3f36</id>
<content type='text'>
This attribute is not used in code.

Signed-off-by: Frediano Ziglio &lt;fziglio@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This attribute is not used in code.

Signed-off-by: Frediano Ziglio &lt;fziglio@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>codegen: Do some checks on attributes</title>
<updated>2015-07-23T09:20:19+00:00</updated>
<author>
<name>Frediano Ziglio</name>
<email>fziglio@redhat.com</email>
</author>
<published>2015-07-21T16:45:37+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/fidencio/public_git/spice-protocol.git/commit/?id=25c48ddd2ceb4b6a46ebafc7dabbb4973ad06ffe'/>
<id>25c48ddd2ceb4b6a46ebafc7dabbb4973ad06ffe</id>
<content type='text'>
Verify that the attribute is known. This could help for instance to
avoid some future typo mistakes.
We also now have a list of attributes that we can comment for
documentation purpose.

Signed-off-by: Frediano Ziglio &lt;fziglio@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Verify that the attribute is known. This could help for instance to
avoid some future typo mistakes.
We also now have a list of attributes that we can comment for
documentation purpose.

Signed-off-by: Frediano Ziglio &lt;fziglio@redhat.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
