summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Relicense everything from GPL to LGPL 2.1+Alexander Larsson2010-04-13206-2121/+2299
|
* Fix A1 handling in RedDrawable combine_pixels.Alexander Larsson2010-04-131-23/+18
| | | | | The previous code was just busted, as apparent on e.g. the cursor in MS Paint.
* Use upstream name for pthreads lib and new freetype versionAlexander Larsson2010-04-121-2/+2
|
* Fixed vs2008 warningAlexander Larsson2010-04-121-1/+1
|
* Fix win32 build with pixman 0.18.0Alexander Larsson2010-04-122-2/+2
|
* Use fast DCT method for better jpeg compression performanceAlexander Larsson2010-04-121-0/+1
|
* spice server: fix validate_chunkIzik Eidus2010-04-121-0/+1
| | | | Signed-off-by: Izik Eidus <ieidus@redhat.com>
* fix 16bpp support on cairo_canvasIzik Eidus2010-04-121-3/+30
| | | | Signed-off-by: Izik Eidus <ieidus@redhat.com>
* Always tread depth 24 (i.e. non alpha) as depth 32 when blittingAlexander Larsson2010-04-121-8/+22
| | | | | When blitting we don't really care about alpha mismatches, we just copy bits anyway.
* take the right lock when freeing glz stuff of surfacesIzik Eidus2010-04-091-2/+2
| | | | | | this was noticed by Yonit. Signed-off-by: Izik Eidus <ieidus@redhat.com>
* Split out the memslot stuff from red_worker.c to its own filesAlexander Larsson2010-04-094-289/+405
| | | | | This is required so that we can have code in other files that does address validation.
* server: fix race condition in lz global dictionary, in its image segments listYonit Halperin2010-04-091-21/+34
|
* spice: win32 client: fix gdi lockingIzik Eidus2010-04-097-60/+125
| | | | | | | | | | | 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@redhat.com>
* Remove leftover AutoVStreamInit classAlexander Larsson2010-04-081-10/+0
|
* Initialize _kill_mark so we don't get spurious valgrind warningsAlexander Larsson2010-04-0810-389/+358
|
* Free the jpeg decoder with the streamAlexander Larsson2010-04-081-0/+1
|
* Use libjpeg to decode mjpegs, not ffmpegAlexander Larsson2010-04-087-163/+367
| | | | | | | | | | | | | | | | | | This is pretty straightforward, although there are two weird issues. The current encoder has two bugs in the yuv conversion. First of all it switches red and blue, due to something of an endianness issue. We keep this behavior by switching red and blue. Maybe we want to change this in the new protocol version since switching this may cause jpeg compression to be worse. Secondly, the old coder/decoder did rgb to/from yuv420 wrongly for jpeg, not using the "full scale" version of Y that is used in jpeg, but the other one where y goes from 16 to 235. (See jpeg/jfif reference on http://en.wikipedia.org/wiki/YCbCr for details.) The new decoder uses the full range in order to get better quality, which means old encoders will show slightly darker images. This completely removes all ffmpeg usage in the client
* Update project file to visual studio 2008Alexander Larsson2010-04-082-9/+8
|
* spice server: fix not sent depth size for surfacesIzik Eidus2010-04-081-0/+1
| | | | Signed-off-by: Izik Eidus <ieidus@redhat.com>
* Remove non-used lookup3.[ch]Alexander Larsson2010-04-073-798/+0
|
* server configuration: make network redirection support optionalYonit Halperin2010-04-063-7/+33
| | | | | By default it is disabled. To enable: configure --enable-tunnel. When active, requires libslirp.
* client: handling SPICE_MSG_MAIN_MIGRATE_SWITCH_HOSTYonit Halperin2010-04-064-4/+98
| | | | disconnecting from the current host and connecting to the target host.
* client: fix unsafe access to an event memberYonit Halperin2010-04-061-4/+1
|
* spice server: try to be less brutal when changing res or when flushing the treeIzik Eidus2010-04-061-0/+5
| | | | | | | | | | | | The idea is that we can try to defer some stuff to be later send in the pipe if the pipe is not fulled yet, moreover we will then walk on the pipe using: red_clear_surface_drawables_from_pipe() and will try to remove the uneeded objects of this surface Still some room to improvment but later... Signed-off-by: Izik Eidus <ieidus@redhat.com>
* spice server: remove surface_id and surfaces_dest[3] from guest memIzik Eidus2010-04-061-74/+68
| | | | | | | | | Validate the surface_ids just once and keep them in safe memory area Make things simpler Signed-off-by: Izik Eidus <ieidus@redhat.com>
* spice: common: gdi_canvas fix gdi objects leakIzik Eidus2010-04-051-0/+1
| | | | | | | | | | | 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@redhat.com>
* spice-server: when destroying a surface don`t send uneeded itemsIzik Eidus2010-04-051-1/+43
| | | | | | | Just skip the items of destroyed surface that are found in the pipe before we skip them, we check if they are needed by other users... Signed-off-by: Izik Eidus <ieidus@redhat.com>
* spice-server: remove glz objects related to surface when destroying a surfaceIzik Eidus2010-04-051-2/+32
| | | | | | | make the surface released faster in the release ring as well as clean unneeded reference into the glz Signed-off-by: Izik Eidus <ieidus@redhat.com>
* spice: reds: fix uninitlized pointerIzik Eidus2010-04-051-1/+1
| | | | Signed-off-by: Izik Eidus <ieidus@redhat.com>
* client: x11: fix a crash caused by a call to a destroyed window.Yonit Halperin2010-04-032-4/+10
| | | | | Happens when a focused window is destroyed without a focus out event, and a focus-in event occurs on another window.
* libspice: add off screens supportIzik Eidus2010-04-0322-648/+2129
| | | | Signed-off-by: Izik Eidus <ieidus@redhat.com>
* spice server: surface create/destroy protocol supportIzik Eidus2010-04-034-99/+282
| | | | | | | | | | | Now we can send commands from the server to the client to destroy surfaces (right now just the primary surface) Needed for offscreens support) Another patch`s on the way. Signed-off-by: Izik Eidus <ieidus@redhat.com>
* Rename .so spice-server.soAlexander Larsson2010-03-242-8/+8
| | | | | | | Also change include dir to "spice-server" for consistency. libspice.so conflicted with the tclspice package, and its also a clarification for when we create a spice client library.
* Add spice_strndupAlexander Larsson2010-03-242-0/+19
| | | | Also, make str(n)dup handle NULL correctly
* Get rid of more out-of-memory checksAlexander Larsson2010-03-241-47/+9
| | | | We already check this in spice_malloc now
* spice: server: Being more permissive in video identificationYonit Halperin2010-03-241-17/+29
| | | | | | In 'filter' video streaming mode, use a more permissive threshold for distinguishing 'realistic' streams from 'textaul'/'artificial' streams. The previous threshold classified streams that were scaled on the guest as artificial and thus they were not recoginized as videos.
* spice: client: fix handling of top down images in video streamsAlon Levy2010-03-241-9/+5
| | | | Top down streams arrive from x11-qxl driver.
* spice: server: avoid video streaming of small imagesYonit Halperin2010-03-241-0/+12
| | | | | | I added a lower limit to the size of images that are being streamed. The limit is only active in "filter" video streaming mode. This will prevent blurry animated icons.
* rename spice.pc to spice-server.pcAlexander Larsson2010-03-243-3/+3
|
* configure.ac: client: replace $(top_srcdir) in x11/Makefile.am (subdir config)Alexander Larsson2010-03-241-89/+92
| | | | | | | | Replace all "$(top_srcdir)/common" with "$(SPICE_COMMON_DIR)" and all "$(top_srcdir)/client" with custom "$(CLIENTDIR)" This would (after following patches) enables building the client from either spice/ (top directory) or spice/client.
* configure.ac: define SPICE_COMMON_SRCDIR, to be used by Makefile.am (subdir ↵Uri Lublin2010-03-241-2/+5
| | | | | | | | config) Note that SPICE_COMMON_SRCDIR may be overwritten by configure.ac.shared Signed-off-by: Uri Lublin <uril@redhat.com>
* autogen: exit upon errors (subdir config)Uri Lublin2010-03-241-0/+2
| | | | Signed-off-by: Uri Lublin <uril@redhat.com>
* autogen: add possibly missing AUTOMAKE definition (subdir config)Uri Lublin2010-03-241-0/+1
| | | | Signed-off-by: Uri Lublin <uril@redhat.com>
* autogen: remove copied code - srcdir and ORIGDIR (subdir config)Uri Lublin2010-03-241-7/+1
| | | | Signed-off-by: Uri Lublin <uril@redhat.com>
* Fix uninitilized memory read in stroke_fill_spans()Alexander Larsson2010-03-182-2/+10
| | | | y2 was not initialized
* new libspice api: spice_server_add_get_{sock, peer}_info()Gerd Hoffmann2010-03-182-0/+28
|
* new libspice api: spice_server_add_renderer()Gerd Hoffmann2010-03-182-1/+16
|
* client: add command line support for ciphers, ca file, and host certificate ↵Yonit Halperin2010-03-187-10/+116
| | | | subject
* Default opt flags to -O2Alexander Larsson2010-03-171-2/+2
| | | | | | | | | gcc -O3 has some code generation failures due to a combination of unaligned (packed) structs and vectorization that can cause a crash in canvas_localize_palette(). And its just safer to use -O2, which is the standard "trusted" optimization flags.
* Use nearest scaling for DRAW_ALPHA_BLEND since this is what win32 needsAlexander Larsson2010-03-171-1/+1
| | | | | DrvAlphaBlend is the only current user of DRAW_ALPHA_BLEND, and its defined to do nearest (COLORONCOLOR) scaling, not bilinear.