[Xcb-commit] src

Jamey Sharp jamey at kemper.freedesktop.org
Sun Nov 19 20:13:34 PST 2006


 src/xcb.xsd |    4 ----
 src/xv.xml  |    5 +----
 2 files changed, 1 insertion(+), 8 deletions(-)

New commits:
diff-tree 854d08c8242e8fbe7b5a000b75ec6845419806c4 (from 36134f48236f50aeee386b36be7e82c809688bc8)
Author: Jamey Sharp <jamey at minilop.net>
Date:   Sun Nov 19 14:51:26 2006 -0800

    Remove support for the <localfield> tag: nothing needs it.
    
    Only one use of <localfield> remained, for a list length expression in
    xv.xml. List length parameters that don't actually appear in the
    protocol should be left implicit: if no length expression is given, then
    a localfield will be automatically created by c-client.xsl.

diff --git a/src/xcb.xsd b/src/xcb.xsd
index 13ca7de..674a185 100644
--- a/src/xcb.xsd
+++ b/src/xcb.xsd
@@ -67,9 +67,6 @@ authorization from the authors.
     </xsd:complexType>
   </xsd:element>
 
-  <!-- Parameters in requests that are not sent with the request. -->
-  <xsd:element name="localfield" type="var" />
-  
   <!-- Expressions -->
   <xsd:group name="expression">
     <xsd:choice>
@@ -162,7 +159,6 @@ authorization from the authors.
           <xsd:sequence>
             <xsd:choice minOccurs="0" maxOccurs="unbounded">
               <xsd:group ref="fields" />
-              <xsd:element ref="localfield" />
               <xsd:element ref="exprfield" />
               <xsd:element ref="valueparam" />
             </xsd:choice>
diff --git a/src/xv.xml b/src/xv.xml
index 1694f2b..bbaa4eb 100644
--- a/src/xv.xml
+++ b/src/xv.xml
@@ -402,10 +402,7 @@ authorization from the authors.
         <field type="CARD16" name="drw_h" />
         <field type="CARD16" name="width" />
         <field type="CARD16" name="height" />
-        <localfield type="CARD32" name="data_size" />
-        <list type="CARD8" name="data">
-            <fieldref>data_size</fieldref>
-        </list>
+	<list type="CARD8" name="data" />
     </request>
 
     <request name="ShmPutImage" opcode="19">


More information about the xcb-commit mailing list