free-sw/xcb/proto
15 years agoMost usages of ModMask may also take the special value "Any".
Peter Harris [Thu, 19 Feb 2009 19:37:37 +0000 (14:37 -0500)]
Most usages of ModMask may also take the special value "Any".

Signed-off-by: Peter Harris <pharris@opentext.com>
15 years agoRelease xcb-proto 1.4
Julien Danjou [Mon, 16 Feb 2009 10:35:46 +0000 (11:35 +0100)]
Release xcb-proto 1.4

15 years agoMove the definition of "enum" and "mask" from <field> to "var".
Peter Harris [Thu, 5 Feb 2009 21:01:49 +0000 (16:01 -0500)]
Move the definition of "enum" and "mask" from <field> to "var".

In theory, anything that may contain a value may contain an enum value.

In practise, the Render extension has a <list> of enum in the
QueryPictFormats reply.

Signed-off-by: Peter Harris <pharris@opentext.com>
15 years agoRemove obsolete references to XSLT
Peter Harris [Thu, 5 Feb 2009 21:16:09 +0000 (16:16 -0500)]
Remove obsolete references to XSLT

Signed-off-by: Peter Harris <pharris@opentext.com>
15 years agoAdd missing enum references to xproto.xml
Peter Harris [Mon, 5 Jan 2009 16:35:10 +0000 (11:35 -0500)]
Add missing enum references to xproto.xml

Fix enum typos in xproto.xml

Signed-off-by: Peter Harris <pharris@opentext.com>
15 years agoAssociate fields with the enum which describes their allowed values.
Antoine Latter [Mon, 5 Jan 2009 02:13:13 +0000 (20:13 -0600)]
Associate fields with the enum which describes their allowed values.

Two optional attributes are added to the field element:
  enum - This fieled may assume one of the values in the named enum
  mask - This fieled is a bitmask of the values in the named enum

Signed-off-by: Julien Danjou <julien@danjou.info>
15 years agoAdd padding to the setup request struct as required by the protocol.
Antoine Latter [Sun, 28 Dec 2008 00:50:13 +0000 (19:50 -0500)]
Add padding to the setup request struct as required by the protocol.

Add padding to QueryExtension as required by the protocol.

Signed-off-by: Julien Danjou <julien@danjou.info>
15 years agoRelease xcb-proto 1.3
Julien Danjou [Wed, 10 Dec 2008 10:33:43 +0000 (11:33 +0100)]
Release xcb-proto 1.3

Signed-off-by: Julien Danjou <julien@danjou.info>
15 years agoNEWS: add 1.2 release NEWS
Julien Danjou [Wed, 10 Dec 2008 10:29:30 +0000 (11:29 +0100)]
NEWS: add 1.2 release NEWS

Signed-off-by: Julien Danjou <julien@danjou.info>
15 years agoChange CARD8 to char when referring to a string in xfixes.xml
Peter Harris [Fri, 17 Oct 2008 20:10:48 +0000 (16:10 -0400)]
Change CARD8 to char when referring to a string in xfixes.xml

15 years agoChange type="CARD8" to type="char" where the X specs require a STRING8
Thomas Hunger [Wed, 4 Jul 2007 11:58:25 +0000 (13:58 +0200)]
Change type="CARD8" to type="char" where the X specs require a STRING8

15 years agorandr: Use xidtype where appropriate
Peter Harris [Tue, 4 Nov 2008 21:19:12 +0000 (16:19 -0500)]
randr: Use xidtype where appropriate

Signed-off-by: Peter Harris <peter.harris@hummingbird.com>
15 years agorandr: Update to match protocol specification
Peter Harris [Wed, 5 Nov 2008 19:08:16 +0000 (14:08 -0500)]
randr: Update to match protocol specification

From 5334bcd14310dd9bf99df5d1391ce119366c6085 Mon Sep 17 00:00:00 2001
From: Peter Harris <peter.harris@hummingbird.com>
Date: Wed, 5 Nov 2008 11:40:40 -0500
Subject: [PATCH] randr: Update to match protocol specification

