[Spice-commits] Changes to 'master'

Marc-André Lureau elmarco at kemper.freedesktop.org
Wed Mar 14 16:06:21 PDT 2012


New branch 'master' available with the following commits:
commit 1985088f44ff78da79a074162d2c40cbd6d13b21
Author: Marc-André Lureau <marcandre.lureau at gmail.com>
Date:   Wed Mar 14 23:22:46 2012 +0100

    Remove need for SPICE_CANVAS_INTERNAL
    
    Why is this useful?

commit 7ff3388ec94da8c6c4c1e9ac737575dc68afb2ff
Author: Marc-André Lureau <marcandre.lureau at gmail.com>
Date:   Wed Mar 14 23:07:15 2012 +0100

    fix void* arithmetic
    
    marshaller.c:528:50: error: pointer of type 'void *' used in arithmetic [-Werror=pointer-arith]

commit 8b316856b1a4641b2f1279b62d4acd57a9bd3a76
Author: Marc-André Lureau <marcandre.lureau at gmail.com>
Date:   Wed Mar 14 22:40:53 2012 +0100

    build: replace INCLUDES with AM_CPPFLAGS
    
    Fix warning `INCLUDES' is the old name for `AM_CPPFLAGS' (or `*_CPPFLAGS')

commit e72cfa869054c3f81d53363a5afaab02bc333cc2
Author: Daniel P. Berrange <berrange at redhat.com>
Date:   Fri Feb 10 15:03:31 2012 +0000

    Add missing includes & make some functions static
    
    A number of functions were used without prior declaration. In
    some cases this was due to missing include files. In other cases
    the functions should have just been static.
    
    Ideally this would allow -Wmissing-declarations to be enabled, but
    the files generated by spice_codegen.py will still trip up on this.

commit eab95a7b026e935f4c217a7cf468403c5ff3b10c
Author: Daniel P. Berrange <berrange at redhat.com>
Date:   Fri Feb 10 14:30:56 2012 +0000

    Add printf format annotations to all '...' functions
    
    To allow the compile to detect incorrect printf formats, any
    var-args function should have a format annotation
    
    * common/macros.h: Helper to define ATTR_PRINTF for code
      which can't depend on glib
    * common/canvas_base.c, common/lz.h, common/macros.h: Annotate
      some var-args methods

commit ec127d35283e338cb99efc06f7e969678d2d8df5
Author: Daniel P. Berrange <berrange at redhat.com>
Date:   Fri Feb 10 14:05:27 2012 +0000

    Fix some integer range checks which always evaluate false
    
    There are some integer range checks which always evaluate false
    due to use of unsigned integer types. One of these would prevent
    detection of encoding errors from celt. The others are simply
    no-ops.
    
    * common/pixman_utils.c: SpiceROP is an enum & thus unsigned

commit 560cbcab78ec7eee293009bdff3c1ad3c0185273
Author: Daniel P. Berrange <berrange at redhat.com>
Date:   Fri Feb 10 13:56:04 2012 +0000

    Avoid warnings about empty conditional statement bodies
    
    Add extra {} braces around if/else statements which only
    call SPICE_DEBUG to avoid:
    
    ../common/ssl_verify.c: In function 'verify_pubkey':
    ../common/ssl_verify.c:87:50: warning: suggest braces around empty body in an 'else' statement [-Wempty-body]
    ../common/ssl_verify.c: In function 'verify_hostname':
    ../common/ssl_verify.c:254:53: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
    ../common/ssl_verify.c: In function 'verify_subject':
    ../common/ssl_verify.c:381:41: warning: suggest braces around empty body in an 'else' statement [-Wempty-body]

commit f42cb7d27bf7090ccee9eff838ce076101edcd3a
Author: Marc-André Lureau <marcandre.lureau at redhat.com>
Date:   Thu Dec 22 01:33:48 2011 +0100

    build: remove 'win' directory
    
    Let's use the only included file directly instead.

commit 8a590c2790d6ba5e9683b66fd7f836b1efa5eee2
Author: Christophe Fergeau <cfergeau at redhat.com>
Date:   Thu May 5 16:39:23 2011 +0200

    messages.h: add smartcard bits

commit 9a375de6cd93b1b980045dc531d9c5a03aa8a87b
Author: Marc-André Lureau <marcandre.lureau at gmail.com>
Date:   Wed Mar 14 21:09:31 2012 +0100

    Add client_marshallers.h client_demarshallers.h from spice-gtk
    
    spice-gtk uses a more up to date version of client/marshallers.h and client/demarshallers.h

commit 5ed36e5fdbc44d2607d42b5711575a87d3cecf2c
Author: Marc-André Lureau <marcandre.lureau at gmail.com>
Date:   Wed Mar 14 21:01:48 2012 +0100

    Use SPICE_{BEGIN,END}_DECLS

commit b35592dd9f487fd437b208e4d6398d4e175ff65c
Author: Christophe Fergeau <cfergeau at redhat.com>
Date:   Fri May 6 16:40:43 2011 +0200

    add const to arrays in marshalling functions

commit 1f32fadac655e3d693c564315b295066fdcbd8d7
Author: Christophe Fergeau <cfergeau at redhat.com>
Date:   Sat Apr 30 18:20:23 2011 +0200

    ssl_verify: include <string.h>
    
    ssl_verify.c is using memcmp which comes from string.h, this was
    breaking compilation with -Werror -Wall on Mac OS X

commit 812a2e74f96d9b18966f05b46b59a17451de298f
Author: Marc-André Lureau <marcandre.lureau at gmail.com>
Date:   Wed Mar 14 20:50:52 2012 +0100

    ssl_verify: comment X509_NAME undef

commit 2a773133840b0e96d27a43acefe309ef0a6d9793
Author: Marc-André Lureau <marcandre.lureau at redhat.com>
Date:   Sun Apr 3 15:49:36 2011 +0200

    Use a log handler to modify abort() behaviour
    
    Be more library friendly, by not aborting in library errors.
    
    spice_common now includes a proper log handler that will abort by
    default when reaching a warning.
    
    SPICE_ABORT_LEVEL can be changed to modify run-time abort level.
    
    SPICE_DEBUG_LEVEL can be changed to be more verbose. By default, only
    log level more importants than WARNING.
    
    Only memory-related functions are allowed to abort(), since they are
    not recoverable errors in the library.

commit 93a7da6789e193ad2902e3b54c6e79591a6dc5b7
Author: Marc-André Lureau <marcandre.lureau at gmail.com>
Date:   Wed Mar 14 18:01:38 2012 +0100

    update gitignore

commit bfc8a43b48aafd65a5ac7f22c05dd629f58a2cd6
Author: Marc-André Lureau <marcandre.lureau at redhat.com>
Date:   Sun Apr 3 02:29:14 2011 +0200

    common: remove unnecessary outdated c++ debug

commit bb4bf7b8e3ec14b1311d11eb3c4a40157c1e4856
Author: Marc-André Lureau <marcandre.lureau at redhat.com>
Date:   Mon Jan 24 21:09:52 2011 +0100

    common: ring.h should include stddef for NULL usage

commit 45c592a89c89490c90338cfa639b0f0de8c09dc1
Author: Marc-André Lureau <marcandre.lureau at redhat.com>
Date:   Fri Mar 2 13:45:15 2012 +0100

    Send name & uuid to capable clients
    
    Add spice_server_set_name() and spice_server_set_uuid() that allows
    the client to identify a Spice server (useful to associate settings
    with a particular server)
    
    The SPICE_MSG_MAIN_NAME and SPICE_MSG_MAIN_UUID messages are only sent
    to capable clients, announcing SPICE_MAIN_CAP_NAME_AND_UUID.

commit ce489769500e31cb9734972ebbda39f81c9bd60d
Author: Christophe Fergeau <cfergeau at redhat.com>
Date:   Wed Feb 29 19:01:59 2012 +0100

    mingw: workaround weird openssl build failure
    
    If X509_NAME isn't undefined before including x509v3.h, very
    weird compilation error occurs. It seems to be caused by duplicate
    definitions for this symbols coming from wincrypto.h

commit 5bcece537e2be12fd13ea85a636ba2e28c66c256
Author: Christophe Fergeau <cfergeau at redhat.com>
Date:   Wed Feb 29 19:01:58 2012 +0100

    mingw: don't try to redefine alloca
    
    mingw already has a #define alloca __builtin_alloca so trying to
    redefine it triggers a warning.

commit ec250967e2f77b710fa6ba97aa46b0349f77dd6b
Author: Christophe Fergeau <cfergeau at redhat.com>
Date:   Wed Feb 29 19:01:54 2012 +0100

    mingw: use uintptr_t when converting a pointer to an int
    
    win64 uses 32 bit long, so we cannot use a long to hold a 64 bit
    pointer. Thankfully, there's a [u]intptr_t type available exactly
    for these uses.

commit 29a31db629c1ee7b6d1a00ef7ec0e4fd69234259
Author: Dan McGee <dpmcgee at gmail.com>
Date:   Tue Feb 14 09:57:54 2012 -0600

    Remove extra '\n' from red_printf() calls
    
    red_printf() takes care of adding a newline to all messages; remove the
    extra newline from all messages and macros that were doubling them up.
    
    Signed-off-by: Dan McGee <dpmcgee at gmail.com>

commit 4b6d1d534709b0cf9dc72c16b194768160f1f44e
Author: Dan McGee <dpmcgee at gmail.com>
Date:   Mon Feb 13 13:53:32 2012 -0600

    Add casts for compatibility purposes
    
    Some non-Linux platforms return a (caddr_t *) result for the return
    value of mmap(), which is very unfortunate. Add a (void *) cast to
    explicitly avoid the warning when compiling with -Werror.
    
    For the IO vector related stuff, signed vs. unsigned comes into play so
    adding a (void *) cast here is technically correct for all platforms.
    
    Signed-off-by: Dan McGee <dpmcgee at gmail.com>

