Daniel Martin [Tue, 15 Jan 2013 19:11:43 +0000 (20:11 +0100)]
xinput: Add XI v2.1
Introduced with v2.1 has been Raw event support and therefor 5 new
events: Raw{Key,Button}{Press,Release} and RawMotion.
Signed-off-by: Daniel Martin <consume.noise@gmail.com>
Daniel Martin [Tue, 15 Jan 2013 19:06:34 +0000 (20:06 +0100)]
xinput: Add XI v2.0
Introduced with v2.0 have been various new types, structures, 21
requests and 12 XGE events.
All new requests have the "XI" prefix in the name. This prefix can be
found in the spec too and avoids name clashes with requests found in
prior versions of XI (at least that's (Un)GrabDevice).
All new events are X Generic Events. They've a different header then
"normal" events. Therefor we've to mark them with the attribute 'xge'
set to 'true'.
To prevent another name clash one new structure had to be prefixed,
too: XIDeviceInfo.
Signed-off-by: Daniel Martin <consume.noise@gmail.com>
Daniel Martin [Tue, 15 Jan 2013 18:01:12 +0000 (19:01 +0100)]
xinput: Add XI v1.5
New:
- Requests
* ListDeviceProperties
* ChangeDeviceProperty
* DeleteDeviceProperty
* GetDeviceProperty
- Enum
* PropertyFormat
- Event
* DevicePropertyNotify
The requests ChangeDeviceProperty and GetDeviceProperty use switches to
return a list depending on the format (8bit, 16bit and 32bit) of the
property value.
We reuse the <bitcase> here. Which is possible, because the format
values don't have equal bits. But, this is rather a hack and must be
changed when the value test (a <case>) for switches is implemented.
Signed-off-by: Daniel Martin <consume.noise@gmail.com>
Daniel Martin [Tue, 15 Jan 2013 17:54:05 +0000 (18:54 +0100)]
xinput: Cleanup implementation of XI up to v1.4
- Structural changes:
* indent with spaces only (replaced tabs)
* indent attributes
* move structures in front of the first request using it
(Otherwise c_client.py would generate uncompileable code if we fix
the uninterpreted lists.)
* add version-controlled section comments (types, requests, events,
errors) and move structures into their corresponding section
* sort events and eventcopys by number
- Additions:
* add various missing enums and structs (i.e. DeviceChange,
DeviceControl, DeviceName, ...)
* uncomment commented out requests
* linked in various enums into fields (via enum or altenum)
- Other changes:
* link to the txt specification in the git repo
* fixed comments for "uninterpreted lists"
- API CHANGES:
* Request: GetDeviceMotionEvents
The reply contains a list of events (of coordinates). So, we rename
num_coords to num_events. The field is called nevents_return in the
specification. The list was commented out anyways, so the rename
shouldn't affect that much.
* Request: SendExtensionEvent
The list 'events' is a mask, make it a CARD8 like every other mask.
* Events: FocusIn/Out
Those ones haven't been named properly. They are called
DeviceFocusIn/Out in the specification. In XI2 the names FocusIn/Out
are used to introduce new events and cause name clashes. So, we have
to rename the existing FocusIn/Out and give them their proper names.
* Structures: *Feedback{Ctl,State}
Rename the field id to feedback_id, as it's called in the spec. The
only lists using those structs are commented out yet. So, this might
not be called an api break.
Signed-off-by: Daniel Martin <consume.noise@gmail.com>
Daniel Martin [Sat, 8 Jun 2013 09:20:38 +0000 (11:20 +0200)]
Add support for X Generic Extension events
With these patches, we are able to mark an XGE event as such and
generate the correct header for it.
XGE events can be found in the X Input Extension v2++.
Signed-off-by: Daniel Martin <consume.noise@gmail.com>
Reviewed-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Peter Harris <pharris@opentext.com>
Louis-Francis Ratté-Boulianne [Tue, 2 Jul 2013 18:21:40 +0000 (19:21 +0100)]
sync: Change value list param of CreateAlarm and ChangeAlarm into switch
Values for "Value" and "Delta" fields are 64-bit that couldn't be passed through a regular value list/mask.
Signed-off-by: Louis-Francis Ratté-Boulianne <lfrb@collabora.com>
Signed-off-by: Peter Harris <pharris@opentext.com>
Daniel Martin [Tue, 4 Jun 2013 19:29:32 +0000 (21:29 +0200)]
res: Add ClientIdMask enum
And make use of it in ClientIdSpec.
v2: use <bit/> instead of <value/> in the enum
Signed-off-by: Daniel Martin <consume.noise@gmail.com>
Signed-off-by: Peter Harris <pharris@opentext.com>
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>
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>
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>
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>
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>
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>
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.
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>
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>
Erkki Seppälä [Mon, 31 Jan 2011 13:50:16 +0000 (15:50 +0200)]
Prototype for XRes v1.2
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>
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>
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>
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>
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>
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>
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>
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>
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>
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
Daniel Martin [Fri, 11 Jan 2013 17:10:08 +0000 (18:10 +0100)]
Simplify boolean attribute retrieval
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Julien Danjou [Wed, 11 Jan 2012 16:27:38 +0000 (17:27 +0100)]
Release xcb-proto 1.7
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Peter Harris [Thu, 23 Dec 2010 18:02:52 +0000 (13:02 -0500)]
Merge branch 'master' of git://anongit.freedesktop.org/~peterh/xcbproto
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>
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>
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>
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>
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>
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
Christoph Reimann [Mon, 2 Aug 2010 21:27:06 +0000 (23:27 +0200)]
small fix wrt bitcase type names
Christoph Reimann [Thu, 22 Jul 2010 20:53:49 +0000 (22:53 +0200)]
support name attribute for bitcases and set BitcaseType.has_name accordingly
Christoph Reimann [Thu, 15 Jul 2010 08:44:12 +0000 (10:44 +0200)]
xproto.xml: turned valueparam in CreateWindow request into switch
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)
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
Christoph Reimann [Tue, 13 Jul 2010 05:58:24 +0000 (07:58 +0200)]
add support for new expr tags popcount, enumref, sumof
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>
Christoph Reimann [Sat, 12 Jun 2010 21:25:08 +0000 (23:25 +0200)]
xcbgen: perform lenfield lookup within all anchestors
Christoph Reimann [Sat, 22 May 2010 16:04:53 +0000 (18:04 +0200)]
changed Exception message in case of unknown/unhandled XML tags
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>
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>
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>
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>
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>
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
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>
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>
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>
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>
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>
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>
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.
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.
Jamey Sharp [Fri, 9 Oct 2009 17:13:33 +0000 (10:13 -0700)]
xf86dri.xml seems to have been wrong forever. Fixes bug #16894.
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>
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>
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>
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>
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>
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>
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>
Julien Danjou [Tue, 26 May 2009 09:32:18 +0000 (11:32 +0200)]
Revert "shm: fix Completion event fields"
This reverts commit
51c5112d18fc4359c8a3cbe82cb884dcef1a320e.
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>
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>
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>
Peter Harris [Tue, 21 Apr 2009 16:33:15 +0000 (12:33 -0400)]
Merge branch 'enum'
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>