Ian Osgood [Sun, 24 Sep 2006 21:10:20 +0000 (14:10 -0700)]
Add XCBAllPlanes from xcb-image util library.
Josh Triplett [Sun, 24 Sep 2006 10:15:39 +0000 (03:15 -0700)]
Integrate top-level .gitignore into .gitignore for each subdirectory
In preparation for the repository split, move the relevant contents of the
top-level .gitignore into the .gitignore for each immediate subdirectory.
TORRI Vincent [Sun, 24 Sep 2006 06:51:20 +0000 (08:51 +0200)]
now, I know how to use api_conv.pl :)
Josh Triplett [Sat, 23 Sep 2006 21:44:15 +0000 (14:44 -0700)]
Remove the xcb_[extension]_init functions; use xcb_get_extension_data directly
Josh Triplett [Sat, 23 Sep 2006 21:17:52 +0000 (14:17 -0700)]
More fixups for incorrect API conversions by api_conv.pl
Josh Triplett [Sat, 23 Sep 2006 20:59:40 +0000 (13:59 -0700)]
Convert the XCB test suite to the new API
Jamey Sharp [Sat, 23 Sep 2006 20:51:10 +0000 (13:51 -0700)]
Apply const-names.xsl to the un-renamed XML; replace the XSL with the result.
Josh Triplett [Sat, 23 Sep 2006 20:33:27 +0000 (13:33 -0700)]
We do not conflict with Xmd.h anymore; remove the include hack from xcb_auth.c
Josh Triplett [Sat, 23 Sep 2006 20:31:13 +0000 (13:31 -0700)]
Fix some mis-conversions by api_conv.pl, and remove the now-unused Xmd types
Josh Triplett [Sat, 23 Sep 2006 19:22:22 +0000 (12:22 -0700)]
The Great XCB Renaming
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 [Sat, 23 Sep 2006 08:33:45 +0000 (01:33 -0700)]
Special cases to agree with the conventions Josh and I have hashed out.
Jamey Sharp [Sat, 23 Sep 2006 05:53:17 +0000 (22:53 -0700)]
Handle remaining incorrect API translations in api_conv.pl.
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.
Jamey Sharp [Fri, 22 Sep 2006 22:37:49 +0000 (15:37 -0700)]
Make xcb_conn.c agree that XCBSetupReq is now XCBSetupRequest.
Alan Coopersmith [Fri, 22 Sep 2006 18:53:21 +0000 (11:53 -0700)]
List xproto.xml path explicitly instead of relying on GNU Make $< expansion
(Some non-gnu makes, such as Solaris make, only recognize $< in implicit
suffix rules, not explicit ones like this.)
Jamey Sharp [Fri, 15 Sep 2006 08:51:05 +0000 (01:51 -0700)]
Shut down the connection in all "fatal" error cases.
Jamey Sharp [Fri, 15 Sep 2006 08:57:53 +0000 (01:57 -0700)]
Add a private connection shutdown method for error cases.
Jamey Sharp [Fri, 15 Sep 2006 08:09:27 +0000 (01:09 -0700)]
Make all public functions do nothing on an error connection.
Jamey Sharp [Fri, 15 Sep 2006 07:39:51 +0000 (00:39 -0700)]
Convert connection functions to return error objects.
Jamey Sharp [Fri, 15 Sep 2006 07:29:39 +0000 (00:29 -0700)]
Provide a "has error" property for XCBConnection.
Jamey Sharp [Thu, 21 Sep 2006 19:13:37 +0000 (12:13 -0700)]
Refactor XCBPollForEvent with a shorter critical section.
This simplifies the patch for bug #8208 later.
Jamey Sharp [Mon, 18 Sep 2006 23:52:00 +0000 (16:52 -0700)]
XCB*Id is a variable, not a type: adjust API conventions accordingly.
Jamey Sharp [Wed, 13 Sep 2006 19:30:11 +0000 (12:30 -0700)]
Fix bug #7261: events do not signal the end of replies for that sequence number.
Jamey Sharp [Mon, 18 Sep 2006 07:25:26 +0000 (00:25 -0700)]
Handle names of constants during API conversion.
Use an XSLT stylesheet to get a list of all the constant names.
Jamey Sharp [Mon, 18 Sep 2006 06:38:57 +0000 (23:38 -0700)]
Complete rewrite of api_conv.pl.
Now handles all API changes except constant names, which are treated like type names.
Jamey Sharp [Thu, 14 Sep 2006 07:04:47 +0000 (00:04 -0700)]
Simplify the API conversion tool without functionality changes.
Thomas Coppi [Thu, 14 Sep 2006 06:50:23 +0000 (23:50 -0700)]
Prototype API conversion tool for upcoming lowercased XCB API.
Jamey Sharp [Wed, 13 Sep 2006 19:15:23 +0000 (12:15 -0700)]
Finish removing deprecated functions. Fixes build failure (oops).
Jamey Sharp [Tue, 12 Sep 2006 20:43:17 +0000 (13:43 -0700)]
Ignore xproto.xml that now gets copied in while building.
Jamey Sharp [Tue, 12 Sep 2006 20:25:49 +0000 (13:25 -0700)]
Remove deprecated public API functions in preparation for 1.0 release. Xlib-specific deprecation remains.
Bart Massey [Tue, 12 Sep 2006 07:42:11 +0000 (00:42 -0700)]
Cleaned up previous fix for GNU Make stuff.
Got "make distcheck" to work (whatever that does).
Bart Massey [Tue, 12 Sep 2006 06:29:10 +0000 (23:29 -0700)]
Removed GNU make dependency.
Made extensions directory persist.
Jamey Sharp [Sat, 9 Sep 2006 22:52:37 +0000 (15:52 -0700)]
Handle XC-MISC request failure when allocating new XIDs. (fixes #7001)
Thomas Hunger [Mon, 14 Aug 2006 13:59:46 +0000 (06:59 -0700)]
Tutorial corrections.
Josh Triplett [Mon, 31 Jul 2006 05:02:37 +0000 (22:02 -0700)]
Implement error handling plan 7.
Needs improvement: should not duplicate the code of every request function.
Josh Triplett [Mon, 31 Jul 2006 03:28:16 +0000 (20:28 -0700)]
Parameterize context in cookie-type and request-matching template.
Jamey Sharp [Sun, 30 Jul 2006 21:55:14 +0000 (14:55 -0700)]
Fix Keith's 32-bit wrap fix.
Issue 0, 1, or 2 syncs as needed and do not handle 16-bit wrap until
absolutely necessary.
Josh Triplett [Sun, 30 Jul 2006 22:09:03 +0000 (15:09 -0700)]
Fix typo: s/request/sequence/
Josh Triplett [Sun, 30 Jul 2006 21:41:19 +0000 (14:41 -0700)]
Add XCBRequestCheck function needed for Plan 7.
Eric Anholt [Fri, 28 Jul 2006 22:29:05 +0000 (15:29 -0700)]
Restore netinet/in.h include that was removed in the DECnet commit.
Eric Anholt [Tue, 25 Jul 2006 16:13:59 +0000 (09:13 -0700)]
Replace HAVE_* tests with just checking for (__solaris__)
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 [Tue, 25 Jul 2006 06:24:59 +0000 (08:24 +0200)]
fix closing <b> tag
Ian Osgood [Fri, 7 Jul 2006 14:18:41 +0000 (07:18 -0700)]
Fix build on Solaris (use inttypes.h)
Ian Osgood [Sat, 1 Jul 2006 07:55:08 +0000 (00:55 -0700)]
Finally remove X.h from xcb.h, fix broken image tests.
Keith Packard [Sat, 1 Jul 2006 07:16:07 +0000 (00:16 -0700)]
Switch sequence comparisons to handle 32-bit sequence number wrap.
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).
Josh Triplett [Thu, 15 Jun 2006 10:03:13 +0000 (03:03 -0700)]
Remove arbitrary division between xcb_types and xproto by merging
xcb_types.xml into xproto.xml.
TORRI Vincent [Thu, 8 Jun 2006 04:59:47 +0000 (06:59 +0200)]
fix compilation with c++ compilers. Remove some trailing spaces
Ian Osgood [Tue, 30 May 2006 18:54:25 +0000 (11:54 -0700)]
Deprecate XCBSync, move to XCBAuxSync.
Jamey Sharp [Mon, 15 May 2006 05:49:18 +0000 (22:49 -0700)]
Use correct word offset when testing for GetFBConfigsSGIX VendorPrivate.
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.
Josh Triplett [Wed, 10 May 2006 21:22:27 +0000 (14:22 -0700)]
Stop overwriting CFLAGS in xcb/src/Makefile.am.
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.
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.
Josh Triplett [Sat, 29 Apr 2006 23:28:01 +0000 (16:28 -0700)]
Remove unnecessary dirs files.
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.
Josh Triplett [Sat, 29 Apr 2006 22:57:28 +0000 (15:57 -0700)]
Set DEB_MAKE_CHECK_TARGET=check in debian/rules.
Josh Triplett [Sat, 29 Apr 2006 22:34:11 +0000 (15:34 -0700)]
Add a Section field for the source package in debian/control.
Josh Triplett [Sat, 29 Apr 2006 18:15:47 +0000 (11:15 -0700)]
Drop library version from source package name.
Josh Triplett [Sat, 29 Apr 2006 17:58:23 +0000 (10:58 -0700)]
Set distribution to experimental.
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.
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.
Josh Triplett [Fri, 28 Apr 2006 07:51:53 +0000 (00:51 -0700)]
Change libxcbxvmc0-dev Depends to libxcbxv0-dev, not libxv0-dev.
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.
Josh Triplett [Fri, 28 Apr 2006 00:32:20 +0000 (17:32 -0700)]
Fix the year in COPYING.
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.
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.
Josh Triplett [Thu, 27 Apr 2006 23:15:50 +0000 (16:15 -0700)]
Remove execute bit on tutorial.
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.
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.
Josh Triplett [Thu, 27 Apr 2006 19:04:52 +0000 (12:04 -0700)]
Fix typo and rephrase checking message.
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.
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.
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.
Ian Osgood [Wed, 26 Apr 2006 17:50:31 +0000 (10:50 -0700)]
Changes to makefile to build libXCBxtest
Patrick Caulfield [Mon, 24 Apr 2006 15:29:18 +0000 (08:29 -0700)]
Add support for DECnet. Still needs configure-script options to enable.
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.
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.
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>.
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.
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
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.
Jamey Sharp [Thu, 20 Apr 2006 03:23:37 +0000 (20:23 -0700)]
Restructure XCBWaitForReply to eliminate two gotos.
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.
Jamey Sharp [Wed, 19 Apr 2006 23:49:32 +0000 (16:49 -0700)]
Add XCBPollForReply and deprecate XCBGetRequestRead and XCBGetQueuedRequestRead.
Josh Triplett [Sun, 16 Apr 2006 18:23:52 +0000 (11:23 -0700)]
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xcb
Josh Triplett [Sun, 16 Apr 2006 18:05:50 +0000 (11:05 -0700)]
Improve package descriptions.
Josh Triplett [Sun, 16 Apr 2006 16:59:13 +0000 (09:59 -0700)]
Change Depends on x-dev to x11proto-core-dev.
Josh Triplett [Sun, 16 Apr 2006 16:25:36 +0000 (09:25 -0700)]
Add Build-Depends on libxdmcp-dev.
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).
Josh Triplett [Sun, 16 Apr 2006 05:50:33 +0000 (22:50 -0700)]
Stop installing the libtool .la files.
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.
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.
Josh Triplett [Sun, 16 Apr 2006 03:21:22 +0000 (20:21 -0700)]
Add xcbint.h to noinst_HEADERS, so it gets distributed.
Josh Triplett [Sat, 15 Apr 2006 21:17:52 +0000 (14:17 -0700)]
Use screensaver.xml
Josh Triplett [Sat, 15 Apr 2006 19:52:05 +0000 (12:52 -0700)]
Put EXTHEADERS and EXTSOURCES in order.
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.
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.
Eric Anholt [Mon, 10 Apr 2006 02:19:12 +0000 (19:19 -0700)]
Remove unnecessary include. Noticed by jamey.
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?
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).
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!