free-sw/xcb/proto
17 years agoRelease xcb-proto 1.0 RC1 (0.9.91).
Jamey Sharp [Mon, 25 Sep 2006 12:11:57 +0000 (05:11 -0700)]
Release xcb-proto 1.0 RC1 (0.9.91).

17 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

17 years agoMove XML protocol descriptions to $datadir/xcb (generally $prefix/share/xcb).
Jamey Sharp [Mon, 25 Sep 2006 10:27:27 +0000 (03:27 -0700)]
Move XML protocol descriptions to $datadir/xcb (generally $prefix/share/xcb).

17 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.

17 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

17 years agoXCBButton -> XCBButtonIndex. XCBHost -> XCBHostMode. XCBSetupReq -> XCBSetupRequest
TORRI Vincent [Mon, 18 Sep 2006 19:28:24 +0000 (21:28 +0200)]
XCBButton -> XCBButtonIndex. XCBHost -> XCBHostMode. XCBSetupReq -> XCBSetupRequest

17 years agoRemove combine-adjacent tag on PolyPoint: it will not work for some forms of the...
Jamey Sharp [Mon, 7 Aug 2006 21:28:08 +0000 (14:28 -0700)]
Remove combine-adjacent tag on PolyPoint: it will not work for some forms of the request.

17 years agoadd flags for Alarm Attributes
TORRI Vincent [Mon, 24 Jul 2006 15:24:13 +0000 (17:24 +0200)]
add flags for Alarm Attributes

17 years agoAdd a useful assertion message if a type gets multiply declared.
Jamey Sharp [Thu, 15 Jun 2006 17:27:40 +0000 (10:27 -0700)]
Add a useful assertion message if a type gets multiply declared.

17 years agoBugfix: Make type shadowing go the right way in type.py.
Jamey Sharp [Thu, 15 Jun 2006 17:25:46 +0000 (10:25 -0700)]
Bugfix: Make type shadowing go the right way in type.py.

17 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.

17 years agoBugfix for size.py: count padding in struct size.
Jamey Sharp [Wed, 14 Jun 2006 23:45:24 +0000 (16:45 -0700)]
Bugfix for size.py: count padding in struct size.

17 years agotype.py qualifies all type names with the header in which they are defined.
Jamey Sharp [Wed, 14 Jun 2006 21:18:49 +0000 (14:18 -0700)]
type.py qualifies all type names with the header in which they are defined.
Update size.py to quit doing a bad job at the same task.
Suggested usage is now:
  ./import.py extensions/composite.xml | ./type.py | ./size.py

17 years agoProcess <import> directives with a new import.py tool.
Jamey Sharp [Wed, 14 Jun 2006 00:23:03 +0000 (17:23 -0700)]
Process <import> directives with a new import.py tool.
Update size.py to accept all the data it needs in one file or stdin.

17 years agoSimpler implementation of AttributesUnion for XML processing.
Jamey Sharp [Wed, 14 Jun 2006 00:11:56 +0000 (17:11 -0700)]
Simpler implementation of AttributesUnion for XML processing.

17 years agoNew tool to annotate XML-XCB <field>s with their size in bytes.
Jamey Sharp [Tue, 13 Jun 2006 08:58:53 +0000 (01:58 -0700)]
New tool to annotate XML-XCB <field>s with their size in bytes.

17 years agoUpdate Shape extension to version 1.1
Ian Osgood [Tue, 6 Jun 2006 22:25:24 +0000 (15:25 -0700)]
Update Shape extension to version 1.1

17 years agoScreen saver: wrong reply field sizes.
Ian Osgood [Tue, 6 Jun 2006 20:33:10 +0000 (13:33 -0700)]
Screen saver: wrong reply field sizes.

17 years agoUpdate Composite to version 0.3
Ian Osgood [Tue, 6 Jun 2006 19:40:01 +0000 (12:40 -0700)]
Update Composite to version 0.3

17 years agoUpdate Render to version 0.10
Ian Osgood [Tue, 6 Jun 2006 19:36:20 +0000 (12:36 -0700)]
Update Render to version 0.10
Renamed previous type TRAP -> TRAPEZOID to make room for new TRAP type.
Use <bit> construct for masks.

