C interface to the X Window System protocol, which replaces the traditional Xlib interface.
Go to file
Josh Triplett a3bd6f4760 The Great XCB Renaming
Rename API to follow a new naming convention:
* XCB_CONSTANTS_UPPERCASE_WITH_UNDERSCORES
* xcb_functions_lowercase_with_underscores
* xcb_types_lowercase_with_underscores_and_suffix_t
* expand all abbreviations like "req", "rep", and "iter"

Word boundaries for the names in the protocol descriptions fall:
* Wherever the protocol descriptions already have an underscore
* Between a lowercase letter and a subsequent uppercase letter
* Before the last uppercase letter in a string of uppercase letters followed
  by a lowercase letter (such as in LSBFirst between LSB and First)
* Before and after a string of digits (with exceptions for sized types like
  xcb_char2b_t and xcb_glx_float32_t to match the stdint.h convention)

Also fix up some particular naming issues:
* Rename shape_op and shape_kind to drop the "shape_" prefix, since otherwise
  these types end up as xcb_shape_shape_{op,kind}_t.
* Remove leading underscores from enums in the GLX protocol description,
  previously needed to ensure a word separator, but now redundant.

This renaming breaks code written for the previous API naming convention.  The
scripts in XCB's tools directory will convert code written for the old API to
use the new API; they work well enough that we used them to convert the
non-program-generated code in XCB, and when run on the old program-generated
code, they almost exactly reproduce the new program-generated code (modulo
whitespace and bugs in the old code generator).

