profile/ivi/libxcb.git
18 years agofix compilation with c++ compilers. Remove some trailing spaces
TORRI Vincent [Thu, 8 Jun 2006 04:59:47 +0000 (06:59 +0200)]
fix compilation with c++ compilers. Remove some trailing spaces

18 years agoDeprecate XCBSync, move to XCBAuxSync.
Ian Osgood [Tue, 30 May 2006 18:54:25 +0000 (11:54 -0700)]
Deprecate XCBSync, move to XCBAuxSync.

18 years agoUse correct word offset when testing for GetFBConfigsSGIX VendorPrivate.
Jamey Sharp [Mon, 15 May 2006 05:49:18 +0000 (22:49 -0700)]
Use correct word offset when testing for GetFBConfigsSGIX VendorPrivate.

18 years agoIn the GLX workaround, use !strcmp to check for equality with "GLX", not strcmp.
Josh Triplett [Mon, 15 May 2006 05:37:55 +0000 (22:37 -0700)]
In the GLX workaround, use !strcmp to check for equality with "GLX", not strcmp.

18 years agoStop overwriting CFLAGS in xcb/src/Makefile.am.
Josh Triplett [Wed, 10 May 2006 21:22:27 +0000 (14:22 -0700)]
Stop overwriting CFLAGS in xcb/src/Makefile.am.

18 years agoFix dependencies on libXCB.la to not walk down from $(top_builddir); this fixes paral...
Donnie Berkholz [Sun, 7 May 2006 22:44:37 +0000 (15:44 -0700)]
Fix dependencies on libXCB.la to not walk down from $(top_builddir); this fixes parallel builds.

18 years agoWork around the unsetting of CFLAGS in src/Makefile.am, by passing CFLAGS to make...
Josh Triplett [Sun, 30 Apr 2006 00:02:43 +0000 (17:02 -0700)]
Work around the unsetting of CFLAGS in src/Makefile.am, by passing CFLAGS to make via DEB_MAKE_INVOKE in debian/rules.

18 years agoRemove unnecessary dirs files.
Josh Triplett [Sat, 29 Apr 2006 23:28:01 +0000 (16:28 -0700)]
Remove unnecessary dirs files.

18 years agoStop setting DEB_CONFIGURE_EXTRA_FLAGS = --with-opt in debian/rules; cdbs does the...
Josh Triplett [Sat, 29 Apr 2006 23:09:06 +0000 (16:09 -0700)]
Stop setting DEB_CONFIGURE_EXTRA_FLAGS = --with-opt in debian/rules; cdbs does the right thing on its own, and correctly handles DEB_BUILD_OPTS.

18 years agoSet DEB_MAKE_CHECK_TARGET=check in debian/rules.
Josh Triplett [Sat, 29 Apr 2006 22:57:28 +0000 (15:57 -0700)]
Set DEB_MAKE_CHECK_TARGET=check in debian/rules.

18 years agoAdd a Section field for the source package in debian/control.
Josh Triplett [Sat, 29 Apr 2006 22:34:11 +0000 (15:34 -0700)]
Add a Section field for the source package in debian/control.

18 years agoDrop library version from source package name.
Josh Triplett [Sat, 29 Apr 2006 18:15:47 +0000 (11:15 -0700)]
Drop library version from source package name.

18 years agoSet distribution to experimental.
Josh Triplett [Sat, 29 Apr 2006 17:58:23 +0000 (10:58 -0700)]
Set distribution to experimental.

18 years agoRemove Bugs field in debian/control, so bugs go to the Debian BTS.
Josh Triplett [Sat, 29 Apr 2006 17:56:56 +0000 (10:56 -0700)]
Remove Bugs field in debian/control, so bugs go to the Debian BTS.

18 years agoMove the remainder of the constants in X.h into XML enumerations.
Ian Osgood [Fri, 28 Apr 2006 22:27:09 +0000 (15:27 -0700)]
Move the remainder of the constants in X.h into XML enumerations.
Fix xcb_auth to use one of the new enumerations.