Some of these changes are semi-cosmetic
 - CARD vs INT
 - pad vs "status" in some replies

Some of these changes are actual bug fixes:
 - ConfigureOutputProperty values
 - ChangeOutputProperty data
 - SetCrtcConfig outputs

Signed-off-by: Peter Harris <peter.harris@hummingbird.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
15 years agoRandR: add missing outputs list to GetCrtcInfoReply.
Alberto Milone [Wed, 22 Oct 2008 19:59:41 +0000 (15:59 -0400)]
RandR: add missing outputs list to GetCrtcInfoReply.

15 years agoMove the defintion of STRING8 above its first use in xprint.xml
Peter Harris [Thu, 16 Oct 2008 23:04:40 +0000 (19:04 -0400)]
Move the defintion of STRING8 above its first use in xprint.xml

Signed-off-by: Julien Danjou <julien@danjou.info>
15 years agoMove structures above their first uses in xinput.xml
Peter Harris [Thu, 16 Oct 2008 22:58:38 +0000 (18:58 -0400)]
Move structures above their first uses in xinput.xml

This change makes it easier to process the xml file in a single streamy pass.

Signed-off-by: Julien Danjou <julien@danjou.info>
15 years agoMove Format above its first use in xv.xml
Peter Harris [Thu, 16 Oct 2008 22:40:00 +0000 (18:40 -0400)]
Move Format above its first use in xv.xml

This change makes it easier to process the xml file in a single streamy
pass.

Signed-off-by: Julien Danjou <julien@danjou.info>
15 years agoRandR: Remove extraneous field from GetCrtcInfoReply.
Eamon Walsh [Mon, 20 Oct 2008 18:05:37 +0000 (14:05 -0400)]
RandR: Remove extraneous field from GetCrtcInfoReply.

Signed-off-by: Eamon Walsh <ewalsh@tycho.nsa.gov>
15 years agorender: fix missing field in gradient proto
minami [Thu, 16 Oct 2008 21:42:23 +0000 (23:42 +0200)]
render: fix missing field in gradient proto

Signed-off-by: Julien Danjou <julien@danjou.info>
15 years agoxv: add missing padding bytes
Julien Danjou [Mon, 1 Sep 2008 13:05:46 +0000 (15:05 +0200)]
xv: add missing padding bytes

Signed-off-by: Julien Danjou <julien@danjou.info>
15 years agosync: add missing padding bytes
Julien Danjou [Mon, 1 Sep 2008 13:05:44 +0000 (15:05 +0200)]
sync: add missing padding bytes

Signed-off-by: Julien Danjou <julien@danjou.info>
15 years agoxproto: add missing padding bytes
Julien Danjou [Mon, 1 Sep 2008 13:05:43 +0000 (15:05 +0200)]
xproto: add missing padding bytes

Signed-off-by: Julien Danjou <julien@danjou.info>
15 years agoshm: add missing padding bytes
Julien Danjou [Mon, 1 Sep 2008 13:05:42 +0000 (15:05 +0200)]
shm: add missing padding bytes

Signed-off-by: Julien Danjou <julien@danjou.info>
15 years agoshape: add missing padding bytes
Julien Danjou [Mon, 1 Sep 2008 13:05:41 +0000 (15:05 +0200)]
shape: add missing padding bytes

Signed-off-by: Julien Danjou <julien@danjou.info>
15 years agorender: add missing padding bytes
Julien Danjou [Mon, 1 Sep 2008 13:05:40 +0000 (15:05 +0200)]
render: add missing padding bytes

Signed-off-by: Julien Danjou <julien@danjou.info>
15 years agorandr: add missing padding bytes
Julien Danjou [Mon, 1 Sep 2008 13:05:39 +0000 (15:05 +0200)]
randr: add missing padding bytes

Signed-off-by: Julien Danjou <julien@danjou.info>
15 years agodpms: add missing padding bytes
Julien Danjou [Mon, 1 Sep 2008 13:05:38 +0000 (15:05 +0200)]
dpms: add missing padding bytes

