Makefile.am                              |    8 
 README                                   |   13 
 configure.ac                             |   46 
 docbook.am                               |  105 
 include/Makefile.am                      |    2 
 include/X11/CallbackI.h                  |    8 
 include/X11/Composite.h                  |    8 
 include/X11/CompositeP.h                 |   10 
 include/X11/ConstrainP.h                 |    8 
 include/X11/Constraint.h                 |    8 
 include/X11/ConvertI.h                   |    8 
 include/X11/Core.h                       |    8 
 include/X11/CoreP.h                      |    8 
 include/X11/EventI.h                     |    4 
 include/X11/InitialI.h                   |   10 
 include/X11/Object.h                     |    8 
 include/X11/ObjectP.h                    |    8 
 include/X11/PassivGraI.h                 |   16 
 include/X11/RectObj.h                    |    8 
 include/X11/RectObjP.h                   |    8 
 include/X11/ResConfigP.h                 |    4 
 include/X11/ShellP.h                     |   14 
 include/X11/TranslateI.h                 |    4 
 include/X11/VarargsI.h                   |    6 
 include/X11/Vendor.h                     |    8 
 include/X11/VendorP.h                    |   12 
 man/XtAddActions.man                     |   10 
 man/XtAddCallback.man                    |   18 
 man/XtAddEventHandler.man                |   46 
 man/XtAddExposureToRegion.man            |    4 
 man/XtAddGrab.man                        |   26 
 man/XtAddInput.man                       |   34 
 man/XtAllocateGC.man                     |   32 
 man/XtAppAddActionHook.man               |   34 
 man/XtAppAddActions.man                  |    2 
 man/XtAppAddBlockHook.man                |   34 
 man/XtAppAddConverter.man                |    4 
 man/XtAppAddInput.man                    |    8 
 man/XtAppAddSignal.man                   |   50 
 man/XtAppAddTimeOut.man                  |    4 
 man/XtAppAddWorkProc.man                 |    4 
 man/XtAppCreateShell.man                 |   38 
 man/XtAppError.man                       |    8 
 man/XtAppErrorMsg.man                    |    8 
 man/XtAppGetErrorDatabase.man            |    6 
 man/XtAppGetSelectionTimeout.man         |    8 
 man/XtAppInitialize.man                  |   36 
 man/XtAppLock.man                        |   38 
 man/XtAppNextEvent.man                   |   42 
 man/XtAppReleaseCacheRefs.man            |   34 
 man/XtAppSetExitFlag.man                 |   34 
 man/XtAppSetFallbackResources.man        |   36 
 man/XtAppSetTypeConverter.man            |   36 
 man/XtBuildEventMask.man                 |    4 
 man/XtCallAcceptFocus.man                |    2 
 man/XtCallActionProc.man                 |   32 
 man/XtCallCallbacks.man                  |   38 
 man/XtClass.man                          |   34 
 man/XtConfigureWidget.man                |   10 
 man/XtConvert.man                        |    6 
 man/XtConvertAndStore.man                |   38 
 man/XtCreateApplicationContext.man       |    8 
 man/XtCreateApplicationShell.man         |    2 
 man/XtCreatePopupShell.man               |    4 
 man/XtCreateSelectionRequest.man         |   40 
 man/XtCreateWidget.man                   |   34 
 man/XtCreateWindow.man                   |    4 
 man/XtDisplay.man                        |   38 
 man/XtDisplayInitialize.man              |   54 
 man/XtDisplayStringConversionWarning.man |   14 
 man/XtDisplayToApplicationContext.man    |   32 
 man/XtError.man                          |   38 
 man/XtErrorMsg.man                       |   38 
 man/XtFindFile.man                       |   32 
 man/XtGetActionKeysym.man                |   34 
 man/XtGetActionList.man                  |   32 
 man/XtGetApplicationNameAndClass.man     |   32 
 man/XtGetApplicationResources.man        |    4 
 man/XtGetClassExtension.man              |   38 
 man/XtGetDisplays.man                    |   32 
 man/XtGetErrorDatabase.man               |    6 
 man/XtGetGC.man                          |    6 
 man/XtGetKeyboardFocusWidget.man         |   32 
 man/XtGetKeysymTable.man                 |   16 
 man/XtGetResourceList.man                |   14 
 man/XtGetSelectionParameters.man         |   34 
 man/XtGetSelectionRequest.man            |   32 
 man/XtGetSelectionTimeout.man            |   34 
 man/XtGetSelectionValue.man              |   28 
 man/XtGetSelectionValueIncremental.man   |   36 
 man/XtGetSubresources.man                |    4 
 man/XtGrabKey.man                        |   50 
 man/XtHooksOfDisplay.man                 |   32 
 man/XtInitialize.man                     |   34 
 man/XtInitializeWidgetClass.man          |   34 
 man/XtInsertEventTypeHandler.man         |   42 
 man/XtLastEventProcessed.man             |   38 
 man/XtMakeGeometryRequest.man            |   18 
 man/XtMalloc.man                         |   18 
 man/XtManageChildren.man                 |   32 
 man/XtMapWidget.man                      |   12 
 man/XtName.man                           |   32 
 man/XtNameToWidget.man                   |    8 
 man/XtNextEvent.man                      |   20 
 man/XtOffset.man                         |   40 
 man/XtOpenApplication.man                |   40 
 man/XtOwnSelection.man                   |   40 
 man/XtParent.man                         |    2 
 man/XtParseAcceleratorTable.man          |   14 
 man/XtParseTranslationTable.man          |    6 
 man/XtPopdown.man                        |   22 
 man/XtPopup.man                          |   36 
 man/XtProcessLock.man                    |   38 
 man/XtQueryGeometry.man                  |    2 
 man/XtRealizeWidget.man                  |   30 
 man/XtRegisterDrawable.man               |   34 
 man/XtRegisterGrabAction.man             |   32 
 man/XtReservePropertyAtom.man            |   34 
 man/XtResolvePathname.man                |   34 
 man/XtSessionGetToken.man                |    4 
 man/XtSetArg.man                         |    8 
 man/XtSetKeyTranslator.man               |   24 
 man/XtSetKeyboardFocus.man               |   10 
 man/XtSetLanguageProc.man                |    8 
 man/XtSetMultiClickTime.man              |   30 
 man/XtSetSelectionParameters.man         |   34 
 man/XtSetSensitive.man                   |   26 
 man/XtSetValues.man                      |   48 
 man/XtSetWMColormapWindows.man           |   32 
 man/XtStringConversionWarning.man        |    2 
 man/XtToolkitThreadInitialize.man        |   32 
 man/XtTranslateCoords.man                |    4 
 man/XtVaCreateArgsList.man               |    2 
 specs/.gitignore                         |    5 
 specs/CH01                               | 2471 -------------
 specs/CH01.xml                           | 2798 +++++++++++++++
 specs/CH02                               | 3165 -----------------
 specs/CH02.xml                           | 4538 +++++++++++++++++++++++++
 specs/CH03                               | 1031 -----
 specs/CH03.xml                           | 1406 +++++++
 specs/CH04                               | 1998 -----------
 specs/CH04.xml                           | 2498 +++++++++++++
 specs/CH05                               |  783 ----
 specs/CH05.xml                           | 1063 +++++
 specs/CH06                               | 1110 ------
 specs/CH06.xml                           | 1369 +++++++
 specs/CH07                               | 3555 -------------------
 specs/CH07.xml                           | 4989 +++++++++++++++++++++++++++
 specs/CH08                               |  452 --
 specs/CH08.xml                           |  613 +++
 specs/CH09                               | 3211 -----------------
 specs/CH09.xml                           | 4326 ++++++++++++++++++++++++
 specs/CH10                               | 1521 --------
 specs/CH10.xml                           | 2211 ++++++++++++
 specs/CH11                               | 3566 -------------------
 specs/CH11.xml                           | 5538 +++++++++++++++++++++++++++++++
 specs/CH12                               | 1067 -----
 specs/CH12.xml                           | 1166 ++++++
 specs/CH13                               |  805 ----
 specs/CH13.xml                           |  770 ++++
 specs/Makefile.am                        |   61 
 specs/Xtk.intr.front                     |  333 -
 specs/acknowledgement.xml                |  323 +
 specs/appA                               |  107 
 specs/appA.xml                           |  112 
 specs/appB                               |  783 ----
 specs/appB.xml                           | 1181 ++++++
 specs/appC                               | 1204 ------
 specs/appC.xml                           | 1970 +++++++++++
 specs/appD                               |  602 ---
 specs/appD.xml                           |  880 ++++
 specs/appE                               |  606 ---
 specs/appE.xml                           | 1703 +++++++++
 specs/appF                               |  125 
 specs/appF.xml                           |  103 
 specs/intr.idxmac.t                      |    3 
 specs/intrinsics.xml                     |  128 
 specs/postproc                           |   19 
 specs/preface.xml                        |   51 
 specs/strings.mit                        |   16 
 src/ActionHook.c                         |    2 
 src/Alloc.c                              |    2 
 src/Converters.c                         |   18 
 src/Event.c                              |    8 
 src/Initialize.c                         |    8 
 src/Intrinsic.c                          |    6 
 src/Makefile.am                          |   10 
 src/NextEvent.c                          |    9 
 src/PopupCB.c                            |    8 
 src/Resources.c                          |   59 
 src/Selection.c                          |    5 
 src/SetSens.c                            |    4 
 src/TMaction.c                           |    2 
 src/TMparse.c                            |    6 
 src/VarCreate.c                          |   26 
 src/Varargs.c                            |    4 
 src/Vendor.c                             |   14 
 src/sharedlib.c                          |    6 
 test/.gitignore                          |    4 
 test/Alloc.c                             |  112 
 test/Converters.c                        |   83 
 test/Event.c                             |   91 
 test/Makefile.am                         |   14 
 util/Shell.ht                            |   10 
 util/StrDefs.ct                          |    8 
 util/StrDefs.ht                          |    8 
 util/makestrs.c                          |  136 
 util/makestrs.man                        |   72 
 util/string.list                         |    2 
 209 files changed, 41842 insertions(+), 30168 deletions(-)

