diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2010-07-12 13:38:04 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2010-07-12 13:45:26 -0700 |
commit | 89cc2e02e7c29ef9a02f0cfdf2090a2934f539e4 (patch) | |
tree | 298c4a3a6a88c04b8bc60240db4a828d4fe6ea3e | |
parent | 75480440946603b8efdbbf78b88d59c641b6d2c8 (diff) |
Replace untranslated .hN macros with <filename> tags to show header names
Translation performed by:
perl -i -p -e 's{\<\!-- .hN (\S+) (\S+)?\s*-->}
{<<filename class="headerfile">$1</filename>>$2}' *.xml
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r-- | specs/libX11/AppD.xml | 6 | ||||
-rw-r--r-- | specs/libX11/CH01.xml | 4 | ||||
-rw-r--r-- | specs/libX11/CH02.xml | 2 | ||||
-rw-r--r-- | specs/libX11/CH04.xml | 2 | ||||
-rw-r--r-- | specs/libX11/CH06.xml | 4 | ||||
-rw-r--r-- | specs/libX11/CH07.xml | 2 | ||||
-rw-r--r-- | specs/libX11/CH08.xml | 2 | ||||
-rw-r--r-- | specs/libX11/CH10.xml | 8 | ||||
-rw-r--r-- | specs/libX11/CH12.xml | 4 | ||||
-rw-r--r-- | specs/libX11/CH14.xml | 10 | ||||
-rw-r--r-- | specs/libX11/CH15.xml | 2 | ||||
-rw-r--r-- | specs/libX11/CH16.xml | 14 |
12 files changed, 30 insertions, 30 deletions
diff --git a/specs/libX11/AppD.xml b/specs/libX11/AppD.xml index 31f92a16..c2f9ebc0 100644 --- a/specs/libX11/AppD.xml +++ b/specs/libX11/AppD.xml @@ -191,7 +191,7 @@ Xlib provides functions that you can use to set or get window sizing hints. The functions discussed in this section use the flags and the <structname>XSizeHints</structname> structure, as defined in the -<!-- .hN X11/Xutil.h --> +<<filename class="headerfile">X11/Xutil.h</filename>> header file and use the WM_NORMAL_HINTS property. </para> <para> @@ -1339,7 +1339,7 @@ vertex structure. <para> <!-- .LP --> Each Vertex, as defined in -<!-- .hN X11/X10.h , --> +<<filename class="headerfile">X11/X10.h</filename>>, is a structure with the following members: </para> <para> @@ -1369,7 +1369,7 @@ is one). <para> <!-- .LP --> The flags, as defined in -<!-- .hN X11/X10.h , --> +<<filename class="headerfile">X11/X10.h</filename>>, are as follows: <indexterm significance="preferred"><primary>VertexRelative</primary></indexterm> <indexterm significance="preferred"><primary>VertexDontDraw</primary></indexterm> diff --git a/specs/libX11/CH01.xml b/specs/libX11/CH01.xml index cf15efe4..e6fcb322 100644 --- a/specs/libX11/CH01.xml +++ b/specs/libX11/CH01.xml @@ -179,7 +179,7 @@ These can be of type and <type>GContext</type>, as defined in the file -<!-- .hN X11/X.h . --> +<<filename class="headerfile">X11/X.h</filename>>. These resources are created by requests and are destroyed (or freed) by requests or when connections are closed. Most of these resources are potentially sharable between @@ -283,7 +283,7 @@ the error is printed, and your program terminates. The following include files are part of the Xlib standard: </para> <!-- .IP \(bu 5 --> -<!-- .hN X11/Xlib.h --> +<<filename class="headerfile">X11/Xlib.h</filename>> <!-- .IP --> <variablelist> diff --git a/specs/libX11/CH02.xml b/specs/libX11/CH02.xml index e68660b0..fd3a6089 100644 --- a/specs/libX11/CH02.xml +++ b/specs/libX11/CH02.xml @@ -219,7 +219,7 @@ returns a pointer to a <type>Display</type> structure, which is defined in -<!-- .hN X11/Xlib.h . --> +<<filename class="headerfile">X11/Xlib.h</filename>>. If <function>XOpenDisplay</function> does not succeed, it returns NULL. diff --git a/specs/libX11/CH04.xml b/specs/libX11/CH04.xml index 532df369..c617c551 100644 --- a/specs/libX11/CH04.xml +++ b/specs/libX11/CH04.xml @@ -910,7 +910,7 @@ arbitrary extension in this type scheme. Certain property names are predefined in the server for commonly used functions. The atoms for these properties are defined in -<!-- .hN X11/Xatom.h . --> +<<filename class="headerfile">X11/Xatom.h</filename>>. To avoid name clashes with user symbols, the <code>#define</code> name for each atom has the XA_ prefix. diff --git a/specs/libX11/CH06.xml b/specs/libX11/CH06.xml index 719bfd6e..607870e2 100644 --- a/specs/libX11/CH06.xml +++ b/specs/libX11/CH06.xml @@ -77,9 +77,9 @@ Add new color spaces <!-- .LP --> All functions, types, and symbols in this chapter with the prefix ``Xcms'' are defined in -<!-- .hN X11/Xcms.h . --> +<<filename class="headerfile">X11/Xcms.h</filename>>. The remaining functions and types are defined in -<!-- .hN X11/Xlib.h . --> +<<filename class="headerfile">X11/Xlib.h</filename>>. </para> <para> <!-- .LP --> diff --git a/specs/libX11/CH07.xml b/specs/libX11/CH07.xml index 498d18f6..fe20f430 100644 --- a/specs/libX11/CH07.xml +++ b/specs/libX11/CH07.xml @@ -269,7 +269,7 @@ is typically the most useful because it will work on a color display, but special applications may use other functions, particularly in concert with particular planes of a color display. The 16 GC functions, defined in -<!-- .hN X11/X.h , --> +<<filename class="headerfile">X11/X.h</filename>>, are: </para> <!-- .\" are listed in Table 5-1 along with the --> diff --git a/specs/libX11/CH08.xml b/specs/libX11/CH08.xml index e4cfb812..08de93d0 100644 --- a/specs/libX11/CH08.xml +++ b/specs/libX11/CH08.xml @@ -3341,7 +3341,7 @@ if the property was not defined or if it was defined. A set of predefined atoms exists for font properties, which can be found in -<!-- .hN X11/Xatom.h . --> +<<filename class="headerfile">X11/Xatom.h</filename>>. This set contains the standard properties associated with a font. Although it is not guaranteed, diff --git a/specs/libX11/CH10.xml b/specs/libX11/CH10.xml index 9852827d..812accd3 100644 --- a/specs/libX11/CH10.xml +++ b/specs/libX11/CH10.xml @@ -58,7 +58,7 @@ events are always sent to all clients. An event type describes a specific event generated by the X server. For each event type, a corresponding constant name is defined in -<!-- .hN X11/X.h , --> +<<filename class="headerfile">X11/X.h</filename>>, which is used when referring to an event type. <indexterm><primary>Event</primary><secondary>categories</secondary></indexterm> The following table lists the event category @@ -171,7 +171,7 @@ The processing associated with these events is discussed in section 10.5. <!-- .LP --> For each event type, a corresponding structure is declared in -<!-- .hN X11/Xlib.h . --> +<<filename class="headerfile">X11/Xlib.h</filename>>. All the event structures have the following common members: </para> <para> @@ -313,7 +313,7 @@ Clients select event reporting of most events relative to a window. To do this, pass an event mask to an Xlib event-handling function that takes an event_mask argument. The bits of the event mask are defined in -<!-- .hN X11/X.h . --> +<<filename class="headerfile">X11/X.h</filename>>. Each bit in the event mask maps to an event mask name, which describes the event or events you want the X server to return to a client application. @@ -2932,7 +2932,7 @@ a call to <function>XCopyPlane</function> initiated the request. These constants are defined in -<!-- .hN X11/Xproto.h . --> +<<filename class="headerfile">X11/Xproto.h</filename>>. The minor_code member, like the major_code member, indicates which graphics request was initiated by diff --git a/specs/libX11/CH12.xml b/specs/libX11/CH12.xml index 3d15f63d..a94c57fb 100644 --- a/specs/libX11/CH12.xml +++ b/specs/libX11/CH12.xml @@ -3035,14 +3035,14 @@ standards. In areas where no standards exist, some of these sets are derived from Digital Equipment Corporation standards. The list of defined symbols can be found in -<!-- .hN X11/keysymdef.h . --> +<<filename class="headerfile">X11/keysymdef.h</filename>>. Unfortunately, some C preprocessors have limits on the number of defined symbols. If you must use KeySyms not in the Latin 1-4, Greek, and miscellaneous classes, you may have to define a symbol for those sets. Most applications usually only include -<!-- .hN X11/keysym.h , --> +<<filename class="headerfile">X11/keysym.h</filename>>, which defines symbols for ISO Latin 1-4, Greek, and miscellaneous. </para> <para> diff --git a/specs/libX11/CH14.xml b/specs/libX11/CH14.xml index b60b0101..a7d939f2 100644 --- a/specs/libX11/CH14.xml +++ b/specs/libX11/CH14.xml @@ -1964,7 +1964,7 @@ the WM_HINTS property for a given window. These functions use the flags and the <structname>XWMHints</structname> structure, as defined in the -<!-- .hN X11/Xutil.h --> +<<filename class="headerfile">X11/Xutil.h</filename>> header file. <!-- .sp --> </para> @@ -2251,7 +2251,7 @@ the WM_NORMAL_HINTS property for a given window. The functions use the flags and the <structname>XSizeHints</structname> structure, as defined in the -<!-- .hN X11/Xutil.h --> +<<filename class="headerfile">X11/Xutil.h</filename>> header file. </para> <para> @@ -2787,7 +2787,7 @@ the WM_CLASS property for a given window. These functions use the <structname>XClassHint</structname> structure, which is defined in the -<!-- .hN X11/Xutil.h --> +<<filename class="headerfile">X11/Xutil.h</filename>> header file. <!-- .sp --> </para> @@ -3528,7 +3528,7 @@ These functions use the <structname>XIconSize</structname> <indexterm><primary>XIconSize</primary></indexterm> structure, which is defined in the -<!-- .hN X11/Xutil.h --> +<<filename class="headerfile">X11/Xutil.h</filename>> header file. <!-- .sp --> </para> @@ -4772,7 +4772,7 @@ and each such property is identified by an atom. The following list names the atoms and describes the colormap associated with each one. The -<!-- .hN X11/Xatom.h --> +<<filename class="headerfile">X11/Xatom.h</filename>> header file contains the definitions for each of the following atoms, which are prefixed with XA_. </para> diff --git a/specs/libX11/CH15.xml b/specs/libX11/CH15.xml index 50b1eae6..76ff14ac 100644 --- a/specs/libX11/CH15.xml +++ b/specs/libX11/CH15.xml @@ -123,7 +123,7 @@ value for that entry. <para> <!-- .LP --> The definitions for the resource manager are contained in -<!-- .hN X11/Xresource.h . --> +<<filename class="headerfile">X11/Xresource.h</filename>>. </para> <sect1 id="Resource_File_Syntax"> <title>Resource File Syntax</title> diff --git a/specs/libX11/CH16.xml b/specs/libX11/CH16.xml index bfc01ca1..8c91f901 100644 --- a/specs/libX11/CH16.xml +++ b/specs/libX11/CH16.xml @@ -394,7 +394,7 @@ Specifies the name of the KeySym that is to be converted. <!-- .LP --> <!-- .eM --> Standard KeySym names are obtained from -<!-- .hN X11/keysymdef.h --> +<<filename class="headerfile">X11/keysymdef.h</filename>> by removing the XK_ prefix from each name. KeySyms that are not part of the Xlib standard also may be obtained with this function. @@ -1037,7 +1037,7 @@ The bits are represented by or <symbol>YNegative</symbol> and are defined in -<!-- .hN X11/Xutil.h . --> +<<filename class="headerfile">X11/Xutil.h</filename>>. They will be set whenever one of the values is defined or one of the signs is set. </para> @@ -1239,7 +1239,7 @@ Xlib provides functions for manipulating regions. The opaque type <structname>Region</structname> is defined in -<!-- .hN X11/Xutil.h . --> +<<filename class="headerfile">X11/Xutil.h</filename>>. Xlib provides functions that you can use to manipulate regions. This section discusses how to: </para> @@ -2456,7 +2456,7 @@ The functions in this section use the visual information masks and the <structname>XVisualInfo</structname> structure, which is defined in -<!-- .hN X11/Xutil.h --> +<<filename class="headerfile">X11/Xutil.h</filename>> and contains: <!-- .sM --> </para> @@ -2675,7 +2675,7 @@ All operations on images are defined using an <structname>XImage</structname> structure, as defined in -<!-- .hN X11/Xlib.h . --> +<<filename class="headerfile">X11/Xlib.h</filename>>. Because the number of different types of image formats can be very large, this hides details of image storage properly from applications. </para> @@ -2900,7 +2900,7 @@ The basic functions used to get a pixel, set a pixel, create a subimage, and add a constant value to an image are defined in the image object. The functions in this section are really macro invocations of the functions in the image object and are defined in -<!-- .hN X11/Xutil.h . --> +<<filename class="headerfile">X11/Xutil.h</filename>>. </para> <para> <!-- .LP --> @@ -3909,7 +3909,7 @@ Xlib provides context management functions with which you can save data values, get data values, delete entries, and create a unique context type. The symbols used are in -<!-- .hN X11/Xutil.h . --> +<<filename class="headerfile">X11/Xutil.h</filename>>. </para> <para> <!-- .LP --> |