17 years agoUpdate screen saver protocol to version 1.1
Ian Osgood [Tue, 6 Jun 2006 18:26:31 +0000 (11:26 -0700)]
Update screen saver protocol to version 1.1
Fix type names, field sizes, and padding.

17 years agoUpdate XFixes to protocol version 4.
Ian Osgood [Tue, 6 Jun 2006 17:02:16 +0000 (10:02 -0700)]
Update XFixes to protocol version 4.
Use <bit> construct for mask enums.

18 years agonum_props is a stupid name, changing to num_properties, it's a bit clearer and matche...
Jeremy Kolb [Tue, 9 May 2006 19:36:47 +0000 (15:36 -0400)]
num_props is a stupid name, changing to num_properties, it's a bit clearer and matches fields such as "num_visuals".

18 years agoMerge branch 'master' of git+ssh://git.freedesktop.org/git/xcb
Josh Triplett [Sat, 29 Apr 2006 18:00:01 +0000 (11:00 -0700)]
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xcb

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 agoGet rid of the value list/mask in requests.
Jeremy Kolb [Sat, 29 Apr 2006 14:58:50 +0000 (10:58 -0400)]
Get rid of the value list/mask in requests.

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 agoFix incorrect extension xname
Alp Toker [Thu, 30 Mar 2006 03:36:04 +0000 (04:36 +0100)]
Fix incorrect extension xname

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

18 years agoAdd test program for XFree86-DRI extension to xcb-demo. Mark XFree86-DRI extension...
Josh Triplett [Thu, 27 Apr 2006 21:14:54 +0000 (14:14 -0700)]
Add test program for XFree86-DRI extension to xcb-demo.  Mark XFree86-DRI extension as tested and working.

18 years agoAdd some additional extensions from xdpyinfo to the TODO list.
Josh Triplett [Thu, 27 Apr 2006 19:14:55 +0000 (12:14 -0700)]
Add some additional extensions from xdpyinfo to the TODO list.

18 years agoFix typo in TODO.
Josh Triplett [Thu, 27 Apr 2006 19:08:24 +0000 (12:08 -0700)]
Fix typo in TODO.

18 years agoUpdate TODO for XTEST implementation.
Josh Triplett [Thu, 27 Apr 2006 19:07:50 +0000 (12:07 -0700)]
Update TODO for XTEST implementation.

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 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 agoImplement XTest extension and xte demo
Ian Osgood [Mon, 24 Apr 2006 21:16:38 +0000 (14:16 -0700)]
Implement XTest extension and xte demo

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 ago * Validate the protocol descriptions during the build:
Josh Triplett [Sun, 16 Apr 2006 20:05:21 +0000 (13:05 -0700)]
  * Validate the protocol descriptions during the build:
    * Set DEB_MAKE_CHECK_TARGET=check in debian/rules.
    * Add Build-Depends on libxml2-utils for xmllint.

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 ago * Debian X11R7 transition:
Josh Triplett [Sun, 16 Apr 2006 16:23:13 +0000 (09:23 -0700)]
  * Debian X11R7 transition:
    * Install protocol descriptions to /usr/include/X11, not
      /usr/X11R6/include/X11.
    * Pre-Depends: x11-common (>= 1:1.09).

18 years agoChange human-readable name from "XCBProto" to "XCB Proto"; this changes the
Josh Triplett [Sun, 16 Apr 2006 02:39:39 +0000 (19:39 -0700)]
Change human-readable name from "XCBProto" to "XCB Proto"; this changes the
tarname to "xcb-proto", which matches the Debian package and looks better than
"xcbproto".

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

18 years agoAdd doc directory to EXTRA_DIST.
Josh Triplett [Sat, 15 Apr 2006 21:52:36 +0000 (14:52 -0700)]
Add doc directory to EXTRA_DIST.

18 years ago* Actually add extensions/screensaver.xml to Makefile.am, so it gets checked
Josh Triplett [Sat, 15 Apr 2006 19:48:02 +0000 (12:48 -0700)]
* Actually add extensions/screensaver.xml to Makefile.am, so it gets checked
  and installed.
