[Spice-commits] 2 commits - client/.gitignore .gitignore server/.gitignore server/reds.c

Alon Levy alon at kemper.freedesktop.org
Mon Nov 8 06:07:08 PST 2010


 .gitignore        |    2 ++
 client/.gitignore |    4 ++++
 server/.gitignore |    3 +++
 server/reds.c     |    3 ---
 4 files changed, 9 insertions(+), 3 deletions(-)

New commits:
commit 6f9ab515092013d219c0e8e7f5bd6f4c70439bfe
Author: Alon Levy <alevy at redhat.com>
Date:   Sun Oct 31 16:27:00 2010 +0200

    gitignore: add generated_*, vim temps, pyc

diff --git a/.gitignore b/.gitignore
index 9859359..5a4db5c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,6 +1,8 @@
 *~
+.*.sw?
 *.tar.bz2
 *.tar.gz
+*.pyc
 aclocal.m4
 autom4te.cache
 compile
diff --git a/client/.gitignore b/client/.gitignore
index 07491dd..39a4cf7 100644
--- a/client/.gitignore
+++ b/client/.gitignore
@@ -6,3 +6,7 @@
 .libs
 Makefile
 Makefile.in
+generated_demarshallers.cpp
+generated_demarshallers1.cpp
+generated_marshallers.cpp
+generated_marshallers1.cpp
diff --git a/server/.gitignore b/server/.gitignore
index 07491dd..0a0bfef 100644
--- a/server/.gitignore
+++ b/server/.gitignore
@@ -6,3 +6,6 @@
 .libs
 Makefile
 Makefile.in
+generated_demarshallers.c
+generated_marshallers.c
+generated_marshallers.h
commit bd30095c7543fbe01fb87f46c71cc83a052cf37e
Author: Alon Levy <alevy at redhat.com>
Date:   Sun Oct 31 17:41:46 2010 +0200

    reds: remove needless buffer in InputsState

diff --git a/server/reds.c b/server/reds.c
index 7ab4925..9ce7879 100644
--- a/server/reds.c
+++ b/server/reds.c
@@ -208,8 +208,6 @@ typedef struct VDIPortState {
 typedef struct InputsState {
     Channel *channel;
     RedsStreamContext *peer;
-    uint8_t buf[RECIVE_BUF_SIZE];
-    uint32_t end_pos;
     IncomingHandler in_handler;
     OutgoingHandler out_handler;
     VDAgentMouseState mouse_state;
@@ -2431,7 +2429,6 @@ static void inputs_link(Channel *channel, RedsStreamContext *peer, int migration
     }
 
     inputs_state->peer = peer;
-    inputs_state->end_pos = 0;
     inputs_state->channel = channel;
     inputs_state->in_handler.parser = spice_get_client_channel_parser(SPICE_CHANNEL_INPUTS, NULL);
     inputs_state->in_handler.opaque = inputs_state;


More information about the Spice-commits mailing list