summaryrefslogtreecommitdiffstats
path: root/client
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* 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-0310-104/+439
| | | | Signed-off-by: Izik Eidus <ieidus@redhat.com>
* spice server: surface create/destroy protocol supportIzik Eidus2010-04-033-42/+115
| | | | | | | | | | | 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>
* spice: client: fix handling of top down images in video streamsAlon Levy2010-03-241-9/+5
| | | | Top down streams arrive from x11-qxl driver.
* 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.
* client: add command line support for ciphers, ca file, and host certificate ↵Yonit Halperin2010-03-187-10/+116
| | | | subject
* Explicitly depend on various X libraries, and -pthreadSøren Sandmann Pedersen2010-03-111-1/+5
| | | | | | | | In Fedora 13, the linker doesn't pull in DT_NEEDED libraries anymore, so we have to list the things that we depend on explicitly. This affects several X extension libraries, and also the pthread library.
* New memory allocators that exit on OOM and handle multiplication overflowAlexander Larsson2010-03-114-0/+30
| | | | | | | | | 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.
* Define __STDC_LIMIT_MACROS for c++ code to get SIZE_MAXAlexander Larsson2010-03-101-0/+1
| | | | | We need SIZE_MAX for the malloc overflow code, and its not defined in C++ unless __STDC_LIMIT_MACROS is defined.
* Define GL_GLEXT_PROTOTYPES in CFLAGS not in random places in the sourceAlexander Larsson2010-03-107-9/+0
|
* Use macros from <spice/macros.h> rather than duplicate themAlexander Larsson2010-03-096-21/+16
|
* Move canvas_region and group_start/end to canvas_baseAlexander Larsson2010-03-081-1/+1
|
* Move virtualization of canvas drawing into common/canvas_baseAlexander Larsson2010-03-088-375/+68
| | | | | | | | | | | 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 canvas Glz decoder integration nicerAlexander Larsson2010-03-087-16/+21
| | | | | We use a dynamic interface similar to e.g. SpiceImageCache instead of passing both function and opaque
* Fix up win32 build reference to pixman_utils.cppAlexander Larsson2010-03-051-1/+1
| | | | It was pointing to the wrong directory for pixman_utils.cpp
* Only use AI_ADDRCONF if availibleAlexander Larsson2010-03-031-1/+4
| | | | AI_ADDRCONF not availible on winXP, so this fixes windows build.
* Update visual studio project for pixman changesLarsson@.(none)2010-03-011-4/+12
|
* Make gdi canvas build in the new pixman worldLarsson@.(none)2010-03-011-3/+12
|
* spice client: add ipv6 support.Gerd Hoffmann2010-02-272-53/+41
| | | | Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
* spice client: fix dns lookupGerd Hoffmann2010-02-271-3/+9
| | | | | | ignore lookup results which are not ipv4 Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
* Remove qcairo dependency, only use pixmanAlexander Larsson2010-02-233-4/+2
|
* Remove cairo use in clientAlexander Larsson2010-02-234-118/+149
|
* Remove no longer needed CAIRO_CANVAS_CACH_IS_SHARED define and codeAlexander Larsson2010-02-233-11/+2
|
* Remove cairo_t from cairo canvasAlexander Larsson2010-02-231-15/+8
|
* Replace custom region implementation with pixman_region32_tAlexander Larsson2010-02-239-35/+135
| | | | | | 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-15/+15
| | | | | | 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-235-51/+73
| | | | | | 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 optional templated base class to Cache and SharedCacheAlexander Larsson2010-02-233-4/+7
| | | | We want this for integration with C-style classes.
* Add line rasterizerAlexander Larsson2010-02-233-0/+26
|
* Add pixman utilitiesAlexander Larsson2010-02-233-0/+27
| | | | | | | | | | | | | 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
* Fix delete vs delete[] mismatchesAlexander Larsson2010-02-102-3/+3
| | | | This fixes a bunch of valgrind warnings.
* Use standard int types and <spice/types.h>Alexander Larsson2010-02-042-19/+2
|
* Revert automatic renames that were wrongAlexander Larsson2010-02-047-29/+29
| | | | Seems my rename script didn't handle C++ namespaces that well.
* Use the new header namesAlexander Larsson2010-02-0414-15/+15
| | | | | | 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-0457-1105/+1105
| | | | | | 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.
* Filter out XIM X eventsAlexander Larsson2010-02-041-0/+4
| | | | | | XIM ClientMessage events to an XIM internal window was triggering the check for a window message procs. We need to properly filter events with XFilterEvent to avoid this happening.
* client: add Platform::term_printfYaniv Kamay2010-01-117-72/+133
| | | | | | Platform::term_printf is a variant of printf that on windows dynamically opens console in order to have visible output during command line processing.
* client: fix logger init mix-upYaniv Kamay2010-01-112-4/+10
|
* client: move log file to spicec appdata dirYaniv Kamay2010-01-114-18/+36
|
* server,client: server authentication for secured channels.Yonit Halperin2010-01-1111-41/+517
| | | | | | | | | 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/
* spice: menu additonsArnon Gilboa2010-01-073-18/+68
| | | | | | -functions: set_name, remove_command, remove_sub, clear -item state & enum -add state support in RedWindow insert_command & insert_menu
* spice: add missing breakArnon Gilboa2010-01-061-0/+1
|
* client: use spice icon instead-of solidice iconYaniv Kamay2010-01-045-188/+273
|
* spice: position mouse in primary monitor center after full screen toggleArnon Gilboa2009-12-3010-74/+120
| | | | | | | -move _focused & _pointer_in_window from RedWindow to RedWindow_p's -move shadow focus & cursor handling to sync() -add reset_cursor_pos() to Platform -Monitor set_mode()/restore() use virtual do_set_mode()/do_restore()
* spice: on_activate_screen generates on_key_down for any modifier pressedArnon Gilboa2009-12-305-48/+66
| | | | | | -call SetWindowsHookEx(WH_KEYBOARD_LL, LowLevelKeyboardProc...) only once, in RedWindow::init() -add Application::cleanup_globals() & RedWindow::cleanup() -cleanup LowLevelKeyboardProc()
* client: let PreLoginDialog save and restore LoginDialogYaniv Kamay2009-12-282-4/+25
|
* client: remove splash imageYaniv Kamay2009-12-288-51225/+1
|