Alexander Larsson
9d8a76fcd0
Disable tunnel by default on windows
2010-07-08 22:25:32 +02:00
Alexander Larsson
633e962ac3
Make tunnel support optional in client too
2010-07-08 22:25:28 +02:00
Alexander Larsson
ceff16cad6
Make distcheck work
2010-07-08 20:20:35 +02:00
Alexander Larsson
1a6e77d6d4
Fix various misspellings
...
letancy -> latency
compund -> compound
SpicedSubMessage -> SpiceSubMessage
modifaiers -> modifiers
massage -> message
outgoiong -> outgoing
AlphaBlnd -> AlphaBlend
remoth -> remote
modifires -> modifiers
secore -> secure
2010-07-08 18:26:37 +02:00
Alexander Larsson
9cc1582561
Fix inclusion of common files, no need for common/ part
2010-07-08 15:44:15 +02:00
Alexander Larsson
601aecc8ad
Remove unused method declarations
2010-07-08 14:19:45 +02:00
Alexander Larsson
0659fb7897
Move in spice/draw.h from spice-protocol to common/
2010-07-08 13:56:01 +02:00
Alon Levy
0e16cadc70
Make CEGUI optional
...
This makes the CEGUI dependency optional and off by default. Restoring
previous behaviour of exiting on disconnect if disabled.
2010-07-01 13:48:58 +02:00
Alexander Larsson
d69fd9408c
client: Use ASSERT, not assert
2010-07-01 10:50:12 +02:00
Alexander Larsson
5cd86fc45d
Update client and protocol to support the new SpiceClipRects
2010-06-30 22:35:16 +02:00
Yonit Halperin
59152e31f0
client: add --include "common.h" for generated marshallers
2010-06-29 13:59:46 +02:00
Yonit Halperin
270a1e6df3
fixed unhandled destroy screen in Application:restore_screens_size
2010-06-29 13:59:46 +02:00
Yonit Halperin
3ca28ddf28
detaching the screen when the primary surface is destoryed and closing the window if the primary surface is not recreated (the monitor has been detached).
2010-06-29 13:59:46 +02:00
Alexander Larsson
7e26ff3c26
Replace log4cpp with custom log function
...
Also prints a simpler error to stderr for WARN or above so that
we print something on the commandline if something go wrong.
2010-06-28 21:54:53 +02:00
Alexander Larsson
b08b80d13f
Fix build error due to member "SpiceMsgEmpty" same name as type
2010-06-28 12:45:07 +02:00
Alexander Larsson
9655dc30e9
Remove support for clip by path
...
This is not supported currently anyway and was not generated before.
2010-06-24 14:30:00 +02:00
Alexander Larsson
dc8625c7e1
Make pointers 32bit in new protocol format
2010-06-23 16:33:07 +02:00
Alexander Larsson
eb3fe11d94
Fix version mismatch error on connect
...
Protocol is 0 (auto), 1 (old), or 2 (new). This is (apart from 0) the
same as the major number for the stable protocol. However, the current major
is ~(-1) to signify it being unstable, so don't use the major number as source
for setting or comparing protocol.
2010-06-23 12:18:41 +02:00
Alexander Larsson
f35ac2049a
Fix screen resolution changes on old servers
...
* Correctly check for existing canvas 0
* Don't try to unlock the screen size if there is no active screen
2010-06-23 11:37:01 +02:00
Alexander Larsson
72cf104c28
client: Support connecting to a major==1 server
2010-06-22 17:34:45 +02:00
Alexander Larsson
652c13e71b
Implement display_mode message needed for backwards compat
2010-06-22 17:34:45 +02:00
Alexander Larsson
2788b2ec46
Generate marshaller/demarshallers for old protocol
2010-06-22 17:34:39 +02:00
Alexander Larsson
36fd22a9db
Add more emacs mode headers
2010-06-22 12:03:21 +02:00
Alexander Larsson
5c05a24ba1
Convert client to use indirect calls for message marshalling
...
This is required to support multiple versions
2010-06-22 10:54:59 +02:00
Alexander Larsson
9123e24e7b
Add destructor for demarshalled messages
...
This is required because we don't want to free messages that just
refer to the unparsed message (like SpiceMsgData).
Also, in the future we might need it for more complex demarshalling.
2010-06-22 10:53:24 +02:00
Yonit Halperin
25bb38f643
applying zlib compression over glz on WAN connection
2010-06-21 15:05:37 +02:00
Alexander Larsson
cfc1e95bda
Make opengl optional, disabled by default
...
The OpenGL renderer isn't really useful right now, its not quite up
to date, its not really faster than software and it only supports a limited
subset of drivers. So, lets disable it for now.
Long term opengl rendering of the 2d part of spice is important if we want
to combine 2d and 3d rendering (say if spice adds opengl support in the
protocol). But until then this is isn't useful for normal use.
2010-06-21 14:50:18 +02:00
Alexander Larsson
ae4436215c
Make generated marshallers build on win32
2010-06-18 21:10:25 +02:00
Alexander Larsson
972951dbb7
Make sound data @as_ptr to avoid copying data
2010-06-18 20:27:32 +02:00
Alexander Larsson
3c8cb83af5
Make cursor data @as_ptr to avoid copying data
2010-06-18 20:27:32 +02:00
Alexander Larsson
4c1094acce
Make all message structs internal to spice
...
We move all message structs from spice-protocol to spice as
we want to be able to change these as needed internally. The
on-network format is no longer defined by these structures anyway,
but rather by the spice protocol description.
2010-06-18 20:27:32 +02:00
Alexander Larsson
ee91ed475d
Switch client to use generated marshallers
2010-06-18 20:27:32 +02:00
Alexander Larsson
1302667662
Generate and link marshallers into client
2010-06-18 20:27:32 +02:00
Alexander Larsson
1a0b3fbdbb
Generate demarshalling code on win32 too
2010-06-18 16:32:11 +02:00
Alexander Larsson
4154d70289
Client: Use the autogenerated demarshallers
...
When a message has been read from the network we now pass it into
the generated demarshaller for the channel. The demarshaller converts
the network data to in-memory structures that is passed on to the
spice internals.
Additionally it also:
* Converts endianness
* Validates sizes of message and any pointers in it
* Localizes offsets (converts them to pointers)
* Checks for zero offsets in messages where they are not supported
Some of this was previously done using custom code in the client, this
is now removed.
2010-06-18 16:32:11 +02:00
Alexander Larsson
17bbef4df3
Generate demarshallers in client
2010-06-18 16:32:11 +02:00
Alexander Larsson
aa6b7b5beb
Use the correctly spelled enum values from the new generated enums
2010-06-18 16:32:10 +02:00
Alexander Larsson
1ba1ce52ed
Use the new enums for keyboard modifier flags
2010-06-18 16:32:10 +02:00
Yonit Halperin
5d2ae66f50
support for lossy images in the pixmap cache and fill bits
...
1) add an option to determine if a bitmap can be sent lossy to the client
2) when required, replacing lossy cache items with their correspending
lossless bitmaps
2010-06-09 11:41:01 +02:00
Yonit Halperin
263646a1f7
JPEG support: introducing jpeg encoding for spice bitmaps
2010-06-09 11:40:25 +02:00
Alexander Larsson
3e989a361c
client: Only invalidate on screen if drawing to the primary surface
2010-06-09 11:16:48 +02:00
Alexander Larsson
f9da2720ae
Fix some misspelled identifiers
...
severty -> severity
SpiceResorceID -> SpiceResourceID
SpiceResorceList -> SpiceResourceList
resorces -> resources
ped_size -> pad_size
postition -> position
2010-05-21 11:14:29 +02:00
Alexander Larsson
012bd25779
Fix spelling errors in comments and strings
2010-05-21 10:51:28 +02:00
Gerd Hoffmann
d9084bfb64
Revert "[debug] migration troubleshooting"
...
This reverts commit 08927fabe5 .
2010-05-19 12:09:22 +02:00
Gerd Hoffmann
08927fabe5
[debug] migration troubleshooting
2010-05-19 11:22:07 +02:00
Alexander Larsson
ae40f270cf
Remove all mentions of "cairo" from the code
...
The command line option is renamed from "cairo" to "sw", and
similarly all filenames and types from Cairo to Sw (and similar).
2010-05-03 12:38:02 +02:00
Alexander Larsson
fcbd3208fc
client: Report window format right for win32
2010-04-29 13:34:44 +02:00
Alexander Larsson
1e4ec1f513
client: Support 16bpp pixmaps on win32
2010-04-29 13:34:16 +02:00
Gerd Hoffmann
e52974c7b4
fix two warnings
2010-04-26 14:01:37 +02:00
Alexander Larsson
a1ec6e065a
Fix up win32 client with recent changes
2010-04-23 16:41:47 +02:00