Commit Graph

29 Commits

Author SHA1 Message Date
Izik Eidus
6333e034a3 spice: fix ssl compiling errors
(openssl api was changed, so lets have ifdef to compile in all cases)

Signed-off-by: Izik Eidus <ieidus@redhat.com>
2010-01-03 17:47:13 +02:00
Izik Eidus
6b065f80de spice: client: add checks to see if it is safe to use XShem.
Beacuse that XShem internal checks wont fail when using the spice client
from remote, we are adding check on the socket family to see if it is
unix domain socket and fail in case it is not.

Signed-off-by: Izik Eidus <ieidus@redhat.com>
2010-01-03 17:47:04 +02:00
Yaniv Kamay
fe02804983 spice: sever: increase client timeout
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)
2010-01-03 17:46:47 +02:00
Yaniv Kamay
8aa4ea3662 spice: sever: remove assert on nop copy bits 2010-01-03 17:45:32 +02:00
Yonit Halperin
80dddb8d2a spice server: heuristic for distinguishing between "real" videos and textual streams 2010-01-03 17:42:56 +02:00
Yaniv Kamay
173ff6fe0f add missing alt_image.c to Makefile.am 2010-01-03 17:37:50 +02:00
Arnon Gilboa
03f23b870e spice: pass modifiers stroke events down the hook chain 2010-01-03 17:37:33 +02:00
Arnon Gilboa
702b92cdb8 spice: add [pid:tid] to log lines 2010-01-03 17:37:20 +02:00
Arnon Gilboa
18270e0235 spice: on toggle_full_screen, generate on_key_down if shift is still pressed 2010-01-03 17:37:05 +02:00
Arnon Gilboa
ba04ac69c6 spice: show splash screen on disconnect only on debug 2010-01-03 17:36:49 +02:00
Yaniv Kamay
6031cb8276 client: change jitter buffer size to 300ms 2010-01-03 17:36:17 +02:00
Yonit Halperin
0d93ce342c spice client: sticky Alt activation when holding an Alt key
Additional changes that were required for the feature:
    1) focusing on the pointed window in full screen mode
    2) In X11 - handling events that occur during keyboard ungrabbing
    3) In X11 - handling Leave/Enter Notify events that occur during keyboard grabbing/ungrabbing
    4) In X11 - fix for focus events that are handled in the wrong order (happens when
       focus events occur during grabbing the keyboard)
    5) In X11 - ignoring key release events during key holding
    6) In Windows - synchronizing keyboard release events that occured during a modal loop
2010-01-03 17:34:26 +02:00
Izik Eidus
f046cd839d spice: client: gl: fix glx support.
Just move around touch_context and untouch_context to be at the right
places.

Signed-off-by: Izik Eidus <ieidus@redhat.com>
2010-01-03 17:21:41 +02:00
Izik Eidus
95a9bcb917 client: fix colormap handling.
Signed-off-by: Izik Eidus <ieidus@redhat.com>
2010-01-03 17:21:27 +02:00
Yonit Halperin
eb85aae81f spice client: calling the timers during modal loop in Windows 2010-01-03 17:21:06 +02:00
Yonit Halperin
74db5629bd spice client: fixed missing AutoRef 2010-01-03 17:19:59 +02:00
Yonit Halperin
9b12f7ca8c spice client: remove timer interface from platform - use Application (via ProcessLoop interface). 2010-01-03 17:19:35 +02:00
Izik Eidus
da98669691 spice server: fix gl
red_worker: put invalidate at the right places

Signed-off-by: Izik Eidus <ieidus@redhat.com>
2010-01-03 17:19:18 +02:00
Yonit Halperin
71567dabe3 spice client: cosmetic changes 2010-01-03 17:19:03 +02:00
Yonit Halperin
219105794b spice client: Transfer all channels run loop from EventsLoop class to ProcessLoop class 2010-01-03 17:18:37 +02:00
Yonit Halperin
78f8d4b9e8 spice client: creating a general process loop.
The process loop is responsible for: 1) waiting for events 2) timers 3) events queue for
actions that should be performed in the context of the thread and are pushed from other threads.
The benefits:
1) remove duplicity: till now, there was one implementaion of events loop for the channels and
another one for the main thread.
2) timers can be executed on each thread and not only on the main thread.
3) events can be pushed to each thread and not only to the main thread.
In this commit, only the main thread was modified to use the new process loop.
2010-01-03 17:17:06 +02:00
Yaniv Kamay
83efc81f30 move to intermediate version 0.4.1 2009-12-30 21:34:50 +02:00
Yaniv Kamay
a15be0e2c4 change version to 0.4.0 2009-10-27 14:41:31 +02:00
Yaniv Kamay
bac204a1e4 fix bad initialization of XDisplay in case crt have more then one output 2009-10-27 13:34:36 +02:00
Yaniv Kamay
402a201ce6 fix build on Debian 2009-10-27 13:29:39 +02:00
Yaniv Kamay
7498ef3b66 remove ogl canvas option from command line 2009-10-25 15:30:05 +02:00
Izik Eidus
916255044f spice: move create and destroy of the canvas to new place
work around for xlib threaded bugs

Signed-off-by: Izik Eidus <ieidus@redhat.com>
2009-10-25 14:34:04 +02:00
Izik Eidus
85bcce8331 spice xclient: move xsync() to be at the right place.
Signed-off-by: Izik Eidus <ieidus@redhat.com>
2009-10-25 13:52:18 +02:00
Yaniv Kamay
c1b79eb035 fresh start 2009-10-14 15:06:41 +02:00