[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

x11proto-bigreqs: Changes to 'upstream-unstable'



 .gitignore        |   78 ++++++++++++-
 Makefile.am       |   13 +-
 README            |   30 +++++
 configure.ac      |   21 ++-
 specs/.gitignore  |    6 +
 specs/Makefile.am |   64 +++++++++++
 specs/bigreq.xml  |  311 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 7 files changed, 504 insertions(+), 19 deletions(-)

New commits:
commit 59730aba859c0b586b7e63e79c07b7741719845d
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Oct 29 20:21:07 2010 -0700

    bigreqsproto 1.1.1
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

diff --git a/configure.ac b/configure.ac
index 72faf98..2a0765f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,5 +1,6 @@
 AC_PREREQ([2.60])
-AC_INIT([BigReqsProto], [1.1.0], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg])
+AC_INIT([BigReqsProto], [1.1.1],
+        [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg])
 AM_INIT_AUTOMAKE([foreign dist-bzip2])
 AM_MAINTAINER_MODE
 

commit f7f5f73576dbfeba63be400d16ec9e815962fea7
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Oct 29 20:19:29 2010 -0700

    Cleanup bigreq.xml a bit
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

diff --git a/specs/bigreq.xml b/specs/bigreq.xml
index 6ca4c23..5655bab 100644
--- a/specs/bigreq.xml
+++ b/specs/bigreq.xml
@@ -15,8 +15,8 @@
       </author>
    </authorgroup>
    <corpname>X Consortium Standard</corpname>
-   <copyright><year>1993</year><holder>X Consortium</holder></copyright>
-   <copyright><year>1994</year><holder>X Consortium</holder></copyright>
+   <copyright><year>1993</year><year>1994</year>
+     <holder>X Consortium</holder></copyright>
    <releaseinfo>Version 2.0</releaseinfo>
    <affiliation><orgname>X Consortium</orgname></affiliation>
    <productnumber>X Version 11, Release 7</productnumber>
@@ -24,8 +24,6 @@
 <legalnotice>
 <para>Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the &ldquo;Software&rdquo;), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:</para>
 
-<para>Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the &ldquo;Software&rdquo;), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:</para>
-
 <para>The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.</para>
 
 <para>THE SOFTWARE IS PROVIDED &ldquo;AS IS&rdquo;, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.</para>
@@ -48,65 +46,65 @@
 
 <para>For example, a normal <function>PolyLine</function> encoding is:</para>
 
-<informaltable pgwide='0' frame='all'>
-  <tgroup cols='4' align='center'>
+<informaltable pgwide='0' frame='none'>
+  <tgroup cols='4' align='left'>
     <colspec colwidth='0.5in' colname='c1'/>
     <colspec colwidth='1.5in' colname='c2'/>
     <colspec colwidth='1.5in' colname='c3'/>
     <colspec colwidth='2.0in' colname='c4'/>
     <thead>
       <row>
-        <entry namest="c1" nameend="c4" align='center'><function>PolyLine</function></entry>
+        <entry namest="c1" nameend="c4"><function>PolyLine</function></entry>
       </row>
     </thead>
     <tbody>
       <row>
-        <entry align='left'>1</entry>
-        <entry align='left'>65</entry>
-        <entry align='left'></entry>
-        <entry align='left'>opcode</entry>
+        <entry>1</entry>
+        <entry>65</entry>
+        <entry></entry>
+        <entry>opcode</entry>
       </row>
       <row>
-        <entry align='left'>1</entry>
-        <entry align='left'></entry>
-        <entry align='left'></entry>
-        <entry align='left'>coordinate-mode</entry>
+        <entry>1</entry>
+        <entry></entry>
+        <entry></entry>
+        <entry>coordinate-mode</entry>
       </row>
       <row>
-        <entry align='left'></entry>
-        <entry align='left'>0</entry>
-        <entry align='left'>Origin</entry>
-        <entry align='left'></entry>
+        <entry></entry>
+        <entry>0</entry>
+        <entry>Origin</entry>
+        <entry></entry>
       </row>
       <row>
-        <entry align='left'></entry>
-        <entry align='left'>1</entry>
-        <entry align='left'>Previous</entry>
-        <entry align='left'></entry>
+        <entry></entry>
+        <entry>1</entry>
+        <entry>Previous</entry>
+        <entry></entry>
       </row>
       <row>
-        <entry align='left'>2</entry>
-        <entry align='left'>3+n</entry>
-        <entry align='left'></entry>
-        <entry align='left'></entry>
+        <entry>2</entry>
+        <entry>3+n</entry>
+        <entry></entry>
+        <entry></entry>
       </row>
       <row>
