Commit graph

209 commits

Author SHA1 Message Date
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
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
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
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
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