platform/upstream/xcb-proto.git
11 years agores: Fix and rename list in ClientIdValue
Daniel Martin [Mon, 27 May 2013 17:20:32 +0000 (19:20 +0200)]
res: Fix and rename list in ClientIdValue

The list is a CARD32 and rename the field to "value" to match the
specification.

Signed-off-by: Daniel Martin <consume.noise@gmail.com>
Signed-off-by: Peter Harris <pharris@opentext.com>
11 years agorandr: Add provider object support (RandR v1.4)
Daniel Martin [Tue, 4 Jun 2013 19:27:30 +0000 (21:27 +0200)]
randr: Add provider object support (RandR v1.4)

With RandR 1.4 provider objects have been introduced. "A provider object
represents a GPU or virtual device providing services to the X server."

To handle provider objects the following requests have been added:
    - GetProviders
    - GetProviderInfo
    - SetProviderOffloadSink
    - SetProviderOutputSource
    - ListProviderProperties
    - QueryProviderProperty
    - ConfigureProviderProperty
    - ChangeProviderProperty
    - DeleteProviderProperty
    - GetProviderProperty

And the Notify event got 3 new subcodes:
    - ProviderChange
    - ProviderProperty
    - ResourceChange

v2:
- add missing name field to GetProviderInfo
v3:
- changed ProviderCapability enum
  o replaced <value> with <bit>
  o removed None
- replaced "alignment pad list" with commented out <pad align="4"/> to
  be prepared for future enhancements
- add brief description to commit msg about additions

Signed-off-by: Daniel Martin <consume.noise@gmail.com>
Signed-off-by: Peter Harris <pharris@opentext.com>
11 years agoxtest: Version bump 2.1..2.2
Daniel Martin [Mon, 27 May 2013 17:20:30 +0000 (19:20 +0200)]
xtest: Version bump 2.1..2.2

The implemented and upstream version is 2.2.

Signed-off-by: Daniel Martin <consume.noise@gmail.com>
Signed-off-by: Peter Harris <pharris@opentext.com>
11 years agoglx: Version bump 1.3..1.4
Daniel Martin [Mon, 27 May 2013 17:20:29 +0000 (19:20 +0200)]
glx: Version bump 1.3..1.4

Add the BufferSwapComplete (v2) event.

Signed-off-by: Daniel Martin <consume.noise@gmail.com>
Signed-off-by: Peter Harris <pharris@opentext.com>
11 years agocomposite: Version bump 0.3..0.4
Daniel Martin [Mon, 27 May 2013 17:20:28 +0000 (19:20 +0200)]
composite: Version bump 0.3..0.4

The only difference between version 0.3 and 0.4 is that the clipping
semantics have been redefined. That's just an internal change, no
structure has to be modified.

Signed-off-by: Daniel Martin <consume.noise@gmail.com>
Signed-off-by: Peter Harris <pharris@opentext.com>
11 years agoxfixes: Rename enum DirectionMask to BarrierDirec.
Daniel Martin [Tue, 28 May 2013 14:43:15 +0000 (16:43 +0200)]
xfixes: Rename enum DirectionMask to BarrierDirec.

Rename the enum 'DirectionMask' to 'BarrierDirections' to match the
specification.

Signed-off-by: Daniel Martin <consume.noise@gmail.com>
Signed-off-by: Peter Harris <pharris@opentext.com>
11 years agoXKB: Correct enum to mask
Mark Witmer [Thu, 30 May 2013 02:36:37 +0000 (19:36 -0700)]
XKB: Correct enum to mask

Changes fields with enums EventType, MapPart, or BoolCtrl to use them as
masks instead.

11 years agoscreensaver: Use enum and mask attributes
Daniel Martin [Thu, 23 May 2013 20:35:03 +0000 (22:35 +0200)]
screensaver: Use enum and mask attributes

Signed-off-by: Daniel Martin <consume.noise@gmail.com>
Signed-off-by: Peter Harris <pharris@opentext.com>
11 years agoscreensaver: Remove wrong fields from Notify event
Daniel Martin [Thu, 23 May 2013 20:35:02 +0000 (22:35 +0200)]
screensaver: Remove wrong fields from Notify event

This fixes bug #63158:
    screensaver notify event specification is incorrect
    https://bugs.freedesktop.org/show_bug.cgi?id=63158