commit 14fae7563940351b17ed13c4aa834620b741372d
Author: Dan McGee <dpmcgee at gmail.com>
Date:   Thu Jan 19 14:10:00 2012 -0600

    Update .gitignore with a few more generated files
    
    Signed-off-by: Dan McGee <dpmcgee at gmail.com>

commit 3e50b41dc2916ae1bdfa303b7de27f4581b00d23
Author: Daniel P. Berrange <berrange at redhat.com>
Date:   Tue Jan 10 15:26:55 2012 +0000

    Remove trailing whitespace from end of lines

commit 38ee339bd85c4457a28f75a8a3c322e05344b01a
Author: Daniel P. Berrange <berrange at redhat.com>
Date:   Tue Jan 10 15:16:03 2012 +0000

    Add missing includes of config.h
    
    Not all files were including config.h

commit 199bf855c78e513c990faefef617cc15f5a6b3b8
Author: Daniel P. Berrange <berrange at redhat.com>
Date:   Tue Jan 10 15:03:51 2012 +0000

    Remove unused backup file
    
    The common/glc.c.save file appears to be a obsolete copy of
    glc.c

commit 3e6cd060a01fd3370b785f1635d278725269c821
Author: Daniel P. Berrange <berrange at redhat.com>
Date:   Tue Jan 10 15:03:38 2012 +0000

    Remove trailing blank lines
    
    Remove any blank lines at the end of all source files

commit 4fa5b500b30c04735b5ac73627d342080f167124
Author: Daniel P. Berrange <berrange at redhat.com>
Date:   Tue Jan 10 14:44:16 2012 +0000

    Fix up copyright decl to always use 'Copyright (C) Red Hat, Inc.'
    
    A couple of files were missing '(C)' in the copyright header

commit 8bda19d39ec8c2ef5596b0d5b2376640a7e6c7be
Author: Daniel P. Berrange <berrange at redhat.com>
Date:   Tue Jan 10 11:39:16 2012 +0000

    Remove casts from void * with xrealloc() calls
    
    The xrealloc() function returns void*, so the return value
    never needs to be cast

commit c64594fca391fd5a430705ba5e6196e896c42ca0
Author: Daniel P. Berrange <berrange at redhat.com>
Date:   Mon Dec 12 17:53:04 2011 +0000

    Remove useless if() before free()
    
    The free() function allows NULL to be passed in, so any
    code which puts a if() before free() is wasting time

commit 942d9b7391ccc7b0116e60ac1d652359eb8adf9e
Author: Daniel P. Berrange <berrange at redhat.com>
Date:   Mon Dec 12 17:48:51 2011 +0000

    Death to all TABs
    
    Source files should all use spaces instead of tabs for
    indentation. Update the few files not already in
    compliance

commit 57c43db3c596bd48946d0f327ec4cd277f4ad290
Author: Alon Levy <alevy at redhat.com>
Date:   Fri Jan 13 12:58:08 2012 +0200

    common/ssl_verify: special case to WIN32 that isn't MINGW32

commit 314a849ae2a4a55f7498378f34f1764d64f7d1c7
Author: Alon Levy <alevy at redhat.com>
Date:   Fri Jan 13 12:57:35 2012 +0200

    common/bitops: mingw32: reorder so __GNUC__ define is checked first

commit a299c362dd37e47a10369c4263a9acadcd044ef7
Author: Alon Levy <alevy at redhat.com>
Date:   Fri Jan 13 12:56:59 2012 +0200

    common/backtrace: for mingw32 no pipe/wait_pid, just disable

commit 3ac2a50264f519ba36da4ba9a5c5d82b88e75619
Author: Alon Levy <alevy at redhat.com>
Date:   Fri Jan 13 12:56:07 2012 +0200

    client/windows: fix several assigned but not used errors

commit 3fcf2f217e608a1754effaccce2a04ecb78074fe
Author: Alon Levy <alevy at redhat.com>
Date:   Fri Jan 13 12:41:18 2012 +0200

    client/common: mingw32: workaround HAVE_STDLIB_H redefined in jconfig.h

commit cd595ed0347a8a37b9dc66fbe3e2081c3a4bc895
Author: Alon Levy <alevy at redhat.com>
Date:   Sun Nov 6 16:09:35 2011 +0200

    server: add prefix argument to red_printf_debug
    
    printed before function name. No central location for prefixes.
    Adding "WORKER", "ASYNC", "MAIN" since those were the current users.

commit dceb04044b3d132839bbc4e07fd429763b011cdf
Author: Alon Levy <alevy at redhat.com>
Date:   Sun Nov 6 14:29:20 2011 +0200

    common/spice_common.h: red_printf_debug: fix wrong sign

commit 758313d74cbae05cc7f1163e8ab647314eaa5505
Author: Yonit Halperin <yhalperi at redhat.com>
Date:   Sun Sep 18 10:31:38 2011 +0300

    server,proto: tell the clients to connect to the migration target before migraton starts
    
    (1) send SPICE_MSG_MAIN_MIGRATE_BEGIN upon spice_server_migrate_connect
        (to all the clients that support it)
    (2) wait for SPICE_MSGC_MAIN_MIGRATE_(CONNECTED|CONNECT_ERROR) from all the relevant clients,
        or a timeout, in order to complete client_migrate_info monitor command
    (cherry picked from commit 5560c56ef05c74da5e0e0825dc1f134019593cad branch 0.8;
     Was modified to support the separation of main channel from reds, and multiple clients)
    
    Conflicts:
    
    	server/reds.c

commit 10538a2222a1ff21e986cfabfb8587f2b588385b
Author: Christophe Fergeau <cfergeau at redhat.com>
Date:   Mon Sep 5 02:54:20 2011 +0200

    server: fix function prototypes
    
    Several functions in server/ were not specifying an argument list,
    ie they were declared as void foo(); When compiling with
    -Wstrict-prototypes, this leads to:
    test_playback.c:93:5: erreur: function declaration isn’t a prototype
    [-Werror=strict-prototypes]

commit 5a197ca4977b35753f79d782a72be4e2565e4415
Author: Christophe Fergeau <cfergeau at redhat.com>
Date:   Mon Aug 8 11:24:03 2011 +0200

    add C++ guards to backtrace.h
    
    Without these, spice_backtrace() can't be used from the C++ client
    code.

commit 4004bb37bc36600dcd25c9ad5b2c6b56ad5b549b
Author: Christophe Fergeau <cfergeau at redhat.com>
Date:   Thu Aug 25 14:35:01 2011 +0200

    fix memory leak in error path
    
    Issue found by the Coverity scanner

commit 26623d0fab78b779363967c52d5f56d8062b136b
Author: Alon Levy <alevy at redhat.com>
Date:   Tue Aug 9 23:07:39 2011 +0300

    common: introduce red_printf_debug

commit 5e4008cc2a9d30d0fe06cef93e7a1b9846d6dee4
Author: Alon Levy <alevy at redhat.com>
Date:   Mon Aug 22 16:17:28 2011 +0100

    common/ring: RING_FOREACH_SAFE: use shorter version from qemu

commit e732e8a27da826a7de168c786f114378fa5d60f5
Author: Alon Levy <alevy at redhat.com>
Date:   Wed Jul 20 16:19:51 2011 +0300

    common/backtrace.h: disable for WIN32
    
    This also catches mingw32 which is probably fine, but at least it fixes
    the build on visual studio.

commit 4801005294d625f8786580b9ddddb023d7a4c885
Author: Christophe Fergeau <cfergeau at redhat.com>
Date:   Wed Jul 27 17:20:13 2011 +0200

    fix integer marshalling helpers on big endian
    
    They were trying to convert the destination pointer to an integer before
    trying to dereference it. The initial conversion was meant to be a cast
    to a pointer of the right size, not to an integer.

commit 00cb6ff678473a0452ff1e8ddcd9340981830487
Author: Christophe Fergeau <cfergeau at redhat.com>
Date:   Wed Jul 27 17:02:39 2011 +0200

    fix typo in big endian code path
    
    uint63_t should be uint64_t

commit ede372e96774b86e92da9a0d4fd004a4da35b021
Author: Christophe Fergeau <cfergeau at redhat.com>
Date:   Thu Jul 21 18:48:28 2011 +0200

    fix make distcheck

commit 3aff246075dd95ad5e298f49d98a34570c8a6f86
Author: Alon Levy <alevy at redhat.com>
Date:   Thu Jul 14 10:50:49 2011 +0300

    common: add backtrace via gstack or glibc backtrace
    
    Add a backtrace printing function copied from xserver os/backtrace.c
    that uses gstack, and if that isn't found then glibc's backtrace.
    Used in ASSERT, tested on F15.

commit 8365513b12c3a8c25871ca1bc9b626194d1983d5
Author: Marc-André Lureau <marcandre.lureau at redhat.com>
Date:   Mon May 23 12:20:17 2011 +0200

    sndworker: add AudioVolume/AudioMute messages
    
    These messages allow the guest to send the audio device volume to the
    client. It uses an arbitrary scale of 16bits, which works good enough
    for now.
    
    Save VolumeState in {Playback,Record}State, so that we can send the
    current volume on channel connection.
    
    Note about future improvements:
    - add exact dB support
    - add client to guest volume change
    
    Updated since v2:
    - bumped record and playback interface minor version to allow
      conditional compilation
    Updated since v1:
    - sync record volume on connection too

commit 6e10ed279cd33ec0f62ee2061637287bcb2a20f0
Author: Arnon Gilboa <agilboa at redhat.com>
Date:   Sun May 22 14:53:13 2011 +0300

    common: add WIN64 ifdef for spice_bit_find_msb (fix broken windows x64 build)
    
    inline __asm is not supported in x64, so use the naive implementation
    until x64 asm implemented.

commit 0b1b126b1ebcb3712b4dfdd5fea1834e179e73bb
Author: Arnon Gilboa <agilboa at redhat.com>
Date:   Thu May 12 15:09:12 2011 +0300

    common: use INLINE instead of inline
    
    needed for spice/common files used by the client, server & qxl driver.
    in windows _inline works for both c/c++, while inline is c++ only.
    compiling the client with mixed c/c++ code required this define.

