Commit Graph

740 Commits

Author SHA1 Message Date
Ian Osgood 4142e34695 Remove xcb-util dependency on proto/X11
by moving many defs from X.h to <enum>s in xproto.xml
2006-03-14 18:23:37 -08:00
Ian Osgood f5c4956a81 Fix XCBGetSetup to match prototype. 2006-03-14 11:53:01 -08:00
Ian Osgood 9472c251ae Merge branch 'master' of git+ssh://iano@git.freedesktop.org/git/xcb 2006-03-14 11:44:43 -08:00
Ian Osgood 71ddf29d00 Add an expression construct <bit bit="n"/>
for mask enumerations such as CW flags.
Replaces the C-specific use of 1<<n in xproto.xml
2006-03-14 10:18:22 -08:00
TORRI Vincent 0d648ac0ab doxygen documentation of the API 2006-03-14 07:40:39 +01:00
Ian Osgood a810d1ffe4 Remove dependencies on Xmd.h and X.h
(Still including X.h until defs are moved to xproto.xml
 and xcb-util and xcb-demo are fixed to use them.)
2006-03-13 17:49:17 -08:00
Ian Osgood be1302b6ef Remove last deprecation warning. 2006-03-13 10:36:13 -08:00
Ian Osgood d8de2c7c2a Merge branch 'master' of git+ssh://iano@git.freedesktop.org/git/xcb 2006-03-12 23:03:24 -08:00
Ian Osgood e7576738c3 Restructure to remove most deprecation warnings. 2006-03-12 23:02:45 -08:00
Jamey Sharp 5e0cfa84be Use libXdmcp, if available with XdmcpWrap, for XDM-AUTHORIZATION-1. Closes bug #6106. 2006-03-12 17:15:50 -08:00
Jamey Sharp d69c403cba Merge branch 'master' of git+ssh://git.freedesktop.org/git/xcb 2006-03-12 13:36:33 -08:00
Jamey Sharp b83f18a4cc Only _xcb_conn_wait calls _xcb_out_write now, so move it to xcb_conn.c and make it static. 2006-03-12 13:20:29 -08:00
Jamey Sharp fb61c94d68 Remove c->out.vec. Pass iovecs directly down the call tree. Add _xcb_out_flush_to, refactor other functions, make write_block static. 2006-03-12 12:40:34 -08:00
Jamey Sharp 5cdc02e344 Portability fixes. Should help DragonFly and Solaris, and should not hurt anything else. Tested only on linux so far though. 2006-03-11 20:32:04 -08:00
Jamey Sharp 83e652f566 Move c->out.vec refs out of _xcb_conn_wait up to _xcb_out_flush. 2006-03-09 00:02:42 -08:00
Jamey Sharp 5b0ae3421d Merge branch 'master' of git+ssh://git.freedesktop.org/git/xcb 2006-03-08 22:50:48 -08:00
Jamey Sharp fd1f9cb13f Unify autofoo .gitignore bits into one top-level file, and remove resulting redundancies. 2006-03-08 22:49:59 -08:00
Ian Osgood 1261a4150c Add symbols for error and reply response_types,
and use XCBKeymapNotify from xcb-proto.
2006-03-08 22:26:20 -08:00
Ian Osgood 6fb661f3ff Bugfix: null-terminate the path in sockaddr_un before using it.
This may fix itermittant connect failures.
2006-03-08 21:56:57 -08:00
Jamey Sharp 621f891c49 Move c->out.vec refs out of _xcb_out_write up to _xcb_conn_wait. 2006-03-08 14:21:16 -08:00
Jamey Sharp c491eeb9a9 Fix off-by-one error that kept the last byte(s) of the output queue from being used. 2006-03-07 21:19:58 -08:00
TORRI Vincent 522a6e0eac Use the GCC 4 visibility extension to mark everything in xcbint.h hidden. 2006-03-07 10:25:23 -08:00
Jamey Sharp 5437032c7d Merge branch 'master' of git+ssh://git.freedesktop.org/git/xcb 2006-03-07 00:26:38 -08:00
Jamey Sharp d1cfd4d0a2 Off-by-one error in the sequence-wrapping proof, and therefore in the corresponding code. 2006-03-06 01:10:20 -08:00
TORRI Vincent 2ad5450ff3 wrong spaces 2006-03-05 09:49:02 +01:00
TORRI Vincent 81ea81c6d9 fix some font sizes 2006-03-05 09:41:11 +01:00
TORRI Vincent 66364da372 fixes + valid css 2006-03-05 09:40:15 +01:00
TORRI Vincent 01656220ef fixes + valid css 2006-03-05 09:22:03 +01:00
Jamey Sharp e5458e477d Implement provably-correct sequence wrap handling. Add flag XCB_REQUEST_DISCARD_REPLY. 2006-03-05 00:20:50 -08:00
TORRI Vincent 6659c8c63b lots of fixes. Thanks to Indan Zupancic 2006-03-05 09:05:21 +01:00
TORRI Vincent 6e4745bbd0 lots of fixes. Thanks to Indan Zupancic 2006-03-05 07:54:20 +01:00
Josh Triplett df9c7cb4f9 Add *.tar.{bz2,gz} to .gitignore for the benefit of "make distcheck". 2006-03-04 18:35:53 -08:00
Jamey Sharp 29f9fe0fc8 API/ABI change: XCBSendRequest returns the sequence number instead of using an out-parameter. Now 0 is a special sequence number indicating failure. 2006-03-03 11:08:10 -08:00
Jamey Sharp 255c21b17f Add 32-bit full_sequence fields to generic errors and events, so callers can always correlate events and errors with requests correctly. 2006-03-03 01:45:00 -08:00
Jamey Sharp 622b599c8f Tweak to previous API change: Require that spare iovecs fall before vector[0]. Leave vector in well-defined state. 2006-03-02 23:39:38 -08:00
Jamey Sharp 87905f0579 assert() that XCBSendRequest was handed enough space to set opcodes and short length fields. 2006-03-02 23:31:35 -08:00
Jamey Sharp 45e1cc0935 Bugfix: The fixed-length part needs two iovecs reserved, just like all the other parts. 2006-03-02 23:12:21 -08:00
Jamey Sharp b46953f46c Use XPath position() function instead of xsl:number, to evaluate array indices while generating code for easier readability. 2006-03-02 23:05:08 -08:00
Jamey Sharp 5e115e2441 API/ABI change: XCBSendRequest callers must pad to 4-byte boundaries now. When not in RAW mode, a null pointer for iov_base is replaced by up to 3 padding bytes. 2006-03-02 15:35:31 -08:00
Jamey Sharp ed823bf651 Separate notion of request-completed from current-request, and mark requests completed more aggressively. Detects some usage errors that are otherwise undetectable. 2006-03-02 13:49:00 -08:00
Jamey Sharp c05ae15b66 Buffer a couple CARD32s on the stack instead of using an extra iovec. Also a bugfix: do not hold a reference to longlen after it goes out of scope. 2006-02-27 12:12:33 -08:00
Jamey Sharp 8f991bdd38 Add XCB_REQUEST_RAW flag for XCBSendRequest. 2006-02-27 11:03:13 -08:00
Jamey Sharp 5e350126a7 Bugfix: how about *not* leaking all pending_replies when no reply matches, as often happens with Xlib? 2006-02-27 10:53:08 -08:00
Jamey Sharp 731c85762d Move test for other writing threads *before* allocating a sequence number. 2006-02-27 02:57:36 -08:00
Jamey Sharp 8ab4dcde9d _xcb_list is no longer used, so remove it. Simplify _xcb_map. 2006-02-27 02:14:48 -08:00
Jamey Sharp 76ad79a7ad Replace readers generic list with hand-written typesafe version. 2006-02-27 01:43:07 -08:00
Jamey Sharp fa71b9b835 Rename struct XCBReplyData to reader_list to follow my naming conventions and better reflect its purpose. 2006-02-27 01:06:15 -08:00
Jamey Sharp ff665b5726 In struct XCBReplyData, change void *data to pthread_cond_t *data. That was dumb. 2006-02-27 00:54:59 -08:00
Jamey Sharp 50acfeae36 Delete unused xcb_list functions and refactor others. 2006-02-26 23:43:44 -08:00
Jamey Sharp 86ce18c22c Replace current_reply generic queue with hand-written version. No generic queues remain so delete their implementation. 2006-02-26 22:58:17 -08:00