-        <entry align='left'>4</entry>
-        <entry align='left'>DRAWABLE</entry>
-        <entry align='left'></entry>
-        <entry align='left'>drawable</entry>
+        <entry>4</entry>
+        <entry>DRAWABLE</entry>
+        <entry></entry>
+        <entry>drawable</entry>
       </row>
       <row>
-        <entry align='left'>4</entry>
-        <entry align='left'>GCONTEXT</entry>
-        <entry align='left'></entry>
-        <entry align='left'>gc</entry>
+        <entry>4</entry>
+        <entry>GCONTEXT</entry>
+        <entry></entry>
+        <entry>gc</entry>
       </row>
       <row>
-        <entry align='left'>4n</entry>
-        <entry align='left'>LISTofPOINT</entry>
-        <entry align='left'></entry>
-        <entry align='left'>points</entry>
+        <entry>4n</entry>
+        <entry>LISTofPOINT</entry>
+        <entry></entry>
+        <entry>points</entry>
       </row>
      </tbody>
   </tgroup>
@@ -114,71 +112,71 @@
 
 <para>An extended-length <function>PolyLine</function> encoding is:</para>
 
-<informaltable pgwide='0' frame='all'>
-  <tgroup cols='4' align='center'>
+<informaltable pgwide='0' frame='none'>
+  <tgroup cols='4' align='left'>
     <colspec colwidth='0.5in' colname='c1'/>
     <colspec colwidth='1.5in' colname='c2'/>
     <colspec colwidth='1.5in' colname='c3'/>
     <colspec colwidth='2.0in' colname='c4'/>
     <thead>
       <row>
-        <entry namest="c1" nameend="c4" align='center'><function>PolyLine</function></entry>
+        <entry namest="c1" nameend="c4"><function>PolyLine</function></entry>
       </row>
     </thead>
     <tbody>
       <row>
-        <entry align='left'>1</entry>
-        <entry align='left'>65</entry>
-        <entry align='left'></entry>
-        <entry align='left'>opcode</entry>
+        <entry>1</entry>
+        <entry>65</entry>
+        <entry></entry>
+        <entry>opcode</entry>
       </row>
       <row>
-        <entry align='left'>1</entry>
-        <entry align='left'></entry>
-        <entry align='left'></entry>
-        <entry align='left'>coordinate-mode</entry>
+        <entry>1</entry>
+        <entry></entry>
+        <entry></entry>
+        <entry>coordinate-mode</entry>
       </row>
       <row>
-        <entry align='left'></entry>
-        <entry align='left'>0</entry>
-        <entry align='left'>Origin</entry>
-        <entry align='left'></entry>
+        <entry></entry>
+        <entry>0</entry>
+        <entry>Origin</entry>
+        <entry></entry>
       </row>
       <row>
-        <entry align='left'></entry>
-        <entry align='left'>1</entry>
-        <entry align='left'>Previous</entry>
-        <entry align='left'></entry>
+        <entry></entry>
+        <entry>1</entry>
+        <entry>Previous</entry>
+        <entry></entry>
       </row>
       <row>
-        <entry align='left'>2</entry>
-        <entry align='left'>0</entry>
-        <entry align='left'></entry>
-        <entry align='left'>extended length flag</entry>
+        <entry>2</entry>
+        <entry>0</entry>
+        <entry></entry>
+        <entry>extended length flag</entry>
       </row>
       <row>
-        <entry align='left'>4</entry>
-        <entry align='left'>4+n</entry>
-        <entry align='left'></entry>
-        <entry align='left'>request length</entry>
+        <entry>4</entry>
+        <entry>4+n</entry>
+        <entry></entry>
+        <entry>request length</entry>
       </row>
       <row>
-        <entry align='left'>4</entry>
-        <entry align='left'>DRAWABLE</entry>
-        <entry align='left'></entry>
-        <entry align='left'>drawable</entry>
+        <entry>4</entry>
+        <entry>DRAWABLE</entry>
+        <entry></entry>
+        <entry>drawable</entry>
       </row>
       <row>
-        <entry align='left'>4</entry>
-        <entry align='left'>GCONTEXT</entry>
-        <entry align='left'></entry>
-        <entry align='left'>gc</entry>
+        <entry>4</entry>
+        <entry>GCONTEXT</entry>
+        <entry></entry>
+        <entry>gc</entry>
       </row>
       <row>
-        <entry align='left'>4n</entry>
-        <entry align='left'>LISTofPOINT</entry>
-        <entry align='left'></entry>
-        <entry align='left'>points</entry>
+        <entry>4n</entry>
+        <entry>LISTofPOINT</entry>
+        <entry></entry>
+        <entry>points</entry>
       </row>
      </tbody>
   </tgroup>
