Xcup: Kaleb S, Keithley, The Open Group
Xdbe: Ian Elliot, Hewlett-Packard, David Wiggens, X Consortium
XEVI: Peter Daifuku, Silicon Graphics
-XLbx: D. Converse, J Fulton, C. Kantarjiev, D. Lemke, R. Mor,
- Keith Packard, NCD (who now believes lbx should be nuked),
+XLbx: D. Converse, J Fulton, C. Kantarjiev, D. Lemke, R. Mor,
+ Keith Packard, NCD (who now believes lbx should be nuked),
R. Tice, D. Tonogai
XMultibuf: Jeffrey Friedberg, Larry Seiler, Jeff Vroom, Digital Equipment
XSecurity: Dave Wiggens, X Consortium
XShape: Jonathan Corbet, NCAR, Keith Packard, MIT X Consortium
Xshm: Bob Scheifler and Keith Packard, MIT X Consortium
-XSync: Tim Glauert, Olivetti Research, DAve Carver, Jim Gettys,
+XSync: Tim Glauert, Olivetti Research, DAve Carver, Jim Gettys,
Digital Equipment, Dave Wiggens, X Consortium
XTestExt: Kieron Drake, UniSoft, Ltd.
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
-DIGITAL EQUIPMENT CORPORATION BE LIABLE FOR ANY CLAIM, DAMAGES, INCLUDING,
-BUT NOT LIMITED TO CONSEQUENTIAL OR INCIDENTAL DAMAGES, OR OTHER LIABILITY,
-WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
+DIGITAL EQUIPMENT CORPORATION BE LIABLE FOR ANY CLAIM, DAMAGES, INCLUDING,
+BUT NOT LIMITED TO CONSEQUENTIAL OR INCIDENTAL 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 Digital Equipment Corporation
+Except as contained in this notice, the name of Digital Equipment Corporation
shall not be used in advertising or otherwise to promote the sale, use or other
-dealings in this Software without prior written authorization from Digital
+dealings in this Software without prior written authorization from Digital
Equipment Corporation.
Copyright (c) 1997 by Silicon Graphics Computer Systems, Inc.
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL NCD.
BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
-OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
+OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
Copyright 1991,1993 by Digital Equipment Corporation, Maynard, Massachusetts,
advertising or publicity pertaining to distribution of the
software without specific, written prior permission.
-Hewlett-Packard makes no representations about the
-suitability of this software for any purpose. It is provided
+Hewlett-Packard makes no representations about the
+suitability of this software for any purpose. It is provided
"as is" without express or implied warranty.
This software is not subject to any license of the American
of the information in this document. This documentation is
provided ``as is'' without express or implied warranty.
-Copyright 1999, 2005, 2006 Sun Microsystems, Inc. All rights reserved.
+Copyright (c) 1999, 2005, 2006, 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"),
+commit e9c1e346c90e697d5d8f0e756ef8b6e3ed339e29
+Author: Alan Coopersmith <alan.coopersmith@oracle.com>
+Date: Wed Mar 7 19:54:50 2012 -0800
+
+ libXext 1.3.1
+
+ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
+
+commit c0c2a0c7819c425f3df0992b6873a15c8ec27e01
+Author: Alan Coopersmith <alan.coopersmith@oracle.com>
+Date: Wed Sep 28 16:19:27 2011 -0700
+
+ Add const attributes to fix gcc -Wwrite-strings warnings
+
+ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
+
+commit a8f18777099ca5d61929bc37e4741457b6671e59
+Author: Matt Dew <marcoz@osource.org>
+Date: Fri Oct 7 23:25:45 2011 -0600
+
+ more Cleanup of IDs and links in doc
+
+commit 3464d6eebfaaf015ea6b25a9a437192ddb1b02b0
+Author: Matt Dew <marcoz@osource.org>
+Date: Tue Sep 20 22:06:05 2011 -0600
+
+ Fix id attributes capitolization
+
+ #1 - fix the capitolization of the ID attriutes to match either
+ the <title> or <funcdef> string it goes with.
+ #2 - fix any <linkend>'s that were affected by #1
+ #3 - any <function> in the docs that has an actual funcdef, will
+ become an olink.
+
+ Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
+ Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
+ Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
+
+commit 17271b78c5d8d9864eda2476863543ba284bee2d
+Author: Gaetan Nadon <memsize@videotron.ca>
+Date: Tue Sep 20 19:01:41 2011 -0400
+
+ specs: regroup <author> <editor> <othercredit> under authorgroup
+
+ Some elements are not displayed when outside authorgroup
+
+ Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
+
+commit a58e7d756111eafd4b75763692808198315f1c75
+Author: Gaetan Nadon <memsize@videotron.ca>
+Date: Tue Sep 20 10:18:22 2011 -0400
+
+ xtest1: adding legal text related to the X Consortium Copyright
+
+ Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
+
+commit 276df4dd2de616617cb439df4367cbaa4f568a0a
+Author: Gaetan Nadon <memsize@videotron.ca>
+Date: Tue Sep 20 10:07:06 2011 -0400
+
+ dpmslib: minor markup fix in legal text
+
+ Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
+
+commit ca39a358c35ea364c10fa7c16b6a584171d27600
+Author: Gaetan Nadon <memsize@videotron.ca>
+Date: Tue Sep 20 09:57:26 2011 -0400
+
+ synclib: refactor copyright legal text for multiple licensing
+
+ One sentence added as per the xorg License doc.
+
+ Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
+
+commit 877e74e518ec74a07cb8998a3f517ab043cf76be
+Author: Gaetan Nadon <memsize@videotron.ca>
+Date: Mon Sep 19 17:26:02 2011 -0400
+
+ specs: add missing legal text information
+
+ The reference being the xorg License doc.
+
+ Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
+
+commit b46167511d429792086fb8e8cfea6f19b2fc9847
+Author: Alan Coopersmith <alan.coopersmith@oracle.com>
+Date: Fri Sep 16 22:18:56 2011 -0700
+
+ Strip trailing whitespace
+
+ Performed with: find * -type f | xargs perl -i -p -e 's{[ \t]+$}{}'
+ git diff -w & git diff -b show no diffs from this change
+
+ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
+
+commit ead0cea593266b91f08d33a0c83170ba92d8ac7e
+Author: Gaetan Nadon <memsize@videotron.ca>
+Date: Fri Sep 16 16:30:09 2011 -0400
+
+ dbelib: refactor docbook copyright markup
+
+ Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
+
+commit d01ff169e5a07cb0eda3a8fd1489abb964db7ede
+Author: Gaetan Nadon <memsize@videotron.ca>
+Date: Thu Sep 15 10:39:25 2011 -0400
+
+ synclib: fix authors and affiliations
+
+ Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
+
+commit d7d0ad299214c4cb0b8dac579ffb7a6722de2d7f
+Author: Gaetan Nadon <memsize@videotron.ca>
+Date: Wed Sep 14 17:40:14 2011 -0400
+
+ dbelib: fix typo in author's name
+
+ Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
+
+commit 1a147b7a6d1842d02e40674353716e5c3eb3b432
+Author: Gaetan Nadon <memsize@videotron.ca>
+Date: Wed Sep 14 17:27:09 2011 -0400
+
+ dpmslib: restore DEC copyright
+
+ Somehow during docbook conversion the copyright was changed from DEC
+ to X Consortium. There are suprious instances of X Consortium
+ in many docs. The dpms protocol doc was intact.
+
+ Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
+
+commit a41bfcd7aa93046a5e917ccd4af321d4a6703160
+Author: Gaetan Nadon <memsize@videotron.ca>
+Date: Wed Sep 14 16:30:26 2011 -0400
+
+ docs: fix author affiliation
+
+ Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
+
+commit e493d8f2a6441ea7bd92bb9dc9681d0bd8cfb7dc
+Author: Gaetan Nadon <memsize@videotron.ca>
+Date: Wed Sep 14 16:06:55 2011 -0400
+
+ docs: remove orphan affiliation
+
+ Move releaseinfo elements together
+
+ Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
+
+commit 0344dafef098d64a9be7bafc859c8c1f27b75942
+Author: Gaetan Nadon <memsize@videotron.ca>
+Date: Wed Sep 14 16:03:45 2011 -0400
+
+ docs: fix author affiliation
+
+ Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
+
+commit a8248f0dbb84ab2530bd11f2c396b7fcd4b128f4
+Author: Gaetan Nadon <memsize@videotron.ca>
+Date: Mon Sep 12 16:54:45 2011 -0400
+
+ docs: use the &fullrelvers; entity to set X11 release information
+
+ Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
+
+commit 426514bee44ccbb849b959c917a191545e7472fa
+Author: Gaetan Nadon <memsize@videotron.ca>
+Date: Sun Sep 11 19:49:54 2011 -0400
+
+ docs: remove <productnumber> which is not used by default
+
+ This element is not rendered by default on the title. A template
+ customization is required to display it.
+ X Window System does not have a product number.
+
+ Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
+
+commit aec3220c5ca4942fdb2ad40d3b460ddd90603428
+Author: Gaetan Nadon <memsize@videotron.ca>
+Date: Thu Sep 8 20:00:00 2011 -0400
+
+ docbook.am: embed css styles inside the HTML HEAD element
+
+ Rather than referring to the external xorg.css stylesheet, embed the content
+ of the file in the html output produced. This is accomplished by using
+ version 1.10 of xorg-xhtml.xsl.
+
+ This makes the whole html docs tree much more relocatable.
+ In addition, it eliminates xorg.css as a runtime file which makes
+ xorg-sgml-doctools a build time only package.
+
+ Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
+
+commit 23b5f7d36f850cef9a135290bec23099f33245d1
+Author: Gaetan Nadon <memsize@videotron.ca>
+Date: Wed Sep 7 10:31:04 2011 -0400
+
+ docbook.am: global maintenance update - entities, images and olinking
+
+ Adding support in libX11 for html chunking caused a reorg of docbook.am
+ as well as the xorg-sgml-doctools masterdb for olinking.
+ The parameter img.src.path is added for pdf images.
+ A searchpath to the root builddir is added for local entities, if present.
+
+ The docbook.am makefile hides all the details and is identical for
+ all 22 modules having DocBook documentation. It is included by a thin
+ Makefile.am which requires no docbook knowledge.
+
+ Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
+
+commit 1b9487304a4757478aa923174272dd4062af9735
+Author: Matt Dew <marcoz@osource.org>
+Date: Wed Jul 13 12:32:49 2011 -0600
+
+ Add some links for quick referencing definitions.
+
+ Signed-off-by: Matt Dew <marcoz@osource.org>
+ Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
+ Acked-by: Gaetan Nadon <memsize@videotron.ca>
+
+commit b6fc6e6a0784b747863ee9b586fb09a81340bea4
+Author: Gaetan Nadon <memsize@videotron.ca>
+Date: Sun Jun 5 16:27:36 2011 -0400
+
+ Install target dbs alongside generated documents
+
+ This matches a change in xorg-sgml-docs whereby the masterdb will look for
+ the target dbs into the same location as the generated documents.
+
+ The target dbs are now installed alongside the generated documents.
+ Previously they are installed in $prefix/sgml/X11/dbs alongside masterdb which
+ has the potential of installing outside the package prefix and cause
+ distcheck to fail when user does not have write permission in this package.
+
+ Requires XORG_CHECK_SGML_DOCTOOLS(1.8) which was released 2011-06-11
+
+commit acc529ed1f1cff6c79d3b6f711ff64da97bb864c
+Author: Matt Dew <marcoz@osource.org>
+Date: Wed May 25 23:49:37 2011 -0600
+
+ add id attributes to funcsynopsis to allow other docs to olink to them.
+
+ Signed-off-by: Matt Dew <marcoz@osource.org>
+ Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
+ Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
+
+commit 8451664d228852f7b57eb11a35be3328b6fff13a
+Author: Alan Coopersmith <alan.coopersmith@oracle.com>
+Date: Fri May 6 18:45:55 2011 -0700
+
+ Install xml versions of specs even if HAVE_XMLTO is false
+
+ Moves HAVE_XMLTO check into docbook.am, more closely matches behaviour
+ from before docbook.am changes.
+
+ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
+
+commit f9a140097dace149a2c6b6f72080edee24b068f4
+Author: Alan Coopersmith <alan.coopersmith@oracle.com>
+Date: Fri May 6 16:41:36 2011 -0700
+
+ libXext 1.3.0
+
+ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
+
+commit decc44349ba66eb82c2ed575e60e80c2c827633d
+Author: Peter Hutterer <peter.hutterer@who-t.net>
+Date: Thu Jul 22 08:58:33 2010 +1000
+
+ Correct XShm return values.
+
+ XShmAttach, XShmDetach, XShmPutImage do not return a Status but 0 or 1.
+ Though the man section for XShmAttach says "if all goes well, you will get a
+ non-zero status, back" this is counter to the usage of Status in Xlib
+ itself where 0 means Success and no-zero specifies the specific error.
+
+ XShmPixmapFormat does not return a Status but the pixmap format or 0 on
+ failure.
+
+ Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
+ Reviewed-by: Adam Jackson <ajax@redhat.com>
+
+commit 84648fda0f78dc0249bba7338f23526807e1f1d8
+Author: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
+Date: Tue Apr 5 20:02:52 2011 +1000
+
+ Add missing prototypes. #14723
+
+ This patch is based off the work by
+ Paulo César Pereira de Andrade
+
+ Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=14723
+
+ Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
+ Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
+
+commit 71e9cc5f91b1afc9ba5dfd38fdba1c3463e2bb1d
+Author: Gaetan Nadon <memsize@videotron.ca>
+Date: Sun Feb 27 15:06:18 2011 -0500
+
+ Documentation: add Docbook external references support
+
+ When writing technical documentation, it is often necessary to cross
+ reference to other information. When that other information is not in the
+ current document, additional support is needed, namely <olink>.
+
+ A new feature with version 1.7 of xorg-sgml-doctools adds references to
+ other documents within or outside this package.
+
+ This patch adds technical support for this feature but does not change
+ the content of the documentation as seen by the end user.
+
+ Each book or article must generate a database containing the href
+ of sections that can be referred to from another document. This database
+ is installed in DATAROOTDIR/sgml/X11/dbs. There is a requirement that
+ the value of DATAROOTDIR for xorg-sgml-doctools and for the package
+ documentation is the same. This forms a virtual document tree.
+
+ This database is consulted by other documents while they are being generated
+ in order to fulfill the missing information for linking.
+ Refer to the xorg-sgml-doctools for further technical information.
+
+ Co-authored-by: Matt Dew <marcoz@osource.org>
+
+ Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
+
+commit 700c7896b832d6e4fb0185f0d5382b01f94e7141
+Author: Alan Hourihane <alanh@vmware.com>
+Date: Fri Feb 25 11:05:27 2011 +0000
+
+ Add _X_HIDDEN to xgeExtRegister to fix build problems on 64bit
+
+commit 45c1b21e9f3ae64d0c65562080df925e11c0859c
+Author: Gaetan Nadon <memsize@videotron.ca>
+Date: Wed Feb 2 11:43:41 2011 -0500
+
+ config: comment, minor upgrade, quote and layout configure.ac
+
+ Group statements per section as per Autoconf standard layout
+ Quote statements where appropriate.
+ Autoconf recommends not using dnl instead of # for comments
+
+ Use AC_CONFIG_FILES to replace the deprecated AC_OUTPUT with parameters.
+ Remove redundant AC_CANONICAL_HOST included in XORG_DEFAULT_OPTIONS
+ Remove redundant AC_SUBST(*_CFLAGS) and/or *_LIBS
+ No functional configuration changes
+
+ This helps automated maintenance and release activities.
+ Details can be found in http://wiki.x.org/wiki/NewModuleGuidelines
+
+ Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
+
+commit f9d755fc92661a6db6f9d11c4e13a8926be47a83
+Author: Gaetan Nadon <memsize@videotron.ca>
+Date: Fri Jan 28 19:41:37 2011 -0500
+
+ config: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERS
+
+ Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
+
+commit 37ac4dffd8dd1648f4e34fe3a23bfa253f14e9f9
+Author: Gaetan Nadon <memsize@videotron.ca>
+Date: Fri Jan 28 14:59:04 2011 -0500
+
+ config: remove unrequired AC_HEADER_STDC
+
+ Autoconf says:
+ "This macro is obsolescent, as current systems have conforming
+ header files. New programs need not use this macro".
+
+commit 04052f422547265e0247a2f2f8eb9513a06cbcf3
+Author: Gaetan Nadon <memsize@videotron.ca>
+Date: Thu Jan 27 18:50:14 2011 -0500
+
+ config: remove AC_PROG_CC as it overrides AC_PROG_C_C99
+
+ XORG_STRICT_OPTION from XORG_DEFAULT_OPTIONS calls
+ AC_PROG_C_C99. This sets gcc with -std=gnu99.
+ If AC_PROG_CC macro is called afterwards, it resets CC to gcc.
+
+ Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
+
+commit e3c11721b45a4c845979ef3092b09f156b9e7ec7
+Author: Alan Coopersmith <alan.coopersmith@oracle.com>
+Date: Sun Dec 19 11:13:31 2010 -0800
+
+ Remove old .tex versions of dbelib & synclib specs now that we have .xml
+
+ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
+
+commit 8b4b31da87c63332f53da75ac3dd4f9883163009
+Author: Paulo Zanoni <pzanoni@mandriva.com>
+Date: Thu Dec 16 14:07:41 2010 -0200
+
+ Use docbookx.dtd version 4.3 for all docs
+
+ Signed-off-by: Paulo Zanoni <pzanoni@mandriva.com>
+ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
+
+commit 07ef12739bf158e31ead4b8241a4edfef2af9765
+Author: Alan Coopersmith <alan.coopersmith@oracle.com>
+Date: Thu Dec 16 23:02:38 2010 -0800
+
+ specs/xtest1.xml: Fix section titles/nesting
+
+ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
+
+commit b10caa0dfccfb0231723037b5646bebb21ca00f8
+Author: Alan Coopersmith <alan.coopersmith@oracle.com>
+Date: Thu Dec 16 22:57:30 2010 -0800
+
+ specs/synclib.xml: Fix title page/legal notice markup
+
+ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
+
+commit 99aaf69b91e9902103349d77dc36c34a088c3123
+Author: Alan Coopersmith <alan.coopersmith@oracle.com>
+Date: Thu Dec 16 22:50:06 2010 -0800
+
+ specs/shapelib.xml: Remove extra Glossary title
+
+ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
+
+commit 4c2d0c0c09b249e61313830ee4e237b7f0619b87
+Author: James Jones <jajones@nvidia.com>
+Date: Fri Jun 25 16:23:05 2010 -0700
+
+ Add XSyncAwaitFence()
+
+ Add the XSynceFence version of XSyncAwait(). Waits
+ for fence objects to reach the triggered state.
+
+ Signed-off-by: James Jones <jajones@nvidia.com>
+ Reviewed-by: Aaron Plattner <aplattner@nvidia.com>
+ Acked-by: Alan Coopersmith <alan.coopersmith@oracle.com>
+
+commit 9e33a842c97d676afa21e4bb16fd3dd380b42f4f
+Author: James Jones <jajones@nvidia.com>
+Date: Fri Jun 25 16:19:55 2010 -0700
+
+ Add XSyncQueryFence()
+
+ Allows callers to query whether or not a given
+ fence sync object is currently triggered.
+
+ Signed-off-by: James Jones <jajones@nvidia.com>
+ Reviewed-by: Aaron Plattner <aplattner@nvidia.com>
+ Acked-by: Alan Coopersmith <alan.coopersmith@oracle.com>
+
+commit 259a4c847ce2314bb6e1b050c93f58c3029eb67d
+Author: James Jones <jajones@nvidia.com>
+Date: Fri Jun 25 16:18:03 2010 -0700
+
+ Initial Fence Sync Object support
+
+ Allows creating and managing binary state sync
+ objects. Currently they aren't useful because
+ there is not yet a way to wait for them or
+ query their state. X fence objects are owned
+ by a screen. As Aaron Plattner pointed out,
+ screens are identified by a drawable in X
+ protocol, so XSyncCreateFence() takes a drawable
+ to identify which screen to create the fence on.
+
+ Signed-off-by: James Jones <jajones@nvidia.com>
+ Reviewed-by: Aaron Plattner <aplattner@nvidia.com>
+ Acked-by: Alan Coopersmith <alan.coopersmith@oracle.com>
+
+commit 010f35552cd5dc5c7004e765bb060b69d7f6a02f
+Author: James Jones <jajones@nvidia.com>
+Date: Mon Nov 29 09:50:17 2010 -0800
+
+ Require xextproto >= 7.1.99
+
+ Subsequent changes require fence sync
+ protocol support in the XSync extension,
+ which is only compete in version xextproto
+ 7.1.99 and above.
+
+ Signed-off-by: James Jones <jajones@nvidia.com>
+ Reviewed-by: Aaron Plattner <aplattner@nvidia.com>
+ Acked-by: Alan Coopersmith <alan.coopersmith@oracle.com>
+
+commit 53ba38c7901a029024d3b4598ef35c5d9e0f174d
+Author: James Jones <jajones@nvidia.com>
+Date: Fri Aug 20 15:11:23 2010 -0700
+
+ Backwards compat for newer XSync + older servers
+
+ Add infrastructure to make future builds of libXext that
+ support version of XSync 3.1 compatibile with X servers
+ exporting XSync version 3.0. As part of this, don't handle
+ errors introduced by newer versions of the protocol than the
+ server supports. Those error codes could be used by some
+ other extension.
+
+ Signed-off-by: James Jones <jajones@nvidia.com>
+ Reviewed-by: Aaron Plattner <aplattner@nvidia.com>
+ Acked-by: Alan Coopersmith <alan.coopersmith@oracle.com>
+
+commit d35e95fdf433a249d0293744d3e1ef6196422700
+Author: Matt Dew <matt@osource.org>
+Date: Wed Dec 1 20:51:05 2010 -0500
+
+ specs: convert xtest ext1 from roff to DocBook/XML
+
+ Previously located in xorg-docs/specs/Xext
+
+ Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
+
+commit f739146c3e711c1757203b1a8d84b31b5b694200
+Author: Alan Coopersmith <alan.coopersmith@oracle.com>
+Date: Sun Nov 21 11:26:06 2010 -0800
+
+ Sun's copyrights belong to Oracle now
+
+ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
+
+commit f9c66b4418686efb4bee92f9dfc8eeba77df857f
+Author: Gaetan Nadon <memsize@videotron.ca>
+Date: Tue Nov 9 13:04:48 2010 -0500
+
+ config: HTML file generation: use the installed copy of xorg.css
+
+ Currenlty the xorg.css file is copied in each location
+ where a DocBook/XML file resides. This produces about
+ 70 copies in the $(docdir) install tree.
+
+ Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
+
commit 3ddeb5328e1a5413e4800fb396ebab429153d1a1
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date: Wed Oct 27 23:06:51 2010 -0700
--- /dev/null
+Installation Instructions
+*************************
+
+Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005,
+2006, 2007, 2008 Free Software Foundation, Inc.
+
+ This file is free documentation; the Free Software Foundation gives
+unlimited permission to copy, distribute and modify it.
+
+Basic Installation
+==================
+
+ Briefly, the shell commands `./configure; make; make install' should
+configure, build, and install this package. The following
+more-detailed instructions are generic; see the `README' file for
+instructions specific to this package.
+
+ The `configure' shell script attempts to guess correct values for
+various system-dependent variables used during compilation. It uses
+those values to create a `Makefile' in each directory of the package.
+It may also create one or more `.h' files containing system-dependent
+definitions. Finally, it creates a shell script `config.status' that
+you can run in the future to recreate the current configuration, and a
+file `config.log' containing compiler output (useful mainly for
+debugging `configure').
+
+ It can also use an optional file (typically called `config.cache'
+and enabled with `--cache-file=config.cache' or simply `-C') that saves
+the results of its tests to speed up reconfiguring. Caching is
+disabled by default to prevent problems with accidental use of stale
+cache files.
+
+ If you need to do unusual things to compile the package, please try
+to figure out how `configure' could check whether to do them, and mail
+diffs or instructions to the address given in the `README' so they can
+be considered for the next release. If you are using the cache, and at
+some point `config.cache' contains results you don't want to keep, you
+may remove or edit it.
+
+ The file `configure.ac' (or `configure.in') is used to create
+`configure' by a program called `autoconf'. You need `configure.ac' if
+you want to change it or regenerate `configure' using a newer version
+of `autoconf'.
+
+The simplest way to compile this package is:
+
+ 1. `cd' to the directory containing the package's source code and type
+ `./configure' to configure the package for your system.
+
+ Running `configure' might take a while. While running, it prints
+ some messages telling which features it is checking for.
+
+ 2. Type `make' to compile the package.
+
+ 3. Optionally, type `make check' to run any self-tests that come with
+ the package.
+
+ 4. Type `make install' to install the programs and any data files and
+ documentation.
+
+ 5. You can remove the program binaries and object files from the
+ source code directory by typing `make clean'. To also remove the
+ files that `configure' created (so you can compile the package for
+ a different kind of computer), type `make distclean'. There is
+ also a `make maintainer-clean' target, but that is intended mainly
+ for the package's developers. If you use it, you may have to get
+ all sorts of other programs in order to regenerate files that came
+ with the distribution.
+
+ 6. Often, you can also type `make uninstall' to remove the installed
+ files again.
+
+Compilers and Options
+=====================
+
+ Some systems require unusual options for compilation or linking that
+the `configure' script does not know about. Run `./configure --help'
+for details on some of the pertinent environment variables.
+
+ You can give `configure' initial values for configuration parameters
+by setting variables in the command line or in the environment. Here
+is an example:
+
+ ./configure CC=c99 CFLAGS=-g LIBS=-lposix
+
+ *Note Defining Variables::, for more details.
+
+Compiling For Multiple Architectures
+====================================
+
+ You can compile the package for more than one kind of computer at the
+same time, by placing the object files for each architecture in their
+own directory. To do this, you can use GNU `make'. `cd' to the
+directory where you want the object files and executables to go and run
+the `configure' script. `configure' automatically checks for the
+source code in the directory that `configure' is in and in `..'.
+
+ With a non-GNU `make', it is safer to compile the package for one
+architecture at a time in the source code directory. After you have
+installed the package for one architecture, use `make distclean' before
+reconfiguring for another architecture.
+
+ On MacOS X 10.5 and later systems, you can create libraries and
+executables that work on multiple system types--known as "fat" or
+"universal" binaries--by specifying multiple `-arch' options to the
+compiler but only a single `-arch' option to the preprocessor. Like
+this:
+
+ ./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
+ CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
+ CPP="gcc -E" CXXCPP="g++ -E"
+
+ This is not guaranteed to produce working output in all cases, you
+may have to build one architecture at a time and combine the results
+using the `lipo' tool if you have problems.
+
+Installation Names
+==================
+
+ By default, `make install' installs the package's commands under
+`/usr/local/bin', include files under `/usr/local/include', etc. You
+can specify an installation prefix other than `/usr/local' by giving
+`configure' the option `--prefix=PREFIX'.
+
+ You can specify separate installation prefixes for
+architecture-specific files and architecture-independent files. If you
+pass the option `--exec-prefix=PREFIX' to `configure', the package uses
+PREFIX as the prefix for installing programs and libraries.
+Documentation and other data files still use the regular prefix.
+
+ In addition, if you use an unusual directory layout you can give
+options like `--bindir=DIR' to specify different values for particular
+kinds of files. Run `configure --help' for a list of the directories
+you can set and what kinds of files go in them.
+
+ If the package supports it, you can cause programs to be installed
+with an extra prefix or suffix on their names by giving `configure' the
+option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
+
+Optional Features
+=================
+
+ Some packages pay attention to `--enable-FEATURE' options to
+`configure', where FEATURE indicates an optional part of the package.
+They may also pay attention to `--with-PACKAGE' options, where PACKAGE
+is something like `gnu-as' or `x' (for the X Window System). The
+`README' should mention any `--enable-' and `--with-' options that the
+package recognizes.
+
+ For packages that use the X Window System, `configure' can usually
+find the X include and library files automatically, but if it doesn't,
+you can use the `configure' options `--x-includes=DIR' and
+`--x-libraries=DIR' to specify their locations.
+
+Particular systems
+==================
+
+ On HP-UX, the default C compiler is not ANSI C compatible. If GNU
+CC is not installed, it is recommended to use the following options in
+order to use an ANSI C compiler:
+
+ ./configure CC="cc -Ae"
+
+and if that doesn't work, install pre-built binaries of GCC for HP-UX.
+
+ On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot
+parse its `<wchar.h>' header file. The option `-nodtk' can be used as
+a workaround. If GNU CC is not installed, it is therefore recommended
+to try
+
+ ./configure CC="cc"
+
+and if that doesn't work, try
+
+ ./configure CC="cc -nodtk"
+
+Specifying the System Type
+==========================
+
+ There may be some features `configure' cannot figure out
+automatically, but needs to determine by the type of machine the package
+will run on. Usually, assuming the package is built to be run on the
+_same_ architectures, `configure' can figure that out, but if it prints
+a message saying it cannot guess the machine type, give it the
+`--build=TYPE' option. TYPE can either be a short name for the system
+type, such as `sun4', or a canonical name which has the form:
+
+ CPU-COMPANY-SYSTEM
+
+where SYSTEM can have one of these forms:
+
+ OS KERNEL-OS
+
+ See the file `config.sub' for the possible values of each field. If
+`config.sub' isn't included in this package, then this package doesn't
+need to know the machine type.
+
+ If you are _building_ compiler tools for cross-compiling, you should
+use the option `--target=TYPE' to select the type of system they will
+produce code for.
+
+ If you want to _use_ a cross compiler, that generates code for a
+platform different from the build platform, you should specify the
+"host" platform (i.e., that on which the generated programs will
+eventually be run) with `--host=TYPE'.
+
+Sharing Defaults
+================
+
+ If you want to set default values for `configure' scripts to share,
+you can create a site shell script called `config.site' that gives
+default values for variables like `CC', `cache_file', and `prefix'.
+`configure' looks for `PREFIX/share/config.site' if it exists, then
+`PREFIX/etc/config.site' if it exists. Or, you can set the
+`CONFIG_SITE' environment variable to the location of the site script.
+A warning: not all `configure' scripts look for a site script.
+
+Defining Variables
+==================
+
+ Variables not defined in a site shell script can be set in the
+environment passed to `configure'. However, some packages may run
+configure again during the build, and the customized values of these
+variables may be lost. In order to avoid this problem, you should set
+them in the `configure' command line, using `VAR=value'. For example:
+
+ ./configure CC=/usr/local2/bin/gcc
+
+causes the specified `gcc' to be used as the C compiler (unless it is
+overridden in the site shell script).
+
+Unfortunately, this technique does not work for `CONFIG_SHELL' due to
+an Autoconf bug. Until the bug is fixed you can use this workaround:
+
+ CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash
+
+`configure' Invocation
+======================
+
+ `configure' recognizes the following options to control how it
+operates.
+
+`--help'
+`-h'
+ Print a summary of all of the options to `configure', and exit.
+
+`--help=short'
+`--help=recursive'
+ Print a summary of the options unique to this package's
+ `configure', and exit. The `short' variant lists options used
+ only in the top level, while the `recursive' variant lists options
+ also present in any nested packages.
+
+`--version'
+`-V'
+ Print the version of Autoconf used to generate the `configure'
+ script, and exit.
+
+`--cache-file=FILE'
+ Enable the cache: use and save the results of the tests in FILE,
+ traditionally `config.cache'. FILE defaults to `/dev/null' to
+ disable caching.
+
+`--config-cache'
+`-C'
+ Alias for `--cache-file=config.cache'.
+
+`--quiet'
+`--silent'
+`-q'
+ Do not print messages saying which checks are being made. To
+ suppress all normal output, redirect it to `/dev/null' (any error
+ messages will still be shown).
+
+`--srcdir=DIR'
+ Look for the package's source code in directory DIR. Usually
+ `configure' can determine that directory automatically.
+
+`--prefix=DIR'
+ Use DIR as the installation prefix. *Note Installation Names::
+ for more details, including other options available for fine-tuning
+ the installation locations.
+
+`--no-create'
+`-n'
+ Run the configure checks, but stop before creating any output
+ files.
+
+`configure' also accepts some other, not widely useful, options. Run
+`configure --help' for more details.
+++ /dev/null
-#! /bin/sh
-
-srcdir=`dirname $0`
-test -z "$srcdir" && srcdir=.
-
-ORIGDIR=`pwd`
-cd $srcdir
-
-autoreconf -v --install || exit 1
-cd $ORIGDIR || exit $?
-
-$srcdir/configure --enable-maintainer-mode "$@"
-# -*- Autoconf -*-
-# Process this file with autoconf to produce a configure script.
+# Initialize Autoconf
AC_PREREQ([2.60])
-AC_INIT([libXext],
- [1.2.0],
- [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],
- [libXext])
-
+AC_INIT([libXext], [1.3.1],
+ [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], [libXext])
AC_CONFIG_SRCDIR([Makefile.am])
-AM_INIT_AUTOMAKE([foreign dist-bzip2])
+AC_CONFIG_HEADERS([config.h])
+# Initialize Automake
+AM_INIT_AUTOMAKE([foreign dist-bzip2])
AM_MAINTAINER_MODE
-# Require xorg-macros minimum of 1.10 for DocBook XML documentation
+# Initialize libtool
+AC_PROG_LIBTOOL
+
+# Require xorg-macros minimum of 1.12 for DocBook external references
m4_ifndef([XORG_MACROS_VERSION],
- [m4_fatal([must install xorg-macros 1.10 or later before running autoconf/autogen])])
-XORG_MACROS_VERSION(1.10)
+ [m4_fatal([must install xorg-macros 1.12 or later before running autoconf/autogen])])
+XORG_MACROS_VERSION(1.12)
XORG_DEFAULT_OPTIONS
XORG_ENABLE_SPECS
-XORG_WITH_XMLTO(0.0.20)
+XORG_WITH_XMLTO(0.0.22)
XORG_WITH_FOP
-XORG_CHECK_SGML_DOCTOOLS(1.5)
-AM_CONFIG_HEADER([config.h])
+XORG_WITH_XSLTPROC
+XORG_CHECK_SGML_DOCTOOLS(1.8)
+XORG_CHECK_MALLOC_ZERO
-# Determine .so library version per platform
+# Determine .so library version per platform
# based on SharedXextRev in monolith xc/config/cf/*Lib.tmpl
-AC_CANONICAL_HOST
if test "x$XEXT_SOREV" = "x" ; then
case $host_os in
openbsd*) XEXT_SOREV=8:0 ;;
fi
AC_SUBST(XEXT_SOREV)
-# Checks for programs.
-AC_PROG_LIBTOOL
-AC_PROG_CC
-
-# Checks for pkg-config packages
-PKG_CHECK_MODULES(XEXT, [xproto >= 7.0.13] [x11 >= 1.1.99.1] [xextproto >= 7.0.99.2])
-AC_SUBST(XEXT_CFLAGS)
-AC_SUBST(XEXT_LIBS)
-
-# Checks for libraries.
-
-# Checks for header files.
-AC_HEADER_STDC
-
-XORG_CHECK_MALLOC_ZERO
+# Obtain compiler/linker options for depedencies
+PKG_CHECK_MODULES(XEXT, [xproto >= 7.0.13] [x11 >= 1.1.99.1] [xextproto >= 7.1.99])
-dnl Allow checking code with lint, sparse, etc.
+# Allow checking code with lint, sparse, etc.
XORG_WITH_LINT
XORG_LINT_LIBRARY([Xext])
-AC_OUTPUT([Makefile
- man/Makefile
- src/Makefile
- specs/Makefile
- xext.pc])
+AC_CONFIG_FILES([Makefile
+ man/Makefile
+ src/Makefile
+ specs/Makefile
+ xext.pc])
+AC_OUTPUT
+++ /dev/null
-------------------------------------------------------
-Quick Guide To Patching This Package For The Impatient
-------------------------------------------------------
-
-1. Make sure you have quilt installed
-2. Unpack the package as usual with "dpkg-source -x"
-3. Run the "patch" target in debian/rules
-4. Create a new patch with "quilt new" (see quilt(1))
-5. Edit all the files you want to include in the patch with "quilt edit"
- (see quilt(1)).
-6. Write the patch with "quilt refresh" (see quilt(1))
-7. Run the "clean" target in debian/rules
-
-Alternatively, instead of using quilt directly, you can drop the patch in to
-debian/patches and add the name of the patch to debian/patches/series.
-
-------------------------------------
-Guide To The X Strike Force Packages
-------------------------------------
-
-The X Strike Force team maintains X packages in git repositories on
-git.debian.org in the pkg-xorg subdirectory. Most upstream packages
-are actually maintained in git repositories as well, so they often
-just need to be pulled into git.debian.org in a "upstream-*" branch.
-Otherwise, the upstream sources are manually installed in the Debian
-git repository.
-
-The .orig.tar.gz upstream source file could be generated using this
-"upstream-*" branch in the Debian git repository but it is actually
-copied from upstream tarballs directly.
-
-Due to X.org being highly modular, packaging all X.org applications
-as their own independent packages would have created too many Debian
-packages. For this reason, some X.org applications have been grouped
-into larger packages: xutils, xutils-dev, x11-apps, x11-session-utils,
-x11-utils, x11-xfs-utils, x11-xkb-utils, x11-xserver-utils.
-Most packages, including the X.org server itself and all libraries
-and drivers are, however maintained independently.
-
-The Debian packaging is added by creating the "debian-*" git branch
-which contains the aforementioned "upstream-*" branch plus the debian/
-repository files.
-When a patch has to be applied to the Debian package, two solutions
-are involved:
-* If the patch is available in one of the upstream branches, it
- may be git'cherry-picked into the Debian repository. In this
- case, it appears directly in the .diff.gz.
-* Otherwise, the patch is added to debian/patches/ which is managed
- with quilt as documented in /usr/share/doc/quilt/README.source.
-
-quilt is actually invoked by the Debian X packaging through a larger
-set of scripts called XSFBS. XSFBS brings some other X specific
-features such as managing dependencies and conflicts due to the video
-and input driver ABIs.
-XSFBS itself is maintained in a separate repository at
- git://git.debian.org/pkg-xorg/xsfbs.git
-and it is pulled inside the other Debian X repositories when needed.
-
-The XSFBS patching system requires a build dependency on quilt. Also
-a dependency on $(STAMP_DIR)/patch has to be added to debian/rules
-so that the XSFBS patching occurs before the actual build. So the
-very first target of the build (likely the one running autoreconf)
-should depend on $(STAMP_DIR)/patch. It should also not depend on
-anything so that parallel builds are correctly supported (nothing
-should probably run while patching is being done). And finally, the
-clean target should depend on the xsfclean target so that patches
-are unapplied on clean.
-
-When the upstream sources contain some DFSG-nonfree files, they are
-listed in text files in debian/prune/ in the "debian-*" branch of
-the Debian repository. XSFBS' scripts then take care of removing
-these listed files during the build so as to generate a modified
-DFSG-free .orig.tar.gz tarball.
+++ /dev/null
-libxext (2:1.2.0-1slp2) unstable; urgency=low
-
- * [X11R7.6] upgrade package
- * Git: 165.213.180.234:slp/pkgs/xorg/lib/libxext
- * Tag: libxext_1.2.0-1slp2
-
- -- SooChan Lim <sc1.lim@samsung.com> Tue, 04 Jan 2011 11:07:12 +0900
-
-libxext (2:1.1.2-1) unstable; urgency=low
-
- * New upstream release.
- * Update debian/copyright from upstream COPYING.
- * Bump xutils-dev build-dep for xorg-macros 1.4.
- * Drop patch included upstream, disable patch system.
- * Bump Standards-Version to 3.9.0.
-
- -- Julien Cristau <jcristau@debian.org> Sun, 11 Jul 2010 14:15:51 +0100
-
-libxext (2:1.1.1-3) unstable; urgency=low
-
- [ Julien Cristau ]
- * Rename the build directory to not include DEB_BUILD_GNU_TYPE for no
- good reason. Thanks, Colin Watson!
-
- [ Cyril Brulebois ]
- * Add udeb needed for the graphical installer: libxext6-udeb.
- * Bump the B-D on libx11-dev to ensure libxext6-udeb gets a dependency
- on libx11-6-udeb.
- * Bump Standards-Version from 3.8.3 to 3.8.4 (no changes needed).
- * Add myself to Uploaders.
-
- -- Cyril Brulebois <kibi@debian.org> Thu, 11 Mar 2010 03:54:58 +0100
-
-libxext (2:1.1.1-2) unstable; urgency=low
-
- * Upload to unstable.
-
- -- Julien Cristau <jcristau@debian.org> Wed, 06 Jan 2010 13:03:11 +0000
-
-libxext (2:1.1.1-1) experimental; urgency=low
-
- [ Timo Aaltonen ]
- * New upstream release (closes: #555999).
- * Bump the build-dep on xutils-dev (>= 1:7.5~1).
-
- [ Julien Cristau ]
- * Add a symbols file for libxext6.
- * Don't export xgeExtRegister.
-
- -- Julien Cristau <jcristau@debian.org> Sat, 28 Nov 2009 15:46:39 +0100
-
-libxext (2:1.0.99.4-1) experimental; urgency=low
-
- [ Julien Cristau ]
- * Drop the -1 debian revisions from build-deps.
- * Drop the XS- prefix from Vcs-* control fields.
- * libxext6{,-dbg} don't need to depend on x11-common.
- * Use ${binary:Version} instead of the deprecated ${Source-Version}.
- * Run autoreconf at build time.
- * Parse space-separated DEB_BUILD_OPTIONS, handle parallel=N.
- * Drop Pre-Depends on x11-common. This was needed for upgrades from sarge.
- * Bump Standards-Version to 3.8.3
- * New upstream release.
- * Bump build-dependencies following configure.ac, and drop libxau-dev
- (unneeded).
- * Update libxext-dev.install to install headers.
- * libxext-dev Depends on new x11proto-xext-dev, and Replaces old one.
-
- [ Brice Goglin ]
- * Add a link to www.X.org and a reference to the upstream module
- in the long description.
- * Add upstream URL to debian/copyright.
- * Use updated xsfbs, closes: #538585.
- * Move -dbg package to section debug.
-
- [ Timo Aaltonen ]
- * Add README.source from xsfbs.
-
- -- Julien Cristau <jcristau@debian.org> Tue, 29 Sep 2009 11:52:49 +0200
-
-libxext (2:1.0.4-1) unstable; urgency=low
-
- [ Timo Aaltonen ]
- * Bump the epoch so that this can be synced to Ubuntu in the future.
-
- [ Brice Goglin ]
- * New upstream release.
- * Update debian/copyright to the new upstream COPYING.
- * Add myself to Uploaders, remove Fabio and Branden with their permission.
-
- -- Brice Goglin <bgoglin@debian.org> Sun, 02 Mar 2008 16:25:56 +0100
-
-libxext (1:1.0.3-2) unstable; urgency=low
-
- * Put binary packages in the correct sections.
- * Add XS-Vcs-Browser.
- * Upload to unstable.
-
- -- Julien Cristau <jcristau@debian.org> Wed, 11 Apr 2007 14:45:45 +0200
-
-libxext (1:1.0.3-1) experimental; urgency=low
-
- * New upstream release.
- + includes XShm(3) manpage (closes: #128929).
- + drop manpage sections patch, applied upstream.
- * Fix typo in package description, thanks to Rakesh 'arky' Ambati
- (closes: #398487).
- * Drop obsolete CVS info from the descriptions, and add XS-Vcs-Git.
- * Install the upstream ChangeLog
- * Use dh_installman to replace ".so" links with symlinks.
-
- -- Julien Cristau <jcristau@debian.org> Fri, 9 Feb 2007 12:14:36 +0100
-
-libxext (1:1.0.1-2) unstable; urgency=low
-
- [ Andres Salomon ]
- * Test for obj-$(DEB_BUILD_GNU_TYPE) before creating it during build;
- idempotency fix.
-
- [ Drew Parsons ]
- * dbg package has priority extra.
-
- [ David Nusinow ]
- * Make a new manpage section patch to dynamically generate the manpage
- sections using the libmandir variable that other manpages in the package
- use
- * Autoreconf for manpage sections
-
- -- David Nusinow <dnusinow@debian.org> Sat, 26 Aug 2006 18:16:06 +0000
-
-libxext (1:1.0.1-1) experimental; urgency=low
-
- * New upstream release
- * Run dh_install with --list-missing
- * Bump debhelper compat to 5
- * Update manpage location patch to be a lot simpler
- * Don't try to install headers, as they aren't included
- * Remove extra dependency on x11-common in libxext-dev
- * Version libxext-dev's pre-dep on x11-common to be >= 1:7.0.0 to match the
- rest of Debian and shut up lintian
- * Re-wrap description of libxext-dev so that it's not too long on any one
- line
- * Update standards version to 3.7.2.0
-
- -- David Nusinow <dnusinow@debian.org> Mon, 3 Jul 2006 15:41:05 -0400
-
-libxext (1:1.0.0-4) unstable; urgency=low
-
- * Reorder makeshlib command in rules file so that ldconfig is run
- properly. Thanks Drew Parsons and Steve Langasek.
- * Add quilt to build-depends
-
- -- David Nusinow <dnusinow@debian.org> Tue, 18 Apr 2006 23:40:53 -0400
-
-libxext (1:1.0.0-3) unstable; urgency=low
-
- * Upload to unstable
-
- -- David Nusinow <dnusinow@debian.org> Thu, 23 Mar 2006 22:44:36 -0500
-
-libxext (1:1.0.0-2) experimental; urgency=low
-
- * Backport manpage location fix from upstream
-
- -- David Nusinow <dnusinow@debian.org> Thu, 9 Mar 2006 23:16:00 -0500
-
-libxext (1:1.0.0-1) experimental; urgency=low
-
- * First upload to Debian
-
- -- David Nusinow <dnusinow@debian.org> Thu, 29 Dec 2005 20:51:38 -0500
-
-libxext (1:6.4.3-3) breezy; urgency=low
-
- * Bump Build-Depends on x11proto-core-dev and libx11-dev to today's CVS
- versions, to stop _XOPEN_SOURCE leakage.
-
- -- Daniel Stone <daniel.stone@ubuntu.com> Fri, 22 Jul 2005 23:33:51 +1000
-
-libxext (1:6.4.3-2) breezy; urgency=low
-
- * Add missing build-dep on libxau-dev.
-
- -- Adam Conrad <adconrad@ubuntu.com> Fri, 17 Jun 2005 08:42:42 +0000
-
-libxext (1:6.4.3-1) breezy; urgency=low
-
- * First libxext release.
-
- -- Daniel Stone <daniel.stone@ubuntu.com> Mon, 16 May 2005 22:10:17 +1000
+++ /dev/null
-Source: libxext
-Section: x11
-Priority: optional
-Maintainer: Sung-Jin Park <sj76.park@samsung.com>, Sangjin Lee <lsj119@samsung.com>, Debian X Strike Force <debian-x@lists.debian.org>
-Uploaders: Sung-Jin Park <sj76.park@samsung.com>, SooChan Lim <sc1.lim@samsung.com>, David Nusinow <dnusinow@debian.org>, Brice Goglin <bgoglin@debian.org>, Cyril Brulebois <kibi@debian.org>
-Build-Depends: debhelper (>= 5.0.0), libx11-dev (>= 2:1.3.3-2), x11proto-core-dev (>= 7.0.13), x11proto-xext-dev (>= 7.0.99.2), pkg-config, automake, libtool, xutils-dev (>= 1:7.5-1slp2+1),
-Standards-Version: 3.9.0
-Vcs-Git: git://git.debian.org/git/pkg-xorg/lib/libxext
-Vcs-Browser: http://git.debian.org/?p=pkg-xorg/lib/libxext.git
-
-Package: libxext6
-Section: libs
-Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}
-Description: X11 miscellaneous extension library
- libXext provides an X Window System client interface to several extensions to
- the X protocol.
- .
- The supported protocol extensions are:
- - DOUBLE-BUFFER (DBE), the Double Buffer extension;
- - DPMS, the VESA Display Power Management System extension;
- - Extended-Visual-Information (EVI), an extension for gathering extra
- information about the X server's visuals;
- - LBX, the Low Bandwidth X extension;
- - MIT-SHM, the MIT X client/server shared memory extension;
- - MIT-SUNDRY-NONSTANDARD, a miscellaneous extension by MIT;
- - Multi-Buffering, the multi-buffering and stereo display extension;
- - SECURITY, the X security extension;
- - SHAPE, the non-rectangular shaped window extension;
- - SYNC, the X synchronization extension;
- - TOG-CUP, the Open Group's Colormap Utilization extension;
- - XC-APPGROUP, the X Consortium's Application Group extension;
- - XC-MISC, the X Consortium's resource ID querying extension;
- - XTEST, the X test extension (this is one of two client-side
- implementations; the other is in the libXtst library, provided by the
- libxtst6 package);
- .
- libXext also provides a small set of utility functions to aid authors of
- client APIs for X protocol extensions.
- .
- More information about X.Org can be found at:
- <URL:http://www.X.org>
- .
- This module can be found at
- git://anongit.freedesktop.org/git/xorg/lib/libXext
-
-#Package: libxext6-udeb
-##XC-Package-Type: udeb
-#Section: debian-installer
-#Architecture: any
-#Depends: ${shlibs:Depends}, ${misc:Depends}
-#Description: X11 miscellaneous extension library
-# This is a udeb, or a microdeb, for the debian-installer.
-
-Package: libxext6-dbg
-Section: debug
-Architecture: any
-Priority: extra
-Depends: ${shlibs:Depends}, ${misc:Depends}, libxext6 (= ${binary:Version})
-Description: X11 miscellaneous extensions library (debug package)
- libXext provides an X Window System client interface to several extensions to
- the X protocol.
- .
- The supported protocol extensions are:
- - DOUBLE-BUFFER (DBE), the Double Buffer extension;
- - DPMS, the VESA Display Power Management System extension;
- - Extended-Visual-Information (EVI), an extension for gathering extra
- information about the X server's visuals;
- - LBX, the Low Bandwidth X extension;
- - MIT-SHM, the MIT X client/server shared memory extension;
- - MIT-SUNDRY-NONSTANDARD, a miscellaneous extension by MIT;
- - Multi-Buffering, the multi-buffering and stereo display extension;
- - SECURITY, the X security extension;
- - SHAPE, the non-rectangular shaped window extension;
- - SYNC, the X synchronization extension;
- - TOG-CUP, the Open Group's Colormap Utilization extension;
- - XC-APPGROUP, the X Consortium's Application Group extension;
- - XC-MISC, the X Consortium's resource ID querying extension;
- - XTEST, the X test extension (this is one of two client-side
- implementations; the other is in the libXtst library, provided by the
- libxtst6 package);
- .
- libXext also provides a small set of utility functions to aid authors of
- client APIs for X protocol extensions.
- .
- This package contains the debug versions of the library found in libxext6.
- Non-developers likely have little use for this package.
- .
- More information about X.Org can be found at:
- <URL:http://www.X.org>
- .
- This module can be found at
- git://anongit.freedesktop.org/git/xorg/lib/libXext
-
-Package: libxext-dev
-Section: libdevel
-Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, libxext6 (= ${binary:Version}), x11proto-core-dev, x11proto-xext-dev (>= 7.0.99.2), libx11-dev
-Replaces: x11proto-xext-dev (<< 7.0.99.2)
-Description: X11 miscellaneous extensions library (development headers)
- libXext provides an X Window System client interface to several extensions to
- the X protocol.
- .
- The supported protocol extensions are:
- - DOUBLE-BUFFER (DBE), the Double Buffer extension;
- - DPMS, the VESA Display Power Management System extension;
- - Extended-Visual-Information (EVI), an extension for gathering extra
- information about the X server's visuals;
- - LBX, the Low Bandwidth X extension;
- - MIT-SHM, the MIT X client/server shared memory extension;
- - MIT-SUNDRY-NONSTANDARD, a miscellaneous extension by MIT;
- - Multi-Buffering, the multi-buffering and stereo display extension;
- - SECURITY, the X security extension;
- - SHAPE, the non-rectangular shaped window extension;
- - SYNC, the X synchronization extension;
- - TOG-CUP, the Open Group's Colormap Utilization extension;
- - XC-APPGROUP, the X Consortium's Application Group extension;
- - XC-MISC, the X Consortium's resource ID querying extension;
- - XTEST, the X test extension (this is one of two client-side
- implementations; the other is in the libXtst library, provided by the
- libxtst6 package);
- .
- libXext also provides a small set of utility functions to aid authors of
- client APIs for X protocol extensions.
- .
- This package contains the development headers for the library found in
- libxext6. Non-developers likely have little use for this package.
- .
- More information about X.Org can be found at:
- <URL:http://www.X.org>
- .
- This module can be found at
- git://anongit.freedesktop.org/git/xorg/lib/libXext
+++ /dev/null
-This package was downloaded from
-http://xorg.freedesktop.org/releases/individual/lib/
-
-Copyright 1986, 1987, 1988, 1989, 1994, 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
-the above copyright notice appear in all copies and that both that
-copyright notice and this permission notice appear in supporting
-documentation.
-
-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 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.
-
-Copyright (c) 1996 Digital Equipment Corporation, Maynard, Massachusetts.
-
-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.
-
-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
-DIGITAL EQUIPMENT CORPORATION BE LIABLE FOR ANY CLAIM, DAMAGES, INCLUDING,
-BUT NOT LIMITED TO CONSEQUENTIAL OR INCIDENTAL 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 Digital Equipment Corporation
-shall not be used in advertising or otherwise to promote the sale, use or other
-dealings in this Software without prior written authorization from Digital
-Equipment Corporation.
-
-Copyright (c) 1997 by Silicon Graphics Computer Systems, Inc.
-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 supporting
-documentation, and that the name of Silicon Graphics not be
-used in advertising or publicity pertaining to distribution
-of the software without specific prior written permission.
-Silicon Graphics makes no representation about the suitability
-of this software for any purpose. It is provided "as is"
-without any express or implied warranty.
-SILICON GRAPHICS DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS
-SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
-AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SILICON
-GRAPHICS BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL
-DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
-DATA OR PROFITS, 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 1992 Network Computing Devices
-
-Permission to use, copy, modify, distribute, and sell this software and its
-documentation for any purpose is hereby granted without fee, provided that
-the above copyright notice appear in all copies and that both that
-copyright notice and this permission notice appear in supporting
-documentation, and that the name of NCD. not be used in advertising or
-publicity pertaining to distribution of the software without specific,
-written prior permission. NCD. makes no representations about the
-suitability of this software for any purpose. It is provided "as is"
-without express or implied warranty.
-
-NCD. DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL NCD.
-BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, 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 1991,1993 by Digital Equipment Corporation, Maynard, Massachusetts,
-and Olivetti Research Limited, Cambridge, England.
-
- All Rights Reserved
-
-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
-supporting documentation, and that the names of Digital or Olivetti
-not be used in advertising or publicity pertaining to distribution of the
-software without specific, written prior permission.
-
-DIGITAL AND OLIVETTI DISCLAIM ALL WARRANTIES WITH REGARD TO THIS
-SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
-FITNESS, IN NO EVENT SHALL THEY BE LIABLE FOR ANY SPECIAL, INDIRECT OR
-CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF
-USE, DATA OR PROFITS, 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 1986, 1987, 1988 by Hewlett-Packard Corporation
-
-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 supporting
-documentation, and that the name of Hewlett-Packard not be used in
-advertising or publicity pertaining to distribution of the
-software without specific, written prior permission.
-
-Hewlett-Packard makes no representations about the
-suitability of this software for any purpose. It is provided
-"as is" without express or implied warranty.
-
-This software is not subject to any license of the American
-Telephone and Telegraph Company or of the Regents of the
-University of California.
-
-Copyright (c) 1994, 1995 Hewlett-Packard Company
-
-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 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 HEWLETT-PACKARD COMPANY 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 Hewlett-Packard
-Company 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 Hewlett-Packard Company.
-
-Copyright Digital Equipment Corporation, 1996
-
-Permission to use, copy, modify, distribute, and sell this
-documentation for any purpose is hereby granted without fee,
-provided that the above copyright notice and this permission
-notice appear in all copies. Digital Equipment Corporation
-makes no representations about the suitability for any purpose
-of the information in this document. This documentation is
-provided ``as is'' without express or implied warranty.
-
-Copyright 1999, 2005, 2006 Sun Microsystems, Inc. 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.
+++ /dev/null
-usr/share/man/man3/*
-usr/lib/libXext.a
-usr/lib/libXext.so
-usr/lib/libXext.la
-usr/lib/pkgconfig/xext.pc
-usr/include/X11/extensions/
+++ /dev/null
-usr/lib/libXext.so.6*
+++ /dev/null
-usr/lib/libXext.so.6*
+++ /dev/null
-libXext.so.6 libxext6 #MINVER#
- DPMSCapable@Base 0
- DPMSDisable@Base 0
- DPMSEnable@Base 0
- DPMSForceLevel@Base 0
- DPMSGetTimeouts@Base 0
- DPMSGetVersion@Base 0
- DPMSInfo@Base 0
- DPMSQueryExtension@Base 0
- DPMSSetTimeouts@Base 0
- XGEQueryExtension@Base 2:1.1
- XGEQueryVersion@Base 2:1.1
- XLbxGetEventBase@Base 0
- XLbxQueryExtension@Base 0
- XLbxQueryVersion@Base 0
- XMITMiscGetBugMode@Base 0
- XMITMiscQueryExtension@Base 0
- XMITMiscSetBugMode@Base 0
- XMissingExtension@Base 0
- XSecurityAllocXauth@Base 0
- XSecurityFreeXauth@Base 0
- XSecurityGenerateAuthorization@Base 0
- XSecurityQueryExtension@Base 0
- XSecurityRevokeAuthorization@Base 0
- XSetExtensionErrorHandler@Base 0
- XShapeCombineMask@Base 0
- XShapeCombineRectangles@Base 0
- XShapeCombineRegion@Base 0
- XShapeCombineShape@Base 0
- XShapeGetRectangles@Base 0
- XShapeInputSelected@Base 0
- XShapeOffsetShape@Base 0
- XShapeQueryExtension@Base 0
- XShapeQueryExtents@Base 0
- XShapeQueryVersion@Base 0
- XShapeSelectInput@Base 0
- XShmAttach@Base 0
- XShmCreateImage@Base 0
- XShmCreatePixmap@Base 0
- XShmDetach@Base 0
- XShmGetEventBase@Base 0
- XShmGetImage@Base 0
- XShmPixmapFormat@Base 0
- XShmPutImage@Base 0
- XShmQueryExtension@Base 0
- XShmQueryVersion@Base 0
- XSyncAwait@Base 0
- XSyncAwaitFence@Base 2:1.2.0-1slp2
- XSyncChangeAlarm@Base 0
- XSyncChangeCounter@Base 0
- XSyncCreateAlarm@Base 0
- XSyncCreateCounter@Base 0
- XSyncCreateFence@Base 2:1.2.0-1slp2
- XSyncDestroyAlarm@Base 0
- XSyncDestroyCounter@Base 0
- XSyncDestroyFence@Base 2:1.2.0-1slp2
- XSyncFreeSystemCounterList@Base 0
- XSyncGetPriority@Base 0
- XSyncInitialize@Base 0
- XSyncIntToValue@Base 0
- XSyncIntsToValue@Base 0
- XSyncListSystemCounters@Base 0
- XSyncMaxValue@Base 0
- XSyncMinValue@Base 0
- XSyncQueryAlarm@Base 0
- XSyncQueryCounter@Base 0
- XSyncQueryExtension@Base 0
- XSyncQueryFence@Base 2:1.2.0-1slp2
- XSyncResetFence@Base 2:1.2.0-1slp2
- XSyncSetCounter@Base 0
- XSyncSetPriority@Base 0
- XSyncTriggerFence@Base 2:1.2.0-1slp2
- XSyncValueAdd@Base 0
- XSyncValueEqual@Base 0
- XSyncValueGreaterOrEqual@Base 0
- XSyncValueGreaterThan@Base 0
- XSyncValueHigh32@Base 0
- XSyncValueIsNegative@Base 0
- XSyncValueIsPositive@Base 0
- XSyncValueIsZero@Base 0
- XSyncValueLessOrEqual@Base 0
- XSyncValueLessThan@Base 0
- XSyncValueLow32@Base 0
- XSyncValueSubtract@Base 0
- XTestFakeAckType@Base 0
- XTestFakeInput@Base 0
- XTestFlush@Base 0
- XTestGetInput@Base 0
- XTestInputActionType@Base 0
- XTestMovePointer@Base 0
- XTestPressButton@Base 0
- XTestPressKey@Base 0
- XTestQueryInputSize@Base 0
- XTestReset@Base 0
- XTestStopInput@Base 0
- XagCreateAssociation@Base 0
- XagCreateEmbeddedApplicationGroup@Base 0
- XagCreateNonembeddedApplicationGroup@Base 0
- XagDestroyApplicationGroup@Base 0
- XagDestroyAssociation@Base 0
- XagGetApplicationGroupAttributes@Base 0
- XagQueryApplicationGroup@Base 0
- XagQueryVersion@Base 0
- XcupGetReservedColormapEntries@Base 0
- XcupQueryVersion@Base 0
- XcupStoreColors@Base 0
- XdbeAllocateBackBufferName@Base 0
- XdbeBeginIdiom@Base 0
- XdbeDeallocateBackBufferName@Base 0
- XdbeEndIdiom@Base 0
- XdbeFreeVisualInfo@Base 0
- XdbeGetBackBufferAttributes@Base 0
- XdbeGetVisualInfo@Base 0
- XdbeQueryExtension@Base 0
- XdbeSwapBuffers@Base 0
- XeviGetVisualInfo@Base 0
- XeviQueryExtension@Base 0
- XeviQueryVersion@Base 0
- XextAddDisplay@Base 0
- XextCreateExtension@Base 0
- XextDestroyExtension@Base 0
- XextFindDisplay@Base 0
- XextRemoveDisplay@Base 0
- XmbufChangeBufferAttributes@Base 0
- XmbufChangeWindowAttributes@Base 0
- XmbufClearBufferArea@Base 0
- XmbufCreateBuffers@Base 0
- XmbufCreateStereoWindow@Base 0
- XmbufDestroyBuffers@Base 0
- XmbufDisplayBuffers@Base 0
- XmbufGetBufferAttributes@Base 0
- XmbufGetScreenInfo@Base 0
- XmbufGetVersion@Base 0
- XmbufGetWindowAttributes@Base 0
- XmbufQueryExtension@Base 0
- _XExtensionErrorFunction@Base 0
+++ /dev/null
-#!/usr/bin/make -f
-# debian/rules for the Debian libxext package.
-# Copyright © 2004 Scott James Remnant <scott@netsplit.com>
-# Copyright © 2005 Daniel Stone <daniel@fooishbar.org>
-# Copyright © 2005 David Nusinow <dnusinow@debian.org>
-
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-# set this to the name of the main shlib's binary package
-PACKAGE = libxext6
-
-include debian/xsfbs/xsfbs.mk
-
-CFLAGS = -Wall -g
-LDFLAGS += -Wl,--hash-style=both -Wl,--as-needed
-ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS)))
- CFLAGS += -O0
-else
- CFLAGS += -O2
-endif
-ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
- NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
- MAKEFLAGS += -j$(NUMJOBS)
-endif
-
-DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
-DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
-DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
-ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE))
- confflags += --build=$(DEB_HOST_GNU_TYPE)
-else
- confflags += --build=$(DEB_HOST_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE)
-# confflags += --build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE)
-endif
-
-
-build: build-stamp
-build-stamp: $(STAMP_DIR)/patch
- dh_testdir
- autoreconf -vfi
- mkdir -p obj-$(DEB_BUILD_GNU_TYPE)
- cd obj-$(DEB_BUILD_GNU_TYPE) && \
- ../configure --prefix=/usr --mandir=\$${prefix}/share/man \
- --infodir=\$${prefix}/share/info $(confflags) \
- CFLAGS="$(CFLAGS)" \
- LDFLAGS="$(LDFLAGS)"
- cd obj-$(DEB_BUILD_GNU_TYPE) && $(MAKE)
- >$@
-
-clean: xsfclean
- dh_testdir
- dh_testroot
- rm -f build-stamp
-
- rm -f config.cache config.log config.status
- rm -f */config.cache */config.log */config.status
- rm -f conftest* */conftest*
- rm -rf autom4te.cache */autom4te.cache
- rm -rf obj-*
- rm -f INSTALL aclocal.m4 config.guess config.h.in config.sub configure
- rm -f depcomp install-sh ltmain.sh missing mkinstalldirs
- find -name Makefile.in -exec rm -f {} \;
- #find -name Makefile.in -delete
-
- dh_clean
-
-install: build
- dh_testdir
- dh_testroot
- dh_clean -k
- dh_installdirs
-
- cd obj-$(DEB_BUILD_GNU_TYPE) && $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install
-
-# Build architecture-dependent files here.
-binary-arch: build install
- dh_testdir
- dh_testroot
-
-# dh_installdocs
- dh_install --sourcedir=debian/tmp --list-missing
-# dh_installchangelogs ChangeLog
- dh_link
-# dh_installman
- dh_strip --dbg-package=$(PACKAGE)-dbg
- dh_compress
- dh_fixperms
- dh_makeshlibs -- -c4
-# dh_makeshlibs --add-udeb=$(PACKAGE)-udeb -- -c4
- dh_shlibdeps
- dh_installdeb
- dh_gencontrol
- dh_md5sums
- dh_builddeb
-
-# Build architecture-independent files here.
-binary-indep: build install
-# Nothing to do
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
+++ /dev/null
-version=3
-http://xorg.freedesktop.org/releases/individual/lib/ libXext-(.*)\.tar\.gz
+++ /dev/null
-#!/bin/sh
-
-set -e
-
-if ! [ -d debian/prune ]; then
- exit 0
-fi
-
-if [ "x$1" != x--upstream-version ]; then
- exit 1
-fi
-
-version="$2"
-filename="$3"
-
-if [ -z "$version" ] || ! [ -f "$filename" ]; then
- exit 1
-fi
-
-dir="$(pwd)"
-tempdir="$(mktemp -d)"
-
-cd "$tempdir"
-tar xf "$dir/$filename"
-cat "$dir"/debian/prune/* | while read file; do rm -f */$file; done
-
-tar czf "$dir/$filename" *
-cd "$dir"
-rm -rf "$tempdir"
-echo "Done pruning upstream tarball"
-
-exit 0
+++ /dev/null
-#!/usr/bin/make -f
-
-# Debian X Strike Force Build System (XSFBS): Make portion
-
-# Copyright 1996 Stephen Early
-# Copyright 1997 Mark Eichin
-# Copyright 1998-2005, 2007 Branden Robinson
-# Copyright 2005 David Nusinow
-#
-# Licensed under the GNU General Public License, version 2. See the file
-# /usr/share/common-licenses/GPL or <http://www.gnu.org/copyleft/gpl.txt>.
-
-# Originally by Stephen Early <sde1000@debian.org>
-# Modified by Mark W. Eichin <eichin@kitten.gen.ma.us>
-# Modified by Adam Heath <doogie@debian.org>
-# Modified by Branden Robinson <branden@debian.org>
-# Modified by Fabio Massimo Di Nitto <fabbione@fabbione.net>
-# Modified by David Nusinow <dnusinow@debian.org>
-# Acknowledgements to Manoj Srivastava.
-
-# Pass $(DH_OPTIONS) into the environment for debhelper's benefit.
-export DH_OPTIONS
-
-# force quilt to not use ~/.quiltrc and to use debian/patches
-QUILT = QUILT_PATCHES=debian/patches quilt --quiltrc /dev/null
-
-# Set up parameters for the upstream build environment.
-
-# Determine (source) package name from Debian changelog.
-SOURCE_NAME:=$(shell dpkg-parsechangelog -ldebian/changelog \
- | grep '^Source:' | awk '{print $$2}')
-
-# Determine package version from Debian changelog.
-SOURCE_VERSION:=$(shell dpkg-parsechangelog -ldebian/changelog \
- | grep '^Version:' | awk '{print $$2}')
-
-# Determine upstream version number.
-UPSTREAM_VERSION:=$(shell echo $(SOURCE_VERSION) | sed 's/-.*//')
-
-# Determine the source version without the epoch for make-orig-tar-gz
-NO_EPOCH_VER:=$(shell echo $(UPSTREAM_VERSION) | sed 's/^.://')
-
-# Figure out who's building this package.
-BUILDER:=$(shell echo $${DEBEMAIL:-$${EMAIL:-$$(echo $$LOGNAME@$$(cat /etc/mailname 2>/dev/null))}})
-
-# Find out if this is an official build; an official build has nothing but
-# digits, dots, and/or the codename of a release in the Debian part of the
-# version number. Anything else indicates an unofficial build.
-OFFICIAL_BUILD:=$(shell VERSION=$(SOURCE_VERSION); if ! expr "$$(echo $${VERSION\#\#*-} | sed 's/\(woody\|sarge\|etch\|lenny\)//g')" : ".*[^0-9.].*" >/dev/null 2>&1; then echo yes; fi)
-
-# Set up parameters for the Debian build environment.
-
-# Determine our architecture.
-BUILD_ARCH:=$(shell dpkg-architecture -qDEB_BUILD_ARCH)
-# Work around some old-time dpkg braindamage.
-BUILD_ARCH:=$(subst i486,i386,$(BUILD_ARCH))
-# The DEB_HOST_ARCH variable may be set per the Debian cross-compilation policy.
-ifdef DEB_HOST_ARCH
- ARCH:=$(DEB_HOST_ARCH)
-else
- # dpkg-cross sets the ARCH environment variable; if set, use it.
- ifdef ARCH
- ARCH:=$(ARCH)
- else
- ARCH:=$(BUILD_ARCH)
- endif
-endif
-
-# $(STAMP_DIR) houses stamp files for complex targets.
-STAMP_DIR:=stampdir
-
-# $(DEBTREEDIR) is where all install rules are told (via $(DESTDIR)) to place
-# their files.
-DEBTREEDIR:=$(CURDIR)/debian/tmp
-
-# All "important" targets have four lines:
-# 1) A target name that is invoked by a package-building tool or the user.
-# This consists of a dependency on a "$(STAMP_DIR)/"-prefixed counterpart.
-# 2) A line delcaring 1) as a phony target (".PHONY:").
-# 3) A "$(STAMP_DIR)/"-prefixed target which does the actual work, and may
-# depend on other targets.
-# 4) A line declaring 3) as a member of the $(stampdir_targets) variable; the
-# "$(STAMP_DIR)/" prefix is omitted.
-#
-# This indirection is needed so that the "stamp" files that signify when a rule
-# is done can be located in a separate "stampdir". Recall that make has no way
-# to know when a goal has been met for a phony target (like "build" or
-# "install").
-#
-# At the end of each "$(STAMP_DIR)/" target, be sure to run the command ">$@"
-# so that the target will not be run again. Removing the file will make Make
-# run the target over.
-
-# All phony targets should be declared as dependencies of .PHONY, even if they
-# do not have "($STAMP_DIR)/"-prefixed counterparts.
-
-# Define a harmless default rule to keep things from going nuts by accident.
-.PHONY: default
-default:
-
-# Set up the $(STAMP_DIR) directory.
-.PHONY: stampdir
-stampdir_targets+=stampdir
-stampdir: $(STAMP_DIR)/stampdir
-$(STAMP_DIR)/stampdir:
- mkdir $(STAMP_DIR)
- >$@
-
-# Set up the package build directory as quilt expects to find it.
-.PHONY: prepare
-stampdir_targets+=prepare
-prepare: $(STAMP_DIR)/prepare
-$(STAMP_DIR)/prepare: $(STAMP_DIR)/logdir $(STAMP_DIR)/genscripts
- >$@
-
-.PHONY: logdir
-stampdir_targets+=logdir
-logdir: $(STAMP_DIR)/logdir
-$(STAMP_DIR)/logdir: $(STAMP_DIR)/stampdir
- mkdir -p $(STAMP_DIR)/log
- >$@
-
-# Apply all patches to the upstream source.
-.PHONY: patch
-stampdir_targets+=patch
-patch: $(STAMP_DIR)/patch
-$(STAMP_DIR)/patch: $(STAMP_DIR)/prepare
- if ! [ `which quilt` ]; then \
- echo "Couldn't find quilt. Please install it or add it to the build-depends for this package."; \
- exit 1; \
- fi; \
- if $(QUILT) next >/dev/null 2>&1; then \
- echo -n "Applying patches..."; \
- if $(QUILT) push -a -v >$(STAMP_DIR)/log/patch 2>&1; then \
- cat $(STAMP_DIR)/log/patch; \
- echo "successful."; \
- else \
- cat $(STAMP_DIR)/log/patch; \
- echo "failed! (check $(STAMP_DIR)/log/patch for details)"; \
- exit 1; \
- fi; \
- else \
- echo "No patches to apply"; \
- fi; \
- >$@
-
-# Revert all patches to the upstream source.
-.PHONY: unpatch
-unpatch: $(STAMP_DIR)/logdir
- rm -f $(STAMP_DIR)/patch
- @echo -n "Unapplying patches..."; \
- if $(QUILT) applied >/dev/null 2>/dev/null; then \
- if $(QUILT) pop -a -v >$(STAMP_DIR)/log/unpatch 2>&1; then \
- cat $(STAMP_DIR)/log/unpatch; \
- echo "successful."; \
- else \
- cat $(STAMP_DIR)/log/unpatch; \
- echo "failed! (check $(STAMP_DIR)/log/unpatch for details)"; \
- exit 1; \
- fi; \
- else \
- echo "nothing to do."; \
- fi
-
-# Clean the generated maintainer scripts.
-.PHONY: cleanscripts
-cleanscripts:
- rm -f $(STAMP_DIR)/genscripts
- rm -f debian/*.config \
- debian/*.postinst \
- debian/*.postrm \
- debian/*.preinst \
- debian/*.prerm
-
-# Clean the package build tree.
-.PHONY: xsfclean
-xsfclean: cleanscripts unpatch
- dh_testdir
- rm -rf .pc
- rm -rf $(STAMP_DIR)
- dh_clean
-
-# Remove files from the upstream source tree that we don't need, or which have
-# licensing problems. It must be run before creating the .orig.tar.gz.
-#
-# Note: This rule is for Debian package maintainers' convenience, and is not
-# needed for conventional build scenarios.
-.PHONY: prune-upstream-tree
-prune-upstream-tree:
- # Ensure we're in the correct directory.
- dh_testdir
- grep -rvh '^#' debian/prune/ | xargs --no-run-if-empty rm -rf
-
-# Verify that there are no offsets or fuzz in the patches we apply.
-#
-# Note: This rule is for Debian package maintainers' convenience, and is not
-# needed for conventional build scenarios.
-.PHONY: patch-audit
-patch-audit: prepare unpatch
- @echo -n "Auditing patches..."; \
- >$(STAMP_DIR)/log/patch; \
- FUZZY=; \
- while [ -n "$$($(QUILT) next)" ]; do \
- RESULT=$$($(QUILT) push -v | tee -a $(STAMP_DIR)/log/patch | grep ^Hunk | sed 's/^Hunk.*\(succeeded\|FAILED\).*/\1/');\
- case "$$RESULT" in \
- succeeded) \
- echo "fuzzy patch: $$($(QUILT) top)" \
- | tee -a $(STAMP_DIR)/log/$$($(QUILT) top); \
- FUZZY=yes; \
- ;; \
- FAILED) \
- echo "broken patch: $$($(QUILT) next)" \
- | tee -a $(STAMP_DIR)/log/$$($(QUILT) next); \
- exit 1; \
- ;; \
- esac; \
- done; \
- if [ -n "$$FUZZY" ]; then \
- echo "there were fuzzy patches; please fix."; \
- exit 1; \
- else \
- echo "done."; \
- fi
-
-# Generate the maintainer scripts.
-.PHONY: genscripts
-stampdir_targets+=genscripts
-genscripts: $(STAMP_DIR)/genscripts
-$(STAMP_DIR)/genscripts: $(STAMP_DIR)/stampdir
- for FILE in debian/*.config.in \
- debian/*.postinst.in \
- debian/*.postrm.in \
- debian/*.preinst.in \
- debian/*.prerm.in; do \
- if [ -e "$$FILE" ]; then \
- MAINTSCRIPT=$$(echo $$FILE | sed 's/.in$$//'); \
- sed -n '1,/^#INCLUDE_SHELL_LIB#$$/p' <$$FILE \
- | sed -e '/^#INCLUDE_SHELL_LIB#$$/d' >$$MAINTSCRIPT.tmp; \
- cat debian/xsfbs/xsfbs.sh >>$$MAINTSCRIPT.tmp; \
- sed -n '/^#INCLUDE_SHELL_LIB#$$/,$$p' <$$FILE \
- | sed -e '/^#INCLUDE_SHELL_LIB#$$/d' >>$$MAINTSCRIPT.tmp; \
- sed -e 's/@SOURCE_VERSION@/$(SOURCE_VERSION)/' \
- -e 's/@OFFICIAL_BUILD@/$(OFFICIAL_BUILD)/' \
- <$$MAINTSCRIPT.tmp >$$MAINTSCRIPT; \
- rm $$MAINTSCRIPT.tmp; \
- fi; \
- done
- # Validate syntax of generated shell scripts.
- #sh debian/scripts/validate-posix-sh debian/*.config \
- # debian/*.postinst \
- # debian/*.postrm \
- # debian/*.preinst \
- # debian/*.prerm
- >$@
-
-# Compute dependencies for drivers
-#
-VIDEODEP = $(shell cat /usr/share/xserver-xorg/videodrvdep 2>/dev/null)
-INPUTDEP = $(shell cat /usr/share/xserver-xorg/xinputdep 2>/dev/null)
-
-# these two can be removed post-squeeze
-VIDEOABI = $(shell cat /usr/share/xserver-xorg/videoabiver 2>/dev/null)
-INPUTABI = $(shell cat /usr/share/xserver-xorg/inputabiver 2>/dev/null)
-VIDDRIVER_PROVIDES = xserver-xorg-video-$(VIDEOABI), xorg-driver-video
-INPDRIVER_PROVIDES = xserver-xorg-input-$(INPUTABI), xorg-driver-input
-
-ifeq ($(PACKAGE),)
-PACKAGE=$(shell awk '/^Package:/ { print $$2; exit }' < debian/control)
-endif
-
-.PHONY: serverabi
-serverabi: install
-ifeq ($(VIDEODEP),)
- @echo 'error: xserver-xorg-dev >= 1.7.6.901 needs to be installed'
- @exit 1
-else
- echo "xviddriver:Depends=$(VIDEODEP)" >> debian/$(PACKAGE).substvars
- echo "xinpdriver:Depends=$(INPUTDEP)" >> debian/$(PACKAGE).substvars
- # the following is there for compatibility...
- echo "xviddriver:Provides=$(VIDDRIVER_PROVIDES)" >> debian/$(PACKAGE).substvars
- echo "xinpdriver:Provides=$(INPDRIVER_PROVIDES)" >> debian/$(PACKAGE).substvars
- echo "xserver:Depends=$(VIDEODEP), $(INPUTDEP)" >> debian/$(PACKAGE).substvars
-endif
-
-# vim:set noet ai sts=8 sw=8 tw=0:
+++ /dev/null
-# This is the X Strike Force shell library for X Window System package
-# maintainer scripts. It serves to define shell functions commonly used by
-# such packages, and performs some error checking necessary for proper operation
-# of those functions. By itself, it does not "do" much; the maintainer scripts
-# invoke the functions defined here to accomplish package installation and
-# removal tasks.
-
-# If you are reading this within a Debian package maintainer script (e.g.,
-# /var/lib/dpkg/info/PACKAGE.{config,preinst,postinst,prerm,postrm}), you can
-# skip past this library by scanning forward in this file to the string
-# "GOBSTOPPER".
-
-SOURCE_VERSION=@SOURCE_VERSION@
-OFFICIAL_BUILD=@OFFICIAL_BUILD@
-
-# Use special abnormal exit codes so that problems with this library are more
-# easily tracked down.
-SHELL_LIB_INTERNAL_ERROR=86
-SHELL_LIB_THROWN_ERROR=74
-SHELL_LIB_USAGE_ERROR=99
-
-# old -> new variable names
-if [ -z "$DEBUG_XORG_PACKAGE" ] && [ -n "$DEBUG_XFREE86_PACKAGE" ]; then
- DEBUG_XORG_PACKAGE="$DEBUG_XFREE86_PACKAGE"
-fi
-if [ -z "$DEBUG_XORG_DEBCONF" ] && [ -n "$DEBUG_XFREE86_DEBCONF" ]; then
- DEBUG_XORG_DEBCONF="$DEBUG_XFREE86_DEBCONF"
-fi
-
-# initial sanity checks
-if [ -z "$THIS_PACKAGE" ]; then
- cat >&2 <<EOF
-Error: package maintainer script attempted to use shell library without
-definining \$THIS_PACKAGE shell variable. Please report the package name,
-version, and the text of this error message to the Debian Bug Tracking System.
-Visit <http://www.debian.org/Bugs/Reporting> on the World Wide Web for
-instructions, read the file /usr/share/doc/debian/bug-reporting.txt from the
-"doc-debian" package, or install the "reportbug" package and use the command of
-the same name to file a report against version $SOURCE_VERSION of this package.
-EOF
- exit $SHELL_LIB_USAGE_ERROR
-fi
-
-if [ -z "$THIS_SCRIPT" ]; then
- cat >&2 <<EOF
-Error: package maintainer script attempted to use shell library without
-definining \$THIS_SCRIPT shell variable. Please report the package name,
-version, and the text of this error message to the Debian Bug Tracking System.
-Visit <http://www.debian.org/Bugs/Reporting> on the World Wide Web for
-instructions, read the file /usr/share/doc/debian/bug-reporting.txt from the
-"doc-debian" package, or install the "reportbug" package and use the command of
-the same name to file a report against version $SOURCE_VERSION of the
-"$THIS_PACKAGE" package.
-EOF
- exit $SHELL_LIB_USAGE_ERROR
-fi
-
-if [ "$1" = "reconfigure" ] || [ -n "$DEBCONF_RECONFIGURE" ]; then
- RECONFIGURE="true"
-else
- RECONFIGURE=
-fi
-
-if ([ "$1" = "install" ] || [ "$1" = "configure" ]) && [ -z "$2" ]; then
- FIRSTINST="yes"
-fi
-
-if [ -z "$RECONFIGURE" ] && [ -z "$FIRSTINST" ]; then
- UPGRADE="yes"
-fi
-
-trap "message;\
- message \"Received signal. Aborting $THIS_PACKAGE package $THIS_SCRIPT script.\";\
- message;\
- exit 1" HUP INT QUIT TERM
-
-reject_nondigits () {
- # syntax: reject_nondigits [ operand ... ]
- #
- # scan operands (typically shell variables whose values cannot be trusted) for
- # characters other than decimal digits and barf if any are found
- while [ -n "$1" ]; do
- # does the operand contain anything but digits?
- if ! expr "$1" : "[[:digit:]]\+$" > /dev/null 2>&1; then
- # can't use die(), because it wraps message() which wraps this function
- echo "$THIS_PACKAGE $THIS_SCRIPT error: reject_nondigits() encountered" \
- "possibly malicious garbage \"$1\"" >&2
- exit $SHELL_LIB_THROWN_ERROR
- fi
- shift
- done
-}
-
-reject_unlikely_path_chars () {
- # syntax: reject_unlikely_path_chars [ operand ... ]
- #
- # scan operands (typically shell variables whose values cannot be trusted) for
- # characters unlikely to be seen in a path and which the shell might
- # interpret and barf if any are found
- while [ -n "$1" ]; do
- # does the operand contain any funny characters?
- if expr "$1" : '.*[!$&()*;<>?|].*' > /dev/null 2>&1; then
- # can't use die(), because I want to avoid forward references
- echo "$THIS_PACKAGE $THIS_SCRIPT error: reject_unlikely_path_chars()" \
- "encountered possibly malicious garbage \"$1\"" >&2
- exit $SHELL_LIB_THROWN_ERROR
- fi
- shift
- done
-}
-
-# Query the terminal to establish a default number of columns to use for
-# displaying messages to the user. This is used only as a fallback in the
-# event the COLUMNS variable is not set. ($COLUMNS can react to SIGWINCH while
-# the script is running, and this cannot, only being calculated once.)
-DEFCOLUMNS=$(stty size 2> /dev/null | awk '{print $2}') || true
-if ! expr "$DEFCOLUMNS" : "[[:digit:]]\+$" > /dev/null 2>&1; then
- DEFCOLUMNS=80
-fi
-
-message () {
- # pretty-print messages of arbitrary length
- reject_nondigits "$COLUMNS"
- echo "$*" | fmt -t -w ${COLUMNS:-$DEFCOLUMNS} >&2
-}
-
-observe () {
- # syntax: observe message ...
- #
- # issue observational message suitable for logging someday when support for
- # it exists in dpkg
- if [ -n "$DEBUG_XORG_PACKAGE" ]; then
- message "$THIS_PACKAGE $THIS_SCRIPT note: $*"
- fi
-}
-
-warn () {
- # syntax: warn message ...
- #
- # issue warning message suitable for logging someday when support for
- # it exists in dpkg; also send to standard error
- message "$THIS_PACKAGE $THIS_SCRIPT warning: $*"
-}
-
-die () {
- # syntax: die message ...
- #
- # exit script with error message
- message "$THIS_PACKAGE $THIS_SCRIPT error: $*"
- exit $SHELL_LIB_THROWN_ERROR
-}
-
-internal_error () {
- # exit script with error; essentially a "THIS SHOULD NEVER HAPPEN" message
- message "internal error: $*"
- if [ -n "$OFFICIAL_BUILD" ]; then
- message "Please report a bug in the $THIS_SCRIPT script of the" \
- "$THIS_PACKAGE package, version $SOURCE_VERSION to the Debian Bug" \
- "Tracking System. Include all messages above that mention the" \
- "$THIS_PACKAGE package. Visit " \
- "<http://www.debian.org/Bugs/Reporting> on the World Wide Web for" \
- "instructions, read the file" \
- "/usr/share/doc/debian/bug-reporting.txt from the doc-debian" \
- "package, or install the reportbug package and use the command of" \
- "the same name to file a report."
- fi
- exit $SHELL_LIB_INTERNAL_ERROR
-}
-
-usage_error () {
- message "usage error: $*"
- message "Please report a bug in the $THIS_SCRIPT script of the" \
- "$THIS_PACKAGE package, version $SOURCE_VERSION to the Debian Bug" \
- "Tracking System. Include all messages above that mention the" \
- "$THIS_PACKAGE package. Visit " \
- "<http://www.debian.org/Bugs/Reporting> on the World Wide Web for" \
- "instructions, read the file" \
- "/usr/share/doc/debian/bug-reporting.txt from the doc-debian" \
- "package, or install the reportbug package and use the command of" \
- "the same name to file a report."
- exit $SHELL_LIB_USAGE_ERROR
-}
-
-font_update () {
- # run $UPDATECMDS in $FONTDIRS
-
- local dir cmd shortcmd x_font_dir_prefix
-
- x_font_dir_prefix="/usr/share/fonts/X11"
-
- if [ -z "$UPDATECMDS" ]; then
- usage_error "font_update() called but \$UPDATECMDS not set"
- fi
- if [ -z "$FONTDIRS" ]; then
- usage_error "font_update() called but \$FONTDIRS not set"
- fi
-
- reject_unlikely_path_chars "$UPDATECMDS"
- reject_unlikely_path_chars "$FONTDIRS"
-
- for dir in $FONTDIRS; do
- if [ -d "$x_font_dir_prefix/$dir" ]; then
- for cmd in $UPDATECMDS; do
- if which "$cmd" > /dev/null 2>&1; then
- shortcmd=${cmd##*/}
- observe "running $shortcmd in $dir font directory"
- cmd_opts=
- if [ "$shortcmd" = "update-fonts-alias" ]; then
- cmd_opts=--x11r7-layout
- fi
- if [ "$shortcmd" = "update-fonts-dir" ]; then
- cmd_opts=--x11r7-layout
- fi
- if [ "$shortcmd" = "update-fonts-scale" ]; then
- cmd_opts=--x11r7-layout
- fi
- $cmd $cmd_opts $dir || warn "$cmd $cmd_opts $dir" \
- "failed; font directory data may not" \
- "be up to date"
- else
- warn "$cmd not found; not updating corresponding $dir font" \
- "directory data"
- fi
- done
- else
- warn "$dir is not a directory; not updating font directory data"
- fi
- done
-}
-
-remove_conffile_prepare () {
- # syntax: remove_conffile_prepare filename official_md5sum ...
- #
- # Check a conffile "filename" against a list of canonical MD5 checksums.
- # If the file's current MD5 checksum matches one of the "official_md5sum"
- # operands provided, then prepare the conffile for removal from the system.
- # We defer actual deletion until the package is configured so that we can
- # roll this operation back if package installation fails.
- #
- # Call this function from a preinst script in the event $1 is "upgrade" or
- # "install" and verify $2 to ensure the package is being upgraded from a
- # version (or installed over a version removed-but-not-purged) prior to the
- # one in which the conffile was obsoleted.
-
- local conffile current_checksum
-
- # validate arguments
- if [ $# -lt 2 ]; then
- usage_error "remove_conffile_prepare() called with wrong number of" \
- "arguments; expected at least 2, got $#"
- exit $SHELL_LIB_USAGE_ERROR
- fi
-
- conffile="$1"
- shift
-
- # does the conffile even exist?
- if [ -e "$conffile" ]; then
- # calculate its checksum
- current_checksum=$(md5sum < "$conffile" | sed 's/[[:space:]].*//')
- # compare it to each supplied checksum
- while [ -n "$1" ]; do
- if [ "$current_checksum" = "$1" ]; then
- # we found a match; move the confffile and stop looking
- observe "preparing obsolete conffile $conffile for removal"
- mv "$conffile" "$conffile.$THIS_PACKAGE-tmp"
- break
- fi
- shift
- done
- fi
-}
-
-remove_conffile_lookup () {
- # syntax: remove_conffile_lookup package filename
- #
- # Lookup the md5sum of a conffile in dpkg's database, and prepare for removal
- # if it matches the actual file's md5sum.
- #
- # Call this function when you would call remove_conffile_prepare but only
- # want to check against dpkg's status database instead of known checksums.
-
- local package conffile old_md5sum
-
- # validate arguments
- if [ $# -ne 2 ]; then
- usage_error "remove_conffile_lookup() called with wrong number of" \
- "arguments; expected 1, got $#"
- exit $SHELL_LIB_USAGE_ERROR
- fi
-
- package="$1"
- conffile="$2"
-
- if ! [ -e "$conffile" ]; then
- return
- fi
- old_md5sum="$(dpkg-query -W -f='${Conffiles}' "$package" | \
- awk '{ if (match($0, "^ '"$conffile"' ")) print $2}')"
- if [ -n "$old_md5sum" ]; then
- remove_conffile_prepare "$conffile" "$old_md5sum"
- fi
-}
-
-remove_conffile_commit () {
- # syntax: remove_conffile_commit filename
- #
- # Complete the removal of a conffile "filename" that has become obsolete.
- #
- # Call this function from a postinst script after having used
- # remove_conffile_prepare() in the preinst.
-
- local conffile
-
- # validate arguments
- if [ $# -ne 1 ]; then
- usage_error "remove_conffile_commit() called with wrong number of" \
- "arguments; expected 1, got $#"
- exit $SHELL_LIB_USAGE_ERROR
- fi
-
- conffile="$1"
-
- # if the temporary file created by remove_conffile_prepare() exists, remove it
- if [ -e "$conffile.$THIS_PACKAGE-tmp" ]; then
- observe "committing removal of obsolete conffile $conffile"
- rm "$conffile.$THIS_PACKAGE-tmp"
- fi
-}
-
-remove_conffile_rollback () {
- # syntax: remove_conffile_rollback filename
- #
- # Roll back the removal of a conffile "filename".
- #
- # Call this function from a postrm script in the event $1 is "abort-upgrade"
- # or "abort-install" is after having used remove_conffile_prepare() in the
- # preinst.
-
- local conffile
-
- # validate arguments
- if [ $# -ne 1 ]; then
- usage_error "remove_conffile_rollback() called with wrong number of" \
- "arguments; expected 1, got $#"
- exit $SHELL_LIB_USAGE_ERROR
- fi
-
- conffile="$1"
-
- # if the temporary file created by remove_conffile_prepare() exists, move it
- # back
- if [ -e "$conffile.$THIS_PACKAGE-tmp" ]; then
- observe "rolling back removal of obsolete conffile $conffile"
- mv "$conffile.$THIS_PACKAGE-tmp" "$conffile"
- fi
-}
-
-replace_conffile_with_symlink_prepare () {
- # syntax: replace_conffile_with_symlink_prepare oldfilename newfilename \
- # official_md5sum ...
- #
- # Check a conffile "oldfilename" against a list of canonical MD5 checksums.
- # If the file's current MD5 checksum matches one of the "official_md5sum"
- # operands provided, then prepare the conffile for removal from the system.
- # We defer actual deletion until the package is configured so that we can
- # roll this operation back if package installation fails. Otherwise copy it
- # to newfilename and let dpkg handle it through conffiles mechanism.
- #
- # Call this function from a preinst script in the event $1 is "upgrade" or
- # "install" and verify $2 to ensure the package is being upgraded from a
- # version (or installed over a version removed-but-not-purged) prior to the
- # one in which the conffile was obsoleted.
-
- local conffile current_checksum
-
- # validate arguments
- if [ $# -lt 3 ]; then
- usage_error "replace_conffile_with_symlink_prepare() called with wrong" \
- " number of arguments; expected at least 3, got $#"
- exit $SHELL_LIB_USAGE_ERROR
- fi
-
- oldconffile="$1"
- shift
- newconffile="$1"
- shift
-
- remove_conffile_prepare "$_oldconffile" "$@"
- # If $oldconffile still exists, then md5sums didn't match.
- # Copy it to new one.
- if [ -f "$oldconffile" ]; then
- cp "$oldconffile" "$newconffile"
- fi
-
-}
-
-replace_conffile_with_symlink_commit () {
- # syntax: replace_conffile_with_symlink_commit oldfilename
- #
- # Complete the removal of a conffile "oldfilename" that has been
- # replaced by a symlink.
- #
- # Call this function from a postinst script after having used
- # replace_conffile_with_symlink_prepare() in the preinst.
-
- local conffile
-
- # validate arguments
- if [ $# -ne 1 ]; then
- usage_error "replace_conffile_with_symlink_commit() called with wrong" \
- "number of arguments; expected 1, got $#"
- exit $SHELL_LIB_USAGE_ERROR
- fi
-
- conffile="$1"
-
- remove_conffile_commit "$conffile"
-}
-
-replace_conffile_with_symlink_rollback () {
- # syntax: replace_conffile_with_symlink_rollback oldfilename newfilename
- #
- # Roll back the replacing of a conffile "oldfilename" with symlink to
- # "newfilename".
- #
- # Call this function from a postrm script in the event $1 is "abort-upgrade"
- # or "abort-install" and verify $2 to ensure the package failed to upgrade
- # from a version (or install over a version removed-but-not-purged) prior
- # to the one in which the conffile was obsoleted.
- # You should have used replace_conffile_with_symlink_prepare() in the
- # preinst.
-
- local conffile
-
- # validate arguments
- if [ $# -ne 2 ]; then
- usage_error "replace_conffile_with_symlink_rollback() called with wrong" \
- "number of arguments; expected 2, got $#"
- exit $SHELL_LIB_USAGE_ERROR
- fi
-
- oldconffile="$1"
- newconffile="$2"
-
- remove_conffile_rollback "$_oldconffile"
- if [ -f "$newconffile" ]; then
- rm "$newconffile"
- fi
-}
-
-run () {
- # syntax: run command [ argument ... ]
- #
- # Run specified command with optional arguments and report its exit status.
- # Useful for commands whose exit status may be nonzero, but still acceptable,
- # or commands whose failure is not fatal to us.
- #
- # NOTE: Do *not* use this function with db_get or db_metaget commands; in
- # those cases the return value of the debconf command *must* be checked
- # before the string returned by debconf is used for anything.
-
- local retval
-
- # validate arguments
- if [ $# -lt 1 ]; then
- usage_error "run() called with wrong number of arguments; expected at" \
- "least 1, got $#"
- exit $SHELL_LIB_USAGE_ERROR
- fi
-
- "$@" || retval=$?
-
- if [ ${retval:-0} -ne 0 ]; then
- observe "command \"$*\" exited with status $retval"
- fi
-}
-
-make_symlink_sane () {
- # syntax: make_symlink_sane symlink target
- #
- # Ensure that the symbolic link symlink exists, and points to target.
- #
- # If symlink does not exist, create it and point it at target.
- #
- # If symlink exists but is not a symbolic link, back it up.
- #
- # If symlink exists, is a symbolic link, but points to the wrong location, fix
- # it.
- #
- # If symlink exists, is a symbolic link, and already points to target, do
- # nothing.
- #
- # This function wouldn't be needed if ln had an -I, --idempotent option.
-
- # Validate arguments.
- if [ $# -ne 2 ]; then
- usage_error "make_symlink_sane() called with wrong number of arguments;" \
- "expected 2, got $#"
- exit $SHELL_LIB_USAGE_ERROR
- fi
-
- # We could just use the positional parameters as-is, but that makes things
- # harder to follow.
- local symlink target
-
- symlink="$1"
- target="$2"
-
- if [ -L "$symlink" ] && [ "$(readlink "$symlink")" = "$target" ]; then
- observe "link from $symlink to $target already exists"
- else
- observe "creating symbolic link from $symlink to $target"
- mkdir -p "${target%/*}" "${symlink%/*}"
- ln -s -b -S ".dpkg-old" "$target" "$symlink"
- fi
-}
-
-migrate_dir_to_symlink () {
- # syntax: migrate_dir_to_symlink old_location new_location
- #
- # Per Debian Policy section 6.5.4, "A directory will never be replaced by a
- # symbolic link to a directory or vice versa; instead, the existing state
- # (symlink or not) will be left alone and dpkg will follow the symlink if
- # there is one."
- #
- # We have to do it ourselves.
- #
- # This function moves the contents of old_location, a directory, into
- # new_location, a directory, then makes old_location a symbolic link to
- # new_location.
- #
- # old_location need not exist, but if it does, it must be a directory (or a
- # symlink to a directory). If it is not, it is backed up. If new_location
- # exists already and is not a directory, it is backed up.
- #
- # This function should be called from a package's preinst so that other
- # packages unpacked after this one --- but before this package's postinst runs
- # --- are unpacked into new_location even if their payloads contain
- # old_location filespecs.
-
- # Validate arguments.
- if [ $# -ne 2 ]; then
- usage_error "migrate_dir_to_symlink() called with wrong number of"
- "arguments; expected 2, got $#"
- exit $SHELL_LIB_USAGE_ERROR
- fi
-
- # We could just use the positional parameters as-is, but that makes things
- # harder to follow.
- local new old
-
- old="$1"
- new="$2"
-
- # Is old location a symlink?
- if [ -L "$old" ]; then
- # Does it already point to new location?
- if [ "$(readlink "$old")" = "$new" ]; then
- # Nothing to do; migration has already been done.
- observe "migration of $old to $new already done"
- return 0
- else
- # Back it up.
- warn "backing up symbolic link $old as $old.dpkg-old"
- mv -b "$old" "$old.dpkg-old"
- fi
- fi
-
- # Does old location exist, but is not a directory?
- if [ -e "$old" ] && ! [ -d "$old" ]; then
- # Back it up.
- warn "backing up non-directory $old as $old.dpkg-old"
- mv -b "$old" "$old.dpkg-old"
- fi
-
- observe "migrating $old to $new"
-
- # Is new location a symlink?
- if [ -L "$new" ]; then
- # Does it point the wrong way, i.e., back to where we're migrating from?
- if [ "$(readlink "$new")" = "$old" ]; then
- # Get rid of it.
- observe "removing symbolic link $new which points to $old"
- rm "$new"
- else
- # Back it up.
- warn "backing up symbolic link $new as $new.dpkg-old"
- mv -b "$new" "$new.dpkg-old"
- fi
- fi
-
- # Does new location exist, but is not a directory?
- if [ -e "$new" ] && ! [ -d "$new" ]; then
- warn "backing up non-directory $new as $new.dpkg-old"
- mv -b "$new" "$new.dpkg-old"
- fi
-
- # Create new directory if it does not yet exist.
- if ! [ -e "$new" ]; then
- observe "creating $new"
- mkdir -p "$new"
- fi
-
- # Copy files in old location to new location. Back up any filenames that
- # already exist in the new location with the extension ".dpkg-old".
- observe "copying files from $old to $new"
- if ! (cd "$old" && cp -a -b -S ".dpkg-old" . "$new"); then
- die "error(s) encountered while copying files from $old to $new"
- fi
-
- # Remove files at old location.
- observe "removing $old"
- rm -r "$old"
-
- # Create symlink from old location to new location.
- make_symlink_sane "$old" "$new"
-}
-
-# vim:set ai et sw=2 ts=2 tw=80:
-
-# GOBSTOPPER: The X Strike Force shell library ends here.
--- /dev/null
+#
+# Generate output formats for a single DocBook/XML with/without chapters
+#
+# Variables set by the calling Makefile:
+# shelfdir: the location where the docs/specs are installed. Typically $(docdir)
+# docbook: the main DocBook/XML file, no chapters, appendix or image files
+# chapters: all files pulled in by an XInclude statement and images.
+#
+
+#
+# This makefile is intended for Users Documentation and Functional Specifications.
+# Do not use for Developer Documentation which is not installed and does not require olink.
+# Refer to http://www.x.org/releases/X11R7.6/doc/xorg-docs/ReleaseNotes.html#id2584393
+# for an explanation on documents classification.
+#
+
+# DocBook/XML generated output formats to be installed
+shelf_DATA =
+
+# DocBook/XML file with chapters, appendix and images it includes
+dist_shelf_DATA = $(docbook) $(chapters)
+
+if HAVE_XMLTO
+if HAVE_STYLESHEETS
+
+XMLTO_SEARCHPATH_FLAGS = \
+ --searchpath "$(XORG_SGML_PATH)/X11" \
+ --searchpath "$(abs_top_builddir)"
+XMLTO_HTML_OLINK_FLAGS = \
+ --stringparam target.database.document=$(XORG_SGML_PATH)/X11/dbs/masterdb.html.xml \
+ --stringparam current.docid="$(<:.xml=)"
+XMLTO_HTML_STYLESHEET_FLAGS = -x $(STYLESHEET_SRCDIR)/xorg-xhtml.xsl
+XMLTO_HTML_FLAGS = \
+ $(XMLTO_SEARCHPATH_FLAGS) \
+ $(XMLTO_HTML_STYLESHEET_FLAGS) \
+ $(XMLTO_HTML_OLINK_FLAGS)
+
+shelf_DATA += $(docbook:.xml=.html)
+%.html: %.xml $(chapters)
+ $(AM_V_GEN)$(XMLTO) $(XMLTO_HTML_FLAGS) xhtml-nochunks $<
+
+if HAVE_XMLTO_TEXT
+
+shelf_DATA += $(docbook:.xml=.txt)
+%.txt: %.xml $(chapters)
+ $(AM_V_GEN)$(XMLTO) $(XMLTO_HTML_FLAGS) txt $<
+endif HAVE_XMLTO_TEXT
+
+if HAVE_FOP
+XMLTO_FO_IMAGEPATH_FLAGS = --stringparam img.src.path=$(abs_builddir)/
+XMLTO_PDF_OLINK_FLAGS = \
+ --stringparam target.database.document=$(XORG_SGML_PATH)/X11/dbs/masterdb.pdf.xml \
+ --stringparam current.docid="$(<:.xml=)"
+XMLTO_FO_STYLESHEET_FLAGS = -x $(STYLESHEET_SRCDIR)/xorg-fo.xsl
+
+XMLTO_FO_FLAGS = \
+ $(XMLTO_SEARCHPATH_FLAGS) \
+ $(XMLTO_FO_STYLESHEET_FLAGS) \
+ $(XMLTO_FO_IMAGEPATH_FLAGS) \
+ $(XMLTO_PDF_OLINK_FLAGS)
+
+shelf_DATA += $(docbook:.xml=.pdf)
+%.pdf: %.xml $(chapters)
+ $(AM_V_GEN)$(XMLTO) $(XMLTO_FO_FLAGS) --with-fop pdf $<
+
+shelf_DATA += $(docbook:.xml=.ps)
+%.ps: %.xml $(chapters)
+ $(AM_V_GEN)$(XMLTO) $(XMLTO_FO_FLAGS) --with-fop ps $<
+endif HAVE_FOP
+
+# Generate documents cross-reference target databases
+if HAVE_XSLTPROC
+
+XSLT_SEARCHPATH_FLAGS = \
+ --path "$(XORG_SGML_PATH)/X11" \
+ --path "$(abs_top_builddir)"
+XSLT_OLINK_FLAGS = \
+ --stringparam targets.filename "$@" \
+ --stringparam collect.xref.targets "only" \
+ --stringparam olink.base.uri "$(@:.db=)"
+
+XSLT_HTML_FLAGS = \
+ $(XSLT_SEARCHPATH_FLAGS) \
+ $(XSLT_OLINK_FLAGS) \
+ --nonet --xinclude \
+ $(STYLESHEET_SRCDIR)/xorg-xhtml.xsl
+XSLT_PDF_FLAGS = \
+ $(XSLT_SEARCHPATH_FLAGS) \
+ $(XSLT_OLINK_FLAGS) \
+ --nonet --xinclude \
+ $(STYLESHEET_SRCDIR)/xorg-fo.xsl
+
+shelf_DATA += $(docbook:.xml=.html.db)
+%.html.db: %.xml $(chapters)
+ $(AM_V_GEN)$(XSLTPROC) $(XSLT_HTML_FLAGS) $<
+
+shelf_DATA += $(docbook:.xml=.pdf.db)
+%.pdf.db: %.xml $(chapters)
+ $(AM_V_GEN)$(XSLTPROC) $(XSLT_PDF_FLAGS) $<
+
+endif HAVE_XSLTPROC
+endif HAVE_STYLESHEETS
+endif HAVE_XMLTO
+
+CLEANFILES = $(shelf_DATA)
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL NCD.
* BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
- * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
+ * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
*/
-
+
#ifndef _XLBX_H_
#define _XLBX_H_
Display* /* dpy */
);
-Status XShmAttach(
+Bool XShmAttach(
Display* /* dpy */,
XShmSegmentInfo* /* shminfo */
);
-Status XShmDetach(
+Bool XShmDetach(
Display* /* dpy */,
XShmSegmentInfo* /* shminfo */
);
-Status XShmPutImage(
+Bool XShmPutImage(
Display* /* dpy */,
Drawable /* d */,
GC /* gc */,
Bool /* send_event */
);
-Status XShmGetImage(
+Bool XShmGetImage(
Display* /* dpy */,
Drawable /* d */,
XImage* /* image */,
/******************************************************************************
- *
+ *
* Copyright (c) 1994, 1995 Hewlett-Packard Company
*
* Permission is hereby granted, free of charge, to any person obtaining
* 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 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.
* 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 Hewlett-Packard
* Company 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 Hewlett-Packard Company.
- *
+ *
* Header file for Xlib-related DBE
*
*****************************************************************************/
_XFUNCPROTOBEGIN
/**
- * Generic Event mask.
+ * Generic Event mask.
* To be used whenever a list of masks per extension has to be provided.
*
* But, don't actually use the CARD{8,16,32} types. We can't get them them
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
-DIGITAL EQUIPMENT CORPORATION BE LIABLE FOR ANY CLAIM, DAMAGES, INCLUDING,
-BUT NOT LIMITED TO CONSEQUENTIAL OR INCIDENTAL DAMAGES, OR OTHER LIABILITY,
-WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
+DIGITAL EQUIPMENT CORPORATION BE LIABLE FOR ANY CLAIM, DAMAGES, INCLUDING,
+BUT NOT LIMITED TO CONSEQUENTIAL OR INCIDENTAL 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 Digital Equipment Corporation
+Except as contained in this notice, the name of Digital Equipment Corporation
shall not be used in advertising or otherwise to promote the sale, use or other
-dealings in this Software without prior written authorization from Digital
+dealings in this Software without prior written authorization from Digital
Equipment Corporation.
******************************************************************/
in this Software without prior written authorization from The Open Group.
*
* Author: Jim Fulton, MIT The Open Group
- *
+ *
* Xlib Extension-Writing Utilities
*
* This package contains utilities for writing the client API for various
extern XExtDisplayInfo *XextAddDisplay(
XExtensionInfo* /* extinfo */,
Display* /* dpy */,
- char* /* ext_name */,
+ _Xconst char* /* ext_name */,
XExtensionHooks* /* hooks */,
int /* nevents */,
XPointer /* data */
/*
* helper macros to generate code that is common to all extensions; caller
* should prefix it with static if extension source is in one file; this
- * could be a utility function, but have to stack 6 unused arguments for
+ * could be a utility function, but have to stack 6 unused arguments for
* something that is called many, many times would be bad.
*/
#define XEXT_GENERATE_FIND_DISPLAY(proc,extinfo,extname,hooks,nev,data) \
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 names of Digital or Olivetti
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 AND OLIVETTI DISCLAIM ALL WARRANTIES WITH REGARD TO THIS
SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
} XSyncAlarmNotifyEvent;
/*
- * Errors
+ * Errors
*/
typedef struct {
- int type;
+ int type;
Display *display; /* Display the event was read from */
XSyncAlarm alarm; /* resource id */
unsigned long serial; /* serial number of failed request */
} XSyncAlarmError;
typedef struct {
- int type;
+ int type;
Display *display; /* Display the event was read from */
XSyncCounter counter; /* resource id */
unsigned long serial; /* serial number of failed request */
unsigned char minor_code; /* Minor op-code of failed request */
} XSyncCounterError;
-/*
+/*
* Prototypes
*/
advertising or publicity pertaining to distribution of the
software without specific, written prior permission.
-Hewlett-Packard makes no representations about the
-suitability of this software for any purpose. It is provided
+Hewlett-Packard makes no representations about the
+suitability of this software for any purpose. It is provided
"as is" without express or implied warranty.
This software is not subject to any license of the American
Window window;
} XTestFakeAckEvent;
+_XFUNCPROTOBEGIN
+
+int XTestFakeInput(register Display *dpy, char *action_list_addr, int action_list_size, int ack_flag);
+int XTestGetInput(register Display *dpy, int action_handling);
+int XTestQueryInputSize(register Display *dpy, unsigned long *size_return);
+int XTestPressKey(Display *display, int device_id, unsigned long delay, unsigned int keycode, unsigned int key_action);
+int XTestPressButton(Display * display, int device_id, unsigned long delay, unsigned int button_number, unsigned int button_action);
+int XTestMovePointer(Display *display, int device_id, unsigned long delay[], int x[], int y[], unsigned int count);
+int XTestFlush(Display *display);
+int XTestStopInput(register Display *dpy);
+int XTestReset(register Display *dpy);
+
+_XFUNCPROTOEND
+
#endif /* _XTESTEXT1_H */
.\" Copyright (c) 1995 Hewlett-Packard Company
-.\"
+.\"
.\" 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
+.\" 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 furnished to do so, subject to the following conditions:
-.\"
+.\"
.\" 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
-.\" HEWLETT-PACKARD COMPANY 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
+.\" FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
+.\" HEWLETT-PACKARD COMPANY 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 Hewlett-Packard Company shall not
-.\" be used in advertising or otherwise to promote the sale, use or other
-.\" dealing in this Software without prior written authorization from the
+.\"
+.\" Except as contained in this notice, the name of the Hewlett-Packard Company shall not
+.\" be used in advertising or otherwise to promote the sale, use or other
+.\" dealing in this Software without prior written authorization from the
.\" Hewlett-Packard Company.
.\"
.TH DBE __libmansuffix__ __xorgversion__ "X FUNCTIONS"
The front buffer is visible to the user; the back buffer is not. Successive
frames of an animation are rendered into the back buffer while the previously
rendered frame is displayed in the front buffer. When a new frame is ready,
-the back and front buffers swap roles, making the new frame visible. Ideally,
+the back and front buffers swap roles, making the new frame visible. Ideally,
this exchange appears to happen instantaneously to the user, with no visual
-artifacts. Thus, only completely rendered images are presented to the user,
+artifacts. Thus, only completely rendered images are presented to the user,
and remain visible during the entire time it takes to render a new frame. The
result is a flicker-free animation.
.SH DESCRIPTION
or
.B XCreateSimpleWindow(),
which allocate a set of window attributes and, for InputOutput windows, a front
-buffer, into which an image can be drawn. The contents of this buffer will be
+buffer, into which an image can be drawn. The contents of this buffer will be
displayed when the window is visible.
This extension enables applications to use double-buffering with a window.
This involves creating a second buffer, called a back buffer, and associating
one or more back buffer names
.I (XIDs)
-with the window, for use when referring
+with the window, for use when referring
to (i.e., drawing to or reading from) the window's back buffer.
The back buffer name is a drawable of type
.I XdbeBackBuffer.
DBE provides a relative double-buffering model. One XID, the window,
always refers to the front buffer. One or more other XIDs, the back buffer
-names, always refer to the back buffer. After a buffer swap, the window
+names, always refer to the back buffer. After a buffer swap, the window
continues to refer to the (new) front buffer, and the back buffer name
continues to refer to the (new) back buffer. Thus, applications and toolkits
that want to just render to the back buffer always use the back buffer name
for all drawing requests to the window. Portions of an application that want
-to render to the front buffer always use the window XID for all drawing
+to render to the front buffer always use the window XID for all drawing
requests to the window.
Multiple clients and toolkits can all use double-buffering on the same window.
-DBE does not provide a request for querying whether a window has
-double-buffering support, and if so, what the back buffer name is. Given the
+DBE does not provide a request for querying whether a window has
+double-buffering support, and if so, what the back buffer name is. Given the
asynchronous nature of the X Window System, this would cause race
-conditions. Instead, DBE allows multiple back buffer names to exist for the
-same window; they all refer to the same physical back buffer. The first time a
+conditions. Instead, DBE allows multiple back buffer names to exist for the
+same window; they all refer to the same physical back buffer. The first time a
back buffer name is allocated for a window, the window becomes
double-buffered and the back buffer name is associated with the window.
Subsequently, the window already is a double-buffered window, and nothing
remains double-buffered until either the window is destroyed, or until all of
the back buffer names for the window are deallocated.
-In general, both the front and back buffers ae treated the same. In
+In general, both the front and back buffers ae treated the same. In
particular, here are some important characteristics:
.RS
width, height, and shape as the window.
Both buffers associated with a window are "visible" (or "obscured") in
-the same way. When an Expose event is generated for a window, this
-event is considered to apply to both buffers equally. When a
-double-buffered window is exposed, both buffers are tiled with the
+the same way. When an Expose event is generated for a window, this
+event is considered to apply to both buffers equally. When a
+double-buffered window is exposed, both buffers are tiled with the
window background.
-Even though the back buffer is not visible, terms such as obscure apply to the
+Even though the back buffer is not visible, terms such as obscure apply to the
back buffer as well as to the front buffer.
It is acceptable at any time to pass an
buffer return undefined image contents for any obscured regions of the back
buffer that fall within the image.
-Drawing to a back buffer always uses the clip region that would be used to
-draw to the front buffer with a GC subwindow-mode of ClipByChildren. If an
+Drawing to a back buffer always uses the clip region that would be used to
+draw to the front buffer with a GC subwindow-mode of ClipByChildren. If an
ancestor of a double-buffered window is drawn to with a GC having a
subwindow-mode of IncludeInferiors, the effect on the double-buffered
window's back buffer depends on the depth of the double-buffered window
and the ancestor. If the depths are the same, the contents of the back buffer
of the double-buffered window are not changed. If the depths are different,
-the contents of the back buffer of the double-buffered window are undefined
+the contents of the back buffer of the double-buffered window are undefined
for the pixels that the IncludeInferiors drawing touched.
DBE adds no new events. DBE does not extend the semantics of any existing
both buffers associated with the window are destroyed, and all back buffer
names associated with the window are freed.
-If the size of a double-buffered window changes, both
-buffers assume the new size. If the window's size increases, the effect on the
+If the size of a double-buffered window changes, both
+buffers assume the new size. If the window's size increases, the effect on the
buffers depends on whether the implementation honors bit gravity for buffers.
-If bit gravity is implemented, then the contents of both buffers are moved in
+If bit gravity is implemented, then the contents of both buffers are moved in
accordance with the window's bit gravity,
-and the remaining areas are tiled with the window background. If
-bit gravity is not implemented, then the entire unobscured region of both
+and the remaining areas are tiled with the window background. If
+bit gravity is not implemented, then the entire unobscured region of both
buffers is tiled with the window background. In either case, Expose events are
generated for the region that is tiled with the window background.
.B ShapeRectangles, ShapeMask, ShapeCombine,
or
.B ShapeOffset
-request is executed on a double-buffered window, both
+request is executed on a double-buffered window, both
buffers are reshaped to match the new window shape. The region difference
-D = new shape - old shape is tiled with the window background in both
+D = new shape - old shape is tiled with the window background in both
buffers, and Expose events are generated for D.
.RE
.B Complex Swap Actions
.RS
-DBE has no explicit knowledge of ancillary buffers (e.g. depth buffers or
+DBE has no explicit knowledge of ancillary buffers (e.g. depth buffers or
alpha buffers), and only has a limited set of defined swap actions. Some
-applications may need a richer set of swap actions than DBE provides. Some
-DBE implementations have knowledge of ancillary buffers, and/or can provide
+applications may need a richer set of swap actions than DBE provides. Some
+DBE implementations have knowledge of ancillary buffers, and/or can provide
a rich set of swap actions. Instead of continually extending DBE to increase
-its set of swap actions, DBE provides a flexible "idiom" mechanism. If an
+its set of swap actions, DBE provides a flexible "idiom" mechanism. If an
applications's needs are served by the defined swap actions, it should use
them; otherwise, it should use the following method of expressing a complex
swap action as an idiom. Following this policy will ensure the best possible
performance across a wide variety of implementations.
-As suggested by the term "idiom," a complex swap action should be expressed
-as a group/series of requests. Taken together, this group of requests may be
-combined into an atomic operation by the implementation, in order to
+As suggested by the term "idiom," a complex swap action should be expressed
+as a group/series of requests. Taken together, this group of requests may be
+combined into an atomic operation by the implementation, in order to
maximize performance. The set of idioms actually recognized for optimization
-is implementation dependent. To help with idiom expression and
-interpretation, an idiom must be surrounded by two function calls:
+is implementation dependent. To help with idiom expression and
+interpretation, an idiom must be surrounded by two function calls:
.B XdbeBeginIdiom()
and
.B XdbeEndIdiom().
Unless this begin-end pair
-surrounds the idiom, it may not be recognized by a given implementation, and
+surrounds the idiom, it may not be recognized by a given implementation, and
performance will suffer.
For example, if an application wants to swap buffers for two windows, and use
and
.B XdbeEndIdiom()
functions do not perform any
-actions themselves. They are treated as markers by implementations that can
+actions themselves. They are treated as markers by implementations that can
combine certain groups/series of requests as idioms, and are ignored by other
implementations or for non-recognized groups/series of requests. If these
function calls are made out of order, or are mismatched, no errors are sent,
example, if a swap action of Copied is desired, but only some of the planes
should be copied,
.B XCopyArea()
-may be used instead of
+may be used instead of
.B XdbeSwapBuffers().
If
.B XdbeSwapBuffers()
is included in an idiom, it should immediately follow the
.B XdbeBeginIdiom()
-call. Also, when the
+call. Also, when the
.B XdbeSwapBuffers()
-is included in an idiom, that request's swap action will
-still be valid, and if the swap action might overlap with another request, then
+is included in an idiom, that request's swap action will
+still be valid, and if the swap action might overlap with another request, then
the final result of the idiom must be as if the separate requests were executed
-serially. For example, if the specified swap action is Untouched, and if a
+serially. For example, if the specified swap action is Untouched, and if a
.B XFillRectangle()
using a client clip rectangle is done to the window's back
buffer after the
.B XdbeSwapBuffers()
-call, then the contents of the new
+call, then the contents of the new
back buffer (after the idiom) will be the same as if the idiom was not
recognized by the implementation.
-It is highly recommended that API providers define, and application
+It is highly recommended that API providers define, and application
developers use, "convenience" functions that allow client applications to call
one procedure that encapsulates common idioms. These functions will
generate the
.B XdbeBeginIdiom(),
-idiom, and
+idiom, and
.B XdbeEndIdiom()
calls. Usage of these functions will ensure best possible
performance across a wide variety of implementations.
.\" Copyright \(co Digital Equipment Corporation, 1996
-.\"
+.\"
.\" Permission to use, copy, modify, distribute, and sell this
.\" documentation for any purpose is hereby granted without fee,
.\" provided that the above copyright notice and this permission
.\" of the information in this document. This documentation is
.\" provided ``as is'' without express or implied warranty.
.\"
-.\" Copyright 1999, 2005 Sun Microsystems, Inc. All rights reserved.
+.\" Copyright (c) 1999, 2005, 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"),
Specifies the connection to the X server
.SH DESCRIPTION
.LP
-The
-.I DPMSCapable
-function returns the Display Power Management Signaling (DPMS) capability of
-the X server, either TRUE \^(capable of DPMS\^) or FALSE \^(incapable of
+The
+.I DPMSCapable
+function returns the Display Power Management Signaling (DPMS) capability of
+the X server, either TRUE \^(capable of DPMS\^) or FALSE \^(incapable of
DPMS\^).
.SH "RETURN VALUES"
.TP 15
True
-The
-.I DPMSCapable
+The
+.I DPMSCapable
function returns True if the X server is capable of DPMS.
.TP 15
False
-The
-.I DPMSCapable
+The
+.I DPMSCapable
function returns True if the X server is incapable of DPMS.
.\" Copyright \(co Digital Equipment Corporation, 1996
-.\"
+.\"
.\" Permission to use, copy, modify, distribute, and sell this
.\" documentation for any purpose is hereby granted without fee,
.\" provided that the above copyright notice and this permission
.\" of the information in this document. This documentation is
.\" provided ``as is'' without express or implied warranty.
.\"
-.\" Copyright 1999, 2005 Sun Microsystems, Inc. All rights reserved.
+.\" Copyright (c) 1999, 2005, 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"),
Specifies the connection to the X server
.SH DESCRIPTION
.LP
-The
-.I DPMSDisable
+The
+.I DPMSDisable
function disables Display Power Management Signaling (DPMS) on the specified
-display. When disabled, DPMS sets the display to DPMSModeOn. If
-.I DPMSDisable
-is invoked on a display with DPMS already disabled or on a display which does
+display. When disabled, DPMS sets the display to DPMSModeOn. If
+.I DPMSDisable
+is invoked on a display with DPMS already disabled or on a display which does
not support DPMS, no change is made and no error is returned.
.SH "RETURN VALUES"
.TP 15
TRUE
-The
-.I DPMSDisable
+The
+.I DPMSDisable
function always returns TRUE.
.SH "SEE ALSO"
.BR DPMSCapable (__libmansuffix__),
.\" Copyright \(co Digital Equipment Corporation, 1996
-.\"
+.\"
.\" Permission to use, copy, modify, distribute, and sell this
.\" documentation for any purpose is hereby granted without fee,
.\" provided that the above copyright notice and this permission
.\" of the information in this document. This documentation is
.\" provided ``as is'' without express or implied warranty.
.\"
-.\" Copyright 1999, 2005 Sun Microsystems, Inc. All rights reserved.
+.\" Copyright (c) 1999, 2005, 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"),
.\" DEALINGS IN THE SOFTWARE.
.\"
.\" X Window System is a trademark of The Open Group.
-.\"
+.\"
.TH DPMSEnable __libmansuffix__ __xorgversion__ "X FUNCTIONS"
.SH NAME
DPMSEnable \- enables DPMS on the specified display
Specifies the connection to the X server
.SH DESCRIPTION
.LP
-The
-.I DPMSEnable
-function enables Display Power Management Signaling (DPMS) on the specified
-.I display.
-When DPMS is enabled, DPMS will use the currently saved timeout values. It will
-trigger the appropriate DPMS power level based on the timeout values. Refer to
-.I DPMSSetTimeouts.
-All physical screens are affected by
-.I DPMSEnable
+The
+.I DPMSEnable
+function enables Display Power Management Signaling (DPMS) on the specified
+.I display.
+When DPMS is enabled, DPMS will use the currently saved timeout values. It will
+trigger the appropriate DPMS power level based on the timeout values. Refer to
+.I DPMSSetTimeouts.
+All physical screens are affected by
+.I DPMSEnable
at the same time.
-If
-.I DPMSEnable
-is invoked on a display which has DPMS already enabled, or on a display which
+If
+.I DPMSEnable
+is invoked on a display which has DPMS already enabled, or on a display which
does not support DPMS, no change is made and no error is returned.
.SH "RETURN VALUES"
.TP 15
TRUE
-The
-.I DPMSEnable
+The
+.I DPMSEnable
function always returns TRUE.
.SH "SEE ALSO"
.BR DPMSCapable (__libmansuffix__),
.\" Copyright \(co Digital Equipment Corporation, 1996
-.\"
+.\"
.\" Permission to use, copy, modify, distribute, and sell this
.\" documentation for any purpose is hereby granted without fee,
.\" provided that the above copyright notice and this permission
.\" of the information in this document. This documentation is
.\" provided ``as is'' without express or implied warranty.
.\"
-.\" Copyright 1999, 2005 Sun Microsystems, Inc. All rights reserved.
+.\" Copyright (c) 1999, 2005, 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"),
.\" DEALINGS IN THE SOFTWARE.
.\"
.\" X Window System is a trademark of The Open Group.
-.\"
+.\"
.TH DPMSForceLevel __libmansuffix__ __xorgversion__ "X FUNCTIONS"
.SH NAME
DPMSForceLevel \- forces a DPMS capable display into the
Specifies the level to force power to
.SH DESCRIPTION
.LP
-The
-.I DPMSForceLevel
-function forces a DPMS capable display into the specified power level. The
-\fIlevel\fP must be one of following four states: DPMSModeOn, DPMSModeStandby,
-DPMSModeSuspend, or DPMSModeOff. Values other than these will result in a
+The
+.I DPMSForceLevel
+function forces a DPMS capable display into the specified power level. The
+\fIlevel\fP must be one of following four states: DPMSModeOn, DPMSModeStandby,
+DPMSModeSuspend, or DPMSModeOff. Values other than these will result in a
BadValue error. If DPMS
-is disabled on the display, trying to set the power level on the display will
-result in a BadMatch
+is disabled on the display, trying to set the power level on the display will
+result in a BadMatch
protocol error.
.SH "RETURN VALUES"
.TP 15
TRUE
-The
-.I DPMSForceLevel
+The
+.I DPMSForceLevel
function always returns TRUE.
.SH ERRORS
.TP 15
.\" Copyright \(co Digital Equipment Corporation, 1996
-.\"
+.\"
.\" Permission to use, copy, modify, distribute, and sell this
.\" documentation for any purpose is hereby granted without fee,
.\" provided that the above copyright notice and this permission
.\" of the information in this document. This documentation is
.\" provided ``as is'' without express or implied warranty.
.\"
-.\" Copyright 1999, 2005 Sun Microsystems, Inc. All rights reserved.
+.\" Copyright (c) 1999, 2005, 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"),
.\" DEALINGS IN THE SOFTWARE.
.\"
.\" X Window System is a trademark of The Open Group.
-.\"
+.\"
.TH DPMSGetTimeouts __libmansuffix__ __xorgversion__ "X FUNCTIONS"
.SH NAME
-DPMSGetTimeouts \- retrieves the timeout values used by the X server for DPMS
+DPMSGetTimeouts \- retrieves the timeout values used by the X server for DPMS
timings
.SH SYNOPSIS
.PP
.br
CARD16 *\fIsuspend\fP\^,
.br
- CARD16 *\fIoff\fP\^
+ CARD16 *\fIoff\fP\^
);
.if n .ti +5n
.if t .ti +.5i
Specifies the current off timeout in seconds
.SH DESCRIPTION
.LP
-The
-.I DPMSGetTimeouts
-function retrieves the timeout values used by the X server for DPMS timings.
+The
+.I DPMSGetTimeouts
+function retrieves the timeout values used by the X server for DPMS timings.
.LP
-The value
-.I standby
-is the amount of time of inactivity in seconds before standby mode is invoked. A
+The value
+.I standby
+is the amount of time of inactivity in seconds before standby mode is invoked. A
value of zero indicates that this mode has been disabled.
.LP
-The value \fIsuspend\fP is the amount of time of inactivity in seconds before
-the second level of power savings is invoked. A value of zero indicates that
+The value \fIsuspend\fP is the amount of time of inactivity in seconds before
+the second level of power savings is invoked. A value of zero indicates that
this mode has been disabled.
.LP
-The value \fIoff\fP is the amount of time of inactivity in seconds before the
-third and final level of power savings is invoked. A value of zero indicates
+The value \fIoff\fP is the amount of time of inactivity in seconds before the
+third and final level of power savings is invoked. A value of zero indicates
that this mode has been disabled.
.SH "RETURN VALUES"
.TP 15
TRUE
-The
-.I DPMSGetTimeouts
+The
+.I DPMSGetTimeouts
function returns TRUE when values are returned.
.TP 15
FALSE
-The
-.I DPMSGetTimeouts
+The
+.I DPMSGetTimeouts
function returns FALSE when no values returned.
.SH "SEE ALSO"
.BR DPMSCapable (__libmansuffix__),
.\" Copyright \(co Digital Equipment Corporation, 1996
-.\"
+.\"
.\" Permission to use, copy, modify, distribute, and sell this
.\" documentation for any purpose is hereby granted without fee,
.\" provided that the above copyright notice and this permission
.\" of the information in this document. This documentation is
.\" provided ``as is'' without express or implied warranty.
.\"
-.\" Copyright 1999, 2005 Sun Microsystems, Inc. All rights reserved.
+.\" Copyright (c) 1999, 2005, 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"),
.\" DEALINGS IN THE SOFTWARE.
.\"
.\" X Window System is a trademark of The Open Group.
-.\"
+.\"
.TH DPMSGetVersion __libmansuffix__ __xorgversion__ "X FUNCTIONS"
.SH NAME
DPMSGetVersion \- returns the version of the DPMS extension implemented by
.br
int *\fImajor_version\fP\^,
.br
- int *\fIminor_version\fP\^
+ int *\fIminor_version\fP\^
);
.if n .ti +5n
.if t .ti +.5i
Specifies the return location for the extension minor version
.SH DESCRIPTION
.LP
-The
-.I DPMSGetVersion
+The
+.I DPMSGetVersion
function returns the version of the Display Power Management Signaling (DPMS)
-extension implemented by the X server. It returns a major and minor version
+extension implemented by the X server. It returns a major and minor version
number. The major version number will be incremented for protocol incompatible
-changes, and the minor version number will be incremented for small, upward
+changes, and the minor version number will be incremented for small, upward
compatible changes.
.SH "RETURN VALUES"
.TP 15
TRUE
-The
-.I DPMSGetVersion
+The
+.I DPMSGetVersion
function returns TRUE when the extension is supported and values are returned.
.TP 15
FALSE
-The
-.I DPMSGetVersion
+The
+.I DPMSGetVersion
function returns FALSE when the extension is not supported.
.SH "SEE ALSO"
.BR DPMSCapable (__libmansuffix__),
.\" Copyright \(co Digital Equipment Corporation, 1996
-.\"
+.\"
.\" Permission to use, copy, modify, distribute, and sell this
.\" documentation for any purpose is hereby granted without fee,
.\" provided that the above copyright notice and this permission
.\" of the information in this document. This documentation is
.\" provided ``as is'' without express or implied warranty.
.\"
-.\" Copyright 1999, 2005 Sun Microsystems, Inc. All rights reserved.
+.\" Copyright (c) 1999, 2005, 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"),
.\" DEALINGS IN THE SOFTWARE.
.\"
.\" X Window System is a trademark of The Open Group.
-.\"
+.\"
.TH DPMSInfo __libmansuffix__ __xorgversion__ "X FUNCTIONS"
.SH NAME
DPMSInfo \- returns information about the current DPMS state
.br
CARD16 \fI*power_level\fP\^,
.br
- BOOL \fI*state\fP\^
+ BOOL \fI*state\fP\^
);
.if n .ti +5n
.if t .ti +.5i
Specifies the current DPMS state
.SH DESCRIPTION
.LP
-The
-.I DPMSInfo
-function returns information about the current Display Power Management
-Signaling (DPMS) state. The \fIstate\fP
+The
+.I DPMSInfo
+function returns information about the current Display Power Management
+Signaling (DPMS) state. The \fIstate\fP
return parameter indicates whether or not DPMS is enabled \^(TRUE\^) or
-disabled \^(FALSE\^). The \fIpower_level\fP return parameter indicates the
+disabled \^(FALSE\^). The \fIpower_level\fP return parameter indicates the
current power level \^(one of DPMSModeOn, DPMSModeStandby, DPMSModeSuspend, or
DPMSModeOff.\^)
.SH "RETURN VALUES"
.TP 15
TRUE
-The
-.I DPMSInfo
+The
+.I DPMSInfo
function returns TRUE, if values are returned.
.TP 15
FALSE
-The
-.I DPMSInfo
+The
+.I DPMSInfo
function returns FALSE, if no values are returned.
.SH "SEE ALSO"
.BR DPMSEnable (__libmansuffix__)
.\" Copyright \(co Digital Equipment Corporation, 1996
-.\"
+.\"
.\" Permission to use, copy, modify, distribute, and sell this
.\" documentation for any purpose is hereby granted without fee,
.\" provided that the above copyright notice and this permission
.\" of the information in this document. This documentation is
.\" provided ``as is'' without express or implied warranty.
.\"
-.\" Copyright 1999, 2005 Sun Microsystems, Inc. All rights reserved.
+.\" Copyright (c) 1999, 2005, 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"),
.\" DEALINGS IN THE SOFTWARE.
.\"
.\" X Window System is a trademark of The Open Group.
-.\"
+.\"
.TH DPMSQueryExtension __libmansuffix__ __xorgversion__ "X FUNCTIONS"
.SH NAME
DPMSQueryExtension \- queries the X server to determine the availability
.br
int \fI*event_base\fP\^,
.br
- int \fI*error_base\fP\^
+ int \fI*error_base\fP\^
);
.if n .ti +5n
.if t .ti +.5i
Specifies the return location for the assigned base error
.SH DESCRIPTION
.LP
-The
-.I DPMSQueryExtension
+The
+.I DPMSQueryExtension
function queries the X server to determine the availability of the
-Display Power Management Signaling (DPMS)
+Display Power Management Signaling (DPMS)
Extension. If the extension is available, it returns TRUE, and the
.I event_base
-and
+and
.I error_base
-are set to the base event and error numbers, respectively. Otherwise, the
-return value is FALSE, and the
+are set to the base event and error numbers, respectively. Otherwise, the
+return value is FALSE, and the
values of
.I event_base
-and
-.I error_base
+and
+.I error_base
are undefined.
.SH "RETURN VALUES"
.TP 15
TRUE
-The
-.I DPMSQueryExtension
-function returns TRUE if the extension is available,
+The
+.I DPMSQueryExtension
+function returns TRUE if the extension is available,
and
.I event_base
-and
+and
.I error_base
-are set to the base event number and base error number for the extension,
+are set to the base event number and base error number for the extension,
respectively.
.TP 15
FALSE
-The
-.I DPMSQueryExtension
+The
+.I DPMSQueryExtension
function returns FALSE if extension is not available, and the values of
.I event_base
-and
-.I error_base
+and
+.I error_base
are undefined.
.SH "SEE ALSO"
.BR DPMSGetVersion (__libmansuffix__)
.\" Copyright \(co Digital Equipment Corporation, 1996
-.\"
+.\"
.\" Permission to use, copy, modify, distribute, and sell this
.\" documentation for any purpose is hereby granted without fee,
.\" provided that the above copyright notice and this permission
.\" of the information in this document. This documentation is
.\" provided ``as is'' without express or implied warranty.
.\"
-.\" Copyright 1999, 2005 Sun Microsystems, Inc. All rights reserved.
+.\" Copyright (c) 1999, 2005, 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"),
.\" DEALINGS IN THE SOFTWARE.
.\"
.\" X Window System is a trademark of The Open Group.
-.\"
+.\"
.TH DPMSSetTimeouts __libmansuffix__ __xorgversion__ "X FUNCTIONS"
.SH NAME
DPMSSetTimeouts \- permits applications to set the timeout values
.br
CARD16 \fIsuspend\fP\^,
.br
- CARD16 \fIoff\fP\^
+ CARD16 \fIoff\fP\^
);
.if n .ti +5n
.if t .ti +.5i
.SH DESCRIPTION
.LP
The DPMSSetTimeouts function permits applications to set the timeout values
-used by the X server for Display Power Management Signaling (DPMS) timings.
+used by the X server for Display Power Management Signaling (DPMS) timings.
.LP
-The value \fIstandby\fP is the amount of inactivity time, in seconds, before
-standby mode is invoked. The actual
-effects of this mode are dependent on the characteristics of the monitor and
-frame buffer card. Standby mode is
-implemented by shutting off the horizontal sync signal, and pulsing the vertical
-sync signal. Standby mode
-provides the quickest monitor recovery time. Note also that many monitors
-implement this mode identical to
+The value \fIstandby\fP is the amount of inactivity time, in seconds, before
+standby mode is invoked. The actual
+effects of this mode are dependent on the characteristics of the monitor and
+frame buffer card. Standby mode is
+implemented by shutting off the horizontal sync signal, and pulsing the vertical
+sync signal. Standby mode
+provides the quickest monitor recovery time. Note also that many monitors
+implement this mode identical to
suspend mode. A value of zero disables the standby mode.
.LP
-The value \fIsuspend\fP is the amount of time of inactivity, in seconds, before
-the second level of power
-savings is invoked. Suspend mode's physical and electrical characteristics are
-implementation defined. For DPMS
-compliant hardware, setting the suspend mode is implemented by pulsing the
-horizontal sync signal and
-shutting off the vertical sync signal. In general, suspend mode recovery is
-considered to be slower than
-standby mode, but faster than off mode. However it may vary from monitor to
-monitor. As noted above, many
-monitors implement this mode identical to the standby mode. A value of zero
+The value \fIsuspend\fP is the amount of time of inactivity, in seconds, before
+the second level of power
+savings is invoked. Suspend mode's physical and electrical characteristics are
+implementation defined. For DPMS
+compliant hardware, setting the suspend mode is implemented by pulsing the
+horizontal sync signal and
+shutting off the vertical sync signal. In general, suspend mode recovery is
+considered to be slower than
+standby mode, but faster than off mode. However it may vary from monitor to
+monitor. As noted above, many
+monitors implement this mode identical to the standby mode. A value of zero
disables this mode.
.LP
-The value \fIoff\fP is the amount of time of inactivity,in seconds, before the
-third and final level of power
-savings is invoked. Off mode's physical and electrical characteristics are
-implementation defined. In DPMS
-compliant hardware, it is implemented by shutting off both horizontal and
-vertical sync signals, resulting in
-powering down of the monitor. Recovery time is implementation dependent.
-Usually the recovery time is very
+The value \fIoff\fP is the amount of time of inactivity,in seconds, before the
+third and final level of power
+savings is invoked. Off mode's physical and electrical characteristics are
+implementation defined. In DPMS
+compliant hardware, it is implemented by shutting off both horizontal and
+vertical sync signals, resulting in
+powering down of the monitor. Recovery time is implementation dependent.
+Usually the recovery time is very
close to the power-up time of the monitor. A value of zero disables this mode.
.LP
-Chronologically, \fIstandby\fP mode occurs before or simultaneously with
-\fIsuspend\fP mode, and
-\fIsuspend\fP mode must occur before or simultaneously with \fIoff\fP mode.
-Therefore, non-zero mode timeout
-values must be greater than or equal to the timeout values of earlier modes. If
-inconsistent values are
+Chronologically, \fIstandby\fP mode occurs before or simultaneously with
+\fIsuspend\fP mode, and
+\fIsuspend\fP mode must occur before or simultaneously with \fIoff\fP mode.
+Therefore, non-zero mode timeout
+values must be greater than or equal to the timeout values of earlier modes. If
+inconsistent values are
supplied, a BadValue error will result.
.SH "RETURN VALUES"
.TP 15
TRUE
-The
-.I DPMSSetTimeouts
-function returns TRUE when the function has succeeded.
+The
+.I DPMSSetTimeouts
+function returns TRUE when the function has succeeded.
.SH ERRORS
.TP 15
.SM BadValue
.\" Copyright (c) 1989, 1994 X Consortium
-.\"
+.\"
.\" 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
+.\" 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 furnished to do so, subject to the following conditions:
-.\"
+.\"
.\" 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 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
+.\" 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.
-.\"
-.\" 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
-.\" dealing in this Software without prior written authorization from the
+.\"
+.\" 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
+.\" dealing in this Software without prior written authorization from the
.\" X Consortium.
.\"
.de ZN
\&#include <X11/extensions/shape.h>
.LP
Bool XShapeQueryExtension (
- Display *dpy,
- int *event_basep,
+ Display *dpy,
+ int *event_basep,
int *error_basep);
.LP
Status XShapeQueryVersion (
- Display *dpy,
- int *major_versionp,
+ Display *dpy,
+ int *major_versionp,
int *minor_versionp);
.LP
void XShapeCombineRegion (
- Display *dpy,
- Window dest,
- int destKind,
- int xOff,
- int yOff,
- struct _XRegion *r,
+ Display *dpy,
+ Window dest,
+ int destKind,
+ int xOff,
+ int yOff,
+ struct _XRegion *r,
int op);
.LP
void XShapeCombineRectangles (
- Display *dpy,
- XID dest,
- int destKind,
- int xOff,
- int yOff,
- XRectangle *rects,
- int n_rects,
- int op,
+ Display *dpy,
+ XID dest,
+ int destKind,
+ int xOff,
+ int yOff,
+ XRectangle *rects,
+ int n_rects,
+ int op,
int ordering);
.LP
void XShapeCombineMask (
- Display *dpy,
- XID dest,
- int destKind,
- int xOff,
- int yOff,
- Pixmap src,
+ Display *dpy,
+ XID dest,
+ int destKind,
+ int xOff,
+ int yOff,
+ Pixmap src,
int op);
.LP
void XShapeCombineShape (
- Display *dpy,
- XID dest,
- int destKind,
- int xOff,
- int yOff,
- Pixmap src,
- int srcKind,
+ Display *dpy,
+ XID dest,
+ int destKind,
+ int xOff,
+ int yOff,
+ Pixmap src,
+ int srcKind,
int op);
.LP
void XShapeOffsetShape (
- Display *dpy,
- XID dest,
- int destKind,
- int xOff,
+ Display *dpy,
+ XID dest,
+ int destKind,
+ int xOff,
int yOff);
.LP
Status XShapeQueryExtents (
- Display *dpy,
- Window window,
- int *bShaped,
- int *xbs,
- int *ybs,
- unsigned int *wbs,
- unsigned int *hbs,
- int *cShaped,
- int *xcs,
- int *ycs,
- unsigned int *wcs,
+ Display *dpy,
+ Window window,
+ int *bShaped,
+ int *xbs,
+ int *ybs,
+ unsigned int *wbs,
+ unsigned int *hbs,
+ int *cShaped,
+ int *xcs,
+ int *ycs,
+ unsigned int *wcs,
unsigned int *hcs);
.LP
void XShapeSelectInput (
- Display *dpy,
- Window window,
+ Display *dpy,
+ Window window,
unsigned longmask);
.LP
unsigned long XShapeInputSelected (
- Display *dpy,
+ Display *dpy,
Window window);
.LP
XRectangle *XShapeGetRectangles (
- Display *dpy,
- Window window,
- int kind,
- int *count,
+ Display *dpy,
+ Window window,
+ int kind,
+ int *count,
int *ordering);
.fi
.SH STRUCTURES
.\" Copyright (c) 1991 X Consortium
-.\"
+.\"
.\" 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
+.\" 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 furnished to do so, subject to the following conditions:
-.\"
+.\"
.\" 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 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
+.\" 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.
-.\"
-.\" 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
-.\" dealing in this Software without prior written authorization from the
+.\"
+.\" 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
+.\" dealing in this Software without prior written authorization from the
.\" X Consortium.
.\"
-.\" Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+.\" Copyright (c) 2006, 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"),
int *major, *minor;
Bool *pixmaps);
.LP
-Status XShmPixmapFormat(
+int XShmPixmapFormat(
Display *display);
.LP
-Status XShmAttach(
+Bool XShmAttach(
Display *display;
XShmSegmentInfo *shminfo);
.LP
-Status XShmDetach(
+Bool XShmDetach(
Display *display;
XShmSegmentInfo *shminfo);
XShmSegmentInfo *shminfo;
unsigned int width, height);
.LP
-Status XShmPutImage(
+Bool XShmPutImage(
Display *display;
Drawable d;
GC gc;
unsigned int width, height;
bool send_event);
.LP
-Status XShmGetImage (
+Bool XShmGetImage (
Display *display;
Drawable d;
XImage *image;
.\" Copyright \(co 1986-1997 The Open Group All Rights Reserved
-.\" Copyright 1999, 2005 Sun Microsystems, Inc. All rights reserved.
+.\" Copyright (c) 1999, 2005, 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"),
.\" 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.
-.\"
+.\"
.\" X Window System is a trademark of The Open Group.
-.\"
+.\"
.de ZN
.ie t \fB\^\\$1\^\fR\\$2
.el \fI\^\\$1\^\fP\\$2
\fBcc\fR [ \fIflag\fR \&.\&.\&. ] \fIfile\fR \&.\&.\&. -\fBlXext\fR [ \fIlibrary\fR \&.\&.\&. ]
\&#include <X11/extensions/Xcup.h>
.HP
-Status \fBXcupGetReservedColormapEntries\fP\^(\^Display *\fIdisplay\fP\^,
+Status \fBXcupGetReservedColormapEntries\fP\^(\^Display *\fIdisplay\fP\^,
int \fIscreen\fP\^, XColor **\fIcolors_out\fP\^, int *\fIncolors\fP\^);
.if n .ti +5n
.if t .ti +.5i
Returns the number of items in \fIcolors_out\fP.
.SH DESCRIPTION
.LP
-The
-.ZN XcupGetReservedColormapEntries
+The
+.ZN XcupGetReservedColormapEntries
function returns a list of colormap entries (pixels) that are reserved
-by the system. This list will, at a minimum, contain entries for the
-BlackPixel and WhitePixel of the specified screen. Use
-.ZN XFree
-to free
+by the system. This list will, at a minimum, contain entries for the
+BlackPixel and WhitePixel of the specified screen. Use
+.ZN XFree
+to free
.I colors_out.
.LP
To minimize colormap flash, an application which installs its own private
colormap should query the special colors by calling
-.ZN XCupGetReservedColormapEntries ,
+.ZN XCupGetReservedColormapEntries ,
and can then store those entries (in the
-proper location) in its private colormap using
+proper location) in its private colormap using
.ZN XCupStoreColors .
.SH "SEE ALSO"
.BR XcupQueryVersion (3Xext),
.\" Copyright \(co 1986-1997 The Open Group All Rights Reserved
-.\" Copyright 1999, 2005 Sun Microsystems, Inc. All rights reserved.
+.\" Copyright (c) 1999, 2005, 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"),
.\" DEALINGS IN THE SOFTWARE.
.\"
.\" X Window System is a trademark of The Open Group.
-.\"
+.\"
.de ZN
.ie t \fB\^\\$1\^\fR\\$2
.el \fI\^\\$1\^\fP\\$2
\fBcc\fR [ \fIflag\fR \&.\&.\&. ] \fIfile\fR \&.\&.\&. -\fBlXext\fR [ \fIlibrary\fR \&.\&.\&. ]
\&#include <X11/extensions/Xcup.h>
.HP
-Status \fBXcupQueryVersion\fP\^(\^Display *\fIdisplay\fP\^,
+Status \fBXcupQueryVersion\fP\^(\^Display *\fIdisplay\fP\^,
int *\fImajor_version_return\fP\^, int *\fIminor_version_return\fP\^);
.if n .ti +5n
.if t .ti +.5i
Returns the minor version supported by the server
.SH DESCRIPTION
.LP
-.ZN XcupQueryVersion
-sets
-.I major_version_return
-and
-.I minor_version_return
+.ZN XcupQueryVersion
+sets
+.I major_version_return
+and
+.I minor_version_return
to the major and minor TOG-CUP protocol version supported by the
server. If the TOG-CUP library is compatible with the version returned
by the server, it returns nonzero. If the server does not support the TOG-CUP
before this function. If a client violates this rule, the effects of
all subsequent Xcup calls that it makes are undefined.
.LP
-To get the list of reserved colormap entries, use
+To get the list of reserved colormap entries, use
.ZN XcupGetReservedColormapEntries.
.LP
-To allocate one or more read-only color cells with RGB values, use
+To allocate one or more read-only color cells with RGB values, use
.ZN XcupStoreColors.
.SH "SEE ALSO"
.BR XcupGetReservedColormapEntries (3Xext),
.\" Copyright \(co 1986-1997 The Open Group All Rights Reserved
-.\" Copyright 1999, 2005 Sun Microsystems, Inc. All rights reserved.
+.\" Copyright (c) 1999, 2005, 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"),
.\" 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.
-.\"
+.\"
.\" X Window System is a trademark of The Open Group.
-.\"
+.\"
.de ZN
.ie t \fB\^\\$1\^\fR\\$2
.el \fI\^\\$1\^\fP\\$2
Specifies the number of items in colors_in_out
.SH DESCRIPTION
.LP
-The
-.ZN XcupStoreColors
+The
+.ZN XcupStoreColors
function changes the colormap entries of the pixel values in the pixel
members of the XColor structures. The colormap entries are allocated
as if an AllocColor has been used instead, i.e. the colors are
read-only (shareable).
-.ZN XcupStoreColors
+.ZN XcupStoreColors
returns the number of colors that were successfully allocated in the colormap.
.LP
-A
-.ZN Value
+A
+.ZN Value
error is generated if a pixel is not a valid index into the colormap. A
-.ZN BadMatch
+.ZN BadMatch
error is generated if the colormap does not belong to a GrayScale,
PseudoColor, or DirectColor visual.
.LP
Applications which allocate many colors in a screen's default colormap, e.g.
-a color-cube or a gray-ramp, should allocate them with
+a color-cube or a gray-ramp, should allocate them with
.ZN XCupStoreColors .
-By using XCupStoreColors the colors will be allocated sharable (read-only)
-and any other application which allocates the same color will share that
+By using XCupStoreColors the colors will be allocated sharable (read-only)
+and any other application which allocates the same color will share that
color cell.
.SH "SEE ALSO"
.BR XcupQueryVersion (3Xext),
.\" Copyright (c) 1995 Hewlett-Packard Company
-.\"
+.\"
.\" 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
+.\" 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 furnished to do so, subject to the following conditions:
-.\"
+.\"
.\" 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
-.\" HEWLETT-PACKARD COMPANY 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
+.\" FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
+.\" HEWLETT-PACKARD COMPANY 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 Hewlett-Packard Company shall not
-.\" be used in advertising or otherwise to promote the sale, use or other
-.\" dealing in this Software without prior written authorization from the
+.\"
+.\" Except as contained in this notice, the name of the Hewlett-Packard Company shall not
+.\" be used in advertising or otherwise to promote the sale, use or other
+.\" dealing in this Software without prior written authorization from the
.\" Hewlett-Packard Company.
.\"
.TH XdbeAllocateBackBufferName __libmansuffix__ __xorgversion__ "X FUNCTIONS"
XdbeBackBuffer XdbeAllocateBackBufferName(
Display *dpy,
- Window window,
+ Window window,
XdbeSwapAction swap_action)
.SH DESCRIPTION
-This function returns a drawable ID used to refer to the back buffer of the
-specified window. The swap_action is a hint to indicate the swap action that
+This function returns a drawable ID used to refer to the back buffer of the
+specified window. The swap_action is a hint to indicate the swap action that
will likely be used in subsequent calls to
.B XdbeSwapBuffers().
The actual swap
action used in calls to
.B XdbeSwapBuffers()
-does not have to be the same as the
+does not have to be the same as the
swap_action passed to this function, though clients are encouraged to provide
accurate information whenever possible.
.SH ERRORS
.\" Copyright (c) 1995 Hewlett-Packard Company
-.\"
+.\"
.\" 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
+.\" 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 furnished to do so, subject to the following conditions:
-.\"
+.\"
.\" 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
-.\" HEWLETT-PACKARD COMPANY 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
+.\" FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
+.\" HEWLETT-PACKARD COMPANY 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 Hewlett-Packard Company shall not
-.\" be used in advertising or otherwise to promote the sale, use or other
-.\" dealing in this Software without prior written authorization from the
+.\"
+.\" Except as contained in this notice, the name of the Hewlett-Packard Company shall not
+.\" be used in advertising or otherwise to promote the sale, use or other
+.\" dealing in this Software without prior written authorization from the
.\" Hewlett-Packard Company.
.\"
.TH DBE __libmansuffix__ __xorgversion__ "X FUNCTIONS"
.\" Copyright (c) 1995 Hewlett-Packard Company
-.\"
+.\"
.\" 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
+.\" 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 furnished to do so, subject to the following conditions:
-.\"
+.\"
.\" 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
-.\" HEWLETT-PACKARD COMPANY 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
+.\" FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
+.\" HEWLETT-PACKARD COMPANY 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 Hewlett-Packard Company shall not
-.\" be used in advertising or otherwise to promote the sale, use or other
-.\" dealing in this Software without prior written authorization from the
+.\"
+.\" Except as contained in this notice, the name of the Hewlett-Packard Company shall not
+.\" be used in advertising or otherwise to promote the sale, use or other
+.\" dealing in this Software without prior written authorization from the
.\" Hewlett-Packard Company.
.\"
.TH XdbeDeallocateBackBufferName __libmansuffix__ __xorgversion__ "X FUNCTIONS"
.\" Copyright (c) 1995 Hewlett-Packard Company
-.\"
+.\"
.\" 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
+.\" 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 furnished to do so, subject to the following conditions:
-.\"
+.\"
.\" 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
-.\" HEWLETT-PACKARD COMPANY 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
+.\" FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
+.\" HEWLETT-PACKARD COMPANY 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 Hewlett-Packard Company shall not
-.\" be used in advertising or otherwise to promote the sale, use or other
-.\" dealing in this Software without prior written authorization from the
+.\"
+.\" Except as contained in this notice, the name of the Hewlett-Packard Company shall not
+.\" be used in advertising or otherwise to promote the sale, use or other
+.\" dealing in this Software without prior written authorization from the
.\" Hewlett-Packard Company.
.\"
.TH XdbeEndIdiom __libmansuffix__ __xorgversion__ "X FUNCTIONS"
.\" Copyright (c) 1995 Hewlett-Packard Company
-.\"
+.\"
.\" 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
+.\" 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 furnished to do so, subject to the following conditions:
-.\"
+.\"
.\" 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
-.\" HEWLETT-PACKARD COMPANY 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
+.\" FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
+.\" HEWLETT-PACKARD COMPANY 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 Hewlett-Packard Company shall not
-.\" be used in advertising or otherwise to promote the sale, use or other
-.\" dealing in this Software without prior written authorization from the
+.\"
+.\" Except as contained in this notice, the name of the Hewlett-Packard Company shall not
+.\" be used in advertising or otherwise to promote the sale, use or other
+.\" dealing in this Software without prior written authorization from the
.\" Hewlett-Packard Company.
.\"
.TH XdbeFreeVisualInfo __libmansuffix__ __xorgversion__ "X FUNCTIONS"
.\" Copyright (c) 1995 Hewlett-Packard Company
-.\"
+.\"
.\" 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
+.\" 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 furnished to do so, subject to the following conditions:
-.\"
+.\"
.\" 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
-.\" HEWLETT-PACKARD COMPANY 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
+.\" FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
+.\" HEWLETT-PACKARD COMPANY 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 Hewlett-Packard Company shall not
-.\" be used in advertising or otherwise to promote the sale, use or other
-.\" dealing in this Software without prior written authorization from the
+.\"
+.\" Except as contained in this notice, the name of the Hewlett-Packard Company shall not
+.\" be used in advertising or otherwise to promote the sale, use or other
+.\" dealing in this Software without prior written authorization from the
.\" Hewlett-Packard Company.
.\"
.TH XdbeGetBackBufferAttributes __libmansuffix__ __xorgversion__ "X FUNCTIONS"
.RS
Window window window that buffer belongs to
.RE
-
+
If buffer is not a valid
.I XdbeBackBuffer,
window returns None.
The returned
.I XdbeBackBufferAttributes
-structure can be freed with the
+structure can be freed with the
Xlib function
.B Xfree().
.SH SEE ALSO
.\" Copyright (c) 1995 Hewlett-Packard Company
-.\"
+.\"
.\" 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
+.\" 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 furnished to do so, subject to the following conditions:
-.\"
+.\"
.\" 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
-.\" HEWLETT-PACKARD COMPANY 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
+.\" FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
+.\" HEWLETT-PACKARD COMPANY 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 Hewlett-Packard Company shall not
-.\" be used in advertising or otherwise to promote the sale, use or other
-.\" dealing in this Software without prior written authorization from the
+.\"
+.\" Except as contained in this notice, the name of the Hewlett-Packard Company shall not
+.\" be used in advertising or otherwise to promote the sale, use or other
+.\" dealing in this Software without prior written authorization from the
.\" Hewlett-Packard Company.
.\"
.TH XdbeGetVisualInfo __libmansuffix__ __xorgversion__ "X FUNCTIONS"
This function returns information about which visuals support double
buffering. The argument
.I num_screens
-specifies how many elements there are
+specifies how many elements there are
in the
.I screen_specifiers
list. Each drawable in
.I screen_specifiers
-designates a
+designates a
screen for which the supported visuals are being requested. If
.I num_screens
is zero, information for all screens is requested. In this case, upon return
structures of length
.I num_screens.
The nth
-element in the returned list corresponds to the nth drawable in the
+element in the returned list corresponds to the nth drawable in the
.I screen_specifiers
list, unless
.I num_screens
.\" Copyright (c) 1995 Hewlett-Packard Company
-.\"
+.\"
.\" 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
+.\" 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 furnished to do so, subject to the following conditions:
-.\"
+.\"
.\" 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
-.\" HEWLETT-PACKARD COMPANY 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
+.\" FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
+.\" HEWLETT-PACKARD COMPANY 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 Hewlett-Packard Company shall not
-.\" be used in advertising or otherwise to promote the sale, use or other
-.\" dealing in this Software without prior written authorization from the
+.\"
+.\" Except as contained in this notice, the name of the Hewlett-Packard Company shall not
+.\" be used in advertising or otherwise to promote the sale, use or other
+.\" dealing in this Software without prior written authorization from the
.\" Hewlett-Packard Company.
.\"
.TH XdbeQueryExtension __libmansuffix__ __xorgversion__ "X FUNCTIONS"
and
.I minor_version_return
to the major and minor
-DBE protocol version supported by the server. If the DBE library is
+DBE protocol version supported by the server. If the DBE library is
compatible with the version returned by the server, this function returns
non-zero. If
.I dpy
.\" Copyright (c) 1995 Hewlett-Packard Company
-.\"
+.\"
.\" 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
+.\" 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 furnished to do so, subject to the following conditions:
-.\"
+.\"
.\" 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
-.\" HEWLETT-PACKARD COMPANY 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
+.\" FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
+.\" HEWLETT-PACKARD COMPANY 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 Hewlett-Packard Company shall not
-.\" be used in advertising or otherwise to promote the sale, use or other
-.\" dealing in this Software without prior written authorization from the
+.\"
+.\" Except as contained in this notice, the name of the Hewlett-Packard Company shall not
+.\" be used in advertising or otherwise to promote the sale, use or other
+.\" dealing in this Software without prior written authorization from the
.\" Hewlett-Packard Company.
.\"
.TH XdbeSwapBuffers __libmansuffix__ __xorgversion__ "X FUNCTIONS"
.\" Copyright (c) 1997 Silicon Graphics, Inc.
-.\"
+.\"
.\" 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
+.\" 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 furnished to do so, subject to the following conditions:
-.\"
+.\"
.\" 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
-.\" SILICON GRAPHICS, INC. 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
+.\" FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
+.\" SILICON GRAPHICS, INC. 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 Silicon Graphics, Inc. shall not
-.\" be used in advertising or otherwise to promote the sale, use or other
+.\"
+.\" Except as contained in this notice, the name of Silicon Graphics, Inc. shall not
+.\" be used in advertising or otherwise to promote the sale, use or other
.\" dealing in this Software without prior written authorization from
.\" Silicon Graphics, Inc.
.\"
XeviQueryExtension (Display *dpy);
.LP
Bool
-XeviQueryVersion (Display *dpy,
+XeviQueryVersion (Display *dpy,
int *major_version_return,
int *minor_version_return);
.LP
will be called and the function will then return.
.PP
.BR XeviQueryExtension
-returns
+returns
.BR True
if the Extended Visual Information extension is available on the given display.
A client must call
.PP
.BR XeviGetVisualInfo
returns a list of ExtendedVisualInfo structures that describe
-visual information beyond that supported by the core protocol. This includes
+visual information beyond that supported by the core protocol. This includes
layer information relevant for systems supporting overlays and/or underlay
planes, and information that allows applications better to determine the level
-of hardware support for multiple colormaps. XeviGetVisualInfo returns
-.BR Success
+of hardware support for multiple colormaps. XeviGetVisualInfo returns
+.BR Success
if successful, or an X error otherwise.
If the argument
.I visual
-is NULL, then information for all visuals of all
+is NULL, then information for all visuals of all
screens is returned. Otherwise, it's a pointer to a list of visuals for which
extended visual information is desired.
.I n_visual
.in +.5i
.nf
.ta 1.6i
-VisualID \fIcore_visual_id\fR
-int \fIscreen\fR
-int \fIlevel\fR
-unsigned int \fItransparency_type\fR
-unsigned int \fItransparency_value\fR
+VisualID \fIcore_visual_id\fR
+int \fIscreen\fR
+int \fIlevel\fR
+unsigned int \fItransparency_type\fR
+unsigned int \fItransparency_value\fR
unsigned int \fImin_hw_colormaps\fR
unsigned int \fImax_hw_colormaps\fR
unsigned int \fInum_colormap_conflicts\fR
VisualID * \fIcolormap_conflicts\fR
.fi
.LP
-The combination of
+The combination of
.I core_visual_id
and
.I screen
and
.I max_hw_colormaps
return the minimum and maximum number of hardware colormaps backing up the
-visual.
+visual.
.LP
.I num_colormap_conflicts
-returns the number of elements in
+returns the number of elements in
.I colormap_conflicts.
This array returns a list of visuals that may cause conflicts in the use of the
hardware colormap. For example, if a 12-bit hardware colormap is overloaded to
.\" Copyright (c) 1989, 1994 X Consortium
-.\"
+.\"
.\" 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
+.\" 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 furnished to do so, subject to the following conditions:
-.\"
+.\"
.\" 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 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
+.\" 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.
-.\"
-.\" 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
-.\" dealing in this Software without prior written authorization from the
+.\"
+.\" 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
+.\" dealing in this Software without prior written authorization from the
.\" X Consortium.
.\"
.\" Copyright 1989, Digital Equipment Corporation.
-.\" Permission to use, copy, modify, distribute, and sell this documentation
+.\" Permission to use, copy, modify, distribute, and sell this documentation
.\" for any purpose and without fee is hereby granted, provided that the above
.\" copyright notice and this permission notice appear in all copies.
.\" Digital Equipment Corporation makes no representations
will be called and the function will then return.
.PP
.ZN XmbufQueryExtension
-returns
+returns
.ZN True
-if the multibuffering/stereo
+if the multibuffering/stereo
extension is available on the
given display. If the extension exists, the value of the first event
code (which should be added to the event type constants
.ZN MultibufferClobberNotify
-and
+and
.ZN MultibufferUpdateNotify
to get the actual
values) is stored into event_base_return and the value of the first
to get the actual value) is stored into error_base_return.
.PP
.ZN XmbufGetVersion
-gets the major and minor version numbers of the extension.
+gets the major and minor version numbers of the extension.
The return
value is zero if an error occurs or non-zero if no error happens.
.PP
.ZN XmbufCreateBuffers
-requests that "count" buffers be
+requests that "count" buffers be
created with the given update_action
and update_hint and be associated with the indicated window. The
number of buffers created is returned (zero if an error occurred)
and buffers_update is filled in with that many Multibuffer identifiers.
.PP
.ZN XmbufDestroyBuffers
-destroys the buffers associated
+destroys the buffers associated
with the given window.
.PP
.ZN XmbufDisplayBuffers
error is generated.
.PP
.ZN XmbufGetWindowAttributes
-gets the multibuffering attributes that apply
+gets the multibuffering attributes that apply
to all buffers associated
with the given window.
-The list of buffers returns may be freed with
+The list of buffers returns may be freed with
.ZN XFree .
Returns non-zero on success and zero if an error occurs.
.PP
.ZN XmbufChangeWindowAttributes
-sets the multibuffering attributes
+sets the multibuffering attributes
that apply to all buffers associated
with the given window. This is currently limited to the update_hint.
.PP
created on the screen of the given drawable. The numbers of sets of
visual and depths are returned in nmono_return and nstereo_return. If
nmono_return is greater than zero, then mono_info_return is set to the
-address of an array of
+address of an array of
.ZN XmbufBufferInfo
structures describing the
various visuals and depths that may be used. Otherwise,
mono_info_return is set to NULL. Similarly, stereo_info_return is set
according to nstereo_return. The storage returned in mono_info_return
-and stereo_info_return may be released by
+and stereo_info_return may be released by
.ZN XFree .
If no errors are
encounted, non-zero will be returned.
.PP
.ZN XmbufCreateStereoWindow
-creates a stereo window in the same way that
+creates a stereo window in the same way that
.ZN XCreateWindow
creates a mono window. The buffer ids for the left and right buffers are
returned in left_return and right_return, respectively. If an
-extension error handler that returns is installed,
+extension error handler that returns is installed,
.ZN None
will be returned if the extension is not available on this display.
.SH PREDEFINED VALUES
Update_action field:
.in +.5i
.nf
-.ZN MultibufferUpdateActionUndefined
+.ZN MultibufferUpdateActionUndefined
.ZN MultibufferUpdateActionBackground
.ZN MultibufferUpdateActionUntouched
.ZN MultibufferUpdateActionCopied
Update_hint field:
.in +.5i
.nf
-.ZN MultibufferUpdateHintFrequent
+.ZN MultibufferUpdateHintFrequent
.ZN MultibufferUpdateHintIntermittent
-.ZN MultibufferUpdateHintStatic
+.ZN MultibufferUpdateHintStatic
.in -.5i
.sp
.fi
Mono vs. stereo and left vs. right:
.in +.5i
.nf
-.ZN MultibufferModeMono
+.ZN MultibufferModeMono
.ZN MultibufferModeStereo
.ZN MultibufferSideMono
.ZN MultibufferSideLeft
-.ZN MultibufferSideRight
+.ZN MultibufferSideRight
.in -.5i
.fi
.sp
Clobber state:
.in +.5i
.nf
-.ZN MultibufferUnclobbered
+.ZN MultibufferUnclobbered
.ZN MultibufferPartiallyClobbered
-.ZN MultibufferFullyClobbered
+.ZN MultibufferFullyClobbered
.in -.5i
.fi
.sp
--- /dev/null
+Summary: X.Org X11 libXext runtime library
+Name: libXext
+Version: 1.3.1
+Release: 1
+License: MIT
+Group: System Environment/Libraries
+URL: http://www.x.org
+
+Source0: %{name}-%{version}.tar.gz
+
+BuildRequires: pkgconfig(xorg-macros)
+BuildRequires: pkgconfig(xproto)
+BuildRequires: pkgconfig(xextproto)
+BuildRequires: libX11-devel
+BuildRequires: libXau-devel
+BuildRequires: xorg-x11-xutils-dev
+BuildRequires: autoconf automake libtool pkgconfig
+
+%description
+X.Org X11 libXext runtime library
+
+%package devel
+Summary: X.Org X11 libXext development package
+Group: Development/Libraries
+Provides: libxext-devel
+Requires: %{name} = %{version}-%{release}
+Requires: libX11-devel
+Requires: pkgconfig(xorg-macros)
+
+%description devel
+X.Org X11 libXext development package
+
+%prep
+%setup -q
+
+%build
+%reconfigure --disable-static \
+ LDFLAGS="${LDFLAGS} -Wl,--hash-style=both -Wl,--as-needed"
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+make install DESTDIR=$RPM_BUILD_ROOT
+
+# We intentionally don't ship *.la files
+rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
+
+# do this with %%doc below
+rm -rf $RPM_BUILD_ROOT%{_docdir}
+
+%remove_docs
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root,-)
+%doc AUTHORS COPYING
+%{_libdir}/libXext.so.6
+%{_libdir}/libXext.so.6.4.0
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/X11/extensions/MITMisc.h
+%{_includedir}/X11/extensions/XEVI.h
+%{_includedir}/X11/extensions/XLbx.h
+%{_includedir}/X11/extensions/XShm.h
+%{_includedir}/X11/extensions/Xag.h
+%{_includedir}/X11/extensions/Xcup.h
+%{_includedir}/X11/extensions/Xdbe.h
+%{_includedir}/X11/extensions/Xext.h
+%{_includedir}/X11/extensions/Xge.h
+%{_includedir}/X11/extensions/dpms.h
+%{_includedir}/X11/extensions/extutil.h
+%{_includedir}/X11/extensions/multibuf.h
+%{_includedir}/X11/extensions/security.h
+%{_includedir}/X11/extensions/shape.h
+%{_includedir}/X11/extensions/sync.h
+%{_includedir}/X11/extensions/xtestext1.h
+%{_libdir}/libXext.so
+%{_libdir}/pkgconfig/xext.pc
+#%dir %{_mandir}/man3x
+#%{_mandir}/man3/*.3*
\ No newline at end of file
+++ /dev/null
-Name: libxext
-Summary: X.Org X11 libXext runtime library
-Version: 1.2.0
-Release: 2.4
-Group: System/Libraries
-License: MIT
-URL: http://www.x.org/
-Source0: http://cgit.freedesktop.org/xorg/lib/libXext/snapshot/%{name}-%{version}.tar.gz
-Requires(post): /sbin/ldconfig
-Requires(postun): /sbin/ldconfig
-BuildRequires: pkgconfig(xorg-macros)
-BuildRequires: pkgconfig(xproto)
-BuildRequires: pkgconfig(x11)
-BuildRequires: pkgconfig(xextproto)
-BuildRequires: pkgconfig(xau)
-
-
-%description
-Description: %{summary}
-
-
-%package devel
-Summary: Development components for the libXext library
-Group: Development/Libraries
-Requires: %{name} = %{version}-%{release}
-
-%description devel
-Description: %{summary}
-
-
-%prep
-%setup -q -n %{name}-%{version}
-
-
-
-%build
-export LDFLAGS+=" -Wl,--hash-style=both -Wl,--as-needed"
-%reconfigure
-
-# Call make instruction with smp support
-make %{?jobs:-j%jobs}
-
-%install
-rm -rf %{buildroot}
-%make_install
-
-
-%clean
-rm -rf %{buildroot}
-
-
-
-%post -p /sbin/ldconfig
-
-%postun -p /sbin/ldconfig
-
-
-
-%files
-%defattr(-,root,root,-)
-%doc AUTHORS COPYING
-%{_libdir}/libXext.so.6
-%{_libdir}/libXext.so.6.4.0
-
-
-%files devel
-%defattr(-,root,root,-)
-%{_includedir}/X11/extensions/*.h
-%{_libdir}/libXext.so
-%{_libdir}/pkgconfig/xext.pc
-%doc %{_mandir}/man3/*.3*
-%doc %{_docdir}/libXext/*
-
-#
-# 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 = dbelib.xml dpmslib.xml shapelib.xml synclib.xml
-dist_doc_DATA = $(doc_sources)
-if HAVE_XMLTO
-doc_DATA = $(doc_sources:.xml=.html)
+# Main DocBook/XML files (DOCTYPE book)
+docbook = dbelib.xml dpmslib.xml shapelib.xml synclib.xml xtest1.xml
-if HAVE_FOP
-doc_DATA += $(doc_sources:.xml=.ps) $(doc_sources:.xml=.pdf)
-endif
+# The location where the DocBook/XML files and their generated formats are installed
+shelfdir = $(docdir)
-if HAVE_XMLTO_TEXT
-doc_DATA += $(doc_sources:.xml=.txt)
-endif
+# Generate DocBook/XML output formats with or without stylesheets
+include $(top_srcdir)/docbook.am
-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
<?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">
+<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+<!ENTITY % defs SYSTEM "defs.ent"> %defs;
+]>
<!-- lifted from troff+ms+XMan by doclifter -->
<bookinfo>
<title>Double Buffer Extension Library</title>
<subtitle>X Consortium Standard</subtitle>
- <!-- <releaseinfo>X Version 11, Release 6.4</releaseinfo> -->
+ <releaseinfo>X Version 11, Release &fullrelvers;</releaseinfo>
+ <releaseinfo>Version 1.0</releaseinfo>
<authorgroup>
<author>
<firstname>Ian</firstname><surname>Elliot</surname>
+ <affiliation><orgname>Hewlett-Packard Company</orgname></affiliation>
</author>
+ <othercredit>
+ <firstname>David</firstname><othername>P.</othername><surname>Wiggins</surname>
+ <affiliation><orgname>X Consortium, Inc</orgname></affiliation>
+ </othercredit>
</authorgroup>
- <othercredit>
- <firstname>Davide</firstname><surname>Wiggins</surname>
- </othercredit>
- <corpname>Hewlett-Packard Company</corpname>
- <copyright><year>1989</year><holder>X Consortium, Inc and Digital Equipment Corporation</holder></copyright>
- <copyright><year>1992</year><holder>X Consortium, Inc and Intergraph Corporation</holder></copyright>
- <copyright><year>1993</year><holder>X Consortium, Inc and Silicon Graphics, Inc.</holder></copyright>
- <copyright><year>1994</year><holder>X Consortium, Inc and Hewlett-Packard Company</holder></copyright>
- <copyright><year>1995</year><holder>X Consortium, Inc and Hewlett-Packard Company</holder></copyright>
- <releaseinfo>Version 1.0</releaseinfo>
- <affiliation><orgname>X Consortium</orgname></affiliation>
- <productnumber>X Version 11, Release 7</productnumber>
+ <copyright><year>1989</year>
+ <holder>X Consortium Inc</holder>
+ <holder>Digital Equipment Corporation</holder>
+ </copyright>
+ <copyright><year>1992</year>
+ <holder>X Consortium Inc</holder>
+ <holder>Intergraph Corporation</holder>
+ </copyright>
+ <copyright><year>1993</year>
+ <holder>X Consortium Inc</holder>
+ <holder>Silicon Graphics, Inc.</holder>
+ </copyright>
+ <copyright><year>1994</year><year>1995</year>
+ <holder>X Consortium Inc</holder>
+ <holder>Hewlett-Packard Company</holder>
+ </copyright>
<legalnotice>
<para>
</bookinfo>
-<chapter id="introduction">
+<chapter id='Introduction'>
<title>Introduction</title>
<para>
The Double Buffer Extension (DBE) provides a standard way to utilize
</chapter>
-<chapter id="goals">
+<chapter id='Goals'>
<title>Goals</title>
<para>
</chapter>
-<chapter id="concepts">
+<chapter id='Concepts'>
<title>Concepts</title>
<para>
Normal windows are created using the core CreateWindow request, which
should investigate the Synchronization Extension, an X Consortium standard.
</para>
-<sect1 id="window_management_operations">
+<sect1 id='Window_Management_Operations'>
<title>Window Management Operations</title>
<para>
</sect1>
-<sect1 id="complex_swap_actions">
+<sect1 id='Complex_Swap_Actions'>
<title>Complex Swap Actions</title>
<para>
DBE has no explicit knowledge of ancillary buffers (for example, depth buffers
</sect1>
</chapter>
-<chapter id="c_language_bindings">
+<chapter id='C_Language_Binding'>
<title>C Language Binding</title>
<para>
All identifier The header for this extension is <X11/extensions/Xdbe.h>.
names provided by this header begin with Xdbe.
</para>
-<sect1 id="types">
+<sect1 id='Types'>
<title>Types</title>
<para>
</sect1>
-<sect1 id="c_functions">
+<sect1 id='C_Functions'>
<title>C Functions</title>
<para>
The C functions provide direct access to the protocol and add no additional
zero for failure.
</para>
-<funcsynopsis>
+<funcsynopsis id='XdbeQueryExtension'>
<funcprototype>
<funcdef>Status <function>XdbeQueryExtension</function></funcdef>
<paramdef>Display <parameter> *dpy</parameter></paramdef>
</funcsynopsis>
<para>
-<function>XdbeQueryExtension</function> sets major version return and minor
+<olink targetdoc='dbelib' targetptr='XdbeQueryExtension'><function>XdbeQueryExtension</function></olink> sets major version return and minor
version return to the major and minor DBE protocol version supported by
the server. If the DBE library is compatible with the version returned by
the server, it returns nonzero. If dpy does not support the DBE extension,
are undefined.
</para>
-<funcsynopsis>
+<funcsynopsis id='XdbeGetVisualInfo'>
<funcprototype>
<funcdef>XdbeScreenVisualInfo *<function>XdbeGetVisualInfo</function></funcdef>
<paramdef>Display <parameter> *dpy</parameter></paramdef>
<para>
-<function>XdbeGetVisualInfo</function> returns information about which
+<olink targetdoc='dbelib' targetptr='XdbeGetVisualInfo'><function>XdbeGetVisualInfo</function></olink> returns information about which
visuals support double buffering. The argument num_screens specifies how
many elements there are in the screen_specifiers list. Each drawable in
screen_specifiers designates a screen for which the supported visuals are
<para>
<function>XdbeFreeVisualInfo</function> frees the list of
<function>XdbeScreenVisualInfo</function> returned by
-<function>XdbeGetVisualInfo</function>.
+<olink targetdoc='dbelib' targetptr='XdbeGetVisualInfo'><function>XdbeGetVisualInfo</function></olink>.
</para>
-<funcsynopsis>
+<funcsynopsis id='XdbeAllocateBackBufferName'>
<funcprototype>
<funcdef>XdbeBackBuffer <function>XdbeAllocateBackBufferName</function></funcdef>
<paramdef>Display <parameter> *dpy</parameter></paramdef>
<para>
-<function>XdbeAllocateBackBufferName</function> returns a drawable ID used
+<olink targetdoc='dbelib' targetptr='XdbeAllocateBackBufferName'><function>XdbeAllocateBackBufferName</function></olink> returns a drawable ID used
to refer to the back buffer of the specified window. The swap_action is a
hint to indicate the swap_action that will likely be used in subsequent
-calls to <function>XdbeSwapBuffers</function>. The actual swap_action
-used in calls to <function>XdbeSwapBuffers</function> does not have to be
+calls to <olink targetdoc='dbelib' targetptr='XdbeSwapBuffers'><function>XdbeSwapBuffers</function></olink>. The actual swap_action
+used in calls to <olink targetdoc='dbelib' targetptr='XdbeSwapBuffers'><function>XdbeSwapBuffers</function></olink> does not have to be
the same as the swap_action passed to this function, though clients are
encouraged to provide accurate information whenever possible.
</para>
-<funcsynopsis>
+<funcsynopsis id='XdbeDeallocateBackBufferName'>
<funcprototype>
<funcdef>Status <function>XdbeDeallocateBackBufferName</function></funcdef>
<paramdef>Display <parameter> *dpy</parameter></paramdef>
</funcsynopsis>
<para>
-<function>XdbeDeallocateBackBufferName</function> frees the specified
+<olink targetdoc='dbelib' targetptr='XdbeDeallocateBackBufferName'><function>XdbeDeallocateBackBufferName</function></olink> frees the specified
drawable ID, buffer, that was obtained via
-<function>XdbeAllocateBackBufferName</function>. The buffer must be a valid
+<olink targetdoc='dbelib' targetptr='XdbeAllocateBackBufferName'><function>XdbeAllocateBackBufferName</function></olink>. The buffer must be a valid
name for the back buffer of a window, or an
<function>XdbeBadBuffer</function> error results.
</para>
-<funcsynopsis>
+<funcsynopsis id='XdbeSwapBuffers'>
<funcprototype>
<funcdef>Status <function>XdbeSwapBuffers</function></funcdef>
<paramdef>Display <parameter> *dpy</parameter></paramdef>
</funcsynopsis>
<para>
-<function>XdbeSwapBuffers</function> swaps the front and back buffers
+<olink targetdoc='dbelib' targetptr='XdbeSwapBuffers'><function>XdbeSwapBuffers</function></olink> swaps the front and back buffers
for a list of windows. The argument num_windows specifies how many windows
are to have their buffers swapped; it is the number of elements in the
swap_info array. The argument swap_info specifies the information needed
XdbeSwapAction swap_action swap action to use for this swap window
</literallayout>
-<funcsynopsis>
+<funcsynopsis id='XdbeBeginIdiom'>
<funcprototype>
<funcdef>Status <function>XdbeBeginIdiom</function></funcdef>
<paramdef>Display <parameter> *dpy</parameter></paramdef>
</funcsynopsis>
<para>
-<function>XdbeBeginIdiom</function> marks the beginning of an idiom
+<olink targetdoc='dbelib' targetptr='XdbeBeginIdiom'><function>XdbeBeginIdiom</function></olink> marks the beginning of an idiom
sequence. See
-<link linkend="complex_swap_actions">
-<xref linkend="complex_swap_actions"></xref></link>
+<link linkend='Complex_Swap_Actions'>
+<xref linkend='Complex_Swap_Actions'></xref></link>
for a complete discussion of idioms.
</para>
-<funcsynopsis>
+<funcsynopsis id='XdbeEndIdiom'>
<funcprototype>
<funcdef>Status <function>XdbeEndIdiom</function></funcdef>
<paramdef>Display <parameter> *dpy</parameter></paramdef>
</funcsynopsis>
<para>
-<function>XdbeEndIdiom</function> marks the end of an idiom sequence.
+<olink targetdoc='dbelib' targetptr='XdbeEndIdiom'><function>XdbeEndIdiom</function></olink> marks the end of an idiom sequence.
</para>
-<funcsynopsis>
+<funcsynopsis id='XdbeGetBackBufferAttributes'>
<funcprototype>
<funcdef>XdbeBackBufferAttributes *<function>XdbeGetBackBufferAttributes</function></funcdef>
<paramdef>Display <parameter> *dpy</parameter></paramdef>
</funcsynopsis>
<para>
-<function>XdbeGetBackBufferAttributes</function> returns the attributes associated with
+<olink targetdoc='dbelib' targetptr='XdbeGetBackBufferAttributes'><function>XdbeGetBackBufferAttributes</function></olink> returns the attributes associated with
the specified buffer.
</para>
<para>
</para>
<para>
The returned <function>XdbeBackBufferAttributes</function> structure
-can be freed with the Xlib function <function>XFree</function>.
+can be freed with the Xlib function <olink targetdoc='libX11' targetptr='XFree'><function>XFree</function></olink>.
</para>
</sect1>
-<sect1 id="errors">
+<sect1 id='Errors'>
<title>Errors</title>
<para>
The <function>XdbeBufferError</function> structure has the following fields:
</sect1>
</chapter>
-<chapter id="acknowledgements">
+<chapter id='Acknowledgements'>
<title>Acknowledgements</title>
<para>
</para>
</chapter>
-<chapter id="references">
+<chapter id='References'>
<title>References</title>
<para>
Jeffrey Friedberg, Larry Seiler, and Jeff Vroom, "Multi-buffering Extension
<?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">
+<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+<!ENTITY % defs SYSTEM "defs.ent"> %defs;
+]>
<!-- lifted from troff+ms+XMan by doclifter -->
<book id="dpmslib">
<bookinfo>
<title>X Display Power Management Signaling (DPMS) Extension</title>
<subtitle>X Consortium Standard</subtitle>
- <releaseinfo>X Version 11, Release 6.8</releaseinfo>
+ <releaseinfo>X Version 11, Release &fullrelvers;</releaseinfo>
+ <releaseinfo>Version 1.0</releaseinfo>
<authorgroup>
<author>
<firstname>Rob</firstname><surname>Lembree</surname>
+ <affiliation><orgname>Digital Equipment Corporation</orgname></affiliation>
+ <email>lembree@zk3.dec.com</email>
</author>
</authorgroup>
- <corpname>Digital Equipment Corporation</corpname>
- <copyright><year>1996</year><holder>X Consortium</holder></copyright>
- <releaseinfo>Version 1.0</releaseinfo>
- <affiliation><orgname>X Consortium</orgname></affiliation>
- <productnumber>X Version 11, Release 6.8</productnumber>
+ <copyright><year>1996</year><holder>Digital Equipment Corporation</holder></copyright>
<legalnotice>
<para>
provided "as is" without express or implied warranty.
</para>
-<para>
-<emphasis remap='I'>X Window System</emphasis> is a trademark of The Open Group.
-</para>
+<para>X Window System is a trademark of The Open Group.</para>
</legalnotice>
</bookinfo>
<title>DPMS Functions</title>
-<funcsynopsis>
+<funcsynopsis id='DPMSQueryExtention'>
<funcprototype>
<funcdef>Bool <function>DPMSQueryExtention</function></funcdef>
<paramdef>Display <parameter>*display</parameter></paramdef>
<emphasis remap='I'>error_base</emphasis> are undefined.
</para>
-<funcsynopsis>
+<funcsynopsis id='DPMSGetVersion'>
<funcprototype>
<funcdef>Status <function>DPMSGetVersion</function></funcdef>
<paramdef>Display <parameter>*display</parameter></paramdef>
upwardly compatible changes.
</para>
-<funcsynopsis>
+<funcsynopsis id='DPMSCapable'>
<funcprototype>
<funcdef>Bool <function>DPMSCapable</function></funcdef>
<paramdef>Display <parameter>*display</parameter></paramdef>
this function is defined by the X server implementation.
</para>
-<funcsynopsis>
+<funcsynopsis id='DPMSSetTimeouts'>
<funcprototype>
<funcdef>Status <function>DPMSSetTimeouts</function></funcdef>
<paramdef>Display <parameter>*display</parameter></paramdef>
are supplied, a BadValue error will result.
</para>
-<funcsynopsis>
+<funcsynopsis id='DPMSGetTimeouts'>
<funcprototype>
<funcdef>Status <function>DPMSGetTimeouts</function></funcdef>
<paramdef>Display <parameter>*display</parameter></paramdef>
invoked. A value of zero indicates that this mode has been disabled.
</para>
-<funcsynopsis>
+<funcsynopsis id='DPMSEnable'>
<funcprototype>
<funcdef>Status <function>DPMSEnable</function></funcdef>
<paramdef>Display <parameter>*display</parameter></paramdef>
support for DPMS, no change is made and no error is returned.
</para>
-<funcsynopsis>
+<funcsynopsis id='DPMSDisable'>
<funcprototype>
<funcdef>Status <function>DPMSDisable</function></funcdef>
<paramdef>Display <parameter>*display</parameter></paramdef>
without support for DPMS, no change is made and no error is returned.
</para>
-<funcsynopsis>
+<funcsynopsis id='DPMSForceLevel'>
<funcprototype>
<funcdef>Status <function>DPMSForceLevel</function></funcdef>
<paramdef>Display <parameter>*display</parameter></paramdef>
<para>Status DPMSInfo(<emphasis remap='I'>display, power_level, state</emphasis>)</para>
-<funcsynopsis>
+<funcsynopsis id='DPMSInfo'>
<funcprototype>
<funcdef>Status <function>DPMSInfo</function></funcdef>
<paramdef>Display <parameter>*display</parameter></paramdef>
<?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">
+<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+<!ENTITY % defs SYSTEM "defs.ent"> %defs;
+]>
<!-- lifted from troff+ms+XMan by doclifter -->
<book id="shapelib">
<bookinfo>
<title>X Nonrectangular Window Shape Extension Library</title>
<subtitle>X Consortium Standard</subtitle>
- <releaseinfo>X Version 11, Release 6.4</releaseinfo>
+ <releaseinfo>X Version 11, Release &fullrelvers;</releaseinfo>
+ <releaseinfo>Version 1.0</releaseinfo>
<authorgroup>
<author>
<firstname>Keith</firstname><surname>Packard</surname>
+ <affiliation><orgname>MIT X Consortium</orgname></affiliation>
</author>
</authorgroup>
- <corpname>MIT X Consortium</corpname>
<copyright><year>1989</year><holder>X Consortium</holder></copyright>
- <releaseinfo>Version 1.0</releaseinfo>
- <affiliation><orgname>MIT X Consortium</orgname></affiliation>
- <productnumber>X Version 11, Release 6.4</productnumber>
<legalnotice>
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 OpenGroup.</para>
</legalnotice>
</bookinfo>
<para>
Each window (even with no shapes specified) is defined by two regions: the
-<emphasis remap='I'>bounding region</emphasis> and the
-<emphasis remap='I'>clip region</emphasis>. The bounding region is the
+<olink targetdoc='shapelib' targetptr='bounding_region'>bounding region</olink>
+and the
+<olink targetdoc='shapelib' targetptr='clip_region'>clip region</olink>.
+The bounding region is the
area of the parent window that the window will occupy (including border).
The clip region is the subset of the bounding region that is available for
subwindows and graphics. The area between the bounding region and the
the window, including its border; the clip region will be a rectangle
filling the inside dimensions (not including the border). In this document,
these areas are referred to as the
-<emphasis remap='I'>default bounding region</emphasis> and the
-<emphasis remap='I'>default clip region</emphasis>. For a window with
+<olink targetdoc='shapelib' targetptr='default_bounding_region'>
+default bounding region</olink> and the
+<olink targetdoc='shapelib' targetptr='default_clip_region'>
+default clip region</olink>. For a window with
inside size of <emphasis remap='I'>width</emphasis> by
<emphasis remap='I'>height</emphasis> and border width
<emphasis remap='I'>bwidth</emphasis>, the default bounding and clip
This extension allows a client to modify either or both of the bounding or
clip regions by specifying new regions that combine with the default
regions. These new regions are called the
-<emphasis remap='I'>client bounding region</emphasis> and the
-<emphasis remap='I'>client clip region</emphasis>. They are specified
+<olink targetdoc='shapelib' targetptr='client_bounding_region'>
+client bounding region</olink> and the
+<olink targetdoc='shapelib' targetptr='client_clip_region'>
+client clip region</olink>. They are specified
relative to the origin of the window and are always defined by offsets
relative to the window origin (that is, region adjustments are not
required when the window is moved). Three mechanisms for specifying
</para>
<para>
-The <emphasis remap='I'>effective bounding region</emphasis> of a window is
+The <olink targetdoc='shapelib' targetptr='effective_bounding_region'>
+effective bounding region</olink> of a window is
defined to be the intersection of the client bounding region with the default
bounding region. Any portion of the client bounding region that is not
included in the default bounding region will not be included in the
</para>
<para>
-The <emphasis remap='I'>effective clip region</emphasis> of a window is
+The <olink targetdoc='shapelib' targetptr='effective_clip_region'>
+effective clip region</olink> of a window is
defined to be the intersection of the client clip region with both the
default clip region and the client bounding region. Any portion of the
client clip region that is not included in both the default clip region
</para>
<para>An
-<function>InputOnly</function>
+<olink targetdoc='libX11' targetptr='glossary:InputOnly_window'>
+InputOnly</olink>
window can have its bounding region set, but it is a
-<function>Match</function>
+<olink targetdoc='libX11' targetptr='BadMatch'>Match</olink>
error to attempt to set a clip region on an
-<function>InputOnly</function>
+<olink targetdoc='libX11' targetptr='glossary:InputOnly_window'>InputOnly</olink>
window or to specify its clip region as a source to a request
in this extension.
</para>
and
<function>ShapeInvert</function>.</para>
-<funcsynopsis>
+<funcsynopsis id='xshapequeryextension'>
<funcprototype>
<funcdef>Bool<function> XShapeQueryExtension</function></funcdef>
<paramdef>Display <parameter>*display</parameter></paramdef>
the extension, the value returned here is not defined (nor useful).
</para>
-<funcsynopsis>
+<funcsynopsis id='xshapequeryversion'>
<funcprototype>
<funcdef>Status<function> XShapeQueryVersion</function></funcdef>
<paramdef>Display<parameter> *display</parameter></paramdef>
Otherwise, the arguments are not set and zero is returned.
</para>
-<funcsynopsis>
+<funcsynopsis id='xshapecombineregion'>
<funcprototype>
<funcdef><function>XShapeCombineRegion</function></funcdef>
<paramdef>Display<parameter> *display</parameter></paramdef>
<function>XShapeCombineRectangles</function>
</para>
-<funcsynopsis>
+<funcsynopsis id='xshapecombinerectangles'>
<funcprototype>
<funcdef><function>XShapeCombineRectangles</function></funcdef>
<paramdef>Display<parameter> *display</parameter></paramdef>
operation; otherwise, the request is ignored.
</para>
-<funcsynopsis>
+<funcsynopsis id='xshapecombinemask'>
<funcprototype>
<funcdef><function>XShapeCombineMask</function></funcdef>
<paramdef>Display<parameter> *display</parameter></paramdef>
operation; otherwise, the request is ignored.
</para>
-<funcsynopsis>
+<funcsynopsis id='xshapecombineshape'>
<funcprototype>
<funcdef><function>XShapeCombineShape</function></funcdef>
<paramdef>Display<parameter> *display</parameter></paramdef>
operation; otherwise, the request is ignored.
</para>
-<funcsynopsis>
+<funcsynopsis id='xshapeoffsetshape'>
<funcprototype>
<funcdef><function>XShapeOffsetShape</function></funcdef>
<paramdef><parameter>display</parameter></paramdef>
operation; otherwise, the request is ignored.
</para>
-<funcsynopsis>
+<funcsynopsis id='xshapequeryextents'>
<funcprototype>
<funcdef>Status <function>XShapeQueryExtents</function></funcdef>
<paramdef>Display<parameter> *display</parameter></paramdef>
zero is returned.
</para>
-<funcsynopsis>
+<funcsynopsis id='xshapeselectinput'>
<funcprototype>
<funcdef><function>XShapeSelectInput</function></funcdef>
<paramdef>Display<parameter> *display</parameter></paramdef>
} XShapeEvent;
</literallayout>
-<funcsynopsis>
+<funcsynopsis id='xshapeinputselected'>
<funcprototype>
<funcdef>unsigned long <function>XShapeInputSelected</function></funcdef>
<paramdef>Display<parameter> *display</parameter></paramdef>
If the extension is not supported, it returns zero.
</para>
-<funcsynopsis>
+<funcsynopsis id='xshapegetrectangles'>
<funcprototype>
<funcdef>XRectangle<function> *XShapeGetRectangles</function></funcdef>
<paramdef>Display<parameter> *display</parameter></paramdef>
<glossary id='glossary'>
-<glossdiv>
-<title>Glossary</title>
<glossentry id='bounding_region'>
<glossterm>bounding region</glossterm>
<glossdef><para>The area of the parent window that this window will occupy.
the effective clip region is the same as the default clip region.</para>
</glossdef>
</glossentry>
-
-</glossdiv>
</glossary>
</book>
<?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">
+<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+<!ENTITY % defs SYSTEM "defs.ent"> %defs;
+]>
<!-- lifted from troff+ms+XMan by doclifter -->
-<book id="recordlib">
+<book id="synclib">
<bookinfo>
<title>X Synchronization Extension Library</title>
<subtitle>X Consortium Standard</subtitle>
- <releaseinfo>X Version 11, Release 6.4</releaseinfo>
+ <releaseinfo>X Version 11, Release &fullrelvers;</releaseinfo>
+ <releaseinfo>Version 3.0</releaseinfo>
<authorgroup>
<author>
<firstname>Tim</firstname><surname>Glauert</surname>
- <affiliation><orgname>Olivetti Research/MultiWorks</orgname></affiliation>
+ <affiliation>
+ <orgname>Olivetti Research</orgname>
+ <orgdiv>MultiWorks</orgdiv>
+ </affiliation>
</author>
- <othercredit>
+ <author>
<firstname>Dave</firstname>
<surname>Carver</surname>
- <affiliation><orgname>Digital EquipmentCorporation, MIT/Project Athena</orgname></affiliation>
- </othercredit>
- <othercredit>
+ <affiliation>
+ <orgname>Digital Equipment Corporation</orgname>
+ <orgdiv>MIT/Project Athena</orgdiv>
+ </affiliation>
+ </author>
+ <author>
<firstname>Jim</firstname>
<surname>Gettys</surname>
- <affiliation><orgname>Digital EquipmentCorporation, Cambridge Research Laboratory</orgname></affiliation>
- </othercredit>
- <othercredit>
+ <affiliation>
+ <orgname>Digital Equipment Corporation</orgname>
+ <orgdiv>Cambridge Research Laboratory</orgdiv>
+ </affiliation>
+ </author>
+ <author>
<firstname>David</firstname>
+ <othername>P.</othername>
<surname>Wiggins</surname>
<affiliation><orgname>X Consortium, Inc.</orgname></affiliation>
- </othercredit>
+ </author>
</authorgroup>
- <copyright><year>1991</year><holder>Olivetti Research Limited, Cambridge England and Digital Equipment Corporation, Maynard, Massachusetts</holder></copyright>
- <copyright><year>1991</year><holder>X Consortium</holder></copyright>
- <releaseinfo>Version 3.0</releaseinfo>
- <affiliation><orgname>X Consortium</orgname></affiliation>
- <productnumber>X Version 11, Release 6.4</productnumber>
-<legalnotice>
+ <copyright><year>1991</year>
+ <holder>Olivetti Research Limited, Cambridge England</holder>
+ <holder>Digital Equipment Corporation, Maynard, Massachusetts</holder>
+ </copyright>
+<legalnotice>
<para>
Permission to use, copy, modify, and distribute this documentation for any
purpose and without fee is hereby granted, provided that the above
of the information in this document. This documentation is provided as
is without express or implied warranty.
</para>
+</legalnotice>
+<legalnotice>
+<para role="multiLicensing">Copyright © 1991 X Consortium, Inc.</para>
<para>
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files
all copies or substantial portions of the Software.
</para>
-<para>THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+<para>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 X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR
dealings in this Software without prior written authorization from the
X Consortium.
</para>
+<para>X Window System is a trademark of The OpenGroup.</para>
</legalnotice>
</bookinfo>
Most of the following functions generate SYNC protocol requests.
</para>
-<funcsynopsis>
+<funcsynopsis id='xsyncqueryextension'>
<funcprototype>
<funcdef>Status <function>XSyncQueryExtension</function></funcdef>
<paramdef>Display <parameter> *dpy</parameter></paramdef>
does not support the SYNC extension, it returns False.
</para>
-<funcsynopsis>
+<funcsynopsis id='xsyncinitialize'>
<funcprototype>
<funcdef>Status <function>XSyncInitialize</function></funcdef>
<paramdef>Display <parameter> *dpy</parameter></paramdef>
calls that it makes are undefined.
</para>
-<funcsynopsis>
+<funcsynopsis id='xsynclistsystemcounters'>
<funcprototype>
<funcdef>XSyncSystemCounter *<function>XSyncListSystemCounters</function></funcdef>
<paramdef>Display <parameter> *dpy</parameter></paramdef>
XSyncValue resolution; /* resolution of this system counter */
</literallayout>
-<funcsynopsis>
+<funcsynopsis id='xsyncfreesystemcounterlist'>
<funcprototype>
<funcdef>void <function>XSyncFreeSystemCounterList</function></funcdef>
<paramdef>XSyncSystemCounter <parameter> *list</parameter></paramdef>
<function>XSyncListSystemCounters</function>.
</para>
-<funcsynopsis>
+<funcsynopsis id='xsynccreatecounter'>
<funcprototype>
<funcdef>XSyncCounter <function>XSyncCreateCounter</function></funcdef>
<paramdef>Display<parameter> *dpy</parameter></paramdef>
<function>None</function> if dpy does not support the SYNC extension.
</para>
-<funcsynopsis>
+<funcsynopsis id='xsyncsetcounter'>
<funcprototype>
<funcdef>Status <function>XSyncSetCounter</function></funcdef>
<paramdef>Display<parameter> *dpy</parameter></paramdef>
support the SYNC extension; otherwise, it returns <function>True</function>.
</para>
-<funcsynopsis>
+<funcsynopsis id='xsyncchangecounter'>
<funcprototype>
<funcdef>Status <function>XSyncChangeCounter</function></funcdef>
<paramdef>Display<parameter> *dpy</parameter></paramdef>
otherwise, it returns
<function>True</function>.
</para>
-<funcsynopsis>
+<funcsynopsis id='xsyncdestroycounter'>
<funcprototype>
<funcdef>Status <function>XSyncDestroyCounter</function></funcdef>
<paramdef>Display<parameter> *dpy</parameter></paramdef>
otherwise, it returns <function>True</function>.
</para>
-<funcsynopsis>
+<funcsynopsis id='xsyncquerycounter'>
<funcprototype>
<funcdef>Status <function>XSyncQueryCounter</function></funcdef>
<paramdef>Display<parameter> *dpy</parameter></paramdef>
SYNC extension; otherwise, it returns <function>True</function>.
</para>
-<funcsynopsis>
+<funcsynopsis id='xsyncawait'>
<funcprototype>
<funcdef>Status <function>XSyncAwait</function></funcdef>
<paramdef>Display<parameter> *dpy</parameter></paramdef>
<function>XSyncNegativeComparison</function>.
</para>
-<funcsynopsis>
+<funcsynopsis id='xsynccreatealarm'>
<funcprototype>
<funcdef>XSyncAlarm <function>XSyncCreateAlarm</function></funcdef>
<paramdef>Display<parameter> *dpy</parameter></paramdef>
XSyncAlarmState state; client cannot set this
</literallayout>
-<funcsynopsis>
+<funcsynopsis id='xsyncdestroyalarm'>
<funcprototype>
<funcdef>Status <function>XSyncDestroyAlarm</function></funcdef>
<paramdef>Display<parameter> *dpy</parameter></paramdef>
the SYNC extension; otherwise, it returns <function>True</function>.
</para>
-<funcsynopsis>
+<funcsynopsis id='xsyncqueryalarm'>
<funcprototype>
<funcdef>Status <function>XSyncQueryAlarm</function></funcdef>
<paramdef>Display<parameter> *dpy</parameter></paramdef>
SYNC extension; otherwise, it returns <function>True</function>.
</para>
-<funcsynopsis>
+<funcsynopsis id='xsyncchangealarm'>
<funcprototype>
<funcdef>Status <function>XSyncChangeAlarm</function></funcdef>
<paramdef>Display<parameter> *dpy</parameter></paramdef>
the SYNC extension; otherwise, it returns <function>True</function>.
</para>
-<funcsynopsis>
+<funcsynopsis id='xsyncsetpriority'>
<funcprototype>
<funcdef>Status <function>XSyncSetPriority</function></funcdef>
<paramdef>Display<parameter> *dpy</parameter></paramdef>
otherwise, it returns <function>True</function>.
</para>
-<funcsynopsis>
+<funcsynopsis id='xsyncgetpriority'>
<funcprototype>
<funcdef>Status <function>XSyncGetPriority</function></funcdef>
<paramdef>Display<parameter> *dpy</parameter></paramdef>
function form, #undef the macro name to uncover the function.
</para>
-<funcsynopsis>
+<funcsynopsis id='xsyncinttovalue'>
<funcprototype>
<funcdef>void <function>XSyncIntToValue</function></funcdef>
<paramdef>XSyncValue<parameter> *pv</parameter></paramdef>
Performs sign extension (*pv will have the same sign as i.)
</para>
-<funcsynopsis>
+<funcsynopsis id='xsyncintstovalue'>
<funcprototype>
<funcdef>void <function>XSyncIntsToValue</function></funcdef>
<paramdef>XSyncValue<parameter> *pv</parameter></paramdef>
</para>
-<funcsynopsis>
+<funcsynopsis id='xsyncvaluegreaterthan'>
<funcprototype>
<funcdef>Bool <function>XSyncValueGreaterThan</function></funcdef>
<paramdef>XSyncValue<parameter> a</parameter></paramdef>
<function>False</function>.
</para>
-<funcsynopsis>
+<funcsynopsis id='xsyncvaluelessthan'>
<funcprototype>
<funcdef>Bool <function>XSyncValueLessThan</function></funcdef>
<paramdef>XSyncValue<parameter> a</parameter></paramdef>
</para>
-<funcsynopsis>
+<funcsynopsis id='xsyncvaluegreaterorequal'>
<funcprototype>
<funcdef>Bool <function>XSyncValueGreaterOrEqual</function></funcdef>
<paramdef>XSyncValue<parameter> a</parameter></paramdef>
else returns <function>False</function>.
</para>
-<funcsynopsis>
+<funcsynopsis id='xsyncvaluelessorequal'>
<funcprototype>
<funcdef>Bool <function>XSyncValueLessOrEqual</function></funcdef>
<paramdef>XSyncValue<parameter> a</parameter></paramdef>
else returns <function>False</function>.
</para>
-<funcsynopsis>
+<funcsynopsis id='xsyncvalueequal'>
<funcprototype>
<funcdef>Bool <function>XSyncValueEqual</function></funcdef>
<paramdef>XSyncValue<parameter> a</parameter></paramdef>
else returns <function>False</function>.
</para>
-<funcsynopsis>
+<funcsynopsis id='xsyncvalueisnegative'>
<funcprototype>
<funcdef>Bool <function>XSyncValueIsNegative</function></funcdef>
<paramdef>XSyncValue<parameter> v</parameter></paramdef>
else returns <function>False</function>.
</para>
-<funcsynopsis>
+<funcsynopsis id='xsyncvalueiszero'>
<funcprototype>
<funcdef>Bool <function>XSyncValueIsZero</function></funcdef>
<paramdef>XSyncValue<parameter> v</parameter></paramdef>
else returns <function>False</function>.
</para>
-<funcsynopsis>
+<funcsynopsis id='xsyncvalueispositive'>
<funcprototype>
<funcdef>Bool <function>XSyncValueIsPositive</function></funcdef>
<paramdef>XSyncValue<parameter> v</parameter></paramdef>
else returns <function>False</function>.
</para>
-<funcsynopsis>
+<funcsynopsis id='xsyncvaluelow32'>
<funcprototype>
<funcdef>unsigned int <function>XSyncValueLow32</function></funcdef>
<paramdef>XSyncValue<parameter> v</parameter></paramdef>
Returns the low 32 bits of v.
</para>
-<funcsynopsis>
+<funcsynopsis id='xsyncvaluehigh32'>
<funcprototype>
<funcdef>unsigned int <function>XSyncValueHigh32</function></funcdef>
<paramdef>XSyncValue<parameter> v</parameter></paramdef>
Returns the high 32 bits of v.
</para>
-<funcsynopsis>
+<funcsynopsis id='xsyncvalueadd'>
<funcprototype>
<funcdef>void <function>XSyncValueAdd</function></funcdef>
<paramdef>XSyncValue<parameter> *presult</parameter></paramdef>
set to <function>False</function>.
</para>
-<funcsynopsis>
+<funcsynopsis id='xsyncvaluesubtract'>
<funcprototype>
<funcdef>void <function>XSyncValueSubtract</function></funcdef>
<paramdef>XSyncValue<parameter> *presult</parameter></paramdef>
set to <function>False</function>.
</para>
-<funcsynopsis>
+<funcsynopsis id='xsyncmaxvalue'>
<funcprototype>
<funcdef>void <function>XSyncMaxValue</function></funcdef>
<paramdef>XSyncValue<parameter> *pv</parameter></paramdef>
Sets *pv to the maximum value expressible in 64 bits.
</para>
-<funcsynopsis>
+<funcsynopsis id='xsyncminvalue'>
<funcprototype>
<funcdef>void <function>XSyncMinValue</function></funcdef>
<paramdef>XSyncValue<parameter> *pv</parameter></paramdef>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd">
+
+
+<article id="xtest1">
+
+<articleinfo>
+ <title>X11 INPUT SYNTHESIS EXTENSION PROPOSAL</title>
+ <subtitle>X Consortium Standard</subtitle>
+ <releaseinfo>Version 1.0</releaseinfo>
+ <authorgroup>
+ <author>
+ <firstname>Larry</firstname><surname>Woestman</surname>
+ <affiliation><jobtitle>Member of Technical Staff</jobtitle>
+ <orgname>Hewlett Packard</orgname></affiliation>
+ </author>
+ </authorgroup>
+ <copyright><year>1993</year><holder>X Consortium</holder></copyright>
+
+<legalnotice>
+<para>
+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:
+</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 “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 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>
+
+<abstract>
+<para>
+This is a proposal for an extension to the X11 server and Xlib.
+</para>
+</abstract>
+
+</articleinfo>
+
+<sect1 id="introduction">
+<title>Introduction</title>
+<para>
+This is a proposal for an extension to the X11 server and Xlib.
+It provides two capabilities:
+</para>
+
+<itemizedlist>
+ <listitem>
+ <para>
+It allows a client to generate user input actions in the server without
+requiring a user to be present.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+It also allows a client to control the
+handling of user input actions by the server.
+ </para>
+ </listitem>
+</itemizedlist>
+
+<para>
+The capability
+to allow a client to generate user input actions in the server
+will be used by some of the X Testing Consortium Xlib tests.
+Both capabilities will be used by the X Testing Consortium client exerciser
+program.
+These capabilities may also be useful in other programs.
+</para>
+
+<para>
+This extension requires modification to device-dependent code in the
+server. Therefore it is not a 'portable' extension as defined by the
+X11 Server Extensions document. However, the majority of the code
+and functionality of this extension will be implementation-independent.
+</para>
+
+</sect1>
+
+<sect1 id="conventions_used_in_this_document">
+<title>Conventions Used In This Document</title>
+
+<para>
+The naming conventions used in the Xlib documentation are followed
+with these additions:
+</para>
+
+<itemizedlist>
+ <listitem>
+ <para>
+The names of all functions defined in this extension begin with 'XTest',
+with the first letter of each additional word capitalized.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+The names of the protocol request structures follow the Xlib convention
+of 'x<name>Req'.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+The names of the protocol request minor type codes follow the Xlib convention
+of 'X_<name>'.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+The names of all other constants defined in this extension begin with 'XTest',
+with the rest of the name in upper case letters.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+All constants and structures defined in this extension will have their
+values specified in the 'xtestext1.h' file (listed in section 5).
+ </para>
+ </listitem>
+</itemizedlist>
+
+</sect1>
+<sect1 id="definition_of_terms">
+<title>Definition Of Terms</title>
+
+<sect2 id="input_actions">
+<title>Input Actions</title>
+<para>
+Input actions are pointer movements, button presses and releases,
+and key presses and releases. They can be generated by a user or by a client
+(using functions in this extension).
+</para>
+</sect2>
+
+<sect2 id="user_input_actions">
+<title>User Input Actions</title>
+<para>
+User input actions are input actions that are generated by the user
+moving a pointing device (typically a mouse), pressing and releasing buttons on
+the pointing device, and pressing and releasing keys on the keyboard.
+</para>
+</sect2>
+
+</sect1>
+
+<sect1 id="what_does_this_extension_do">
+<title>What Does This Extension Do?</title>
+<para>
+Without this extension, user input actions are processed by the server,
+and are converted into normal X events that are sent to the
+appropriate client or clients.
+</para>
+
+<para>
+This extension adds the following capabilities:
+</para>
+
+<itemizedlist>
+ <listitem>
+ <para>
+Input actions may be sent from a client to the server to be
+processed just as if the user had physically performed them.
+The input actions are provided to the server in the form of X protocol
+requests defined by this extension.
+The information provided to the server includes what action should be
+performed, and how long to delay before processing the action in the server.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+User input actions may be diverted to a client before being processed by the
+server.
+The effect on the server is as if the user had performed no input action.
+The user input actions are provided to the client in the form of X events
+defined by this extension.
+The information provided to the client includes what user input action
+occurred and the delay between this user input action and the previous user
+input action.
+The client may then do anything it wishes with this information.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+User input actions may be copied, with one copy going to the server in the
+normal way, and the other copy being sent to a client as described above.
+ </para>
+ </listitem>
+</itemizedlist>
+
+</sect1>
+<sect1 id="functions_in_this_extension">
+<title>Functions In This Extension</title>
+
+<sect2 id="high_level_functions">
+<title>High Level Functions</title>
+
+<para>
+These functions are built on top of the low level functions described later.
+</para>
+
+<sect3 id="xtestmovepointer">
+<title>XTestMovePointer</title>
+
+<funcsynopsis>
+<funcprototype>
+ <funcdef>int <function>XTestMovePointer</function></funcdef>
+ <paramdef>Display <parameter>*display</parameter></paramdef>
+ <paramdef>int <parameter>device_id</parameter></paramdef>
+ <paramdef>unsigned long <parameter>delay</parameter></paramdef>
+ <paramdef>int <parameter>x</parameter></paramdef>
+ <paramdef>int <parameter>y</parameter></paramdef>
+ <paramdef>unsigned int <parameter>count</parameter></paramdef>
+</funcprototype>
+</funcsynopsis>
+
+<variablelist>
+ <varlistentry>
+ <term>display</term>
+ <listitem>
+ <para>
+Specifies the connection to the X server.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>device_id</term>
+ <listitem>
+ <para>
+Specifies which pointer device was supposed to have caused the input action.
+This is a provision for future support of multiple (distinguishable) pointer
+devices, and should always be set to 0 for now.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>delay</term>
+ <listitem>
+ <para>
+Specifies the time (in milliseconds) to wait before each movement
+of the pointer.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>x, y</term>
+ <listitem>
+ <para>
+Specifies the x and y coordinates to move the pointer to relative to the
+root window for the specified display.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>count</term>
+ <listitem>
+ <para>
+Specifies the number of 'delay, x, y' triplets contained in the
+<emphasis>delay</emphasis>,
+<emphasis>x</emphasis> and
+<emphasis>y</emphasis> arrays.
+ </para>
+ </listitem>
+ </varlistentry>
+</variablelist>
+
+<para>
+The
+<function>XTestMovePointer</function>
+function creates input actions to be sent to the the server.
+The input actions will be accumulated in a request defined by this extension
+until the request is full or the XTestFlush function is called.
+They will then be sent to the server.
+When the input actions are sent to the server, the input actions will cause
+the server to think that the pointer was moved to the specified position(s),
+with the specified delay before each input action.
+</para>
+<para>
+The
+<function>XTestMovePointer</function>
+function will return -1 if there is an error, and 0 otherwise.
+</para>
+</sect3>
+
+<sect3 id="xtestpressbutton">
+<title>XTestPressButton</title>
+
+<funcsynopsis>
+<funcprototype>
+ <funcdef>int <function>XTestPressButton</function></funcdef>
+ <paramdef>Display <parameter>*display</parameter></paramdef>
+ <paramdef>int <parameter>device_id</parameter></paramdef>
+ <paramdef>unsigned long <parameter>delay</parameter></paramdef>
+ <paramdef>unsigned int <parameter>button_number</parameter></paramdef>
+ <paramdef>unsigned int <parameter>button_action</parameter></paramdef>
+</funcprototype>
+</funcsynopsis>
+
+
+<!-- .VL 15 -->
+<variablelist>
+ <varlistentry>
+ <term>display</term>
+ <listitem>
+ <para>
+Specifies the connection to the X server.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>device_id</term>
+ <listitem>
+ <para>
+Specifies which button device was supposed to have caused the input action.
+This is a provision for future support of multiple (distinguishable) button
+devices, and should always be set to 0 for now.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>delay</term>
+ <listitem>
+ <para>
+Specifies the time (in milliseconds) to wait before the input action.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>button_number</term>
+ <listitem>
+ <para>
+Specifies which button is being acted upon.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>button_action</term>
+ <listitem>
+ <para>
+Specifies the action to be performed (one of
+<emphasis>XTestPRESS</emphasis>,
+<emphasis>XTestRELEASE</emphasis>, or
+<emphasis>XTestSTROKE</emphasis>).
+ </para>
+ </listitem>
+ </varlistentry>
+</variablelist>
+
+<para>
+The
+<function>XTestPressButton</function>
+function creates input actions to be sent to the the server.
+The input actions will be accumulated in a request defined by this extension
+until the request is full or the XTestFlush function is called.
+They will then be sent to the server.
+When the input actions are sent to the server, the input actions will cause
+the server to think that the specified button was moved as specified.
+</para>
+<para>
+The
+<function>XTestPressButton</function>
+function will return -1 if there is an error, and 0 otherwise.
+</para>
+</sect3>
+
+<sect3 id="xtestpresskey">
+<title>XTestPressKey</title>
+
+<funcsynopsis>
+<funcprototype>
+ <funcdef>int <function>XTestPressKey</function></funcdef>
+ <paramdef>Display <parameter>*display</parameter></paramdef>
+ <paramdef>int <parameter>device_id</parameter></paramdef>
+ <paramdef>unsigned long <parameter>delay</parameter></paramdef>
+ <paramdef>unsigned int <parameter>keycode</parameter></paramdef>
+ <paramdef>unsigned int <parameter>key_action</parameter></paramdef>
+</funcprototype>
+</funcsynopsis>
+
+<!-- .VL 12 -->
+<variablelist>
+ <varlistentry>
+ <term>display</term>
+ <listitem>
+ <para>
+Specifies the connection to the X server.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>device_id</term>
+ <listitem>
+ <para>
+Specifies which keyboard device was supposed to have caused the input action.
+This is a provision for future support of multiple (distinguishable) keyboard
+devices, and should always be set to 0 for now.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>delay</term>
+ <listitem>
+ <para>
+Specifies the time (in milliseconds) to wait before the input action.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>keycode</term>
+ <listitem>
+ <para>
+Specifies which keycode is being acted upon.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>key_action</term>
+ <listitem>
+ <para>
+Specifies the action to be performed (one of
+<emphasis>XTestPRESS</emphasis>,
+<emphasis>XTestRELEASE</emphasis>, or
+<emphasis>XTestSTROKE</emphasis>).
+ </para>
+ </listitem>
+ </varlistentry>
+</variablelist>
+
+
+<para>
+The
+<function>XTestPressKey</function>
+function creates input actions to be sent to the the server.
+The input actions will be accumulated in a request defined by this extension
+until the request is full or the XTestFlush function is called.
+They will then be sent to the server.
+When the input actions are sent to the server, the input actions will cause
+the server to think that the specified key on the keyboard was moved as
+specified.
+</para>
+
+<para>
+The
+<function>XTestPressKey</function>
+function will return -1 if there is an error, and 0 otherwise.
+</para>
+
+</sect3>
+<sect3 id="xtestflush">
+<title>XTestFlush</title>
+
+<funcsynopsis>
+<funcprototype>
+ <funcdef>int <function>XTestFlush</function></funcdef>
+ <paramdef>Display <parameter>*display</parameter></paramdef>
+</funcprototype>
+</funcsynopsis>
+
+<!-- .VL 9 -->
+<variablelist>
+ <varlistentry>
+ <term>display</term>
+ <listitem>
+ <para>
+Specifies the connection to the X server.
+ </para>
+ </listitem>
+ </varlistentry>
+</variablelist>
+
+<para>
+The
+<function>XTestFlush</function>
+will send any remaining input actions to the server.
+</para>
+
+<para>
+The
+<function>XTestFlush</function>
+function will return -1 if there is an error, and 0 otherwise.
+</para>
+
+</sect3>
+</sect2>
+
+<!-- .H 2 Low~Level~Functions -->
+<sect2 id="low_level_functions">
+<title>Low Level Functions</title>
+
+<!-- .H 3 XTestGetInput -->
+<sect3 id="xtestgetinput">
+<title>XTestGetInput</title>
+
+<funcsynopsis>
+<funcprototype>
+ <funcdef>int <function>XTestGetInput</function></funcdef>
+ <paramdef>Display <parameter>*display</parameter></paramdef>
+ <paramdef>int <parameter>action_handling</parameter></paramdef>
+</funcprototype>
+</funcsynopsis>
+
+
+<variablelist>
+ <varlistentry>
+ <term>display</term>
+ <listitem>
+ <para>
+Specifies the connection to the X server.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>action_handling</term>
+ <listitem>
+ <para>
+Specifies to the server what to do with the user input actions. (one of
+0, <emphasis>XTestPACKED_MOTION</emphasis> or
+<emphasis>XTestPACKED_ACTIONS</emphasis>; optionally 'or'ed
+with <emphasis>XTestEXCLUSIVE</emphasis>).
+ </para>
+ </listitem>
+ </varlistentry>
+</variablelist>
+
+
+<para>
+The
+<function>XTestGetInput</function>
+function tells the server to begin putting information about user input actions
+into events to be sent to the client that called this function. These events
+can be read via the Xlib <function>XNextEvent</function>fR function.
+</para>
+
+<para>
+The server assigns an event type of
+<emphasis>XTestInputActionType</emphasis> to these events
+to distinguish them from other events.
+Since the actual value of the event type may vary depending on how many
+extensions are included with an X11 implementation,
+<emphasis>XTestInputActionType</emphasis> is a variable that will be
+contained in the Xlib
+part of this extension. It may be referenced as follows:
+</para>
+
+<para>
+extern int XTestInputActionType;
+</para>
+
+<itemizedlist>
+ <listitem>
+ <para>
+An <emphasis>action_handling</emphasis> value of 0 causes the server
+to send one user input action in each
+<emphasis>XTestInputActionType</emphasis> event.
+This can sometimes cause performance problems.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+An <emphasis>action_handling</emphasis> value of
+<emphasis>XTestPACKED_ACTIONS</emphasis> causes the server
+to pack as many user input actions as possible into a
+<emphasis>XTestInputActionType</emphasis> event.
+This is needed if user input actions are happening rapidly (such as
+when the user moves the pointer) to keep performance at a reasonable level.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+An <emphasis>action_handling</emphasis> value of
+<emphasis>XTestPACKED_MOTION</emphasis> causes the server
+to pack only user input actions associated with moving the pointer.
+This allows the
+client to receive button and key motions as they happen without waiting for the
+event to fill up, while still keeping performance at a reasonable level.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+An <emphasis>action_handling</emphasis> value with
+<emphasis>XTestEXCLUSIVE</emphasis> 'or'ed in
+causes the server to send user input actions only to the client.
+The effect on the server is as if the user had performed no input actions.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+An <emphasis>action_handling</emphasis> value without
+<emphasis>XTestEXCLUSIVE</emphasis>
+causes the server to copy user input actions, sending one copy to the
+client, and handling the other copy normally (as it would if this extension
+were not installed).
+ </para>
+ </listitem>
+</itemizedlist>
+
+<para>
+There are four types of input actions that are passed from the server
+to the client. They are:
+</para>
+
+<variablelist>
+ <varlistentry>
+ <term>key/button~state~change</term>
+ <listitem>
+ <para>
+This type of input action contains the keycode of the key or button that
+changed state;
+whether the key or button is up or down,
+and the time delay between this input action and the previous input action.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>pointer~motions</term>
+ <listitem>
+ <para>
+This type of input action contains information about the motion of the
+pointer when the pointer has only moved a short distance.
+If the pointer has moved a long distance,
+the pointer jump input action is used.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>pointer~jumps</term>
+ <listitem>
+ <para>
+This type of input action contains information about the motion of the
+pointer when the pointer has moved a long distance.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>delays</term>
+ <listitem>
+ <para>
+This type of input action is used when the delay between input actions is too
+large to be held in the other input actions.
+ </para>
+ </listitem>
+ </varlistentry>
+</variablelist>
+
+<para>
+The
+<function>XTestGetInput</function>
+function will return -1 if there is an error, and 0 otherwise.
+</para>
+<para>
+An error code of <emphasis>BadAccess</emphasis> means that another client
+has already requested that user input actions be sent to it.
+</para>
+
+</sect3>
+
+<!-- .H 3 XTestStopInput -->
+<sect3 id="xteststopinput">
+<title>XTestStopInput</title>
+
+<funcsynopsis>
+<funcprototype>
+ <funcdef>int <function>XTestStopInput</function></funcdef>
+ <paramdef>Display <parameter>*display</parameter></paramdef>
+</funcprototype>
+</funcsynopsis>
+
+
+
+<variablelist>
+ <varlistentry>
+ <term>display</term>
+ <listitem>
+ <para>
+Specifies the connection to the X server.
+ </para>
+ </listitem>
+ </varlistentry>
+</variablelist>
+
+<para>
+The
+<function>XTestStopInput</function>
+function tells the server to stop putting information about user input actions
+into events.
+The server will process user input actions normally (as it would
+if this extension were not in the server).
+</para>
+
+<para>
+The
+<function>XTestStopInput</function>
+function will return -1 if there is an error, and 0 otherwise.
+</para>
+
+<para>
+An error code of <emphasis>BadAccess</emphasis> means that a request
+was made to stop input when input has never been started.
+</para>
+
+</sect3>
+
+<!-- .H 3 XTestFakeInput -->
+<sect3 id="xtestfakeinput">
+<title>XTestFakeInput</title>
+
+<funcsynopsis>
+<funcprototype>
+ <funcdef>int <function>XTestFakeInput</function></funcdef>
+ <paramdef>Display <parameter>*display</parameter></paramdef>
+ <paramdef>char <parameter>*action_list_addr</parameter></paramdef>
+ <paramdef>int <parameter>action_list_size</parameter></paramdef>
+ <paramdef>int <parameter>ack_flag</parameter></paramdef>
+</funcprototype>
+</funcsynopsis>
+
+
+<!-- .VL 18 -->
+
+<variablelist>
+ <varlistentry>
+ <term>display</term>
+ <listitem>
+ <para>
+Specifies the connection to the X server.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>action_list_addr</term>
+ <listitem>
+ <para>
+Specifies the address of an list of input actions to be sent to the server.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>action_list_size</term>
+ <listitem>
+ <para>
+Specifies the size (in bytes) of the list of input actions.
+It may be no larger than <emphasis>XTestMAX_ACTION_LIST_SIZE</emphasis> bytes.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>ack_flag</term>
+ <listitem>
+ <para>
+Specifies whether the server needs to send an event to indicate that its
+input action buffer is empty (one of
+<emphasis>XTestFAKE_ACK_NOT_NEEDED</emphasis> or
+<emphasis>XTestFAKE_ACK_REQUEST</emphasis>).
+ </para>
+ </listitem>
+ </varlistentry>
+</variablelist>
+
+<para>
+The
+<function>XTestFakeInput</function>
+function tells the server to take the specified user input actions and process
+them as if the user had physically performed them.
+</para>
+
+<para>
+The server can only accept a limited number of input actions at one
+time. This limit can be determined by the
+<function>XTestQueryInputSize</function> function
+in this extension.
+</para>
+
+<para>
+The client should set <emphasis>ack_flag</emphasis> to
+<emphasis>XTestFAKE_ACK_NOT_NEEDED</emphasis>
+on calls to <emphasis>XTestFakeInput</emphasis> that do not reach this limit.
+</para>
+
+<para>
+The client should set <emphasis>ack_flag</emphasis> to
+<emphasis>XTestFAKE_ACK_REQUEST</emphasis>
+on the call to <emphasis>XTestFakeInput</emphasis> that reaches this limit.
+</para>
+
+<para>
+When the server sees an <emphasis>ack_flag</emphasis> value of
+<emphasis>XTestFAKE_ACK_REQUEST</emphasis>
+it finishes processing its input action buffer, then sends an event with
+type <emphasis>XTestFakeAckType</emphasis> to the client.
+When the client reads this event, it knows that it is safe to resume
+sending input actions to the server.
+</para>
+
+<para>
+Since the actual value of the event type may vary depending on how many
+extensions are included with an X11 implementation,
+<emphasis>XTestFakeAckType</emphasis> is a variable that is contained
+in the Xlib part of this extension. It may be referenced as follows:
+</para>
+
+<para>
+extern int XTestFakeAckType;
+</para>
+
+<para>
+There are four types of input actions that are passed from the client
+to the server. They are:
+</para>
+
+<variablelist>
+ <varlistentry>
+ <term>key/button~state~change</term>
+ <listitem>
+ <para>
+This type of input action contains the keycode of the key or button that
+is to change state;
+whether the key or button is to be up or down,
+and the time to delay before changing the state of the key or button.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>pointer~motions</term>
+ <listitem>
+ <para>
+This type of input action contains information about the motion of the
+pointer when the pointer is to be moved a short distance,
+and the time to delay before moving the pointer.
+If the pointer is to be moved a long distance,
+the pointer jump input action must be used.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>pointer~jumps</term>
+ <listitem>
+ <para>
+This type of input action contains information about the motion of the
+pointer when the pointer is to be moved a long distance,
+and the time to delay before moving the pointer.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>delays</term>
+ <listitem>
+ <para>
+This type of input action is used when the delay between input actions is too
+large to be held in the other input actions.
+ </para>
+ </listitem>
+ </varlistentry>
+</variablelist>
+
+
+<para>
+The
+<function>XTestFakeInput</function>
+function will return -1 if there is an error, and 0 otherwise.
+</para>
+
+<para>
+An error code of \fIBadAccess\fR means that another client has already
+sent user input actions to the server, and the server has not finished
+processing the user input actions.
+</para>
+
+</sect3>
+
+<!-- .H 3 XTestQueryInputSize -->
+<sect3 id="xtestqueryinputsize">
+<title>XTestQueryInputSize</title>
+
+<funcsynopsis>
+<funcprototype>
+ <funcdef>int <function>XTestQueryInputSize</function></funcdef>
+ <paramdef>Display <parameter>*display</parameter></paramdef>
+ <paramdef>unsigned long <parameter>size_return</parameter></paramdef>
+</funcprototype>
+</funcsynopsis>
+
+
+<variablelist>
+ <varlistentry>
+ <term>display</term>
+ <listitem>
+ <para>
+Specifies the connection to the X server.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>size_return</term>
+ <listitem>
+ <para>
+Returns the number of input actions that the server's input action buffer can
+hold.
+ </para>
+ </listitem>
+ </varlistentry>
+</variablelist>
+
+<para>
+The
+<function>XTestQueryInputSize</function>
+function asks the server to return the number of input actions that it can hold
+in its input action buffer in the unsigned long pointed to by \fIsize_return\fR.
+</para>
+<para>
+The
+<function>XTestQueryInputSize</function>
+function will return -1 if there is an error, and 0 otherwise.
+</para>
+</sect3>
+
+<!-- .H 3 XTestReset -->
+<sect3 id="xtestreset">
+<title>XTestReset</title>
+
+<funcsynopsis>
+<funcprototype>
+ <funcdef>int <function>XTestReset</function></funcdef>
+ <paramdef>Display <parameter>*display</parameter></paramdef>
+</funcprototype>
+</funcsynopsis>
+
+
+<variablelist>
+ <varlistentry>
+ <term>display</term>
+ <listitem>
+ <para>
+Specifies the connection to the X server.
+ </para>
+ </listitem>
+ </varlistentry>
+</variablelist>
+
+<para>
+The
+<function>XTestReset</function>
+function tells the server to set everything having to do with this extension
+back to its initial state. After this call the server will act as if this
+extension were not installed until one of the extension functions is called by
+a client. This function is not normally needed, but is included in case a
+client wishes to clean up the server state, such as after a serious error.
+</para>
+
+<para>
+The
+<function>XTestReset</function>
+function will return -1 if there is an error, and 0 otherwise.
+</para>
+
+</sect3>
+</sect2>
+</sect1>
+
+<!-- .H 1 'xtestext1.h'~File~Listing -->
+<!-- .so xtestext1.h -->
+<!-- .TC 1 1 4 -->
+</article>
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
-DIGITAL EQUIPMENT CORPORATION BE LIABLE FOR ANY CLAIM, DAMAGES, INCLUDING,
-BUT NOT LIMITED TO CONSEQUENTIAL OR INCIDENTAL DAMAGES, OR OTHER LIABILITY,
-WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
+DIGITAL EQUIPMENT CORPORATION BE LIABLE FOR ANY CLAIM, DAMAGES, INCLUDING,
+BUT NOT LIMITED TO CONSEQUENTIAL OR INCIDENTAL 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 Digital Equipment Corporation
+Except as contained in this notice, the name of Digital Equipment Corporation
shall not be used in advertising or otherwise to promote the sale, use or other
-dealings in this Software without prior written authorization from Digital
+dealings in this Software without prior written authorization from Digital
Equipment Corporation.
******************************************************************/
static XExtensionInfo _dpms_info_data;
static XExtensionInfo *dpms_info = &_dpms_info_data;
-static char *dpms_extension_name = DPMSExtensionName;
+static const char *dpms_extension_name = DPMSExtensionName;
#define DPMSCheckExtension(dpy,i,val) \
XextCheckExtension (dpy, i, dpms_extension_name, val)
NULL)
static XEXT_GENERATE_CLOSE_DISPLAY (close_display, dpms_info)
-
+
/*****************************************************************************
* *
* public routines *
XExtDisplayInfo *info = find_display (dpy);
register xDPMSSetTimeoutsReq *req;
- if ((off != 0)&&(off < suspend))
+ if ((off != 0)&&(off < suspend))
{
return BadValue;
}
if ((suspend != 0)&&(suspend < standby))
{
return BadValue;
- }
+ }
DPMSCheckExtension (dpy, info, 0);
LockDisplay(dpy);
static XExtensionInfo _mit_info_data;
static XExtensionInfo *mit_info = &_mit_info_data;
-static /* const */ char *mit_extension_name = MITMISCNAME;
+static const char *mit_extension_name = MITMISCNAME;
#define MITCheckExtension(dpy,i,val) \
XextCheckExtension (dpy, i, mit_extension_name, val)
NULL /* error_string */
};
-static XEXT_GENERATE_FIND_DISPLAY (find_display, mit_info, mit_extension_name,
+static XEXT_GENERATE_FIND_DISPLAY (find_display, mit_info, mit_extension_name,
&mit_extension_hooks, MITMiscNumberEvents,
NULL)
lintlib_DATA = $(LINTLIB)
$(LINTLIB): $(libXext_la_SOURCES)
- $(LINT) -y -oXext -x $(ALL_LINT_FLAGS) $(libXext_la_SOURCES)
+ $(LINT) -y -oXext -x $(ALL_LINT_FLAGS) $(libXext_la_SOURCES)
endif MAKE_LINT_LIB
static XExtensionInfo _xag_info_data;
static XExtensionInfo *xag_info = &_xag_info_data;
-static char *xag_extension_name = XAGNAME;
+static const char *xag_extension_name = XAGNAME;
#define XagCheckExtension(dpy,i,val) \
XextCheckExtension (dpy, i, xag_extension_name, val)
NULL, /* error_string */
};
-static XEXT_GENERATE_FIND_DISPLAY (find_display, xag_info,
- xag_extension_name,
- &xag_extension_hooks,
+static XEXT_GENERATE_FIND_DISPLAY (find_display, xag_info,
+ xag_extension_name,
+ &xag_extension_hooks,
0, NULL)
static XEXT_GENERATE_CLOSE_DISPLAY (close_display, xag_info)
Data32 (dpy, (long*) values, (long) nvalues);
}
-Bool
+Bool
XagCreateEmbeddedApplicationGroup(
Display* dpy,
VisualID root_visual,
stuff.default_root = RootWindow (dpy, DefaultScreen(dpy));
stuff.root_visual = root_visual;
stuff.default_colormap = default_colormap;
- stuff.attrib_mask =
+ stuff.attrib_mask =
XagAppGroupLeaderMask | XagSingleScreenMask | XagDefaultRootMask |
XagRootVisualMask | XagDefaultColormapMask;
if (default_colormap != None) {
return True;
}
-Bool
+Bool
XagCreateNonembeddedApplicationGroup(
Display* dpy,
XAppGroup* app_group_return)
/* other platforms go here */
/* this whole thing could be arranged better, but since X need
- * only short-circuit the protocol and WIN32 is the only other
+ * only short-circuit the protocol and WIN32 is the only other
* platform the XC supports, it will suffice for now.
*/
*window_return = *(Window*)system_window;
#include <X11/extensions/extutil.h>
#include <X11/Xutil.h>
static XExtensionInfo *xevi_info;/* needs to move to globals.c */
-static /* const */ char *xevi_extension_name = EVINAME;
+static const char *xevi_extension_name = EVINAME;
#define XeviCheckExtension(dpy,i,val) \
XextCheckExtension (dpy, i, xevi_extension_name, val)
/*****************************************************************************
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL NCD.
* BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
- * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
+ * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* Author: Keith Packard, Network Computing Devices
static XExtensionInfo _lbx_info_data;
static XExtensionInfo *lbx_info = &_lbx_info_data;
-static /* const */ char *lbx_extension_name = LBXNAME;
+static const char *lbx_extension_name = LBXNAME;
#define LbxCheckExtension(dpy,i,val) \
XextCheckExtension (dpy, i, lbx_extension_name, val)
error_string, /* error_string */
};
-static /* const */ char *lbx_error_list[] = {
+static const char *lbx_error_list[] = {
"BadLbxClient", /* BadLbxClient */
};
-static XEXT_GENERATE_FIND_DISPLAY (find_display, lbx_info, lbx_extension_name,
+static XEXT_GENERATE_FIND_DISPLAY (find_display, lbx_info, lbx_extension_name,
&lbx_extension_hooks, LbxNumberEvents, NULL)
static XEXT_GENERATE_CLOSE_DISPLAY (close_display, lbx_info)
static XExtensionInfo _multibuf_info_data;
static XExtensionInfo *multibuf_info = &_multibuf_info_data;
-static /* const */ char *multibuf_extension_name = MULTIBUFFER_PROTOCOL_NAME;
+static const char *multibuf_extension_name = MULTIBUFFER_PROTOCOL_NAME;
#define MbufCheckExtension(dpy,i,val) \
XextCheckExtension (dpy, i, multibuf_extension_name, val)
error_string, /* error_string */
};
-static /* const */ char *multibuf_error_list[] = {
+static const char *multibuf_error_list[] = {
"BadBuffer", /* MultibufferBadBuffer */
};
static XEXT_GENERATE_FIND_DISPLAY (find_display, multibuf_info,
- multibuf_extension_name,
- &multibuf_extension_hooks,
+ multibuf_extension_name,
+ &multibuf_extension_hooks,
MultibufferNumberEvents, NULL)
static XEXT_GENERATE_CLOSE_DISPLAY (close_display, multibuf_info)
static XEXT_GENERATE_ERROR_STRING (error_string, multibuf_extension_name,
- MultibufferNumberErrors,
+ MultibufferNumberErrors,
multibuf_error_list)
/*
- * wire_to_event - convert a wire event in network format to a C
+ * wire_to_event - convert a wire event in network format to a C
* event structure
*/
static Bool wire_to_event (Display *dpy, XEvent *libevent, xEvent *netevent)
{
XmbufClobberNotifyEvent *ev;
xMbufClobberNotifyEvent *event;
-
+
ev = (XmbufClobberNotifyEvent *) libevent;
event = (xMbufClobberNotifyEvent *) netevent;
ev->type = event->type & 0x7f;
{
XmbufClobberNotifyEvent *ev;
xMbufClobberNotifyEvent *event;
-
+
ev = (XmbufClobberNotifyEvent *) libevent;
event = (xMbufClobberNotifyEvent *) netevent;
event->type = ev->type;
*****************************************************************************/
-/*
- * XmbufQueryExtension -
+/*
+ * XmbufQueryExtension -
* Returns True if the multibuffering/stereo extension is available
* on the given display. If the extension exists, the value of the
* first event code (which should be added to the event type constants
* MultibufferClobberNotify and MultibufferUpdateNotify to get the
* actual values) is stored into event_base and the value of the first
* error code (which should be added to the error type constant
- * MultibufferBadBuffer to get the actual value) is stored into
+ * MultibufferBadBuffer to get the actual value) is stored into
* error_base.
*/
Bool XmbufQueryExtension (
int *event_base_return, int *error_base_return)
{
XExtDisplayInfo *info = find_display (dpy);
-
+
if (XextHasExtension (info)) {
*event_base_return = info->codes->first_event;
*error_base_return = info->codes->first_error;
}
-/*
+/*
* XmbufGetVersion -
* Gets the major and minor version numbers of the extension. The return
* value is zero if an error occurs or non-zero if no error happens.
/*
- * XmbufCreateBuffers -
+ * XmbufCreateBuffers -
* Requests that "count" buffers be created with the given update_action
* and update_hint and be associated with the indicated window. The
* number of buffers created is returned (zero if an error occurred)
/*
- * XmbufDestroyBuffers -
+ * XmbufDestroyBuffers -
* Destroys the buffers associated with the given window.
*/
void XmbufDestroyBuffers (Display *dpy, Window window)
/*
- * XmbufDisplayBuffers -
+ * XmbufDisplayBuffers -
* Displays the indicated buffers their appropriate windows within
* max_delay milliseconds after min_delay milliseconds have passed.
* No two buffers may be associated with the same window or else a Match
/*
- * XmbufGetWindowAttributes -
+ * XmbufGetWindowAttributes -
* Gets the multibuffering attributes that apply to all buffers associated
* with the given window. Returns non-zero on success and zero if an
* error occurs.
SyncHandle ();
return 0;
}
- attr->buffers = (Multibuffer *) NULL;
+ attr->buffers = (Multibuffer *) NULL;
if ((attr->nbuffers = rep.length)) {
int nbytes = rep.length * sizeof(Multibuffer);
attr->buffers = (Multibuffer *) Xmalloc((unsigned) nbytes);
/*
- * XmbufChangeWindowAttributes -
+ * XmbufChangeWindowAttributes -
* Sets the multibuffering attributes that apply to all buffers associated
* with the given window. This is currently limited to the update_hint.
*/
unsigned long *v = values;
unsigned int nvalues;
- if (valuemask & MultibufferWindowUpdateHint)
+ if (valuemask & MultibufferWindowUpdateHint)
*v++ = attr->update_hint;
req->length += (nvalues = v - values);
nvalues <<= 2; /* watch out for macros... */
/*
- * XmbufGetBufferAttributes -
+ * XmbufGetBufferAttributes -
* Gets the attributes for the indicated buffer. Returns non-zero on
* success and zero if an error occurs.
*/
/*
- * XmbufChangeBufferAttributes -
+ * XmbufChangeBufferAttributes -
* Sets the attributes for the indicated buffer. This is currently
* limited to the event_mask.
*/
/*
- * XmbufGetScreenInfo -
+ * XmbufGetScreenInfo -
* Gets the parameters controlling how mono and stereo windows may be
- * created on the indicated screen. The numbers of sets of visual and
- * depths are returned in nmono_return and nstereo_return. If
+ * created on the indicated screen. The numbers of sets of visual and
+ * depths are returned in nmono_return and nstereo_return. If
* nmono_return is greater than zero, then mono_info_return is set to
* the address of an array of XmbufBufferInfo structures describing the
* various visuals and depths that may be used. Otherwise,
* mono_info_return is set to NULL. Similarly, stereo_info_return is
- * set according to nstereo_return. The storage returned in
+ * set according to nstereo_return. The storage returned in
* mono_info_return and stereo_info_return may be released by XFree.
* If no errors are encounted, non-zero will be returned.
*/
/*
- * XmbufCreateStereoWindow -
+ * XmbufCreateStereoWindow -
* Creates a stereo window in the same way that XCreateWindow creates
* a mono window (in fact, use the same code, except for the request)
- * and returns the left and right buffers that may be
+ * and returns the left and right buffers that may be
*/
Window XmbufCreateStereoWindow (
Display *dpy,
static XExtensionInfo _Security_info_data;
static XExtensionInfo *Security_info = &_Security_info_data;
-static char *Security_extension_name = SECURITY_EXTENSION_NAME;
+static const char *Security_extension_name = SECURITY_EXTENSION_NAME;
#define SecurityCheckExtension(dpy,i,val) \
XextCheckExtension (dpy, i, Security_extension_name, val)
error_string /* error_string */
};
-static char *security_error_list[] = {
+static const char *security_error_list[] = {
"BadAuthorization",
"BadAuthorizationProtocol"
};
static XExtensionInfo _shape_info_data;
static XExtensionInfo *shape_info = &_shape_info_data;
-static /* const */ char *shape_extension_name = SHAPENAME;
+static const char *shape_extension_name = SHAPENAME;
#define ShapeCheckExtension(dpy,i,val) \
XextCheckExtension (dpy, i, shape_extension_name, val)
};
static XEXT_GENERATE_FIND_DISPLAY (find_display, shape_info,
- shape_extension_name,
+ shape_extension_name,
&shape_extension_hooks,
ShapeNumberEvents, NULL)
LockDisplay(dpy);
GetReq(ShapeRectangles, req);
- xr = (XRectangle *)
+ xr = (XRectangle *)
_XAllocScratch(dpy, (unsigned long)(r->numRects * sizeof (XRectangle)));
for (pr = xr, pb = r->rects, i = r->numRects; --i >= 0; pr++, pb++) {
pr->x = pb->x1;
XExtDisplayInfo *info = find_display (dpy);
xShapeQueryExtentsReply rep;
register xShapeQueryExtentsReq *req;
-
+
ShapeCheckExtension (dpy, info, 0);
LockDisplay (dpy);
static XExtensionInfo _shm_info_data;
static XExtensionInfo *shm_info = &_shm_info_data;
-static /* const */ char *shm_extension_name = SHMNAME;
+static const char *shm_extension_name = SHMNAME;
#define ShmCheckExtension(dpy,i,val) \
XextCheckExtension (dpy, i, shm_extension_name, val)
error_string, /* error_string */
};
-static /* const */ char *shm_error_list[] = {
+static const char *shm_error_list[] = {
"BadShmSeg", /* BadShmSeg */
};
-static XEXT_GENERATE_FIND_DISPLAY (find_display, shm_info, shm_extension_name,
+static XEXT_GENERATE_FIND_DISPLAY (find_display, shm_info, shm_extension_name,
&shm_extension_hooks, ShmNumberEvents, NULL)
static XEXT_GENERATE_CLOSE_DISPLAY (close_display, shm_info)
}
-Status XShmAttach(Display *dpy, XShmSegmentInfo *shminfo)
+Bool XShmAttach(Display *dpy, XShmSegmentInfo *shminfo)
{
XExtDisplayInfo *info = find_display (dpy);
register xShmAttachReq *req;
}
-Status XShmDetach(Display *dpy, XShmSegmentInfo *shminfo)
+Bool XShmDetach(Display *dpy, XShmSegmentInfo *shminfo)
{
XExtDisplayInfo *info = find_display (dpy);
register xShmDetachReq *req;
return image;
}
-Status XShmPutImage (
+Bool XShmPutImage (
register Display *dpy,
Drawable d,
GC gc,
}
-Status XShmGetImage(
+Bool XShmGetImage(
register Display *dpy,
Drawable d,
XImage *image,
static XExtensionInfo _sync_info_data;
static XExtensionInfo *sync_info = &_sync_info_data;
-static char *sync_extension_name = SYNC_NAME;
+static const char *sync_extension_name = SYNC_NAME;
#define SyncCheckExtension(dpy,i,val) \
XextCheckExtension(dpy, i, sync_extension_name, val)
error_string, /* error_string */
};
-static char *sync_error_list[] = {
+static const char *sync_error_list[] = {
"BadCounter",
"BadAlarm",
"BadFence",
}
-XSyncCounter
+XSyncCounter
XSyncCreateCounter(Display *dpy, XSyncValue initial_value)
{
XExtDisplayInfo *info = find_display(dpy);
advertising or publicity pertaining to distribution of the
software without specific, written prior permission.
-Hewlett-Packard makes no representations about the
-suitability of this software for any purpose. It is provided
+Hewlett-Packard makes no representations about the
+suitability of this software for any purpose. It is provided
"as is" without express or implied warranty.
This software is not subject to any license of the American
* input action buffer is empty
*/
int ack_flag)
-{
+{
/*
* pointer to xTestFakeInputReq structure
*/
(action_list_size > XTestMAX_ACTION_LIST_SIZE))
{
/*
- * if the extension is not installed in the server or the
+ * if the extension is not installed in the server or the
* action list will not fit in the request, then unlock
* the display and return -1.
*/
*
* GetReq is a macro defined in Xlibint.h.
*/
- GetReq(TestFakeInput, req);
+ GetReq(TestFakeInput, req);
/*
* fix up the request type code to what is needed
*/
* tells the server what to do with the user input actions
*/
int action_handling)
-{
+{
/*
* pointer to xTestGetInputReq structure
*/
*
* GetReq is a macro defined in Xlibint.h.
*/
- GetReq(TestGetInput, req);
+ GetReq(TestGetInput, req);
/*
* fix up the request type code to what is needed
*/
* the connection to the X server
*/
register Display *dpy)
-{
+{
/*
* pointer to xTestStopInputReq structure
*/
*
* GetReq is a macro defined in Xlibint.h.
*/
- GetReq(TestStopInput, req);
+ GetReq(TestStopInput, req);
/*
* fix up the request type code to what is needed
*/
* the connection to the X server
*/
register Display *dpy)
-{
+{
/*
* pointer to xTestReset structure
*/
*
* GetReq is a macro defined in Xlibint.h.
*/
- GetReq(TestReset, req);
+ GetReq(TestReset, req);
/*
* fix up the request type code to what is needed
*/
* server's input action buffer
*/
unsigned long *size_return)
-{
+{
/*
* pointer to xTestQueryInputSize structure
*/
*
* GetReq is a macro defined in Xlibint.h.
*/
- GetReq(TestQueryInputSize, req);
+ GetReq(TestQueryInputSize, req);
/*
* fix up the request type code to what is needed
*/
/*
* if the extension has not been initialized, then do so
*/
- if (!XTestReqCode)
+ if (!XTestReqCode)
{
return(XTestInitExtension(dpy));
}
*/
XTestReqCode = ret->major_opcode;
/*
- * set up the event handler for any events from
+ * set up the event handler for any events from
* this extension
*/
for (i = 0; i < XTestEVENT_COUNT; i++)
return(-1);
}
/*
- * create the header
+ * create the header
*/
keyinfo.header = XTestPackDeviceID(device_id) |
XTestKEY_ACTION |
return(-1);
}
/*
- * create the header
+ * create the header
*/
keyinfo.header = XTestPackDeviceID(device_id) |
XTestKEY_ACTION |
/*
* We have to write input actions to the server. If the server's
* input action capacity will be reached, then ask for an
- * acknowledge event when the server has processed all of the
+ * acknowledge event when the server has processed all of the
* input actions. Otherwise, an acknowledge event is not needed.
*/
if (action_count >= action_array_size)
static XExtensionInfo _xcup_info_data;
static XExtensionInfo *xcup_info = &_xcup_info_data;
-static char *xcup_extension_name = XCUPNAME;
+static const char *xcup_extension_name = XCUPNAME;
/*****************************************************************************
* *
NULL, /* error_string */
};
-static XEXT_GENERATE_FIND_DISPLAY (find_display, xcup_info,
- xcup_extension_name,
- &xcup_extension_hooks,
+static XEXT_GENERATE_FIND_DISPLAY (find_display, xcup_info,
+ xcup_extension_name,
+ &xcup_extension_hooks,
0, NULL)
static XEXT_GENERATE_CLOSE_DISPLAY (close_display, xcup_info)
#define TYP_RESERVED_ENTRIES 20
#endif
-Status
+Status
XcupGetReservedColormapEntries(
Display* dpy,
int screen,
/******************************************************************************
- *
+ *
* Copyright (c) 1994, 1995 Hewlett-Packard Company
*
* Permission is hereby granted, free of charge, to any person obtaining
* 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 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.
* 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 Hewlett-Packard
* Company 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 Hewlett-Packard Company.
- *
+ *
* Xlib DBE code
*
*****************************************************************************/
static XExtensionInfo _dbe_info_data;
static XExtensionInfo *dbe_info = &_dbe_info_data;
-static char *dbe_extension_name = DBE_PROTOCOL_NAME;
+static const char *dbe_extension_name = DBE_PROTOCOL_NAME;
#define DbeCheckExtension(dpy,i,val) \
XextCheckExtension (dpy, i, dbe_extension_name, val)
error_string, /* error_string */
};
-static char *dbe_error_list[] = {
+static const char *dbe_error_list[] = {
"BadBuffer", /* DbeBadBuffer */
};
static XEXT_GENERATE_FIND_DISPLAY (find_display, dbe_info,
- dbe_extension_name,
- &dbe_extension_hooks,
+ dbe_extension_name,
+ &dbe_extension_hooks,
DbeNumberEvents, NULL)
static XEXT_GENERATE_CLOSE_DISPLAY (close_display, dbe_info)
static XEXT_GENERATE_ERROR_STRING (error_string, dbe_extension_name,
- DbeNumberErrors,
+ DbeNumberErrors,
dbe_error_list)
* *
*****************************************************************************/
-/*
+/*
* XdbeQueryExtension -
* Sets major_version_return and minor_verion_return to the major and
* minor DBE protocol version supported by the server. If the DBE
} /* XdbeAllocateBackBufferName() */
/*
- * XdbeDeallocateBackBufferName -
+ * XdbeDeallocateBackBufferName -
* This function frees a drawable ID, buffer, that was obtained via
* XdbeAllocateBackBufferName. The buffer must refer to the back buffer
* of the specified window, or a protocol error results.
/*
- * XdbeSwapBuffers -
+ * XdbeSwapBuffers -
* This function swaps the front and back buffers for a list of windows.
* The argument num_windows specifies how many windows are to have their
* buffers swapped; it is the number of elements in the swap_info array.
SyncHandle ();
return NULL;
}
-
+
/* Read the visual info item into the wire structure. Then copy each
* element into the library structure. The element sizes and/or
* padding may be different in the two structures.
/* main extension information data */
static XExtensionInfo *xge_info;
-static char xge_extension_name[] = GE_NAME;
+static const char xge_extension_name[] = GE_NAME;
static XExtensionHooks xge_extension_hooks = {
NULL, /* create_gc */
NULL, /* copy_gc */
* Extensions need to register callbacks for their events.
*/
Bool
-xgeExtRegister(Display* dpy, int offset, XExtensionHooks* callbacks)
+_X_HIDDEN xgeExtRegister(Display* dpy, int offset, XExtensionHooks* callbacks)
{
XGEExtNode* newExt;
XGEData* xge_data;
*
* Author: Jim Fulton, MIT X Consortium
*
- *
+ *
* Xlib Extension-Writing Utilities
- *
+ *
* This package contains utilities for writing the client API for various
* protocol extensions. THESE INTERFACES ARE NOT PART OF THE X STANDARD AND
* ARE SUBJECT TO CHANGE!
- *
+ *
* Routines include:
- *
+ *
* XextCreateExtension called once per extension
* XextDestroyExtension if no longer using extension
* XextAddDisplay add another display
* XextRemoveDisplay remove a display
* XextFindDisplay is a display open
- *
+ *
* In addition, the following Xlib-style interfaces are provided:
- *
+ *
* XSetExtensionErrorHandler establish an extension error handler
* XMissingExtension raise an error about missing ext
*/
#include <X11/extensions/ge.h>
/* defined in Xge.c */
-extern _X_HIDDEN Bool
+extern _X_HIDDEN Bool
xgeExtRegister(Display* dpy, int extension, XExtensionHooks* callbacks);
/*
* XextCreateExtension - return an extension descriptor containing context
- * information for this extension. This object is passed to all Xext
+ * information for this extension. This object is passed to all Xext
* routines.
*/
XExtensionInfo *XextCreateExtension (void)
XExtDisplayInfo *XextAddDisplay (
XExtensionInfo *extinfo,
Display *dpy,
- char *ext_name,
+ _Xconst char *ext_name,
XExtensionHooks *hooks,
int nevents,
XPointer data)
dpyinfo->codes = XInitExtension (dpy, ext_name);
/*
- * if the server has the extension, then we can initialize the
+ * if the server has the extension, then we can initialize the
* appropriate function vectors
*/
if (dpyinfo->codes) {
if (hooks->free_font)
XESetFreeFont (dpy, dpyinfo->codes->extension, hooks->free_font);
if (hooks->close_display)
- XESetCloseDisplay (dpy, dpyinfo->codes->extension,
+ XESetCloseDisplay (dpy, dpyinfo->codes->extension,
hooks->close_display);
if (hooks->error)
XESetError (dpy, dpyinfo->codes->extension, hooks->error);
/*
- * XSetExtensionErrorHandler - sets the handler that gets called when a
+ * XSetExtensionErrorHandler - sets the handler that gets called when a
* requested extension is referenced. This should eventually move into Xlib.
*/
*/
#ifdef NULL_NOT_ZERO /* then need to initialize */
#define SetZero(t,var,z) t var = z
-#else
+#else
#define SetZero(t,var,z) t var
#endif