- 23 Sep, 2006 3 commits
-
-
Josh Triplett authored
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
-
Jamey Sharp authored
-
Jamey Sharp authored
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.
-
- 22 Sep, 2006 2 commits
-
-
Jamey Sharp authored
-
(Some non-gnu makes, such as Solaris make, only recognize $< in implicit suffix rules, not explicit ones like this.)
-
- 21 Sep, 2006 6 commits
-
-
Jamey Sharp authored
-
Jamey Sharp authored
-
Jamey Sharp authored
-
Jamey Sharp authored
-
Jamey Sharp authored
-
Jamey Sharp authored
This simplifies the patch for bug #8208 later.
-
- 18 Sep, 2006 4 commits
-
-
Jamey Sharp authored
-
Jamey Sharp authored
-
Jamey Sharp authored
Use an XSLT stylesheet to get a list of all the constant names.
-
Jamey Sharp authored
Now handles all API changes except constant names, which are treated like type names.
-
- 14 Sep, 2006 2 commits
-
-
Jamey Sharp authored
-
-
- 13 Sep, 2006 1 commit
-
-
Jamey Sharp authored
-
- 12 Sep, 2006 4 commits
-
-
Jamey Sharp authored
-
Jamey Sharp authored
Remove deprecated public API functions in preparation for 1.0 release. Xlib-specific deprecation remains.
-
Bart Massey authored
Got "make distcheck" to work (whatever that does).
-
Bart Massey authored
Made extensions directory persist.
-
- 09 Sep, 2006 1 commit
-
-
Jamey Sharp authored
-
- 14 Aug, 2006 1 commit
-
-
- 31 Jul, 2006 3 commits
-
-
Josh Triplett authored
Needs improvement: should not duplicate the code of every request function.
-
Josh Triplett authored
-
Jamey Sharp authored
Issue 0, 1, or 2 syncs as needed and do not handle 16-bit wrap until absolutely necessary.
-
- 30 Jul, 2006 2 commits
-
-
Josh Triplett authored
-
Josh Triplett authored
-
- 28 Jul, 2006 1 commit
-
-
Eric Anholt authored
-
- 25 Jul, 2006 2 commits
-
-
Eric Anholt authored
The installed headers can't be relying on the presence of the internal config.h defines, and it was breaking the xcb build for me as well due to config.h not being included early enough.
-
TORRI Vincent authored
-
- 07 Jul, 2006 1 commit
-
-
Ian Osgood authored
-
- 01 Jul, 2006 2 commits
-
-
Ian Osgood authored
-
Keith Packard authored
Create a macro, XCB_SEQUENCE_COMPARE, that accepts two sequence numbers and a comparison operator and correctly handles 32-bit wrap around. Rewrite all ordered sequence number comparisons to use this macro. Also, caught one error where a sequence was stored in a signed int variable. Push out a GetInputFocus request when the sequence number does wrap at 32 bits so that applications cannot see sequence 0 (as that is an error indicator).
-
- 15 Jun, 2006 1 commit
-
-
Josh Triplett authored
xcb_types.xml into xproto.xml.
-
- 08 Jun, 2006 1 commit
-
-
TORRI Vincent authored
-
- 30 May, 2006 1 commit
-
-
Ian Osgood authored
-
- 15 May, 2006 2 commits
-
-
Jamey Sharp authored
-
Josh Triplett authored
-