@@ -212,76 +210,73 @@
 
 <para>The name of this extension is &ldquo;BIG-REQUESTS&rdquo;.</para>
 
-<informaltable pgwide='0' frame='all'>
-  <tgroup cols='3' align='center'>
+<informaltable pgwide='0' frame='none'>
+  <tgroup cols='3' align='left'>
     <colspec colwidth='0.5in' colname='c1'/>
     <colspec colwidth='0.5in' colname='c2'/>
     <colspec colwidth='2.0in' colname='c3'/>
     <thead>
       <row>
-        <entry namest="c1" nameend="c3" align='center'>BigReqEnable</entry>
+        <entry namest="c1" nameend="c3">BigReqEnable</entry>
       </row>
     </thead>
     <tbody>
       <row>
-        <entry align='left'>1</entry>
-        <entry align='left'>Card8</entry>
-        <entry align='left'>opcode</entry>
+        <entry>1</entry>
+        <entry>Card8</entry>
+        <entry>opcode</entry>
       </row>
       <row>
-        <entry align='left'>1</entry>
-        <entry align='left'>0</entry>
-        <entry align='left'>bigreq opcode</entry>
+        <entry>1</entry>
+        <entry>0</entry>
+        <entry>bigreq opcode</entry>
       </row>
       <row>
-        <entry align='left'>2</entry>
-        <entry align='left'>1</entry>
-        <entry align='left'>request length</entry>
+        <entry>2</entry>
+        <entry>1</entry>
+        <entry>request length</entry>
       </row>
      </tbody>
   </tgroup>
-</informaltable>
-
-<informaltable pgwide='0' frame='all'>
-  <tgroup cols='3' align='center'>
+  <tgroup cols='3' align='left'>
     <colspec colwidth='0.5in' colname='c1'/>
     <colspec colwidth='1.5in' colname='c2'/>
     <colspec colwidth='2.0in' colname='c3'/>
     <thead>
       <row>
-        <entry namest="c1" nameend="c3" align='center'>=&gt;</entry>
+        <entry namest="c1" nameend="c3">=&gt;</entry>
       </row>
     </thead>
     <tbody>
       <row>
-        <entry align='left'>1</entry>
-        <entry align='left'>1</entry>
-        <entry align='left'>Reply</entry>
+        <entry>1</entry>
+        <entry>1</entry>
+        <entry>Reply</entry>
       </row>
       <row>
-        <entry align='left'>1</entry>
-        <entry align='left'></entry>
-        <entry align='left'>unused</entry>
+        <entry>1</entry>
+        <entry></entry>
+        <entry>unused</entry>
       </row>
       <row>
-        <entry align='left'>2</entry>
-        <entry align='left'>CARD16</entry>
-        <entry align='left'>sequence number</entry>
+        <entry>2</entry>
+        <entry>CARD16</entry>
+        <entry>sequence number</entry>
       </row>
       <row>
-        <entry align='left'>4</entry>
-        <entry align='left'>0</entry>
-        <entry align='left'>length</entry>
+        <entry>4</entry>
+        <entry>0</entry>
+        <entry>length</entry>
       </row>
       <row>
-        <entry align='left'>4</entry>
-        <entry align='left'>CARD32</entry>
-        <entry align='left'>maximum-request-length</entry>
+        <entry>4</entry>
+        <entry>CARD32</entry>
+        <entry>maximum-request-length</entry>
       </row>
       <row>
-        <entry align='left'>2</entry>
-        <entry align='left'>0</entry>
-        <entry align='left'>unused</entry>
+        <entry>2</entry>
+        <entry>0</entry>
+        <entry>unused</entry>
       </row>
      </tbody>
   </tgroup>
@@ -294,16 +289,10 @@
 
 <para>It is desirable for core Xlib, and other extensions, to use this extension internally when necessary.  It is also desirable to make the use of this extension as transparent as possible to the X client.  For example, if enabling of the extension were delayed until the first time it was needed, an application that used <function>XNextRequest</function> to determine the sequence number of a request would no longer get the correct sequence number.  As such, <function>XOpenDisplay</function> will determine if the extension is supported by the server and, if it is, enable extended-length encodings.</para>
 
