libxtrans: Changes to 'master'
Alan Coopersmith
alanc at kemper.freedesktop.org
Sat Oct 1 08:56:37 PDT 2011
Xtrans.c | 135 ++++++++++-----------
Xtrans.h | 20 +--
Xtransint.h | 115 ++++++++++--------
Xtranslcl.c | 369 ++++++++++++++++++++++++++++-------------------------------
Xtranssock.c | 336 +++++++++++++++++++++++++----------------------------
Xtranstli.c | 283 +++++++++++++++++++++------------------------
Xtransutil.c | 59 ++++-----
transport.c | 3
8 files changed, 650 insertions(+), 670 deletions(-)
New commits:
commit 0f942e5f015cb3270e6f2e17c308bee894cb5fe3
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Sun Sep 25 11:39:13 2011 -0700
Convert a bunch of sprintf calls to snprintf
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
Reviewed-by: Jeremy Huddleston <jeremyhu at apple.com>
commit eb9a8904fbef61a57ff01c90627ead57055ed62b
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Sun Sep 25 11:18:26 2011 -0700
Add const attributes to fix gcc -Wwrite-strings warnings
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
Reviewed-by: Jeremy Huddleston <jeremyhu at apple.com>
commit 4e610d4bbcf29cca9dc5dbad29ca820996aaa8c7
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Sun Sep 25 10:59:45 2011 -0700
Fix warning: unused variable 'tmpport' with various configurations
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
Reviewed-by: Jeremy Huddleston <jeremyhu at apple.com>
commit a74c5d915c3095059356f83d1b845192e5c472c2
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Sun Sep 25 10:57:00 2011 -0700
Add _X_UNUSED attributes to silence unused parameter warnings
Not all the transport variants use all the arguments to every function,
but as long as one transport type needs it, they all get the args passed.
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
Reviewed-by: Jeremy Huddleston <jeremyhu at apple.com>
commit 64f765de138cb9b757df315469b3136d32222ea2
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Sat Sep 24 00:04:40 2011 -0700
Mark __xtransname strings for debug messages as const char *
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
Reviewed-by: Jeremy Huddleston <jeremyhu at apple.com>
commit ea921932dae7049b231bead7f8f3f088d7beaf9e
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Fri Sep 23 23:03:09 2011 -0700
Fix unused variable warnings
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
Reviewed-by: Jeremy Huddleston <jeremyhu at apple.com>
commit c1968d10f97d62ac05d698822c2688151f70a9eb
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Fri Sep 23 22:59:11 2011 -0700
Fix warning: ISO C90 forbids mixed declarations and code
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
Reviewed-by: Jeremy Huddleston <jeremyhu at apple.com>
commit 225c45b3accab56fab361104a3d14b80f6cec954
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Fri Sep 23 22:57:56 2011 -0700
Fix printf format string warnings
Now that prmsg lets arguments types actually be checked, fix
the warnings found.
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
Reviewed-by: Jeremy Huddleston <jeremyhu at apple.com>
commit b1b69ce8e8e4fe0f190c8bd85b537309e71055c8
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Fri Sep 23 22:35:03 2011 -0700
Convert PRMSG macro to prmsg inline function
Allows using varargs to have the correct number of arguments passed to
get rid of the many gcc warnings about variable printf format strings,
and to reduce the duplication from having 5 implementations of the
PRMSG macro depending on the debug options defined & output method used.
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
Reviewed-by: Jeremy Huddleston <jeremyhu at apple.com>
commit cbdb434033da1725a69014cc6e4d89c691a6fd95
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Sat Sep 24 07:43:07 2011 -0700
Fix warnings about static functions declared but never defined
Add #define XTRANS_TRANSPORT_C to transport.c and check for it
before making static function declarations and other bits needed
only when compiling the Xtrans code itself, not from other sources
that include the Xtransint.h header for the struct definitions.
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
Reviewed-by: Jeremy Huddleston <jeremyhu at apple.com>
More information about the xorg-commit
mailing list