As stated in the bug report the response_type and sequence field will be
added automatically while parsing the specification. Additionally, the
pad field is wrong.

Signed-off-by: Daniel Martin <consume.noise@gmail.com>
Signed-off-by: Peter Harris <pharris@opentext.com>
11 years agoPrototype for XRes v1.2
Erkki Seppälä [Mon, 31 Jan 2011 13:50:16 +0000 (15:50 +0200)]
Prototype for XRes v1.2

11 years agoxcbgen: Handle multiple <enumref> in a <bitcase>
Daniel Martin [Mon, 13 May 2013 21:33:03 +0000 (23:33 +0200)]
xcbgen: Handle multiple <enumref> in a <bitcase>

Adopt the XML schema change from commit
    ee71d96 Allow multiple <enumref> in a <bitcase>
and its usage with commit
    b3b5e02 XKB: Fix GetKbdByName.

Signed-off-by: Daniel Martin <consume.noise@gmail.com>
Signed-off-by: Peter Harris <pharris@opentext.com>
11 years agoXKB: Fix calculation in GetIndicatorMap
Peter Harris [Tue, 16 Apr 2013 18:29:51 +0000 (14:29 -0400)]
XKB: Fix calculation in GetIndicatorMap

Contrary to the spec, the server doesn't set nIndicators.

Signed-off-by: Peter Harris <pharris@opentext.com>
11 years agoXKB: Fix GetKbdByName
Peter Harris [Wed, 10 Apr 2013 23:09:44 +0000 (19:09 -0400)]
XKB: Fix GetKbdByName

Each part of the reply has a fake type, sequence, and length. In
addition, some parts of the reply are encoded only once even when
multiple bits are set.

Signed-off-by: Peter Harris <pharris@opentext.com>
11 years agoAllow multiple <enumref> in a <bitcase>
Peter Harris [Thu, 11 Apr 2013 13:52:57 +0000 (09:52 -0400)]
Allow multiple <enumref> in a <bitcase>

Signed-off-by: Peter Harris <pharris@opentext.com>
11 years agoXKB: Change CARD8 to char where ASCII is expected
Peter Harris [Wed, 10 Apr 2013 23:06:20 +0000 (19:06 -0400)]
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>
11 years agoXKB: Fix VirtualMods
Peter Harris [Wed, 10 Apr 2013 23:05:23 +0000 (19:05 -0400)]
XKB: Fix VirtualMods

nVModMapKeys is usually larger than <popcount>virtualMods</popcount>.

Signed-off-by: Peter Harris <pharris@opentext.com>
11 years agoXKB: Fix SymInterpret
Peter Harris [Wed, 10 Apr 2013 23:04:11 +0000 (19:04 -0400)]
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>
11 years agoXKB: Fix CountedString16 padding
Peter Harris [Wed, 10 Apr 2013 23:01:35 +0000 (19:01 -0400)]
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>
11 years agoXKB: Remove CountedString8
Peter Harris [Wed, 10 Apr 2013 22:59:57 +0000 (18:59 -0400)]
XKB: Remove CountedString8

CountedString8 is never used.

Signed-off-by: Peter Harris <pharris@opentext.com>
11 years agoxkb: Revert half of d42d791 XKB: Fix broken events
Daniel Martin [Tue, 15 Jan 2013 11:51:30 +0000 (12:51 +0100)]
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

11 years agoSimplify boolean attribute retrieval
Daniel Martin [Fri, 11 Jan 2013 17:10:08 +0000 (18:10 +0100)]
Simplify boolean attribute retrieval

11 years agoxfixes: Update to version 5
Neil Roberts [Thu, 14 Feb 2013 12:10:50 +0000 (12:10 +0000)]
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>
11 years agoautogen.sh: Implement GNOME Build API
Colin Walters [Wed, 4 Jan 2012 22:37:06 +0000 (17:37 -0500)]
autogen.sh: Implement GNOME Build API

http://people.gnome.org/~walters/docs/build-api.txt

Signed-off-by: Adam Jackson <ajax@redhat.com>
12 years agoRelease xcb-proto 1.8 1.8
Uli Schlachter [Fri, 5 Oct 2012 12:43:12 +0000 (14:43 +0200)]
Release xcb-proto 1.8

