summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-12-03Release libxcb 1.51.5Julien Danjou
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-12-02setsockopt(SO_KEEPALIVE) on TCP display connections.Adam Jackson
This matches xtrans behaviour in SocketINETConnect, and makes it so apps don't hang forever if their display dies. Signed-off-by: Adam Jackson <ajax@redhat.com>
2009-10-19Add DRI2 support. (v2)Eric Anholt
v2: Build fix from jcristau.
2009-10-15Fix typo in the tutorial.Eric Anholt
2009-09-18Don't build docs if 'dot' is not found Signed-off-by: Paulo R. Zanoni ↵Paulo R. Zanoni
<pzanoni@mandriva.com>
2009-08-31Fix check dependencyJulien Cristau
Bugzilla #21992 make -j check fails because the check-local rule gets executed before the tests actually ran, so CheckLog*.xml doesn't exist. Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-31Cygwin build fix: Add -no-undefined to libtool flagsYaakov Selkowitz
-no-undefined is needed to tell libtool a shared library can be built on platforms which require all references to be statisfied at link time. Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Signed-off-by: Julien Danjou <julien@danjou.info>
2009-07-15Release libxcb 1.41.4Arnaud Fontaine
2009-07-15Add majorCode, minorCode and resourceID fields to X generic errorArnaud Fontaine
2009-07-06Fix precedence bug: wrong length for big-requests preceded by sync.Jamey Sharp
Also replace excessively clever use of bitwise OR with equivalent addition. Reported-by: Geoffrey Li <geoffrey@seitopos.com> Signed-off-by: Jamey Sharp <jamey@minilop.net> Signed-off-by: Josh Triplett <josh@joshtriplett.org>
2009-05-29Fix libxcb-randr version infoJulien Cristau
The SONAME shouldn't have been bumped in 1.3, only new symbols were added. Signed-off-by: Julien Danjou <julien@danjou.info>
2009-05-29Release libxcb 1.31.3Julien Danjou
2009-05-26Disable Nagle on TCP socketelupus
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-05-25Store xcbproto version libxcb was compiled withBob Ham
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-05-09depends on recent xcb-proto and bump version of randrJulien Danjou
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-21Fix XDM-AUTHORIZATION-1 (bug #14202)Bart Massey
With this patch, we know use correctly the socket address or peer address for authentication purpose. Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-10util: remove useless strlen calls from decnet openingJulien Danjou
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-10util: merge common code for xcb_connectJulien Danjou
Many code was duplicated between xcb_connect_to_display_with_auth_info and xcb_connect(). We merge both, since the difference is just about the xcb_auth_info_t pointer being supplied, or not. Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-10util: open_abstract gets filelen as parametersJulien Danjou
That saves us from a couple of strlen() calls. Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-10auth: use snprintf() return valueJulien Danjou
That save us from a strlen(). Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-10auth: precompute authnameslenJulien Danjou
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-09darwin: Don't use poll() on versions of darwin before darwin10Jeremy Huddleston
2009-04-06Local socket connections do not work on hurd-i386Samuel Thibault
Local socket connections currently do not work on hurd-i386 because xcb_auth calls getpeername() on the client socket, but hurd-i386 does not implement anything in that case (I actually wonder what reasonable value could be returned). In such case the xcb code does not actually need the peer name anyway. Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-30use poll() instead of select() when availableMichael Ost
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-28kludgily hand-merged xid fixesBart Massey
Signed-off-by: Bart Massey <bart@cs.pdx.edu> Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-16Fix do_append() argumentsJulien Danjou
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-15Copy full IPv4 mapping (Bug #20665)Julien Danjou
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-14Avoid name collisions between xidtype and enum.Peter Harris
These changes are necessary to build with latest xcb/proto. Signed-off-by: Peter Harris <pharris@opentext.com>
2009-03-13Revert "Don't use enums in generated C code"Peter Harris
This commit broke xcb/util. This reverts commit 9984b72888108a038d6b3f7dee374d17e26ef9e2. Signed-off-by: Peter Harris <pharris@opentext.com>
2009-02-25Don't use enums in generated C code - use integer constants instead.Peter Harris
Signed-off-by: Peter Harris <pharris@opentext.com>
2009-02-17Release libxcb 1.21.2Julien Danjou
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-16Stop providing autogenerated files in tarballJulien Danjou
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-11Release libxcb 1.1.931.1.93Julien Danjou
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-23Shutup compiler warning about unused variable...Jeremy Huddleston
2008-11-23Apple: Apple launchd cleanupJeremy Huddleston
Added --with-launchd option instead of just using __APPLE__ Fixed opening launchd fd when displayname=NULL
2008-11-23Apple: Enable support for launchd DISPLAY socketJeremy Huddleston
2008-11-19Treat XIDs the same as other cardinal values.Peter Harris
This fixes a bug where c_client.py wasn't generating *_end functions, but expected them to exist in order to find the subsequent list's start. Signed-off-by: Peter Harris <peter.harris@hummingbird.com>
2008-11-04Release libxcb 1.1.921.1.92Julien Danjou
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-29Support handing off socket write permission to external code.Josh Triplett
Libraries like Xlib, some XCB language bindings, and potentially others have a common problem: they want to share the X connection with XCB. This requires coordination of request sequence numbers. Previously, XCB had an Xlib-specific lock, and allowed Xlib to block XCB from making requests. Now we've replaced that lock with a handoff mechanism, xcb_take_socket, allowing external code to ask XCB for permission to take over the write side of the socket and send raw data with xcb_writev. The caller of xcb_take_socket must supply a callback which XCB can call when it wants the write side of the socket back to make a request. This callback synchronizes with the external socket owner, flushes any output queues if appropriate, and then returns the sequence number of the last request sent over the socket. Commit by Josh Triplett and Jamey Sharp. Handoff mechanism inspired by Keith Packard.
2008-10-29Track 64-bit sequence numbers internally.Jamey Sharp
External APIs that used 32-bit sequence numbers continue to do so. Commit by Josh Triplett and Jamey Sharp.
2008-10-29Use sequence number ranges in pending repliesJamey Sharp
This allows optimizing adjacent pending replies with the same flags, and will help support default flags for a range of future requests. Commit by Josh Triplett and Jamey Sharp.
2008-10-29Inline _xcb_lock_io, _xcb_unlock_io, and _xcb_wait_io.Jamey Sharp
These functions are once again a single pthread call, so just make that call directly.
2008-10-29Remove libxcb-xlib and xcbxlib.h.Jamey Sharp
2008-10-14build: fix configure.ac AC_DEFINEJulien Danjou
Rather use AC_DEFINE_UNQUOTED and only once. Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-14allow compile-time setting for XCB queue buffer sizeJulien Danjou
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-08Remove duplicate XCB_EXTENSION calls for Composite extensionJosh Triplett
2008-09-20fix tiny memory leak in read_packet (leak only happens when malloc returns ↵Henning Sten
NULL so it's very rare) Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-09Added generation of extern "C" for compatibility with C++Carsten Meier
The auto-generated header files now include an extern "C" declaration for compatibility with C++. Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-09Add support for the abstract socket namespace under LinuxJulien Cristau
Based on same in Xtrans. Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-09Fix some fd leaks in _xcb_open_*()Julien Cristau
Signed-off-by: Julien Danjou <julien@danjou.info>