summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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>
2008-09-03fixed overly aggressive warning about fixed field following variableBart Massey
2008-09-03added small fix to support trailing fixed fields; also warning for non-pad ↵Bart Massey
fixed fields
2008-08-31factorize m4 macros and add one to set X extensionsVincent Torri
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-28Initialize all fields of addrinfoJulien Danjou
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-28Use ifdef instead of if for defined valueJulien Danjou
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-28Set namelen unsignedJulien Danjou
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-28Rename index to idx to avoid shadowingJulien Danjou
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-28Use a signed size in read_block()Julien Danjou
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-28Use unsigned to compare and rename syncJulien Danjou
- i must be unsigned to be compare in the loop - sync shadow global sync() function Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-28Fix htonl() arg & convert sizeof() to signedJulien Danjou
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-28initialize global_id to 0Julien Danjou
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-17Bump to 1.1.91.1.1.911.1.90.1Peter Hutterer
2008-07-16Make EXTHEADERS, EXTSOURCES, EXTENSION_XML unconditional of configure flags.Julien Cristau
yay, make distcheck works now even when some extensions are disabled. Acked-by: Peter Hutterer <peter.hutterer@who-t.net>
2008-07-07fix FreeBSD supportPetr Salinger
The GNU/kFreeBSD (and BSDs in general) have a different layout of struct sockaddr, sockaddr_in, sockaddr_un ... The first member do not have to be "sa_family", they also have "sa_len" field. Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-29Bump to 1.1.90.Peter Hutterer
2008-05-28Fix variable declaration formattingJosh Triplett
2008-05-21Add xcb_ge_event_t and handling for long events.Peter Hutterer
GenericEvent can be more than 32 bytes long. Ensure that the required data is pulled off the wire and tack it onto the event. Due to the structure of the xcb_generic_event_t, the data is appended AFTER the full_sequence field.
2008-05-01Fix libxcb/src compile with srcdir != builddir.Oswald Buddenhagen
2008-04-23Replace a stray c-client.xsl in the libxcb SOURCES. Fixes make distcheck.Eamon Walsh
2008-04-23Use the python install path from xcb-xproto.pc to locate the xcbgen package.Eamon Walsh
2008-04-20Add mention of PYTHONPATH if xcbgen cannot be found.Jeremy Kolb
2008-04-19Add Python parser C language-dependent part.Eamon Walsh
2008-01-24Add SELinux extension support, disabled by default.Eamon Walsh
2008-01-24Add XInput extension support, disabled by default.Eamon Walsh
2008-01-15Inputs to AC_CONFIG_FILES are automatically distributed.Eamon Walsh
Hence, it is not necessary to explicitly add them to EXTRA_DIST.
2007-12-07Generated the configure.ac and Makefile.am's in libxcb with the idea ofEamon Walsh
making each extension library individually selectable for build. Signed-off-by: Eamon Walsh <ewalsh@tycho.nsa.gov>
2007-12-07Merge branch 'master' of git+ssh://git.freedesktop.org/git/xcb/libxcbEamon Walsh
2007-11-24make IPv6 optionalBart Massey
2007-11-16Remove file that wasn't meant to be committed.Eamon Walsh
2007-11-16Merge branch 'master' of git+ssh://git.freedesktop.org/git/xcb/libxcbEamon Walsh
2007-11-16Add comment noting the requirement to free replies when finished.Eamon Walsh
2007-11-16Add generated comment noting requirement to free replies after use.Eamon Walsh