Signed-off-by: Uli Schlachter <psychon@znc.in>
12 years agoXKB: Fix broken events
Daniel Stone [Thu, 21 Jun 2012 11:40:02 +0000 (12:40 +0100)]
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>
12 years agodri2: Update to DRI2 1.4
Chad Versace [Mon, 4 Jun 2012 19:11:48 +0000 (12:11 -0700)]
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>
12 years agoxproto: add doc tags, xcbgen: handle doc tags
Michael Stapelberg [Sun, 27 Nov 2011 10:35:06 +0000 (10:35 +0000)]
xproto: add doc tags, xcbgen: handle doc tags

Signed-off-by: Julien Danjou <julien@danjou.info>
12 years agoRelease xcb-proto 1.7.1 1.7.1
Julien Danjou [Fri, 23 Mar 2012 15:24:15 +0000 (16:24 +0100)]
Release xcb-proto 1.7.1

Signed-off-by: Julien Danjou <julien@danjou.info>
12 years agoRename the ExprType "parent" attribute to "parents".
Alex Plotnick [Fri, 23 Mar 2012 14:19:08 +0000 (10:19 -0400)]
Rename the ExprType "parent" attribute to "parents".

This is fallout from commit 76ca2c0b1527541be59c344118c538ba055ad9d8,
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>
12 years agoAdd autogen.sh to EXTRA_DIST.
Arnaud Fontaine [Wed, 25 Jan 2012 07:52:43 +0000 (16:52 +0900)]
Add autogen.sh to EXTRA_DIST.

Reviewed-by: Uli Schlachter <psychon@znc.in>
12 years agoRemove now unnecessary files as everything is implemented in xcbgen.
Arnaud Fontaine [Wed, 25 Jan 2012 07:56:36 +0000 (16:56 +0900)]
Remove now unnecessary files as everything is implemented in xcbgen.

Reviewed-by: Jamey Sharp <jamey@minilop.net>
12 years agoAdd ge and xf86vidmode protocol descriptions.
Arnaud Fontaine [Fri, 20 Jan 2012 09:51:12 +0000 (18:51 +0900)]
Add ge and xf86vidmode protocol descriptions.

Reviewed-by: Jamey Sharp <jamey@minilop.net>
12 years agoRelease xcb-proto 1.7 1.7
Julien Danjou [Wed, 11 Jan 2012 16:27:38 +0000 (17:27 +0100)]
Release xcb-proto 1.7

12 years agoFix XKB GetState missing lookupMods field
Robert Ancell [Wed, 11 Jan 2012 16:17:33 +0000 (17:17 +0100)]
Fix XKB GetState missing lookupMods field

This fixes #43606

Signed-off-by: Julien Danjou <julien@danjou.info>
12 years agoFix some fields name
Robert Ancell [Wed, 11 Jan 2012 16:14:29 +0000 (17:14 +0100)]
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>
12 years agoFix 9efd2ac87b9eca51d07173cf33d48f4d3b77509e field name
Julien Danjou [Wed, 11 Jan 2012 16:13:27 +0000 (17:13 +0100)]
Fix 9efd2ac87b9eca51d07173cf33d48f4d3b77509e field name

Signed-off-by: Julien Danjou <julien@danjou.info>
12 years agoFix SetFontPath path string encoding
Robert Ancell [Wed, 11 Jan 2012 16:06:36 +0000 (17:06 +0100)]
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>
12 years agoFix ChangeHosts address string
Robert Ancell [Wed, 11 Jan 2012 16:03:47 +0000 (17:03 +0100)]
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>
12 years agodri2: Update to version 1.3 (v2)
Fredrik Höglund [Thu, 8 Dec 2011 12:27:54 +0000 (13:27 +0100)]
dri2: Update to version 1.3 (v2)

