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

x11proto-core: Changes to 'upstream-experimental'



 COPYING                         |   56 
 Makefile.am                     |    2 
 README                          |    9 
 Sunkeysym.h                     |    2 
 XF86keysym.h                    |    2 
 Xarch.h                         |    1 
 Xfuncproto.h.in                 |   42 
 configure.ac                    |   15 
 keysym.h                        |    1 
 keysymdef.h                     |   88 
 specs/.gitignore                |    4 
 specs/Makefile.am               |   73 
 specs/SIAddresses/.gitignore    |    4 
 specs/SIAddresses/IPv6.txt      |   11 
 specs/SIAddresses/Makefile.am   |    6 
 specs/SIAddresses/README        |    4 
 specs/SIAddresses/hostname.txt  |   11 
 specs/SIAddresses/localuser.txt |   20 
 specs/encoding.xml              | 3260 ++++++++
 specs/glossary.xml              | 1317 +++
 specs/keysyms.xml               | 6039 ++++++++++++++++
 specs/sect1-9.xml               |15091 ++++++++++++++++++++++++++++++++++++++++
 specs/x11protocol.xml           |   68 
 23 files changed, 26104 insertions(+), 22 deletions(-)

New commits:
commit 452ae1076b4ad8ccd60e218a3676baa274c083ff
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Wed Mar 23 11:44:18 2011 +1000

    xproto 7.0.21
    
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>

diff --git a/configure.ac b/configure.ac
index 832a6a6..9e515a9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,5 +1,5 @@
 AC_PREREQ([2.60])
