Daniel Martin [Sun, 18 Aug 2013 13:16:19 +0000 (15:16 +0200)]
xinput: Use explicit enum value
Signed-off-by: Daniel Martin <consume.noise@gmail.com>
Reviewed-by: Ran Benita <ran234@gmail.com> (and tested)
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Daniel Martin [Sun, 18 Aug 2013 13:16:05 +0000 (15:16 +0200)]
xfixes: Use explicit enum value
Signed-off-by: Daniel Martin <consume.noise@gmail.com>
Reviewed-by: Ran Benita <ran234@gmail.com> (and tested)
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Daniel Martin [Sun, 18 Aug 2013 13:15:49 +0000 (15:15 +0200)]
xevie: Use explicit enum value
Signed-off-by: Daniel Martin <consume.noise@gmail.com>
Reviewed-by: Ran Benita <ran234@gmail.com> (and tested)
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Daniel Martin [Sun, 18 Aug 2013 13:15:35 +0000 (15:15 +0200)]
sync: Use explicit enum value
Signed-off-by: Daniel Martin <consume.noise@gmail.com>
Reviewed-by: Ran Benita <ran234@gmail.com> (and tested)
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Daniel Martin [Sun, 18 Aug 2013 13:15:20 +0000 (15:15 +0200)]
shape: Use explicit enum value
Signed-off-by: Daniel Martin <consume.noise@gmail.com>
Reviewed-by: Ran Benita <ran234@gmail.com> (and tested)
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Daniel Martin [Sun, 18 Aug 2013 13:15:04 +0000 (15:15 +0200)]
screensaver: Use explicit enum value
Signed-off-by: Daniel Martin <consume.noise@gmail.com>
Reviewed-by: Ran Benita <ran234@gmail.com> (and tested)
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Daniel Martin [Sun, 18 Aug 2013 13:14:36 +0000 (15:14 +0200)]
render: Use explicit enum value
Signed-off-by: Daniel Martin <consume.noise@gmail.com>
Reviewed-by: Ran Benita <ran234@gmail.com> (and tested)
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Daniel Martin [Sun, 18 Aug 2013 13:14:18 +0000 (15:14 +0200)]
dri2: Use explicit enum value
Signed-off-by: Daniel Martin <consume.noise@gmail.com>
Reviewed-by: Ran Benita <ran234@gmail.com> (and tested)
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Daniel Martin [Sun, 18 Aug 2013 13:13:56 +0000 (15:13 +0200)]
randr: Use explicit enum value
Signed-off-by: Daniel Martin <consume.noise@gmail.com>
Reviewed-by: Ran Benita <ran234@gmail.com> (and tested)
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Daniel Martin [Sun, 18 Aug 2013 13:13:19 +0000 (15:13 +0200)]
dpms: Use explicit enum value
Signed-off-by: Daniel Martin <consume.noise@gmail.com>
Reviewed-by: Ran Benita <ran234@gmail.com> (and tested)
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Daniel Martin [Sun, 18 Aug 2013 13:13:05 +0000 (15:13 +0200)]
damage: Use explicit enum value
Signed-off-by: Daniel Martin <consume.noise@gmail.com>
Reviewed-by: Ran Benita <ran234@gmail.com> (and tested)
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Daniel Martin [Sun, 18 Aug 2013 13:12:17 +0000 (15:12 +0200)]
composite: Use explicit enum value
Signed-off-by: Daniel Martin <consume.noise@gmail.com>
Reviewed-by: Ran Benita <ran234@gmail.com> (and tested)
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Ran Benita [Mon, 12 Aug 2013 09:18:59 +0000 (12:18 +0300)]
xkb: Add missing LedClass and BellClass enum values
The protocol encoding says:
http://www.x.org/releases/current/doc/kbproto/xkbproto.html#appD::Common_Types
KB_LEDCLASSRESULT
0 KbdFeedbackClass
4 LedFeedbackClass
KB_LEDCLASSSPEC
Encoding same as KB_LEDCLASSRESULT, with the addition of:
#x0300 XkbDfltXIClass
#x0500 XkbAllXIClasses
KB_BELLCLASSRESULT
0 KbdFeedbackClass
5 BellFeedbackClass
KB_BELLCLASSSPEC
Encoding same as KB_BELLCLASSRESULT, with the addition of:
#x0300 XkbDfltXIClass
Note that the spec says something slightly different in another section:
http://www.x.org/releases/current/doc/kbproto/xkbproto.html#Common_Types
KB_LEDCLASSSPEC { KbdFeedbackClass , LedFeedbackClass , DfltXIClass , AllXIClasses , XINone }
KB_BELLCLASSSPEC { KbdFeedbackClass , BellFeedbackClass , DfltXIClass , AllXIClasses }}
From what I could gather, the encoding is the correct one (but I'm not
sure).
Signed-off-by: Ran Benita <ran234@gmail.com>
Reviewed-by: Daniel Martin <consume.noise@gmail.com>
Ran Benita [Mon, 12 Aug 2013 07:55:02 +0000 (10:55 +0300)]
xkb: Add missing 'supported' field to GetNamedIndicator reply
The protocol encoding has it:
http://www.x.org/releases/current/doc/kbproto/xkbproto.html#appD::Requests
1 CARD8 opcode
1 15 xkb-opcode
[...]
1 1 Reply
1 CARD8 deviceID
2 CARD16 sequence number
[...]
4 SETofKB_BOOLCTRL map.ctrls
1 BOOL supported
3 unused
And xkbGetNamedIndicatorReply in XKBproto.h also.
Finally, the server does send it, though it's always TRUE.
Signed-off-by: Ran Benita <ran234@gmail.com>
Reviewed-by: Daniel Martin <consume.noise@gmail.com>
Ran Benita [Tue, 6 Aug 2013 08:33:45 +0000 (11:33 +0300)]
xkb: Unify Overlay1Behavior and Overlay2Behavior
These two structs are used by the server in the exact same way, and are
handled together (see xkb/xkbPrKeyEv.c, XkbKB_Overlay{1,2} handling).
There is no need to use different (and for some reason slightly
different) types for them.
Reviewed-by: Daniel Martin <consume.noise@gmail.com>
Signed-off-by: Ran Benita <ran234@gmail.com>
Ran Benita [Sun, 4 Aug 2013 10:35:02 +0000 (13:35 +0300)]
xkb: Change DfltBtnAbsolute to the value used by the server
The spec says:
#x02 XkbSA_DfltBtnAbsolute
But /usr/include/X11/extensions/XKB.h has:
#define XkbSA_DfltBtnAbsolute (1L << 2)
which is what the server sends.
Note: the XKB spec was changed by Daniel Martin to match the Xlib value.
See kbproto commit
db07706cb268d5fe1bc38ef5c0a9f49309068b2c.
Reviewed-by: Daniel Martin <consume.noise@gmail.com>
Signed-off-by: Ran Benita <ran234@gmail.com>
Ran Benita [Sun, 4 Aug 2013 10:33:30 +0000 (13:33 +0300)]
xkb: Fix key type map entry field order
In fact, unlike the deleted comment says, both Xlib and the server use
the order as specified in the protocol spec:
http://www.x.org/releases/current/doc/kbproto/xkbproto.html#appD::Requests
(Search for KB_KTMAPENTRY).
Also see struct xkbKTMapEntryWireDesc in
/usr/include/X11/extensions/XKBproto.h
Reviewed-by: Peter Harris <pharris@opentext.com>
Reviewed-by: Daniel Martin <consume.noise@gmail.com>
Signed-off-by: Ran Benita <ran234@gmail.com>
Ran Benita [Sun, 4 Aug 2013 10:31:29 +0000 (13:31 +0300)]
xkb: Work around alignment problems in GetNames and GetMap replies
The basic situation is this: a list of CARD8/CARD16s followed by a list
of CARD16/CARD32s. In the current code, the second list is aligned to
1/2 bytes according the size of the first list. However, in some cases
the second list needs to be aligned to 4 bytes per the xkbproto spec:
http://www.x.org/releases/current/doc/kbproto/xkbproto.html#appD::Requests
XkbGetMap reply (xkb-opcode 8):
[...]
a LISTofCARD8 actsRtrn.count
p unused,p=pad(a)
8A LISTofKB_ACTION actsRtrn.acts
4B LISTofKB_SETBEHAVIOR behaviorsRtrn
v LISTofSETofKEYMASK vmodsRtrn
p unused, p=pad(v)
2E LISTofKB_SETEXPLICIT explicitRtrn
p unused,p=pad(2E)
2M LISTofKB_KEYMODMAP modmapRtrn
p unused, p=pad(2M)
[...]
XkbGetNames reply (xkb-opcode 17):
[...]
l LISTofCARD8 nLevelsPerType, sum of all elements=L
p unused, p=pad(l)
[...]
The server and Xlib handle this with calls to XkbPaddedSize(), which is
a good way to see where the extra padding is needed.
Signed-off-by: Ran Benita <ran234@gmail.com>
Reviewed-by: Daniel Martin <consume.noise@gmail.com>
Daniel Martin [Sat, 29 Jun 2013 19:16:22 +0000 (21:16 +0200)]
xproto: Fix GContext error references in documentation
The name of the error is GContext, not GC.
Signed-off-by: Daniel Martin <consume.noise@gmail.com>
Reviewed-By: Ran Benita <ran234@gmail.com>
Daniel Martin [Thu, 14 Feb 2013 19:55:32 +0000 (20:55 +0100)]
xinput: Use BARRIER from xfixes
Signed-off-by: Daniel Martin <consume.noise@gmail.com>
Daniel Martin [Tue, 15 Jan 2013 19:28:05 +0000 (20:28 +0100)]
xinput: Unlock uninterpreted lists
The 'uninterpreted_data' lists have been added to pad the structure at
runtime and thereby making lists of such structures iterable.
This is a temporary solution until it is possible to nest a <switch> in
a <struct> correctly.
Signed-off-by: Daniel Martin <consume.noise@gmail.com>
Daniel Martin [Tue, 15 Jan 2013 19:17:13 +0000 (20:17 +0100)]
xinput: Add XI v2.3
Introduced with v2.3 has been Pointer Barrier support, including a new
request (XIBarrierReleasePointer) and 2 events (Barrier{Hit,Leave}).
Signed-off-by: Daniel Martin <consume.noise@gmail.com>
Daniel Martin [Tue, 15 Jan 2013 19:14:57 +0000 (20:14 +0100)]
xinput: Add XI v2.2
Introduced with v2.2 has been Multitouch support and therefor 7 new
events: (Raw)Touch{Begin,Update,End} and TouchOwnership.
Signed-off-by: Daniel Martin <consume.noise@gmail.com>
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>