Signed-off-by: Fredrik Höglund <fredrik@kde.org>
Signed-off-by: Peter Harris <pharris@opentext.com>
12 years agoglx: Add protocol for GLX_ARB_create_context and GLX_ARB_create_context_profile
Ian Romanick [Fri, 2 Dec 2011 23:09:00 +0000 (15:09 -0800)]
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>
12 years agoglx: Use FBCONFIG type for fbconfig parameter of CreateNewContext and CreatePixmap
Ian Romanick [Fri, 2 Dec 2011 23:08:59 +0000 (15:08 -0800)]
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>
12 years agoglx: Use glx:CONTEXT for share_list parameter of CreateNewContext
Ian Romanick [Fri, 2 Dec 2011 23:08:58 +0000 (15:08 -0800)]
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>
12 years agoglx: Replace some 'reserved' fields with explicit padding
Ian Romanick [Fri, 2 Dec 2011 23:08:57 +0000 (15:08 -0800)]
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>
13 years agoadd libdir/exec_prefix to xcb-xproto.pc
Mike Frysinger [Tue, 8 Nov 2011 21:57:44 +0000 (16:57 -0500)]
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>
13 years agoCorrected type of FakeInput rootX & rootY fields
Alex Plotnick [Thu, 13 Oct 2011 19:08:23 +0000 (15:08 -0400)]
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>
13 years agoAdd missing padding bytes to ChangeKeyboardMapping request
Alex Plotnick [Mon, 3 Oct 2011 15:21:45 +0000 (11:21 -0400)]
Add missing padding bytes to ChangeKeyboardMapping request

https://bugs.freedesktop.org/show_bug.cgi?id=41392

Signed-off-by: Peter Harris <pharris@opentext.com>
13 years agoAdd RENDER 0.11 definitions
Uli Schlachter [Sat, 11 Jun 2011 18:57:23 +0000 (20:57 +0200)]
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>
13 years agoAdd support for fence sync objects
James Jones [Tue, 10 May 2011 22:55:09 +0000 (15:55 -0700)]
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>
13 years agoUse absolute imports in xcbgen for Python 3 compatibility
David Coles [Fri, 8 Apr 2011 23:49:30 +0000 (16:49 -0700)]
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>
13 years agoMerge branch 'master' of git://anongit.freedesktop.org/~peterh/xcbproto
Peter Harris [Thu, 23 Dec 2010 18:02:52 +0000 (13:02 -0500)]
Merge branch 'master' of git://anongit.freedesktop.org/~peterh/xcbproto

