summaryrefslogtreecommitdiffstats
path: root/server
Commit message (Collapse)AuthorAgeFilesLines
* Fix uninitilized memory read in stroke_fill_spans()Alexander Larsson2010-03-181-2/+7
| | | | 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
|
* Use spice allocator in server/Alexander Larsson2010-03-119-328/+102
|
* New memory allocators that exit on OOM and handle multiplication overflowAlexander Larsson2010-03-111-0/+1
| | | | | | | | | 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.
* Revert "Fix possible quic_usr_more_lines_unstable() crash"Alexander Larsson2010-03-101-8/+2
| | | | | | This reverts commit 34e6a0a0d539fb49a03ec01bf11be505c88fcaa1. Turns out this wasn't needed and the crash was due to other changes.
* new libspice api: add spice_server_set_mouse_absolute()Gerd Hoffmann2010-03-092-0/+11
|
* new libspice api: add spice_server_set_channel_security()Gerd Hoffmann2010-03-092-0/+17
|
* new libspice api: make spice_channel_name_t part of the public api.Gerd Hoffmann2010-03-092-33/+35
|
* new libspice api: add spice_server_{get, set}_image_compression()Gerd Hoffmann2010-03-092-0/+18
| | | | Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
* new libspice api: make image_compression_t part of the public api.Gerd Hoffmann2010-03-096-56/+61
|
* new libspice api: configure listen addr, add ipv6 supporGerd Hoffmann2010-03-092-39/+74
|
* new libspice api: configure tlsGerd Hoffmann2010-03-092-2/+48
|
* new libspice api: zap function pointer indirection.Gerd Hoffmann2010-03-092-9/+40
| | | | | Make register_*_notifier calls optional, long term they should go away entriely. Add direct library calls as replacement.
* new libspice api: configure port + ticketGerd Hoffmann2010-03-092-0/+54
| | | | | | | | | Add new functions to configure spice port and ticketing. Yes, this is incomplete, it includes just the most important bits to get something up'n'running. These functions are supposed to replace both spice_parse_args() and the monitor interaction via qterm interface.
* new libspice api: alloc, initi and free spice server instances.Gerd Hoffmann2010-03-092-6/+40
| | | | | | The implementation can't handle multiple spice server instances at the same time right now. The API allows this though, so if we fixup the implementation some day we don't have to change the API.
* Fix possible quic_usr_more_lines_unstable() crashGerd Hoffmann2010-03-091-2/+8
| | | | | | | | quic_usr_more_lines_unstable() assumes it can allways copy a complete scanline. Well, it can't. In case the screen rectangle which needs updating has an x-offset greater than zero *and* includes the last scanline of the screen it will overflow the source buffer by x-offset * bytes-per-pixel bytes.
* Use macros from <spice/macros.h> rather than duplicate themAlexander Larsson2010-03-096-109/+87
|
* Move virtualization of canvas drawing into common/canvas_baseAlexander Larsson2010-03-081-204/+80
| | | | | | | | | | | 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.
* Make virt mapping an interfaceAlexander Larsson2010-03-081-11/+18
|
* Make glz_decoder non-optional canvas_base in canvas constructorsAlexander Larsson2010-03-081-2/+2
| | | | | It can still be NULL, but we simplify the headers by always including it. There is no practical performance difference here.
* Remove qcairo dependency, only use pixmanAlexander Larsson2010-02-231-2/+2
|
* Remove cairo_t from cairo canvasAlexander Larsson2010-02-231-22/+12
|
* Replace custom region implementation with pixman_region32_tAlexander Larsson2010-02-231-25/+32
| | | | | | 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.
* Use pixman_image_t instead of cairo_surface_t as the generic pixman containerAlexander Larsson2010-02-231-6/+6
| | | | | | 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.
* Turn image and palette cache into c style dynamic interfaceAlexander Larsson2010-02-231-8/+14
| | | | | | 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.
* Add line rasterizerAlexander Larsson2010-02-231-0/+1
|
* Add pixman utilitiesAlexander Larsson2010-02-231-0/+1
| | | | | | | | | | | | | 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
* Use standard int types and <spice/types.h>Alexander Larsson2010-02-041-16/+16
|
* Use the new header namesAlexander Larsson2010-02-045-8/+8
| | | | | | 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
* Rename symbols that were changed in spice-protocolAlexander Larsson2010-02-0411-843/+843
| | | | | | 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
* Depend on spice-protocol moduleAlexander Larsson2010-02-041-0/+1
| | | | This doesn't actually use the new module, just sets it up for use.
* libspice: add surface 0 supportIzik Eidus2010-01-286-637/+1137
| | | | | | This include alot of infestracture for off screens. Signed-off-by: Izik Eidus <ieidus@redhat.com>
* server,client: server authentication for secured channels.Yonit Halperin2010-01-111-9/+205
| | | | | | | | | 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/
* server: add new vd interface QTerm2InterfaceYaniv Kamay2010-01-062-1/+291
|
* spice: fix server crush in case connecting without qxl deviceIzik Eidus2009-12-241-0/+3
| | | | Signed-off-by: Izik Eidus <ieidus@redhat.com>
* spice: fix ssl compiling errorsIzik Eidus2009-12-221-0/+4
| | | | | | (openssl api was changed, so lets have ifdef to compile in all cases) Signed-off-by: Izik Eidus <ieidus@redhat.com>
* spice: sever: increase client timeoutYaniv Kamay2009-12-211-2/+2
| | | | | | | | Increase client timeout in order to prevent unnecessary disconnecting of client while the connection is over WAN. Tested by changing WinXP resolution (with desktop background) while connecting over WAN (1.5Mbit 150Kbit)
* spice: sever: remove assert on nop copy bitsYaniv Kamay2009-12-211-1/+3
|
* spice server: heuristic for distinguishing between "real" videos and textual ↵Yonit Halperin2009-11-304-25/+160
| | | | streams
* spice: server: add memslots support.Izik Eidus2009-11-236-274/+645
| | | | Signed-off-by: Izik Eidus <ieidus@redhat.com>
* spice server: fix glIzik Eidus2009-11-091-0/+4
| | | | | | red_worker: put invalidate at the right places Signed-off-by: Izik Eidus <ieidus@redhat.com>
* fix build on DebianYaniv Kamay2009-10-263-4/+7
|
* tunnelYonit Halperin2009-10-188-1/+4284
|
* fresh startYaniv Kamay2009-10-1426-0/+18830