profile/ivi/libxcb.git
17 years agoMake doc installation work and simplify doc/Makefile.am.
Jamey Sharp [Sun, 19 Nov 2006 03:36:48 +0000 (19:36 -0800)]
Make doc installation work and simplify doc/Makefile.am.

Don't override the default htmldir with an unquoted copy.

Don't suppress `make` echoing on Doxygen commands.

Ensure the tutorial is always installed even if Doxygen isn't
available.

Take better advantage of the automake installation infrastructure.

17 years agoTurn off Doxygen warnings for undocumented API, for now.
Jamey Sharp [Sun, 19 Nov 2006 00:51:01 +0000 (16:51 -0800)]
Turn off Doxygen warnings for undocumented API, for now.

But warn about absent parameter documentation for functions that are
otherwise documented.

17 years agoSwitch from the old AM_PATH_CHECK macro to pkg-config.
Jamey Sharp [Fri, 17 Nov 2006 01:02:17 +0000 (17:02 -0800)]
Switch from the old AM_PATH_CHECK macro to pkg-config.

check 0.9.4 is now required to build XCB's unit tests.

The version that we were requiring was not actually new enough to let
our unit tests compile, and the AM_PATH_CHECK macro is now considered
deprecated. We know that versions of check using pkg-config are new
enough to work, and the check dependency was optional anyway, so we've
dropped support for older versions.

18 years agoadd Makefile.am for building/installing doxygen doc
TORRI Vincent [Sun, 5 Nov 2006 17:24:30 +0000 (18:24 +0100)]
add Makefile.am for building/installing doxygen doc

18 years agoadd xcb.doxygen to EXTRA_DIST
TORRI Vincent [Sun, 5 Nov 2006 17:22:55 +0000 (18:22 +0100)]
add xcb.doxygen to EXTRA_DIST

18 years agoMerge branch 'master' of git+ssh://git.freedesktop.org/git/xcb/libxcb
TORRI Vincent [Sun, 5 Nov 2006 17:21:34 +0000 (18:21 +0100)]
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xcb/libxcb

18 years agoadd AM_CHECK_DOXYGEN macro
TORRI Vincent [Sun, 5 Nov 2006 17:20:45 +0000 (18:20 +0100)]
add AM_CHECK_DOXYGEN macro

18 years agoRelease libxcb 1.0 RC3 (0.9.93).
Jamey Sharp [Fri, 3 Nov 2006 02:04:16 +0000 (18:04 -0800)]
Release libxcb 1.0 RC3 (0.9.93).

18 years agoAdded initial doxygen generation stuff. This should probably be cleaned up later.
Jeremy Kolb jkolb@brandeis.edu [Mon, 30 Oct 2006 00:31:09 +0000 (19:31 -0500)]
Added initial doxygen generation stuff.  This should probably be cleaned up 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.

18 years agofix doxy doc
TORRI Vincent [Fri, 20 Oct 2006 05:00:15 +0000 (07:00 +0200)]
fix doxy doc

18 years agoAdd doxygen config file.
Jamey Sharp [Thu, 19 Oct 2006 06:28:27 +0000 (23:28 -0700)]
Add doxygen config file.

Thanks to Jeremy Kolb <jkolb@brandeis.edu> for the initial version.

18 years agoQuit treating xproto specially: handle it like all the extensions.
Jamey Sharp [Thu, 19 Oct 2006 06:23:00 +0000 (23:23 -0700)]
Quit treating xproto specially: handle it like all the extensions.

18 years agoIgnore generated xinerama files.
Jamey Sharp [Thu, 19 Oct 2006 06:21:39 +0000 (23:21 -0700)]
Ignore generated xinerama files.

18 years agoAlso test xcb_parse_display with NULL argument and display in $DISPLAY
Josh Triplett [Mon, 16 Oct 2006 12:11:57 +0000 (05:11 -0700)]
Also test xcb_parse_display with NULL argument and display in $DISPLAY

18 years agoMatch only XCB-namespaced XID generators when converting to xcb_generate_id.
Jamey Sharp [Sun, 15 Oct 2006 19:34:30 +0000 (12:34 -0700)]
Match only XCB-namespaced XID generators when converting to xcb_generate_id.

Thanks to Vincent Torri for pointing out that I screwed up. :-)

18 years agoDefine and use constants for opcode numbers.
Zephaniah E. Hull [Sun, 15 Oct 2006 02:52:23 +0000 (19:52 -0700)]
Define and use constants for opcode numbers.

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

18 years agoAdd library support for xcb-xinerama.
Jeremy Kolb [Fri, 13 Oct 2006 03:52:59 +0000 (23:52 -0400)]
Add library support for xcb-xinerama.

This is version 1.1 of the Xinerama (PanoramiX) extension.