14 years agoxproto: fix TranslateCoordinates reply
Julien Cristau [Thu, 21 Oct 2010 12:59:37 +0000 (14:59 +0200)]
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>
14 years ago[xkb] Rename type, sequence, and length
Peter Harris [Wed, 20 Oct 2010 16:05:37 +0000 (12:05 -0400)]
[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>
14 years agoRevert "xproto.xml: turned valueparam in CreateWindow request into switch"
Peter Harris [Wed, 20 Oct 2010 14:24:09 +0000 (10:24 -0400)]
Revert "xproto.xml: turned valueparam in CreateWindow request into switch"

This reverts commit 9895cf562c5842813782ce494253c9127e699354.

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>
14 years agoFix 'make check'
Peter Harris [Thu, 23 Sep 2010 03:26:16 +0000 (23:26 -0400)]
Fix 'make check'

Adds support for optional bitcase names.
Partially reverts 76ca2c0b152 which appears to have added fixed_type to
xproto.xml by accident.

Signed-off-by: Peter Harris <pharris@opentext.com>
14 years agoMerge branch 'gsoc2010' of git://anongit.freedesktop.org/~chr/xcb_proto
Peter Harris [Wed, 8 Sep 2010 18:35:32 +0000 (14:35 -0400)]
Merge branch 'gsoc2010' of git://anongit.freedesktop.org/~chr/xcb_proto

Signed-off-by: Peter Harris <pharris@opentext.com>
14 years agoxcbgen: small fix to store anchestor objects more systematic
Christoph Reimann [Mon, 16 Aug 2010 16:32:13 +0000 (18:32 +0200)]
xcbgen: small fix to store anchestor objects more systematic
xml: small fixes according to Xlib or the spec

14 years agosmall fix wrt bitcase type names
Christoph Reimann [Mon, 2 Aug 2010 21:27:06 +0000 (23:27 +0200)]
small fix wrt bitcase type names

14 years agosupport name attribute for bitcases and set BitcaseType.has_name accordingly
Christoph Reimann [Thu, 22 Jul 2010 20:53:49 +0000 (22:53 +0200)]
support name attribute for bitcases and set BitcaseType.has_name accordingly

14 years agoxproto.xml: turned valueparam in CreateWindow request into switch
Christoph Reimann [Thu, 15 Jul 2010 08:44:12 +0000 (10:44 +0200)]
xproto.xml: turned valueparam in CreateWindow request into switch

14 years agoassign switch name to bitcases as well (important in case of switch that appear insid...
Christoph Reimann [Wed, 14 Jul 2010 23:06:49 +0000 (01:06 +0200)]
assign switch name to bitcases as well (important in case of switch that appear inside another switch)

14 years ago- changed handling of anchestor types (may be more than one now)
Christoph Reimann [Tue, 13 Jul 2010 05:59:58 +0000 (07:59 +0200)]
- changed handling of anchestor types (may be more than one now)
- added SwitchType and BitcaseType

14 years agoadd support for new expr tags popcount, enumref, sumof
Christoph Reimann [Tue, 13 Jul 2010 05:58:24 +0000 (07:58 +0200)]
add support for new expr tags popcount, enumref, sumof

14 years agoxf86dri: fix GetDrawableInfo reply
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>
14 years agoxcbgen: perform lenfield lookup within all anchestors
Christoph Reimann [Sat, 12 Jun 2010 21:25:08 +0000 (23:25 +0200)]
xcbgen: perform lenfield lookup within all anchestors

14 years agochanged Exception message in case of unknown/unhandled XML tags
Christoph Reimann [Sat, 22 May 2010 16:04:53 +0000 (18:04 +0200)]
changed Exception message in case of unknown/unhandled XML tags

14 years agodri2: Add proper padding before driver_name
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>
14 years agoxf86vidmode: Fix padding expressions
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>
14 years agoxcbgen: Add unop support
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>
14 years agoRevive support for hex literals in protocol
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>
14 years agoxkb: Fix opcode for Bell and GetState requests
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>
14 years agoCollection of small fixes for xkb.xml
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

14 years agoAdd XKEYBOARD protocol description
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>
14 years agoAdd description of new protocol elements
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>
14 years agoRelease xcb-proto 1.6 1.6
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>
15 years agoAdd pre-defined atoms to Atom enum
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>
15 years agoFix length calculation for xfixes/FetchRegion reply
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>
15 years agoRe-fix the ConfigureWindow request padding issue.
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>
15 years agoRevert "made changes to support new value-mask-pad field of valueparam structures"
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.

15 years agoAdd DRI2 protocol, based off of dri2proto.h and the server code. (v2)
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.

15 years agoxf86dri.xml seems to have been wrong forever. Fixes bug #16894.
Jamey Sharp [Fri, 9 Oct 2009 17:13:33 +0000 (10:13 -0700)]
xf86dri.xml seems to have been wrong forever. Fixes bug #16894.

15 years agoAdd py-compile to .gitignore
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>
15 years agoshape: add missing padding bytes to GetRectangles
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>
15 years agoFix typo in xf86vidmode.xml
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>
15 years agoAdd XML description for the XFree86VidMode extension.
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>
15 years agoAdd XML description for the Generic Event extension.
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>
15 years agoRelease xcb-proto 1.5 1.5
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>
15 years agoFix ShmCompletion event
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>
15 years agoRevert "shm: fix Completion event fields"
Julien Danjou [Tue, 26 May 2009 09:32:18 +0000 (11:32 +0200)]
Revert "shm: fix Completion event fields"

This reverts commit 51c5112d18fc4359c8a3cbe82cb884dcef1a320e.

15 years agoshm: fix Completion event fields
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>
15 years agobump version to 1.5
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>
15 years agoAdd RandR 1.3 requests
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>
15 years agoMerge branch 'enum'
Peter Harris [Tue, 21 Apr 2009 16:33:15 +0000 (12:33 -0400)]
Merge branch 'enum'

15 years agoAdd enum references to fields in SYNC
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>
15 years agoAdd enum references to fields in RENDER
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>
15 years agoAdd enum references to fields in XVideo
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>
15 years agoAdd enum references to fields in XInputExtension
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>
15 years agoAdd enum references to fields in RANDR
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>
15 years agoxtest: rename window field
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>
15 years agoCorrect the length calculation for the value field of GetPropertyReply.
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>
15 years agoFix miter spelling
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>