From: Josh Triplett Date: Thu, 15 Jun 2006 10:03:13 +0000 (-0700) Subject: Remove arbitrary division between xcb_types and xproto by merging X-Git-Tag: 1.0_branch~163 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ab4393d3a63dde6fca2a167f7d6aaf64972b02f0;p=profile%2Fivi%2Fxcb-proto.git Remove arbitrary division between xcb_types and xproto by merging xcb_types.xml into xproto.xml. --- diff --git a/doc/xml-xcb.txt b/doc/xml-xcb.txt index b88d182..f428493 100644 --- a/doc/xml-xcb.txt +++ b/doc/xml-xcb.txt @@ -86,8 +86,8 @@ Top-Level Elements The import element allows the protocol description to reference types declared in another extension. The content is be the basename of the extension XML file, which is also the header attribute of the extension's - root node. Note that types from xcb_types and xproto are automatically - available, without explicitly importing them. + root node. Note that types from xproto are automatically available, without + explicitly importing them. structure contents @@ -197,14 +197,14 @@ Structure Contents ------------------ Note: "type" attributes below refer to types defined by previous elements, -either in the current extension, xproto, xcb_types, or one of the imported -extensions. The type name must refer to only one possible type; if more than -one type matches, an error occurs. To avoid this, the type may be explicitly -prefixed with a namespace, which should be the value of the header attribute -on the protocol description containing the desired type. The namespace and -type are separated by a single colon. For example, to refer to the PIXMAP -type defined in glx rather than the one defined in xcb_types, use -type="glx:PIXMAP" rather than type="PIXMAP". +either in the current extension, xproto, or one of the imported extensions. +The type name must refer to only one possible type; if more than one type +matches, an error occurs. To avoid this, the type may be explicitly prefixed +with a namespace, which should be the value of the header attribute on the +protocol description containing the desired type. The namespace and type are +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". diff --git a/src/Makefile.am b/src/Makefile.am index 3ae0f5a..d50b76e 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,5 +1,4 @@ nobase_xcbinclude_HEADERS = xcb.xsd \ - xcb_types.xml \ xproto.xml \ extensions/bigreq.xml \ extensions/composite.xml \ diff --git a/src/extensions/glx.xml b/src/extensions/glx.xml index 423dd74..2e22c77 100644 --- a/src/extensions/glx.xml +++ b/src/extensions/glx.xml @@ -54,7 +54,7 @@ The patch that fixed this server bug in X.org CVS is here: - + @@ -237,7 +237,7 @@ The patch that fixed this server bug in X.org CVS is here: - + @@ -336,7 +336,7 @@ The patch that fixed this server bug in X.org CVS is here: - + @@ -417,7 +417,7 @@ The patch that fixed this server bug in X.org CVS is here: - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - 1 - 2 - 3 - 4 - 5 - - - - - - - - - - - - - - - - - - - - visuals_len - - - - - - - - - - - - - - - - - - - - - - allowed_depths_len - - - - - - - - - - - - authorization_protocol_name_len - - - authorization_protocol_data_len - - - - - - - - - - - reason_len - - - - - - - - - - length - 4 - - - - - - 0 - 1 - - - - - - - - - - - - - - - - - - - - - - - - - vendor_len - - - pixmap_formats_len - - - roots_len - - - diff --git a/src/xproto.xml b/src/xproto.xml index 0a8a2de..d0c3b1f 100644 --- a/src/xproto.xml +++ b/src/xproto.xml @@ -26,6 +26,214 @@ sale, use or other dealings in this Software without prior written authorization from the authors. --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + 1 + 2 + 3 + 4 + 5 + + + + + + + + + + + + + + + + + + + + visuals_len + + + + + + + + + + + + + + + + + + + + + + allowed_depths_len + + + + + + + + + + + + authorization_protocol_name_len + + + authorization_protocol_data_len + + + + + + + + + + + reason_len + + + + + + + + + + length + 4 + + + + + + 0 + 1 + + + + + + + + + + + + + + + + + + + + + + + + + vendor_len + + + pixmap_formats_len + + + roots_len + + +