Commit graph

156 commits

Author SHA1 Message Date
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
Julien Danjou
53366c673c xproto: fix alignment for RotateProperties request
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-28 09:55:06 +02:00
Peter Harris
89fc37ddba xv.xml: Use <pad> for padding
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-27 10:17:42 +02:00
Peter Harris
56e3160f88 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>
2008-08-27 10:13:18 +02:00
Peter Hutterer
025997b87b Release xcb-proto 1.2. 2008-07-18 11:02:05 +09:30
Eamon Walsh
bf652a63fe Work around a Python bug involving the file name 'types.py'. 2008-07-09 13:41:10 -04:00
Eamon Walsh
3e8dbef32e Avoid using enum types as structure fields. 2008-05-21 22:49:14 -04:00
Eamon Walsh
9ae5448fc2 Fix a type size calculation. 2008-05-21 22:25:50 -04:00
Eamon Walsh
0212c5ea88 Add is_simple boolean attribute for plain integer types. 2008-05-16 14:53:49 -04:00
Eamon Walsh
82f981d1bd Add the python install dir to xcb-xproto.pc. 2008-04-23 20:33:07 -04:00
Eamon Walsh
7820273c4b Add Python parser language-independent parts. 2008-04-19 04:30:21 -04:00
Eamon Walsh
b15d25b2c6 Require a length specification for lists in reply structures. 2008-04-14 19:24:02 -04:00
Eamon Walsh
d1f2610692 Remove some stray padding from an XInput request. 2008-04-14 14:42:39 -04:00
Eamon Walsh
72877f45f5 Xinerama GetScreenSize screen field is a CARD32, not an xproto screen struct. 2008-04-14 14:40:47 -04:00
Eamon Walsh
8e71c3348c Use multiword attribute instead of oneword in XSELinux description.
Fixes validation.
2008-04-03 17:58:41 -04:00
Eamon Walsh
ebf1c9dd1b xcb-xselinux: Revisions to xselinux extension protocol. 2008-03-05 12:51:41 -05:00
Eamon Walsh
28a7cd06af xcb-xselinux: Remove an errant padding statement.
Bug reported by Xavier Toth.
2008-02-25 19:33:15 -05:00
Eamon Walsh
442371b6b5 Add XML description for SELinux extension. 2008-01-24 15:48:07 -05:00
Eamon Walsh
d4daeb1dcc Add XML description for XInput extension.
Some requests and replies are not yet implemented.
2008-01-24 15:46:59 -05:00
Peter Harris
4ebc84c750 Use <bit> instead of <value> where appropriate 2007-12-15 22:51:16 -08:00
Bart Massey
ffbac5d94f fixed xv SelectPortNotify argument; bug reported by Julien Cristau <jcristau@debian.org> 2007-12-10 14:34:40 -08:00