Commit graph

260 commits

Author SHA1 Message Date
Peter Harris
ee71d96c83 Allow multiple <enumref> in a <bitcase>
Signed-off-by: Peter Harris <pharris@opentext.com>
2013-04-16 14:37:05 -04:00
Peter Harris
63fce1aa1a XKB: Change CARD8 to char where ASCII is expected
This does not impact libxcb, but it makes some pretty-printers prettier.

Signed-off-by: Peter Harris <pharris@opentext.com>
2013-04-16 14:37:05 -04:00
Peter Harris
2ad6d97b39 XKB: Fix VirtualMods
nVModMapKeys is usually larger than <popcount>virtualMods</popcount>.

Signed-off-by: Peter Harris <pharris@opentext.com>
2013-04-16 14:37:05 -04:00
Peter Harris
b6abdad2c2 XKB: Fix SymInterpret
SymInterpret is referenced by the spec, but never defined. Therefore,
the definition of SymInterpret is inferred from the server implementation.

Signed-off-by: Peter Harris <pharris@opentext.com>
2013-04-16 14:37:05 -04:00
Peter Harris
88a0f33199 XKB: Fix CountedString16 padding
Should be <pad align=4>, not <pad bytes=1>. This is a very long-winded
way to write <pad align>, since libxcb doesn't support <pad align> yet.

Signed-off-by: Peter Harris <pharris@opentext.com>
2013-04-16 14:37:05 -04:00
Peter Harris
01f8c32984 XKB: Remove CountedString8
CountedString8 is never used.

Signed-off-by: Peter Harris <pharris@opentext.com>
2013-04-16 14:37:05 -04:00
Daniel Martin
7265cbb3a9 xkb: Revert half of d42d791 XKB: Fix broken events
The no-sequence-number attribute was not necessary to achive what commit
d42d791 did. The first field automatically goes between the
response_type and the sequence field in the header. So, adding the
xkbType field would've been sufficient to fix the broken events.

Reference-to: d42d791 XKB: Fix broken events
2013-02-14 20:40:34 +01:00
Daniel Martin
28ae6975c0 Simplify boolean attribute retrieval 2013-02-14 20:40:34 +01:00
Neil Roberts
c0d65da722 xfixes: Update to version 5
This adds the two new functions in XFixes version 5 for handling
pointer barriers.

Signed-off-by: Neil Roberts <neil@linux.intel.com>
Tested-by: Daniel Martin <consume.noise@gmail.com>
Signed-off-by: Peter Harris <pharris@opentext.com>
2013-02-14 11:35:26 -05:00
Colin Walters
ca30e6d5d7 autogen.sh: Implement GNOME Build API
http://people.gnome.org/~walters/docs/build-api.txt

Signed-off-by: Adam Jackson <ajax@redhat.com>
2013-01-16 13:20:49 -05:00
Uli Schlachter
e623b97807 Release xcb-proto 1.8
Signed-off-by: Uli Schlachter <psychon@znc.in>
2012-10-05 14:43:12 +02:00
Daniel Stone
d42d791806 XKB: Fix broken events
XKB events all have exactly the same event number - 0 (from the XKB
event base).  Within this, they're all multiplexed by the xkbType field,
which comes immediately after the event type field, before the sequence
number.  Without this field, the events are pretty much useless, so add
it manually.

Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Reviewed-by: Uli Schlachter <psychon@znc.in>
Signed-off-by: Julien Danjou <julien@danjou.info>
2012-06-21 16:16:11 +02:00
Chad Versace
5a4e42f37a dri2: Update to DRI2 1.4
In DRI2 1.4, the DRI2GetParam request was added.

Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2012-06-05 10:31:19 +02:00
Michael Stapelberg
b02b7f8dcf xproto: add doc tags, xcbgen: handle doc tags
Signed-off-by: Julien Danjou <julien@danjou.info>
2012-03-26 18:23:15 +02:00
Julien Danjou
8c41b3c901 Release xcb-proto 1.7.1
Signed-off-by: Julien Danjou <julien@danjou.info>
2012-03-23 16:24:15 +01:00
Alex Plotnick
eaa943c23e Rename the ExprType "parent" attribute to "parents".
This is fallout from commit 76ca2c0b15,
which renamed the *parent parameter of ExprType.__init__, but failed
to rename the instance attribute to which it was assigned.

Signed-off-by: Julien Danjou <julien@danjou.info>
2012-03-23 15:31:57 +01:00
Arnaud Fontaine
12cb81c5b5 Add autogen.sh to EXTRA_DIST.
Reviewed-by: Uli Schlachter <psychon@znc.in>
2012-02-10 17:44:33 +09:00
Arnaud Fontaine
f7ca3e1dcc Remove now unnecessary files as everything is implemented in xcbgen.
Reviewed-by: Jamey Sharp <jamey@minilop.net>
2012-01-26 10:03:04 +09:00
Arnaud Fontaine
f2574e460f Add ge and xf86vidmode protocol descriptions.
Reviewed-by: Jamey Sharp <jamey@minilop.net>
2012-01-23 10:15:32 +09:00
Julien Danjou
4c8e4acef4 Release xcb-proto 1.7 2012-01-11 17:27:38 +01:00
Robert Ancell
5a94a73845 Fix XKB GetState missing lookupMods field
This fixes #43606

