Commit Graph

25 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
Arnon Gilboa
15fff174eb 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:09:26 +02:00
Arnon Gilboa
185fe4777c spice: add missing break 2010-01-06 17:23:47 +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
Yaniv Kamay
68fa759dc4 client: use spice icon instead-of solidice icon 2010-01-04 21:18:57 +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
Arnon Gilboa
8ce343daa0 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()
2010-01-03 17:51:17 +02:00
Yaniv Kamay
87f35921c3 win client: change avcodec version to 51 2010-01-03 17:50:36 +02:00
Yaniv Kamay
1c87b17283 client: new static title image 2010-01-03 17:48:09 +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
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
Yonit Halperin
eb85aae81f spice client: calling the timers during modal loop in Windows 2010-01-03 17:21:06 +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
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
402a201ce6 fix build on Debian 2009-10-27 13:29:39 +02:00
Yaniv Kamay
c1b79eb035 fresh start 2009-10-14 15:06:41 +02:00