Signed-off-by: Julien Danjou <julien@danjou.info>
15 years agoMake bit-numbers available to code-generators
Carsten Meier [Wed, 3 Sep 2008 10:55:04 +0000 (12:55 +0200)]
Make bit-numbers available to code-generators

The Enum-class now exports the bit numbers in the 'bits'-list
if they have been specified in the protocol description.

Signed-off-by: Bart Massey <bart@cs.pdx.edu>
15 years agoGenerate values instead of shift-expressions for enum-bits
Carsten Meier [Wed, 3 Sep 2008 10:50:26 +0000 (12:50 +0200)]
Generate values instead of shift-expressions for enum-bits

Now more language independent as some languages don't have
C-like shift-operators.

Signed-off-by: Bart Massey <bart@cs.pdx.edu>
15 years agodid remaining replacements of hex constants with decimal
Bart Massey [Wed, 3 Sep 2008 18:37:03 +0000 (11:37 -0700)]
did remaining replacements of hex constants with decimal

15 years agoReplaced hex-values with decimal ones
Carsten Meier [Wed, 3 Sep 2008 11:01:24 +0000 (13:01 +0200)]
Replaced hex-values with decimal ones

Replaced the GC-function values with decimal ones as some
languages have a different notation for hex-values.

Signed-off-by: Bart Massey <bart@cs.pdx.edu>
15 years agomade changes to support new value-mask-pad field of valueparam structures
Bart Massey [Sun, 31 Aug 2008 07:45:17 +0000 (00:45 -0700)]
made changes to support new value-mask-pad field of valueparam structures

15 years agoxcb-xselinux: Add GetClientContext request.
Eamon Walsh [Tue, 2 Sep 2008 21:38:30 +0000 (17:38 -0400)]
xcb-xselinux: Add GetClientContext request.

15 years agoglx: add padding for PbufferClobber event
Julien Danjou [Wed, 27 Aug 2008 09:51:06 +0000 (11:51 +0200)]
glx: add padding for PbufferClobber event

Signed-off-by: Julien Danjou <julien@danjou.info>
15 years agoscreensaver: add padding for notify event
Julien Danjou [Wed, 27 Aug 2008 09:50:49 +0000 (11:50 +0200)]
screensaver: add padding for notify event

Signed-off-by: Julien Danjou <julien@danjou.info>
15 years agoxproto: fix alignment for RotateProperties request
Julien Danjou [Wed, 27 Aug 2008 09:40:52 +0000 (11:40 +0200)]
xproto: fix alignment for RotateProperties request

Signed-off-by: Julien Danjou <julien@danjou.info>
15 years agoxv.xml: Use <pad> for padding
Peter Harris [Wed, 27 Aug 2008 08:17:23 +0000 (10:17 +0200)]
xv.xml: Use <pad> for padding

Signed-off-by: Julien Danjou <julien@danjou.info>
15 years agoxv.xml: Make padding explicit
Peter Harris [Wed, 27 Aug 2008 08:13:18 +0000 (10:13 +0200)]
xv.xml: Make padding explicit

I noticed that xv.xml assumes implicit padding in a couple of locations.
Please apply this patch to make the padding explicit. Or is implicit
pad support required in all consumers of xcb/proto?

Signed-off-by: Julien Danjou <julien@danjou.info>
15 years agoRelease xcb-proto 1.2.
Peter Hutterer [Fri, 18 Jul 2008 01:29:58 +0000 (10:59 +0930)]
Release xcb-proto 1.2.

15 years agoWork around a Python bug involving the file name 'types.py'.
Eamon Walsh [Wed, 9 Jul 2008 17:41:10 +0000 (13:41 -0400)]
Work around a Python bug involving the file name 'types.py'.

16 years agoAvoid using enum types as structure fields.
Eamon Walsh [Thu, 22 May 2008 02:49:14 +0000 (22:49 -0400)]
Avoid using enum types as structure fields.

16 years agoFix a type size calculation.
Eamon Walsh [Thu, 22 May 2008 02:25:50 +0000 (22:25 -0400)]
Fix a type size calculation.