New commits:
commit 2d689ac861085d1d74bcbd05d1595bac0bf67d20
Author: Alan Coopersmith <alan.coopersm...@oracle.com>
Date:   Thu Mar 15 22:51:45 2012 -0700

    libXt 1.1.3
    
    Signed-off-by: Alan Coopersmith <alan.coopersm...@oracle.com>

diff --git a/configure.ac b/configure.ac
index a8901fd..d15b326 100644
--- a/configure.ac
+++ b/configure.ac
@@ -22,7 +22,7 @@
 
 # Initialize Autoconf
 AC_PREREQ([2.60])
-AC_INIT([libXt], [1.1.2],
+AC_INIT([libXt], [1.1.3],
         [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], [libXt])
 AC_CONFIG_SRCDIR([Makefile.am])
 AC_CONFIG_HEADERS([config.h])

commit 75bef5b488245467b6638e25cd22006b306e8536
Author: Jeremy Huddleston <jerem...@apple.com>
Date:   Mon Mar 12 18:36:52 2012 -0700

    Revert "Treat unexpected returned events from poll as errors"
    
    This commit caused regressions:
    https://bugs.freedesktop.org/show_bug.cgi?id=47203
    https://bugs.freedesktop.org/show_bug.cgi?id=47216
    
    This reverts commit 70bb9e28d37fff4ead4d0a2c672af77059765fa4.

diff --git a/src/NextEvent.c b/src/NextEvent.c
index c8c9dd5..b1f7bc7 100644
--- a/src/NextEvent.c
+++ b/src/NextEvent.c
@@ -356,21 +356,7 @@ static int IoWait (
     return Select (wf->nfds, &wf->rmask, &wf->wmask, &wf->emask,
                   wt->wait_time_ptr);
 #else
-    int ret = poll (wf->fdlist, wf->fdlistlen, wt->poll_wait);
-    /* If poll() returns an event we didn't expect, such as POLLNVAL, treat
-     * it as if it failed. */
-    if(ret >= 0) {
-        nfds_t i;
-        for (i=0; i < wf->fdlistlen; i++) {
-            struct pollfd *fd = &wf->fdlist[i];
-            if (fd->revents & ~fd->events) {
-                ret = -1;
-                errno = EIO;
-                break;
-            }
-        }
-    }
-    return ret;
+    return poll (wf->fdlist, wf->fdlistlen, wt->poll_wait);
 #endif
 }
 

commit 8ab1833a80a18131d897f6d9965545c16acef921
Author: Alan Coopersmith <alan.coopersm...@oracle.com>
Date:   Wed Mar 7 17:57:26 2012 -0800

    libXt 1.1.2
    
    Signed-off-by: Alan Coopersmith <alan.coopersm...@oracle.com>

diff --git a/configure.ac b/configure.ac
index 3a1ab7e..a8901fd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -22,7 +22,7 @@
 
 # Initialize Autoconf
 AC_PREREQ([2.60])
-AC_INIT([libXt], [1.1.1],
+AC_INIT([libXt], [1.1.2],
         [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], [libXt])
 AC_CONFIG_SRCDIR([Makefile.am])
 AC_CONFIG_HEADERS([config.h])

commit aa0f30641769968e0453a7d02f3f8e5955641336
Author: Matt Dew <mar...@osource.org>
Date:   Mon Jan 16 16:24:32 2012 -0700

    informaltable cleanup
    
    On certain tables, add top and bottom borders to table header
    and a bottom border to the table. This matches what those
    tables in the old pdfs looked like.
    
    the <?dbfo keep-together='always'> prevents tables from
    splitting across pages. Useful for tiny tables.
    
    Converting the colwidth to a floating point, IE, 1* -> 1.0*
    cleans up these build errors:
    WARNING: table-layout="fixed" and column-width unspecified =>
    falling back to proportional-column-width(1)
    
    Signed-off-by: Matt Dew <mar...@osource.org>

diff --git a/specs/CH01.xml b/specs/CH01.xml
index 2f6a36f..df2f96f 100644
--- a/specs/CH01.xml
+++ b/specs/CH01.xml
@@ -816,16 +816,16 @@ initialize procedure, are
     </row>
   </thead>
   <tbody>
-    <row rowsep='0'>
+    <row>
       <entry>children</entry><entry>NULL</entry>
     </row>
-    <row rowsep='0'>
+    <row>
       <entry>num_children</entry><entry>0</entry>
     </row>
-    <row rowsep='0'>
+    <row>
       <entry>num_slots</entry><entry>0</entry>
     </row>
-    <row rowsep='0'>
+    <row>
       <entry>insert_position</entry><entry>Internal function to insert at 
end</entry>
     </row>
   </tbody>
diff --git a/specs/CH09.xml b/specs/CH09.xml
index 324fd2c..1f64de5 100644
--- a/specs/CH09.xml
+++ b/specs/CH09.xml
@@ -1323,7 +1323,7 @@ input values of representation type
 <informaltable frame='topbot'>
   <?dbfo keep-together="auto" ?>
   <tgroup cols='3' align='left' rowsep='0' colsep='0'>
-  <colspec colwidth='0.8*' colname='c1'/>
+  <colspec colwidth='0.7*' colname='c1'/>
   <colspec colwidth='1.0*' colname='c2'/>
   <colspec colwidth='0.6*' colname='c3'/>
   <thead>
diff --git a/specs/appE.xml b/specs/appE.xml
index fca8ca8..574cf15 100644
--- a/specs/appE.xml
+++ b/specs/appE.xml
@@ -701,7 +701,7 @@ class, and representation type symbolic constants.
   <colspec colwidth='1.0*' colname='c1'/>
   <colspec colwidth='1.0*' colname='c2'/>
   <thead>
-    <row rowsep='0'>
+    <row rowsep='1'>
       <entry>Symbol</entry>
       <entry>Definition</entry>
     </row>

commit 70bb9e28d37fff4ead4d0a2c672af77059765fa4
Author: Jeremy Huddleston <jerem...@apple.com>
Date:   Wed Jan 4 10:33:29 2012 -0800

    Treat unexpected returned events from poll as errors
    
    Inspired by libxcb's f0565e8f06aadf760a9065a97b8cf5ab9cbd18de
    
    Resolves https://bugs.freedesktop.org/show_bug.cgi?id=20048
    
    Signed-off-by: Jeremy Huddleston <jerem...@apple.com>

diff --git a/src/NextEvent.c b/src/NextEvent.c
index b1f7bc7..c8c9dd5 100644
--- a/src/NextEvent.c
+++ b/src/NextEvent.c
@@ -356,7 +356,21 @@ static int IoWait (
     return Select (wf->nfds, &wf->rmask, &wf->wmask, &wf->emask,
                   wt->wait_time_ptr);
 #else
-    return poll (wf->fdlist, wf->fdlistlen, wt->poll_wait);
+    int ret = poll (wf->fdlist, wf->fdlistlen, wt->poll_wait);
+    /* If poll() returns an event we didn't expect, such as POLLNVAL, treat
+     * it as if it failed. */
+    if(ret >= 0) {
+        nfds_t i;
+        for (i=0; i < wf->fdlistlen; i++) {
+            struct pollfd *fd = &wf->fdlist[i];
+            if (fd->revents & ~fd->events) {
+                ret = -1;
+                errno = EIO;
+                break;
+            }
+        }
+    }
+    return ret;
 #endif
 }
 

commit 6dd231d37c036d182e789f0af37ee5417792ad4e
Author: Stephen Turnbull <stephenjturnb...@gmail.com>
Date:   Wed Jan 4 10:18:29 2012 -0800

    Don't re-enter the WaitLoop if block is set to false
    
    See: https://bugs.freedesktop.org/show_bug.cgi?id=20048
    
    Signed-off-by: Jeremy Huddleston <jerem...@apple.com>

diff --git a/src/NextEvent.c b/src/NextEvent.c
index 181d20e..b1f7bc7 100644
--- a/src/NextEvent.c
+++ b/src/NextEvent.c
@@ -731,7 +731,14 @@ WaitLoop:
 #endif
        return dpy_no;
     }
-    goto WaitLoop;
+    if (block)
+        goto WaitLoop;
+    else {
+#ifdef USE_POLL
+       XtStackFree ((XtPointer) wf.fdlist, fdlist);
+#endif
+        return -1;
+    }
 }
 
 #define IeCallProc(ptr) \