commit 9cfbd8e527f4d2f67e978e1a739d002fb58c8c8c
Author: Arnon Gilboa <agilboa at redhat.com>
Date:   Thu May 12 12:12:09 2011 +0300

    common: fix ssl_verify windows build errors

commit 20937a50c9c171a0e41d55597666de0fdd8ec3e7
Author: Marc-André Lureau <marcandre.lureau at redhat.com>
Date:   Tue Jan 25 13:00:33 2011 +0100

    common: add ssl_verify.c common code
    
    Code adapter from RedPeer::ssl_verify_callback() and used by
    spice-gtk.
    
    Since v1:
     - fixed Makefile.am
     - added config.h include
     - autoconf alloca added in patch series
     - moved int escape inside for loop
     - added a failed case when missing assignment
     - replaced strlen () by -1
     - skip spaces after comma
     - c++ guards
    
    I didn't use bool, because openSSL uses int, and it is more future
    proof for error reporting.

commit bf1491401a9345139958ed4b8fbc1e4065ce5c87
Author: Marc-André Lureau <marcandre.lureau at redhat.com>
Date:   Tue May 3 13:53:59 2011 +0200

    common: add ring_get_length() for debugging purposes
    
    Please notice it has a "static" modifier, like the rest of the inlined
    functions in ring.h, so it won't warn if it isn't used.

commit 8416be7d9c54a9bf88963c9eecc377abfe0c47c6
Author: Marc-André Lureau <marcandre.lureau at redhat.com>
Date:   Tue May 3 13:39:38 2011 +0200

    common: mem.h add alloca definition
    
    We don't support the autoconf ALLOCA/C_ALLOC fallback. If one day,
    someone cares for a weird platform, he can fix it.

commit 249793c599f0b74b6f803630f4a74d9f5c675c41
Author: Marc-André Lureau <marcandre.lureau at redhat.com>
Date:   Tue Jan 25 16:17:12 2011 +0100

    common: spice_memdup could accept NULL
    
    (this patch is not to solve a crash fix, but to align with glib API)

commit ffd3809e191e1063a6edb65586c13bb6cd3a84e5
Author: Marc-André Lureau <marcandre.lureau at redhat.com>
Date:   Wed Dec 15 18:39:14 2010 +0100

    common: add windows.h where required, make gdi_handlers static
    
    This patch has not been verified with VS/brew. It should be safe
    hopefully. Compilation is fine with mingw32/spice-gtk.

commit 1726da731aa116c1a61db0a4ab46dc7bc97bd5bc
Author: Christophe Fergeau <cfergeau at redhat.com>
Date:   Fri Apr 22 16:43:48 2011 +0200

    move get_time_stamp to main_channel.c
    
    There is only one user of get_time_stamp from spice_common.h so
    it's not really useful to keep it there.

commit 8b2ff2fbb34ce79b6b2072c64982af826a2db859
Author: Christophe Fergeau <cfergeau at redhat.com>
Date:   Fri Apr 22 16:41:28 2011 +0200

    use standard do { } while (0) for spice_common.h macros

commit 7ba1c22a180f96f020a38c1e4f0a0d1599e60989
Author: Christophe Fergeau <cfergeau at redhat.com>
Date:   Fri Apr 22 16:39:29 2011 +0200

    move WARN and WARN_ONCE to spice_common.h

commit 875520739d77014c7f88b9bf4ce2488d235c5376
Author: Christophe Fergeau <cfergeau at redhat.com>
Date:   Fri Apr 22 16:23:38 2011 +0200

    common: use PANIC from spice_common.h

commit bb00047691bc0e245e326ee540001ef1da6ed9e0
Author: Christophe Fergeau <cfergeau at redhat.com>
Date:   Fri Apr 22 16:17:14 2011 +0200

    common,server: use ASSERT from spice_common.h
    
    spice_common.h provides an ASSERT macro, no need to duplicate it
    in many places. For now client/debug.h keeps its own copy since
    debug.h and spice_common.h have clashes on other macros which are
    trickier to unify.

commit a8cfd1566fd1b2aaf39cb15a9efb9e1ef0cb730f
Author: Christophe Fergeau <cfergeau at redhat.com>
Date:   Fri Apr 22 12:55:21 2011 +0200

    common: don't duplicate find_msb implementation

commit f17c0964d340f77f37a7f7c7396deef87602393e
Author: Christophe Fergeau <cfergeau at redhat.com>
Date:   Fri Apr 22 11:48:53 2011 +0200

    add missing static

commit da4b2715cc83a98abec7d1b228249d22cc53638b
Author: Christophe Fergeau <cfergeau at redhat.com>
Date:   Thu Apr 21 12:35:34 2011 +0200

    add #include <config.h> to all source files
    
    When using config.h, it must be the very first include in all source
    files since it contains #define that may change the compilation process
    (eg libc structure layout changes when it's used to enable large file
    support on 32 bit x86 archs). This commit adds it at the beginning
    of all .c and .cpp files

commit aa2b615cd82852e0647c6095208cc1077afb86b6
Author: Christophe Fergeau <cfergeau at redhat.com>
Date:   Wed Apr 20 17:50:22 2011 +0200

    autotools: correctly build canvas-related code
    
    spice client and spice server shares code from
    common/{gdi,gl,sw}_canvas.[ch]. However, while most of the code is
    shared, the server code wants a canvas compiled with
    SW_CANVAS_IMAGE_CACHE defined while the client code wants a canvas
    compiled with SW_CANVAS_CACHE.
    
    The initial autotools refactoring didn't take that into account,
    this is now fixed by this commit. After this commit, the canvas
    files from common/ are no longer compiled as part of the
    libspice-common.la convenience library. Instead, there are "proxy"
    canvas source files in client/ and server/ which #include the
    appropriate C files after defining the relevant #define for the
    binary that is being built.
    
    To prevent misuse of the canvas c files and headers in common/,
    SPICE_CANVAS_INTERNAL must be set when including the canvas headers
    from common/ or when building the c files from common/ otherwise
    the build will error out.

commit d53bbea0c83d65e601055ec6955ba37a590380c8
Author: Christophe Fergeau <cfergeau at redhat.com>
Date:   Wed Apr 20 11:09:55 2011 +0200

    autotools: refactor the whole build machinery
    
    spice Makefile.am setup is a bit confusing, with source file
    names being listed several times in different Makefile.am
    (generally, once in EXTRA_DIST and another time in another
    Makefile.am in _SOURCES). The client binaries are built
    by client/x11/Makefile.am, which means recursing into client,
    then into x11 to finally build spicec. This Makefile.am is
    also referencing files from common/ and client/, which is
    a bit unusual with autotools.
    
    This patch attempts to simplify the build process to get
    something more usual from an autotools point of view.
    The source from common/ are compiled into a libtool convenience
    library, which the server and the client links against which avoids
    referencing source files from common/ when building the server and
    the client. The client is built in client/Makefile.am and directly
    builds files from x11/ windows/ and gui/ if needed (without
    recursing in these subdirectories).
    
    This makes the build simpler to understand, and also makes it
    possible to list source files once, which avoids potential
    make distcheck breakage when adding new files.
    
    There is a regression in this patch with respect to
    sw_canvas/gl_canvas/gdi_canvas. They should be built with
    different preprocessor #defines resulting in different behaviour
    of the canvas for the client and the server. However, this is not
    currently the case, both the client and the server will use the same
    code for now (which probably means one of them is broken). This will
    be fixed in a subsequent commit.
    
    make distcheck passes, but compilation on windows using the
    autotools build system hasn't been tested, which means it's likely
    to be broken. It shouldn't be too hard ot fix it though, just let
    me know of any issues with this.

commit 9e8df89d01569a61033d21f56225d61133ac9290
Author: Christophe Fergeau <cfergeau at redhat.com>
Date:   Thu Apr 21 12:05:19 2011 +0200

    common: don't try to redefine PANIC if it already exists
    
    canvas_base.c tries to define PANIC, but it might already be set
    if eg client/debug.h has been included before. All the other
    macros in this file are guarded by #ifndef, this commit adds
    the missing #ifndef to PANIC. Note that this is just a bandaid,
    ideally common/ would contain a logging frameword, and these
    macros would only be defined once instead of being defined in
    several places.

commit b9996452950db3773604579b2fd5596b5a3d9d9c
Author: Christophe Fergeau <cfergeau at redhat.com>
Date:   Tue Apr 19 23:23:18 2011 +0200

    use foo(void) instead of foo() in prototypes
    
    In C, the latter isn't a prototype for a function with no arg,
    but declares a function with an undefined number of args.

commit 9a715c8b954e8043a2541fcfd089ca25ed4bbcaf
Author: Christophe Fergeau <cfergeau at redhat.com>
Date:   Tue Apr 19 23:37:12 2011 +0200

    common: add missing header guards to gl_canvas.h

commit 531d5bdf525f431688e97da5389e68cec3a2fec0
Author: Christophe Fergeau <cfergeau at redhat.com>
Date:   Tue Apr 19 22:58:36 2011 +0200

    common: add extern "C" guards to headers
    
    Since some spice C++ code is using code from common/, the C
    functions need to be marked as such for the C++ compiler, otherwise
    we'll get linkage issues.

commit b41ad89024031db097ebb132cecc7c6f1d03b3b5
Author: Christophe Fergeau <cfergeau at redhat.com>
Date:   Fri Apr 15 13:55:55 2011 +0200

    draw: remove SPICE_ADDRESS
    
    This commit removes the typedef for SPICE_ADDRESS which was no
    longer used. This is the last thing that was missing to close
    fdo bug #28984