18 years agoChange libxcbxvmc0-dev Depends to libxcbxv0-dev, not libxv0-dev.
Josh Triplett [Fri, 28 Apr 2006 07:51:53 +0000 (00:51 -0700)]
Change libxcbxvmc0-dev Depends to libxcbxv0-dev, not libxv0-dev.

18 years agoUpdate debian packaging to create library, -dev, and -dbg packages for each new exten...
Josh Triplett [Fri, 28 Apr 2006 06:40:55 +0000 (23:40 -0700)]
Update debian packaging to create library, -dev, and -dbg packages for each new extension library.

18 years agoFix the year in COPYING.
Josh Triplett [Fri, 28 Apr 2006 00:32:20 +0000 (17:32 -0700)]
Fix the year in COPYING.

18 years agoAdd an explanation of libtool -version-info to src/Makefile.am, and add an explicit...
Josh Triplett [Fri, 28 Apr 2006 00:20:52 +0000 (17:20 -0700)]
Add an explanation of libtool -version-info to src/Makefile.am, and add an explicit -version-info 0:0:0 for all libraries.

18 years agoFix tutorial to use XCBSetup rather than the previous deprecated name XCBConnSetupSuc...
Josh Triplett [Thu, 27 Apr 2006 23:24:35 +0000 (16:24 -0700)]
Fix tutorial to use XCBSetup rather than the previous deprecated name XCBConnSetupSuccessRep.

18 years agoRemove execute bit on tutorial.
Josh Triplett [Thu, 27 Apr 2006 23:15:50 +0000 (16:15 -0700)]
Remove execute bit on tutorial.

18 years agoFix a comment for the renaming of XCBConnSetupSuccessRep to XCBSetup, and fix another...
Josh Triplett [Thu, 27 Apr 2006 20:47:21 +0000 (13:47 -0700)]
Fix a comment for the renaming of XCBConnSetupSuccessRep to XCBSetup, and fix another comment which had a copy-paste error.

18 years agoRename xcb-xfree86dri.pc.in to xcb-xf86dri.pc.in to match libXCBxf86dri, change its...
Josh Triplett [Thu, 27 Apr 2006 19:33:41 +0000 (12:33 -0700)]
Rename xcb-xfree86dri.pc.in to xcb-xf86dri.pc.in to match libXCBxf86dri, change its Libs line to use -lXCBxf86dri, and change configure.ac and Makefile.am accordingly.

18 years agoFix typo and rephrase checking message.
Josh Triplett [Thu, 27 Apr 2006 19:04:52 +0000 (12:04 -0700)]
Fix typo and rephrase checking message.

18 years agoDeclare arguments const in the various structure accessors, so XCBGetSetup is not...
Jamey Sharp [Thu, 27 Apr 2006 17:34:22 +0000 (10:34 -0700)]
Declare arguments const in the various structure accessors, so XCBGetSetup is not so painful to use.

18 years agoRename ConnSetup* to Setup*, Setup*Rep to Setup*, and SetupSuccess* to Setup*. Provid...
Jamey Sharp [Thu, 27 Apr 2006 06:19:16 +0000 (23:19 -0700)]
Rename ConnSetup* to Setup*, Setup*Rep to Setup*, and SetupSuccess* to Setup*. Provide deprecated backwards-compatability functions and typedefs for the old names, to be removed before 1.0.

18 years agoAdd .pc.in files for all the new extension libraries. Generate .pc files from the...
Josh Triplett [Wed, 26 Apr 2006 18:23:32 +0000 (11:23 -0700)]
Add .pc.in files for all the new extension libraries.  Generate .pc files from the new .pc.in files in configure.ac.  Install the new .pc files in Makefile.am, and add the new .pc.in files to EXTRA_DIST.

Based on a patch by Vincent Torri.  Changes from that patch: add Requires to the .pc.in files based on the <import>s in the extensions, add a .pc.in file for libXCBxtest, change Name and Description fields to match extension names.