Authors: Vincent Torri, Thomas Hunger, Josh Triplett
2006-09-23 12:22:22 -07:00
debian Remove arbitrary division between xcb_types and xproto by merging 2006-06-15 03:03:13 -07:00
doc/tutorial Tutorial corrections. 2006-08-14 06:59:46 -07:00
src The Great XCB Renaming 2006-09-23 12:22:22 -07:00
tests Unify autofoo .gitignore bits into one top-level file, and remove resulting redundancies. 2006-03-08 22:49:59 -08:00
tools Special cases to agree with the conventions Josh and I have hashed out. 2006-09-23 02:24:39 -07:00
.gitignore Unify autofoo .gitignore bits into one top-level file, and remove resulting redundancies. 2006-03-08 22:49:59 -08:00
COPYING Fix the year in COPYING. 2006-04-27 17:32:20 -07:00
INSTALL Remove xcl and CVSROOT. 2006-02-18 16:49:41 -08:00
Makefile.am Rename xcb-xfree86dri.pc.in to xcb-xf86dri.pc.in to match libXCBxf86dri, change its Libs line to use -lXCBxf86dri, and change configure.ac and Makefile.am accordingly. 2006-04-27 12:33:41 -07:00
acinclude.m4 Fix typo and rephrase checking message. 2006-04-27 12:04:52 -07:00
autogen.sh Remove xcl and CVSROOT. 2006-02-18 16:49:41 -08:00
configure.ac Rename xcb-xfree86dri.pc.in to xcb-xf86dri.pc.in to match libXCBxf86dri, change its Libs line to use -lXCBxf86dri, and change configure.ac and Makefile.am accordingly. 2006-04-27 12:33:41 -07:00
xcb-composite.pc.in Add .pc.in files for all the new extension libraries. Generate .pc files from the new .pc.in files in configure.ac. Install the new .pc files in Makefile.am, and add the new .pc.in files to EXTRA_DIST. 2006-04-26 13:22:12 -07:00
xcb-damage.pc.in Add .pc.in files for all the new extension libraries. Generate .pc files from the new .pc.in files in configure.ac. Install the new .pc files in Makefile.am, and add the new .pc.in files to EXTRA_DIST. 2006-04-26 13:22:12 -07:00
xcb-dpms.pc.in Add .pc.in files for all the new extension libraries. Generate .pc files from the new .pc.in files in configure.ac. Install the new .pc files in Makefile.am, and add the new .pc.in files to EXTRA_DIST. 2006-04-26 13:22:12 -07:00
xcb-glx.pc.in Add .pc.in files for all the new extension libraries. Generate .pc files from the new .pc.in files in configure.ac. Install the new .pc files in Makefile.am, and add the new .pc.in files to EXTRA_DIST. 2006-04-26 13:22:12 -07:00
xcb-randr.pc.in Add .pc.in files for all the new extension libraries. Generate .pc files from the new .pc.in files in configure.ac. Install the new .pc files in Makefile.am, and add the new .pc.in files to EXTRA_DIST. 2006-04-26 13:22:12 -07:00
xcb-record.pc.in Add .pc.in files for all the new extension libraries. Generate .pc files from the new .pc.in files in configure.ac. Install the new .pc files in Makefile.am, and add the new .pc.in files to EXTRA_DIST. 2006-04-26 13:22:12 -07:00
xcb-render.pc.in Add .pc.in files for all the new extension libraries. Generate .pc files from the new .pc.in files in configure.ac. Install the new .pc files in Makefile.am, and add the new .pc.in files to EXTRA_DIST. 2006-04-26 13:22:12 -07:00
xcb-res.pc.in Add .pc.in files for all the new extension libraries. Generate .pc files from the new .pc.in files in configure.ac. Install the new .pc files in Makefile.am, and add the new .pc.in files to EXTRA_DIST. 2006-04-26 13:22:12 -07:00
xcb-screensaver.pc.in Add .pc.in files for all the new extension libraries. Generate .pc files from the new .pc.in files in configure.ac. Install the new .pc files in Makefile.am, and add the new .pc.in files to EXTRA_DIST. 2006-04-26 13:22:12 -07:00
xcb-shape.pc.in Add .pc.in files for all the new extension libraries. Generate .pc files from the new .pc.in files in configure.ac. Install the new .pc files in Makefile.am, and add the new .pc.in files to EXTRA_DIST. 2006-04-26 13:22:12 -07:00
xcb-shm.pc.in Add .pc.in files for all the new extension libraries. Generate .pc files from the new .pc.in files in configure.ac. Install the new .pc files in Makefile.am, and add the new .pc.in files to EXTRA_DIST. 2006-04-26 13:22:12 -07:00
xcb-sync.pc.in Add .pc.in files for all the new extension libraries. Generate .pc files from the new .pc.in files in configure.ac. Install the new .pc files in Makefile.am, and add the new .pc.in files to EXTRA_DIST. 2006-04-26 13:22:12 -07:00
xcb-xevie.pc.in Add .pc.in files for all the new extension libraries. Generate .pc files from the new .pc.in files in configure.ac. Install the new .pc files in Makefile.am, and add the new .pc.in files to EXTRA_DIST. 2006-04-26 13:22:12 -07:00
xcb-xf86dri.pc.in Rename xcb-xfree86dri.pc.in to xcb-xf86dri.pc.in to match libXCBxf86dri, change its Libs line to use -lXCBxf86dri, and change configure.ac and Makefile.am accordingly. 2006-04-27 12:33:41 -07:00
xcb-xfixes.pc.in Add .pc.in files for all the new extension libraries. Generate .pc files from the new .pc.in files in configure.ac. Install the new .pc files in Makefile.am, and add the new .pc.in files to EXTRA_DIST. 2006-04-26 13:22:12 -07:00
xcb-xprint.pc.in Add .pc.in files for all the new extension libraries. Generate .pc files from the new .pc.in files in configure.ac. Install the new .pc files in Makefile.am, and add the new .pc.in files to EXTRA_DIST. 2006-04-26 13:22:12 -07:00
xcb-xtest.pc.in Add .pc.in files for all the new extension libraries. Generate .pc files from the new .pc.in files in configure.ac. Install the new .pc files in Makefile.am, and add the new .pc.in files to EXTRA_DIST. 2006-04-26 13:22:12 -07:00
xcb-xv.pc.in Add .pc.in files for all the new extension libraries. Generate .pc files from the new .pc.in files in configure.ac. Install the new .pc files in Makefile.am, and add the new .pc.in files to EXTRA_DIST. 2006-04-26 13:22:12 -07:00
xcb-xvmc.pc.in Add .pc.in files for all the new extension libraries. Generate .pc files from the new .pc.in files in configure.ac. Install the new .pc files in Makefile.am, and add the new .pc.in files to EXTRA_DIST. 2006-04-26 13:22:12 -07:00
xcb.pc.in Take advantage of Requires and *.private fields for a more accurate pkg-config file. 2006-02-24 01:56:18 -08:00