summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2006-10-08Update Debian packaging for 1.0 RC2 release.debian-0.9.92-1Jamey Sharp67-230/+311
* New upstream version. [ Josh Triplett ] * No longer installs files to /usr/include/X11, so remove Pre-Depends on x11-common. * Update to Standards-Version 3.7.2 (no changes required). * Point specifically to http://xcb.freedesktop.org/dist in copyright file, rather than http://xcb.freedesktop.org . * Add debian/watch file. * Install pkgconfig files to /usr/share/pkgconfig. * Version Build-Depends on xcb-proto as (>= 0.9.92) * Change libxcb0{,-dev,-dbg} to libxcb1{,-dev,-dbg} to match soname bump, and update Depends of other library -dev packages. * Add debian/control stanzas and debhelper install files for new library libxcb-xlib0. * Change libxcb${ext}0{,-dev,-dbg} to libxcb-${ext}0{,-dev,-dbg}, to match the sonames of the libraries. * cdbs >= 0.4.40 now builds -dbg packages for each library package, without requiring DEB_DBG_PACKAGE_libxcb* for each one. Remove assignments to these variables in debian/rules, and version cdbs Build-Depends accordingly. * Change -dbg package priorities from optional to extra. Authors: Josh Triplett <josh@freedesktop.org>, Jamey Sharp <jamey@minilop.net>
2006-10-08Merge branch 'master' into debianJamey Sharp20-1378/+1775
2006-10-07Release libxcb 1.0 RC2 (0.9.92).1.0-RC2Jamey Sharp4-3/+248
2006-10-07Bugfix: make Plan 7 'checked' requests work correctly.Jamey Sharp1-2/+3
The initial implementation of Plan 7 dumped all X errors into the event queue, because the record of a pending reply was pruned too early if an error occurred in place of the expected reply.
2006-10-07Document xcb_generate_id.Ian Osgood1-0/+8
2006-10-07Move xcb_generate_id from xcbext.h to xcb.hJosh Triplett2-5/+5
Since extensions no longer provide type-specific XID-generation functions, xcb_generate_id now forms part of the xcb client API, rather than the extension API; move it from xcbext.h to xcb.h accordingly.
2006-10-07Stop implicitly importing xproto; goes with proto change to explicitly import itJosh Triplett1-3/+0
2006-10-07Declare "struct foo" or "enum foo" as well as the typedef'd name "foo".Jamey Sharp1-1/+5
2006-10-07Handle "xidunion" instead of "union" for XID unions like DRAWABLE and FONTABLEJosh Triplett1-3/+3
2006-10-06api_conv.pl: replace xcb_*_new with calls directly to xcb_generate_id, now ↵Jamey Sharp1-0/+1
that we have no type-safety XID wrappers.
2006-10-06Refer to the "xlib lock" rather than the "IOLock" in xcbxlib.hJosh Triplett1-1/+2
2006-10-06Remove XID wrapper structures and replace them with uint32_t typedefsJosh Triplett1-9/+1
After positive feedback from several people, we have decided to remove the XID wrapper structures that attempted to provide C type safety, and replace them with uint32_t typedefs. Feedback has indicated that these type-safety hacks generated more trouble than help. We will bump the libxcb soname at the next release.
2006-10-06Remove xcb_get_io_lock from the Xlib-specific API: it is no longer used.Jamey Sharp2-9/+0
2006-10-06Remove the 'int *error' out-parameter for xcb_poll_for_event.Jamey Sharp2-24/+7
2006-10-04Add xcb_xlib_lock and xcb_xlib_unlock, a special-purpose two-level recursive ↵Jamey Sharp4-2/+60
lock just for libX11.
2006-10-04Factor out pthread_mutex_lock and unlock calls for the iolock.Jamey Sharp4-16/+28
2006-09-30fix some indentation, remove args of the main function (not needed), ↵TORRI Vincent1-32/+32
xcb_sync -> xcb_aux_sync. Jamey, it seems that your script transforms XCBGetSetup into a type, instead of a function. Same for XCBSetupVendor. Maybe there are other fuctions that have the same problem.
2006-09-30update tutorial to the new api. Add some doc about cursors. Add some colors ↵TORRI Vincent2-1196/+1266
to section 6 (Opening and closing the connection to an X server). Tell me if you want to keep colors or not (colors can be modified in xcb.css)
2006-09-25Release libxcb 1.0 RC1 (0.9.91).1.0-RC1Jamey Sharp1-1/+1
2006-09-25Stop installing the protocol descriptions for extensions to an extensions/Josh Triplett4-97/+112
subdirectory
2006-09-25Actually install xcb-xlib.pc, and ship xcb-xlib.pc.in in distribution tarballsJosh Triplett1-0/+2
2006-09-25Ensure api_conv.pl is idempotent on names of constants: XCB_[A-Z0-9_]+.Jamey Sharp1-1/+1
2006-09-25Move header files to $includedir/xcb (generally $prefix/include/xcb).Jamey Sharp2-1/+2
2006-09-25Split the Xlib compatibility functions into a separate library libxcb-xlibJosh Triplett3-2/+18
We don't want to have to change the libxcb soname if we later manage to remove the Xlib compatibility functions, and nothing except Xlib should ever use them, so split them into a separate library.
2006-09-25Ignore the deletion of debian/ from master.Jamey Sharp0-0/+0
2006-09-25XCB no longer needs x11proto-core-dev.Jamey Sharp1-2/+2
2006-09-25Move debian/ directory to new branch "debian".Jamey Sharp45-1525/+0
2006-09-25We no longer need xproto: do not list it as a dependency.Jamey Sharp4-5/+3
2006-09-25Lowercase library names to correspond with the new API.Jamey Sharp64-243/+243
2006-09-24Add XCBAllPlanes from xcb-image util library.Ian Osgood1-0/+1
2006-09-24Integrate top-level .gitignore into .gitignore for each subdirectoryJosh Triplett1-0/+29
In preparation for the repository split, move the relevant contents of the top-level .gitignore into the .gitignore for each immediate subdirectory.
2006-09-24now, I know how to use api_conv.pl :)TORRI Vincent1-0/+17
2006-09-23Remove the xcb_[extension]_init functions; use xcb_get_extension_data directlyJosh Triplett1-5/+0
2006-09-23More fixups for incorrect API conversions by api_conv.plJosh Triplett2-14/+13
2006-09-23Convert the XCB test suite to the new APIJosh Triplett1-11/+11
2006-09-23Apply const-names.xsl to the un-renamed XML; replace the XSL with the result.Jamey Sharp2-21/+572
2006-09-23We do not conflict with Xmd.h anymore; remove the include hack from xcb_auth.cJosh Triplett1-10/+2
2006-09-23Fix some mis-conversions by api_conv.pl, and remove the now-unused Xmd typesJosh Triplett2-15/+3
2006-09-23The Great XCB RenamingJosh Triplett14-392/+506
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-23Special cases to agree with the conventions Josh and I have hashed out.Jamey Sharp1-2/+35
2006-09-22Handle remaining incorrect API translations in api_conv.pl.Jamey Sharp1-2/+15
The big change is treating numbers as separate "words" in the translation, which leads to funny-looking names like xcb_char_2_b_t, but makes more sense than the alternative in other situations and was suggested on the mailing list. This version still disagrees with Vincent's last proposed XSL, but I think my output is now preferable. Hopefully Josh has been thinking along the same lines.
2006-09-22Make xcb_conn.c agree that XCBSetupReq is now XCBSetupRequest.Jamey Sharp1-3/+3
2006-09-22List xproto.xml path explicitly instead of relying on GNU Make $< expansionAlan Coopersmith1-1/+1
(Some non-gnu makes, such as Solaris make, only recognize $< in implicit suffix rules, not explicit ones like this.)
2006-09-21Shut down the connection in all "fatal" error cases.Jamey Sharp3-1/+32
2006-09-21Add a private connection shutdown method for error cases.Jamey Sharp2-0/+6
2006-09-21Make all public functions do nothing on an error connection.Jamey Sharp6-13/+50
2006-09-21Convert connection functions to return error objects.Jamey Sharp2-6/+10
2006-09-21Provide a "has error" property for XCBConnection.Jamey Sharp3-0/+23
2006-09-21Refactor XCBPollForEvent with a shorter critical section.Jamey Sharp1-6/+12
This simplifies the patch for bug #8208 later.
2006-09-18XCB*Id is a variable, not a type: adjust API conventions accordingly.Jamey Sharp1-1/+1