commit 0d8ef503e2d51d727a912d6ef3cf017608e45b7f
Author: Gaetan Nadon <nadon@memsize.(none)>
Date:   Sat Dec 31 09:03:39 2011 -0500

    Add .gitignore for the newly added DocBook/XML generated files.
    
    Signed-off-by: Gaetan Nadon <nadon@memsize.(none)>

diff --git a/specs/.gitignore b/specs/.gitignore
new file mode 100644
index 0000000..92946c9
--- /dev/null
+++ b/specs/.gitignore
@@ -0,0 +1,5 @@
+*.html
+*.ps
+*.pdf
+*.txt
+*.db

commit 9cbf06b9f7b1378ce3424837c979c3241516bf9b
Author: Gaetan Nadon <nadon@memsize.(none)>
Date:   Fri Dec 30 17:08:14 2011 -0500

    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 <nadon@memsize.(none)>

diff --git a/docbook.am b/docbook.am
index 9377f5b..bba4d54 100644
--- a/docbook.am
+++ b/docbook.am
@@ -30,11 +30,9 @@ 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_CSS_STYLESHEET_FLAGS = --stringparam 
html.stylesheet=$(STYLESHEET_SRCDIR)/xorg.css
 XMLTO_HTML_FLAGS =                                     \
        $(XMLTO_SEARCHPATH_FLAGS)                       \
        $(XMLTO_HTML_STYLESHEET_FLAGS)                  \
