From 76a9292cf050ac00a0c8682cf1cf155b4ee4da2d Mon Sep 17 00:00:00 2001 From: matthieu Date: Sun, 31 May 2009 16:38:11 +0000 Subject: [PATCH] update to xcb-proto 1.5 --- proto/xcb-proto/NEWS | 11 ++ proto/xcb-proto/configure.ac | 2 +- proto/xcb-proto/doc/xml-xcb.txt | 6 + proto/xcb-proto/src/composite.xml | 8 +- proto/xcb-proto/src/damage.xml | 8 +- proto/xcb-proto/src/dpms.xml | 11 +- proto/xcb-proto/src/randr.xml | 205 ++++++++++++++++++++------ proto/xcb-proto/src/render.xml | 28 ++-- proto/xcb-proto/src/shape.xml | 26 ++-- proto/xcb-proto/src/shm.xml | 2 +- proto/xcb-proto/src/sync.xml | 8 +- proto/xcb-proto/src/xcb.xsd | 1 + proto/xcb-proto/src/xfixes.xml | 34 +++-- proto/xcb-proto/src/xinput.xml | 196 ++++++++++++++----------- proto/xcb-proto/src/xproto.xml | 229 ++++++++++++++++++------------ proto/xcb-proto/src/xtest.xml | 4 +- proto/xcb-proto/src/xv.xml | 42 ++++-- 17 files changed, 540 insertions(+), 281 deletions(-) diff --git a/proto/xcb-proto/NEWS b/proto/xcb-proto/NEWS index e007eaec4..e9a6a51cb 100644 --- a/proto/xcb-proto/NEWS +++ b/proto/xcb-proto/NEWS @@ -1,3 +1,14 @@ +Release 1.5 (2009-05-09) +======================== +* Add support for mod mask Any +* Add and use altenum (non-exhaustive enum) +* Tweak some XInput specs +* Fix milter spelling +* Correct the length calculation for the value field of GetPropertyReply +* xtest: rename window field to root +* randr: add version 1.3 requests +* shm: fix ShmCompletion event + Release 1.4 (2009-02-16) ======================== * Add explicit padding in various protocol description. diff --git a/proto/xcb-proto/configure.ac b/proto/xcb-proto/configure.ac index 6ada425d6..f3a489e2b 100644 --- a/proto/xcb-proto/configure.ac +++ b/proto/xcb-proto/configure.ac @@ -3,7 +3,7 @@ AC_PREREQ(2.57) AC_INIT([XCB Proto], - 1.4, + 1.5, [xcb@lists.freedesktop.org]) AC_CONFIG_SRCDIR([xcb-proto.pc.in]) AM_INIT_AUTOMAKE([foreign dist-bzip2]) diff --git a/proto/xcb-proto/doc/xml-xcb.txt b/proto/xcb-proto/doc/xml-xcb.txt index 5d3475442..feb99844f 100644 --- a/proto/xcb-proto/doc/xml-xcb.txt +++ b/proto/xcb-proto/doc/xml-xcb.txt @@ -178,6 +178,12 @@ separated by a single colon. For example, to refer to the PIXMAP type defined in glx rather than the one defined in xproto, use type="glx:PIXMAP" rather than type="PIXMAP". +Note: Most of the below may optionally contain an enum, altenum, or mask +attribute, which follows the above rules for "type". "enum" is an exhaustive +enum; the value is restricted to one of the constants named in the enum. +"altenum" may be one of the values contained in the enum, but it need not be. +"mask" refers to an enum to be used as a bitmask. + This element declares some padding in a data structure. The bytes diff --git a/proto/xcb-proto/src/composite.xml b/proto/xcb-proto/src/composite.xml index 3f3a4b1dd..d16b6e746 100644 --- a/proto/xcb-proto/src/composite.xml +++ b/proto/xcb-proto/src/composite.xml @@ -49,25 +49,25 @@ authorization from the authors. - + - + - + - + diff --git a/proto/xcb-proto/src/damage.xml b/proto/xcb-proto/src/damage.xml index 378e3ac2d..9c5cde5b6 100644 --- a/proto/xcb-proto/src/damage.xml +++ b/proto/xcb-proto/src/damage.xml @@ -57,7 +57,7 @@ authorization from the authors. - + @@ -67,8 +67,8 @@ authorization from the authors. - - + + @@ -77,7 +77,7 @@ authorization from the authors. - + diff --git a/proto/xcb-proto/src/dpms.xml b/proto/xcb-proto/src/dpms.xml index 8e84b2d4a..0c2ac2027 100644 --- a/proto/xcb-proto/src/dpms.xml +++ b/proto/xcb-proto/src/dpms.xml @@ -65,14 +65,21 @@ authorization from the authors. + + + + + + + - + - + diff --git a/proto/xcb-proto/src/randr.xml b/proto/xcb-proto/src/randr.xml index 05c42fb6b..4f0716f7c 100644 --- a/proto/xcb-proto/src/randr.xml +++ b/proto/xcb-proto/src/randr.xml @@ -27,9 +27,10 @@ authorization from the authors. --> + major-version="1" minor-version="3"> xproto + render @@ -80,6 +81,13 @@ authorization from the authors. + + 0 + 1 + 2 + 3 + + + - + - + - - 0 - 1 - 2 - 3 + + 0 + + 1 + 2 + 3 - + @@ -123,13 +132,13 @@ authorization from the authors. - + - + @@ -198,7 +207,7 @@ authorization from the authors. - + @@ -242,13 +251,13 @@ authorization from the authors. - + - - + + @@ -310,7 +319,7 @@ authorization from the authors. - + @@ -333,7 +342,7 @@ authorization from the authors. - + @@ -341,7 +350,7 @@ authorization from the authors. - + @@ -387,15 +396,15 @@ authorization from the authors. - + - - + + @@ -414,11 +423,11 @@ authorization from the authors. - + - + @@ -466,24 +475,140 @@ authorization from the authors. + + + + + + + + + + + + + + + num_crtcs + + + num_outputs + + + num_modes + + + + names_len + + + + + + + + + + + filter_len + + + + + + + + + + + + + + + + + + + pending_len + + + pending_nparams + + + current_len + + + current_nparams + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - 0 - - 1 - 2 - 3 - - - + - + @@ -504,7 +629,7 @@ authorization from the authors. - + @@ -519,9 +644,9 @@ authorization from the authors. - - - + + + @@ -529,7 +654,7 @@ authorization from the authors. - + @@ -540,7 +665,7 @@ authorization from the authors. - + diff --git a/proto/xcb-proto/src/render.xml b/proto/xcb-proto/src/render.xml index 654eec917..59cc8e0bb 100644 --- a/proto/xcb-proto/src/render.xml +++ b/proto/xcb-proto/src/render.xml @@ -15,6 +15,10 @@ for licensing information. + + + + @@ -129,7 +133,7 @@ for licensing information. - + @@ -233,7 +237,7 @@ for licensing information. num_screens - + num_subpixel @@ -282,10 +286,10 @@ for licensing information. - + - + @@ -300,7 +304,7 @@ for licensing information. - + @@ -311,7 +315,7 @@ for licensing information. - + @@ -322,7 +326,7 @@ for licensing information. - + @@ -333,7 +337,7 @@ for licensing information. - + @@ -383,7 +387,7 @@ for licensing information. - + @@ -395,7 +399,7 @@ for licensing information. - + @@ -407,7 +411,7 @@ for licensing information. - + @@ -421,7 +425,7 @@ for licensing information. - + diff --git a/proto/xcb-proto/src/shape.xml b/proto/xcb-proto/src/shape.xml index d8324603c..8d76de887 100644 --- a/proto/xcb-proto/src/shape.xml +++ b/proto/xcb-proto/src/shape.xml @@ -49,7 +49,7 @@ authorization from the authors. - + @@ -69,9 +69,9 @@ authorization from the authors. - - - + + + @@ -80,19 +80,19 @@ authorization from the authors. - - + + - + - - - + + + @@ -101,7 +101,7 @@ authorization from the authors. - + @@ -141,10 +141,10 @@ authorization from the authors. - + - + rectangles_len diff --git a/proto/xcb-proto/src/shm.xml b/proto/xcb-proto/src/shm.xml index 7168f3bda..adda50957 100644 --- a/proto/xcb-proto/src/shm.xml +++ b/proto/xcb-proto/src/shm.xml @@ -34,10 +34,10 @@ authorization from the authors. - + diff --git a/proto/xcb-proto/src/sync.xml b/proto/xcb-proto/src/sync.xml index 8e7adc7f0..e30923325 100644 --- a/proto/xcb-proto/src/sync.xml +++ b/proto/xcb-proto/src/sync.xml @@ -55,9 +55,9 @@ for licensing information. - + - + @@ -155,7 +155,7 @@ for licensing information. - + @@ -190,5 +190,7 @@ for licensing information. + + diff --git a/proto/xcb-proto/src/xcb.xsd b/proto/xcb-proto/src/xcb.xsd index 43eb85bd1..54a73705e 100644 --- a/proto/xcb-proto/src/xcb.xsd +++ b/proto/xcb-proto/src/xcb.xsd @@ -51,6 +51,7 @@ authorization from the authors. + diff --git a/proto/xcb-proto/src/xfixes.xml b/proto/xcb-proto/src/xfixes.xml index fc34a60e8..f6b062336 100644 --- a/proto/xcb-proto/src/xfixes.xml +++ b/proto/xcb-proto/src/xfixes.xml @@ -59,9 +59,9 @@ authorization from the authors. - - - + + + @@ -79,7 +79,7 @@ authorization from the authors. - + @@ -91,7 +91,7 @@ authorization from the authors. - + @@ -103,17 +103,17 @@ authorization from the authors. - + - + - + @@ -142,6 +142,10 @@ authorization from the authors. + + + + @@ -155,7 +159,7 @@ authorization from the authors. - + @@ -232,23 +236,23 @@ authorization from the authors. - + - + - + - + @@ -264,7 +268,7 @@ authorization from the authors. - + nbytes @@ -281,7 +285,7 @@ authorization from the authors. - + nbytes diff --git a/proto/xcb-proto/src/xinput.xml b/proto/xcb-proto/src/xinput.xml index 89f34596c..80416fe3f 100644 --- a/proto/xcb-proto/src/xinput.xml +++ b/proto/xcb-proto/src/xinput.xml @@ -57,18 +57,26 @@ authorization from the authors. - + + + 0 + 1 + 2 + 3 + 4 + + - + @@ -85,21 +93,23 @@ authorization from the authors. - - 0 - 1 - 2 - 3 - 4 + + 0 + 1 + 2 + 3 + 4 + 5 + 6 - + - + @@ -108,22 +118,22 @@ authorization from the authors. - + - - + + - + - + axes_len @@ -133,7 +143,7 @@ authorization from the authors. - + @@ -150,16 +160,6 @@ authorization from the authors. - - 0 - 1 - 2 - 3 - 4 - 5 - 6 - - @@ -171,11 +171,11 @@ authorization from the authors. - + - + @@ -214,7 +214,7 @@ authorization from the authors. - + num_classes @@ -239,13 +239,13 @@ authorization from the authors. - + - + @@ -262,7 +262,7 @@ authorization from the authors. - + @@ -276,7 +276,7 @@ authorization from the authors. - + @@ -285,10 +285,10 @@ authorization from the authors. - + - - + + @@ -297,7 +297,7 @@ authorization from the authors. - + @@ -305,7 +305,7 @@ authorization from the authors. - + @@ -314,12 +314,12 @@ authorization from the authors. - + - - - + + + @@ -331,9 +331,9 @@ authorization from the authors. - + - + @@ -344,10 +344,10 @@ authorization from the authors. - - - - + + + + @@ -359,18 +359,27 @@ authorization from the authors. - + - + + + + + + + + + + - - - + + + @@ -380,9 +389,9 @@ authorization from the authors. - + - + @@ -390,9 +399,9 @@ authorization from the authors. - - - + + + @@ -409,14 +418,23 @@ authorization from the authors. + + + + + + + + + - + - + @@ -431,7 +449,7 @@ authorization from the authors. - + @@ -441,7 +459,7 @@ authorization from the authors. - + @@ -450,7 +468,7 @@ authorization from the authors. - + @@ -461,7 +479,7 @@ authorization from the authors. - + @@ -471,7 +489,7 @@ authorization from the authors. - + @@ -490,13 +508,13 @@ authorization from the authors. --> - + - + @@ -510,7 +528,7 @@ authorization from the authors. - + @@ -520,14 +538,14 @@ authorization from the authors. - + - + @@ -538,7 +556,7 @@ authorization from the authors. - + @@ -548,7 +566,7 @@ authorization from the authors. - + @@ -618,7 +636,7 @@ authorization from the authors. - + @@ -649,7 +667,7 @@ authorization from the authors. - + @@ -668,13 +686,13 @@ authorization from the authors. - + - + @@ -684,7 +702,7 @@ authorization from the authors. - + @@ -694,7 +712,7 @@ authorization from the authors. - + @@ -744,7 +762,7 @@ authorization from the authors. - + @@ -757,7 +775,7 @@ authorization from the authors. - + @@ -831,7 +849,7 @@ authorization from the authors. Uninterpreted: list of DeviceCtl structures - + @@ -906,7 +924,7 @@ authorization from the authors. - + @@ -924,15 +942,15 @@ authorization from the authors. - + - + - + @@ -991,4 +1009,12 @@ authorization from the authors. + + + + + + + + diff --git a/proto/xcb-proto/src/xproto.xml b/proto/xcb-proto/src/xproto.xml index 62e4f0bd3..6295daeb3 100644 --- a/proto/xcb-proto/src/xproto.xml +++ b/proto/xcb-proto/src/xproto.xml @@ -127,6 +127,41 @@ authorization from the authors. + + 0 + 0 + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12 + 13 + 14 + 15 + 16 + 17 + 18 + 19 + 20 + 21 + 22 + 23 + 24 + + + + 0 + 1 + 2 + + @@ -236,6 +271,27 @@ authorization from the authors. 5 6 7 + 15 + + + + 0 + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12 + + + + 0 @@ -243,12 +299,12 @@ authorization from the authors. - + - + @@ -269,12 +325,12 @@ authorization from the authors. - + - + @@ -292,12 +348,12 @@ authorization from the authors. - + - + @@ -325,12 +381,12 @@ authorization from the authors. - + - + @@ -451,7 +507,7 @@ authorization from the authors. - + @@ -465,7 +521,7 @@ authorization from the authors. - + @@ -526,23 +582,31 @@ authorization from the authors. + + 0 + + + + 0 + + - + - + - + - + @@ -550,10 +614,14 @@ authorization from the authors. 1 + + 0 + + - + @@ -676,42 +744,6 @@ authorization from the authors. 10 - - - 0 - 1 - 2 - - - - 0 - 0 - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 - 13 - 14 - 15 - 16 - 17 - 18 - 19 - 20 - 21 - 22 - 23 - 24 - - @@ -757,7 +789,7 @@ authorization from the authors. - + @@ -871,7 +903,7 @@ authorization from the authors. - + @@ -889,7 +921,7 @@ authorization from the authors. - + @@ -945,7 +977,7 @@ authorization from the authors. - + @@ -955,7 +987,13 @@ authorization from the authors. - value_len + + value_len + + format + 8 + + @@ -975,9 +1013,9 @@ authorization from the authors. - + - + @@ -985,7 +1023,7 @@ authorization from the authors. - + @@ -994,8 +1032,8 @@ authorization from the authors. - - + + @@ -1005,7 +1043,7 @@ authorization from the authors. - + 32 @@ -1023,15 +1061,19 @@ authorization from the authors. 4 + + 0 + + - - - + + + @@ -1039,7 +1081,7 @@ authorization from the authors. - + @@ -1057,8 +1099,8 @@ authorization from the authors. - - + + @@ -1073,8 +1115,8 @@ authorization from the authors. - - + + @@ -1082,7 +1124,7 @@ authorization from the authors. - + @@ -1093,7 +1135,7 @@ authorization from the authors. - + @@ -1105,14 +1147,14 @@ authorization from the authors. - + - + @@ -1131,7 +1173,7 @@ authorization from the authors. - + @@ -1144,12 +1186,12 @@ authorization from the authors. - + - + @@ -1163,8 +1205,8 @@ authorization from the authors. - - + + @@ -1183,7 +1225,7 @@ authorization from the authors. - + @@ -1191,8 +1233,8 @@ authorization from the authors. - - + + @@ -1206,18 +1248,19 @@ authorization from the authors. 0 1 2 + 3 - - + + - + @@ -1456,7 +1499,7 @@ authorization from the authors. - 0 + 0 1 2 @@ -1940,11 +1983,15 @@ authorization from the authors. + + 0 + + - + @@ -1955,11 +2002,15 @@ authorization from the authors. + + 0 + + - + @@ -2223,7 +2274,7 @@ authorization from the authors. - + diff --git a/proto/xcb-proto/src/xtest.xml b/proto/xcb-proto/src/xtest.xml index 8e18691d2..e481929b7 100644 --- a/proto/xcb-proto/src/xtest.xml +++ b/proto/xcb-proto/src/xtest.xml @@ -66,7 +66,7 @@ authorization from the authors. 3. Simulate mouse motion: type = XCBMotionNotify detail = 0 or 1 - window = XCBNone or a root window id + root = XCBNone or a root window id rootX, rootY = position (relative if detail==1) @@ -86,7 +86,7 @@ authorization from the authors. - + diff --git a/proto/xcb-proto/src/xv.xml b/proto/xcb-proto/src/xv.xml index 26047a608..d2bfc2992 100644 --- a/proto/xcb-proto/src/xv.xml +++ b/proto/xcb-proto/src/xv.xml @@ -58,6 +58,28 @@ authorization from the authors. 1 + + + + + + + + + + + + + + + + + + + + + + @@ -74,7 +96,7 @@ authorization from the authors. - + name_size @@ -120,7 +142,7 @@ authorization from the authors. - + @@ -131,8 +153,8 @@ authorization from the authors. - - + + 16 @@ -145,7 +167,7 @@ authorization from the authors. - + @@ -159,7 +181,7 @@ authorization from the authors. 32 - + @@ -171,7 +193,7 @@ authorization from the authors. - + @@ -225,15 +247,15 @@ authorization from the authors. - + - + - +