Commit graph

176 commits

Author SHA1 Message Date
Peter Harris
9b2b6acffa Add enum references to fields in XVideo
Signed-off-by: Peter Harris <pharris@opentext.com>
2009-04-21 12:04:44 -04:00
Peter Harris
1de0b6ba14 Add enum references to fields in XInputExtension
Signed-off-by: Peter Harris <pharris@opentext.com>
2009-04-21 12:04:43 -04:00
Peter Harris
3c40a15d3b Add enum references to fields in RANDR
Signed-off-by: Peter Harris <pharris@opentext.com>
2009-04-21 12:04:36 -04:00
Peter Harris
b4ca142b36 Add enum references to fields in DPMS
Signed-off-by: Peter Harris <pharris@opentext.com>
2009-03-19 16:02:51 -04:00
Peter Harris
727ae3b3d3 Add enum references to fields in Damage
Signed-off-by: Peter Harris <pharris@opentext.com>
2009-03-19 16:02:51 -04:00
Peter Harris
80af10abf4 Add enum references to fields in XFIXES
Signed-off-by: Peter Harris <pharris@opentext.com>
2009-03-19 16:02:51 -04:00
Peter Harris
091c0caeec Add enum references to fields in Composite
Signed-off-by: Peter Harris <pharris@opentext.com>
2009-03-19 16:02:51 -04:00
Peter Harris
33e4c1ce67 Add enum references to fields in Shape
Signed-off-by: Peter Harris <pharris@opentext.com>
2009-03-19 16:02:51 -04:00
Peter Harris
907c924677 Move enums above their first use in xproto.xml
This change makes it easier to process the xml file in a single streamy
pass.

Signed-off-by: Peter Harris <pharris@opentext.com>
2009-03-19 16:02:51 -04:00
Peter Harris
35286bcd46 xinput tweaks
- The 'present' field is boolean
- The spec seems to imply that AxisInfo should be signed.
  In actual usage, some devices center on 0, and transmit signed values.
- Add error definitions

Signed-off-by: Peter Harris <pharris@opentext.com>
2009-03-19 16:00:31 -04:00
Peter Harris
cb45e38331 Add a variety of 'None' enum types and altenum references.
Signed-off-by: Peter Harris <pharris@opentext.com>
2009-02-25 16:46:00 -05:00
Peter Harris
6c5e2f4287 Add (and use) KeyButMask enum.
Signed-off-by: Peter Harris <pharris@opentext.com>
2009-02-19 15:00:30 -05:00
Peter Harris
8de2fc333f Add (and use) Time/CurrentTime enum.
Signed-off-by: Peter Harris <pharris@opentext.com>
2009-02-19 15:00:30 -05:00
Peter Harris
e5b4ec6a39 Document enum, altenum, and mask
Signed-off-by: Peter Harris <pharris@opentext.com>
2009-02-19 15:00:30 -05:00
Peter Harris
d001afae93 Add altenum (non-exhaustive enum)
Signed-off-by: Peter Harris <pharris@opentext.com>
2009-02-19 15:00:30 -05:00
Peter Harris
8e5a650fb7 Most usages of ModMask may also take the special value "Any".
Signed-off-by: Peter Harris <pharris@opentext.com>
2009-02-19 15:00:30 -05:00
Julien Danjou
3b32ef907c Release xcb-proto 1.4 2009-02-16 14:54:50 +01:00
Peter Harris
d7f720df74 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>
2009-02-05 16:28:54 -05:00
Peter Harris
505dd632bb Remove obsolete references to XSLT
Signed-off-by: Peter Harris <pharris@opentext.com>
2009-02-05 16:28:45 -05:00
Peter Harris
1804c114bb Add missing enum references to xproto.xml
Fix enum typos in xproto.xml

Signed-off-by: Peter Harris <pharris@opentext.com>
2009-01-05 11:51:41 -05:00
Antoine Latter
12a2b2bf74 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>
2009-01-05 10:22:05 +01:00
Antoine Latter
52d0702ed5 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>
2008-12-29 11:37:28 +01:00
Julien Danjou
fcf07ca7e9 Release xcb-proto 1.3
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-10 11:33:43 +01:00
Julien Danjou
d054344c55 NEWS: add 1.2 release NEWS
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-10 11:29:30 +01:00
Peter Harris
5b65f8e883 Change CARD8 to char when referring to a string in xfixes.xml 2008-11-19 11:36:40 -05:00
Thomas Hunger
cb4beff523 Change type="CARD8" to type="char" where the X specs require a STRING8 2008-11-19 11:36:20 -05:00
Peter Harris
0566147569 randr: Use xidtype where appropriate
Signed-off-by: Peter Harris <peter.harris@hummingbird.com>
2008-11-19 11:16:02 -05:00
Peter Harris
f442680c7f 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>
2008-11-06 10:23:40 +01:00
Alberto Milone
b95df0a7fe RandR: add missing outputs list to GetCrtcInfoReply. 2008-10-22 15:59:55 -04:00
Peter Harris
b5553dfd70 Move the defintion of STRING8 above its first use in xprint.xml
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-20 22:58:52 +02:00
Peter Harris
6a901fb9a6 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>
2008-10-20 22:58:52 +02:00
Peter Harris
b7ca344b92 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>
2008-10-20 22:58:52 +02:00
Eamon Walsh
c8129e1f19 RandR: Remove extraneous field from GetCrtcInfoReply.
Signed-off-by: Eamon Walsh <ewalsh@tycho.nsa.gov>
2008-10-20 14:06:49 -04:00
minami
11e7ac02c2 render: fix missing field in gradient proto
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-16 23:42:23 +02:00
Julien Danjou
d81ca233e9 xv: add missing padding bytes
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-05 00:50:56 +02:00
Julien Danjou
008388baff sync: add missing padding bytes
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-05 00:50:56 +02:00
Julien Danjou
0d62c1d03f xproto: add missing padding bytes
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-05 00:50:56 +02:00
Julien Danjou
0704a33a67 shm: add missing padding bytes
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-05 00:50:49 +02:00
Julien Danjou
109a70c496 shape: add missing padding bytes
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-05 00:50:28 +02:00
Julien Danjou
e4fba94ba6 render: add missing padding bytes
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-05 00:50:27 +02:00
Julien Danjou
c0e94a5ce4 randr: add missing padding bytes
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-05 00:50:23 +02:00
Julien Danjou
db3a0e0089 dpms: add missing padding bytes
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-05 00:49:36 +02:00
Carsten Meier
f9c1bc3c6f 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>
2008-09-03 11:59:07 -07:00
Carsten Meier
929646d767 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>
2008-09-03 11:59:04 -07:00
Bart Massey
8b3c1209de did remaining replacements of hex constants with decimal 2008-09-03 11:46:32 -07:00
Carsten Meier
183ecffd8b 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>
2008-09-03 11:46:27 -07:00
Bart Massey
57934caa3f made changes to support new value-mask-pad field of valueparam structures 2008-09-03 11:46:15 -07:00
Eamon Walsh
91b5a1b56c xcb-xselinux: Add GetClientContext request. 2008-09-02 17:38:30 -04:00
Julien Danjou
47206b3df0 glx: add padding for PbufferClobber event
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-28 09:55:06 +02:00
Julien Danjou
9a6b4466f4 screensaver: add padding for notify event
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-28 09:55:06 +02:00