-AC_INIT([Xproto], [7.0.20],
+AC_INIT([Xproto], [7.0.21],
         [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg])
 AM_INIT_AUTOMAKE([foreign dist-bzip2])
 AM_MAINTAINER_MODE

commit 423f5faddbb1023d0c1cf55b9d1da4397aa1aa26
Author: Harshula Jayasuriya <harshula@gmail.com>
Date:   Tue Mar 15 10:46:48 2011 +0000

    Add #defines for Unicode Sinhala to keysymdef.h
    
    Add #defines for Unicode Sinhala so that they can be used in the lk XKB
    keyboard layout.
    
    Signed-off-by: Harshula Jayasuriya <harshula@gmail.com>
    Reviewed-by: Daniel Stone <daniel@fooishbar.org>

diff --git a/keysym.h b/keysym.h
index 641b25b..4f58488 100644
--- a/keysym.h
+++ b/keysym.h
@@ -68,6 +68,7 @@ SOFTWARE.
 #define XK_CURRENCY
 #define XK_MATHEMATICAL
 #define XK_BRAILLE
+#define XK_SINHALA
 
 #include <X11/keysymdef.h>
 
diff --git a/keysymdef.h b/keysymdef.h
index ec125a6..a4a760d 100644
--- a/keysymdef.h
+++ b/keysymdef.h
@@ -2387,3 +2387,91 @@ SOFTWARE.
 #define XK_braille_dots_2345678       0x10028fe  /* U+28fe BRAILLE PATTERN DOTS-2345678 */
 #define XK_braille_dots_12345678      0x10028ff  /* U+28ff BRAILLE PATTERN DOTS-12345678 */
 #endif /* XK_BRAILLE */
+
+/*
+ * Sinhala (http://unicode.org/charts/PDF/U0D80.pdf)
+ * http://www.nongnu.org/sinhala/doc/transliteration/sinhala-transliteration_6.html
+ */
+
+#ifdef XK_SINHALA
+#define XK_Sinh_ng            0x1000d82  /* U+0D82 SINHALA ANUSVARAYA */
+#define XK_Sinh_h2            0x1000d83  /* U+0D83 SINHALA VISARGAYA */
+#define XK_Sinh_a             0x1000d85  /* U+0D85 SINHALA AYANNA */
+#define XK_Sinh_aa            0x1000d86  /* U+0D86 SINHALA AAYANNA */
+#define XK_Sinh_ae            0x1000d87  /* U+0D87 SINHALA AEYANNA */
+#define XK_Sinh_aee           0x1000d88  /* U+0D88 SINHALA AEEYANNA */
+#define XK_Sinh_i             0x1000d89  /* U+0D89 SINHALA IYANNA */
+#define XK_Sinh_ii            0x1000d8a  /* U+0D8A SINHALA IIYANNA */
+#define XK_Sinh_u             0x1000d8b  /* U+0D8B SINHALA UYANNA */
+#define XK_Sinh_uu            0x1000d8c  /* U+0D8C SINHALA UUYANNA */
+#define XK_Sinh_ri            0x1000d8d  /* U+0D8D SINHALA IRUYANNA */
+#define XK_Sinh_rii           0x1000d8e  /* U+0D8E SINHALA IRUUYANNA */
+#define XK_Sinh_lu            0x1000d8f  /* U+0D8F SINHALA ILUYANNA */
+#define XK_Sinh_luu           0x1000d90  /* U+0D90 SINHALA ILUUYANNA */
+#define XK_Sinh_e             0x1000d91  /* U+0D91 SINHALA EYANNA */
+#define XK_Sinh_ee            0x1000d92  /* U+0D92 SINHALA EEYANNA */
+#define XK_Sinh_ai            0x1000d93  /* U+0D93 SINHALA AIYANNA */
+#define XK_Sinh_o             0x1000d94  /* U+0D94 SINHALA OYANNA */
+#define XK_Sinh_oo            0x1000d95  /* U+0D95 SINHALA OOYANNA */
+#define XK_Sinh_au            0x1000d96  /* U+0D96 SINHALA AUYANNA */
+#define XK_Sinh_ka            0x1000d9a  /* U+0D9A SINHALA KAYANNA */
+#define XK_Sinh_kha           0x1000d9b  /* U+0D9B SINHALA MAHA. KAYANNA */
+#define XK_Sinh_ga            0x1000d9c  /* U+0D9C SINHALA GAYANNA */
+#define XK_Sinh_gha           0x1000d9d  /* U+0D9D SINHALA MAHA. GAYANNA */
+#define XK_Sinh_ng2           0x1000d9e  /* U+0D9E SINHALA KANTAJA NAASIKYAYA */
+#define XK_Sinh_nga           0x1000d9f  /* U+0D9F SINHALA SANYAKA GAYANNA */
+#define XK_Sinh_ca            0x1000da0  /* U+0DA0 SINHALA CAYANNA */
+#define XK_Sinh_cha           0x1000da1  /* U+0DA1 SINHALA MAHA. CAYANNA */
+#define XK_Sinh_ja            0x1000da2  /* U+0DA2 SINHALA JAYANNA */
+#define XK_Sinh_jha           0x1000da3  /* U+0DA3 SINHALA MAHA. JAYANNA */
+#define XK_Sinh_nya           0x1000da4  /* U+0DA4 SINHALA TAALUJA NAASIKYAYA */
+#define XK_Sinh_jnya          0x1000da5  /* U+0DA5 SINHALA TAALUJA SANYOOGA NAASIKYAYA */
+#define XK_Sinh_nja           0x1000da6  /* U+0DA6 SINHALA SANYAKA JAYANNA */
+#define XK_Sinh_tta           0x1000da7  /* U+0DA7 SINHALA TTAYANNA */
+#define XK_Sinh_ttha          0x1000da8  /* U+0DA8 SINHALA MAHA. TTAYANNA */
+#define XK_Sinh_dda           0x1000da9  /* U+0DA9 SINHALA DDAYANNA */
+#define XK_Sinh_ddha          0x1000daa  /* U+0DAA SINHALA MAHA. DDAYANNA */
+#define XK_Sinh_nna           0x1000dab  /* U+0DAB SINHALA MUURDHAJA NAYANNA */
+#define XK_Sinh_ndda          0x1000dac  /* U+0DAC SINHALA SANYAKA DDAYANNA */
+#define XK_Sinh_tha           0x1000dad  /* U+0DAD SINHALA TAYANNA */
+#define XK_Sinh_thha          0x1000dae  /* U+0DAE SINHALA MAHA. TAYANNA */
+#define XK_Sinh_dha           0x1000daf  /* U+0DAF SINHALA DAYANNA */
+#define XK_Sinh_dhha          0x1000db0  /* U+0DB0 SINHALA MAHA. DAYANNA */
+#define XK_Sinh_na            0x1000db1  /* U+0DB1 SINHALA DANTAJA NAYANNA */
+#define XK_Sinh_ndha          0x1000db3  /* U+0DB3 SINHALA SANYAKA DAYANNA */
+#define XK_Sinh_pa            0x1000db4  /* U+0DB4 SINHALA PAYANNA */
+#define XK_Sinh_pha           0x1000db5  /* U+0DB5 SINHALA MAHA. PAYANNA */
+#define XK_Sinh_ba            0x1000db6  /* U+0DB6 SINHALA BAYANNA */
+#define XK_Sinh_bha           0x1000db7  /* U+0DB7 SINHALA MAHA. BAYANNA */
+#define XK_Sinh_ma            0x1000db8  /* U+0DB8 SINHALA MAYANNA */
+#define XK_Sinh_mba           0x1000db9  /* U+0DB9 SINHALA AMBA BAYANNA */
+#define XK_Sinh_ya            0x1000dba  /* U+0DBA SINHALA YAYANNA */
+#define XK_Sinh_ra            0x1000dbb  /* U+0DBB SINHALA RAYANNA */
+#define XK_Sinh_la            0x1000dbd  /* U+0DBD SINHALA DANTAJA LAYANNA */
+#define XK_Sinh_va            0x1000dc0  /* U+0DC0 SINHALA VAYANNA */
+#define XK_Sinh_sha           0x1000dc1  /* U+0DC1 SINHALA TAALUJA SAYANNA */
+#define XK_Sinh_ssha          0x1000dc2  /* U+0DC2 SINHALA MUURDHAJA SAYANNA */
+#define XK_Sinh_sa            0x1000dc3  /* U+0DC3 SINHALA DANTAJA SAYANNA */
+#define XK_Sinh_ha            0x1000dc4  /* U+0DC4 SINHALA HAYANNA */
+#define XK_Sinh_lla           0x1000dc5  /* U+0DC5 SINHALA MUURDHAJA LAYANNA */
+#define XK_Sinh_fa            0x1000dc6  /* U+0DC6 SINHALA FAYANNA */
+#define XK_Sinh_al            0x1000dca  /* U+0DCA SINHALA AL-LAKUNA */
+#define XK_Sinh_aa2           0x1000dcf  /* U+0DCF SINHALA AELA-PILLA */
+#define XK_Sinh_ae2           0x1000dd0  /* U+0DD0 SINHALA AEDA-PILLA */
+#define XK_Sinh_aee2          0x1000dd1  /* U+0DD1 SINHALA DIGA AEDA-PILLA */
+#define XK_Sinh_i2            0x1000dd2  /* U+0DD2 SINHALA IS-PILLA */
+#define XK_Sinh_ii2           0x1000dd3  /* U+0DD3 SINHALA DIGA IS-PILLA */
+#define XK_Sinh_u2            0x1000dd4  /* U+0DD4 SINHALA PAA-PILLA */
+#define XK_Sinh_uu2           0x1000dd6  /* U+0DD6 SINHALA DIGA PAA-PILLA */
+#define XK_Sinh_ru2           0x1000dd8  /* U+0DD8 SINHALA GAETTA-PILLA */
+#define XK_Sinh_e2            0x1000dd9  /* U+0DD9 SINHALA KOMBUVA */
+#define XK_Sinh_ee2           0x1000dda  /* U+0DDA SINHALA DIGA KOMBUVA */
+#define XK_Sinh_ai2           0x1000ddb  /* U+0DDB SINHALA KOMBU DEKA */
+#define XK_Sinh_o2            0x1000ddc  /* U+0DDC SINHALA KOMBUVA HAA AELA-PILLA*/
+#define XK_Sinh_oo2           0x1000ddd  /* U+0DDD SINHALA KOMBUVA HAA DIGA AELA-PILLA*/
+#define XK_Sinh_au2           0x1000dde  /* U+0DDE SINHALA KOMBUVA HAA GAYANUKITTA */
+#define XK_Sinh_lu2           0x1000ddf  /* U+0DDF SINHALA GAYANUKITTA */
+#define XK_Sinh_ruu2          0x1000df2  /* U+0DF2 SINHALA DIGA GAETTA-PILLA */
+#define XK_Sinh_luu2          0x1000df3  /* U+0DF3 SINHALA DIGA GAYANUKITTA */
+#define XK_Sinh_kunddaliya    0x1000df4  /* U+0DF4 SINHALA KUNDDALIYA */
+#endif /* XK_SINHALA */

commit f0c5b701a5f8fe6be24229dea35c35b50afe8646
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Thu Feb 24 20:13:20 2011 -0800

    Support _X_INLINE in any C99-compliant compiler
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

diff --git a/Xfuncproto.h.in b/Xfuncproto.h.in
index fd9f29b..97e925b 100644
--- a/Xfuncproto.h.in
+++ b/Xfuncproto.h.in
@@ -98,15 +98,9 @@ in this Software without prior written authorization from The Open Group.
 #if defined(__GNUC__) && ((__GNUC__ * 100 + __GNUC_MINOR__) >= 303)
 # define _X_LIKELY(x)   __builtin_expect(!!(x), 1)
 # define _X_UNLIKELY(x) __builtin_expect(!!(x), 0)
-# define _X_INLINE      inline
-#elif defined(__SUNPRO_C) && (__SUNPRO_C >= 0x550)
-# define _X_LIKELY(x)   (x)
-# define _X_UNLIKELY(x) (x)
-# define _X_INLINE      inline
-#else /* not gcc >= 3.3 and not Sun Studio >= 8 */
+#else /* not gcc >= 3.3 */
 # define _X_LIKELY(x)   (x)
 # define _X_UNLIKELY(x) (x)
-# define _X_INLINE
 #endif
 
 #if defined(__GNUC__) && ((__GNUC__ * 100 + __GNUC_MINOR__) >= 301)
@@ -128,6 +122,17 @@ in this Software without prior written authorization from The Open Group.
 # define _X_ATTRIBUTE_PRINTF(x,y)
 #endif
 
+/* C99 keyword "inline" or equivalent extensions in pre-C99 compilers */
+#if defined(inline) /* assume autoconf set it correctly */ || \
+   (defined(__STDC__) && (__STDC_VERSION__ - 0 >= 199901L)) /* C99 */ || \
+   (defined(__SUNPRO_C) && (__SUNPRO_C >= 0x550))
+# define _X_INLINE inline
+#elif defined(__GNUC__) && !defined(__STRICT_ANSI__) /* gcc w/C89+extensions */
+# define _X_INLINE __inline__
+#else
+# define _X_INLINE
+#endif
+
 /* C99 keyword "restrict" or equivalent extensions in pre-C99 compilers */
 #ifndef _X_RESTRICT_KYWD
 # if defined(restrict) /* assume autoconf set it correctly */ || \

commit 6eed63f7455d718bf6238ca2f24515329b2a3895
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Thu Jan 6 22:24:33 2011 -0800

    Add missing notices to COPYING
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

diff --git a/COPYING b/COPYING
index d59a5bd..32cb88f 100644
--- a/COPYING
+++ b/COPYING
@@ -20,7 +20,7 @@ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
 DEALINGS IN THE SOFTWARE.
 
 
-Copyright 1987, 1998  The Open Group
+Copyright 1985, 1987, 1988, 1990, 1991, 1993-1996, 1998  The Open Group
 
 Permission to use, copy, modify, distribute, and sell this software and its
 documentation for any purpose is hereby granted without fee, provided that
@@ -42,18 +42,20 @@ Except as contained in this notice, the name of The Open Group 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 Open Group.
 
+The X Window System is a Trademark of The Open Group.
+
 
 Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts.
 
                         All Rights Reserved
 
-Permission to use, copy, modify, and distribute this software and its 
-documentation for any purpose and without fee is hereby granted, 
+Permission to use, copy, modify, and distribute this software and its
+documentation for any purpose and without fee is hereby granted,
 provided that the above copyright notice appear in all copies and that
-both that copyright notice and this permission notice appear in 
+both that copyright notice and this permission notice appear in
 supporting documentation, and that the name of Digital not be
 used in advertising or publicity pertaining to distribution of the
-software without specific, written prior permission.  
+software without specific, written prior permission.
 
 DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
 ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
@@ -63,3 +65,44 @@ WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
 ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
 SOFTWARE.
 
+
+Copyright 1987 by Apollo Computer Inc., Chelmsford, Massachusetts.
+Copyright 1989 by Hewlett-Packard Company.
+
+                        All Rights Reserved
+
+Permission to use, duplicate, change, and distribute this software and
+its documentation for any purpose and without fee is granted, provided
+that the above copyright notice appear in such copy and that this
+copyright notice appear in all supporting documentation, and that the
+names of Apollo Computer Inc., the Hewlett-Packard Company, or the X
+Consortium not be used in advertising or publicity pertaining to
+distribution of the software without written prior permission.
+
+HEWLETT-PACKARD MAKES NO WARRANTY OF ANY KIND WITH REGARD
+TO THIS SOFWARE, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE.  Hewlett-Packard shall not be liable for errors
+contained herein or direct, indirect, special, incidental or
+consequential damages in connection with the furnishing,
+performance, or use of this material.
+
+
+Copyright (c) 1999  The XFree86 Project Inc.
+
+All Rights Reserved.
+
+The above copyright notice and this permission notice 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
+OPEN GROUP 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.
+
+Except as contained in this notice, the name of The XFree86 Project
+Inc. 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 XFree86 Project Inc.

commit 1870ec9ce40e8852e1cdce473afa90d21d780e52
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Mon Dec 13 16:25:31 2010 -0800

    Xfuncproto.h: Add _X_RESTRICT_KEYWORD for C99 & gcc in non-strict-C89 mode
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

diff --git a/Xfuncproto.h.in b/Xfuncproto.h.in
index b624956..fd9f29b 100644
--- a/Xfuncproto.h.in
+++ b/Xfuncproto.h.in
@@ -128,4 +128,16 @@ in this Software without prior written authorization from The Open Group.
 # define _X_ATTRIBUTE_PRINTF(x,y)
 #endif
 
+/* C99 keyword "restrict" or equivalent extensions in pre-C99 compilers */
+#ifndef _X_RESTRICT_KYWD
+# if defined(restrict) /* assume autoconf set it correctly */ || \
+   (defined(__STDC__) && (__STDC_VERSION__ - 0 >= 199901L)) /* C99 */
+#  define _X_RESTRICT_KYWD  restrict
+# elif defined(__GNUC__) && !defined(__STRICT_ANSI__) /* gcc w/C89+extensions */
+#  define _X_RESTRICT_KYWD __restrict__
+# else
+#  define _X_RESTRICT_KYWD
+# endif
+#endif
+
 #endif /* _XFUNCPROTO_H_ */

commit e5604f04482350eb922a31ad4342aab91ab3b412
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Thu Dec 9 16:04:52 2010 -0800

    Enable gcc attribute(__format__) on gcc versions older than 4.0
    
    Enabled on 2.3 and up, since that's where it's available according to
    http://www.ohse.de/uwe/articles/gcc-attributes.html#func-format
    
    Tested with gcc 3.4.3 on Solaris.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>

diff --git a/Xfuncproto.h.in b/Xfuncproto.h.in
index 0177119..b624956 100644
--- a/Xfuncproto.h.in
+++ b/Xfuncproto.h.in
@@ -77,10 +77,8 @@ in this Software without prior written authorization from The Open Group.
 
 #if defined(__GNUC__) && (__GNUC__ >= 4)
 # define _X_SENTINEL(x) __attribute__ ((__sentinel__(x)))
-# define _X_ATTRIBUTE_PRINTF(x,y) __attribute__((__format__(__printf__,x,y)))
 #else
 # define _X_SENTINEL(x)
-# define _X_ATTRIBUTE_PRINTF(x,y)
 #endif /* GNUC >= 4 */
 
 #if defined(__GNUC__) && (__GNUC__ >= 4) && !defined(__CYGWIN__)
@@ -124,4 +122,10 @@ in this Software without prior written authorization from The Open Group.
 # define _X_NORETURN
 #endif /* GNUC  */
 
+#if defined(__GNUC__) && ((__GNUC__ * 100 + __GNUC_MINOR__) >= 203)
+# define _X_ATTRIBUTE_PRINTF(x,y) __attribute__((__format__(__printf__,x,y)))
+#else /* not gcc >= 2.3 */
+# define _X_ATTRIBUTE_PRINTF(x,y)
+#endif
+
 #endif /* _XFUNCPROTO_H_ */

commit d25f90fe260f546cdea0ec2ebc84df446eef5f47
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Tue Dec 7 19:05:26 2010 -0800

    xproto 7.0.20
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

diff --git a/configure.ac b/configure.ac
index 3b6c4e3..832a6a6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,5 +1,5 @@
 AC_PREREQ([2.60])
-AC_INIT([Xproto], [7.0.19],
+AC_INIT([Xproto], [7.0.20],
         [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg])
 AM_INIT_AUTOMAKE([foreign dist-bzip2])
 AM_MAINTAINER_MODE

commit 78806c9fc4be8da93581dcbdafbd668cac9f2d8b
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Dec 4 17:57:24 2010 -0800

    spec: Convert .DS/.DE nroff sections to <literallayout> tags
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

diff --git a/specs/sect1-9.xml b/specs/sect1-9.xml
index fb6ce6d..91e3cac 100644
--- a/specs/sect1-9.xml
+++ b/specs/sect1-9.xml
@@ -3913,14 +3913,14 @@ is specified or the specified type matches the actual type of the property,
 then the return type is the actual type of the property,
 the format is the actual format of the property (never zero),
 and the bytes-after and value are as follows, given:
-<!-- .DS -->
-N = actual length of the stored property in bytes
-\ \ \ \ (even if the format is 16 or 32)
-I = 4 * long-offset
-T = N - I
-L = MINIMUM(T, 4 * long-length)
-A = N - (I + L)
-<!-- .DE -->
+<literallayout class="monospaced">
+	N = actual length of the stored property in bytes
+	    (even if the format is 16 or 32)
+	I = 4 * long-offset
+	T = N - I
+	L = MINIMUM(T, 4 * long-length)
+	A = N - (I + L)
+</literallayout>
 </para>
 <para>
 The returned value starts at byte index I in the property (indexing from 0),
@@ -6161,26 +6161,26 @@ If either min-byte1 or max-byte1 are nonzero,
 then both min-char-or-byte2 and max-char-or-byte2 will be less than 256,
 and the 2-byte character index values corresponding to char-infos element N
 (counting from 0) are:
-<!-- .DS -->
-byte1 = N/D + min-byte1
-byte2 = N\\\\D + min-char-or-byte2
-<!-- .DE -->
+<literallayout class="monospaced">
+	byte1 = N/D + min-byte1
+	byte2 = N\\D + min-char-or-byte2
+</literallayout>
 </para>
 <para>
 where:
-<!-- .DS -->
-D = max-char-or-byte2 - min-char-or-byte2 + 1
-/ = integer division
-\\\\ = integer modulus
-<!-- .DE -->
+<literallayout class="monospaced">
+	D = max-char-or-byte2 - min-char-or-byte2 + 1
+	/ = integer division
+	\\ = integer modulus
+</literallayout>
 </para>
 <para>
 If char-infos has length zero,
 then min-bounds and max-bounds will be identical,
 and the effective char-infos is one filled with this char-info, of length:
-<!-- .DS -->
-L = D * (max-byte1 - min-byte1 + 1)
-<!-- .DE -->
+<literallayout class="monospaced">
+	L = D * (max-byte1 - min-byte1 + 1)
+</literallayout>
 </para>
 <para>
 That is,
@@ -6207,19 +6207,19 @@ nonexistent characters).
 The bounding box of the font (that is, the
 smallest rectangle enclosing the shape obtained by superimposing all
 characters at the same origin [x,y]) has its upper-left coordinate at:
-<!-- .DS -->
-[x + min-bounds.left-side-bearing, y - max-bounds.ascent]
-<!-- .DE -->
+<literallayout class="monospaced">
+	[x + min-bounds.left-side-bearing, y - max-bounds.ascent]
+</literallayout>
 with a width of:
-<!-- .DS -->
-max-bounds.right-side-bearing - min-bounds.left-side-bearing
-<!-- .DE -->
+<literallayout class="monospaced">
+	max-bounds.right-side-bearing - min-bounds.left-side-bearing
+</literallayout>
 </para>
 <para>
 and a height of:
-<!-- .DS -->
-max-bounds.ascent + max-bounds.descent
-<!-- .DE -->
+<literallayout class="monospaced">
+	max-bounds.ascent + max-bounds.descent
+</literallayout>
 </para>
 <para>
 The font-ascent is the logical extent of the font above the baseline
@@ -6244,27 +6244,27 @@ For a character origin at [x,y],
 the bounding box of a character (that is,
 the smallest rectangle enclosing the character's shape), described in
 terms of CHARINFO components, is a rectangle with its upper-left corner at:
-<!-- .DS -->
-[x + left-side-bearing, y - ascent]
-<!-- .DE -->
+<literallayout class="monospaced">
+	[x + left-side-bearing, y - ascent]
+</literallayout>
 </para>
 <para>
 with a width of:
-<!-- .DS -->
-right-side-bearing - left-side-bearing
-<!-- .DE -->
+<literallayout class="monospaced">
+	right-side-bearing - left-side-bearing
+</literallayout>
 </para>
 <para>
 and a height of:
-<!-- .DS -->
-ascent + descent
-<!-- .DE -->
+<literallayout class="monospaced">
+	ascent + descent
+</literallayout>
 </para>
 <para>
 and the origin for the next character is defined to be:
-<!-- .DS -->
-[x + character-width, y]
-<!-- .DE -->
+<literallayout class="monospaced">
+	[x + character-width, y]
+</literallayout>
 </para>
 <para>
 Note that the baseline is logically viewed as being just below
@@ -6933,7 +6933,7 @@ so the result is:
 </para>
 
 <literallayout class="monospaced">
-((src FUNC dst) AND plane-mask) OR (dst AND (NOT plane-mask))
+	((src FUNC dst) AND plane-mask) OR (dst AND (NOT plane-mask))
 </literallayout>
 
 <para>
@@ -7070,8 +7070,8 @@ width w is a rectangle with vertices at the following real coordinates:
 </para>
 
 <literallayout class="monospaced">
-[x1-(w*sn/2), y1+(w*cs/2)], [x1+(w*sn/2), y1-(w*cs/2)],
-[x2-(w*sn/2), y2+(w*cs/2)], [x2+(w*sn/2), y2-(w*cs/2)]
+	[x1-(w*sn/2), y1+(w*cs/2)], [x1+(w*sn/2), y1-(w*cs/2)],
+	[x2-(w*sn/2), y2+(w*cs/2)], [x2+(w*sn/2), y2-(w*cs/2)]
 </literallayout>
 
 <para>
@@ -8598,9 +8598,9 @@ This request draws the outlines of the specified rectangles, as if a five-point
 were specified for each rectangle:
 </para>
 <para>
-<!-- .DS -->
-[x,y] [x+width,y] [x+width,y+height] [x,y+height] [x,y]
-<!-- .DE -->
+<literallayout class="monospaced">
+	[x,y] [x+width,y] [x+width,y+height] [x,y+height] [x,y]
+</literallayout>
 </para>
 <para>
 The x and y coordinates of each rectangle are relative to the drawable's origin
@@ -8730,9 +8730,9 @@ the ellipse (for a circle, the angles and coordinate systems are identical).
 The relationship between these angles and angles expressed in the normal
 coordinate system of the screen (as measured with a protractor) is as
 follows:
-<!-- .DS -->
-skewed-angle = atan(tan(normal-angle) * w/h) + adjust
-<!-- .DE -->
+<literallayout class="monospaced">
+	skewed-angle = atan(tan(normal-angle) * w/h) + adjust
+</literallayout>
 </para>
 <para>
 The skewed-angle and normal-angle are expressed in radians (rather
@@ -8952,9 +8952,9 @@ Errors:
 This request fills the specified rectangles, as if a four-point
 <link linkend="requests:FillPoly"><emphasis role='bold'>FillPoly</emphasis></link>
 were specified for each rectangle:
-<!-- .DS -->
-[x,y] [x+width,y] [x+width,y+height] [x,y+height]
-<!-- .DE -->
+<literallayout class="monospaced">
+	[x,y] [x+width,y] [x+width,y+height] [x,y+height]
+</literallayout>
 </para>
 <para>
 The x and y coordinates of each rectangle are relative to the drawable's origin
@@ -9574,21 +9574,21 @@ and specify the baseline starting position (the initial character origin).
 The effect is first to fill a destination rectangle with the background
 pixel defined in gc and then to paint the text with the foreground pixel.
 The upper-left corner of the filled rectangle is at:
-<!-- .DS -->
-[x, y - font-ascent]
-<!-- .DE -->
+<literallayout class="monospaced">
+	[x, y - font-ascent]
+</literallayout>
 </para>
 <para>
 the width is:
-<!-- .DS -->
-overall-width
-<!-- .DE -->
+<literallayout class="monospaced">
+	overall-width
+</literallayout>
 </para>
 <para>
 and the height is:
-<!-- .DS -->
-font-ascent + font-descent
-<!-- .DE -->
+<literallayout class="monospaced">
+	font-ascent + font-descent
+</literallayout>
 </para>
 <para>
 The overall-width, font-ascent, and font-descent are as
@@ -11374,9 +11374,9 @@ The first-keycode must be greater than or equal to min-keycode as returned
 in the connection setup (or a
 <emphasis role='bold'>Value</emphasis>
 error results) and:
-<!-- .DS -->
-first-keycode + (keysyms-length / keysyms-per-keycode) - 1
-<!-- .DE -->
+<literallayout class="monospaced">
+	first-keycode + (keysyms-length / keysyms-per-keycode) - 1
+</literallayout>
 </para>
 <para>
 must be less than or equal to max-keycode as returned in the connection
@@ -11385,9 +11385,9 @@ setup (or a
 error results).
 KEYSYM number N (counting from zero) for keycode K has an index
 (counting from zero) of:
-<!-- .DS -->
-(K - first-keycode) * keysyms-per-keycode + N
-<!-- .DE -->
+<literallayout class="monospaced">
+	(K - first-keycode) * keysyms-per-keycode + N
+</literallayout>
 </para>
 <para>
 in keysyms.
@@ -11468,9 +11468,9 @@ The first-keycode must be greater than or equal to
 min-keycode as returned in the connection setup (or a
 <emphasis role='bold'>Value</emphasis>
 error results), and:
-<!-- .DS -->
-first-keycode + count - 1
-<!-- .DE -->
+<literallayout class="monospaced">
+	first-keycode + count - 1
+</literallayout>
 </para>
 <para>
 must be less than or equal to max-keycode as returned in the connection setup
@@ -11478,16 +11478,16 @@ must be less than or equal to max-keycode as returned in the connection setup
 <emphasis role='bold'>Value</emphasis>
 error results).
 The number of elements in the keysyms list is:
-<!-- .DS -->
-count * keysyms-per-keycode
-<!-- .DE -->
+<literallayout class="monospaced">
+	count * keysyms-per-keycode
+</literallayout>
 </para>
 <para>
 and KEYSYM number N (counting from zero) for keycode K has an index
 (counting from zero) of:
-<!-- .DS -->
-(K - first-keycode) * keysyms-per-keycode + N
-<!-- .DE -->
+<literallayout class="monospaced">
+	(K - first-keycode) * keysyms-per-keycode + N
+</literallayout>
 </para>
 <para>
 in keysyms.
@@ -11773,15 +11773,15 @@ Percent can range from -100 to 100 inclusive (or a
 <emphasis role='bold'>Value</emphasis>
 error results).
 The volume at which the bell is rung when percent is nonnegative is:
-<!-- .DS -->
-base - [(base * percent) / 100] + percent
-<!-- .DE -->
+<literallayout class="monospaced">
+	base - [(base * percent) / 100] + percent
+</literallayout>
 </para>
 <para>
 When percent is negative, it is:
-<!-- .DS -->
-base + [(base * percent) / 100]
-<!-- .DE -->
+<literallayout class="monospaced">
+	base + [(base * percent) / 100]
+</literallayout>
 <!-- .sp -->
 </para>
   </section>

commit f1309dd259f29357b362c7c40913f33d3c144f49
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Dec 4 17:37:05 2010 -0800

    spec: Convert some tables that didn't get converted from troff properly
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

diff --git a/specs/sect1-9.xml b/specs/sect1-9.xml
index 29d795a..fb6ce6d 100644
--- a/specs/sect1-9.xml
+++ b/specs/sect1-9.xml
@@ -5988,70 +5988,145 @@ The font itself will be freed when no other resource references it.
     <title>QueryFont</title>
     <indexterm significance="preferred"><primary>QueryFont</primary></indexterm>
 <informaltable frame='none'>
-  <tgroup cols='1' align='left'>
+  <tgroup cols='3' align='left' rowsep='0'>
   <colspec colname='c1' colsep='0'/>
+  <colspec colname='c2' colsep='0'/>
+  <colspec colname='c3' colsep='0'/>
+  <spanspec spanname='all' namest='c1' nameend='c3'/>
   <tbody>
-    <row rowsep='0'>
-      <entry>
+    <row>
+      <entry spanname='all'>
 <!-- .in +.2i -->
 <emphasis remap='I'>font</emphasis>: FONTABLE
 <!-- .in -.2i -->
       </entry>
     </row>
-    <row rowsep='0'>
-      <entry>
+    <row>
+      <entry spanname='all'>
    ▶
       </entry>
     </row>
-    <row rowsep='0'>
-      <entry>
+    <row>
+      <entry spanname='all'>
 <!-- .in +.2i -->
 font-info: FONTINFO
       </entry>
     </row>
-    <row rowsep='0'>
-      <entry>
+    <row>
+      <entry spanname='all'>
 char-infos: LISTofCHARINFO
 <!-- .in -.2i -->
       </entry>
     </row>
-    <row rowsep='0'>
-      <entry>
+    <row>
+      <entry valign='top' morerows='18'>
 <!-- .in +.2i -->
 where:
-<!-- .IP -->
-<!-- .TS -->
-l lw(3i).
-T{
+      </entry>
+    </row>
+    <row>
+      <entry valign='top' morerows='9'>
 FONTINFO:
-T}	T{
+      </entry>
+      <entry>
 [draw-direction:
 { <emphasis role='bold'>LeftToRight</emphasis>,
-<emphasis role='bold'>RightToLeft</emphasis>}
-T}
-	\ min-char-or-byte2, max-char-or-byte2: CARD16
-	\ min-byte1, max-byte1: CARD8
-	\ all-chars-exist: BOOL
-	\ default-char: CARD16
-	\ min-bounds: CHARINFO
-	\ max-bounds: CHARINFO
-	\ font-ascent: INT16
-	\ font-descent: INT16
-	\ properties: LISTofFONTPROP]
-FONTPROP:	[name: ATOM
-	\ value: &lt;32-bit-value&gt;]
-CHARINFO:	[left-side-bearing: INT16
-	\ right-side-bearing: INT16
-	\ character-width: INT16
-	\ ascent: INT16
-	\ descent: INT16
-	\ attributes: CARD16]
-<!-- .TE -->
-<!-- .in -.2i -->
+<emphasis role='bold'>RightToLeft</emphasis> }
       </entry>
     </row>
-    <row rowsep='0'>
+    <row>
+      <entry>
+min-char-or-byte2, max-char-or-byte2: CARD16
+      </entry>
+    </row>
+    <row>
+      <entry>
+min-byte1, max-byte1: CARD8
+      </entry>
+    </row>
+    <row>
+      <entry>
+all-chars-exist: BOOL
+      </entry>
+    </row>
+    <row>
+      <entry>
+default-char: CARD16
+      </entry>
+    </row>
+    <row>
+      <entry>
+min-bounds: CHARINFO
+      </entry>
+    </row>
+    <row>
+      <entry>
+max-bounds: CHARINFO
+      </entry>
+    </row>
+    <row>
+      <entry>
+font-ascent: INT16
+      </entry>
+    </row>
+    <row>
+      <entry>
+font-descent: INT16
+      </entry>
+    </row>
+    <row>
+      <entry>
+properties: LISTofFONTPROP]
+      </entry>
+    </row>
+    <row>
+      <entry valign='top' morerows='1'>
+FONTPROP:
+      </entry>
+      <entry>
+[name: ATOM
+      </entry>
+    </row>
+    <row>
+      <entry>
+value: &lt;32-bit-value&gt;]
+      </entry>
+    </row>
+    <row>
+      <entry valign='top' morerows='5'>
+CHARINFO:
+      </entry>
+      <entry>
+[left-side-bearing: INT16
+      </entry>
+    </row>
+    <row>
+      <entry>
+right-side-bearing: INT16
+      </entry>
+    </row>
+    <row>
+      <entry>
+character-width: INT16
+      </entry>
+    </row>
+    <row>
+      <entry>
+ascent: INT16
+      </entry>
+    </row>
+    <row>
+      <entry>
+descent: INT16
+      </entry>
+    </row>
+    <row>
       <entry>
+attributes: CARD16]
+      </entry>
+    </row>
+    <row>
+      <entry spanname='all'>
 <!-- .in +.2i -->
 Errors:
 <emphasis role='bold'>Font</emphasis>
