Commit graph

222 commits

Author SHA1 Message Date
Peter Harris
e172bed682 [xkb] Rename type, sequence, and length
These fields are already defined by the protocol. Rename them to avoid
potential name collisions.

Signed-off-by: Peter Harris <pharris@opentext.com>
2010-10-20 12:07:27 -04:00
Peter Harris
0ba74c7d50 Revert "xproto.xml: turned valueparam in CreateWindow request into switch"
This reverts commit 9895cf562c.

This is intended to be a temporary revert. When we are ready to migrate
to switch, we should migrate all of the valueparams at the same time.

Signed-off-by: Peter Harris <pharris@opentext.com>
2010-10-20 10:26:07 -04:00
Peter Harris
476a3fdbc9 Fix 'make check'
Adds support for optional bitcase names.
Partially reverts 76ca2c0b15 which appears to have added fixed_type to
xproto.xml by accident.

Signed-off-by: Peter Harris <pharris@opentext.com>
2010-09-22 23:27:18 -04:00
Peter Harris
9da6ea6269 Merge branch 'gsoc2010' of git://anongit.freedesktop.org/~chr/xcb_proto
Signed-off-by: Peter Harris <pharris@opentext.com>
2010-09-08 14:38:24 -04:00
Christoph Reimann
76ca2c0b15 xcbgen: small fix to store anchestor objects more systematic
xml: small fixes according to Xlib or the spec
2010-08-16 18:32:13 +02:00
Christoph Reimann
854e2a05c7 small fix wrt bitcase type names 2010-08-02 23:27:06 +02:00
Christoph Reimann
dd227908ab support name attribute for bitcases and set BitcaseType.has_name accordingly 2010-07-22 22:53:49 +02:00
Christoph Reimann
9895cf562c xproto.xml: turned valueparam in CreateWindow request into switch 2010-07-15 10:44:12 +02:00
Christoph Reimann
946817d43e assign switch name to bitcases as well (important in case of switch that appear inside another switch) 2010-07-15 01:06:49 +02:00
Christoph Reimann
73c14cd5f2 - changed handling of anchestor types (may be more than one now)
- added SwitchType and BitcaseType
2010-07-13 07:59:58 +02:00
Christoph Reimann
d30664b580 add support for new expr tags popcount, enumref, sumof 2010-07-13 07:58:24 +02:00
Julien Cristau
e7aa34e6b3 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>
2010-06-24 10:05:27 +02:00
Christoph Reimann
29da739948 xcbgen: perform lenfield lookup within all anchestors 2010-06-12 23:25:08 +02:00
Christoph Reimann
cb4c5d2f46 changed Exception message in case of unknown/unhandled XML tags 2010-05-22 18:11:03 +02:00
Marcin Kościelnicki
f91186b9f3 dri2: Add proper padding before driver_name
Reviewed-by: Julien Cristau <jcristau@debian.org>
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-05-14 13:20:12 +02:00
Marcin Kościelnicki
0188b175cc xf86vidmode: Fix padding expressions
Reviewed-by: Julien Cristau <jcristau@debian.org>
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-05-14 13:19:48 +02:00
Marcin Kościelnicki
70e270182f xcbgen: Add unop support
Reviewed-by: Julien Cristau <jcristau@debian.org>
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-05-14 13:19:14 +02:00
Mikhail Gusarov
dae6b32d78 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>
2010-05-14 11:28:27 +02:00
Peter Harris
2d873a3dc8 xkb: Fix opcode for Bell and GetState requests
Reviewed-by: Ian Osgood <iano@quirkster.com>
Signed-off-by: Peter Harris <pharris@opentext.com>
2010-03-29 17:53:25 -04:00
Peter Harris
3c75db3bcc 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
2010-02-10 16:07:16 -05:00
Peter Harris
e458401b43 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>
2010-02-08 12:22:50 -05:00
Peter Harris
9d03507afa 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>
2010-02-08 12:22:50 -05:00
Julien Danjou
78e48a24c7 Release xcb-proto 1.6
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-12-02 10:07:24 +01:00
Peter Harris
09beaa8043 Add pre-defined atoms to Atom enum
Signed-off-by: Peter Harris <pharris@opentext.com>
2009-11-06 15:53:25 -05:00
Peter Harris
0b6663d19e Fix length calculation for xfixes/FetchRegion reply
Signed-off-by: Peter Harris <pharris@opentext.com>
Reviewed-by: Julien Cristau <jcristau@debian.org>
2009-10-28 17:16:02 -04:00
Eamon Walsh
b684b0d080 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>
2009-10-21 18:37:33 -04:00
Eamon Walsh
a03633320a 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 57934caa3f.
2009-10-21 18:22:06 -04:00
Eric Anholt
ae06ddd86a 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.
2009-10-19 09:45:20 -07:00
Jamey Sharp
a5a414b381 xf86dri.xml seems to have been wrong forever. Fixes bug #16894. 2009-10-09 10:13:33 -07:00
Guillem Jover
4f4d43eceb Add py-compile to .gitignore
Signed-off-by: Guillem Jover <guillem@hadrons.org>
Signed-off-by: Peter Harris <pharris@opentext.com>
2009-09-22 16:08:11 -04:00
Julien Danjou
a507629647 shape: add missing padding bytes to GetRectangles
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-16 11:05:17 +02:00
Peter Harris
4fb5556c67 Fix typo in xf86vidmode.xml
Signed-off-by: Peter Harris <pharris@opentext.com>
2009-06-01 14:18:51 -04:00
Peter Harris
a8c55f7972 Add XML description for the XFree86VidMode extension.
Signed-off-by: Peter Harris <pharris@opentext.com>
2009-06-01 14:01:51 -04:00
Peter Harris
e7e9fcc744 Add XML description for the Generic Event extension.
Signed-off-by: Peter Harris <pharris@opentext.com>
2009-06-01 14:01:51 -04:00
Julien Danjou
57beb8a0ef Release xcb-proto 1.5
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-05-29 08:12:16 +02:00
Julien Cristau
6d62c3c28c 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>
2009-05-26 11:33:48 +02:00
Julien Danjou
1d6890e640 Revert "shm: fix Completion event fields"
This reverts commit 51c5112d18.
2009-05-26 11:32:18 +02:00
Julien Danjou
51c5112d18 shm: fix Completion event fields
This should fix Debian bug #530560.

Signed-off-by: Julien Danjou <julien@danjou.info>
2009-05-26 10:45:57 +02:00
Julien Danjou
38426f8b89 bump version to 1.5
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-05-09 17:58:59 +02:00
Julien Cristau
60d3f9fd9c Add RandR 1.3 requests
Signed-off-by: Julien Cristau <jcristau@debian.org>
2009-04-26 14:00:48 -04:00
Peter Harris
f584ee1100 Merge branch 'enum' 2009-04-21 12:33:15 -04:00
Peter Harris
88d08418b1 Add enum references to fields in SYNC
Signed-off-by: Peter Harris <pharris@opentext.com>
2009-04-21 12:04:44 -04:00
Peter Harris
84bfafb49f Add enum references to fields in RENDER
Signed-off-by: Peter Harris <pharris@opentext.com>
2009-04-21 12:04:44 -04:00
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
Julien Danjou
df2cdeecb9 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>
2009-04-12 01:41:35 +02:00
Eamon Walsh
fe7b12db4f 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>
2009-04-07 23:56:33 -04:00
Julien Danjou
4d9e8c51ea Fix miter spelling
This fixes bug #13140.

Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-06 10:56:30 +02: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