16 years agoAdd is_simple boolean attribute for plain integer types.
Eamon Walsh [Fri, 16 May 2008 18:53:49 +0000 (14:53 -0400)]
Add is_simple boolean attribute for plain integer types.

16 years agoAdd the python install dir to xcb-xproto.pc.
Eamon Walsh [Thu, 24 Apr 2008 00:21:31 +0000 (20:21 -0400)]
Add the python install dir to xcb-xproto.pc.

16 years agoAdd Python parser language-independent parts.
Eamon Walsh [Thu, 17 Apr 2008 23:46:16 +0000 (19:46 -0400)]
Add Python parser language-independent parts.

16 years agoRequire a length specification for lists in reply structures.
Eamon Walsh [Mon, 14 Apr 2008 23:24:02 +0000 (19:24 -0400)]
Require a length specification for lists in reply structures.

16 years agoRemove some stray padding from an XInput request.
Eamon Walsh [Mon, 14 Apr 2008 18:42:39 +0000 (14:42 -0400)]
Remove some stray padding from an XInput request.

16 years agoXinerama GetScreenSize screen field is a CARD32, not an xproto screen struct.
Eamon Walsh [Mon, 14 Apr 2008 18:40:47 +0000 (14:40 -0400)]
Xinerama GetScreenSize screen field is a CARD32, not an xproto screen struct.

16 years agoUse multiword attribute instead of oneword in XSELinux description.
Eamon Walsh [Thu, 3 Apr 2008 21:58:41 +0000 (17:58 -0400)]
Use multiword attribute instead of oneword in XSELinux description.
Fixes validation.

16 years agoxcb-xselinux: Revisions to xselinux extension protocol.
Eamon Walsh [Wed, 5 Mar 2008 17:50:49 +0000 (12:50 -0500)]
xcb-xselinux: Revisions to xselinux extension protocol.

16 years agoxcb-xselinux: Remove an errant padding statement.
Eamon Walsh [Tue, 26 Feb 2008 00:33:15 +0000 (19:33 -0500)]
xcb-xselinux: Remove an errant padding statement.

Bug reported by Xavier Toth.

16 years agoAdd XML description for SELinux extension.
Eamon Walsh [Thu, 24 Jan 2008 20:48:07 +0000 (15:48 -0500)]
Add XML description for SELinux extension.

16 years agoAdd XML description for XInput extension.
Eamon Walsh [Thu, 24 Jan 2008 20:46:59 +0000 (15:46 -0500)]
Add XML description for XInput extension.

Some requests and replies are not yet implemented.

16 years agoUse <bit> instead of <value> where appropriate
Peter Harris [Tue, 11 Dec 2007 00:58:48 +0000 (19:58 -0500)]
Use <bit> instead of <value> where appropriate

16 years agofixed xv SelectPortNotify argument; bug reported by Julien Cristau <jcristau@debian...
Bart Massey [Mon, 10 Dec 2007 22:34:40 +0000 (14:34 -0800)]
fixed xv SelectPortNotify argument; bug reported by Julien Cristau <jcristau@debian.org>

16 years agoChange the protocol definition of X-Resource to use ATOMs.
Peter Harris [Fri, 7 Dec 2007 22:23:53 +0000 (14:23 -0800)]
Change the protocol definition of X-Resource to use ATOMs.

16 years agoBugfix: GetKeyboardMapping's keysyms list had the wrong length.
Jamey Sharp [Sat, 1 Dec 2007 20:32:38 +0000 (12:32 -0800)]
Bugfix: GetKeyboardMapping's keysyms list had the wrong length.

16 years agoRelease xcb-proto 1.1
Jamey Sharp [Sun, 4 Nov 2007 22:17:52 +0000 (14:17 -0800)]
Release xcb-proto 1.1

16 years agofix XSync Initialize call
Rob Taylor [Mon, 27 Aug 2007 13:56:45 +0000 (06:56 -0700)]
fix XSync Initialize call

Initialize takes two CARD8 fields for desired Xsync version.

