Alon Levy
ff3fb423ed
mingw32 build: fix two functions
2010-12-08 17:13:02 +02:00
Alon Levy
8bea5d6b5a
mingw32 build: add missing switch flags (nop)
2010-12-08 17:12:56 +02:00
Alon Levy
a19080980d
mingw32 build: eol fixes
2010-12-08 17:12:48 +02:00
Alon Levy
78f81ec61c
mingw32 build: windows/Makefile.am: double NULL definition
2010-12-08 17:12:43 +02:00
Alon Levy
5aba28df73
mingw32 build: missing linked files for spicec.exe
2010-12-08 17:12:36 +02:00
Alon Levy
9728ea7f5c
mingw32 build: remove unused, initialize uninitialized, reorder constructor initializers
2010-12-08 17:11:45 +02:00
Alon Levy
d14b720a3f
mingw32 build: fix assignement as condition warning
2010-12-08 17:11:45 +02:00
Alon Levy
1943352d60
mingw32 build: fixed using -1 as uninitialized value for unsigned variables
2010-12-08 17:11:45 +02:00
Alon Levy
06749bd66b
mingw32 build: fix signed/unsigned warnings as errors
2010-12-08 17:11:45 +02:00
Alon Levy
2cd07dd8f3
mingw32 build: fix configure.ac typo
2010-12-08 17:11:45 +02:00
Alon Levy
af1bfa6250
mingw32 build: fix various warnings
2010-12-08 17:11:45 +02:00
Gerd Hoffmann
f6cacd0e51
mingw32 build: fix build errors
...
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2010-12-08 17:11:45 +02:00
Gerd Hoffmann
53c808947d
mingw32 build: disable ms compiler pragmas for gcc
...
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2010-12-08 17:11:44 +02:00
Gerd Hoffmann
71aad4d7e8
mingw32 build: add client/windows/Makefile, tweak configure
...
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2010-12-07 21:36:37 +02:00
Gerd Hoffmann
09c0e2de2c
build: s/HUGE/INFINITY/
...
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2010-12-07 21:36:37 +02:00
Gerd Hoffmann
8879a45d56
build: use jpeg_boolean with more recent libjpeg versions.
...
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2010-12-07 21:36:37 +02:00
Gerd Hoffmann
bed8f911ce
build: only check for x11 extensions when
...
building for x11 platform.
2010-12-07 21:36:34 +02:00
Gerd Hoffmann
1c09623cc0
build: alsa is needed on linux only.
...
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2010-12-07 21:33:26 +02:00
Alon Levy
450278a299
server/tests: Makefile.am: use AM_LDFLAGS instead of LDFLAGS
2010-12-07 21:33:26 +02:00
Alon Levy
96da0a4819
server/inputs: return NULL on alloc_buf request for too large message
2010-12-07 21:32:34 +02:00
Alon Levy
380b5e9dd7
server/red_channel: error channel if alloc_msg_buf fails (returns NULL)
2010-12-07 21:32:34 +02:00
Alon Levy
ec0b90db7f
server/inputs_channel: better protection from channel disconnection on keyboard modifiers callback
2010-12-07 21:32:34 +02:00
Alon Levy
1540a64030
server/red_channel: add red_channel_is_connected
2010-12-07 21:32:34 +02:00
Alon Levy
045be6b03a
server/inputs_channel: remove unused declaration in inputs_channel.h
2010-12-07 21:32:34 +02:00
Alon Levy
6dfff7b0a5
server/inputs_channel: s/inputs_channel/g_inputs_channel/
2010-12-07 21:32:34 +02:00
Alon Levy
86a4a0780d
server/inputs_channel: initialize inputs_channel to NULL
2010-12-07 21:32:33 +02:00
Alon Levy
5e13eea73c
server: reds/inputs_channel: move some structs to inputs_channel
2010-12-07 21:32:33 +02:00
Alon Levy
e662e6a59f
server: inputs_channel: use red_channel
2010-12-07 21:32:33 +02:00
Alon Levy
23db8c093c
server: red_channel: add optional parser and separate incoming/outgoing error handlers for later inputs/main channel usage
2010-12-07 21:32:33 +02:00
Alon Levy
5ada644f30
server: inputs_channel: s/inputs_state/inputs_channel/
2010-12-07 21:32:33 +02:00
Alon Levy
347e32177c
server: introduce inputs_channel, split from reds.c
2010-12-07 21:32:33 +02:00
Alon Levy
26c40c4196
server/reds: fix typo
2010-12-07 21:32:33 +02:00
Arnon Gilboa
8a7e6fef27
spicec: do not call connect_secure when connect_unsecure fails due to protocol version mismatch (v2)
...
If connect_unsecure failed due to protocol version mismatch, don't try to
connect_secure with the same version, but retry (connect_secure or
connect_unsecure) with older version. catch (...) is handled by caller
at RedChannel::run().
This solves the following bug: when "new" Spice client (protocol version 2)
with given secure_port connects to "old" server which is not using the same
secure_port (or not using a secure_port at all), the client exits immediately.
In this scenario, the client first tries to use Spice protocol version 2 to
connect the unsecure port, and altough this fails due to version mismatch, it
tries to connect to the secure port with the same protocol version 2, which is
a wrong behavior, fails due to socket error 10061 (WSAECONNREFUSED -
Connection refused) and handled mistakenly by immediate exit, instead of
retrying with protocol version 1.
2010-12-07 14:34:22 +02:00
Alon Levy
9dfeeaefbe
client/smartcard: add files to Makefile.am for make dist
2010-12-07 13:31:44 +02:00
Alon Levy
7e0a1dfa75
smartcard: configure option --enable-smartcard
2010-12-07 13:31:44 +02:00
Alon Levy
d99ec6c35b
smartcard: server side (not enabled yet)
2010-12-07 13:31:42 +02:00
Alon Levy
757686384f
smartcard: client: add keyboard shortcuts for remove/insert virtual card
2010-12-07 13:31:31 +02:00
Alon Levy
a2afcde061
smartcard: client side (not enabled yet)
2010-12-07 13:31:31 +02:00
Alon Levy
611e542c6c
smartcard: add to spice.proto
2010-12-07 13:31:30 +02:00
Alon Levy
7461ee17cf
server: add spice_server_char_device_remove_interface
2010-12-07 13:31:28 +02:00
Alon Levy
5220e0a706
server: print subtype when adding CHAR_DEVICE interfaces
2010-12-06 18:09:15 +02:00
Alon Levy
0ac9ca51f4
server: add static to spice_server_char_device_add_interface
2010-12-06 18:09:15 +02:00
Alon Levy
beca39aa87
spice codegen: fix copy-o, no such variable value
2010-12-06 18:09:15 +02:00
Alon Levy
b2f1b80a63
server: fix print text on vdagent interface addition
2010-12-06 18:09:14 +02:00
Alon Levy
673ade8a6f
server: add char_device.h header, use in reds.c
2010-12-06 18:09:14 +02:00
Alon Levy
14f2b0f52a
spice-experimental.h: add multiple include protection
2010-12-06 18:09:14 +02:00
Alon Levy
dc8946f9f4
server/vdi_port (virtserial): always read data
...
We erronously ignored data from guest on the serial channel if no client is
connected. This leads to an assert when the guest writes a second time, since
there is still data unconsumed by us (the host).
Fix by reading data anyway, and discarding it after parsing (and reading) whole
messages from the guest.
Net affect is that any messages the agent sends while no client is connected
get discarded, but only full messages are discarded.
This fixes an abort if booting a winxp guest with vdagent without a connected
client.
2010-12-06 13:20:14 +02:00
Alon Levy
3eac546309
server: add char_device.h to Makefile.am for make dist
2010-12-02 17:17:11 +02:00
Alon Levy
9002d3f005
server/tests: add test_display_no_ssl
...
updates taken from spice vga mode updates, i.e. non cacheable, glz compressed
(depends on whatever settings you apply to the server) opaque draw operations.
+ completed the SpiceCoreInterface implementation (timers)
v1->v2:
removed test_util.c (Hans)
replaced mallocz with calloc (Hans)
2010-11-30 21:03:14 +02:00
Alon Levy
74b39efd6e
server/tests: Makefile.am fixes
...
* don't install tests on make install
* don't forget anything for make dist tarball
2010-11-30 21:01:06 +02:00