Signed-off-by: Julien Danjou <julien@danjou.info>
2012-01-11 17:17:33 +01:00
Robert Ancell
2608811712 Fix some fields name
XKB-SetControls has some incorrectly named fields according to the spec,
interanlRealMods -> internalRealMods, Internal where Ignore should be used.

This fixes #43605

Signed-off-by: Julien Danjou <julien@danjou.info>
2012-01-11 17:14:29 +01:00
Julien Danjou
04a6b048c6 Fix 9efd2ac87b field name
Signed-off-by: Julien Danjou <julien@danjou.info>
2012-01-11 17:13:27 +01:00
Robert Ancell
9efd2ac87b Fix SetFontPath path string encoding
SetFontPath doesn't encode the path strings correctly - it should be the
same as the GetFontPath reply.

Fixes #43602

Signed-off-by: Julien Danjou <julien@danjou.info>
2012-01-11 17:07:10 +01:00
Robert Ancell
08eb095955 Fix ChangeHosts address string
ChangeHosts incorrectly encodes address as a string, not a binary blob. It
should be the same as in the HOSTS structure.

Fixes #43604

Signed-off-by: Julien Danjou <julien@danjou.info>
2012-01-11 17:03:47 +01:00
Fredrik Höglund
e4dec4873a dri2: Update to version 1.3 (v2)
Signed-off-by: Fredrik Höglund <fredrik@kde.org>
Signed-off-by: Peter Harris <pharris@opentext.com>
2011-12-08 10:17:57 -05:00
Ian Romanick
a0f20ce0ef glx: Add protocol for GLX_ARB_create_context and GLX_ARB_create_context_profile
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Signed-off-by: Peter Harris <pharris@opentext.com>
2011-12-06 15:14:14 -05:00
Ian Romanick
d0b88e5119 glx: Use FBCONFIG type for fbconfig parameter of CreateNewContext and CreatePixmap
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Signed-off-by: Peter Harris <pharris@opentext.com>
2011-12-06 15:13:04 -05:00
Ian Romanick
6a167ee4f2 glx: Use glx:CONTEXT for share_list parameter of CreateNewContext
This matches the share_list parameter of CreateContext.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Signed-off-by: Peter Harris <pharris@opentext.com>
2011-12-06 15:13:04 -05:00
Ian Romanick
cb7c7123e1 glx: Replace some 'reserved' fields with explicit padding
In the GLX protocol specs, the various fields named 'reserved' are
just there to provide alignment padding.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Peter Harris <pharris@opentext.com>
Signed-off-by: Peter Harris <pharris@opentext.com>
2011-12-06 15:13:04 -05:00
Mike Frysinger
17ab095a98 add libdir/exec_prefix to xcb-xproto.pc
If we want to base other paths off of exec_prefix or libdir (like the
python path), we can't because the xcb-proto.pc.in file omits those
variables.  Add them so people can leverage them in their own builds.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Julien Danjou <julien@danjou.info>
2011-11-10 15:36:54 +01:00
Alex Plotnick
f3ae971edc Corrected type of FakeInput rootX & rootY fields
The FakeInput request defined by the XTEST extension has two fields, rootX and
rootY, that are used to indicate relative or absolute pointer coordinates for
fake motion events. These fields are of type INT16, not CARD16. (They must be
signed to allow for negative relative motions and to align with the root-x and
root-y fields of MotionNotify events.)

Signed-off-by: Peter Harris <pharris@opentext.com>
2011-10-13 15:08:23 -04:00
Alex Plotnick
dcfcb5845c Add missing padding bytes to ChangeKeyboardMapping request
https://bugs.freedesktop.org/show_bug.cgi?id=41392

Signed-off-by: Peter Harris <pharris@opentext.com>
2011-10-03 11:22:38 -04:00
Uli Schlachter
a068a20c84 Add RENDER 0.11 definitions
RENDER 0.11 added PDF blend modes, but no one updated xcb/proto.

Signed-off-by: Uli Schlachter <psychon@znc.in>
Signed-off-by: Peter Harris <pharris@opentext.com>
2011-06-13 13:12:27 -04:00
James Jones
fb2af7c138 Add support for fence sync objects
-Add XML to define the fence sync objects and operations
 added in XSync version 3.1.

-Bump sync module version to 3.1

Signed-off-by: James Jones <jajones@nvidia.com>
Reviewed-by: Julien Cristau <jcristau@debian.org>
Signed-off-by: Julien Danjou <julien@danjou.info>
2011-05-11 10:22:28 +02:00
David Coles
f877a6f34c Use absolute imports in xcbgen for Python 3 compatibility
Python 3 has stricter syntax for relative imports. Use absolute imports to
ensure compatibility with all versions of Python. Also break cyclical module
import between state.py and matcher.py by deferring import.

Signed-off-by: David Coles <dcoles@gaikai.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2011-05-03 10:21:55 +02:00
Peter Harris
c4497cdbf0 Merge branch 'master' of git://anongit.freedesktop.org/~peterh/xcbproto 2010-12-23 13:02:52 -05:00
Julien Cristau
661fe8dd77 xproto: fix TranslateCoordinates reply
dst_x and dst_y are signed values (listed as INT16 in the spec).

Signed-off-by: Julien Cristau <jcristau@debian.org>
Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net>
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-10-21 15:17:49 +02:00
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