Go to file
Christophe Fergeau 57ba17589b wocky: Simplify wocky_http_proxy_connect_finish()
Rather than returning the whole ConnectAsyncData struct with
g_task_return_pointer(), we can return only the GIOStream object as this
is what we are interested in.

This has the side-effect of fixing a ConnectAsyncData leak as after
calling g_task_propagate_pointer() the old code had ownership of the
ConnectAsyncData instance but was never freeing it.

The leak is:
==20010== 4,348 (56 direct, 4,292 indirect) bytes in 1 blocks are definitely lost in loss record 20,762 of 20,999
==20010==    at 0x4C2DA60: calloc (vg_replace_malloc.c:711)
==20010==    by 0xD0F6EB0: g_malloc0 (gmem.c:124)
==20010==    by 0x75C0978: wocky_http_proxy_connect_async (wocky-http-proxy.c:359)
==20010==    by 0xCB4E22C: g_socket_client_connected_callback (gsocketclient.c:1548)
==20010==    by 0xCB57342: g_task_return_now (gtask.c:1107)
==20010==    by 0xCB579E5: g_task_return (gtask.c:1165)
==20010==    by 0xCB4FB1C: g_socket_connection_connect_callback (gsocketconnection.c:236)
==20010==    by 0xCB47160: socket_source_dispatch (gsocket.c:3543)
==20010==    by 0xD0F1702: g_main_dispatch (gmain.c:3154)
==20010==    by 0xD0F1702: g_main_context_dispatch (gmain.c:3769)
==20010==    by 0xD0F1AAF: g_main_context_iterate.isra.29 (gmain.c:3840)
==20010==    by 0xD0F1B5B: g_main_context_iteration (gmain.c:3901)
==20010==    by 0xCB7D58C: g_application_run (gapplication.c:2381)
==20010==    by 0x41571C: main (remote-viewer-main.c:42)
2016-08-05 08:29:03 +02:00
build-aux Generate ChangeLog and ship it in the tarball 2012-01-15 22:07:05 +01:00
data Remove unmaintained spicy.nsis 2015-12-08 14:11:49 +01:00
doc doc: fix unused warning 2016-07-07 18:11:12 +02:00
m4 build-sys: update manywarnings.m4 2016-06-01 11:05:55 +02:00
man Add man page 2014-04-08 13:31:00 +02:00
po Adjust to GLib 2.36 2016-03-18 11:42:31 +01:00
spice-common@62f3024f42 configure: Add ${top_builddir}/spice-common to COMMON_CFLAGS 2016-07-14 08:56:33 -03:00
src wocky: Simplify wocky_http_proxy_connect_finish() 2016-08-05 08:29:03 +02:00
tests test-file-transfer: Don't leak GError 2016-08-03 15:27:27 +02:00
vapi Drop GTK+ 2.0 2016-03-14 12:02:52 +01:00
.gitmodules Make phodav an optional external dependency 2014-04-02 13:52:30 +02:00
.mailmap mailmap: fix my name 2016-06-21 14:37:00 +02:00
AUTHORS Release 0.8 2012-01-15 22:07:05 +01:00
autogen.sh build-sys: simplify autogen.sh 2014-12-01 13:28:09 +01:00
configure.ac configure: Add ${top_builddir}/spice-common to COMMON_CFLAGS 2016-07-14 08:56:33 -03:00
COPYING Initial import from SPICE 2010-11-23 17:00:17 +01:00
git.mk build-sys: update git.mk 2014-12-06 00:00:19 +01:00
Makefile.am Drop GTK+ 2.0 2016-03-14 12:02:52 +01:00
NEWS Update NEWS for 0.32 release 2016-06-21 16:11:55 +02:00
README Update README 2016-05-31 12:01:53 +02:00
spice-client-glib-2.0.pc.in build: move @SPICE_GLIB_REQUIRES@ to Requires.private 2012-03-07 21:07:20 +01:00
spice-client-gtk-3.0.pc.in build: fix .pc Requires 2011-07-16 15:47:37 +02:00
spice-controller.pc.in gtk/controller: install spice-controller library 2011-04-10 00:46:52 +02:00
TODO TODO: update 2015-06-08 17:38:57 +02:00

spice-gtk
=========

A Gtk client and libraries for SPICE remote desktop servers.

Please report bugs at: spice-devel@lists.freedesktop.org

Project content
---------------

libspice-client-glib-2.0
   provides glib objects for spice protocol decoding and surface rendering.
      * SpiceSession (see spice-session.h).
      * SpiceChannel (see spice-channel.h).
      * SpiceAudio (see spice-audio.h).
      * Various Spice<Type>Channel (see channel-<type>.h).

libspice-client-gtk-3.0
   provides gtk widget to show spice display and accept user input.
      * SpiceDisplay (see spice-widget.h)

spicy
   a gtk test client. The recommended client for end user is
   virt-viewer (http://git.fedorahosted.org/cgit/virt-viewer.git/)

spicy-screenshot
   Command line tool, connects to spice server and writes out a
   screen shot.

spicy-stats
   Command line tool, connects to spice server and writes out a
   summary of connection details, amount of bytes transferred...

SpiceClientGlib and SpiceClientGtk GObject-introspection modules.

Build dependencies:
------------------

. On Fedora use:

dnf builddep spice-gtk

. or install:

gtk3-devel spice-protocol intltool
openssl-devel pulseaudio-libs-devel pixman-devel
gobject-introspection-devel libjpeg-turbo-devel zlib-devel
cyrus-sasl-devel gtk-doc

. The GStreamer backend needs:

gstreamer1-devel gstreamer1-plugins-base-devel gstreamer1-plugins-good gstreamer1-plugins-bad-free

. If you build from git, you'll also need:

libtool automake vala vala-tools perl-Text-CSV