Commit graph

201 commits

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