commit c80c42008c63384edb0caf6840b329ecf33e9a35
Author: Christophe Fergeau <cfergeau at gmail.com>
Date:   Tue Mar 22 11:48:54 2011 +0100

    common/pixman: remove dead assignments
    
    They were detected using clang-static-analyzer. Don't initialize
    the variable to a value to override it with a different value
    a few lines after.

commit a33cb671c770fb51ddb0d3ee340aace828b47671
Author: Christophe Fergeau <cfergeau at gmail.com>
Date:   Tue Mar 22 17:22:08 2011 +0100

    common/gl: remove unused variable
    
    clang static analyzer warned that 'len' was computed but never
    used in glc_vertex2d. glc_stroke_line_dash has side effects so
    we have to call it, but we don't need to save its return value
    since it's not used.

commit 6ee99d330f7c48c31496f50ff4537c3e2cf9b1b1
Author: Alon Levy <alevy at redhat.com>
Date:   Tue Nov 9 23:01:39 2010 +0200

    ring: add RING_FOREACH{,_SAFE,_REVERSED}

commit db6835f616e24c3e5371c9d77d082a29a2f00ea6
Author: Alon Levy <alevy at redhat.com>
Date:   Mon Feb 28 18:56:16 2011 +0200

    server/common: introduce common/spice_common.h
    
    move all the ASSERT/PANIC/PANIC_ON/red_error/red_printf* macros
    to a common file to be used with ring.h that is going to be used externally
    (by spice-gtk).

commit 597767d9836d149a33fed8ac61717ff51fda0afc
Author: Marc-André Lureau <marcandre.lureau at redhat.com>
Date:   Wed Feb 9 15:11:22 2011 +0100

    common: add SpiceBuffer - based on qemu-vnc Buffer
    
    https://bugs.freedesktop.org/show_bug.cgi?id=34795

commit 29cc055be8cba0123acc2678726a03fed2293d06
Author: Alon Levy <alevy at redhat.com>
Date:   Tue Jan 25 00:38:16 2011 +0200

    common/sw_canvas: remove unused error val
    
    This is the only unused var change I'll want to revisit eventually,
    I'm submitting anyway since it doesn't change current behavior. I'm
    talking about ignoring the return value from canvas creation. Adding
    a print is possible but I didn't test (may be too verbose, also
    preferable to be a debug print if so, and we don't have that option
    in the code atm - probably an environment variable will do, or adding
    some spice_server_set_logging_level api, maybe even
    spice_server_set_logging_fd?)

commit f0ee64c690b1f66d3f6debb7b414dc8886244f23
Author: Alon Levy <alevy at redhat.com>
Date:   Tue Jan 25 00:37:45 2011 +0200

    common/canvas_base.c: remove unused variables

commit cfc2da5bae7663797036b1045e33b8df029ce1da
Author: Alon Levy <alevy at redhat.com>
Date:   Wed Jan 5 15:31:46 2011 +0200

    common, canvas_get_jpeg_alpha: let top_down be any value
    
    Allow top_down flag to have any value, only ASSERT it is positive
    when needs to be positive and zero otherwise. Allows older server
    bug of sending 4 instead of 1 in top down flag to not affect newer
    clients (previous patch fixes server).

commit f359b264ae597adafb6528679b9084bfbbba16bc
Author: Alon Levy <alevy at redhat.com>
Date:   Mon Dec 6 18:02:01 2010 +0200

    mingw32 build: various fixes

commit abdf4ad91ccca44fa297d1bc9016f3cac5f55328
Author: Alon Levy <alevy at redhat.com>
Date:   Mon Dec 6 18:01:14 2010 +0200

    mingw32 build: fix two functions

commit 4889f111900b66ee2adb6e063d232195bb76f553
Author: Alon Levy <alevy at redhat.com>
Date:   Mon Dec 6 17:55:16 2010 +0200

    mingw32 build: fix signed/unsigned warnings as errors

commit 074555bcf35becc640fa6102870d5f7ebd8f2410
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Thu Jul 8 11:40:57 2010 +0200

    mingw32 build: fix build errors
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>

commit 53c4477379d0687bf8688de5eec4476e20a25fed
Author: Alexander Larsson <alexl at redhat.com>
Date:   Wed Sep 29 12:47:15 2010 +0200

    Initialize variable to avoid compiler warning
    
    Seems the OSX gcc warns on saveRight not being initialzied.

commit 24ab5a2bcbcd5bb76b9b307bc63caf21a2abdd7a
Author: Alexander Larsson <alexl at redhat.com>
Date:   Wed Sep 22 14:36:40 2010 +0200

    Handle surface images in DrawOpaque

commit b80bc0704f68f89811721e6a276f178258c1d5c6
Author: Alexander Larsson <alexl at redhat.com>
Date:   Tue Sep 21 20:08:46 2010 +0200

    Fix crash when resetting pixman image transform
    
    Resetting the transform is done by setting it to the identity
    transform, not passing in NULL. Passing in NULL causes a crash.

commit e598e2f55f419402a60ecc33c7d42de49c3d26a7
Author: Alexander Larsson <alexl at redhat.com>
Date:   Tue Aug 31 12:07:31 2010 +0200

    Fix scaling with large magnification
    
    When scaling part of an image we need to specify the source
    coordinates in transformed coordinates. For large magnifications this
    means we will get pretty large values.
    
    Now, if e.g. src_x * transform is larger than 32765, then the
    coordinate ends up outside the pixman 16bit image size, so the
    rendering will not work.
    
    The fix is to make the src_x/y offset part of the transformation.
    This means its automatically transformed by the correct scaling, and
    the coordinates passed into pixman are not (typically) over 16bit.

commit 86ab1abb3a56d35928f438821289f5391f603f15
Author: Alexander Larsson <alexl at redhat.com>
Date:   Tue Aug 31 11:48:13 2010 +0200

    Revert "Fix scaling with large magnification"
    
    This reverts commit e13be77f33609cb3fdae354ce1f2686ae865f9e0.

commit f9690982a8886b2df37ae2588565535718d26930
Author: Alexander Larsson <alexl at redhat.com>
Date:   Mon Aug 30 15:33:36 2010 +0200

    Fix scaling with large magnification
    
    When scaling part of an image we need to specify the source coordinates
    in transformed coordinates. For large magnifications this means
    we will get pretty large values.
    
    Now, if e.g. src_x * transform is larger than 32765, then the coordinate
    ends up outside the pixman 16bit image size, so the rendering
    will not work.
    
    In order to work around this we generate a "sub-image" of the pixman
    image such that the src_x/y values we have to specify are zero (or near
    zero).

commit 37ac00ae64e16a1df27f1d83bc8d788bf6b1cb1d
Author: Alexander Larsson <alexl at redhat.com>
Date:   Fri Aug 27 16:33:35 2010 +0200

    canvas: Better coordinate rounding in scaling
    
    When scaling in pixman you give the source coordinates in transformed
    space rather than in the source coordinates. This is a bit problematic
    when both source and destination coordinates are at integer positions, but
    the scaling factor is not an exact 16.16 fixed point value. We used
    to calculate the transformed source based on the floating point
    transformation, which gave the wrong answer sometimes. Now we do the
    calculations based on the fixed point transform that we give pixman.
    
    However, even with this patch I can still sometimes see issues related
    to this, although they are less bad.

commit 698d0e471aed6ada0530e84f4e2edcef0af4e39a
Author: Alexander Larsson <alexl at redhat.com>
Date:   Wed Aug 25 16:44:16 2010 +0200

    server: Fix alloc_lz_image_surface stride allocations
    
    All lz surfaces are not 4 bytes per pixel, calculate the right stride
    based on the pixman format.

commit f912ffbc2a2272e8ae6df4edcdb997d7ba33b2a6
Author: Alexander Larsson <alexl at redhat.com>
Date:   Wed Aug 18 16:33:20 2010 +0200

    Stride can be negative, so don't use size_t for it

commit 5fad948a0b0f7934faaddecae3346ac94e64ec0b
Author: Alexander Larsson <alexl at redhat.com>
Date:   Tue Jul 20 11:33:57 2010 +0200

    Don't send padding over the network with video data

commit 11a3ec34a752d5bdd4c485a5df77c5ebd7df1399
Author: Alexander Larsson <alexl at redhat.com>
Date:   Mon Jul 19 14:10:16 2010 +0200

    codegen: Various cleanups
    
    Remove all uses of @end in the marshaller, instead just using
    the C struct array-at-end-of-struct. To make this work we also remove
    all use of @end for switches (making them C unions).
    
    We drop the zero member of the notify message so that we can avoid this
    use of @end for a primitive in the marshaller (plus its useless to send
    over the wire).
    
    We change the offsets and stuff in the migration messages to real pointers.

commit 6e4cd5f636475ca92129991c7cee7e4e99abed74
Author: Yonit Halperin <yhalperi at redhat.com>
Date:   Thu Jul 15 11:50:28 2010 +0300

    canvas_base jpeg_alpha: supply the correct size to jpeg_decoder

commit 5858552f624c897d6f4fafb1488e0aa1bef994a9
Author: Alexander Larsson <alexl at redhat.com>
Date:   Fri Jul 9 11:57:09 2010 +0200

    Add files i forgot to commit

commit 64739323450e6363d28ce36d7be3bf342650bb14
Author: Alexander Larsson <alexl at redhat.com>
Date:   Thu Jul 8 19:22:39 2010 +0200

    Make distcheck work

commit a85b48594dcf50f01f39e0b91b0ddf605e1443af
Author: Alexander Larsson <alexl at redhat.com>
Date:   Thu Jul 8 18:26:37 2010 +0200

    Fix various misspellings
    
    letancy -> latency
    compund -> compound
    SpicedSubMessage -> SpiceSubMessage
    modifaiers -> modifiers
    massage -> message
    outgoiong -> outgoing
    AlphaBlnd -> AlphaBlend
    remoth -> remote
    modifires -> modifiers
    secore -> secure

commit 1989b09a5edc2db6a649060963be2547d98a25f2
Author: Alexander Larsson <alexl at redhat.com>
Date:   Thu Jul 8 15:44:39 2010 +0200

    Fix sign warnings from win32 compiler

