summaryrefslogtreecommitdiff
path: root/src/c-client.xsl
AgeCommit message (Collapse)Author
2006-11-19Bug #5958: Also zero out the implicit pad byte in empty requests.Jamey Sharp
2006-11-19Remove support for the <localfield> tag: nothing needs it.Jamey Sharp
Only one use of <localfield> remained, for a list length expression in xv.xml. List length parameters that don't actually appear in the protocol should be left implicit: if no length expression is given, then a localfield will be automatically created by c-client.xsl.
2006-11-19Bug #5958: zero out padding bytes in requests.Jamey Sharp
2006-11-18Fix Doxygen warnings.Jamey Sharp
Specifically, fixes these two warnings which were emitted for every generated source file: * Warning: end of file while inside a group * Warning: group XCB_BigRequests_API already documented. Skipping documentation.
2006-10-29Added initial doxygen generation stuff. This should probably be cleaned up ↵Jeremy Kolb jkolb@brandeis.edu
later. Added support for major/minor-version attributes in the xcb tag. This is just to give some reference and help people when using *query_version.
2006-10-14Define and use constants for opcode numbers.Zephaniah E. Hull
Hard coding the opcode numbers in the function just makes it harder to figure out what's going on, but much more to the point, not defining the opcodes in the header makes it impossible to use the generated headers instead of the x11proto headers in the server. The name I settled on is very simple, for an extension by the name of xconf, and a request by the name of list_devices, we get XCB_XCONF_LIST_DEVICES. If this somehow causes problems, we can probably add a _OP somewhere in there, but. Acked-by: Jamey Sharp <jamey@minilop.net> Closes: #8641
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-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-09-23Remove the xcb_[extension]_init functions; use xcb_get_extension_data directlyJosh 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-07-30Implement error handling plan 7.Josh Triplett
Needs improvement: should not duplicate the code of every request function.
2006-07-30Parameterize context in cookie-type and request-matching template.Josh Triplett
2006-06-15Remove arbitrary division between xcb_types and xproto by mergingJosh Triplett
xcb_types.xml into xproto.xml.
2006-04-27Declare arguments const in the various structure accessors, so XCBGetSetup ↵Jamey Sharp
is not so painful to use.
2006-03-15Change <bit> syntax to <bit>n</bit> as Jamey and Josh suggestedIan Osgood
and add more button, key, and graphics enumerations.
2006-03-14Add an expression construct <bit bit="n"/>Ian Osgood
for mask enumerations such as CW flags. Replaces the C-specific use of 1<<n in xproto.xml
2006-03-11Portability fixes. Should help DragonFly and Solaris, and should not hurt ↵Jamey Sharp
anything else. Tested only on linux so far though.
2006-03-03API/ABI change: XCBSendRequest returns the sequence number instead of using ↵Jamey Sharp
an out-parameter. Now 0 is a special sequence number indicating failure.
2006-03-02Tweak to previous API change: Require that spare iovecs fall before ↵Jamey Sharp
vector[0]. Leave vector in well-defined state.
2006-03-02Bugfix: The fixed-length part needs two iovecs reserved, just like all the ↵Jamey Sharp
other parts.
2006-03-02Use XPath position() function instead of xsl:number, to evaluate array ↵Jamey Sharp
indices while generating code for easier readability.
2006-03-02API/ABI change: XCBSendRequest callers must pad to 4-byte boundaries now. ↵Jamey Sharp
When not in RAW mode, a null pointer for iov_base is replaced by up to 3 padding bytes.
2006-02-26API/ABI break: Add flags to XCBSendRequest, first for error-checked requests.Jamey Sharp
There's no more race condition between event and reply handling. The *RequestBlind and *RequestChecked functions are not yet implemented.
2006-02-18Remove xcl and CVSROOT.Josh Triplett