<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vd_agent.git/src, branch master</title>
<subtitle>spice agent for linux</subtitle>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/fidencio/public_git/vd_agent.git/'/>
<entry>
<title>vdagentd-proto-strings: Add missing string for VDAGENTD_AUDIO_VOLUME_SYNC</title>
<updated>2015-04-29T07:16:09+00:00</updated>
<author>
<name>Pavel Grunt</name>
<email>pgrunt@redhat.com</email>
</author>
<published>2015-04-28T09:09:28+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/fidencio/public_git/vd_agent.git/commit/?id=536b63cfaf53aaaa8ef7395a998338ef23f514ae'/>
<id>536b63cfaf53aaaa8ef7395a998338ef23f514ae</id>
<content type='text'>
Avoids a crash when running spice-vdagent with debug

Backtrace:

 #0  0x0000003dcf647e2c in _IO_vfprintf_internal (s=&lt;value optimized out&gt;, format=&lt;value optimized out&gt;, ap=&lt;value optimized out&gt;) at vfprintf.c:1641
 #1  0x0000003dcf6e4e90 in __vsyslog_chk (pri=&lt;value optimized out&gt;, flag=-1, fmt=0x40f360 "%p received %s, arg1: %u, arg2: %u, size %u", ap=0x7fffffffddc0) at ../misc/syslog.c:222
 #2  0x0000003dcf6e50c0 in __syslog (pri=&lt;value optimized out&gt;, fmt=&lt;value optimized out&gt;) at ../misc/syslog.c:119
 #3  0x000000000040c6da in udscs_read_complete (connp=0x610de8) at src/udscs.c:448
 #4  0x000000000040c8d1 in udscs_do_read (connp=0x610de8) at src/udscs.c:500
 #5  0x000000000040c303 in udscs_client_handle_fds (connp=0x610de8, readfds=0x7fffffffe0a0, writefds=0x7fffffffe020) at src/udscs.c:349
 #6  0x0000000000403d74 in main (argc=3, argv=0x7fffffffe248) at src/vdagent.c:365
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Avoids a crash when running spice-vdagent with debug

Backtrace:

 #0  0x0000003dcf647e2c in _IO_vfprintf_internal (s=&lt;value optimized out&gt;, format=&lt;value optimized out&gt;, ap=&lt;value optimized out&gt;) at vfprintf.c:1641
 #1  0x0000003dcf6e4e90 in __vsyslog_chk (pri=&lt;value optimized out&gt;, flag=-1, fmt=0x40f360 "%p received %s, arg1: %u, arg2: %u, size %u", ap=0x7fffffffddc0) at ../misc/syslog.c:222
 #2  0x0000003dcf6e50c0 in __syslog (pri=&lt;value optimized out&gt;, fmt=&lt;value optimized out&gt;) at ../misc/syslog.c:119
 #3  0x000000000040c6da in udscs_read_complete (connp=0x610de8) at src/udscs.c:448
 #4  0x000000000040c8d1 in udscs_do_read (connp=0x610de8) at src/udscs.c:500
 #5  0x000000000040c303 in udscs_client_handle_fds (connp=0x610de8, readfds=0x7fffffffe0a0, writefds=0x7fffffffe020) at src/udscs.c:349
 #6  0x0000000000403d74 in main (argc=3, argv=0x7fffffffe248) at src/vdagent.c:365
</pre>
</div>
</content>
</entry>
<entry>
<title>vdagent: volume synchronization from client.</title>
<updated>2015-04-24T15:31:20+00:00</updated>
<author>
<name>Victor Toso</name>
<email>victortoso@redhat.com</email>
</author>
<published>2015-03-06T17:15:35+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/fidencio/public_git/vd_agent.git/commit/?id=9b0eb8b1246ccb422ccecc3679b0bb6b477ba6cb'/>
<id>9b0eb8b1246ccb422ccecc3679b0bb6b477ba6cb</id>
<content type='text'>
Include the capability of volume sync to set volume or mute to default
sink-input/source-output of guest.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Include the capability of volume sync to set volume or mute to default
sink-input/source-output of guest.
</pre>
</div>
</content>
</entry>
<entry>
<title>audio: add functions to set volume/mute with alsa</title>
<updated>2015-04-24T15:31:20+00:00</updated>
<author>
<name>Victor Toso</name>
<email>victortoso@redhat.com</email>
</author>
<published>2015-03-06T17:14:21+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/fidencio/public_git/vd_agent.git/commit/?id=010dc21f35fb3997ade6717e10c6a3b52a1737ba'/>
<id>010dc21f35fb3997ade6717e10c6a3b52a1737ba</id>
<content type='text'>
This patch includes the vdagent-audio.[ch] files in order to
communicate with backend audio server.

The two functions provide a way to set volume and mute in the guest
by connecting to default mixer control in alsa which is 'Master' for
playback and 'Capture' for record.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch includes the vdagent-audio.[ch] files in order to
communicate with backend audio server.

