summaryrefslogtreecommitdiffstats
path: root/client/red_client.cpp
Commit message (Collapse)AuthorAgeFilesLines
* client: add clipboard supportArnon Gilboa2010-07-191-1/+90
| | | | | | | | * windows - untested * linux - small strings both ways, large implemented differently: * client to guest - support INCR * guest to client - we supply a single possibly very large property * requires server changes in next patch to work with spice-vmc
* client: command line arguments for setting windows guest monitors'Yonit Halperin2010-07-191-7/+73
| | | | color depth and disabling some display options (helpful on WAN)
* Fix version mismatch error on connectAlexander Larsson2010-06-231-2/+2
| | | | | | | 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.
* client: Support connecting to a major==1 serverAlexander Larsson2010-06-221-2/+6
|
* Convert client to use indirect calls for message marshallingAlexander Larsson2010-06-221-4/+4
| | | | This is required to support multiple versions
* Switch client to use generated marshallersAlexander Larsson2010-06-181-18/+25
|
* Client: Use the autogenerated demarshallersAlexander Larsson2010-06-181-30/+21
| | | | | | | | | | | | | | | | 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.
* Relicense everything from GPL to LGPL 2.1+Alexander Larsson2010-04-131-9/+9
|
* client: handling SPICE_MSG_MAIN_MIGRATE_SWITCH_HOSTYonit Halperin2010-04-061-3/+39
| | | | disconnecting from the current host and connecting to the target host.
* client: add command line support for ciphers, ca file, and host certificate ↵Yonit Halperin2010-03-181-2/+5
| | | | subject
* Rename symbols that were changed in spice-protocolAlexander Larsson2010-02-041-61/+61
| | | | | | 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
* server,client: server authentication for secured channels.Yonit Halperin2010-01-111-8/+35
| | | | | | | | | 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/
* client: add GUI infrastructure + functional login dialogYaniv Kamay2009-12-281-16/+4
|
* client: smiplify DisconnectedEventYaniv Kamay2009-12-281-8/+2
|
* client: wait for disconnect state in RedClient::connect()Yaniv Kamay2009-12-281-2/+7
|
* client: interactive screen layerYaniv Kamay2009-11-301-1/+61
|
* spice client: fixed missing AutoRefYonit Halperin2009-11-091-1/+2
|
* spice client: remove timer interface from platform - use Application (via ↵Yonit Halperin2009-11-091-10/+18
| | | | ProcessLoop interface).
* spice client: creating a general process loop.Yonit Halperin2009-11-091-2/+5
| | | | | | | | | | | 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.
* fresh startYaniv Kamay2009-10-141-0/+811