summaryrefslogtreecommitdiffstats
path: root/server/red_common.h
Commit message (Collapse)AuthorAgeFilesLines
* server: move bitmap related to spice-bitmap-utilsMarc-André Lureau2015-11-031-13/+0
| | | | | | | Also remove some unused function parameters from bitmap_get_graduality_level() Acked-by: Jonathon Jongsma <jjongsma@redhat.com>
* server: remove useless includesMarc-André Lureau2015-10-021-2/+1
| | | | Acked-by: Frediano Ziglio <fziglio@redhat.com>
* Remove duplicate streaming enumerationJonathon Jongsma2015-06-151-7/+0
| | | | | | There is already a enumeration in a public header that defines the different streaming options, so there's no need to duplicate that enumeration internally. Just use the public enum values.
* Move SPICE_GNUC_VISIBLE to red_common.hChristophe Fergeau2014-01-201-0/+2
|
* server/red_parse_qxl: add bitmap consistency checkAlon Levy2012-09-031-1/+17
| | | | | | | | | | | Just checks stride vs width times bpp. This fixes a potential abort on guest generated bad images in glz_encoder. Other files touched to move some consts to red_common, they are static so no problem to be defined in both red_worker.c and red_parse_qxl.c .
* server: replace syntax-check reported tabs with spacesAlon Levy2012-09-031-1/+1
|
* Add support for LZ compression of A8 imagesSøren Sandmann Pedersen2012-08-241-1/+1
| | | | | | Graduality is irrelevant for A8 images, so instead of using RGB-ness as a short-cut, add a new macro BITMAP_FMT_HAS_GRADUALITY() that returns true for the existing RGB images, but false for A8.
* server: factor out bitmap_fmt_is_rgbAlon Levy2012-07-221-0/+12
|
* Use the spice-common submoduleMarc-André Lureau2012-03-251-4/+5
| | | | | | | | | | | | | | | | | | This patch will replace the common/ directory with the spice-common project. It is for now a simple project subdirectory shared with spice-gtk, but the goal is to make it a proper library later on. With this change, the spice-server build is broken. The following commits fix the build, and have been seperated to ease the review. v2 - moves all the generated marshallers to spice-common library - don't attempt to fix windows VS build, which should somehow be splitted with spice-common (or built from tarball only to avoid generation tools/libs deps) v3 - uses libspice-common-client - fix a mutex.h inclusion reported by Alon
* Remove trailing blank linesDaniel P. Berrange2012-01-131-1/+0
| | | | Remove any blank lines at the end of all source files
* server/common: introduce common/spice_common.hAlon Levy2011-03-021-45/+1
| | | | | | 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).
* Make all message structs internal to spiceAlexander Larsson2010-06-181-1/+1
| | | | | | | 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.
* Relicense everything from GPL to LGPL 2.1+Alexander Larsson2010-04-131-9/+9
|
* Use spice allocator in server/Alexander Larsson2010-03-111-0/+1
|
* new libspice api: make image_compression_t part of the public api.Gerd Hoffmann2010-03-091-10/+1
|
* Use macros from <spice/macros.h> rather than duplicate themAlexander Larsson2010-03-091-22/+1
|
* Use the new header namesAlexander Larsson2010-02-041-1/+1
| | | | | | 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
* libspice: add surface 0 supportIzik Eidus2010-01-281-0/+5
| | | | | | This include alot of infestracture for off screens. Signed-off-by: Izik Eidus <ieidus@redhat.com>
* spice server: heuristic for distinguishing between "real" videos and textual ↵Yonit Halperin2009-11-301-0/+7
| | | | streams
* spice: server: add memslots support.Izik Eidus2009-11-231-5/+5
| | | | Signed-off-by: Izik Eidus <ieidus@redhat.com>
* fresh startYaniv Kamay2009-10-141-0/+99