commit 405a1f71ca138b281a8fe4e08356f1baf9e9b296
Author: Alexander Larsson <alexl at redhat.com>
Date:   Thu Jul 8 15:44:15 2010 +0200

    Fix inclusion of common files, no need for common/ part

commit 14ceecd4e2d786ada580448aea3c5ea49be4cd7b
Author: Alexander Larsson <alexl at redhat.com>
Date:   Thu Jul 8 14:46:04 2010 +0200

    Simplify spice_pixman_region32_init_rects with new types
    
    Don't manually of SpiceRects to pixman_box32_t now that they are compatible
    and SpiceRect is internal.

commit 23f0b3d5b20293a3096ed50bc497e13758c4bb66
Author: Alexander Larsson <alexl at redhat.com>
Date:   Thu Jul 8 14:30:01 2010 +0200

    Make all internal structures not be packed

commit 74c767fd263333a19a06a750a705b031cb9adf85
Author: Alexander Larsson <alexl at redhat.com>
Date:   Thu Jul 8 14:17:24 2010 +0200

    Move SpiceChunks to mem.h

commit d1ed33848361daee2f4ddfc7f1fead8a2ddb5fb8
Author: Alexander Larsson <alexl at redhat.com>
Date:   Thu Jul 8 13:56:01 2010 +0200

    Move in spice/draw.h from spice-protocol to common/

commit 2b5fe8c7acd81f281a47a3a742219a7a6484382f
Author: Alexander Larsson <alexl at redhat.com>
Date:   Thu Jul 8 12:43:33 2010 +0200

    Properly parse QXLLineAttrs.style

commit 052c9bbbbf49c17b4a16ce3eb4875ae6c9a4dea4
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Thu Jul 1 17:55:33 2010 +0200

    Properly parse QXLImage to the new-world SpiceImage
    
    SpiceImage now replaces RedImage and has all image types in it.
    All image data are now chunked (and as such not copied when demarshalling).

commit c226eb0300859ee977ee0c37022bd1aebe76b88d
Author: Alexander Larsson <alexl at redhat.com>
Date:   Wed Jul 7 22:40:16 2010 +0200

    Add spice_marshaller_add_ref_chunks

commit 23ace37e71a6a94f01e47b556460fc6e071cf0ec
Author: Alexander Larsson <alexl at redhat.com>
Date:   Tue Jul 6 14:39:15 2010 +0200

    Add spice_chunks_* helpers

commit f564229a7fa95a659b785c89dd8f07e6feb65922
Author: Alexander Larsson <alexl at redhat.com>
Date:   Mon Jul 5 20:45:13 2010 +0200

    Convert SpicePath.segments to a pointer array

commit 1d0b18b5a3bca89ccfeda6d81a487050177f35c2
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Wed Jun 30 22:19:12 2010 +0200

    Properly parse and marshall SpiceString

commit b2c043c8093c7d32701e3baca0cca26ff800bd08
Author: Alexander Larsson <alexl at redhat.com>
Date:   Thu Jul 1 16:46:12 2010 +0200

    Fix build on win32

commit 132c9588d692500cdd64a531889fadf94578d410
Author: Alexander Larsson <alexl at redhat.com>
Date:   Thu Jul 1 16:07:02 2010 +0200

    Update for the SpicePath.segments type change

commit bb63090839703b8bced09cd894ac198797ce79e1
Author: Alexander Larsson <alexl at redhat.com>
Date:   Wed Jun 30 16:49:50 2010 +0200

    Simplify SpiceLineAttr by removing unsed stuff
    
    Also in new protocol don't send style data if not needed.

commit 03a0b6741aad4aa0daa8ebadac36de623986e1b4
Author: Alexander Larsson <alexl at redhat.com>
Date:   Tue Jun 29 21:42:59 2010 +0200

    Store SpicePath segment count rather than size
    
    Internally and in the network protocol (for the new version) we
    now store the actual number of segments rather than the size of the
    full segments array in bytes. This change consists of multiple changes
    to handle this:
    
    * Make the qxl parser calculate num_segments
    * Make the canvas stroke code handle the new SpicePath layout.
    * Fix up is_equal_path in red_worker.c for the new layout
    * replace multiple calls to spice_marshall_PathSegment with a single
      spice_marshall_Path call
    * Make the byte_size() array size handling do the conversion from
      network size to number of elements when marshalling/demarshalling.
    * Update the current spice protocol to send the segment count rather than
      the size
    * Update the old spice protocol to use the new byte_size functionallity
      to calculate the size sent and the number of elements recieved

commit efe133f71dc37ef732dfc89d767be31956303129
Author: Alexander Larsson <alexl at redhat.com>
Date:   Tue Jun 29 21:23:55 2010 +0200

    Add spice_marshaller_set_uint32
    
    With this function you can update an added uint32 after it being added.
    To make this possible all the spice_marshaller_add_add_foo functions
    now return a pointer that can be used as a reference when later
    setting a value.

commit 9fcd7fa957c072b87804f2daa90233739628fca9
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Fri Jun 25 16:20:25 2010 +0200

    qxl-abi: handle clip rect and path references.
    
    red_parse_qxl.c starts to follow QXLPHYSICAL references and build up
    data structures.  Can zap a bunch of get_virt calls in red_worker.c,
    followed by cleanups.
    
    (de-) marshaller needs updates to deal with that.  Also I suspect with
    the get_virt() calls being gone we can offload more work to generated
    marshaller code.
    
    client doesn't build.

commit 06c46357e51fedcd5f4aaa84a75ba23ebc9badef
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Wed Jun 23 14:46:23 2010 +0200

    qxl abi: parse QXLCopy + QXLBlend.
    
    Also adapt to tyops fix (s/rop_decriptor/rop_descriptor/).

commit 3f12ce3c2bf0b76e84770c73ae6d15b21609b59d
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Wed Jun 23 09:49:35 2010 +0200

    qxl abi: parse QXLOpaque.
    
    Also adapt to tyops fix (s/rop_decriptor/rop_descriptor/).

commit f2c7cb4122f86a99c8a9dc2e9fc69e53b0a9a1aa
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Wed Jun 23 08:53:04 2010 +0200

    qxl abi: parse QXLFill.
    
    Also adapt to tyops fix (s/rop_decriptor/rop_descriptor/).

commit 831fb361fddf3dfd8a505483d98ee6066b6a9c43
Author: Alexander Larsson <alexl at redhat.com>
Date:   Thu Jun 24 14:30:00 2010 +0200

    Remove support for clip by path
    
    This is not supported currently anyway and was not generated before.

commit 5e36912bb60e00ec2869abba4c5757182a6ec294
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Wed Jun 23 09:49:04 2010 +0200

    fix use-after-free in spice_marshaller_reset

commit 5ef57428431fa662ef04b77c7396f60b31897097
Author: Yonit Halperin <yhalperi at redhat.com>
Date:   Sun Jun 20 17:18:56 2010 +0300

    Lossy compression of RGBA images (on WAN connection)
    
    The RGB channels are compressed using JPEG.
    The alpha channel is compressed using LZ.

commit fec53540167f2e3e3cbdc7162550f643a32c9a42
Author: Yonit Halperin <yhalperi at redhat.com>
Date:   Sun Jun 20 15:24:49 2010 +0300

    applying zlib compression over glz on WAN connection

commit dcc0f272e97908eabb80ad2d8a61733c6d033040
Author: Alexander Larsson <alexl at redhat.com>
Date:   Fri Jun 18 21:10:25 2010 +0200

    Make generated marshallers build on win32

commit 5e06031cadbd32acea4bcc586cbc70996d0aa8e2
Author: Alexander Larsson <alexl at redhat.com>
Date:   Fri Jun 18 17:12:31 2010 +0200

    Make sound data @as_ptr to avoid copying data

commit baebe8431a300fc9d590e49439eea81f1f003c29
Author: Alexander Larsson <alexl at redhat.com>
Date:   Fri Jun 18 17:12:07 2010 +0200

    Make ping data @as_ptr to avoid copying data

commit 9b07d7815216e8166a2d3c4533fb07288d52ebb6
Author: Alexander Larsson <alexl at redhat.com>
Date:   Fri Jun 18 17:11:39 2010 +0200

    Make cursor data @as_ptr to avoid copying data

commit 25c04403bd13ee35883eb242a13c83fbc7071a98
Author: Alexander Larsson <alexl at redhat.com>
Date:   Fri Jun 18 15:44:04 2010 +0200

    Make pointer types in messages be 64bit in memory
    
    Right now we always assume pointers are stored as SPICE_ADDRESS,
    i.e. 64bit, independent on the size sent on the network.
    This is required for 64bit architectures of course, but slightly overkill
    on 32bit architectures, so needs fixing when all SPICE_ADDRESS elements
    can be made internal.

commit 2aafd286be43bea5c0305912de4d786ef7b7fd07
Author: Alexander Larsson <alexl at redhat.com>
Date:   Fri Jun 18 15:10:57 2010 +0200

    Don't pack the message structures

commit 07fdec53e175f1193b76baaf2e96ced371345545
Author: Alexander Larsson <alexl at redhat.com>
Date:   Fri Jun 18 14:05:59 2010 +0200

    Make all message structs internal to spice
    
    We move all message structs from spice-protocol to spice as
    we want to be able to change these as needed internally. The
    on-network format is no longer defined by these structures anyway,
    but rather by the spice protocol description.

commit b4fb4711324fd296f17b4be433ea50a9038b2eef
Author: Alexander Larsson <alexl at redhat.com>
Date:   Mon Jun 14 16:11:04 2010 +0200

    Add SpiceMarshaller for easy marshalling