18 years agoAdd note to xcbxlib.h that nothing except Xlib/XCB should use it.
Josh Triplett [Mon, 9 Oct 2006 01:16:14 +0000 (18:16 -0700)]
Add note to xcbxlib.h that nothing except Xlib/XCB should use it.

18 years agoRelease libxcb 1.0 RC2 (0.9.92).
Jamey Sharp [Sun, 8 Oct 2006 02:50:55 +0000 (19:50 -0700)]
Release libxcb 1.0 RC2 (0.9.92).

18 years agoBugfix: make Plan 7 'checked' requests work correctly.
Jamey Sharp [Sun, 8 Oct 2006 01:35:53 +0000 (18:35 -0700)]
Bugfix: make Plan 7 'checked' requests work correctly.

The initial implementation of Plan 7 dumped all X errors into the event
queue, because the record of a pending reply was pruned too early if an
error occurred in place of the expected reply.

18 years agoDocument xcb_generate_id.
Ian Osgood [Sat, 7 Oct 2006 21:09:29 +0000 (14:09 -0700)]
Document xcb_generate_id.

18 years agoMove xcb_generate_id from xcbext.h to xcb.h
Josh Triplett [Sat, 7 Oct 2006 20:16:43 +0000 (13:16 -0700)]
Move xcb_generate_id from xcbext.h to xcb.h

Since extensions no longer provide type-specific XID-generation functions,
xcb_generate_id now forms part of the xcb client API, rather than the
extension API; move it from xcbext.h to xcb.h accordingly.

18 years agoStop implicitly importing xproto; goes with proto change to explicitly import it
Josh Triplett [Sat, 7 Oct 2006 08:27:26 +0000 (01:27 -0700)]
Stop implicitly importing xproto; goes with proto change to explicitly import it

18 years agoDeclare "struct foo" or "enum foo" as well as the typedef'd name "foo".
Jamey Sharp [Sat, 7 Oct 2006 08:27:03 +0000 (01:27 -0700)]
Declare "struct foo" or "enum foo" as well as the typedef'd name "foo".

18 years agoHandle "xidunion" instead of "union" for XID unions like DRAWABLE and FONTABLE
Josh Triplett [Sat, 7 Oct 2006 07:14:50 +0000 (00:14 -0700)]
Handle "xidunion" instead of "union" for XID unions like DRAWABLE and FONTABLE

18 years agoapi_conv.pl: replace xcb_*_new with calls directly to xcb_generate_id, now that we...
Jamey Sharp [Sat, 7 Oct 2006 06:32:18 +0000 (23:32 -0700)]
api_conv.pl: replace xcb_*_new with calls directly to xcb_generate_id, now that we have no type-safety XID wrappers.

18 years agoRefer to the "xlib lock" rather than the "IOLock" in xcbxlib.h
Josh Triplett [Sat, 7 Oct 2006 03:11:19 +0000 (20:11 -0700)]
Refer to the "xlib lock" rather than the "IOLock" in xcbxlib.h

18 years agoRemove XID wrapper structures and replace them with uint32_t typedefs
Josh Triplett [Sat, 7 Oct 2006 00:44:53 +0000 (17:44 -0700)]
Remove XID wrapper structures and replace them with uint32_t typedefs

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.

18 years agoRemove xcb_get_io_lock from the Xlib-specific API: it is no longer used.
Jamey Sharp [Fri, 6 Oct 2006 23:47:50 +0000 (16:47 -0700)]
Remove xcb_get_io_lock from the Xlib-specific API: it is no longer used.

18 years agoRemove the 'int *error' out-parameter for xcb_poll_for_event.
Jamey Sharp [Fri, 6 Oct 2006 23:12:04 +0000 (16:12 -0700)]
Remove the 'int *error' out-parameter for xcb_poll_for_event.

18 years agoAdd xcb_xlib_lock and xcb_xlib_unlock, a special-purpose two-level recursive lock...
Jamey Sharp [Wed, 4 Oct 2006 22:01:00 +0000 (15:01 -0700)]
Add xcb_xlib_lock and xcb_xlib_unlock, a special-purpose two-level recursive lock just for libX11.

18 years agoFactor out pthread_mutex_lock and unlock calls for the iolock.
Jamey Sharp [Wed, 4 Oct 2006 19:23:45 +0000 (12:23 -0700)]
Factor out pthread_mutex_lock and unlock calls for the iolock.

18 years agofix some indentation, remove args of the main function (not needed), xcb_sync ->...
TORRI Vincent [Sat, 30 Sep 2006 11:06:58 +0000 (13:06 +0200)]
fix some indentation, remove args of the main function (not needed), xcb_sync -> xcb_aux_sync. Jamey, it seems that your script transforms XCBGetSetup into a type, instead of a function. Same for XCBSetupVendor. Maybe there are other fuctions that have the same problem.