@@ -8664,16 +8739,26 @@ The skewed-angle and normal-angle are expressed in radians (rather
 than in degrees scaled by 64) in the range [0,2*PI).
 The atan returns a value in the range [-PI/2,PI/2].
 The adjust is:
-</para>
-<para>
-<!-- .TS -->
-l l.
-0	for normal-angle in the range [0,PI/2)
-PI	for normal-angle in the range [PI/2,(3*PI)/2)
-2*PI	for normal-angle in the range [(3*PI)/2,2*PI)
-<!-- .TE -->
-</para>
-<para>
+<informaltable frame="none">
+  <tgroup cols='2' align='left' rowsep="0">
+    <colspec colname='c1' colwidth='1*' colsep="0"/>
+    <colspec colname='c2' colwidth='2*' colsep="0"/>
+    <tbody>
+      <row>
+	<entry>0</entry>
+	<entry>for normal-angle in the range [0,PI/2)</entry>
+      </row>
+      <row>
+	<entry>PI</entry>
+	<entry>for normal-angle in the range [PI/2,(3*PI)/2)</entry>
+      </row>
+      <row>
+	<entry>2*PI</entry>
+	<entry>for normal-angle in the range [(3*PI)/2,2*PI)</entry>
+      </row>
+    </tbody>
+  </tgroup>
+</informaltable>
 </para>
 <para>
 The arcs are drawn in the order listed.