17 years agoUpdate autogen.sh to one that does objdir != srcdir.
Matthias Hopf [Wed, 11 Apr 2007 15:23:44 +0000 (17:23 +0200)]
Update autogen.sh to one that does objdir != srcdir.

17 years agoModifies new attribute from previous patch so that it need only be used
Eamon Walsh [Tue, 10 Apr 2007 15:56:43 +0000 (11:56 -0400)]
Modifies new attribute from previous patch so that it need only be used
on extensions with split names.

17 years agoIntroduces attribute to schema and modifies currently special-cased
Eamon Walsh [Thu, 29 Mar 2007 19:26:28 +0000 (12:26 -0700)]
Introduces attribute to schema and modifies currently special-cased
protocol descriptions to use it.

17 years agoUpdate DAMAGE to 1.1
Jeremy Kolb [Tue, 13 Feb 2007 00:49:12 +0000 (19:49 -0500)]
Update DAMAGE to 1.1

17 years agoUse lowercase for field names.
Ian Osgood [Sat, 2 Dec 2006 16:54:14 +0000 (08:54 -0800)]
Use lowercase for field names.

17 years agoFix ListOutputProperties protocol.
Ian Osgood [Sat, 2 Dec 2006 16:42:24 +0000 (08:42 -0800)]
Fix ListOutputProperties protocol.

17 years agoUpdate RandR to version 1.2
Ian Osgood [Thu, 30 Nov 2006 20:01:22 +0000 (12:01 -0800)]
Update RandR to version 1.2

17 years agoRelease xcb-proto 1.0
Josh Triplett [Thu, 23 Nov 2006 15:21:09 +0000 (07:21 -0800)]
Release xcb-proto 1.0

17 years agoBug #8990: randr type fixes
Vincent Torri [Wed, 22 Nov 2006 05:57:38 +0000 (21:57 -0800)]
Bug #8990: randr type fixes

17 years agoEstethic change for attribute parameter name
Patrick Guimond [Wed, 8 Nov 2006 22:34:33 +0000 (17:34 -0500)]
Estethic change for attribute parameter name

Changed num_attributes parameter of QueryContext request to num_attribs
for consistency with other requests

17 years agofixed screen parameter type in requests
Patrick Guimond [Wed, 8 Nov 2006 22:32:43 +0000 (17:32 -0500)]
fixed screen parameter type in requests

For the following requests, fixed the paramater type to be CARD32 instead
of SCREEN structure

Requests: - CreateNewContext
          - CreatePbuffer
          - CreateWindow

17 years agoChanged valueparam arguments for attribute lists
Patrick Guimond [Wed, 8 Nov 2006 22:29:43 +0000 (17:29 -0500)]
Changed valueparam arguments for attribute lists

For following request and replies, substitutes attribute list passing
to a parameter list instead of valuemask/values

Requests: - CreatePixmap
          - QueryContext
          - CreatePbuffer
          - ChangeDrawableAttributes
          - CreateWindow
Reply:    - GetDrawableAttributes

17 years agoRemove support for the <localfield> tag: nothing needs it.
Jamey Sharp [Sun, 19 Nov 2006 22:51:26 +0000 (14:51 -0800)]
Remove support for the <localfield> tag: nothing needs it.

Only one use of <localfield> remained, for a list length expression in
xv.xml. List length parameters that don't actually appear in the
protocol should be left implicit: if no length expression is given, then
a localfield will be automatically created by c-client.xsl.

17 years agoBug #8973: In UngrabKey, the 'key' field is of type KEYCODE, not the more general...
Jamey Sharp [Sun, 12 Nov 2006 00:12:54 +0000 (16:12 -0800)]
Bug #8973: In UngrabKey, the 'key' field is of type KEYCODE, not the more general CARD8.

Thanks to Vincent Torri for pointing out the error.

17 years agoRelease xcb-proto 1.0 RC3 (0.9.93).
Jamey Sharp [Fri, 3 Nov 2006 00:49:43 +0000 (16:49 -0800)]
Release xcb-proto 1.0 RC3 (0.9.93).

