Julien Cristau [Wed, 23 Jun 2010 17:56:26 +0000 (18:56 +0100)]
xf86dri: fix GetDrawableInfo reply
Add missing fields and list of clip rects.
Reviewed-by: Peter Harris <pharris@opentext.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
Marcin Kościelnicki [Thu, 13 May 2010 21:06:00 +0000 (21:06 +0000)]
dri2: Add proper padding before driver_name
Reviewed-by: Julien Cristau <jcristau@debian.org>
Signed-off-by: Julien Danjou <julien@danjou.info>
Marcin Kościelnicki [Thu, 13 May 2010 21:05:59 +0000 (21:05 +0000)]
xf86vidmode: Fix padding expressions
Reviewed-by: Julien Cristau <jcristau@debian.org>
Signed-off-by: Julien Danjou <julien@danjou.info>
Marcin Kościelnicki [Thu, 13 May 2010 21:05:58 +0000 (21:05 +0000)]
xcbgen: Add unop support
Reviewed-by: Julien Cristau <jcristau@debian.org>
Signed-off-by: Julien Danjou <julien@danjou.info>
Mikhail Gusarov [Thu, 13 May 2010 21:24:27 +0000 (04:24 +0700)]
Revive support for hex literals in protocol
As a side-effect it also adds octal and binary literals. Exact syntax is
described at http://docs.python.org/reference/lexical_analysis.html#numbers
It is unwise to use full syntax, as there might be other binding generators,
octal, binary and hex literals seem to be safe though.
Signed-off-by: Mikhail Gusarov <dottedmag@dottedmag.net>
Signed-off-by: Julien Danjou <julien@danjou.info>
Peter Harris [Mon, 29 Mar 2010 19:26:38 +0000 (15:26 -0400)]
xkb: Fix opcode for Bell and GetState requests
Reviewed-by: Ian Osgood <iano@quirkster.com>
Signed-off-by: Peter Harris <pharris@opentext.com>
Peter Harris [Wed, 10 Feb 2010 21:07:16 +0000 (16:07 -0500)]
Collection of small fixes for xkb.xml
These were discovered while updating the wireshark dissector:
- Clean up "ID" enum definition and usage
- Clean up XIFeature masks
- Use SetOfGroup (not Group) for masks
- Use LedClass as an enum, not as a mask
Peter Harris [Wed, 11 Nov 2009 19:41:38 +0000 (14:41 -0500)]
Add XKEYBOARD protocol description
Thanks to Mariusz Ceier <mceier@gmail.com> for starting this work, and
to Google's Summer of Code for sponsoring the initial work.
Signed-off-by: Peter Harris <pharris@opentext.com>
Peter Harris [Wed, 11 Nov 2009 19:41:16 +0000 (14:41 -0500)]
Add description of new protocol elements
These new elements will be used to support XKEYBOARD (and potentially
other troublesome extensions in the future).
Thanks to Mariusz Ceier <mceier@gmail.com> for starting this work, and
to Google's Summer of Code for sponsoring the initial work.
Signed-off-by: Peter Harris <pharris@opentext.com>
Julien Danjou [Wed, 2 Dec 2009 09:06:23 +0000 (10:06 +0100)]
Release xcb-proto 1.6
Signed-off-by: Julien Danjou <julien@danjou.info>
Peter Harris [Fri, 6 Nov 2009 20:48:00 +0000 (15:48 -0500)]
Add pre-defined atoms to Atom enum
Signed-off-by: Peter Harris <pharris@opentext.com>
Peter Harris [Wed, 28 Oct 2009 20:05:26 +0000 (16:05 -0400)]
Fix length calculation for xfixes/FetchRegion reply
Signed-off-by: Peter Harris <pharris@opentext.com>
Reviewed-by: Julien Cristau <jcristau@debian.org>
Eamon Walsh [Wed, 21 Oct 2009 22:37:33 +0000 (18:37 -0400)]
Re-fix the ConfigureWindow request padding issue.
We rely on the fact that the valueparam field is treated as a list,
and, like any other list, the Python code will check if the length
field is previously defined in the structure before adding a new one.
This allows us to insert the necessary 2-byte padding.
Signed-off-by: Eamon Walsh <ewalsh@tycho.nsa.gov>
Eamon Walsh [Wed, 21 Oct 2009 22:22:06 +0000 (18:22 -0400)]
Revert "made changes to support new value-mask-pad field of valueparam structures"
This change fixes a ConfigureWindow request padding issue,
but has a bug that affects xpyb (#24507).
This reverts commit
57934caa3fb207320c33312646d8e98290950f51.
Eric Anholt [Thu, 15 Oct 2009 20:12:50 +0000 (13:12 -0700)]
Add DRI2 protocol, based off of dri2proto.h and the server code. (v2)
v2: Incorporate comments from jcristau, and convert to 2-space indents to
match the dominant style.
Jamey Sharp [Fri, 9 Oct 2009 17:13:33 +0000 (10:13 -0700)]
xf86dri.xml seems to have been wrong forever. Fixes bug #16894.
Guillem Jover [Tue, 22 Sep 2009 17:43:23 +0000 (19:43 +0200)]
Add py-compile to .gitignore
Signed-off-by: Guillem Jover <guillem@hadrons.org>
Signed-off-by: Peter Harris <pharris@opentext.com>
Julien Danjou [Sun, 16 Aug 2009 09:05:17 +0000 (11:05 +0200)]
shape: add missing padding bytes to GetRectangles
Signed-off-by: Julien Danjou <julien@danjou.info>
Peter Harris [Mon, 1 Jun 2009 18:16:09 +0000 (14:16 -0400)]
Fix typo in xf86vidmode.xml
Signed-off-by: Peter Harris <pharris@opentext.com>
Peter Harris [Thu, 21 May 2009 19:29:13 +0000 (15:29 -0400)]
Add XML description for the XFree86VidMode extension.
Signed-off-by: Peter Harris <pharris@opentext.com>
Peter Harris [Thu, 21 May 2009 18:12:24 +0000 (14:12 -0400)]
Add XML description for the Generic Event extension.
Signed-off-by: Peter Harris <pharris@opentext.com>
Julien Danjou [Fri, 29 May 2009 06:12:16 +0000 (08:12 +0200)]
Release xcb-proto 1.5
Signed-off-by: Julien Danjou <julien@danjou.info>
Julien Cristau [Tue, 26 May 2009 08:59:26 +0000 (10:59 +0200)]
Fix ShmCompletion event
Reported-by: Remi Denis-Courmont <rdenis@simphalempin.com>
Signed-off-by: Julien Cristau <jcristau@debian.org>
Signed-off-by: Julien Danjou <julien@danjou.info>
Julien Danjou [Tue, 26 May 2009 09:32:18 +0000 (11:32 +0200)]
Revert "shm: fix Completion event fields"
This reverts commit
51c5112d18fc4359c8a3cbe82cb884dcef1a320e.
Julien Danjou [Tue, 26 May 2009 08:45:57 +0000 (10:45 +0200)]
shm: fix Completion event fields
This should fix Debian bug #530560.
Signed-off-by: Julien Danjou <julien@danjou.info>
Julien Danjou [Sat, 9 May 2009 15:58:59 +0000 (17:58 +0200)]
bump version to 1.5
Signed-off-by: Julien Danjou <julien@danjou.info>
Julien Cristau [Wed, 22 Apr 2009 17:14:28 +0000 (19:14 +0200)]
Add RandR 1.3 requests
Signed-off-by: Julien Cristau <jcristau@debian.org>
Peter Harris [Tue, 21 Apr 2009 16:33:15 +0000 (12:33 -0400)]
Merge branch 'enum'
Peter Harris [Thu, 9 Apr 2009 19:30:13 +0000 (15:30 -0400)]
Add enum references to fields in SYNC
Signed-off-by: Peter Harris <pharris@opentext.com>
Peter Harris [Thu, 9 Apr 2009 01:22:56 +0000 (21:22 -0400)]
Add enum references to fields in RENDER
Signed-off-by: Peter Harris <pharris@opentext.com>
Peter Harris [Tue, 31 Mar 2009 19:54:59 +0000 (15:54 -0400)]
Add enum references to fields in XVideo
Signed-off-by: Peter Harris <pharris@opentext.com>
Peter Harris [Tue, 17 Mar 2009 19:02:16 +0000 (15:02 -0400)]
Add enum references to fields in XInputExtension
Signed-off-by: Peter Harris <pharris@opentext.com>
Peter Harris [Mon, 16 Mar 2009 18:57:36 +0000 (14:57 -0400)]
Add enum references to fields in RANDR
Signed-off-by: Peter Harris <pharris@opentext.com>
Julien Danjou [Sat, 11 Apr 2009 23:41:35 +0000 (01:41 +0200)]
xtest: rename window field
The XTest specs call this field 'root' window, which is really more clear
than just 'window'.
Signed-off-by: Julien Danjou <julien@danjou.info>
Eamon Walsh [Wed, 8 Apr 2009 03:56:33 +0000 (23:56 -0400)]
Correct the length calculation for the value field of GetPropertyReply.
value_len only contains the number of data units, which are 1, 2, or 4
bytes depending on the value of the format field. The length of the
value field is thus value_len multiplied by the bytes per unit,
which is format / 8.
Signed-off-by: Eamon Walsh <ewalsh@tycho.nsa.gov>
Julien Danjou [Mon, 6 Apr 2009 08:55:41 +0000 (10:55 +0200)]
Fix miter spelling
This fixes bug #13140.
Signed-off-by: Julien Danjou <julien@danjou.info>
Peter Harris [Fri, 6 Mar 2009 16:34:11 +0000 (11:34 -0500)]
Add enum references to fields in DPMS
Signed-off-by: Peter Harris <pharris@opentext.com>
Peter Harris [Wed, 18 Mar 2009 20:39:29 +0000 (16:39 -0400)]
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>
Peter Harris [Fri, 6 Mar 2009 16:20:17 +0000 (11:20 -0500)]
Add enum references to fields in Damage
Signed-off-by: Peter Harris <pharris@opentext.com>
Peter Harris [Fri, 6 Mar 2009 16:20:09 +0000 (11:20 -0500)]
Add enum references to fields in XFIXES
Signed-off-by: Peter Harris <pharris@opentext.com>
Peter Harris [Fri, 6 Mar 2009 15:44:10 +0000 (10:44 -0500)]
Add enum references to fields in Composite
Signed-off-by: Peter Harris <pharris@opentext.com>
Peter Harris [Thu, 5 Mar 2009 23:26:21 +0000 (18:26 -0500)]
Add enum references to fields in Shape
Signed-off-by: Peter Harris <pharris@opentext.com>
Peter Harris [Thu, 19 Mar 2009 17:42:19 +0000 (13:42 -0400)]
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>
Peter Harris [Wed, 25 Feb 2009 21:46:00 +0000 (16:46 -0500)]
Add a variety of 'None' enum types and altenum references.
Signed-off-by: Peter Harris <pharris@opentext.com>
Peter Harris [Thu, 19 Feb 2009 19:49:11 +0000 (14:49 -0500)]
Add (and use) KeyButMask enum.
Signed-off-by: Peter Harris <pharris@opentext.com>
Peter Harris [Thu, 19 Feb 2009 19:44:46 +0000 (14:44 -0500)]
Add (and use) Time/CurrentTime enum.
Signed-off-by: Peter Harris <pharris@opentext.com>
Peter Harris [Thu, 5 Feb 2009 21:09:05 +0000 (16:09 -0500)]
Document enum, altenum, and mask
Signed-off-by: Peter Harris <pharris@opentext.com>
Peter Harris [Thu, 5 Feb 2009 21:42:50 +0000 (16:42 -0500)]
Add altenum (non-exhaustive enum)
Signed-off-by: Peter Harris <pharris@opentext.com>
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>
Julien Danjou [Mon, 16 Feb 2009 10:35:46 +0000 (11:35 +0100)]
Release xcb-proto 1.4
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>
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>
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>
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>
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>
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>
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>
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
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
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>
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>
Alberto Milone [Wed, 22 Oct 2008 19:59:41 +0000 (15:59 -0400)]
RandR: add missing outputs list to GetCrtcInfoReply.
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Bart Massey [Wed, 3 Sep 2008 18:37:03 +0000 (11:37 -0700)]
did remaining replacements of hex constants with decimal
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>
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
Eamon Walsh [Tue, 2 Sep 2008 21:38:30 +0000 (17:38 -0400)]
xcb-xselinux: Add GetClientContext request.
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>
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>
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>
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>
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>
Peter Hutterer [Fri, 18 Jul 2008 01:29:58 +0000 (10:59 +0930)]
Release xcb-proto 1.2.
Eamon Walsh [Wed, 9 Jul 2008 17:41:10 +0000 (13:41 -0400)]
Work around a Python bug involving the file name 'types.py'.
Eamon Walsh [Thu, 22 May 2008 02:49:14 +0000 (22:49 -0400)]
Avoid using enum types as structure fields.
Eamon Walsh [Thu, 22 May 2008 02:25:50 +0000 (22:25 -0400)]
Fix a type size calculation.
Eamon Walsh [Fri, 16 May 2008 18:53:49 +0000 (14:53 -0400)]
Add is_simple boolean attribute for plain integer types.
Eamon Walsh [Thu, 24 Apr 2008 00:21:31 +0000 (20:21 -0400)]
Add the python install dir to xcb-xproto.pc.
Eamon Walsh [Thu, 17 Apr 2008 23:46:16 +0000 (19:46 -0400)]
Add Python parser language-independent parts.
Eamon Walsh [Mon, 14 Apr 2008 23:24:02 +0000 (19:24 -0400)]
Require a length specification for lists in reply structures.
Eamon Walsh [Mon, 14 Apr 2008 18:42:39 +0000 (14:42 -0400)]
Remove some stray padding from an XInput request.
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.
Eamon Walsh [Thu, 3 Apr 2008 21:58:41 +0000 (17:58 -0400)]
Use multiword attribute instead of oneword in XSELinux description.
Fixes validation.
Eamon Walsh [Wed, 5 Mar 2008 17:50:49 +0000 (12:50 -0500)]
xcb-xselinux: Revisions to xselinux extension protocol.
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.
Eamon Walsh [Thu, 24 Jan 2008 20:48:07 +0000 (15:48 -0500)]
Add XML description for SELinux extension.