18 years agoChanges to makefile to build libXCBxtest
Ian Osgood [Wed, 26 Apr 2006 17:50:31 +0000 (10:50 -0700)]
Changes to makefile to build libXCBxtest

18 years agoAdd support for DECnet. Still needs configure-script options to enable.
Patrick Caulfield [Mon, 24 Apr 2006 15:29:18 +0000 (08:29 -0700)]
Add support for DECnet. Still needs configure-script options to enable.

18 years agoMinor performance improvement: do not call _xcb_in_expect_reply unless it is needed...
Jamey Sharp [Thu, 20 Apr 2006 18:51:01 +0000 (11:51 -0700)]
Minor performance improvement: do not call _xcb_in_expect_reply unless it is needed. It is not often needed.

18 years agoAdd <sys/select.h> to xcb_in.c to fix bug #6122.
Jamey Sharp [Thu, 20 Apr 2006 05:48:10 +0000 (22:48 -0700)]
Add <sys/select.h> to xcb_in.c to fix bug #6122.

18 years agoBugfix: xcb_conn.c included <sys/fcntl.h> instead of the POSIX-standard <fcntl.h>.
Alan Coopersmith [Thu, 20 Apr 2006 04:51:33 +0000 (21:51 -0700)]
Bugfix: xcb_conn.c included <sys/fcntl.h> instead of the POSIX-standard <fcntl.h>.

18 years agoOnly set CWARNFLAGS to gnu flags if $GCC is set. Otherwise check for Sun compiler...
Alan Coopersmith [Thu, 20 Apr 2006 04:40:42 +0000 (21:40 -0700)]
Only set CWARNFLAGS to gnu flags if $GCC is set. Otherwise check for Sun compiler and use its enhanced warning flag.

18 years agoMerge branch 'master' of git+ssh://iano@git.freedesktop.org/git/xcb
Ian Osgood [Thu, 20 Apr 2006 03:45:31 +0000 (20:45 -0700)]
Merge branch 'master' of git+ssh://iano@git.freedesktop.org/git/xcb

18 years agoRemove the last goto in XCB: XCBWaitForReply now permits multiple threads to force...
Jamey Sharp [Thu, 20 Apr 2006 03:31:20 +0000 (20:31 -0700)]
Remove the last goto in XCB: XCBWaitForReply now permits multiple threads to force the same cookie.

18 years agoRestructure XCBWaitForReply to eliminate two gotos.
Jamey Sharp [Thu, 20 Apr 2006 03:23:37 +0000 (20:23 -0700)]
Restructure XCBWaitForReply to eliminate two gotos.

18 years agoFixed poll_for_reply, added comments, and refactored XCBWaitForReply to call poll_for...
Jamey Sharp [Thu, 20 Apr 2006 03:15:15 +0000 (20:15 -0700)]
Fixed poll_for_reply, added comments, and refactored XCBWaitForReply to call poll_for_reply.

18 years agoAdd XCBPollForReply and deprecate XCBGetRequestRead and XCBGetQueuedRequestRead.
Jamey Sharp [Wed, 19 Apr 2006 23:49:32 +0000 (16:49 -0700)]
Add XCBPollForReply and deprecate XCBGetRequestRead and XCBGetQueuedRequestRead.

18 years agoMerge branch 'master' of git+ssh://git.freedesktop.org/git/xcb
Josh Triplett [Sun, 16 Apr 2006 18:23:52 +0000 (11:23 -0700)]
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xcb

18 years agoImprove package descriptions.
Josh Triplett [Sun, 16 Apr 2006 18:05:50 +0000 (11:05 -0700)]
Improve package descriptions.

18 years agoChange Depends on x-dev to x11proto-core-dev.
Josh Triplett [Sun, 16 Apr 2006 16:59:13 +0000 (09:59 -0700)]
Change Depends on x-dev to x11proto-core-dev.