The two functions provide a way to set volume and mute in the guest
by connecting to default mixer control in alsa which is 'Master' for
playback and 'Capture' for record.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix implicit declaration of 'g_unlink' (warning)</title>
<updated>2015-04-11T22:03:28+00:00</updated>
<author>
<name>Fabiano Fidêncio</name>
<email>fidencio@redhat.com</email>
</author>
<published>2015-04-11T22:02:47+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/fidencio/public_git/vd_agent.git/commit/?id=6c0160e8a3a3902817088dc5e7e8bdccaeaec1b4'/>
<id>6c0160e8a3a3902817088dc5e7e8bdccaeaec1b4</id>
<content type='text'>
Related: https://bugzilla.redhat.com/show_bug.cgi?id=1086657
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Related: https://bugzilla.redhat.com/show_bug.cgi?id=1086657
</pre>
</div>
</content>
</entry>
<entry>
<title>randr: handle XRRScreenChangeNotifyEvent</title>
<updated>2015-04-10T13:57:46+00:00</updated>
<author>
<name>Marc-Andre Lureau</name>
<email>marcandre.lureau@redhat.com</email>
</author>
<published>2014-08-27T18:51:10+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/fidencio/public_git/vd_agent.git/commit/?id=a8bbff07b1d4e5d47c29d7d736f185e820119694'/>
<id>a8bbff07b1d4e5d47c29d7d736f185e820119694</id>
<content type='text'>
Make sure vdagent follows the current monitor configuration.  This
solves a number of issue where the pointer input is off, because the
uinput tablet isn't reconfigured.

https://bugzilla.redhat.com/show_bug.cgi?id=1086657
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Make sure vdagent follows the current monitor configuration.  This
solves a number of issue where the pointer input is off, because the
uinput tablet isn't reconfigured.

https://bugzilla.redhat.com/show_bug.cgi?id=1086657
</pre>
</div>
</content>
</entry>
<entry>
<title>randr: remove monitors.xml on auto-configuration</title>
<updated>2015-04-10T13:57:46+00:00</updated>
<author>
<name>Marc-Andre Lureau</name>
<email>marcandre.lureau@redhat.com</email>
</author>
<published>2014-08-27T17:22:07+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/fidencio/public_git/vd_agent.git/commit/?id=28618682aeabf98a2d177e87c3814666a7cda8f5'/>
<id>28618682aeabf98a2d177e87c3814666a7cda8f5</id>
<content type='text'>
GNOME will restore monitors.xml configuration whenever the timestamp
"config &gt; change". The "change" timestamp is the last user applied
configuration, whereas the "config" timestamp is updated when
the screen is updated or ouput/crtc modes are added/removed.

These condition are triggered by vdagent during monitor config. Since we
can't control the timestamps (playing with delay will be inherently
event more racy), the only sane way I can think of is to disable gsd
behaviour. This can be achieved by deleting the ~/.config/monitors.xml,
which is the intended configuration to restore, so vdagent will override
whatever configuration was saved previously.

Somehow, if vdagent would be better integrated with gnome2, it would use
the gnome-rr and/or org.gnome.SettingsDaemon.XRANDR dbus
API. Thanksfully, in gnome3, the monitor auto-configuration has been
merged in.

https://bugzilla.redhat.com/show_bug.cgi?id=1086657
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
GNOME will restore monitors.xml configuration whenever the timestamp
"config &gt; change". The "change" timestamp is the last user applied
configuration, whereas the "config" timestamp is updated when
the screen is updated or ouput/crtc modes are added/removed.

These condition are triggered by vdagent during monitor config. Since we
can't control the timestamps (playing with delay will be inherently
event more racy), the only sane way I can think of is to disable gsd
behaviour. This can be achieved by deleting the ~/.config/monitors.xml,
which is the intended configuration to restore, so vdagent will override
whatever configuration was saved previously.

Somehow, if vdagent would be better integrated with gnome2, it would use
the gnome-rr and/or org.gnome.SettingsDaemon.XRANDR dbus
API. Thanksfully, in gnome3, the monitor auto-configuration has been
merged in.