* Don't line up backslashes in a single column, since it forces a change to
  every line when adding a longer item.

18 years agoClean up some names.
Jeremy Kolb [Tue, 28 Mar 2006 19:54:05 +0000 (14:54 -0500)]
Clean up some names.

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 agoRemove outdated comment in xproto.xml; we support ListFontsWithInfo just fine
Josh Triplett [Tue, 21 Mar 2006 22:15:56 +0000 (14:15 -0800)]
Remove outdated comment in xproto.xml; we support ListFontsWithInfo just fine
now.

18 years agoUpdate xml-xcb.txt to include new <bit> expression.
Ian Osgood [Mon, 20 Mar 2006 15:36:39 +0000 (07:36 -0800)]
Update xml-xcb.txt to include new <bit> expression.

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 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 agoAdded new type CONTEXT_TAG (just a CARD32).
Jeremy Kolb [Tue, 14 Mar 2006 03:05:10 +0000 (22:05 -0500)]
Added new type CONTEXT_TAG (just a CARD32).

18 years agoshare_list is a GLX_CONTEXT, not a CARD32
Jeremy Kolb [Fri, 10 Mar 2006 02:52:33 +0000 (21:52 -0500)]
share_list is a GLX_CONTEXT, not a CARD32

18 years agoMerge branch 'master' of git+ssh://iano@git.freedesktop.org/git/xcb
Ian Osgood [Thu, 9 Mar 2006 06:57:01 +0000 (22:57 -0800)]
Merge branch 'master' of git+ssh://iano@git.freedesktop.org/git/xcb

18 years agoReplace XIDs with CARD32s in the xc_misc protocol descriptions.
Ian Osgood [Thu, 9 Mar 2006 06:56:40 +0000 (22:56 -0800)]
Replace XIDs with CARD32s in the xc_misc protocol descriptions.
(XIDs only exist client-side.)

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 agoTypo
Alp Toker [Tue, 7 Mar 2006 04:19:02 +0000 (04:19 +0000)]
Typo

18 years agoChange event copy to error copy.
Jeremy Kolb [Sun, 5 Mar 2006 19:44:16 +0000 (14:44 -0500)]
Change event copy to error copy.

18 years agoXMLLINT, not XSLTPROC.
Josh Triplett [Sun, 5 Mar 2006 08:49:04 +0000 (00:49 -0800)]
XMLLINT, not XSLTPROC.

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 agoValidate protocol descriptions against schema in "make check", using xmllint. These...
Josh Triplett [Sun, 5 Mar 2006 02:29:40 +0000 (18:29 -0800)]
Validate protocol descriptions against schema in "make check", using xmllint.  These tests will also run when doing "make distcheck" to create a distribution.

18 years agoIn XML Schema, attributes default to optional unless explicitly marked use="required...
Josh Triplett [Sat, 4 Mar 2006 22:07:04 +0000 (14:07 -0800)]
In XML Schema, attributes default to optional unless explicitly marked use="required"; add use="required" to all required attributes.  Add fake error number to error name="Generic" in glx.xml, since error is now a required attribute.

18 years agoUpdate the schema: a reply may contain a valueparam.
Josh Triplett [Sat, 25 Feb 2006 00:10:42 +0000 (16:10 -0800)]
Update the schema: a reply may contain a valueparam.

18 years agoRemove stray character from randr.xml
Josh Triplett [Fri, 24 Feb 2006 23:59:48 +0000 (15:59 -0800)]
Remove stray character from randr.xml

18 years agoMove .cvsignore to .gitignore.
Eric Anholt [Sun, 19 Feb 2006 06:56:03 +0000 (22:56 -0800)]
Move .cvsignore to .gitignore.

18 years agoApply Alp Toker's patch for fixing typos. Thanks!
Jeremy Kolb [Sun, 19 Feb 2006 03:40:19 +0000 (22:40 -0500)]
Apply Alp Toker's patch for fixing typos.  Thanks!

18 years agoRemove xcl and CVSROOT.
Josh Triplett [Sun, 19 Feb 2006 00:49:41 +0000 (16:49 -0800)]
Remove xcl and CVSROOT.