summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-10-07Release libxcb 1.0 RC2 (0.9.92).1.0-RC2Jamey Sharp
2006-10-07Bugfix: make Plan 7 'checked' requests work correctly.Jamey Sharp
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 Osgood
2006-10-07Move xcb_generate_id from xcbext.h to xcb.hJosh Triplett
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 Triplett
2006-10-07Declare "struct foo" or "enum foo" as well as the typedef'd name "foo".Jamey Sharp
2006-10-07Handle "xidunion" instead of "union" for XID unions like DRAWABLE and FONTABLEJosh Triplett
2006-10-06api_conv.pl: replace xcb_*_new with calls directly to xcb_generate_id, now ↵Jamey Sharp
that we have no type-safety XID wrappers.
2006-10-06Refer to the "xlib lock" rather than the "IOLock" in xcbxlib.hJosh Triplett
2006-10-06Remove XID wrapper structures and replace them with uint32_t typedefsJosh Triplett
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 Sharp
2006-10-06Remove the 'int *error' out-parameter for xcb_poll_for_event.Jamey Sharp
2006-10-04Add xcb_xlib_lock and xcb_xlib_unlock, a special-purpose two-level recursive ↵Jamey Sharp
lock just for libX11.
2006-10-04Factor out pthread_mutex_lock and unlock calls for the iolock.Jamey Sharp
2006-09-30fix some indentation, remove args of the main function (not needed), ↵TORRI Vincent
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 Vincent
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 Sharp
2006-09-25Stop installing the protocol descriptions for extensions to an extensions/Josh Triplett
subdirectory
2006-09-25Actually install xcb-xlib.pc, and ship xcb-xlib.pc.in in distribution tarballsJosh Triplett
2006-09-25Ensure api_conv.pl is idempotent on names of constants: XCB_[A-Z0-9_]+.Jamey Sharp
2006-09-25Move header files to $includedir/xcb (generally $prefix/include/xcb).Jamey Sharp
2006-09-25Split the Xlib compatibility functions into a separate library libxcb-xlibJosh Triplett
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-25Move debian/ directory to new branch "debian".Jamey Sharp
2006-09-25We no longer need xproto: do not list it as a dependency.Jamey Sharp
2006-09-25Lowercase library names to correspond with the new API.Jamey Sharp
2006-09-24Add XCBAllPlanes from xcb-image util library.Ian Osgood
2006-09-24Integrate top-level .gitignore into .gitignore for each subdirectoryJosh Triplett
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 Vincent
2006-09-23Remove the xcb_[extension]_init functions; use xcb_get_extension_data directlyJosh Triplett
2006-09-23More fixups for incorrect API conversions by api_conv.plJosh Triplett
2006-09-23Convert the XCB test suite to the new APIJosh Triplett
2006-09-23Apply const-names.xsl to the un-renamed XML; replace the XSL with the result.Jamey Sharp
2006-09-23We do not conflict with Xmd.h anymore; remove the include hack from xcb_auth.cJosh Triplett
2006-09-23Fix some mis-conversions by api_conv.pl, and remove the now-unused Xmd typesJosh Triplett
2006-09-23The Great XCB RenamingJosh Triplett
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 Sharp
2006-09-22Handle remaining incorrect API translations in api_conv.pl.Jamey Sharp
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 Sharp
2006-09-22List xproto.xml path explicitly instead of relying on GNU Make $< expansionAlan Coopersmith
(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 Sharp
2006-09-21Add a private connection shutdown method for error cases.Jamey Sharp
2006-09-21Make all public functions do nothing on an error connection.Jamey Sharp
2006-09-21Convert connection functions to return error objects.Jamey Sharp
2006-09-21Provide a "has error" property for XCBConnection.Jamey Sharp
2006-09-21Refactor XCBPollForEvent with a shorter critical section.Jamey Sharp
This simplifies the patch for bug #8208 later.
2006-09-18XCB*Id is a variable, not a type: adjust API conventions accordingly.Jamey Sharp
2006-09-18Fix bug #7261: events do not signal the end of replies for that sequence number.Jamey Sharp
2006-09-18Handle names of constants during API conversion.Jamey Sharp
Use an XSLT stylesheet to get a list of all the constant names.
2006-09-17Complete rewrite of api_conv.pl.Jamey Sharp
Now handles all API changes except constant names, which are treated like type names.
2006-09-14Simplify the API conversion tool without functionality changes.Jamey Sharp