17 years agoFix cap style enumeration (bug #8857).
Ian Osgood [Thu, 2 Nov 2006 05:35:24 +0000 (21:35 -0800)]
Fix cap style enumeration (bug #8857).

17 years agoUpdate the record extension. Type in the version.
Jeremy Kolb jkolb@brandeis.edu [Mon, 30 Oct 2006 23:10:20 +0000 (18:10 -0500)]
Update the record extension.  Type in the version.

Updated xcb.xsd for major-version and minor-version attributes of the xcb tag.

17 years agoAdded major-version and minor-version attributes to the xcb tag.
Jeremy Kolb jkolb@brandeis.edu [Mon, 30 Oct 2006 00:27:53 +0000 (19:27 -0500)]
Added major-version and minor-version attributes to the xcb tag.

17 years agoFix GrabMode enumeration (reported by Yang JianJun)
Ian Osgood [Fri, 20 Oct 2006 14:38:55 +0000 (07:38 -0700)]
Fix GrabMode enumeration (reported by Yang JianJun)

17 years agoMove extension descriptions out of extensions/ subdirectory
Josh Triplett [Sun, 15 Oct 2006 19:39:04 +0000 (12:39 -0700)]
Move extension descriptions out of extensions/ subdirectory

Now that the extensions do not get installed to an extensions/ subdirectory,
move them out of the extensions/ subdirectory in the source as well.

17 years agoOops. keithp told me to forget about videmode.
Jeremy Kolb [Fri, 13 Oct 2006 03:54:51 +0000 (23:54 -0400)]
Oops.  keithp told me to forget about videmode.

17 years agoThe Xinerama extension 1.1.
Jeremy Kolb [Fri, 13 Oct 2006 03:51:18 +0000 (23:51 -0400)]
The Xinerama extension 1.1.

17 years agoAdd REPEAT enumeration to fix bug #8535.
Ian Osgood [Sun, 8 Oct 2006 15:57:30 +0000 (08:57 -0700)]
Add REPEAT enumeration to fix bug #8535.

17 years agoMove debian/ directory to new branch "debian".
Jamey Sharp [Sun, 8 Oct 2006 05:49:45 +0000 (22:49 -0700)]
Move debian/ directory to new branch "debian".

17 years agoRelease xcb-proto 1.0 RC2 (0.9.92).
Jamey Sharp [Sun, 8 Oct 2006 02:46:15 +0000 (19:46 -0700)]
Release xcb-proto 1.0 RC2 (0.9.92).

17 years agoMake CompositeGlyphs* usable.
Jamey Sharp [Sun, 8 Oct 2006 02:37:54 +0000 (19:37 -0700)]
Make CompositeGlyphs* usable.

render.xml no longer describes the CompositeGlyphs* requests as taking
lists of complicated unions of structures of lists: it says instead that
they take a LISTofBYTE. The caller is responsible for constructing an
appropriate sequence of glyph elements. Previously, the requests could
not actually be used because XCB did not correctly compute the length of
the provided data.

17 years agoAdd <import>xproto</import> explicitly to extensions that use xproto.
Josh Triplett [Sat, 7 Oct 2006 08:26:48 +0000 (01:26 -0700)]
Add <import>xproto</import> explicitly to extensions that use xproto.

17 years agoChange "union" to "xidunion" for XID unions like DRAWABLE and FONTABLE
Josh Triplett [Sat, 7 Oct 2006 07:14:11 +0000 (00:14 -0700)]
Change "union" to "xidunion" for XID unions like DRAWABLE and FONTABLE

17 years agoKEYCODE and BUTTON should become typedefs of CARD8, not CARD32
Josh Triplett [Sat, 7 Oct 2006 04:16:27 +0000 (21:16 -0700)]
KEYCODE and BUTTON should become typedefs of CARD8, not CARD32

17 years agoReplace structures attempting to provide C type safety with CARD32 typedefs
Josh Triplett [Sat, 7 Oct 2006 04:13:22 +0000 (21:13 -0700)]
Replace structures attempting to provide C type safety with CARD32 typedefs

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.