commit 9c5bef32b6fca718ee095932190642f742f14174
Author: Alexander Larsson <alexl at redhat.com>
Date:   Tue May 25 16:01:18 2010 +0200

    Client: Use the autogenerated demarshallers
    
    When a message has been read from the network we now pass it into
    the generated demarshaller for the channel. The demarshaller converts
    the network data to in-memory structures that is passed on to the
    spice internals.
    
    Additionally it also:
    * Converts endianness
    * Validates sizes of message and any pointers in it
    * Localizes offsets (converts them to pointers)
    * Checks for zero offsets in messages where they are not supported
    
    Some of this was previously done using custom code in the client, this
    is now removed.

commit 4255fd5fadc8af4eb165689bc19b99909550a51e
Author: Alexander Larsson <alexl at redhat.com>
Date:   Wed May 26 21:16:25 2010 +0200

    There are multiple line attribute flags enums, use only one

commit 1ea6a0eea66bab9240eccfe4d787b3647a02dc40
Author: Alexander Larsson <alexl at redhat.com>
Date:   Thu Jun 17 11:18:27 2010 +0200

    Add spice_strnlen

commit a23bf0c0d53d79f18a768f9322fc757ecbd693e5
Author: Yonit Halperin <yhalperi at redhat.com>
Date:   Tue Jun 1 10:30:51 2010 +0300

    support for lossy images in the pixmap cache and fill bits
    
    1) add an option to determine if a bitmap can be sent lossy to the client
    2) when required, replacing lossy cache items with their correspending
       lossless bitmaps

commit 93fdeaa7e1a0e02864572c92bce8ed419e1fbadc
Author: Yonit Halperin <yhalperi at redhat.com>
Date:   Wed Jun 9 11:40:25 2010 +0200

    JPEG support: introducing jpeg encoding for spice bitmaps

commit 0261d7d6895e1a86f34e7e3b4772dff65b0e5833
Author: Alexander Larsson <alexl at redhat.com>
Date:   Fri May 21 10:51:03 2010 +0200

    Fix spelling errors in comments and strings

commit c620859bdf80c2ca176d452cc7a61a5de4b2b6a2
Author: Alexander Larsson <alexl at redhat.com>
Date:   Wed May 19 16:03:32 2010 +0200

    Use the new byteswap macros from spice-protocol

commit 3bd239614e13491575a08ba8510b452731c20e29
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Mon May 3 11:32:35 2010 +0200

    Add C version of find_msb()
    
    This patch allows people to build the spice-client on any 32bit/64bit
    architecture.
    
    by Bryan Stillwell <bryan at bokeoa.com>

commit e4501caa6ebf56f6bd31e64c5ca804ef0c46df11
Author: Alexander Larsson <alexl at redhat.com>
Date:   Mon May 3 12:08:00 2010 +0200

    Remove all mentions of "cairo" from the code
    
    The command line option is renamed from "cairo" to "sw", and
    similarly all filenames and types from Cairo to Sw (and similar).

commit 32dede532b86a39f1a7011c4ae9653ff2e5d5da7
Author: Alexander Larsson <alexl at redhat.com>
Date:   Thu Apr 29 11:40:07 2010 +0200

    win32 client: Remove unnecessary GDIImage type
    
    We just use pixman_image_t as the "information about image data" structure.

commit 2bb0187ad8428f19d1aa27f40337c3329b609aad
Author: Alexander Larsson <alexl at redhat.com>
Date:   Wed Apr 28 15:43:41 2010 +0200

    Add support for SPICE_IMAGE_FLAGS_HIGH_BITS_SET

commit 2a4015bf8d2d55f26d73fde397a388ffa3be41b7
Author: Alexander Larsson <alexl at redhat.com>
Date:   Wed Apr 28 12:15:24 2010 +0200

    Clear alpha in xRGB destination to avoid pixman setting it to 0xff
    
    Pixman sometimes sets the ignored high byte to 0xff during alpha
    blending. This is correct according to pixman specs, as the high
    byte is ignored. However its not what windows expects, and it causes
    unnecessary regions with non-zero high byte, causing us to
    send rgba data instead of rgb which compresses worse.
    
    So, we detect this and clear the high byte.

commit 24bb8137ea55eefedbf9473fec415eff4ec9397c
Author: Alexander Larsson <alexl at redhat.com>
Date:   Wed Apr 28 12:00:25 2010 +0200

    Fix line lengths and tabs

commit a0b1c5171e1d131e65ad9e0599073becbce1dd6e
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Mon Apr 26 13:47:15 2010 +0200

    fix two warnings

commit 8650d04aeee0e409dc513167140600c54af7e5fb
Author: Alexander Larsson <alexl at redhat.com>
Date:   Fri Apr 23 21:02:59 2010 +0200

    Remove surface format workaround now that win32 driver is fixed
    
    The win32 driver makes all 32bit surfaces be xRGB now, so we
    can remove this old workaround.

commit ec9069c84b96966f61fd15e02eb354bca6b4d499
Author: Alexander Larsson <alexl at redhat.com>
Date:   Fri Apr 23 16:33:36 2010 +0200

    Win32 canvas fixes

commit 39969cea2f8bf44b647bebe0b0f5c5b6fa9ba71e
Author: Alexander Larsson <alexl at redhat.com>
Date:   Fri Apr 23 15:15:40 2010 +0200

    Support alpha surface sources and destinations

commit c9a827ffd14ccc3df16e6c2dedaf936f98c1f8bf
Author: Alexander Larsson <alexl at redhat.com>
Date:   Thu Apr 22 17:48:21 2010 +0200

    Localize palettes for LZ PLT format
    
    This is needed since they always decode to 32bit mode.

commit afea49d3c5652d142c37dc60311dc180af567ad2
Author: Alexander Larsson <alexl at redhat.com>
Date:   Mon Apr 19 16:31:45 2010 +0200

    Make each surface its own depth/format
    
    Surface creation now specifies the exact format, not only the bit depth
    of each surface which is used for rendering.
    
    Additionally we now actually store the surfaces in that format, instead
    of converting everything to 32bpp when drawing or e.g. handling palettes.

commit 5a76ba473b22b123aacacaeaa9a6e1068f88c53d
Author: Alexander Larsson <alexl at redhat.com>
Date:   Mon Apr 19 16:19:43 2010 +0200

    Make client canvas and pixmaps handle more formats and simplify
    
    We now support 16bit format pixmaps as well as the old ones. Including
    both 555 and 565 modes.
    
    We drop the palette argument for pixmap construction as it was only
    used for black/white anyway.
    
    Canvas creation is simplified so that there is no separate set_mode
    state. Canvases are already created in the right mode and never change.

commit a8db70075aeb6057f002065570dff72928d6be31
Author: Alexander Larsson <alexl at redhat.com>
Date:   Wed Apr 21 17:45:07 2010 +0200

    common: Add lookaside storage for pixman image format
    
    Ideally we should just read this from the pixman image, but
    there is no API to do so in stable pixman, so we store it.

commit 4a38b86c69dc668912a61c46f4d2afbfd202e995
Author: Alexander Larsson <alexl at redhat.com>
Date:   Mon Apr 19 15:49:20 2010 +0200

    Add pixman utilities for bitmap to pixman_image_t conversion

commit 5df8f7e80de8f726a9124dbbdb046f976dbd9a42
Author: Alexander Larsson <alexl at redhat.com>
Date:   Mon Apr 19 15:43:54 2010 +0200

    Add support for 16bit rop3

commit d25af8ab1956da7c9c45697fb0014532edfb6b3b
Author: Alexander Larsson <alexl at redhat.com>
Date:   Wed Apr 21 18:42:58 2010 +0200

    Remove unused method canvas_surf_to_invers

commit ffb7e07c4befe85af9947b1d4ece20b8c869cd3c
Author: Alexander Larsson <alexl at redhat.com>
Date:   Fri Apr 23 16:33:19 2010 +0200

    Fix warnings breaking win32 build

commit 85cb44a94b2290072efa5067df3aa141043174a4
Author: Izik Eidus <ieidus at redhat.com>
Date:   Wed Apr 14 19:38:49 2010 +0300

    spice: server: change update_area command
    
    The new command return dirty area to be used
    by users that want spice to render localy or
    into some framebuffer (sdl / vnc)
    
    Signed-off-by: Izik Eidus <ieidus at redhat.com>

commit 8974315747835a041c68a8a671ee73f0fc4e7b9a
Author: Alexander Larsson <alexl at redhat.com>
Date:   Tue Apr 13 22:22:15 2010 +0200

    Relicense everything from GPL to LGPL 2.1+

commit 53956065928c7d30aa2b9df741bb672f024098da
Author: Alexander Larsson <alexl at redhat.com>
Date:   Thu Apr 8 12:05:10 2010 +0200

    Fix win32 build with pixman 0.18.0

commit 2a725d3b42b2b7f5beab72f080bacb38e710d828
Author: Izik Eidus <ieidus at redhat.com>
Date:   Mon Apr 12 11:57:34 2010 +0300

    fix 16bpp support on cairo_canvas
    
    Signed-off-by: Izik Eidus <ieidus at redhat.com>

commit 347f9598dc4ca73c3af52d169712aa405fbbab6b
Author: Alexander Larsson <alexl at redhat.com>
Date:   Mon Apr 12 10:29:42 2010 +0200

    Always tread depth 24 (i.e. non alpha) as depth 32 when blitting
    
    When blitting we don't really care about alpha mismatches, we just copy bits
    anyway.

commit 7977a00187f98fa0a28aaeb87306d8fd118b9db7
Author: Izik Eidus <ieidus at redhat.com>
Date:   Fri Apr 9 05:06:32 2010 +0300

    spice: win32 client: fix gdi locking
    
    While the fix could have been more effective,
    it seems like this patch stream better with the coding
    logic that was there..., maybe later we will want to change
    the locking into more effective way.
    
    (There is just the primary surface to protect in reiality)
    
    Signed-off-by: Izik Eidus <ieidus at redhat.com>

commit badb8b3bc0a09955c4022405f19562aea0c30d16
Author: Alexander Larsson <alexl at redhat.com>
Date:   Thu Apr 8 17:09:32 2010 +0200

    Initialize _kill_mark so we don't get spurious valgrind warnings