https://bugzilla.redhat.com/show_bug.cgi?id=1086657
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove unneeded NULL check</title>
<updated>2015-04-01T08:58:43+00:00</updated>
<author>
<name>Christophe Fergeau</name>
<email>cfergeau@redhat.com</email>
</author>
<published>2014-09-23T15:23:45+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/fidencio/public_git/vd_agent.git/commit/?id=8003f9e01f8fc6dc73de2ec2af303af556e96e84'/>
<id>8003f9e01f8fc6dc73de2ec2af303af556e96e84</id>
<content type='text'>
Since previous commit, vdagent_x11_set_monitor_config() will return
early if 'curr' is NULL so we don't need to explicitly check its value.
Issue reported by the Coverity checker.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since previous commit, vdagent_x11_set_monitor_config() will return
early if 'curr' is NULL so we don't need to explicitly check its value.
Issue reported by the Coverity checker.
</pre>
</div>
</content>
</entry>
<entry>
<title>Handle get_current_mon_config() failures</title>
<updated>2015-04-01T08:58:42+00:00</updated>
<author>
<name>Christophe Fergeau</name>
<email>cfergeau@redhat.com</email>
</author>
<published>2014-09-23T15:22:39+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/fidencio/public_git/vd_agent.git/commit/?id=7329ad767f5413459cc98210eea754a5de95af1e'/>
<id>7329ad767f5413459cc98210eea754a5de95af1e</id>
<content type='text'>
get_current_mon_config() can return NULL, but
vdagent_x11_set_monitor_config() was calling it without checking if it's
NULL before dereferencing it.
This issue was pinpointed by Coverity.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
get_current_mon_config() can return NULL, but
vdagent_x11_set_monitor_config() was calling it without checking if it's
NULL before dereferencing it.
This issue was pinpointed by Coverity.
</pre>
</div>
</content>
</entry>
<entry>
<title>uinput: fix small leak of screen_info</title>
<updated>2015-03-27T15:42:48+00:00</updated>
<author>
<name>Victor Toso</name>
<email>victortoso@redhat.com</email>
</author>
<published>2015-03-27T14:25:59+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/fidencio/public_git/vd_agent.git/commit/?id=4835df0b642dfc963e7cbaabfe93da86482f0b93'/>
<id>4835df0b642dfc963e7cbaabfe93da86482f0b93</id>
<content type='text'>
The following leak is fixed by this patch:
==2648== HEAP SUMMARY:
==2648==     in use at exit: 104,699 bytes in 1,459 blocks
==2648==   total heap usage: 14,177 allocs, 12,718 frees, 1,190,456 bytes allocated
==2648==
==2648== 16 bytes in 1 blocks are definitely lost in loss record 16 of 130
==2648==    at 0x4C29BCF: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==2648==    by 0x10B530: agent_read_complete (vdagentd.c:715)
==2648==    by 0x10E8DC: udscs_read_complete (udscs.c:460)
==2648==    by 0x10EAFC: udscs_do_read (udscs.c:515)
==2648==    by 0x10E490: udscs_client_handle_fds (udscs.c:349)
==2648==    by 0x10E402: udscs_server_handle_fds (udscs.c:337)
==2648==    by 0x10BAB1: main_loop (vdagentd.c:844)
==2648==    by 0x10A3E6: main (vdagentd.c:974)
==2648==
==2648== LEAK SUMMARY:
==2648==    definitely lost: 16 bytes in 1 blocks
==2648==    indirectly lost: 0 bytes in 0 blocks
==2648==      possibly lost: 41,483 bytes in 1,268 blocks
==2648==    still reachable: 63,200 bytes in 190 blocks
==2648==         suppressed: 0 bytes in 0 blocks
==2648== Reachable blocks (those to which a pointer was found) are not shown.
==2648== To see them, rerun with: --leak-check=full --show-leak-kinds=all
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The following leak is fixed by this patch:
==2648== HEAP SUMMARY:
==2648==     in use at exit: 104,699 bytes in 1,459 blocks
==2648==   total heap usage: 14,177 allocs, 12,718 frees, 1,190,456 bytes allocated
==2648==
==2648== 16 bytes in 1 blocks are definitely lost in loss record 16 of 130
==2648==    at 0x4C29BCF: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==2648==    by 0x10B530: agent_read_complete (vdagentd.c:715)
==2648==    by 0x10E8DC: udscs_read_complete (udscs.c:460)
==2648==    by 0x10EAFC: udscs_do_read (udscs.c:515)
==2648==    by 0x10E490: udscs_client_handle_fds (udscs.c:349)
==2648==    by 0x10E402: udscs_server_handle_fds (udscs.c:337)
==2648==    by 0x10BAB1: main_loop (vdagentd.c:844)
==2648==    by 0x10A3E6: main (vdagentd.c:974)
==2648==
==2648== LEAK SUMMARY:
==2648==    definitely lost: 16 bytes in 1 blocks
==2648==    indirectly lost: 0 bytes in 0 blocks
==2648==      possibly lost: 41,483 bytes in 1,268 blocks
==2648==    still reachable: 63,200 bytes in 190 blocks
==2648==         suppressed: 0 bytes in 0 blocks
==2648== Reachable blocks (those to which a pointer was found) are not shown.
==2648== To see them, rerun with: --leak-check=full --show-leak-kinds=all
</pre>
</div>
</content>
</entry>
<entry>
<title>vdagent-file-xfers: only open the file transfer dir when all the files were transferred</title>
<updated>2014-09-18T11:37:27+00:00</updated>
<author>
<name>Fabiano Fidêncio</name>
<email>fidencio@redhat.com</email>
</author>
<published>2014-08-28T14:24:04+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/fidencio/public_git/vd_agent.git/commit/?id=4e9b291773ebcd27b9eed266c5bc113cddbe9214'/>
<id>4e9b291773ebcd27b9eed266c5bc113cddbe9214</id>
<content type='text'>
Once transferring multiple files is supported, do not bother the user
opening the file transfer directory for each file transferred, just do it
when the last file transfer is finished.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Once transferring multiple files is supported, do not bother the user
opening the file transfer directory for each file transferred, just do it
when the last file transfer is finished.
</pre>
</div>
</content>
</entry>
</feed>
