diff --git a/NEWS b/NEWS
index 064453e..6de73c9 100644
--- a/NEWS
+++ b/NEWS
@@ -8,7 +8,7 @@ Release 1.14 (2020-02-22)
* Fix size computation of imported lists
* Allow access to the original type in the XML
* Add sysroot prefix to pkgconfig file (Fixes #9)
-
+
Release 1.13 (2018-02-28)
=========================
* dri3: Add multi-plane/modifier protocol for v1.2
diff --git a/src/composite.xml b/src/composite.xml
index dcbf9a6..92eade5 100644
--- a/src/composite.xml
+++ b/src/composite.xml
@@ -202,9 +202,9 @@ other requests using Composite. Failure to do so will cause a BadRequest error.
-
+
-
+
diff --git a/src/glx.xml b/src/glx.xml
index 0b0e968..20c7dbf 100644
--- a/src/glx.xml
+++ b/src/glx.xml
@@ -66,7 +66,7 @@ The patch that fixed this server bug in X.org is here:
-
+
@@ -257,7 +257,7 @@ The patch that fixed this server bug in X.org is here:
-
+
@@ -363,7 +363,7 @@ The patch that fixed this server bug in X.org is here:
-
+
num_attribs
@@ -641,7 +641,7 @@ The patch that fixed this server bug in X.org is here:
-
+
@@ -1423,7 +1423,7 @@ The patch that fixed this server bug in X.org is here:
-
+
+ -->
-
+
-
+
-
+
diff --git a/src/present.xml b/src/present.xml
index bae445f..b75df39 100644
--- a/src/present.xml
+++ b/src/present.xml
@@ -125,7 +125,7 @@ OF THIS SOFTWARE.
-
+
@@ -172,7 +172,7 @@ OF THIS SOFTWARE.
-
+
diff --git a/src/randr.xml b/src/randr.xml
index 703d6ba..64fa2d4 100644
--- a/src/randr.xml
+++ b/src/randr.xml
@@ -38,7 +38,7 @@ authorization from the authors.
-
+
@@ -63,14 +63,14 @@ authorization from the authors.
-
+
nRates
-
+
@@ -81,7 +81,7 @@ authorization from the authors.
-
+
@@ -112,7 +112,7 @@ authorization from the authors.
-
+
@@ -128,7 +128,7 @@ authorization from the authors.
- 7
-
+
diff --git a/src/record.xml b/src/record.xml
index 74c16fe..94e81a1 100644
--- a/src/record.xml
+++ b/src/record.xml
@@ -31,7 +31,7 @@ authorization from the authors.
-
+
@@ -85,7 +85,7 @@ authorization from the authors.
-
+
@@ -166,7 +166,7 @@ authorization from the authors.
-
+
@@ -174,5 +174,5 @@ authorization from the authors.
-
+
diff --git a/src/render.xml b/src/render.xml
index 935fdcc..7bee25e 100644
--- a/src/render.xml
+++ b/src/render.xml
@@ -36,7 +36,7 @@ for licensing information.
- 11
- 12
- 13
-
+
- 16
- 17
- 18
@@ -49,7 +49,7 @@ for licensing information.
- 25
- 26
- 27
-
+
- 32
- 33
- 34
@@ -624,7 +624,7 @@ for licensing information.
-
+
@@ -642,7 +642,7 @@ for licensing information.
-
+
diff --git a/src/screensaver.xml b/src/screensaver.xml
index 2c43b4d..7d88640 100644
--- a/src/screensaver.xml
+++ b/src/screensaver.xml
@@ -165,7 +165,7 @@ Draft Standard Version 1.1
-
+
diff --git a/src/sync.xml b/src/sync.xml
index 3cf3b9d..5b1ab27 100644
--- a/src/sync.xml
+++ b/src/sync.xml
@@ -85,7 +85,7 @@ for licensing information.
-
+
@@ -223,7 +223,7 @@ for licensing information.
-
+
diff --git a/src/xcb.xsd b/src/xcb.xsd
index 86a51c5..83dbb73 100644
--- a/src/xcb.xsd
+++ b/src/xcb.xsd
@@ -197,7 +197,7 @@ authorization from the authors.
-
+
diff --git a/src/xf86dri.xml b/src/xf86dri.xml
index 5bfc572..7b2695e 100644
--- a/src/xf86dri.xml
+++ b/src/xf86dri.xml
@@ -39,7 +39,7 @@ authorization from the authors.
-
+
@@ -168,5 +168,5 @@ authorization from the authors.
-
+
diff --git a/src/xfixes.xml b/src/xfixes.xml
index 442bc02..5e54c42 100644
--- a/src/xfixes.xml
+++ b/src/xfixes.xml
@@ -217,7 +217,7 @@ authorization from the authors.
-
+
@@ -322,7 +322,7 @@ authorization from the authors.
-
+
diff --git a/src/xkb.xml b/src/xkb.xml
index 8778c07..ed71427 100644
--- a/src/xkb.xml
+++ b/src/xkb.xml
@@ -1664,7 +1664,7 @@ authorization from the authors.
KTLevelNames
-
diff --git a/src/xprint.xml b/src/xprint.xml
index fa3bb7f..9287731 100644
--- a/src/xprint.xml
+++ b/src/xprint.xml
@@ -32,7 +32,7 @@ authorization from the authors.
xproto
-
+
@@ -85,8 +85,8 @@ authorization from the authors.
- 6
- 7
-
-
+
+
diff --git a/src/xproto.xml b/src/xproto.xml
index 19a8a6a..15476af 100644
--- a/src/xproto.xml
+++ b/src/xproto.xml
@@ -27,36 +27,36 @@ authorization from the authors.
-->
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
WINDOW
PIXMAP
-
+
FONT
GCONTEXT
-
+
@@ -65,7 +65,7 @@ authorization from the authors.
-
+
@@ -267,7 +267,7 @@ authorization from the authors.
-
+
- 0
- 1
@@ -1267,7 +1267,7 @@ parent's cursor will cause an immediate change in the displayed cursor.
]]>
-
+
- 0
- 1
@@ -1545,7 +1545,7 @@ The specified `window` does not exist.
]]>
-
+
- 0
- 1
@@ -1651,7 +1651,7 @@ The specified window does not exist.
-
+
- 0
- 1
@@ -1797,7 +1797,7 @@ The specified window does not exist.
-
+
- 0
- 1
@@ -1807,7 +1807,7 @@ The specified window does not exist.
- 5
- 6
-
+
- 0
- 1
@@ -1852,7 +1852,7 @@ The specified window does not exist.
-
+
Configures window attributes
-
+
- 0
- 1
@@ -2252,7 +2252,7 @@ The X server could not store the property (no memory?).
-
+
- 0
@@ -3799,7 +3799,7 @@ The specified pixmap does not exist.
]]>
-
+
- 0
- 1
@@ -4451,7 +4451,7 @@ The specified graphics context does not exist.
-
+
- 0
- 1
@@ -4665,7 +4665,7 @@ TODO: reasons?
-
+
- 0
- 1
@@ -5010,7 +5010,7 @@ The specified colormap `cmap` does not exist.
-
+
@@ -5196,7 +5196,7 @@ The specified cursor does not exist.
- 0
- 1
- - 2
+ - 2
@@ -5569,7 +5569,7 @@ The specified `resource` does not exist.
-
+
- 0
- 1
diff --git a/src/xtest.xml b/src/xtest.xml
index 085d3a3..39d1bcb 100644
--- a/src/xtest.xml
+++ b/src/xtest.xml
@@ -30,7 +30,7 @@ authorization from the authors.
major-version="2" minor-version="2">
xproto
-
+
@@ -54,7 +54,7 @@ authorization from the authors.
-
+
diff --git a/src/xv.xml b/src/xv.xml
index 6db133f..f36bd0f 100644
--- a/src/xv.xml
+++ b/src/xv.xml
@@ -57,7 +57,7 @@ authorization from the authors.
- 0
- 1
-
+
- 0
- 1
@@ -138,7 +138,7 @@ authorization from the authors.
-
+
@@ -205,8 +205,8 @@ authorization from the authors.
-
-
+
+
diff --git a/src/xvmc.xml b/src/xvmc.xml
index ac80003..6926acc 100644
--- a/src/xvmc.xml
+++ b/src/xvmc.xml
@@ -44,14 +44,14 @@ authorization from the authors.
-
-
+
+
-
+
@@ -87,7 +87,7 @@ authorization from the authors.
-
+
@@ -140,7 +140,7 @@ authorization from the authors.
num
-
+
-
+
diff --git a/xcbgen/expr.py b/xcbgen/expr.py
index bf46c63..33edfc1 100644
--- a/xcbgen/expr.py
+++ b/xcbgen/expr.py
@@ -96,7 +96,7 @@ class Expression(object):
self.rhs = Expression(list(elt)[0], parent)
self.lenfield_name = self.rhs.lenfield_name
-
+
elif elt.tag == 'value':
# Constant expression
self.nmemb = int(elt.text, 0)
@@ -110,7 +110,7 @@ class Expression(object):
elif elt.tag == 'enumref':
self.op = 'enumref'
self.lenfield_name = (elt.get('ref'), elt.text)
-
+
elif elt.tag == 'sumof':
self.op = 'sumof'
self.lenfield_name = elt.get('ref')
@@ -160,11 +160,11 @@ class Expression(object):
self.lenfield_name = self.lenfield_name[1]
elif self.op == 'sumof':
# need to find the field with lenfield_name
- for p in reversed(parents):
+ for p in reversed(parents):
fields = dict([(f.field_name, f) for f in p.fields])
if self.lenfield_name in fields.keys():
if p.is_case_or_bitcase:
- # switch is the anchestor
+ # switch is the anchestor
self.lenfield_parent = p.parents[-1]
else:
self.lenfield_parent = p
@@ -173,4 +173,4 @@ class Expression(object):
break
self.recursive_resolve_tasks(module, parents)
-
+
diff --git a/xcbgen/state.py b/xcbgen/state.py
index ffbfc14..0c89d72 100644
--- a/xcbgen/state.py
+++ b/xcbgen/state.py
@@ -40,9 +40,9 @@ class Namespace(object):
# Events
self.events = {}
-
+
# Get root element attributes
- if self.root.get('extension-xname', False):
+ if self.root.get('extension-xname', False):
self.is_ext = True
self.major_version = self.root.get('major-version')
self.minor_version = self.root.get('minor-version')
diff --git a/xcbgen/xtypes.py b/xcbgen/xtypes.py
index 81ca6e1..739a3ad 100644
--- a/xcbgen/xtypes.py
+++ b/xcbgen/xtypes.py
@@ -503,7 +503,7 @@ class PadType(Type):
log.ok(start_align, "", self, callstack, after_align)
return after_align
-
+
class ComplexType(Type):
'''
Derived class which represents a structure. Base type for all structure types.
@@ -765,7 +765,7 @@ class ComplexType(Type):
class SwitchType(ComplexType):
'''
- Derived class which represents a List of Items.
+ Derived class which represents a List of Items.
Public fields added:
bitcases is an array of Bitcase objects describing the list items
@@ -776,7 +776,7 @@ class SwitchType(ComplexType):
self.parents = parents
# FIXME: switch cannot store lenfields, so it should just delegate the parents
self.lenfield_parent = list(parents) + [self]
- # self.fields contains all possible fields collected from the Bitcase objects,
+ # self.fields contains all possible fields collected from the Bitcase objects,
# whereas self.items contains the Bitcase objects themselves
self.bitcases = []
@@ -799,7 +799,7 @@ class SwitchType(ComplexType):
else:
field_type = self.name + (field_name,)
- # use self.parent to indicate anchestor,
+ # use self.parent to indicate anchestor,
# as switch does not contain named fields itself
if child.tag == 'bitcase':
type = BitcaseType(index, field_type, child, *parents)
@@ -810,7 +810,7 @@ class SwitchType(ComplexType):
if field_name is None:
type.has_name = False
# Get the full type name for the field
- field_type = type.name
+ field_type = type.name
visible = True
# add the field to ourself
@@ -861,7 +861,7 @@ class SwitchType(ComplexType):
def calc_size(self):
pass
- # note: switch is _always_ of variable size, but we indicate here wether
+ # note: switch is _always_ of variable size, but we indicate here wether
# it contains elements that are variable-sized themselves
def fixed_size(self):
return False
@@ -1159,7 +1159,7 @@ class Reply(ComplexType):
self.fields.append(Field(tcard16, tcard16.name, 'sequence', False, True, True))
self.fields.append(Field(tcard32, tcard32.name, 'length', False, True, True))
ComplexType.resolve(self, module)
-
+
class Request(ComplexType):
'''