-       $(XMLTO_HTML_CSS_STYLESHEET_FLAGS)              \
        $(XMLTO_HTML_OLINK_FLAGS)
 
 shelf_DATA += $(docbook:.xml=.html)

commit 7aa5d801d3b17fc9a1af9d5f6bc0283e3762cca2
Author: Matt Dew <mar...@osource.org>
Date:   Wed Dec 28 21:17:53 2011 -0700

    Remove old files.

diff --git a/specs/CH01 b/specs/CH01
deleted file mode 100644
index 8445733..0000000
--- a/specs/CH01
+++ /dev/null
@@ -1,2471 +0,0 @@
-.\" $Xorg: CH01,v 1.3 2000/08/17 19:42:42 cpqbld Exp $
-.\" Copyright \(co 1985, 1986, 1987, 1988, 1991, 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 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 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 dealings in this Software without prior written authorization
-.\" from the X Consortium.
-.\"
-.\" Copyright \(co 1985, 1986, 1987, 1988, 1991, 1994
-.\" Digital Equipment Corporation, Maynard, Massachusetts.
-.\"
-.\" Permission to use, copy, modify and distribute this documentation for any
-.\" purpose and without fee is hereby granted, provided that the above 
copyright
-.\" notice appears in all copies and that both that copyright notice and this
-.\" permission notice appear in supporting documentation, and that the name of
-.\" Digital not be used in in advertising or publicity pertaining
-.\" to distribution of the software without specific, written prior permission.
-.\" Digital makes no representations about the suitability of the
-.\" software described herein for any purpose.
-.\" It is provided ``as is'' without express or implied warranty.
-.\"
-\&
-.sp 1
-.ce 3
-\s+1\fBChapter 1\fP\s-1
-
-\s+1\fBIntrinsics and Widgets\fP\s-1
-.sp 2
-.if \n(GS .nr nh*hl 1
-.nr H1 1
-.nr H2 0
-.nr H3 0
-.nr H4 0
-.nr H5 0
-.LP
-.XS
-\fBChapter 1 \(em Intrinsics and Widgets\fP
-.XE
-The \*(xI are a programming library tailored to the special requirements
-of user interface construction within a network window system,
-specifically the X Window System.
-The \*(xI and a widget set make up an \*(tk.
-
-.NH 2
-Intrinsics
-.XS
-\fB\*(SN Intrinsics\fP
-.XE
-.LP
-The \*(xI provide the base mechanism necessary to build
-a wide variety of interoperating widget sets and application environments.
-The Intrinsics are a layer on top of Xlib, the
-C Library X Interface.  They extend the
-fundamental abstractions provided by the X Window System while still
-remaining independent of any particular user interface policy or
-style.
-.LP
-The Intrinsics use object-oriented programming techniques to supply a
-consistent architecture for constructing and composing user interface
-components, known as widgets.  This
-allows programmers to extend a widget set in new ways, either by
-deriving new widgets from existing ones (subclassing) or by writing
-entirely new widgets following the established conventions.
-.LP
-When the \*(xI were first conceived, the root of the object
-hierarchy was a widget class named
-Core.
-.IN "Core"
-In Release 4 of the
-\*(xI, three nonwidget superclasses were added above Core.
-These superclasses are described in Chapter 12.  The name of the class
-now at the root of the Intrinsics class hierarchy is
-Object.
-.IN "Object"
-The remainder of this
-specification refers uniformly to \fIwidgets\fP and \fICore\fP
-as if they were the
-base class for all \*(xI operations.  The argument descriptions
-for each Intrinsics procedure and Chapter 12 describe which operations
-are defined for the nonwidget superclasses of Core.  The reader may
-determine by context whether a specific reference to \fIwidget\fP
-actually means ``widget'' or ``object.''
-
-.NH 2
-Languages
-.XS
-\fB\*(SN Languages\fP
-.XE
-.LP
-The Intrinsics are intended to be used for two programming purposes.
-Programmers writing widgets will be using most of the facilities
-provided by the
-Intrinsics to construct user interface components from the simple, such
-as buttons and scrollbars, to the complex, such as control panels and
-property sheets.  Application programmers will use a much smaller subset of
-the Intrinsics procedures in combination with one or more sets of widgets to
-construct and present complete user interfaces on an X display.  The
-Intrinsics
-programming interfaces primarily
-intended for application use are designed to be callable from most
-procedural programming languages.  Therefore, most arguments are passed by
-reference rather than by value.  The interfaces primarily
-intended for widget programmers are expected to be used principally
-from the C language.  In these cases, the usual C programming
-conventions apply.  In this specification, the term \fIclient\fP refers to
-any module, widget, or application that calls an Intrinsics procedure.
-.LP
-Applications that use the \*(xI mechanisms
-must include the header files
-.Pn < X11/Intrinsic.h >
-and
-.Pn < X11/StringDefs.h >,
-or their equivalent,
-and they may also include
-.Pn < X11/Xatoms.h >
-and
-.Pn < X11/Shell.h >.
-In addition, widget implementations should include
-.Pn < X11/IntrinsicP.h >
-instead of
-.Pn < X11/Intrinsic.h >.
-.LP
-The applications must also include the additional header files for
-each widget class that they are to use (for example,
-.Pn < X11/Xaw/Label.h >
-or
-.Pn < X11/Xaw/Scrollbar.h >).
-On a POSIX-based system,
-the \*(xI object library file is named
-.PN libXt.a
-and is usually referenced as \-lXt when linking the application.
-
-.NH 2
-Procedures and Macros
-.LP
-.XS
-\fB\*(SN Procedures and Macros\fP
-.XE
-All functions defined in this specification except those specified below
-may be implemented as C macros with arguments.  C applications may use
-``#undef'' to remove a macro definition and ensure that the actual function
-is referenced.  Any such macro will expand to a single expression that
-has the same precedence as a function call and that evaluates each
-of its arguments exactly once, fully protected by parentheses, so that
-arbitrary expressions may be used as arguments.
-.LP
-The following symbols are macros that do not have function
-equivalents and that may expand their arguments in a manner other
-than that described above:
-.PN XtCheckSubclass ,
-.PN XtNew ,
-.PN XtNumber ,
-.PN XtOffsetOf ,
-.PN XtOffset ,
-and
-.PN XtSetArg .
-
-.NH 2
-Widgets
-.LP
-.XS
-\fB\*(SN Widgets\fP
-.XE
-.LP
-The fundamental abstraction and data type of the \*(tk is the widget,
-which is a combination of an X window and its associated
-input and display semantics
-and which is dynamically allocated and contains state information.
-Some widgets display information (for example, text or graphics),
-and others are merely containers for other widgets (for example, a menu box).
-Some widgets are output-only and do not react to pointer or keyboard input,
-and others change their display in response to input
-and can invoke functions that an application has attached to them.
-.LP
-Every widget belongs to exactly one widget class, which is statically
-allocated and initialized and which contains the operations allowable on
-widgets of that class.
-Logically, a widget class is the procedures and data associated
-with all widgets belonging to that class.
-These procedures and data can be inherited by
-subclasses.
-Physically, a widget class is a pointer to a structure.
-The contents of this structure are constant for all widgets of the widget
-class but will vary from class to class.
-(Here, ``constant'' means the class structure is initialized at compile time
-and never changed, except for a one-time class initialization
-and in-place compilation of resource lists,
-which takes place when the first widget of the class or subclass is created.)
-For further information,
-see Section 2.5.
-.LP
-The distribution of the declarations and code for a new widget class
-among a public .h file for application programmer use, a private .h file
-for widget programmer use,
-and the implementation .c file is described in Section 1.6.
-The predefined widget classes adhere to these conventions.
-.LP
-A widget instance is composed of two parts:
-.IP \(bu 5
-A data structure which contains instance-specific values.
-.IP \(bu 5
-A class structure which contains information that is applicable to
-all widgets of that class.
-.LP
-Much of the input/output of a widget (for example, fonts, colors, sizes,
-or border widths) is customizable by users.
-.LP
-This chapter discusses the base widget classes,
-Core, Composite, and Constraint, and
-ends with a discussion of widget classing.
-
-.NH 3
-Core Widgets
-.XS
-\*(SN Core Widgets
-.XE
-.LP
-.IN "Core" "" "@DEF@"
-The
-Core
-widget class contains the definitions of fields common to all widgets.
-All widgets classes are subclasses of the
-Core class,
-which is defined by the
-.PN CoreClassPart
-and
-.PN CorePart
-structures.
-
-.NH 4
-CoreClassPart Structure
-.XS
-\*(SN CoreClassPart Structure
-.XE
-.LP
-All widget classes contain the fields defined in the
-.PN CoreClassPart
-structure.
-.LP
-.IN "CoreClassPart" "" "@DEF@"
-.sM
-.Ds 0
-.TA .5i 3.5i
-.ta .5i 3.5i
-typedef struct {
-       WidgetClass superclass; See Section 1.6
-       String class_name;      See Chapter 9
-       Cardinal widget_size;   See Section 1.6
-       XtProc class_initialize;        See Section 1.6
-       XtWidgetClassProc class_part_initialize;        See Section 1.6
-       XtEnum class_inited;    See Section 1.6
-       XtInitProc initialize;  See Section 2.5
-       XtArgsProc initialize_hook;     See Section 2.5
-       XtRealizeProc realize;  See Section 2.6
-       XtActionList actions;   See Chapter 10
-       Cardinal num_actions;   See Chapter 10
-       XtResourceList resources;       See Chapter 9
-       Cardinal num_resources; See Chapter 9
-       XrmClass xrm_class;     Private to resource manager
-       Boolean compress_motion;        See Section 7.9
-       XtEnum compress_exposure;       See Section 7.9
-       Boolean compress_enterleave;    See Section 7.9
-       Boolean visible_interest;       See Section 7.10
-       XtWidgetProc destroy;   See Section 2.8
-       XtWidgetProc resize;    See Chapter 6
-       XtExposeProc expose;    See Section 7.10
-       XtSetValuesFunc set_values;     See Section 9.7
-       XtArgsFunc set_values_hook;     See Section 9.7
-       XtAlmostProc set_values_almost; See Section 9.7
-       XtArgsProc get_values_hook;     See Section 9.7
-       XtAcceptFocusProc accept_focus; See Section 7.3
-       XtVersionType version;  See Section 1.6
-       XtPointer callback_private;     Private to callbacks
-       String tm_table;                See Chapter 10
-       XtGeometryHandler query_geometry;       See Chapter 6
-       XtStringProc display_accelerator;       See Chapter 10
-       XtPointer extension;    See Section 1.6
-} CoreClassPart;
-.De
-.LP
-.eM
-All widget classes have the Core class fields as their first component.
-The prototypical
-.PN WidgetClass
-and
-.PN CoreWidgetClass
-are defined with only this set of fields.
-.LP
-.IN "Core"
-.IN "WidgetClass" "" "@DEF@"
-.IN "CoreWidgetClass" "" "@DEF@"
-.sM
-.Ds 0
-.TA .5i 3i
-.ta .5i 3i
-typedef struct {
-       CoreClassPart core_class;
-} WidgetClassRec, *WidgetClass, CoreClassRec, *CoreWidgetClass;
-.De
-.LP
-.eM
-Various routines can cast widget class pointers, as needed,
-to specific widget class types.
-.LP
-The single occurrences of the class record and pointer for
-creating instances of Core are
-.LP
-In
-.PN IntrinsicP.h :
-.LP
-.sM
-.Ds 0
-.TA .5i 3i
-.ta .5i 3i
-extern WidgetClassRec widgetClassRec;
-#define coreClassRec widgetClassRec
-.De
-.LP
-.eM
-In
-.PN Intrinsic.h :
-.LP
-.sM
-.Ds 0
-.TA .5i 3i
-.ta .5i 3i
-extern WidgetClass widgetClass, coreWidgetClass;
-.De
-.LP
-.eM
-The opaque types
-.PN Widget
-and
-.PN WidgetClass
-and the opaque variable
-.PN widgetClass
-are defined for generic actions on widgets.
-In order to make these types opaque and ensure that the compiler
-does not allow applications to access private data, the \*(xI use
-incomplete structure definitions in
-.PN Intrinsic.h :
-.LP
-.sM
-.Ds 0
-.TA .5i 3i
-.ta .5i 3i
-typedef struct _WidgetClassRec *WidgetClass, *CoreWidgetClass;
-.De
-.eM
-
-.NH 4
-CorePart Structure
-.XS
-\*(SN CorePart Structure
-.XE
-.LP
-All widget instances contain the fields defined in the
-.PN CorePart
-structure.
-.LP
-.IN "CorePart" "" "@DEF@"
-.sM
-.Ds 0
-.TA .5i 3i
-.ta .5i 3i
-typedef struct _CorePart {
-       Widget self;    Described below
-       WidgetClass widget_class;       See Section 1.6
-       Widget parent;  See Section 2.5
-       Boolean being_destroyed;        See Section 2.8
-       XtCallbackList destroy_callbacks;       See Section 2.8
-       XtPointer constraints;  See Section 3.6
-       Position x;     See Chapter 6
-       Position y;     See Chapter 6
-       Dimension width;        See Chapter 6
-       Dimension height;       See Chapter 6
-       Dimension border_width; See Chapter 6
-       Boolean managed;        See Chapter 3
-       Boolean sensitive;      See Section 7.7
-       Boolean ancestor_sensitive;     See Section 7.7
-       XtTranslations accelerators;    See Chapter 10
-       Pixel border_pixel;     See Section 2.6
-       Pixmap border_pixmap;   See Section 2.6
-       WidgetList popup_list;  See Chapter 5
-       Cardinal num_popups;    See Chapter 5
-       String name;    See Chapter 9
-       Screen *screen; See Section 2.6
-       Colormap colormap;      See Section 2.6
-       Window window;  See Section 2.6
-       Cardinal depth; See Section 2.6
-       Pixel background_pixel; See Section 2.6
-       Pixmap background_pixmap;       See Section 2.6
-       Boolean visible;        See Section 7.10
-       Boolean mapped_when_managed;    See Chapter 3
-} CorePart;
-.De
-.LP
-.eM
-All widget instances have the Core fields as their first component.
-The prototypical type
-.PN Widget
-is defined with only this set of fields.
-.LP
-.IN "Widget" "" "@DEF@"
-.IN "CoreWidget" "" "@DEF@"
-.sM
-.Ds 0
-.TA .5i 3i
-.ta .5i 3i
-typedef struct {
-       CorePart core;
-} WidgetRec, *Widget, CoreRec, *CoreWidget;
-.De
-.LP
-.eM
-Various routines can cast widget pointers, as needed,
-to specific widget types.
-.LP
-In order to make these types opaque and ensure that the compiler
-does not allow applications to access private data, the \*(xI use
-incomplete structure definitions in
-.PN Intrinsic.h .
-.LP
-.sM
-.Ds 0
-.TA .5i 3i
-.ta .5i 3i
-typedef struct _WidgetRec *Widget, *CoreWidget;
-.De
-.eM
-
-.NH 4
-Core Resources
-.LP
-.XS
-\fB\*(SN Core Resources\fP
-.XE
-.LP
-.IN "CoreWidget" "Resources"
-The resource names, classes, and representation types specified in the
-.PN coreClassRec
-resource list are
-.LP
-.TS
-lw(1.5i) lw(1.5i) lw(2.5i) .
-_
-.sp 6p
-Name   Class   Representation
-.sp 6p
-_
-.sp 6p
-XtNaccelerators        XtCAccelerators XtRAcceleratorTable
-XtNbackground  XtCBackground   XtRPixel
-XtNbackgroundPixmap    XtCPixmap       XtRPixmap
-XtNborderColor XtCBorderColor  XtRPixel
-XtNborderPixmap        XtCPixmap       XtRPixmap
-XtNcolormap    XtCColormap     XtRColormap
-XtNdepth       XtCDepth        XtRInt
-XtNmappedWhenManaged   XtCMappedWhenManaged    XtRBoolean
-XtNscreen      XtCScreen       XtRScreen
-XtNtranslations        XtCTranslations XtRTranslationTable
-.sp 6p
-_
-.TE
-.LP
-Additional resources are defined for all widgets via the
-.PN objectClassRec
-and
-.PN rectObjClassRec
-resource lists; see Sections 12.2 and 12.3 for details.
-
-.NH 4
-CorePart Default Values
-.XS
-\*(SN CorePart Default Values
-.XE


-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/e1slt2l-0004h8...@vasks.debian.org

Reply via email to