18 years agoAdd Build-Depends on libxdmcp-dev.
Josh Triplett [Sun, 16 Apr 2006 16:25:36 +0000 (09:25 -0700)]
Add Build-Depends on libxdmcp-dev.

18 years ago * Debian X11R7 transition:
Josh Triplett [Sun, 16 Apr 2006 16:24:01 +0000 (09:24 -0700)]
  * Debian X11R7 transition:
    * Change Build-Depends on x-dev to x11proto-core-dev.
    * Install headers to /usr/include/X11, not /usr/X11R6/include/X11.
    * Pre-Depends: x11-common (>= 1:1.09).

18 years agoStop installing the libtool .la files.
Josh Triplett [Sun, 16 Apr 2006 05:50:33 +0000 (22:50 -0700)]
Stop installing the libtool .la files.

18 years agoUpdate -dbg package handling to work with debhelper compat level 5.
Josh Triplett [Sun, 16 Apr 2006 03:44:11 +0000 (20:44 -0700)]
Update -dbg package handling to work with debhelper compat level 5.
Increase minimum version on debhelper Build-Depends to 5.0.0.

18 years agoStop running autoreconf in debian/rules, and remove Build-Depends for
Josh Triplett [Sun, 16 Apr 2006 03:22:05 +0000 (20:22 -0700)]
Stop running autoreconf in debian/rules, and remove Build-Depends for
autoconf, automake, and libtool.

18 years agoAdd xcbint.h to noinst_HEADERS, so it gets distributed.
Josh Triplett [Sun, 16 Apr 2006 03:21:22 +0000 (20:21 -0700)]
Add xcbint.h to noinst_HEADERS, so it gets distributed.

18 years agoUse screensaver.xml
Josh Triplett [Sat, 15 Apr 2006 21:17:52 +0000 (14:17 -0700)]
Use screensaver.xml

18 years agoPut EXTHEADERS and EXTSOURCES in order.
Josh Triplett [Sat, 15 Apr 2006 19:52:05 +0000 (12:52 -0700)]
Put EXTHEADERS and EXTSOURCES in order.

18 years agoSplit all non-essential extensions into their own separate libraries, named
Josh Triplett [Sat, 15 Apr 2006 19:26:03 +0000 (12:26 -0700)]
Split all non-essential extensions into their own separate libraries, named
libXCBextname.  To use extension extname, include extname.h and link with
-lXCBextname.  This allows extensions to change without bumping the main
libXCB version.

bigreq and xc_misc remain in libXCB, because XCB uses them internally to make
big requests and to allocate XIDs, respectively.

18 years agoRetry a select() if it returns with EINTR. Fixes IO errors in Xephyr, which is
Eric Anholt [Mon, 10 Apr 2006 02:51:10 +0000 (19:51 -0700)]
Retry a select() if it returns with EINTR.  Fixes IO errors in Xephyr, which is
often interrupted by timers.

18 years agoRemove unnecessary include. Noticed by jamey.
Eric Anholt [Mon, 10 Apr 2006 02:19:12 +0000 (19:19 -0700)]
Remove unnecessary include.  Noticed by jamey.

18 years agoWork on the tutorial, and update xproto.xml to match:
Ian Osgood [Thu, 23 Mar 2006 01:57:57 +0000 (17:57 -0800)]
Work on the tutorial, and update xproto.xml to match:
* Fixed grammar
* Answered some TODO's and added some more
* Updated X.h constants to those in xproto.h
* Added enumerations used in tutorial to xproto.xml
* Prefered XCBFlush to XCBSync
* Corrected and refactored the "events" example

I extracted the examples to test them. Where should I put them?