-<para>The core Xlib functions <function>XDrawLines</function> <function>XDrawArcs</function> <function>XFillPolygon</function> <function>XChangeProperty</function> <function>XSetClipRectangles</function> and <function>XSetRegion</function> are required to use extended-length encodings when necessary, if supported by the server.  Use of extended-length encodings in other core Xlib functions (<symbol role='Pn'>XDrawPoints</symbol>, <function>XDrawRectangles</function> <function>XDrawSegments</function> <function>XFillArcs</function> <function>XFillRectangles</function> <function>XPutImage</function> is permitted but not required; an Xlib implementation may choose to split the data across multiple smaller requests instead.</para>
+<para>The core Xlib functions <function>XDrawLines</function>, <function>XDrawArcs</function>, <function>XFillPolygon</function>, <function>XChangeProperty</function>, <function>XSetClipRectangles</function>, and <function>XSetRegion</function> are required to use extended-length encodings when necessary, if supported by the server.  Use of extended-length encodings in other core Xlib functions (<function>XDrawPoints</function>, <function>XDrawRectangles</function>, <function>XDrawSegments</function>. <function>XFillArcs</function>, <function>XFillRectangles</function>, <function>XPutImage</function> is permitted but not required; an Xlib implementation may choose to split the data across multiple smaller requests instead.</para>
 
-<para>To permit clients to know what the maximum-request-length for extended-length encodings is, the following function is added to Xlib:</para>
+<para>To permit clients to know what the maximum-request-length for extended-length encodings is, the following function is added to Xlib:
 
-<para>long
-<!-- .br -->
-XExtendedMaxRequestSize (display)
-<!-- .RS -->
-Display	*display;</para>
-<!-- .RE -->
 <funcsynopsis>
 <funcprototype>
   <funcdef>long <function>XExtendedMaxRequestSize</function></funcdef>
@@ -311,7 +300,7 @@ Display	*display;</para>
 </funcprototype>
 </funcsynopsis>
 
-<para>Returns zero (0) if the specified display does not support this extension, otherwise returns the maximum-request-length (in 4-byte units) supported by the server through the extended-length encoding.</para>
+Returns zero (0) if the specified display does not support this extension, otherwise returns the maximum-request-length (in 4-byte units) supported by the server through the extended-length encoding.</para>
 </chapter>
 
 <chapter id='acknowledgements'>

commit 3145dbb0c713a24e58f642a2acdafb5b1f63d948
Author: Matt Dew <matt@osource.org>
Date:   Mon Jun 28 08:09:05 2010 -0400

    specs: convert bigreq.ms from xorg-docs module to DocBook XML
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

diff --git a/Makefile.am b/Makefile.am
index 45960ba..d39cc1e 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,3 +1,5 @@
+SUBDIRS=specs
+
 bigreqsdir = $(includedir)/X11/extensions
 bigreqs_HEADERS = \
 	bigreqsproto.h \
diff --git a/configure.ac b/configure.ac
index 9c1cf55..72faf98 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3,11 +3,16 @@ AC_INIT([BigReqsProto], [1.1.0], [https://bugs.freedesktop.org/enter_bug.cgi?pro
 AM_INIT_AUTOMAKE([foreign dist-bzip2])
 AM_MAINTAINER_MODE
 
-# Require xorg-macros: XORG_DEFAULT_OPTIONS
+# Require xorg-macros minimum of 1.10 for DocBook XML documentation
 m4_ifndef([XORG_MACROS_VERSION],
-          [m4_fatal([must install xorg-macros 1.3 or later before running autoconf/autogen])])
-XORG_MACROS_VERSION(1.3)
+          [m4_fatal([must install xorg-macros 1.10 or later before running autoconf/autogen])])
+XORG_MACROS_VERSION(1.10)
 XORG_DEFAULT_OPTIONS
+XORG_ENABLE_SPECS
+XORG_WITH_XMLTO(0.0.20)
+XORG_WITH_FOP
+XORG_CHECK_SGML_DOCTOOLS(1.5)
 
 AC_OUTPUT([Makefile
+           specs/Makefile
            bigreqsproto.pc])
diff --git a/specs/.gitignore b/specs/.gitignore
new file mode 100644
index 0000000..12fe512
--- /dev/null
+++ b/specs/.gitignore
@@ -0,0 +1,6 @@
+#		Add & Override for this directory and it's subdirectories
+*.html
+*.ps
+*.pdf
+*.txt
+*.css
diff --git a/specs/Makefile.am b/specs/Makefile.am
new file mode 100644
index 0000000..c1819a7
--- /dev/null
+++ b/specs/Makefile.am
@@ -0,0 +1,64 @@
+#
+# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
+#
+# Permission is hereby granted, free of charge, to any person obtaining a
+# copy of this software and associated documentation files (the "Software"),
+# to deal in the Software without restriction, including without limitation
+# the rights to use, copy, modify, merge, publish, distribute, sublicense,
+# and/or sell copies of the Software, and to permit persons to whom the
+# Software is furnished to do so, subject to the following conditions:
+#
+# The above copyright notice and this permission notice (including the next
+# paragraph) shall be included in all copies or substantial portions of the
+# Software.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
+# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+# DEALINGS IN THE SOFTWARE.
+#
+
+if ENABLE_SPECS
+doc_sources = bigreq.xml
+dist_doc_DATA = $(doc_sources)
+
+if HAVE_XMLTO
+doc_DATA = $(doc_sources:.xml=.html)
+
+if HAVE_FOP
+doc_DATA += $(doc_sources:.xml=.ps) $(doc_sources:.xml=.pdf)
+endif
+
+if HAVE_XMLTO_TEXT
+doc_DATA += $(doc_sources:.xml=.txt)
+endif
+
+if HAVE_STYLESHEETS
+XMLTO_FLAGS = -m $(XSL_STYLESHEET)
+
+doc_DATA += xorg.css
+xorg.css: $(STYLESHEET_SRCDIR)/xorg.css
+	$(AM_V_GEN)cp -pf $(STYLESHEET_SRCDIR)/xorg.css $@
+endif
+
+CLEANFILES = $(doc_DATA)
+
+SUFFIXES = .xml .ps .pdf .txt .html
+
+.xml.txt:
+	$(AM_V_GEN)$(XMLTO) $(XMLTO_FLAGS) txt $<
+
+.xml.html:
+	$(AM_V_GEN)$(XMLTO) $(XMLTO_FLAGS) xhtml-nochunks $<
+
+.xml.pdf:
+	$(AM_V_GEN)$(XMLTO) $(XMLTO_FLAGS) --with-fop pdf $<
+
+.xml.ps:
+	$(AM_V_GEN)$(XMLTO) $(XMLTO_FLAGS) --with-fop ps $<
+
+endif HAVE_XMLTO
+endif ENABLE_SPECS
diff --git a/specs/bigreq.xml b/specs/bigreq.xml
new file mode 100644
index 0000000..6ca4c23
--- /dev/null
+++ b/specs/bigreq.xml
@@ -0,0 +1,322 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+                   "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd";>
+
+<!-- lifted from troff+ms+XMan by doclifter -->
+<book id="bigreqms">
+
+<bookinfo>
+   <title>Big Requests Extension</title>
+   <subtitle>X Consortium Standard</subtitle>
+   <releaseinfo>X Version 11, Release 6.4</releaseinfo>
+   <authorgroup>
+      <author>
+         <firstname>Bob</firstname><surname>Scheifler</surname>
+      </author>
+   </authorgroup>
+   <corpname>X Consortium Standard</corpname>
+   <copyright><year>1993</year><holder>X Consortium</holder></copyright>
+   <copyright><year>1994</year><holder>X Consortium</holder></copyright>
+   <releaseinfo>Version 2.0</releaseinfo>
+   <affiliation><orgname>X Consortium</orgname></affiliation>
+   <productnumber>X Version 11, Release 7</productnumber>
+
+<legalnotice>
+<para>Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the &ldquo;Software&rdquo;), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:</para>
+
+<para>Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the &ldquo;Software&rdquo;), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:</para>
+
+<para>The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.</para>
+
+<para>THE SOFTWARE IS PROVIDED &ldquo;AS IS&rdquo;, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.</para>
+
+<para>Except as contained in this notice, the name of the X Consortium shall not be used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization from the X Consortium.</para>
+
+<para>X Window System is a trademark of The Open Group.</para>
+</legalnotice>
+
+</bookinfo>
+
+<chapter id='overview'>
+<title>Overview</title>
+
+<para>This extension enables the use of protocol requests that exceed 262140 bytes in length.</para>
+
+<para>The core protocol restricts the maximum length of a protocol request to 262140 bytes, in that it uses a 16-bit length field specifying the number of 4-byte units in the request.  This is a problem in the core protocol when joining large numbers of lines (<symbol role='Pn'>PolyLine</symbol>) or arcs (<symbol role='Pn'>PolyArc</symbol>), since these requests cannot be broken up into smaller requests without disturbing the rendering of the join points.  It is also much more of a problem for protocol extensions, such as the PEX extension for 3D graphics and the XIE extension for imaging, that need to send long data lists in output commands.</para>
+
+<para>This extension defines a mechanism for extending the length field beyond 16 bits.  If the normal 16-bit length field of the protocol request is zero, then an additional 32-bit field containing the actual length (in 4-byte units) is inserted into the request, immediately following the 16-bit length field.</para>
+
+<para>For example, a normal <function>PolyLine</function> encoding is:</para>
+
+<informaltable pgwide='0' frame='all'>
+  <tgroup cols='4' align='center'>
+    <colspec colwidth='0.5in' colname='c1'/>
+    <colspec colwidth='1.5in' colname='c2'/>
+    <colspec colwidth='1.5in' colname='c3'/>
+    <colspec colwidth='2.0in' colname='c4'/>
+    <thead>
+      <row>
+        <entry namest="c1" nameend="c4" align='center'><function>PolyLine</function></entry>
+      </row>
+    </thead>
+    <tbody>
+      <row>
+        <entry align='left'>1</entry>
+        <entry align='left'>65</entry>
+        <entry align='left'></entry>
+        <entry align='left'>opcode</entry>
+      </row>
+      <row>
+        <entry align='left'>1</entry>
+        <entry align='left'></entry>
+        <entry align='left'></entry>
+        <entry align='left'>coordinate-mode</entry>
+      </row>
+      <row>
+        <entry align='left'></entry>
+        <entry align='left'>0</entry>
+        <entry align='left'>Origin</entry>
+        <entry align='left'></entry>
+      </row>
+      <row>
+        <entry align='left'></entry>
+        <entry align='left'>1</entry>
+        <entry align='left'>Previous</entry>
+        <entry align='left'></entry>
+      </row>
+      <row>
+        <entry align='left'>2</entry>
+        <entry align='left'>3+n</entry>
+        <entry align='left'></entry>
+        <entry align='left'></entry>
+      </row>
+      <row>
+        <entry align='left'>4</entry>
+        <entry align='left'>DRAWABLE</entry>
+        <entry align='left'></entry>
+        <entry align='left'>drawable</entry>
+      </row>
+      <row>
+        <entry align='left'>4</entry>
+        <entry align='left'>GCONTEXT</entry>
+        <entry align='left'></entry>
+        <entry align='left'>gc</entry>
+      </row>
+      <row>
+        <entry align='left'>4n</entry>
+        <entry align='left'>LISTofPOINT</entry>
+        <entry align='left'></entry>
+        <entry align='left'>points</entry>
+      </row>
+     </tbody>
+  </tgroup>
+</informaltable>
+
+<para>An extended-length <function>PolyLine</function> encoding is:</para>
+
+<informaltable pgwide='0' frame='all'>
+  <tgroup cols='4' align='center'>
+    <colspec colwidth='0.5in' colname='c1'/>
+    <colspec colwidth='1.5in' colname='c2'/>
+    <colspec colwidth='1.5in' colname='c3'/>
+    <colspec colwidth='2.0in' colname='c4'/>
+    <thead>
+      <row>
+        <entry namest="c1" nameend="c4" align='center'><function>PolyLine</function></entry>
+      </row>
+    </thead>
+    <tbody>
+      <row>
+        <entry align='left'>1</entry>
+        <entry align='left'>65</entry>
+        <entry align='left'></entry>
+        <entry align='left'>opcode</entry>
+      </row>
+      <row>
+        <entry align='left'>1</entry>
+        <entry align='left'></entry>
+        <entry align='left'></entry>
+        <entry align='left'>coordinate-mode</entry>
+      </row>
+      <row>
+        <entry align='left'></entry>
+        <entry align='left'>0</entry>
+        <entry align='left'>Origin</entry>
+        <entry align='left'></entry>
+      </row>
+      <row>
+        <entry align='left'></entry>
+        <entry align='left'>1</entry>
+        <entry align='left'>Previous</entry>
+        <entry align='left'></entry>
+      </row>
+      <row>
+        <entry align='left'>2</entry>
+        <entry align='left'>0</entry>
+        <entry align='left'></entry>
+        <entry align='left'>extended length flag</entry>
+      </row>
+      <row>
+        <entry align='left'>4</entry>
+        <entry align='left'>4+n</entry>
+        <entry align='left'></entry>
+        <entry align='left'>request length</entry>
+      </row>
+      <row>
+        <entry align='left'>4</entry>
+        <entry align='left'>DRAWABLE</entry>
+        <entry align='left'></entry>
+        <entry align='left'>drawable</entry>
+      </row>
+      <row>
+        <entry align='left'>4</entry>
+        <entry align='left'>GCONTEXT</entry>
+        <entry align='left'></entry>
+        <entry align='left'>gc</entry>
+      </row>
+      <row>
+        <entry align='left'>4n</entry>
+        <entry align='left'>LISTofPOINT</entry>
+        <entry align='left'></entry>
+        <entry align='left'>points</entry>
+      </row>
+     </tbody>
+  </tgroup>
+</informaltable>
+
+<para>Extended-length protocol encodings, once enabled, can be used on all protocol requests, including all extensions.</para>
+</chapter>
+
+<chapter id='requests'>
+<title>Requests</title>
+
+<para><function>BigReqEnable</function></para>
+
+<para>   =&gt;</para>
+
+<para><emphasis remap='I'>maximum-request-length</emphasis>: CARD32</para>
+
+<para>This request enables extended-length protocol requests for the requesting client.  It also returns the maximum length of a request, in 4-byte units, that can be used in extended-length protocol requests.  This value will always be greater than the maximum-request-length returned in the connection setup information.</para>
+</chapter>
+
+<chapter id='events_and_errors'>
+<title>Events and Errors</title>
+
+<para>No new events or errors are defined by this extension.</para>
+</chapter>
+
+<chapter id='encoding'>
+<title>Encoding</title>
+
+<para>Please refer to the X11 Protocol Encoding document as this document uses conventions established there.</para>
+
+<para>The name of this extension is &ldquo;BIG-REQUESTS&rdquo;.</para>
+
+<informaltable pgwide='0' frame='all'>
+  <tgroup cols='3' align='center'>
+    <colspec colwidth='0.5in' colname='c1'/>
+    <colspec colwidth='0.5in' colname='c2'/>
+    <colspec colwidth='2.0in' colname='c3'/>
+    <thead>
+      <row>
+        <entry namest="c1" nameend="c3" align='center'>BigReqEnable</entry>
+      </row>
+    </thead>
+    <tbody>
+      <row>
+        <entry align='left'>1</entry>
+        <entry align='left'>Card8</entry>
+        <entry align='left'>opcode</entry>
+      </row>
+      <row>
+        <entry align='left'>1</entry>
+        <entry align='left'>0</entry>
+        <entry align='left'>bigreq opcode</entry>
+      </row>
+      <row>
+        <entry align='left'>2</entry>
+        <entry align='left'>1</entry>
+        <entry align='left'>request length</entry>
+      </row>
+     </tbody>
+  </tgroup>
+</informaltable>
+
+<informaltable pgwide='0' frame='all'>
+  <tgroup cols='3' align='center'>
+    <colspec colwidth='0.5in' colname='c1'/>
+    <colspec colwidth='1.5in' colname='c2'/>
+    <colspec colwidth='2.0in' colname='c3'/>
+    <thead>
+      <row>
+        <entry namest="c1" nameend="c3" align='center'>=&gt;</entry>
+      </row>
+    </thead>
+    <tbody>
+      <row>
+        <entry align='left'>1</entry>
+        <entry align='left'>1</entry>
+        <entry align='left'>Reply</entry>
+      </row>
+      <row>
+        <entry align='left'>1</entry>
+        <entry align='left'></entry>
+        <entry align='left'>unused</entry>
+      </row>
+      <row>
+        <entry align='left'>2</entry>
+        <entry align='left'>CARD16</entry>
+        <entry align='left'>sequence number</entry>
+      </row>
+      <row>
+        <entry align='left'>4</entry>
+        <entry align='left'>0</entry>
+        <entry align='left'>length</entry>
+      </row>
+      <row>
+        <entry align='left'>4</entry>
+        <entry align='left'>CARD32</entry>
+        <entry align='left'>maximum-request-length</entry>
+      </row>
+      <row>
+        <entry align='left'>2</entry>
+        <entry align='left'>0</entry>
+        <entry align='left'>unused</entry>
+      </row>
+     </tbody>
+  </tgroup>
+</informaltable>
+
+</chapter>
+
+<chapter id='c_language_binding'>
+<title>C language binding</title>
+
+<para>It is desirable for core Xlib, and other extensions, to use this extension internally when necessary.  It is also desirable to make the use of this extension as transparent as possible to the X client.  For example, if enabling of the extension were delayed until the first time it was needed, an application that used <function>XNextRequest</function> to determine the sequence number of a request would no longer get the correct sequence number.  As such, <function>XOpenDisplay</function> will determine if the extension is supported by the server and, if it is, enable extended-length encodings.</para>
+
+<para>The core Xlib functions <function>XDrawLines</function> <function>XDrawArcs</function> <function>XFillPolygon</function> <function>XChangeProperty</function> <function>XSetClipRectangles</function> and <function>XSetRegion</function> are required to use extended-length encodings when necessary, if supported by the server.  Use of extended-length encodings in other core Xlib functions (<symbol role='Pn'>XDrawPoints</symbol>, <function>XDrawRectangles</function> <function>XDrawSegments</function> <function>XFillArcs</function> <function>XFillRectangles</function> <function>XPutImage</function> is permitted but not required; an Xlib implementation may choose to split the data across multiple smaller requests instead.</para>
+
+<para>To permit clients to know what the maximum-request-length for extended-length encodings is, the following function is added to Xlib:</para>
+
+<para>long
+<!-- .br -->
+XExtendedMaxRequestSize (display)
+<!-- .RS -->
+Display	*display;</para>
+<!-- .RE -->
+<funcsynopsis>
+<funcprototype>
+  <funcdef>long <function>XExtendedMaxRequestSize</function></funcdef>
+    <paramdef>Display <parameter> *display</parameter></paramdef>
+</funcprototype>
+</funcsynopsis>
+
+<para>Returns zero (0) if the specified display does not support this extension, otherwise returns the maximum-request-length (in 4-byte units) supported by the server through the extended-length encoding.</para>
+</chapter>
+
+<chapter id='acknowledgements'>
+<title>Acknowledgements</title>
+
+<para>Clive Feather (IXI) originated the extended-length encoding used in this extension proposal.</para>
+</chapter>
+</book>

commit 18e93e57afeed6ea9872e7aab90da47f334690e1
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Sun Mar 28 19:25:52 2010 -0400

    config: update AC_PREREQ statement to 2.60
    
    Unrelated to the previous patches, the new value simply reflects
    the reality that the minimum level for autoconf to configure
    all x.org modules is 2.60 dated June 2006.
    
    ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.60.tar.gz
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

diff --git a/configure.ac b/configure.ac
index fe9f1b5..9c1cf55 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,4 @@
-AC_PREREQ([2.57])
+AC_PREREQ([2.60])
 AC_INIT([BigReqsProto], [1.1.0], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg])
 AM_INIT_AUTOMAKE([foreign dist-bzip2])
 AM_MAINTAINER_MODE

commit b77888df9f01a9332d3cd15c413e5caa7fa18d80
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Sun Mar 28 19:00:30 2010 -0400

    config: remove the pkgconfig pc.in file from EXTRA_DIST
    
    Automake always includes it in the tarball.
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

diff --git a/Makefile.am b/Makefile.am
index 6bd4bde..45960ba 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -6,7 +6,6 @@ bigreqs_HEADERS = \
 pkgconfigdir = $(libdir)/pkgconfig
 pkgconfig_DATA = bigreqsproto.pc
 
-EXTRA_DIST = bigreqsproto.pc.in
 
 MAINTAINERCLEANFILES = ChangeLog INSTALL
 

commit 1c9119c86437a58df4890b5ebf79bfdab40f0997
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Sun Nov 22 19:24:47 2009 -0500

    Makefile.am: add ChangeLog and INSTALL on MAINTAINERCLEANFILES
    
    Now that the INSTALL file is generated.
    Allows running make maintainer-clean.

diff --git a/Makefile.am b/Makefile.am
index fc8e90c..6bd4bde 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -8,6 +8,8 @@ pkgconfig_DATA = bigreqsproto.pc
 
 EXTRA_DIST = bigreqsproto.pc.in
 
+MAINTAINERCLEANFILES = ChangeLog INSTALL
+
 .PHONY: ChangeLog INSTALL
 
 INSTALL:

commit c3e90c94335ee9f835ec2546782547f0aaa46934
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Mon Nov 16 11:13:29 2009 -0500

    README: file created or updated #24206
    
    Contains a set of URLs to freedesktop.org.

diff --git a/README b/README
new file mode 100644
index 0000000..f8b14de
--- /dev/null
+++ b/README
@@ -0,0 +1,30 @@
+				Big Requests Extension
+
+This extension defines a protocol to enable the use of requests
+that exceed 262140 bytes in length.
+
+Extension name: BIG-REQUESTS
+
+All questions regarding this software should be directed at the
+Xorg mailing list:
+
+        http://lists.freedesktop.org/mailman/listinfo/xorg
+
+Please submit bug reports to the Xorg bugzilla:
+
+        https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
+
+The master development code repository can be found at:
+
+        git://anongit.freedesktop.org/git/xorg/proto/bigreqsproto
+
+        http://cgit.freedesktop.org/xorg/proto/bigreqsproto
+
+For patch submission instructions, see:
+
+	http://www.x.org/wiki/Development/Documentation/SubmittingPatches
+
+For more information on the git code manager, see:
+
+        http://wiki.x.org/wiki/GitPage
+

commit 104cb17755f7529a8f4410abad84398c0a4fd839
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Sun Nov 15 19:45:26 2009 -0500

    Makefile.am: ChangeLog not required: EXTRA_DIST or *CLEANFILES #24432
    
    ChangeLog filename is known to Automake and requires no further
    coding in the makefile.

diff --git a/Makefile.am b/Makefile.am
index 1a9415e..fc8e90c 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -8,9 +8,6 @@ pkgconfig_DATA = bigreqsproto.pc
 
 EXTRA_DIST = bigreqsproto.pc.in
 
-EXTRA_DIST += ChangeLog


Reply to: