Alexander Larsson
90c5766caf
Use macros from <spice/macros.h> rather than duplicate them
2010-03-09 11:10:00 +01:00
Alexander Larsson
18606d99ea
Move canvas_region and group_start/end to canvas_base
2010-03-08 19:45:28 +01:00
Alexander Larsson
f8217d8b96
Move virtualization of canvas drawing into common/canvas_base
...
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.
2010-03-08 19:45:28 +01:00
Alexander Larsson
c0fdcd1a10
Make canvas Glz decoder integration nicer
...
We use a dynamic interface similar to e.g. SpiceImageCache instead
of passing both function and opaque
2010-03-08 19:45:27 +01:00
Alexander Larsson
4f097150cb
Fix up win32 build reference to pixman_utils.cpp
...
It was pointing to the wrong directory for pixman_utils.cpp
2010-03-05 17:17:23 +01:00
Alexander Larsson
2d203bc428
Only use AI_ADDRCONF if availible
...
AI_ADDRCONF not availible on winXP, so this fixes windows build.
2010-03-03 16:14:19 +01:00
Larsson@.(none)
d425690875
Update visual studio project for pixman changes
2010-03-01 15:12:37 +01:00
Larsson@.(none)
c28169976a
Make gdi canvas build in the new pixman world
2010-03-01 15:12:35 +01:00
Gerd Hoffmann
872be6b2d7
spice client: add ipv6 support.
...
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2010-02-27 22:12:08 +02:00
Gerd Hoffmann
878c215501
spice client: fix dns lookup
...
ignore lookup results which are not ipv4
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2010-02-27 22:08:47 +02:00
Alexander Larsson
239b2b66b2
Remove qcairo dependency, only use pixman
2010-02-23 22:52:06 +01:00
Alexander Larsson
295738b453
Remove cairo use in client
2010-02-23 22:52:06 +01:00
Alexander Larsson
1caa4b65c5
Remove no longer needed CAIRO_CANVAS_CACH_IS_SHARED define and code
2010-02-23 22:52:06 +01:00
Alexander Larsson
7992266ccf
Remove cairo_t from cairo canvas
2010-02-23 22:52:06 +01:00
Alexander Larsson
98dde80ed3
Replace custom region implementation with pixman_region32_t
...
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.
2010-02-23 22:52:06 +01:00
Alexander Larsson
16780a7b81
Use pixman_image_t instead of cairo_surface_t as the generic pixman container
...
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.
2010-02-23 22:52:01 +01:00
Alexander Larsson
0b0342ee7e
Turn image and palette cache into c style dynamic interface
...
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.
2010-02-23 14:43:20 +01:00
Alexander Larsson
7537acd630
Add optional templated base class to Cache and SharedCache
...
We want this for integration with C-style classes.
2010-02-23 14:43:20 +01:00
Alexander Larsson
60a189f250
Add line rasterizer
2010-02-23 14:43:20 +01:00
Alexander Larsson
9091e763a8
Add pixman utilities
...
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
2010-02-23 14:43:15 +01:00
Alexander Larsson
b82f9ed2b3
Fix delete vs delete[] mismatches
...
This fixes a bunch of valgrind warnings.
2010-02-10 11:25:28 +01:00
Alexander Larsson
39be5a8b13
Use standard int types and <spice/types.h>
2010-02-04 18:49:05 +01:00
Alexander Larsson
90104b39ae
Revert automatic renames that were wrong
...
Seems my rename script didn't handle C++ namespaces that well.
2010-02-04 18:49:05 +01:00
Alexander Larsson
16540e9953
Use the new header names
...
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
2010-02-04 18:49:05 +01:00
Alexander Larsson
1f51697852
Rename symbols that were changed in spice-protocol
...
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
2010-02-04 18:49:00 +01:00
Alexander Larsson
3d84818a7b
Depend on spice-protocol module
...
This doesn't actually use the new module, just sets it up for use.
2010-02-04 16:54:17 +01:00
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
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
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
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
321d375b5e
win client: change avcodec version to 51
2009-12-24 00:45:20 +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