Commit Graph

65 Commits

Author SHA1 Message Date
Alexander Larsson
a8ffd12e99 Filter out XIM X events
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.
2010-02-04 16:11:38 +01:00
Izik Eidus
2ba69f9f88 libspice: add surface 0 support
This include alot of infestracture for off screens.

Signed-off-by: Izik Eidus <ieidus@redhat.com>
2010-01-28 04:46:29 +02:00
Yaniv Kamay
766c74f63c client: change rerror code to be positive 2010-01-11 19:58:35 +02:00
Yaniv Kamay
8ceb531958 client: add Platform::term_printf
Platform::term_printf is a variant of printf that
on windows dynamically opens console in order to
have visible output during command line processing.
2010-01-11 19:57:29 +02:00
Yaniv Kamay
3c1ff6448d client: fix logger init mix-up 2010-01-11 19:39:54 +02:00
Yaniv Kamay
ad12181027 client: move log file to spicec appdata dir 2010-01-11 19:30:39 +02:00
Yonit Halperin
3eae1c80d9 server,client: server authentication for secured channels.
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/
2010-01-11 19:10:54 +02:00
Arnon Gilboa
dcf326cfd5 spice: menu additons
-functions: set_name, remove_command, remove_sub, clear
-item state & enum
-add state support in RedWindow insert_command & insert_menu
2010-01-07 13:53:41 +02:00
Yaniv Kamay
81945d8971 server: add new vd interface QTerm2Interface 2010-01-06 19:05:36 +02:00
Arnon Gilboa
6dd05455fb spice: add missing break 2010-01-06 17:26:23 +02:00
Yaniv Kamay
c362f8473b client: use spice icon instead-of solidice icon 2010-01-04 21:13:03 +02:00
Arnon Gilboa
d42620a365 spice: PKG_CHECK_MODULES: CEGUI version 2009-12-30 22:17:27 +02:00
Arnon Gilboa
ea9af22e62 spice: position mouse in primary monitor center after full screen toggle
-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()
2009-12-30 22:15:02 +02:00
Arnon Gilboa
02a07b2c06 spice: on_activate_screen generates on_key_down for any modifier pressed
-call SetWindowsHookEx(WH_KEYBOARD_LL, LowLevelKeyboardProc...) only once, in RedWindow::init()
-add Application::cleanup_globals() & RedWindow::cleanup()
-cleanup LowLevelKeyboardProc()
2009-12-30 22:09:25 +02:00
Yaniv Kamay
c57bcf6f44 client: let PreLoginDialog save and restore LoginDialog 2009-12-28 16:44:38 +02:00
Yaniv Kamay
76fc1dd847 client: remove splash image 2009-12-28 12:39:37 +02:00
Yaniv Kamay
68fb440129 client: add GUI infrastructure + functional login dialog 2009-12-28 12:38:58 +02:00
Yaniv Kamay
659be313a4 client: add gui res files 2009-12-28 12:38:03 +02:00
Yaniv Kamay
ce480b0733 client: add soft renderer and cegui 2009-12-28 12:37:01 +02:00
Yaniv Kamay
2dbaf8c00c client: smiplify DisconnectedEvent 2009-12-28 12:36:46 +02:00
Yaniv Kamay
62248734bd client: move visibility change logic from screen to app 2009-12-28 12:36:21 +02:00
Yaniv Kamay
c6435ea02b client: wait for disconnect state in RedClient::connect() 2009-12-28 12:35:54 +02:00
Yaniv Kamay
cced1b1cff client: improve screen resizing
Screen now have to modes locked and unlocked.

In unlocked mode, the application can change screen size and so
reduce resolution changing. The application can also choose to
change window size while not in full screen mode.

In locked mode the application must ewtain locker screen size
setting.
2009-12-28 12:35:32 +02:00
Yaniv Kamay
941ba9bf5c client: restore mouse capture state after screen resizing 2009-12-28 12:35:14 +02:00
Yaniv Kamay
ff2e0dbdb7 use spaces instead of tabs in bitmap_to_c and icon_to_c output 2009-12-28 12:34:45 +02:00
Yaniv Kamay
321d375b5e win client: change avcodec version to 51 2009-12-24 00:45:20 +02:00
Izik Eidus
3e1d328e37 spice: fix server crush in case connecting without qxl device
Signed-off-by: Izik Eidus <ieidus@redhat.com>
2009-12-24 00:26:52 +02:00
Izik Eidus
240723a45d spice client: fix wrong gdi-canvas handling of blend_alpha
Signed-off-by: Izik Eidus <ieidus@redhat.com>
2009-12-23 23:15:07 +02:00
Yaniv Kamay
a0a1a973d8 client: new static title image 2009-12-23 22:29:15 +02:00
Izik Eidus
cb0cd69933 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>
2009-12-22 21:39:17 +02:00
Izik Eidus
e93ef13b8f 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>
2009-12-22 21:34:55 +02:00
Yaniv Kamay
aa1481378f 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)
2009-12-21 19:24:47 +02:00
Yaniv Kamay
31dff987ec spice: sever: remove assert on nop copy bits 2009-12-21 13:28:15 +02:00
Yonit Halperin
00d5bf8b95 spice server: heuristic for distinguishing between "real" videos and textual streams 2009-11-30 18:45:06 +02:00
Yaniv Kamay
6c5966d8ed client: KeyHandler now receive unicode char event in addition to RedKey events 2009-11-30 18:22:13 +02:00
Yaniv Kamay
81241dd825 client: move scan code translation to InputsChannel 2009-11-30 18:15:08 +02:00
Yaniv Kamay
4f2e36f08a remove unuse Application::is_cad_pressed() 2009-11-30 18:10:28 +02:00
Yaniv Kamay
6f4736e08b client: split inputs handler 2009-11-30 18:08:16 +02:00
Yaniv Kamay
3b51087b36 client: interactive screen layer 2009-11-30 18:03:35 +02:00
Izik Eidus
a70110c4e5 spice: server: add memslots support.
Signed-off-by: Izik Eidus <ieidus@redhat.com>
2009-11-23 20:54:11 +02:00
Yaniv Kamay
f20e0d3200 add missing alt_image.c to Makefile.am 2009-11-18 14:03:46 +02:00
Arnon Gilboa
3cabc1c1e7 spice: pass modifiers stroke events down the hook chain 2009-11-18 13:42:48 +02:00
Arnon Gilboa
56eb1acb9e spice: add [pid:tid] to log lines 2009-11-18 13:36:43 +02:00
Arnon Gilboa
8b36ed5460 spice: on toggle_full_screen, generate on_key_down if shift is still pressed 2009-11-18 13:25:06 +02:00
Arnon Gilboa
6ff080c0f8 spice: show splash screen on disconnect only on debug 2009-11-17 16:00:25 +02:00
Yaniv Kamay
c7346dd0cb client: change jitter buffer size to 300ms 2009-11-16 00:04:03 +02:00
Yonit Halperin
a461f0655f spice client: sticky Alt activation when holding an Alt key: bug #505912.
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
2009-11-15 13:41:10 +02:00
Izik Eidus
3915319125 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>
2009-11-09 23:10:49 +02:00
Izik Eidus
54cf04beed client: fix colormap handling.
Signed-off-by: Izik Eidus <ieidus@redhat.com>
2009-11-09 22:34:05 +02:00
Yonit Halperin
1121d8c629 spice client: tunnel channel - checking that the configuration pipe listener was created before deleting it 2009-11-09 22:14:47 +02:00