commit 9c54b0c0b6f0fe96d171c844c41e5046496269c3
Author: Alexander Larsson <alexl at redhat.com>
Date:   Wed Mar 31 15:27:08 2010 +0200

    Remove non-used lookup3.[ch]

commit 4ee6e1ac887ec4ec50dfdf5c0c7fecad394a1b15
Author: Izik Eidus <ieidus at redhat.com>
Date:   Mon Apr 5 22:57:37 2010 +0300

    spice: common: gdi_canvas fix gdi objects leak
    
    BitmapMask was used by the draw_text function as well
    therefore we need to mark from_surface = 0 if we want
    it to release the boject...
    
    (Was evil, took me few hours to understand from where
     the leak come...)
    
    Signed-off-by: Izik Eidus <ieidus at redhat.com>

commit 519e8dcd55122f01659d8c5b323af37d13186da4
Author: Izik Eidus <ieidus at redhat.com>
Date:   Sat Apr 3 05:35:31 2010 +0300

    libspice: add off screens support
    
    Signed-off-by: Izik Eidus <ieidus at redhat.com>

commit 184c8cbe54a14d14031e92263b0b974fda4e1495
Author: Alexander Larsson <alexl at redhat.com>
Date:   Wed Mar 24 17:02:20 2010 +0100

    Add spice_strndup
    
    Also, make str(n)dup handle NULL correctly

commit 3e6a25dc7cb9538a5db3f90d0cd853c5379282b8
Author: Alexander Larsson <alexl at redhat.com>
Date:   Thu Mar 18 08:57:42 2010 +0100

    Fix uninitilized memory read in stroke_fill_spans()
    
    y2 was not initialized

commit b83f707c7a39489adaa834beb03f3e1aa6d33c1d
Author: Alexander Larsson <alexl at redhat.com>
Date:   Wed Mar 17 20:08:59 2010 +0100

    Use nearest scaling for DRAW_ALPHA_BLEND since this is what win32 needs
    
    DrvAlphaBlend is the only current user of DRAW_ALPHA_BLEND, and its
    defined to do nearest (COLORONCOLOR) scaling, not bilinear.

commit 6b599f41479727bf809cb7de69219929f0ed406f
Author: Alexander Larsson <alexl at redhat.com>
Date:   Wed Mar 17 10:06:40 2010 +0100

    Fix up empty region checks in canvas operations
    
    We rely on not passing on empty rects to the drawing operations by
    checking for empty regions and exiting early. However the checks
    were wrongly using pixman_region32_n_rects(region) == 0, whereas
    we should be using pixman_region32_not_empty().

commit 021f0514e4e4ab55cab1f90c4d02d8639cd57edf
Author: Alexander Larsson <alexl at redhat.com>
Date:   Wed Mar 10 21:11:46 2010 +0100

    Use the spice allocator in common/

commit c22788cd26291b43453566e3fd22befa8cc13c34
Author: Alexander Larsson <alexl at redhat.com>
Date:   Tue Mar 9 12:23:49 2010 +0100

    New memory allocators that exit on OOM and handle multiplication overflow
    
    Every place that does a regular malloc/calloc and aborts on failure
    should use spice_malloc/spice_mallo0 instead, which is leaner and cleaner.
    
    Allocations of dynamically sized arrays can use g_malloc_n or g_new etc
    which correctly handle multiplication overflow if some of the arguments
    are not trusted.

commit 2fd0eebd69d517716655339f269b93e9da4f3795
Author: Alexander Larsson <alexl at redhat.com>
Date:   Wed Mar 10 21:26:13 2010 +0100

    Define GL_GLEXT_PROTOTYPES in CFLAGS not in random places in the source

commit 6385dc082c332a5dbcedabe6879a5f4ad7b0e30b
Author: Alexander Larsson <alexl at redhat.com>
Date:   Tue Mar 9 16:01:12 2010 +0100

    Update gdi canvas wrt latest changes
    
    ALIGN -> SPICE_ALIGN

commit 3fbcfc11852cb1260f6bb4872f5af79251c69de5
Author: Alexander Larsson <alexl at redhat.com>
Date:   Tue Mar 9 11:10:00 2010 +0100

    Use macros from <spice/macros.h> rather than duplicate them

commit fe0e853cb737a11fd10e3f193aa8a11dd03fa647
Author: Alexander Larsson <alexl at redhat.com>
Date:   Mon Mar 8 17:49:18 2010 +0100

    Move draw_rop3 to canvas_base

commit 6522564e0ddfbffa86e87ae315fe7a1b89f10ead
Author: Alexander Larsson <alexl at redhat.com>
Date:   Mon Mar 8 17:29:59 2010 +0100

    Move canvas_draw_stroke to canvas_base

commit 82a7c42a86e95701e101da0d0dfb0bbbbfc5d3fe
Author: Alexander Larsson <alexl at redhat.com>
Date:   Thu Mar 4 14:23:08 2010 +0100

    Move most of the shared draw_xyz() methods from CairoCanvas to CanvasBase
    
    This adds a set of virtual methods for low-level operations. A subclass
    can choose to implement those and let the default CanvasBase implementations
    handle the highlevel stuff.

commit afc7618b6aea70af40582ccfa234e022e87bf643
Author: Alexander Larsson <alexl at redhat.com>
Date:   Wed Mar 3 16:43:36 2010 +0100

    Move canvas_region and group_start/end to canvas_base

commit 5fe1ef371cccfa054a7139f767d25ecad2a53645
Author: Alexander Larsson <alexl at redhat.com>
Date:   Wed Mar 3 15:08:58 2010 +0100

    Move virtualization of canvas drawing into common/canvas_base
    
    Instead of having two virtualizations of the canvas we push the
    virtualization into the canvas code itself. This not only avoids
    the duplication of this code, it also makes the exposed API for the
    canvas much smaller (in terms of exported API).
    
    It also lets us use the virtualization to implement basic support
    for operations in canvas_base which is then overridden by each canvas
    implementation.

commit c0012a91ce101960ff2b424e0f517ecfca4880e9
Author: Alexander Larsson <alexl at redhat.com>
Date:   Tue Mar 2 16:25:22 2010 +0100

    Make virt mapping an interface

commit 4a0cb7998282c14d5fa9814a8a6da4973b6cb85f
Author: Alexander Larsson <alexl at redhat.com>
Date:   Tue Mar 2 15:51:12 2010 +0100

    Make glz_decoder non-optional canvas_base in canvas constructors
    
    It can still be NULL, but we simplify the headers by always including it.
    There is no practical performance difference here.

commit ccbd520e4afa333b47acab7aa0b6dd44e4c30621
Author: Alexander Larsson <alexl at redhat.com>
Date:   Tue Mar 2 15:41:08 2010 +0100

    Make canvas Glz decoder integration nicer
    
    We use a dynamic interface similar to e.g. SpiceImageCache instead
    of passing both function and opaque

commit acd62624805b7bddd8b022c9c630a5cb8695f780
Author: Alexander Larsson <alexl at redhat.com>
Date:   Mon Mar 8 19:41:34 2010 +0100

    Fix colorkeying in pixman_utils.c
    
    We were masking out the alpha bit in the key color not int
    the source pixel, so colorkeying didn't work when the high byte
    was != 0. For instance in the shutdown dialog in XP.

commit 1f08b3866f5a43fa92e330cdfdd5eaf027c9b350
Author: Larsson at .(none) <Larsson at .(none)>
Date:   Fri Feb 26 08:58:07 2010 +0100

    Make gdi canvas build in the new pixman world

commit 1afe879741085909a90b0d5f55a89d921694fc50
Author: Larsson at .(none) <Larsson at .(none)>
Date:   Fri Feb 26 08:56:15 2010 +0100

    Always include spice/types.h before pixman so standard int types exist

commit 9344743555533e51657ac8528abd4afbe82b7e2d
Author: Larsson at .(none) <Larsson at .(none)>
Date:   Fri Feb 26 08:55:36 2010 +0100

    Fix warnings from visual studio compiler

commit 15f932d3ff4e86286b8ebea63ed8540eba21e5c9
Author: Larsson at .(none) <Larsson at .(none)>
Date:   Fri Feb 26 08:52:38 2010 +0100

    Have only one copy of ROUND macro and cast to int explicitly

commit 026463bd1cb772c23a9f9670b9c6df688ceac73f
Author: Alexander Larsson <alexl at redhat.com>
Date:   Thu Feb 18 20:44:28 2010 +0100

    Remove last cairo use from canvas_base

commit dada46a54ab4f48308c5ce9f532f94cecb39ec18
Author: Alexander Larsson <alexl at redhat.com>
Date:   Thu Feb 18 20:42:58 2010 +0100

    Remove cairo_t from cairo canvas

commit 79e407f5584128da230ddbc185285158dece1cb9
Author: Alexander Larsson <alexl at redhat.com>
Date:   Thu Feb 18 19:04:35 2010 +0100

    Covert cairo canvas put_image() to pixman

commit 46d18ce68071f2389c8e97747e22d85338d2b543
Author: Alexander Larsson <alexl at redhat.com>
Date:   Wed Feb 17 21:33:23 2010 +0100

    Replace custom region implementation with pixman_region32_t
    
    pixman_region32_t is an efficient well tested region implementation (its
    the one used in X) that we already depend on via pixman and use in
    some places. No need to have a custom region implementation.

commit 1fcda9f28a89f812a3985aa4c5a2e3e26a75e9b5
Author: Alexander Larsson <alexl at redhat.com>
Date:   Wed Feb 17 16:11:18 2010 +0100

    Convert cairo canvas clear() to pixman

commit d07c401de407eeac40397cd22ad49fb5bd0d3a49
Author: Alexander Larsson <alexl at redhat.com>
Date:   Wed Feb 17 16:09:27 2010 +0100

    Convert cairo canvas group_start/end to pixman