@@ -9243,54 +9328,64 @@ It is intended specifically for rudimentary hardcopy support.
     <title>PolyText8</title>
     <indexterm significance="preferred"><primary>PolyText8</primary></indexterm>
 <informaltable frame='none'>
-  <tgroup cols='1' align='left'>
+  <tgroup cols='3' align='left' rowsep='0'>
   <colspec colname='c1' colsep='0'/>
+  <colspec colname='c2' colsep='0'/>
+  <colspec colname='c3' colsep='0'/>
+  <spanspec spanname='all' namest='c1' nameend='c3'/>
   <tbody>
-    <row rowsep='0'>
-      <entry>
+    <row>
+      <entry spanname='all'>
 <!-- .in +.2i -->
 <emphasis remap='I'>drawable</emphasis>: DRAWABLE
       </entry>
     </row>
-    <row rowsep='0'>
-      <entry>
+    <row>
+      <entry spanname='all'>
 <emphasis remap='I'>gc</emphasis>: GCONTEXT
       </entry>
     </row>
-    <row rowsep='0'>
-      <entry>
+    <row>
+      <entry spanname='all'>
 <emphasis remap='I'>x</emphasis>, <emphasis remap='I'>y</emphasis>: INT16
       </entry>
     </row>
-    <row rowsep='0'>
-      <entry>
+    <row>
+      <entry spanname='all'>
 <emphasis remap='I'>items</emphasis>: LISTofTEXTITEM8
 <!-- .in -.2i -->
       </entry>
     </row>
-    <row rowsep='0'>
-      <entry>
+    <row>
+      <entry valign='top' morerows='3'>
 <!-- .in +.2i -->
 where:
-<!-- .TS -->
-r l.
-TEXTITEM8:	TEXTELT8 or FONT
       </entry>


Reply to: