Commit Graph

14 Commits

Author SHA1 Message Date
Yaniv Kamay
6d9026c4b4 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-10 13:41:08 +02:00
Yaniv Kamay
0bd3b58bc9 client: fix logger init mix-up
enable log rotate in case RED_DEBUG is not defined
and disable log rotate in case RED_DEBUG is defined
2010-01-10 13:40:53 +02:00
Yaniv Kamay
db5375a5f8 client: move log file to spicec appdata dir 2010-01-10 13:40:31 +02:00
Yonit Halperin
e38a619007 server,client: server authentication for secured channels. #527411 #549673.
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-06 16:06:46 +02:00
Arnon Gilboa
4202ee3945 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()
2010-01-03 17:55:32 +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
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
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
9b12f7ca8c spice client: remove timer interface from platform - use Application (via ProcessLoop interface). 2010-01-03 17:19:35 +02:00
Yonit Halperin
71567dabe3 spice client: cosmetic changes 2010-01-03 17:19:03 +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
bac204a1e4 fix bad initialization of XDisplay in case crt have more then one output 2009-10-27 13:34:36 +02:00
Yaniv Kamay
c1b79eb035 fresh start 2009-10-14 15:06:41 +02:00