18 years agoRemove outdated fd.o-* entries from */debian/.gitignore (obsolete since before they...
Josh Triplett [Tue, 21 Mar 2006 22:22:21 +0000 (14:22 -0800)]
Remove outdated fd.o-* entries from */debian/.gitignore (obsolete since before they came from .cvsignore).

18 years agoThe typedefs replacing Xmd.h conflict with Xmd.h. Here is a hacky workaround: FIXME!
Jamey Sharp [Thu, 16 Mar 2006 19:27:06 +0000 (11:27 -0800)]
The typedefs replacing Xmd.h conflict with Xmd.h. Here is a hacky workaround: FIXME!

18 years agoChange <bit> syntax to <bit>n</bit> as Jamey and Josh suggested
Ian Osgood [Thu, 16 Mar 2006 06:41:08 +0000 (22:41 -0800)]
Change <bit> syntax to <bit>n</bit> as Jamey and Josh suggested
 and add more button, key, and graphics enumerations.

18 years agoRemove proto/X11 dependencies from xcb-demo.
Ian Osgood [Wed, 15 Mar 2006 18:09:47 +0000 (10:09 -0800)]
Remove proto/X11 dependencies from xcb-demo.

18 years agoRemove xcb-util dependency on proto/X11
Ian Osgood [Wed, 15 Mar 2006 02:23:37 +0000 (18:23 -0800)]
Remove xcb-util dependency on proto/X11
by moving many defs from X.h to <enum>s in xproto.xml

18 years agoFix XCBGetSetup to match prototype.
Ian Osgood [Tue, 14 Mar 2006 19:53:01 +0000 (11:53 -0800)]
Fix XCBGetSetup to match prototype.

18 years agoMerge branch 'master' of git+ssh://iano@git.freedesktop.org/git/xcb
Ian Osgood [Tue, 14 Mar 2006 19:44:43 +0000 (11:44 -0800)]
Merge branch 'master' of git+ssh://iano@git.freedesktop.org/git/xcb

18 years agoAdd an expression construct <bit bit="n"/>
Ian Osgood [Tue, 14 Mar 2006 18:18:22 +0000 (10:18 -0800)]
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

18 years agodoxygen documentation of the API
TORRI Vincent [Tue, 14 Mar 2006 06:40:39 +0000 (07:40 +0100)]
doxygen documentation of the API

18 years agoRemove dependencies on Xmd.h and X.h
Ian Osgood [Tue, 14 Mar 2006 01:49:17 +0000 (17:49 -0800)]
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.)

18 years agoRemove last deprecation warning.
Ian Osgood [Mon, 13 Mar 2006 18:36:13 +0000 (10:36 -0800)]
Remove last deprecation warning.

18 years agoMerge branch 'master' of git+ssh://iano@git.freedesktop.org/git/xcb
Ian Osgood [Mon, 13 Mar 2006 07:03:24 +0000 (23:03 -0800)]
Merge branch 'master' of git+ssh://iano@git.freedesktop.org/git/xcb

18 years agoRestructure to remove most deprecation warnings.
Ian Osgood [Mon, 13 Mar 2006 07:02:45 +0000 (23:02 -0800)]
Restructure to remove most deprecation warnings.

18 years agoUse libXdmcp, if available with XdmcpWrap, for XDM-AUTHORIZATION-1. Closes bug #6106.
Jamey Sharp [Mon, 13 Mar 2006 01:15:50 +0000 (17:15 -0800)]
Use libXdmcp, if available with XdmcpWrap, for XDM-AUTHORIZATION-1. Closes bug #6106.

18 years agoMerge branch 'master' of git+ssh://git.freedesktop.org/git/xcb
Jamey Sharp [Sun, 12 Mar 2006 21:36:33 +0000 (13:36 -0800)]
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xcb

18 years agoOnly _xcb_conn_wait calls _xcb_out_write now, so move it to xcb_conn.c and make it...
Jamey Sharp [Sun, 12 Mar 2006 21:20:29 +0000 (13:20 -0800)]
Only _xcb_conn_wait calls _xcb_out_write now, so move it to xcb_conn.c and make it static.

18 years agoRemove c->out.vec. Pass iovecs directly down the call tree. Add _xcb_out_flush_to...
Jamey Sharp [Sun, 12 Mar 2006 20:40:34 +0000 (12:40 -0800)]
Remove c->out.vec. Pass iovecs directly down the call tree. Add _xcb_out_flush_to, refactor other functions, make write_block static.