18 years agoupdate tutorial to the new api. Add some doc about cursors. Add some colors to sectio...
TORRI Vincent [Sat, 30 Sep 2006 10:45:12 +0000 (12:45 +0200)]
update tutorial to the new api. Add some doc about cursors. Add some colors to section 6 (Opening and closing the connection to an X server). Tell me if you want to keep colors or not (colors can be modified in xcb.css)

18 years agoRelease libxcb 1.0 RC1 (0.9.91).
Jamey Sharp [Mon, 25 Sep 2006 12:12:07 +0000 (05:12 -0700)]
Release libxcb 1.0 RC1 (0.9.91).

18 years agoStop installing the protocol descriptions for extensions to an extensions/
Josh Triplett [Mon, 25 Sep 2006 12:10:37 +0000 (05:10 -0700)]
Stop installing the protocol descriptions for extensions to an extensions/
subdirectory

18 years agoActually install xcb-xlib.pc, and ship xcb-xlib.pc.in in distribution tarballs
Josh Triplett [Mon, 25 Sep 2006 11:43:04 +0000 (04:43 -0700)]
Actually install xcb-xlib.pc, and ship xcb-xlib.pc.in in distribution tarballs

18 years agoEnsure api_conv.pl is idempotent on names of constants: XCB_[A-Z0-9_]+.
Jamey Sharp [Mon, 25 Sep 2006 11:14:26 +0000 (04:14 -0700)]
Ensure api_conv.pl is idempotent on names of constants: XCB_[A-Z0-9_]+.

18 years agoMove header files to $includedir/xcb (generally $prefix/include/xcb).
Jamey Sharp [Mon, 25 Sep 2006 11:03:01 +0000 (04:03 -0700)]
Move header files to $includedir/xcb (generally $prefix/include/xcb).

18 years agoSplit the Xlib compatibility functions into a separate library libxcb-xlib
Josh Triplett [Mon, 25 Sep 2006 09:02:16 +0000 (02:02 -0700)]
Split the Xlib compatibility functions into a separate library libxcb-xlib

We don't want to have to change the libxcb soname if we later manage to remove
the Xlib compatibility functions, and nothing except Xlib should ever use
them, so split them into a separate library.

18 years agoMove debian/ directory to new branch "debian".
Jamey Sharp [Mon, 25 Sep 2006 09:10:44 +0000 (02:10 -0700)]
Move debian/ directory to new branch "debian".

18 years agoWe no longer need xproto: do not list it as a dependency.
Jamey Sharp [Mon, 25 Sep 2006 09:00:23 +0000 (02:00 -0700)]
We no longer need xproto: do not list it as a dependency.

18 years agoLowercase library names to correspond with the new API.
Jamey Sharp [Mon, 25 Sep 2006 08:21:42 +0000 (01:21 -0700)]
Lowercase library names to correspond with the new API.

18 years agoAdd XCBAllPlanes from xcb-image util library.
Ian Osgood [Sun, 24 Sep 2006 21:10:20 +0000 (14:10 -0700)]
Add XCBAllPlanes from xcb-image util library.

18 years agoIntegrate top-level .gitignore into .gitignore for each subdirectory
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.

18 years agonow, I know how to use api_conv.pl :)
TORRI Vincent [Sun, 24 Sep 2006 06:51:20 +0000 (08:51 +0200)]
now, I know how to use api_conv.pl :)

18 years agoRemove the xcb_[extension]_init functions; use xcb_get_extension_data directly
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

18 years agoMore fixups for incorrect API conversions by api_conv.pl
Josh Triplett [Sat, 23 Sep 2006 21:17:52 +0000 (14:17 -0700)]
More fixups for incorrect API conversions by api_conv.pl

18 years agoConvert the XCB test suite to the new API
Josh Triplett [Sat, 23 Sep 2006 20:59:40 +0000 (13:59 -0700)]
Convert the XCB test suite to the new API

18 years agoApply const-names.xsl to the un-renamed XML; replace the XSL with the result.
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.

18 years agoWe do not conflict with Xmd.h anymore; remove the include hack from xcb_auth.c
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

18 years agoFix some mis-conversions by api_conv.pl, and remove the now-unused Xmd types
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

18 years agoThe Great XCB Renaming
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

18 years agoSpecial cases to agree with the conventions Josh and I have hashed out.
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.

18 years agoHandle remaining incorrect API translations in api_conv.pl.
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.

18 years agoMake xcb_conn.c agree that XCBSetupReq is now XCBSetupRequest.
Jamey Sharp [Fri, 22 Sep 2006 22:37:49 +0000 (15:37 -0700)]
Make xcb_conn.c agree that XCBSetupReq is now XCBSetupRequest.

18 years agoList xproto.xml path explicitly instead of relying on GNU Make $< expansion
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.)

