summaryrefslogtreecommitdiff
path: root/gtk/channel-base.c
AgeCommit message (Collapse)AuthorFilesLines
2013-04-09channel_base: exit handle_migrate when expecting MIGRATE_DATA and receiving ↵Yonit Halperin1-2/+4
something else Previously, when an error occurred on the src server side, and we received other message than MIGRATE_DATA, this messages was forwarded to the dest server, and made it crash.
2012-09-12channel: Introduce CHANNEL_DEBUG for channel debug logsChristophe Fergeau1-9/+8
It automatically prepends the channel name to the log message for easier debugging. Fixes rhbz#822437
2012-08-28seamless migration: transfer pending msgs to the destination, instead of ↵Yonit Halperin1-4/+8
sending them to the src before FLUSH_MARK In order to save migration time, and probably also decrease migration data size, we push the flush mark to the src server before any other message. All the other pending msgs will be sent later to the destination server (see next patch).
2012-08-28channel-base: remove bad check of SpiceMsgWaitForChannels validityYonit Halperin1-3/+0
SpiceMsgWaitForChannels is not packed. Comparing the original msg size to SpiceMsgWaitForChannels is wrong.
2012-01-15Fix compilation on mingw/windowsMarc-André Lureau1-3/+3
2012-01-12Log if condition wait got cancelledMarc-André Lureau1-2/+4
https://bugs.freedesktop.org/show_bug.cgi?id=44570
2012-01-12Make g_coroutine_condition_wait() cancellableMarc-André Lureau1-1/+2
https://bugs.freedesktop.org/show_bug.cgi?id=44570
2012-01-11Add support for SPICE_COMMON_CAP_MINI_HEADERYonit Halperin1-4/+8
Don't send/receive serial and sub_list when the server supports the above cap.
2012-01-08Implement SPICE_MSG_WAIT_FOR_CHANNELSMarc-André Lureau1-3/+36
https://bugs.freedesktop.org/show_bug.cgi?id=44179
2011-12-16spice_msg_out[_send_internal]: Take ownership of the passed SpiceMsgOutHans de Goede1-4/+0
All callers of spice_msg_out[_send_internal] unref the message immediately after calling spice_msg_out[_send_internal]. This patch changes the semantics so that spice_msg_out[_send_internal] takes ownership and it is responsible for unref-ing the passed in SpiceMsgOut. This is a preparation patch for changing the buffered write code to use a queue of SpiceMsgOut-s, rather then memcpy the message contents into an intermediate buffer. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2011-07-18build: fix introspection warningsMarc-André Lureau1-17/+17
The only one left is related to GOptionGroup, which is not boxed.
2011-03-23gtk: don't attempt to dereference NULL pointerChristophe Fergeau1-2/+4
In spice_channel_handle_migrate there's an explicit check for data being NULL. However, we subsequently dereference it twice even when it can be NULL. Add explicit checks to avoid that.
2011-01-21gtk: handle seamless migrationsMarc-André Lureau1-2/+41
2011-01-11gtk: add some DEBUG related to migrationMarc-André Lureau1-3/+3
2010-12-06gtk: hide unwanted public symbolsMarc-André Lureau1-0/+6
2010-12-05gtk: WIP spice-channel documentationMarc-André Lureau1-2/+8
2010-11-25build: re-enable -Wflags, and fix a few warningsMarc-André Lureau1-5/+4
2010-11-24gtk: add a couple of new TODOMarc-André Lureau1-0/+16
2010-11-24gtk: add SPICE_MSG_DISCONNECTING handlerMarc-André Lureau1-0/+9
2010-11-24gtk: add missing copyright headersMarc-André Lureau1-0/+17
2010-11-24gtk: add a flag to turn debug off, SPICE_DEBUG=1 to overrideMarc-André Lureau1-1/+1
2010-11-24gtk: use g_log functions instead of fprintf and custom handlerMarc-André Lureau1-1/+1
2010-11-23rename spice_msg get/put functions to ref/unrefGerd Hoffmann1-2/+2
2010-11-23Add glib objects + gtk widgets for spice.Gerd Hoffmann1-0/+59