Go to file
Christophe Fergeau bb30232fcd mjpeg: remove wrong g_return_if_fail
After calling jpeg_read_scanlines, spice-gtk checks that we read
the amount of lines we expected, and if not, it returns early.
This is doubly wrong:

* jpeg_read_scanlines is documented as returning at most the number
of lines requested, but it also warns that an application shouldn't
rely on getting exactly the number of scanlines requested. In this
case, if rec_outbuf_height is bigger than 1, we'll get a short read
on the last line of odd-sized images, thus triggering the
g_return_if_fail

* returning from this function without calling jpeg_abort will cause
libjpeg to abort next time we use it because jpeg_start_decompress
was called before

This commit removes this check and early return.
2011-07-29 15:49:05 +02:00
build-aux build: use git-version-gen 2010-11-25 21:12:25 +01:00
common fix integer marshalling helpers on big endian 2011-07-28 11:29:41 +02:00
data build: fix make distcheck 2011-07-18 20:28:05 +02:00
doc gtk: add spice_get_option_group() 2011-07-17 16:43:41 +02:00
gtk mjpeg: remove wrong g_return_if_fail 2011-07-29 15:49:05 +02:00
m4 gtk: hide unwanted public symbols 2010-12-06 19:34:03 +01:00
po build: fix make distcheck 2011-07-18 20:28:05 +02:00
python_modules handle @ifdef on messages and channels 2011-06-23 20:05:33 +02:00
.gitignore build: fix make distcheck 2011-07-18 20:28:05 +02:00
.mailmap add git .mailmap 2011-06-21 15:15:55 +02:00
AUTHORS add AUTHORS & TODO 2010-11-24 04:40:47 +01:00
autogen.sh build: fix make dist 2011-03-30 19:14:53 +02:00
configure.ac Release v0.7 2011-07-18 20:28:07 +02:00
COPYING Initial import from SPICE 2010-11-23 17:00:17 +01:00
git.mk gtk: first stab at gtk-doc documentation 2010-12-05 22:19:16 +01:00
Makefile.am gtk/controller: install spice-controller library 2011-04-10 00:46:52 +02:00
NEWS Release v0.7 2011-07-18 20:28:07 +02:00
README Release v0.7 2011-07-18 20:28:07 +02:00
spice1.proto sync protocol files with spice 2011-05-25 00:21:23 +02:00
spice_codegen.py Initial import from SPICE 2010-11-23 17:00:17 +01:00
spice-client-glib-2.0.pc.in build: fix .pc Requires 2011-07-16 15:47:37 +02:00
spice-client-gtk-2.0.pc.in build: fix .pc Requires 2011-07-16 15:47:37 +02: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
spice.proto use new @ifdef directive for smartcard messages 2011-06-23 20:05:33 +02:00
THANKS THANKS: update 2011-05-24 01:03:43 +02:00
TODO Release v0.7 2011-07-18 20:28:07 +02:00

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

A Gtk client and libraries for SPICE remote desktop servers.

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

What you can find here
----------------------

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-{2.0,3.0}
   provides gtk widget to show spice display and accept user input.
      * SpiceDisplay (see spice-widget.h)

spicy
   gtk based spice client app.  Command line options are simliar
   to the spicec ones.

snappy
   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...

SpiceClientGtk python module (only built with Gtk+ 2.0)

SpiceClientGlib and SpiceClientGtk GObject-introspection modules.

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

. On Fedora: (gtk2-devel if building with --with-gtk=2.0)

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

. To build python bindings for virt-manager, you need gtk2, and:

pygtk2-devel python

. The experimental GStreamer backend needs:

gstreamer-devel gstreamer-plugins-base-devel

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

libtool automake pyparsing vala perl-Text-CSV


current state
-------------

There are some known bugs, check the TODO list and
bugzilla.freedesktop.org.

Copyright 2009-2011 Red Hat, Inc. and/or its affiliates.

This program and libraries is free software; you can redistribute it
and/or modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public
License along with this library; if not, see <http://www.gnu.org/licenses/>.