18 years agoShut down the connection in all "fatal" error cases.
Jamey Sharp [Fri, 15 Sep 2006 08:51:05 +0000 (01:51 -0700)]
Shut down the connection in all "fatal" error cases.

18 years agoAdd a private connection shutdown method for error cases.
Jamey Sharp [Fri, 15 Sep 2006 08:57:53 +0000 (01:57 -0700)]
Add a private connection shutdown method for error cases.

18 years agoMake all public functions do nothing on an error connection.
Jamey Sharp [Fri, 15 Sep 2006 08:09:27 +0000 (01:09 -0700)]
Make all public functions do nothing on an error connection.

18 years agoConvert connection functions to return error objects.
Jamey Sharp [Fri, 15 Sep 2006 07:39:51 +0000 (00:39 -0700)]
Convert connection functions to return error objects.

18 years agoProvide a "has error" property for XCBConnection.
Jamey Sharp [Fri, 15 Sep 2006 07:29:39 +0000 (00:29 -0700)]
Provide a "has error" property for XCBConnection.

18 years agoRefactor XCBPollForEvent with a shorter critical section.
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.

18 years agoXCB*Id is a variable, not a type: adjust API conventions accordingly.
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.

18 years agoFix bug #7261: events do not signal the end of replies for that sequence number.
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.

18 years agoHandle names of constants during API conversion.
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.

18 years agoComplete rewrite of api_conv.pl.
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.

18 years agoSimplify the API conversion tool without functionality changes.
Jamey Sharp [Thu, 14 Sep 2006 07:04:47 +0000 (00:04 -0700)]
Simplify the API conversion tool without functionality changes.

18 years agoPrototype API conversion tool for upcoming lowercased XCB API.
Thomas Coppi [Thu, 14 Sep 2006 06:50:23 +0000 (23:50 -0700)]
Prototype API conversion tool for upcoming lowercased XCB API.

18 years agoFinish removing deprecated functions. Fixes build failure (oops).
Jamey Sharp [Wed, 13 Sep 2006 19:15:23 +0000 (12:15 -0700)]
Finish removing deprecated functions. Fixes build failure (oops).

18 years agoIgnore xproto.xml that now gets copied in while building.
Jamey Sharp [Tue, 12 Sep 2006 20:43:17 +0000 (13:43 -0700)]
Ignore xproto.xml that now gets copied in while building.

18 years agoRemove deprecated public API functions in preparation for 1.0 release. Xlib-specific...
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.

18 years agoCleaned up previous fix for GNU Make stuff.
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).

18 years agoRemoved GNU make dependency.
Bart Massey [Tue, 12 Sep 2006 06:29:10 +0000 (23:29 -0700)]
Removed GNU make dependency.
Made extensions directory persist.

18 years agoHandle XC-MISC request failure when allocating new XIDs. (fixes #7001)
Jamey Sharp [Sat, 9 Sep 2006 22:52:37 +0000 (15:52 -0700)]
Handle XC-MISC request failure when allocating new XIDs. (fixes #7001)

18 years agoTutorial corrections.
Thomas Hunger [Mon, 14 Aug 2006 13:59:46 +0000 (06:59 -0700)]
Tutorial corrections.

18 years agoImplement error handling plan 7.
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.

18 years agoParameterize context in cookie-type and request-matching template.
Josh Triplett [Mon, 31 Jul 2006 03:28:16 +0000 (20:28 -0700)]
Parameterize context in cookie-type and request-matching template.

18 years agoFix Keith's 32-bit wrap fix.
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.

18 years agoFix typo: s/request/sequence/
Josh Triplett [Sun, 30 Jul 2006 22:09:03 +0000 (15:09 -0700)]
Fix typo: s/request/sequence/

18 years agoAdd XCBRequestCheck function needed for Plan 7.
Josh Triplett [Sun, 30 Jul 2006 21:41:19 +0000 (14:41 -0700)]
Add XCBRequestCheck function needed for Plan 7.

18 years agoRestore netinet/in.h include that was removed in the DECnet commit.
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.

18 years agoReplace HAVE_* tests with just checking for (__solaris__)
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.

18 years agofix closing <b> tag
TORRI Vincent [Tue, 25 Jul 2006 06:24:59 +0000 (08:24 +0200)]
fix closing <b> tag

18 years agoFix build on Solaris (use inttypes.h)
Ian Osgood [Fri, 7 Jul 2006 14:18:41 +0000 (07:18 -0700)]
Fix build on Solaris (use inttypes.h)

18 years agoFinally remove X.h from xcb.h, fix broken image tests.
Ian Osgood [Sat, 1 Jul 2006 07:55:08 +0000 (00:55 -0700)]
Finally remove X.h from xcb.h, fix broken image tests.

18 years agoSwitch sequence comparisons to handle 32-bit sequence number wrap.
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).

18 years agoRemove arbitrary division between xcb_types and xproto by merging
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.

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.