<feed xmlns='http://www.w3.org/2005/Atom'>
<title>spice-common.git/python_modules, 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>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>Remove files moved to spice-protocol</title>
<updated>2015-08-11T08:26:06+00:00</updated>
<author>
<name>Frediano Ziglio</name>
<email>fziglio@redhat.com</email>
</author>
<published>2015-08-07T14:43:46+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/fidencio/public_git/spice-common.git/commit/?id=7665dcf1bb2fa0b16b3d0015b28d7f5912664c3f'/>
<id>7665dcf1bb2fa0b16b3d0015b28d7f5912664c3f</id>
<content type='text'>
Signed-off-by: Frediano Ziglio &lt;fziglio@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Frediano Ziglio &lt;fziglio@redhat.com&gt;
</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-common.git/commit/?id=53f7f543f9edd57ed16fed2e46452024c880dfaa'/>
<id>53f7f543f9edd57ed16fed2e46452024c880dfaa</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-common.git/commit/?id=a1d1d396cdd5f5c16765d3769b3f821e4f38cdda'/>
<id>a1d1d396cdd5f5c16765d3769b3f821e4f38cdda</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-common.git/commit/?id=f71727300287eef4cffdcee9ffb3d7b4b45ff732'/>
<id>f71727300287eef4cffdcee9ffb3d7b4b45ff732</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-common.git/commit/?id=f0f578abeea644a8a2ccc9522b0952eab076e2ed'/>
<id>f0f578abeea644a8a2ccc9522b0952eab076e2ed</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-common.git/commit/?id=eff8b1a0e46bc93df2e2aeec3e616eb4d83502f1'/>
<id>eff8b1a0e46bc93df2e2aeec3e616eb4d83502f1</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>
<entry>
<title>codegen: Reuse code to fix attribute from prototype file</title>
<updated>2015-07-23T09:11:47+00:00</updated>
<author>
<name>Frediano Ziglio</name>
<email>fziglio@redhat.com</email>
</author>
<published>2015-07-21T16:45:36+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/fidencio/public_git/spice-common.git/commit/?id=179928fceb1fd0cbd0ba331645a1b210dcb4d7d0'/>
<id>179928fceb1fd0cbd0ba331645a1b210dcb4d7d0</id>
<content type='text'>
Signed-off-by: Frediano Ziglio &lt;fziglio@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Frediano Ziglio &lt;fziglio@redhat.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