commit 69fc5f57a7735364fb323aafa685faaf805bcf7b
Author: Alexander Larsson <alexl at redhat.com>
Date:   Wed Feb 17 16:09:06 2010 +0100

    Convert cairo canvas read_bits() to pixman

commit b8d6bbca845dd16a139c75d1d82a995051480b52
Author: Alexander Larsson <alexl at redhat.com>
Date:   Tue Feb 23 12:02:29 2010 +0100

    Remove unused cairo helper functions

commit b02c4d8dbfdf62b4deef848c2533af6c7cdd726b
Author: Alexander Larsson <alexl at redhat.com>
Date:   Wed Feb 17 15:51:29 2010 +0100

    Convert cairo canvas to use pixman for draw_stroke

commit 28976efefb8c959234a926ab0335b86a02f65e9b
Author: Alexander Larsson <alexl at redhat.com>
Date:   Mon Feb 15 11:42:26 2010 +0100

    Convert cairo canvas draw_transparent to use pixman

commit f84c5f361eca28323a79be713100decf86a1fc44
Author: Alexander Larsson <alexl at redhat.com>
Date:   Fri Feb 12 17:02:23 2010 +0100

    Convert cairo canvas draw_rop3 to using pixman

commit dc047d0d067b0f26e3dc0b75b5ab1de2d91b3037
Author: Alexander Larsson <alexl at redhat.com>
Date:   Fri Feb 12 16:22:01 2010 +0100

    Convert draw_blackness/whiteness/invers to using pixman

commit 6d5ed0eb6f774d8c46922c2d88ec00cc30f5cc5d
Author: Alexander Larsson <alexl at redhat.com>
Date:   Thu Feb 11 17:25:12 2010 +0100

    Convert cairo canvas alpha_blend to using pixman

commit 7512c3951f2df1445743e0ab8811d9871b392e5d
Author: Alexander Larsson <alexl at redhat.com>
Date:   Thu Feb 11 16:43:08 2010 +0100

    Convert cairo canvas draw_text to using pixman

commit 4d78427363de8e86b4ba2162b6d865639021dda5
Author: Alexander Larsson <alexl at redhat.com>
Date:   Wed Feb 10 14:00:42 2010 +0100

    Convert cairo canvas copy bits to pixman

commit 800cfdd4b89ce35539c7771a109e069787d3acd9
Author: Alexander Larsson <alexl at redhat.com>
Date:   Wed Feb 10 12:09:52 2010 +0100

    Convert cairo canvas draw_copy() to using pixman
    
    This is just identical to draw_blend().

commit 32970dd0ef4ec84b10ce968841c1ad893581e84d
Author: Alexander Larsson <alexl at redhat.com>
Date:   Wed Feb 10 11:22:19 2010 +0100

    Convert cairo canvas draw_blend() to using pixman

commit 2284af62c3b195d0888575e7ace569ded9765a43
Author: Alexander Larsson <alexl at redhat.com>
Date:   Tue Feb 9 20:33:04 2010 +0100

    Convert cairo canvas draw_opaque() to using pixman

commit 70475ea40969d6e8e84f593d05d0a2b099955ed0
Author: Alexander Larsson <alexl at redhat.com>
Date:   Tue Feb 9 17:08:18 2010 +0100

    Convert cairo canvas draw_fill() to using pixman

commit 93ae409c524f28fd8bb087647e01041f1eff472c
Author: Alexander Larsson <alexl at redhat.com>
Date:   Tue Feb 9 17:02:36 2010 +0100

    Add possibility to not invert bitmask in canvas_get_mask()
    
    This allows the pixman implementation to instead invert the (generally
    smaller) region instead of duplicating the bitmap to invert it.

commit 44de7fcff44ea7457a9abd8bce85a05bb9c33965
Author: Alexander Larsson <alexl at redhat.com>
Date:   Tue Feb 9 16:39:35 2010 +0100

    Use pixman_image_t instead of cairo_surface_t as the generic pixman container
    
    This allows us to use the simpler dependency of pixman outside of the
    cairo backend, and it later lets us move the cairo backend to using
    pixman only.

commit 1d3ac0b931ab8b207af367d39e2a1b35aa390a83
Author: Alexander Larsson <alexl at redhat.com>
Date:   Mon Feb 8 15:38:24 2010 +0100

    Turn image and palette cache into c style dynamic interface
    
    Instead of passing a bunch of function pointer and an opaque
    pointer we make a real type and add a vtable pointer to it.
    This means we can simplify all the canvas constructors, etc.

commit 451d9e3816165c4333af56f85df01034976639f0
Author: Alexander Larsson <alexl at redhat.com>
Date:   Mon Feb 8 12:14:45 2010 +0100

    Add pixman_image_t referencing the cairo_canvas bits
    
    This references the same data as the cairo surface and can be used
    for drawing to the surface using direct pixman calls instead.

commit 9ae009094546279270b92ef4a9cc05140a045509
Author: Alexander Larsson <alexl at redhat.com>
Date:   Wed Feb 17 15:50:44 2010 +0100

    Add line rasterizer

commit 876bc2daaf8e63090d83954015ff273bff0e5e38
Author: Alexander Larsson <alexl at redhat.com>
Date:   Mon Feb 8 11:48:12 2010 +0100

    Add pixman utilities
    
    This includes:
     * pixman region from SpiceRects
     * rop2 enum
     * solid fill
     * solid fill with rop
     * tiled fill
     * tiled fill with rop
     * blit
     * blit with rop
     * copy rect

commit f479fdf9237657a4c00d251cdf8047866371b88f
Author: Alexander Larsson <alexl at redhat.com>
Date:   Mon Feb 8 11:54:02 2010 +0100

    Add emacs settings for indent according to spice styleguide

commit 6da4b789754436a7283f8a761e48649386d3a75d
Author: Alexander Larsson <alexl at redhat.com>
Date:   Thu Feb 4 18:46:22 2010 +0100

    Use standard int types and <spice/types.h>

commit 0e7183b35d430a465d5419683be37d6750ba64a8
Author: Alexander Larsson <alexl at redhat.com>
Date:   Thu Feb 4 18:13:02 2010 +0100

    Use the new header names
    
    I just ran:
     find -name "*.[ch]" | xargs sed -i -f ../spice-protocol/includes.sed
     find -name "*.cpp" | xargs sed -i -f ../spice-protocol/includes.sed

commit b950678653d615be9d81d068e195fb3f7ab3a2a8
Author: Alexander Larsson <alexl at redhat.com>
Date:   Thu Feb 4 18:04:26 2010 +0100

    Rename symbols that were changed in spice-protocol
    
    This is an automatic change using:
    $ find -name "*.[ch]" | xargs ../spice-protocol/rename-identifiers.sh ../spice-protocol/renames
    $ find -name "*.cpp" | xargs ../spice-protocol/rename-identifiers.sh ../spice-protocol/renames

commit fc9394c158f6ca9e2e0adecfbe313f76e1aded09
Author: Alexander Larsson <alexl at redhat.com>
Date:   Thu Feb 4 17:56:42 2010 +0100

    Remove headers that were moved to spice-protocol

commit cb62b90ab2ba51d394436b43467dde0d0c9fa626
Author: Izik Eidus <ieidus at redhat.com>
Date:   Thu Jan 28 04:44:43 2010 +0200

    libspice: add surface 0 support
    
    This include alot of infestracture for off screens.
    
    Signed-off-by: Izik Eidus <ieidus at redhat.com>

commit 1a1584ec4a853d7097c766336635c2d1c1c4312e
Author: Yaniv Kamay <ykamay at redhat.com>
Date:   Sun Jan 10 13:37:05 2010 +0200

    client: change rerror code to be positive

commit 71fe1e4c07c657ee691f2119c10da79e487d5721
Author: Yaniv Kamay <ykamay at redhat.com>
Date:   Mon Jan 11 19:57:29 2010 +0200

    client: add Platform::term_printf
    
    Platform::term_printf is a variant of printf that
    on windows dynamically opens console in order to
    have visible output during command line processing.

commit 89d886bdcbbe2f59cd9b0f4cadfdbd164eb6e57e
Author: Yonit Halperin <yhalperi at redhat.com>
Date:   Sun Jan 10 09:48:38 2010 +0200

    server,client: server authentication for secured channels.
    
    3 available mechanisms:  by public key, by host name, and by certificate subject name.
    In the former method, chain of trust verification is not performed.
    The CA certificate files are looked for under <spice-config-dir>/spice_truststore.pem
    
    windows <spice-config-dir>=%APPDATA%\spicec\
    linux <spice-config-dir>=$HOME/.spicec/

commit eea1f803e0d5f1ae50a306f7b935feb2b7827050
Author: Izik Eidus <ieidus at redhat.com>
Date:   Wed Dec 23 17:43:12 2009 +0200

    spice client: fix wrong gdi-canvas handling of blend_alpha
    
    Signed-off-by: Izik Eidus <ieidus at redhat.com>

commit 777f7ad80623e31d1c6318acb06e45b4610c3278
Author: Izik Eidus <ieidus at redhat.com>
Date:   Sat Nov 21 22:42:38 2009 +0200

    spice: server: add memslots support.
    
    Signed-off-by: Izik Eidus <ieidus at redhat.com>

commit 96a8c8dc833f5f63964c0db43e627d447e04d42f
Author: Yaniv Kamay <ykamay at redhat.com>
Date:   Mon Oct 26 23:30:41 2009 +0200

    fix build on Debian

commit 677c3f5f999bca2f4011bb129178ae960c05e495
Author: Yonit Halperin <yhalperi at redhat.com>
Date:   Fri Oct 16 00:21:43 2009 +0200

    tunnel

commit 22d404775200dc3f1128234ad44dcfc7990e3163
Author: Yaniv Kamay <ykamay at redhat.com>
Date:   Sat Sep 19 21:25:46 2009 +0300

    fresh start



More information about the Spice-commits mailing list