18 years agoPortability fixes. Should help DragonFly and Solaris, and should not hurt anything...
Jamey Sharp [Sun, 12 Mar 2006 04:32:04 +0000 (20:32 -0800)]
Portability fixes. Should help DragonFly and Solaris, and should not hurt anything else. Tested only on linux so far though.

18 years agoMove c->out.vec refs out of _xcb_conn_wait up to _xcb_out_flush.
Jamey Sharp [Thu, 9 Mar 2006 08:02:42 +0000 (00:02 -0800)]
Move c->out.vec refs out of _xcb_conn_wait up to _xcb_out_flush.

18 years agoMerge branch 'master' of git+ssh://git.freedesktop.org/git/xcb
Jamey Sharp [Thu, 9 Mar 2006 06:50:48 +0000 (22:50 -0800)]
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xcb

18 years agoUnify autofoo .gitignore bits into one top-level file, and remove resulting redundancies.
Jamey Sharp [Thu, 9 Mar 2006 06:49:59 +0000 (22:49 -0800)]
Unify autofoo .gitignore bits into one top-level file, and remove resulting redundancies.

18 years agoAdd symbols for error and reply response_types,
Ian Osgood [Thu, 9 Mar 2006 06:26:20 +0000 (22:26 -0800)]
Add symbols for error and reply response_types,
and use XCBKeymapNotify from xcb-proto.

18 years agoBugfix: null-terminate the path in sockaddr_un before using it.
Ian Osgood [Thu, 9 Mar 2006 05:56:57 +0000 (21:56 -0800)]
Bugfix: null-terminate the path in sockaddr_un before using it.
This may fix itermittant connect failures.

18 years agoMove c->out.vec refs out of _xcb_out_write up to _xcb_conn_wait.
Jamey Sharp [Wed, 8 Mar 2006 22:21:16 +0000 (14:21 -0800)]
Move c->out.vec refs out of _xcb_out_write up to _xcb_conn_wait.

18 years agoFix off-by-one error that kept the last byte(s) of the output queue from being used.
Jamey Sharp [Wed, 8 Mar 2006 05:19:58 +0000 (21:19 -0800)]
Fix off-by-one error that kept the last byte(s) of the output queue from being used.

18 years agoUse the GCC 4 visibility extension to mark everything in xcbint.h hidden.
TORRI Vincent [Tue, 7 Mar 2006 18:25:23 +0000 (10:25 -0800)]
Use the GCC 4 visibility extension to mark everything in xcbint.h hidden.

18 years agoMerge branch 'master' of git+ssh://git.freedesktop.org/git/xcb
Jamey Sharp [Tue, 7 Mar 2006 08:26:38 +0000 (00:26 -0800)]
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xcb

18 years agoOff-by-one error in the sequence-wrapping proof, and therefore in the corresponding...
Jamey Sharp [Mon, 6 Mar 2006 09:10:20 +0000 (01:10 -0800)]
Off-by-one error in the sequence-wrapping proof, and therefore in the corresponding code.

18 years agowrong spaces
TORRI Vincent [Sun, 5 Mar 2006 08:49:02 +0000 (09:49 +0100)]
wrong spaces

18 years agofix some font sizes
TORRI Vincent [Sun, 5 Mar 2006 08:41:11 +0000 (09:41 +0100)]
fix some font sizes

18 years agofixes + valid css
TORRI Vincent [Sun, 5 Mar 2006 08:40:15 +0000 (09:40 +0100)]
fixes + valid css

18 years agofixes + valid css
TORRI Vincent [Sun, 5 Mar 2006 08:22:03 +0000 (09:22 +0100)]
fixes + valid css

18 years agoImplement provably-correct sequence wrap handling. Add flag XCB_REQUEST_DISCARD_REPLY.
Jamey Sharp [Sun, 5 Mar 2006 08:20:50 +0000 (00:20 -0800)]
Implement provably-correct sequence wrap handling. Add flag XCB_REQUEST_DISCARD_REPLY.

