Marc-André Lureau
8a1643d651
controller: async flush read/write
...
Windows namedpipes behave a bit differently from Unix socket, and may
return incomplete read/write. By using 2 read/write() helpers, try to
complete the operation before returning. Since the IO operation may be
splitted over several call, we make sure the buffer pointer is on the
heap. We use exception for EOF or BROKEN_PIPE condition, which also
simplifies the code.
To really work with namedpipe, the giowin32streams need to be fixed as
well to handle concurrent read & write properly, see for details:
https://bugzilla.gnome.org/show_bug.cgi?id=679288
2012-07-10 13:08:34 +02:00
Christophe Fergeau
2eaa3cf7ad
controller: handle USB redirection messages
2012-04-04 10:22:00 +02:00
Yonit Halperin
84d29d0c0f
controller: add support for DISABLE_EFFECTS and COLOR_DEPTH
...
rhbz #787449
Signed-off-by: Yonit Halperin <yhalperi@redhat.com>
2012-04-03 08:53:55 +03:00
Marc-André Lureau
3ff7d1f696
controllers: signal when a client is connected
2012-03-21 23:06:41 +01:00
Marc-André Lureau
f1a65e78c8
controller: handle SEND_CAD message as a property
2012-03-21 23:05:43 +01:00
Marc-André Lureau
2ba25926db
Add controller ENABLE_SMARTCARD message
2012-02-17 18:43:19 +01:00
Marc-André Lureau
a43aea8966
controller: use a controller listener abstraction
...
Add a wrapper file for named pipe and socket listener, so we can release
tarball with code compatible with windows and unix.
2012-01-23 14:34:52 +01:00
Marc-André Lureau
da471b813c
Fix controller with newer vala
2011-12-09 14:01:02 +01:00
Marc-André Lureau
ac3271cdb3
controller: use SPICE_XPI_NAMEDPIPE first
2011-12-05 17:52:13 +01:00
Marc-André Lureau
0cb3dba038
gtk/controller: fail if SPICE_XPI_SOCKET is not provided
...
Instead of trying to connect to a '(null)' socket.
2011-07-18 00:33:09 +02:00
Marc-André Lureau
abbfb5779e
gtk/controller: add accel menuitem property
2011-06-17 16:05:37 +02:00
Marc-André Lureau
3bdd8434d9
gtk/controller: change namespace to SpiceCtrl
2011-06-17 16:05:37 +02:00
Marc-André Lureau
62abefbb4a
gtk/controller: build win32 controller pipe name
2011-06-10 21:09:52 +02:00
Marc-André Lureau
26267f5015
controller: stick to 2.22 API
2011-05-20 12:59:45 +02:00
Marc-André Lureau
ee489dadce
gtk/controller: got NamedPipe basic working
2011-05-15 02:06:59 +02:00
Marc-André Lureau
90faedcefc
gtk/controller: start NamedPipe support (compile with mingw32)
2011-05-13 14:00:02 +02:00
Marc-André Lureau
766e28bed8
gtk/controller: fix build with non-default arguments
2011-04-11 12:00:51 +02:00
Marc-André Lureau
3271ebe9bc
gtk/controller: add XPI controller code
2011-03-30 18:17:35 +02:00