18 years agolots of fixes. Thanks to Indan Zupancic
TORRI Vincent [Sun, 5 Mar 2006 08:05:21 +0000 (09:05 +0100)]
lots of fixes. Thanks to Indan Zupancic

18 years agolots of fixes. Thanks to Indan Zupancic
TORRI Vincent [Sun, 5 Mar 2006 06:54:20 +0000 (07:54 +0100)]
lots of fixes. Thanks to Indan Zupancic

18 years agoAdd *.tar.{bz2,gz} to .gitignore for the benefit of "make distcheck".
Josh Triplett [Sun, 5 Mar 2006 02:35:53 +0000 (18:35 -0800)]
Add *.tar.{bz2,gz} to .gitignore for the benefit of "make distcheck".

18 years agoAPI/ABI change: XCBSendRequest returns the sequence number instead of using an out...
Jamey Sharp [Fri, 3 Mar 2006 19:08:10 +0000 (11:08 -0800)]
API/ABI change: XCBSendRequest returns the sequence number instead of using an out-parameter. Now 0 is a special sequence number indicating failure.

18 years agoAdd 32-bit full_sequence fields to generic errors and events, so callers can always...
Jamey Sharp [Fri, 3 Mar 2006 09:45:00 +0000 (01:45 -0800)]
Add 32-bit full_sequence fields to generic errors and events, so callers can always correlate events and errors with requests correctly.

18 years agoTweak to previous API change: Require that spare iovecs fall before vector[0]. Leave...
Jamey Sharp [Fri, 3 Mar 2006 07:39:38 +0000 (23:39 -0800)]
Tweak to previous API change: Require that spare iovecs fall before vector[0]. Leave vector in well-defined state.

18 years agoassert() that XCBSendRequest was handed enough space to set opcodes and short length...
Jamey Sharp [Fri, 3 Mar 2006 07:31:35 +0000 (23:31 -0800)]
assert() that XCBSendRequest was handed enough space to set opcodes and short length fields.

18 years agoBugfix: The fixed-length part needs two iovecs reserved, just like all the other...
Jamey Sharp [Fri, 3 Mar 2006 07:12:21 +0000 (23:12 -0800)]
Bugfix: The fixed-length part needs two iovecs reserved, just like all the other parts.

18 years agoUse XPath position() function instead of xsl:number, to evaluate array indices while...
Jamey Sharp [Fri, 3 Mar 2006 07:05:08 +0000 (23:05 -0800)]
Use XPath position() function instead of xsl:number, to evaluate array indices while generating code for easier readability.

18 years agoAPI/ABI change: XCBSendRequest callers must pad to 4-byte boundaries now. When not...
Jamey Sharp [Thu, 2 Mar 2006 23:35:31 +0000 (15:35 -0800)]
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.

18 years agoSeparate notion of request-completed from current-request, and mark requests complete...
Jamey Sharp [Thu, 2 Mar 2006 21:49:00 +0000 (13:49 -0800)]
Separate notion of request-completed from current-request, and mark requests completed more aggressively. Detects some usage errors that are otherwise undetectable.

18 years agoBuffer a couple CARD32s on the stack instead of using an extra iovec. Also a bugfix...
Jamey Sharp [Mon, 27 Feb 2006 20:12:33 +0000 (12:12 -0800)]
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.

18 years agoAdd XCB_REQUEST_RAW flag for XCBSendRequest.
Jamey Sharp [Mon, 27 Feb 2006 19:03:13 +0000 (11:03 -0800)]
Add XCB_REQUEST_RAW flag for XCBSendRequest.

18 years agoBugfix: how about *not* leaking all pending_replies when no reply matches, as often...
Jamey Sharp [Mon, 27 Feb 2006 18:53:08 +0000 (10:53 -0800)]
Bugfix: how about *not* leaking all pending_replies when no reply matches, as often happens with Xlib?