mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-24 23:00:05 +01:00
xc/programs/Xserver/hw/xfree86/loader/dixsym.c
xc/programs/Xserver/include/globals.h xc/programs/Xserver/mi/miinitext.c //bugs.freedesktop.org/show_bug.cgi?id=1361) attachment #894 (https://bugs.freedesktop.org/attachment.cgi?id=894): Allow turning on/off most of the Xserver extensions (=all except server-specific extensions (e.g. DMX, XpExtension, etc.) via +extension/-extension
This commit is contained in:
parent
0e3171a83a
commit
b48a2a340f
8 changed files with 1452 additions and 70 deletions
115
Xprint/doc/Xprt.html
Normal file
115
Xprint/doc/Xprt.html
Normal file
|
|
@ -0,0 +1,115 @@
|
|||
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Xprt</title><meta name="generator" content="DocBook XSL Stylesheets V1.62.4"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry" lang="en"><a name="Xprt"></a><div class="titlepage"><div></div><div></div></div><div class="refnamediv"><h2>Name</h2><p>Xprt — Print server for X Version 11</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="cmdsynopsis"><p><tt class="command">Xprt</tt> [<tt class="option">-ac</tt>] [<tt class="option">-audit <i class="replaceable"><tt>level</tt></i></tt>] [<tt class="option">-pn</tt>] [<tt class="option">-fp <i class="replaceable"><tt>fontpath</tt></i></tt>] [<tt class="option">-XpFile <i class="replaceable"><tt>file</tt></i></tt>] [<tt class="option">-XpSpoolerType <i class="replaceable"><tt>spoolername</tt></i></tt>] [<tt class="option">:<i class="replaceable"><tt>display</tt></i></tt>]</p></div></div><div class="refsect1" lang="en"><a name="id2804962"></a><h2>DESCRIPTION</h2><p><span><b class="command">Xprt</b></span> is the Xprint print server
|
||||
for version 11 of the X Window system for non display devices
|
||||
such as printers and fax machines.</p><p>Xprint is an advanced printing system which enables X11
|
||||
applications to use devices like printers, FAX or create
|
||||
documents in formats like PostScript, PCL or PDF. It may be used by
|
||||
clients such as <span class="application">mozilla</span>.
|
||||
</p><p>Xprint is a very flexible, extensible, scaleable, client/server
|
||||
print system based on ISO 10175 (and some other specs) and the X11
|
||||
rendering protocol.
|
||||
Using Xprint an application can search, query and use devices like
|
||||
printers, FAX machines or create documents in formats like PDF.
|
||||
In particular, an application can seek a printer, query supported
|
||||
attributes (like paper size, trays, fonts etc.), configure the printer
|
||||
device to match it's needs and print on it like on any other X device
|
||||
reusing parts of the code which is used for the video card Xserver.
|
||||
</p></div><div xmlns:ns1="" class="refsect1" lang="en"><a name="id2805117"></a><h2>USAGE</h2><p>
|
||||
Although Xprt may be invoked from the command line, it is
|
||||
preferable to run it as a daemon via the init script
|
||||
<tt class="filename">/etc/init.d/xprint</tt> (where this script exists).
|
||||
</p><p>Client programs such as mozilla will require environment
|
||||
variable <tt class="envar">${XPSERVERLIST}</tt> to be set, identifying the
|
||||
"display" on which Xprt is running. This variable may be set
|
||||
for all users via <tt class="filename">/etc/profile</tt> (or similar), using
|
||||
<b class="userinput"><tt>/etc/init.d/xprint get_xpserverlist</tt></b>:
|
||||
</p><div class="informalexample"><pre class="programlisting">export XPSERVERLIST=`/etc/init.d/xprint get_xpserverlist`</pre></div></div><div class="refsect1" lang="en"><a name="id2805150"></a><h2>OPTIONS</h2><p>Many of Xprt's command line options are shared in common
|
||||
with the usual X servers (see <span class="citerefentry"><span class="refentrytitle">Xserver</span>(1x)</span>).
|
||||
Commonly used options include:</p><div class="variablelist"><dl><dt><span class="term"><tt class="option">:<i class="replaceable"><tt>display</tt></i></tt></span></dt><dd><p> The X server runs on the given display. If multiple X
|
||||
servers are to run simultaneously on a host, each must
|
||||
have a unique display number. Note that the standard X
|
||||
server (for video displays) typically runs on display
|
||||
:0. If <tt class="filename">/etc/init.d/xprint</tt> is used
|
||||
to invoke Xprt, it may be configured to automatically assign an available
|
||||
display number.</p></dd><dt><span class="term"><tt class="option">-ac</tt></span></dt><dd><p>disables host-based access control mechanisms. Enables access
|
||||
by any host, and permits any host to modify the access control
|
||||
list. Use with extreme caution. This option exists primarily
|
||||
for running test suites remotely.</p></dd><dt><span class="term"><tt class="option">-audit <i class="replaceable"><tt>level</tt></i></tt></span></dt><dd><p>sets the audit trail level. The default level is 1, meaning
|
||||
only connection rejections are reported. Level 2 additionally
|
||||
reports all successful connections and disconnects. Level 4
|
||||
enables messages from the SECURITY extension, if present,
|
||||
including generation and revocation of authorizations and
|
||||
violations of the security policy. Level 0 turns off the audit
|
||||
trail. Audit lines are sent as standard error output.</p></dd><dt><span class="term"><tt class="option">-fp <i class="replaceable"><tt>fontpath</tt></i></tt></span></dt><dd><p>sets the search path for fonts. This path is a comma
|
||||
separated list of directories which Xprt searches for
|
||||
font databases.</p></dd><dt><span class="term"><tt class="option">-pn</tt></span></dt><dd><p>permits the server to continue running if it fails to
|
||||
establish all of its well-known sockets (connection
|
||||
points for clients), but establishes at least
|
||||
one.</p></dd><dt><span class="term"><tt class="option">-XpFile <i class="replaceable"><tt>file</tt></i></tt></span></dt><dd><p>Sets an altername Xprinters file (see section FILES).</p></dd><dt><span class="term"><tt class="option">-XpSpoolerType <i class="replaceable"><tt>spoolername</tt></i></tt></span></dt><dd xmlns:ns2=""><p>
|
||||
Defines the spooler system to be used for print job spooling.
|
||||
Supported values in xprint.mozdev.org release 009 are:
|
||||
</p><table class="simplelist" border="0" summary="Simple list"><tr><td>aix</td></tr><tr><td>aix4</td></tr><tr><td>bsd</td></tr><tr><td>osf</td></tr><tr><td>solaris</td></tr><tr><td>sysv</td></tr><tr><td>uxp</td></tr><tr><td>cups</td></tr><tr><td>lprng</td></tr><tr><td>other</td></tr><tr><td>none</td></tr></table><p>
|
||||
(multiple values can be specified, seperated by ':', the first active spooler will be chosen).
|
||||
The default value is platform-specific and can be obtained via
|
||||
</p><pre class="programlisting">Xprt -h</pre><p>.
|
||||
</p></dd></dl></div></div><div xmlns:ns3="" class="refsect1" lang="en"><a name="id2805336"></a><h2>ENVIRONMENT</h2><p>
|
||||
The following environment variables are recognized by the X print server
|
||||
(environment variables recognized by Xprint clients are described in
|
||||
<span class="citerefentry"><span class="refentrytitle">Xprint</span>(7)</span>):
|
||||
|
||||
</p><div class="variablelist"><dl><dt><span class="term"><tt class="envar">${XPCONFIGDIR}</tt></span></dt><dd><p> This environment variable points to the root
|
||||
of the Xprint server configuration directory hierarchy.
|
||||
If the variable is not defined, the default
|
||||
path is be assumed. The default path may be
|
||||
<tt class="filename">/usr/X11R6/lib/X11/xserver/</tt>,
|
||||
<tt class="filename">/usr/lib/X11/xserver/</tt>,
|
||||
<tt class="filename">/usr/share/Xprint/xserver/</tt> or
|
||||
<tt class="filename">/usr/openwin/server/etc/XpConfig</tt>, depending on the
|
||||
system, and may be configured in <tt class="filename">/etc/init.d/xprint</tt>.</p></dd><dt><span class="term"><tt class="envar">${LANG}</tt></span></dt><dd><p>
|
||||
This environment variable selects the locale settings used by the Xprint server.
|
||||
Xprt allows language-specific settings (stored in <tt class="filename">${XPCONFIGDIR}/${LANG}/print/</tt>)
|
||||
which will override the default settings (stored in <tt class="filename">${XPCONFIGDIR}/C/print/</tt>).
|
||||
If <tt class="envar">${LANG}</tt> is not set "C" is assumed.
|
||||
</p></dd></dl></div></div><div class="refsect1" lang="en"><a name="id2805421"></a><h2>FILES</h2><div class="variablelist"><dl><dt><span class="term"><tt class="filename">${XPCONFIGDIR}/${LANG}/print/Xprinters</tt>, </span><span class="term"><tt class="filename">${XPCONFIGDIR}/C/print/Xprinters</tt></span></dt><dd><p>
|
||||
`Xprinters' is the top most configuration file. It tells
|
||||
Xprt which specific printer names (e.g. mylaser) should
|
||||
be supported, and whether <span class="citerefentry"><span class="refentrytitle">lpstat</span>(1)</span> or other commands
|
||||
should be used to automatically supplement the list of
|
||||
printers.
|
||||
</p></dd><dt><span class="term"><tt class="filename">${XPCONFIGDIR}/${LANG}/print/attributes/printer</tt>, </span><span class="term"><tt class="filename">${XPCONFIGDIR}/C/print/attributes/printer</tt></span></dt><dd><p>
|
||||
The `printer' file maps printer names to model
|
||||
configurations (see `model-config' below). For example,
|
||||
"mylaser" could be mapped to a "HPDJ1600C", and all other
|
||||
arbitrary printers could be mapped to a default, such as
|
||||
"HPLJ4SI". When depending on <span class="citerefentry"><span class="refentrytitle">lpstat</span>(1)</span> in the Xprinters
|
||||
file, setting up defaults in `printer' becomes all the
|
||||
more important.
|
||||
</p></dd><dt><span class="term"><tt class="filename">${XPCONFIGDIR}/${LANG}/print/attributes/document</tt>, </span><span class="term"><tt class="filename">${XPCONFIGDIR}/C/print/attributes/document</tt></span></dt><dd><p>
|
||||
The `document' file specifies the initial document values
|
||||
for any print jobs. For example, which paper tray to
|
||||
use, what default resolution, etc.
|
||||
</p></dd><dt><span class="term"><tt class="filename">${XPCONFIGDIR}/${LANG}/print/attributes/job</tt>, </span><span class="term"><tt class="filename">${XPCONFIGDIR}/C/print/attributes/job</tt></span></dt><dd><p>
|
||||
The `job' file specifies the initial job values for any
|
||||
print jobs. For example, "notification-profile" can be
|
||||
set so that when a print job is successfully sent to a
|
||||
printer, e-mail is sent to the user.
|
||||
</p></dd><dt><span class="term"><tt class="filename">${XPCONFIGDIR}/C/print/models/PSdefault/model-config</tt>, </span><span class="term"><tt class="filename">${XPCONFIGDIR}/C/print/models/PSdefault/fonts/fonts.dir</tt>, </span><span class="term"><tt class="filename">${XPCONFIGDIR}/C/print/models/PSdefault/fonts/9nb00051.pmf</tt>, </span><span class="term"><tt class="filename">${XPCONFIGDIR}/C/print/models/PSdefault/fonts/9nb00093.pmf</tt></span></dt><dd><p>
|
||||
The `model-config' file has attributes that describe the
|
||||
printer model's capabilities and default settings.
|
||||
Printer model fonts may also be present. The model-config
|
||||
file also identifies the print ddx driver to be used.
|
||||
|
||||
For each printer model supported, a complete hierarchy of
|
||||
files should exist. In most cases, these files do not
|
||||
need to be modified.
|
||||
</p></dd><dt><span class="term"><tt class="filename">${XPCONFIGDIR}/C/print/ddx-config/raster/pdf</tt>, </span><span class="term"><tt class="filename">${XPCONFIGDIR}/C/print/ddx-config/raster/pcl</tt>, </span><span class="term"><tt class="filename">${XPCONFIGDIR}/C/print/ddx-config/raster/postscript</tt></span></dt><dd><p>
|
||||
The print ddx drivers can have highly specific
|
||||
configuration files to control their behavior. In most
|
||||
cases, these files do not need to be modified.
|
||||
</p></dd></dl></div></div><div class="refsect1" lang="en"><a name="id2805584"></a><h2>SEE ALSO</h2><p><span class="simplelist"><span class="citerefentry"><span class="refentrytitle">Xprint</span>(7)</span>, <span class="citerefentry"><span class="refentrytitle">X11</span>(7)</span>, <span class="citerefentry"><span class="refentrytitle">xplsprinters</span>(1x)</span>, <span class="citerefentry"><span class="refentrytitle">xprehashprinterlist</span>(1x)</span>, <span class="citerefentry"><span class="refentrytitle">xphelloworld</span>(1x)</span>, <span class="citerefentry"><span class="refentrytitle">xpxmhelloworld</span>(1x)</span>, <span class="citerefentry"><span class="refentrytitle">xpawhelloworld</span>(1x)</span>, <span class="citerefentry"><span class="refentrytitle">xpxthelloworld</span>(1x)</span>, <span class="citerefentry"><span class="refentrytitle">xpsimplehelloworld</span>(1x)</span>, <span class="citerefentry"><span class="refentrytitle">Xserver</span>(1x)</span>, <span class="citerefentry"><span class="refentrytitle">libXp</span>(3x)</span>, <span class="citerefentry"><span class="refentrytitle">libXprintUtils</span>(3x)</span>, <span class="citerefentry"><span class="refentrytitle">libXprintAppUtils</span>(3x)</span>, <span class="citerefentry"><span class="refentrytitle">XmPrintShell</span>(3x)</span>, <span class="citerefentry"><span class="refentrytitle">XawPrintShell</span>(3x)</span>, Xprint FAQ (<a href="http://xprint.mozdev.org/docs/Xprint_FAQ.html" target="_top">http://xprint.mozdev.org/docs/Xprint_FAQ.html</a>), Xprint main site (<a href="http://xprint.mozdev.org/" target="_top">http://xprint.mozdev.org/</a>)</span></p></div><div class="refsect1" lang="en"><a name="id2805757"></a><h2>AUTHORS</h2><p>
|
||||
This manual page was written by
|
||||
Drew Parsons <tt class="email"><<a href="mailto:dparsons@debian.org">dparsons@debian.org</a>></tt> and
|
||||
Roland Mainz <tt class="email"><<a href="mailto:roland.mainz@nrubsig.org">roland.mainz@nrubsig.org</a>></tt>,
|
||||
with some help from the man page at
|
||||
<a href="http://www.sins.com.au/unix/manpages/Xprt.html" target="_top">http://www.sins.com.au/unix/manpages/Xprt.html</a> and the XFree86
|
||||
man page for <span class="citerefentry"><span class="refentrytitle">Xserver</span>(1)</span>.
|
||||
</p></div></div></body></html>
|
||||
196
Xprint/doc/Xprt.man.pre
Normal file
196
Xprint/doc/Xprt.man.pre
Normal file
|
|
@ -0,0 +1,196 @@
|
|||
.\" -*- coding: us-ascii -*-
|
||||
.TH Xprt __appmansuffix__ "25 November 2004"
|
||||
.SH NAME
|
||||
Xprt \- Print server for X Version 11
|
||||
.SH SYNOPSIS
|
||||
.ad l
|
||||
\fBXprt\fR \kx
|
||||
.if (\nxu > (\n(.lu / 2)) .nr x (\n(.lu / 5)
|
||||
'in \n(.iu+\nxu
|
||||
[\fB\-ac\fR] [\fB\-audit \fBlevel\fR\fR] [\fB\-pn\fR] [\fB\-fp \fBfontpath\fR\fR] [\fB\-XpFile \fBfile\fR\fR] [\fB\-XpSpoolerType \fBspoolername\fR\fR] [\fB:\fBdisplay\fR\fR]
|
||||
'in \n(.iu-\nxu
|
||||
.ad b
|
||||
.SH DESCRIPTION
|
||||
Xprt is the Xprint print server
|
||||
for version 11 of the X Window system for non display devices
|
||||
such as printers and fax machines.
|
||||
.PP
|
||||
Xprint is an advanced printing system which enables X11
|
||||
applications to use devices like printers, FAX or create
|
||||
documents in formats like PostScript, PCL or PDF. It may be used by
|
||||
clients such as mozilla.
|
||||
.PP
|
||||
Xprint is a very flexible, extensible, scaleable, client/server
|
||||
print system based on ISO 10175 (and some other specs) and the X11
|
||||
rendering protocol.
|
||||
Using Xprint an application can search, query and use devices like
|
||||
printers, FAX machines or create documents in formats like PDF.
|
||||
In particular, an application can seek a printer, query supported
|
||||
attributes (like paper size, trays, fonts etc.), configure the printer
|
||||
device to match it's needs and print on it like on any other X device
|
||||
reusing parts of the code which is used for the video card Xserver.
|
||||
.SH USAGE
|
||||
Although Xprt may be invoked from the command line, it is
|
||||
preferable to run it as a daemon via the init script
|
||||
\fB/etc/init.d/xprint\fR (where this script exists).
|
||||
.PP
|
||||
Client programs such as mozilla will require environment
|
||||
variable \fB${XPSERVERLIST}\fR to be set, identifying the
|
||||
"display" on which Xprt is running. This variable may be set
|
||||
for all users via \fB/etc/profile\fR (or similar), using
|
||||
\fB/etc/init.d/xprint get_xpserverlist\fR:
|
||||
|
||||
.nf
|
||||
export XPSERVERLIST=`/etc/init.d/xprint get_xpserverlist`
|
||||
.fi
|
||||
|
||||
.SH OPTIONS
|
||||
Many of Xprt's command line options are shared in common
|
||||
with the usual X servers (see \fBXserver\fR(__appmansuffix__)).
|
||||
Commonly used options include:
|
||||
.TP
|
||||
\fB:\fIdisplay\fB\fR
|
||||
The X server runs on the given display. If multiple X
|
||||
servers are to run simultaneously on a host, each must
|
||||
have a unique display number. Note that the standard X
|
||||
server (for video displays) typically runs on display
|
||||
:0. If \fB/etc/init.d/xprint\fR is used
|
||||
to invoke Xprt, it may be configured to automatically assign an available
|
||||
display number.
|
||||
.TP
|
||||
\fB\-ac\fR
|
||||
disables host-based access control mechanisms. Enables access
|
||||
by any host, and permits any host to modify the access control
|
||||
list. Use with extreme caution. This option exists primarily
|
||||
for running test suites remotely.
|
||||
.TP
|
||||
\fB\-audit \fIlevel\fB\fR
|
||||
sets the audit trail level. The default level is 1, meaning
|
||||
only connection rejections are reported. Level 2 additionally
|
||||
reports all successful connections and disconnects. Level 4
|
||||
enables messages from the SECURITY extension, if present,
|
||||
including generation and revocation of authorizations and
|
||||
violations of the security policy. Level 0 turns off the audit
|
||||
trail. Audit lines are sent as standard error output.
|
||||
.TP
|
||||
\fB\-fp \fIfontpath\fB\fR
|
||||
sets the search path for fonts. This path is a comma
|
||||
separated list of directories which Xprt searches for
|
||||
font databases.
|
||||
.TP
|
||||
\fB\-pn\fR
|
||||
permits the server to continue running if it fails to
|
||||
establish all of its well-known sockets (connection
|
||||
points for clients), but establishes at least
|
||||
one.
|
||||
.TP
|
||||
\fB\-XpFile \fIfile\fB\fR
|
||||
Sets an altername Xprinters file (see section FILES).
|
||||
.TP
|
||||
\fB\-XpSpoolerType \fIspoolername\fB\fR
|
||||
Defines the spooler system to be used for print job spooling.
|
||||
Supported values in xprint.mozdev.org release 009 are:
|
||||
|
||||
aix
|
||||
|
||||
aix4
|
||||
|
||||
bsd
|
||||
|
||||
osf
|
||||
|
||||
solaris
|
||||
|
||||
sysv
|
||||
|
||||
uxp
|
||||
|
||||
cups
|
||||
|
||||
lprng
|
||||
|
||||
other
|
||||
|
||||
none
|
||||
|
||||
(multiple values can be specified, seperated by ':', the first active spooler will be chosen).
|
||||
The default value is platform-specific and can be obtained via
|
||||
|
||||
.nf
|
||||
Xprt \-h
|
||||
.fi
|
||||
|
||||
\&.
|
||||
.SH ENVIRONMENT
|
||||
The following environment variables are recognized by the X print server
|
||||
(environment variables recognized by Xprint clients are described in
|
||||
\fBXprint\fR(__miscmansuffix__)):
|
||||
.TP
|
||||
\fB${XPCONFIGDIR}\fR
|
||||
This environment variable points to the root
|
||||
of the Xprint server configuration directory hierarchy.
|
||||
If the variable is not defined, the default
|
||||
path is be assumed. The default path may be
|
||||
\fB/usr/X11R6/lib/X11/xserver/\fR,
|
||||
\fB/usr/lib/X11/xserver/\fR,
|
||||
\fB/usr/share/Xprint/xserver/\fR or
|
||||
\fB/usr/openwin/server/etc/XpConfig\fR, depending on the
|
||||
system, and may be configured in \fB/etc/init.d/xprint\fR.
|
||||
.TP
|
||||
\fB${LANG}\fR
|
||||
This environment variable selects the locale settings used by the Xprint server.
|
||||
Xprt allows language-specific settings (stored in \fB${XPCONFIGDIR}/${LANG}/print/\fR)
|
||||
which will override the default settings (stored in \fB${XPCONFIGDIR}/C/print/\fR).
|
||||
If \fB${LANG}\fR is not set "C" is assumed.
|
||||
.PP
|
||||
.SH FILES
|
||||
.TP
|
||||
\fB${XPCONFIGDIR}/${LANG}/print/Xprinters\fR, \fB${XPCONFIGDIR}/C/print/Xprinters\fR
|
||||
`Xprinters' is the top most configuration file. It tells
|
||||
Xprt which specific printer names (e.g. mylaser) should
|
||||
be supported, and whether \fBlpstat\fR(1) or other commands
|
||||
should be used to automatically supplement the list of
|
||||
printers.
|
||||
.TP
|
||||
\fB${XPCONFIGDIR}/${LANG}/print/attributes/printer\fR, \fB${XPCONFIGDIR}/C/print/attributes/printer\fR
|
||||
The `printer' file maps printer names to model
|
||||
configurations (see `model-config' below). For example,
|
||||
"mylaser" could be mapped to a "HPDJ1600C", and all other
|
||||
arbitrary printers could be mapped to a default, such as
|
||||
"HPLJ4SI". When depending on \fBlpstat\fR(1) in the Xprinters
|
||||
file, setting up defaults in `printer' becomes all the
|
||||
more important.
|
||||
.TP
|
||||
\fB${XPCONFIGDIR}/${LANG}/print/attributes/document\fR, \fB${XPCONFIGDIR}/C/print/attributes/document\fR
|
||||
The `document' file specifies the initial document values
|
||||
for any print jobs. For example, which paper tray to
|
||||
use, what default resolution, etc.
|
||||
.TP
|
||||
\fB${XPCONFIGDIR}/${LANG}/print/attributes/job\fR, \fB${XPCONFIGDIR}/C/print/attributes/job\fR
|
||||
The `job' file specifies the initial job values for any
|
||||
print jobs. For example, "notification-profile" can be
|
||||
set so that when a print job is successfully sent to a
|
||||
printer, e-mail is sent to the user.
|
||||
.TP
|
||||
\fB${XPCONFIGDIR}/C/print/models/PSdefault/model\-config\fR, \fB${XPCONFIGDIR}/C/print/models/PSdefault/fonts/fonts.dir\fR, \fB${XPCONFIGDIR}/C/print/models/PSdefault/fonts/9nb00051.pmf\fR, \fB${XPCONFIGDIR}/C/print/models/PSdefault/fonts/9nb00093.pmf\fR
|
||||
The `model-config' file has attributes that describe the
|
||||
printer model's capabilities and default settings.
|
||||
Printer model fonts may also be present. The model-config
|
||||
file also identifies the print ddx driver to be used.
|
||||
For each printer model supported, a complete hierarchy of
|
||||
files should exist. In most cases, these files do not
|
||||
need to be modified.
|
||||
.TP
|
||||
\fB${XPCONFIGDIR}/C/print/ddx\-config/raster/pdf\fR, \fB${XPCONFIGDIR}/C/print/ddx\-config/raster/pcl\fR, \fB${XPCONFIGDIR}/C/print/ddx\-config/raster/postscript\fR
|
||||
The print ddx drivers can have highly specific
|
||||
configuration files to control their behavior. In most
|
||||
cases, these files do not need to be modified.
|
||||
.SH "SEE ALSO"
|
||||
\fBXprint\fR(__miscmansuffix__), \fBX11\fR(__miscmansuffix__), \fBxplsprinters\fR(__appmansuffix__), \fBxprehashprinterlist\fR(__appmansuffix__), \fBxphelloworld\fR(__appmansuffix__), \fBxpxmhelloworld\fR(__appmansuffix__), \fBxpawhelloworld\fR(__appmansuffix__), \fBxpxthelloworld\fR(__appmansuffix__), \fBxpsimplehelloworld\fR(__appmansuffix__), \fBXserver\fR(__appmansuffix__), \fBlibXp\fR(__libmansuffix__), \fBlibXprintUtils\fR(__libmansuffix__), \fBlibXprintAppUtils\fR(__libmansuffix__), \fBXmPrintShell\fR(__libmansuffix__), \fBXawPrintShell\fR(__libmansuffix__), Xprint FAQ (http://xprint.mozdev.org/docs/Xprint_FAQ.html), Xprint main site (http://xprint.mozdev.org/)
|
||||
.SH AUTHORS
|
||||
This manual page was written by
|
||||
Drew Parsons <dparsons@debian.org> and
|
||||
Roland Mainz <roland.mainz@nrubsig.org>,
|
||||
with some help from the man page at
|
||||
http://www.sins.com.au/unix/manpages/Xprt.html and the XFree86
|
||||
man page for \fBXserver\fR(1).
|
||||
371
Xprint/doc/Xprt.sgml
Normal file
371
Xprint/doc/Xprt.sgml
Normal file
|
|
@ -0,0 +1,371 @@
|
|||
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.2//EN" 'http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd'>
|
||||
|
||||
<!-- Process this file with docbook-to-man to generate an nroff manual
|
||||
page: 'docbook-to-man manpage.sgml > manpage.1'. You may view
|
||||
the manual page with: 'docbook-to-man manpage.sgml | nroff -man | less'.
|
||||
A typical entry in a Makefile or Makefile.am is:
|
||||
|
||||
manpage.1: manpage.sgml
|
||||
docbook-to-man $< > $@
|
||||
|
||||
HTML generation can be done like this:
|
||||
% xsltproc ==docbook /usr/share/sgml/docbook/docbook-xsl-stylesheets-1.60.1/html/docbook.xsl Xprint.sgml >Xprint.html
|
||||
-->
|
||||
|
||||
<refentry id="Xprt">
|
||||
<refmeta>
|
||||
<refentrytitle>Xprt</refentrytitle>
|
||||
<manvolnum>__appmansuffix__</manvolnum>
|
||||
</refmeta>
|
||||
<refnamediv>
|
||||
<refname>Xprt</refname>
|
||||
|
||||
<refpurpose>Print server for X Version 11</refpurpose>
|
||||
</refnamediv>
|
||||
<refsynopsisdiv>
|
||||
<cmdsynopsis>
|
||||
<command>Xprt</command>
|
||||
|
||||
<arg><option>-ac</option></arg>
|
||||
|
||||
<arg><option>-audit <replaceable>level</replaceable></option></arg>
|
||||
|
||||
<arg><option>-pn</option></arg>
|
||||
|
||||
<arg><option>-fp <replaceable>fontpath</replaceable></option></arg>
|
||||
|
||||
<arg><option>-XpFile <replaceable>file</replaceable></option></arg>
|
||||
|
||||
<arg><option>-XpSpoolerType <replaceable>spoolername</replaceable></option></arg>
|
||||
|
||||
<arg><option>:<replaceable>display</replaceable></option></arg>
|
||||
|
||||
</cmdsynopsis>
|
||||
</refsynopsisdiv>
|
||||
<refsect1>
|
||||
<title>DESCRIPTION</title>
|
||||
|
||||
<para><command>Xprt</command> is the Xprint print server
|
||||
for version 11 of the X Window system for non display devices
|
||||
such as printers and fax machines.</para>
|
||||
|
||||
<para>Xprint is an advanced printing system which enables X11
|
||||
applications to use devices like printers, FAX or create
|
||||
documents in formats like PostScript, PCL or PDF. It may be used by
|
||||
clients such as <application>mozilla</application>.
|
||||
</para>
|
||||
|
||||
<para>Xprint is a very flexible, extensible, scaleable, client/server
|
||||
print system based on ISO 10175 (and some other specs) and the X11
|
||||
rendering protocol.
|
||||
Using Xprint an application can search, query and use devices like
|
||||
printers, FAX machines or create documents in formats like PDF.
|
||||
In particular, an application can seek a printer, query supported
|
||||
attributes (like paper size, trays, fonts etc.), configure the printer
|
||||
device to match it's needs and print on it like on any other X device
|
||||
reusing parts of the code which is used for the video card Xserver.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1>
|
||||
<title>USAGE</title>
|
||||
|
||||
<para>
|
||||
Although Xprt may be invoked from the command line, it is
|
||||
preferable to run it as a daemon via the init script
|
||||
<filename>/etc/init.d/xprint</filename> (where this script exists).
|
||||
</para>
|
||||
|
||||
<para>Client programs such as mozilla will require environment
|
||||
variable <envar>${XPSERVERLIST}</envar> to be set, identifying the
|
||||
"display" on which Xprt is running. This variable may be set
|
||||
for all users via <filename>/etc/profile</filename> (or similar), using
|
||||
<userinput>/etc/init.d/xprint get_xpserverlist</userinput>:
|
||||
<informalexample>
|
||||
<programlisting>export XPSERVERLIST=`/etc/init.d/xprint get_xpserverlist`</programlisting>
|
||||
</informalexample>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1>
|
||||
<title>OPTIONS</title>
|
||||
|
||||
<para>Many of Xprt's command line options are shared in common
|
||||
with the usual X servers (see <citerefentry><refentrytitle>Xserver</refentrytitle><manvolnum>__appmansuffix__</manvolnum></citerefentry>).
|
||||
Commonly used options include:</para>
|
||||
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><option>:<replaceable>display</replaceable></option>
|
||||
</term>
|
||||
<listitem>
|
||||
<para> The X server runs on the given display. If multiple X
|
||||
servers are to run simultaneously on a host, each must
|
||||
have a unique display number. Note that the standard X
|
||||
server (for video displays) typically runs on display
|
||||
:0. If <filename>/etc/init.d/xprint</filename> is used
|
||||
to invoke Xprt, it may be configured to automatically assign an available
|
||||
display number.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><option>-ac</option>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>disables host-based access control mechanisms. Enables access
|
||||
by any host, and permits any host to modify the access control
|
||||
list. Use with extreme caution. This option exists primarily
|
||||
for running test suites remotely.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><option>-audit <replaceable>level</replaceable></option>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>sets the audit trail level. The default level is 1, meaning
|
||||
only connection rejections are reported. Level 2 additionally
|
||||
reports all successful connections and disconnects. Level 4
|
||||
enables messages from the SECURITY extension, if present,
|
||||
including generation and revocation of authorizations and
|
||||
violations of the security policy. Level 0 turns off the audit
|
||||
trail. Audit lines are sent as standard error output.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><option>-fp <replaceable>fontpath</replaceable></option>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>sets the search path for fonts. This path is a comma
|
||||
separated list of directories which Xprt searches for
|
||||
font databases.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><option>-pn</option>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>permits the server to continue running if it fails to
|
||||
establish all of its well-known sockets (connection
|
||||
points for clients), but establishes at least
|
||||
one.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><option>-XpFile <replaceable>file</replaceable></option>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Sets an altername Xprinters file (see section FILES).</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><option>-XpSpoolerType <replaceable>spoolername</replaceable></option>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
Defines the spooler system to be used for print job spooling.
|
||||
Supported values in xprint.mozdev.org release 009 are:
|
||||
<simplelist type="vert">
|
||||
<member>aix</member>
|
||||
<member>aix4</member>
|
||||
<member>bsd</member>
|
||||
<member>osf</member>
|
||||
<member>solaris</member>
|
||||
<member>sysv</member>
|
||||
<member>uxp</member>
|
||||
<member>cups</member>
|
||||
<member>lprng</member>
|
||||
<member>other</member>
|
||||
<member>none</member>
|
||||
</simplelist>
|
||||
(multiple values can be specified, seperated by ':', the first active spooler will be chosen).
|
||||
The default value is platform-specific and can be obtained via
|
||||
<programlisting>Xprt -h</programlisting>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
|
||||
<refsect1>
|
||||
<title>ENVIRONMENT</title>
|
||||
<para>
|
||||
The following environment variables are recognized by the X print server
|
||||
(environment variables recognized by Xprint clients are described in
|
||||
<citerefentry><refentrytitle>Xprint</refentrytitle><manvolnum>__miscmansuffix__</manvolnum></citerefentry>):
|
||||
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><envar>${XPCONFIGDIR}</envar></term>
|
||||
<listitem>
|
||||
<para> This environment variable points to the root
|
||||
of the Xprint server configuration directory hierarchy.
|
||||
If the variable is not defined, the default
|
||||
path is be assumed. The default path may be
|
||||
<filename>/usr/X11R6/lib/X11/xserver/</filename>,
|
||||
<filename>/usr/lib/X11/xserver/</filename>,
|
||||
<filename>/usr/share/Xprint/xserver/</filename> or
|
||||
<filename>/usr/openwin/server/etc/XpConfig</filename>, depending on the
|
||||
system, and may be configured in <filename>/etc/init.d/xprint</filename>.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><envar>${LANG}</envar></term>
|
||||
<listitem>
|
||||
<para>
|
||||
This environment variable selects the locale settings used by the Xprint server.
|
||||
Xprt allows language-specific settings (stored in <filename>${XPCONFIGDIR}/${LANG}/print/</filename>)
|
||||
which will override the default settings (stored in <filename>${XPCONFIGDIR}/C/print/</filename>).
|
||||
If <envar>${LANG}</envar> is not set "C" is assumed.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1>
|
||||
<title>FILES</title>
|
||||
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><filename>${XPCONFIGDIR}/${LANG}/print/Xprinters</filename></term>
|
||||
<term><filename>${XPCONFIGDIR}/C/print/Xprinters</filename></term>
|
||||
<listitem>
|
||||
<para>
|
||||
`Xprinters' is the top most configuration file. It tells
|
||||
Xprt which specific printer names (e.g. mylaser) should
|
||||
be supported, and whether <citerefentry><refentrytitle>lpstat</refentrytitle><manvolnum>1</manvolnum></citerefentry> or other commands
|
||||
should be used to automatically supplement the list of
|
||||
printers.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><filename>${XPCONFIGDIR}/${LANG}/print/attributes/printer</filename></term>
|
||||
<term><filename>${XPCONFIGDIR}/C/print/attributes/printer</filename></term>
|
||||
<listitem>
|
||||
<para>
|
||||
The `printer' file maps printer names to model
|
||||
configurations (see `model-config' below). For example,
|
||||
"mylaser" could be mapped to a "HPDJ1600C", and all other
|
||||
arbitrary printers could be mapped to a default, such as
|
||||
"HPLJ4SI". When depending on <citerefentry><refentrytitle>lpstat</refentrytitle><manvolnum>1</manvolnum></citerefentry> in the Xprinters
|
||||
file, setting up defaults in `printer' becomes all the
|
||||
more important.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><filename>${XPCONFIGDIR}/${LANG}/print/attributes/document</filename></term>
|
||||
<term><filename>${XPCONFIGDIR}/C/print/attributes/document</filename></term>
|
||||
<listitem>
|
||||
<para>
|
||||
The `document' file specifies the initial document values
|
||||
for any print jobs. For example, which paper tray to
|
||||
use, what default resolution, etc.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><filename>${XPCONFIGDIR}/${LANG}/print/attributes/job</filename></term>
|
||||
<term><filename>${XPCONFIGDIR}/C/print/attributes/job</filename></term>
|
||||
<listitem>
|
||||
<para>
|
||||
The `job' file specifies the initial job values for any
|
||||
print jobs. For example, "notification-profile" can be
|
||||
set so that when a print job is successfully sent to a
|
||||
printer, e-mail is sent to the user.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><filename>${XPCONFIGDIR}/C/print/models/PSdefault/model-config</filename></term>
|
||||
<term><filename>${XPCONFIGDIR}/C/print/models/PSdefault/fonts/fonts.dir</filename></term>
|
||||
<term><filename>${XPCONFIGDIR}/C/print/models/PSdefault/fonts/9nb00051.pmf</filename></term>
|
||||
<term><filename>${XPCONFIGDIR}/C/print/models/PSdefault/fonts/9nb00093.pmf</filename></term>
|
||||
|
||||
<listitem>
|
||||
<para>
|
||||
The `model-config' file has attributes that describe the
|
||||
printer model's capabilities and default settings.
|
||||
Printer model fonts may also be present. The model-config
|
||||
file also identifies the print ddx driver to be used.
|
||||
|
||||
For each printer model supported, a complete hierarchy of
|
||||
files should exist. In most cases, these files do not
|
||||
need to be modified.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><filename>${XPCONFIGDIR}/C/print/ddx-config/raster/pdf</filename></term>
|
||||
<term><filename>${XPCONFIGDIR}/C/print/ddx-config/raster/pcl</filename></term>
|
||||
<term><filename>${XPCONFIGDIR}/C/print/ddx-config/raster/postscript</filename></term>
|
||||
|
||||
<listitem>
|
||||
<para>
|
||||
The print ddx drivers can have highly specific
|
||||
configuration files to control their behavior. In most
|
||||
cases, these files do not need to be modified.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
|
||||
<refsect1>
|
||||
<title>SEE ALSO</title>
|
||||
<para>
|
||||
<simplelist type="inline">
|
||||
<!-- specific references -->
|
||||
<!-- none -->
|
||||
|
||||
<!-- Xprint general references -->
|
||||
<member><citerefentry><refentrytitle>Xprint</refentrytitle><manvolnum>__miscmansuffix__</manvolnum></citerefentry></member>
|
||||
<member><citerefentry><refentrytitle>X11</refentrytitle><manvolnum>__miscmansuffix__</manvolnum></citerefentry></member>
|
||||
<member><citerefentry><refentrytitle>xplsprinters</refentrytitle><manvolnum>__appmansuffix__</manvolnum></citerefentry></member>
|
||||
<member><citerefentry><refentrytitle>xprehashprinterlist</refentrytitle><manvolnum>__appmansuffix__</manvolnum></citerefentry></member>
|
||||
<member><citerefentry><refentrytitle>xphelloworld</refentrytitle><manvolnum>__appmansuffix__</manvolnum></citerefentry></member>
|
||||
<member><citerefentry><refentrytitle>xpxmhelloworld</refentrytitle><manvolnum>__appmansuffix__</manvolnum></citerefentry></member>
|
||||
<member><citerefentry><refentrytitle>xpawhelloworld</refentrytitle><manvolnum>__appmansuffix__</manvolnum></citerefentry></member>
|
||||
<member><citerefentry><refentrytitle>xpxthelloworld</refentrytitle><manvolnum>__appmansuffix__</manvolnum></citerefentry></member>
|
||||
<member><citerefentry><refentrytitle>xpsimplehelloworld</refentrytitle><manvolnum>__appmansuffix__</manvolnum></citerefentry></member>
|
||||
<member><citerefentry><refentrytitle>Xserver</refentrytitle><manvolnum>__appmansuffix__</manvolnum></citerefentry></member>
|
||||
<!--
|
||||
<member><citerefentry><refentrytitle>Xprt</refentrytitle><manvolnum>__appmansuffix__</manvolnum></citerefentry></member>
|
||||
-->
|
||||
<!-- ToDO: Add manual pages for the single Xprint DDX implementations (PostScript/PDF/PCL/PCL-MONO/Raster/etc.) -->
|
||||
<member><citerefentry><refentrytitle>libXp</refentrytitle><manvolnum>__libmansuffix__</manvolnum></citerefentry></member>
|
||||
<member><citerefentry><refentrytitle>libXprintUtils</refentrytitle><manvolnum>__libmansuffix__</manvolnum></citerefentry></member>
|
||||
<member><citerefentry><refentrytitle>libXprintAppUtils</refentrytitle><manvolnum>__libmansuffix__</manvolnum></citerefentry></member>
|
||||
<member><citerefentry><refentrytitle>XmPrintShell</refentrytitle><manvolnum>__libmansuffix__</manvolnum></citerefentry></member>
|
||||
<member><citerefentry><refentrytitle>XawPrintShell</refentrytitle><manvolnum>__libmansuffix__</manvolnum></citerefentry></member>
|
||||
<member>Xprint FAQ (<ulink url="http://xprint.mozdev.org/docs/Xprint_FAQ.html">http://xprint.mozdev.org/docs/Xprint_FAQ.html</ulink>)</member>
|
||||
<member>Xprint main site (<ulink url="http://xprint.mozdev.org/">http://xprint.mozdev.org/</ulink>)</member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1>
|
||||
<title>AUTHORS</title>
|
||||
<para>
|
||||
This manual page was written by
|
||||
Drew Parsons <email>dparsons@debian.org</email> and
|
||||
Roland Mainz <email>roland.mainz@nrubsig.org</email>,
|
||||
with some help from the man page at
|
||||
<ulink url="http://www.sins.com.au/unix/manpages/Xprt.html">http://www.sins.com.au/unix/manpages/Xprt.html</ulink> and the XFree86
|
||||
man page for <citerefentry><refentrytitle>Xserver</refentrytitle><manvolnum>1</manvolnum></citerefentry>.
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
|
||||
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
/* $XdotOrg: xc/programs/Xserver/hw/xfree86/loader/dixsym.c,v 1.4 2004/08/09 03:40:50 krh Exp $ */
|
||||
/* $XdotOrg: xc/programs/Xserver/hw/xfree86/loader/dixsym.c,v 1.5 2004/08/19 04:08:40 kem Exp $ */
|
||||
/* $XFree86: xc/programs/Xserver/hw/xfree86/loader/dixsym.c,v 1.63 2003/12/03
|
||||
* 17:11:29 tsi Exp $ */
|
||||
|
||||
|
|
@ -325,15 +325,122 @@ LOOKUP dixLookupTab[] = {
|
|||
SYMFUNC(AdjustWaitForDelay)
|
||||
SYMVAR(noTestExtensions)
|
||||
SYMFUNC(GiveUp)
|
||||
|
||||
#ifdef BEZIER
|
||||
SYMVAR(noBezierExtension)
|
||||
#endif
|
||||
#ifdef BIGREQS
|
||||
SYMVAR(noBigReqExtension)
|
||||
#endif
|
||||
#ifdef COMPOSITE
|
||||
SYMVAR(noCompositeExtension)
|
||||
#endif
|
||||
#ifdef DAMAGE
|
||||
SYMVAR(noDamageExtension)
|
||||
#endif
|
||||
#ifdef DBE
|
||||
SYMVAR(noDbeExtension)
|
||||
#endif
|
||||
#ifdef DPSEXT
|
||||
SYMVAR(noDPSExtension)
|
||||
#endif
|
||||
#ifdef DPMSExtension
|
||||
SYMVAR(noDPMSExtension)
|
||||
#endif
|
||||
#ifdef EVI
|
||||
SYMVAR(noEVIExtension)
|
||||
#endif
|
||||
#ifdef FONTCACHE
|
||||
SYMVAR(noFontCacheExtension)
|
||||
#endif
|
||||
#ifdef GLXEXT
|
||||
SYMVAR(noGlxExtension)
|
||||
#endif
|
||||
#ifdef LBX
|
||||
SYMVAR(noLbxExtension)
|
||||
#endif
|
||||
#ifdef SCREENSAVER
|
||||
SYMVAR(noScreenSaverExtension)
|
||||
#endif
|
||||
#ifdef MITSHM
|
||||
SYMVAR(noMITShmExtension)
|
||||
#endif
|
||||
#ifdef MITMISC
|
||||
SYMVAR(noMITMiscExtension)
|
||||
#endif
|
||||
#ifdef MULTIBUFFER
|
||||
SYMVAR(noMultibufferExtension)
|
||||
#endif
|
||||
#ifdef RANDR
|
||||
SYMVAR(noRRExtension)
|
||||
#endif
|
||||
#ifdef RENDER
|
||||
SYMVAR(noRenderExtension)
|
||||
#endif
|
||||
#ifdef SHAPE
|
||||
SYMVAR(noShapeExtension)
|
||||
#endif
|
||||
#ifdef XCSECURITY
|
||||
SYMVAR(noSecurityExtension)
|
||||
#endif
|
||||
#ifdef XSYNC
|
||||
SYMVAR(noSyncExtension)
|
||||
#endif
|
||||
#ifdef TOGCUP
|
||||
SYMVAR(noXcupExtension)
|
||||
#endif
|
||||
#ifdef PEXEXT
|
||||
SYMVAR(noPexExtension)
|
||||
#endif
|
||||
#ifdef RES
|
||||
SYMVAR(noResExtension)
|
||||
#endif
|
||||
#ifdef XAPPGROUP
|
||||
SYMVAR(noXagExtension)
|
||||
#endif
|
||||
#ifdef XCMISC
|
||||
SYMVAR(noXCMiscExtension)
|
||||
#endif
|
||||
#ifdef XEVIE
|
||||
SYMVAR(noXevieExtension)
|
||||
#endif
|
||||
#ifdef XIE
|
||||
SYMVAR(noXie)
|
||||
#endif
|
||||
#ifdef XF86BIGFONT
|
||||
SYMVAR(noXFree86BigfontExtension)
|
||||
#endif
|
||||
#ifdef XFreeXDGA
|
||||
SYMVAR(noXFree86DGAExtension)
|
||||
#endif
|
||||
#ifdef XF86DRI
|
||||
SYMVAR(noXFree86DRIExtension)
|
||||
#endif
|
||||
#ifdef XF86MISC
|
||||
SYMVAR(noXFree86MiscExtension)
|
||||
#endif
|
||||
#ifdef XF86VIDMODE
|
||||
SYMVAR(noXFree86VidModeExtension)
|
||||
#endif
|
||||
#ifdef XFIXES
|
||||
SYMVAR(noXFixesExtension)
|
||||
#endif
|
||||
#ifdef XKB
|
||||
/* |noXkbExtension| is defined in xc/programs/Xserver/xkb/xkbInit.c */
|
||||
SYMVAR(noXkbExtension)
|
||||
#endif
|
||||
#ifdef PANORAMIX
|
||||
SYMVAR(noPanoramiXExtension)
|
||||
#endif
|
||||
#ifdef XINPUT
|
||||
SYMVAR(noXInputExtension)
|
||||
#endif
|
||||
#ifdef XIDLE
|
||||
SYMVAR(noXIdleExtension)
|
||||
#endif
|
||||
#ifdef XV
|
||||
SYMVAR(noXvExtension)
|
||||
#endif
|
||||
|
||||
/* log.c */
|
||||
SYMFUNC(LogVWrite)
|
||||
|
|
|
|||
144
hw/xfree86/os-support/solaris/solaris-sparcv8plus.S
Normal file
144
hw/xfree86/os-support/solaris/solaris-sparcv8plus.S
Normal file
|
|
@ -0,0 +1,144 @@
|
|||
/* Copyright 2004 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, and/or sell copies of the Software, and to permit persons
|
||||
* to whom the Software is furnished to do so, provided that the above
|
||||
* copyright notice(s) and this permission notice appear in all copies of
|
||||
* the Software and that both the above copyright notice(s) and this
|
||||
* permission notice appear in supporting documentation.
|
||||
*
|
||||
* 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
|
||||
* OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
|
||||
* HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR 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.
|
||||
*
|
||||
* Except as contained in this notice, the name of a copyright holder
|
||||
* shall not be used in advertising or otherwise to promote the sale, use
|
||||
* or other dealings in this Software without prior written authorization
|
||||
* of the copyright holder.
|
||||
*/
|
||||
|
||||
#ifdef INLINE_ASM
|
||||
#define FUNCTION_START(f,n) .inline f,n
|
||||
#define FUNCTION_END(f) .end
|
||||
#else
|
||||
#define _ASM
|
||||
#include <sys/asm_linkage.h>
|
||||
#define FUNCTION_START(f,n) ENTRY(f)
|
||||
#define FUNCTION_END(f) SET_SIZE(f)
|
||||
#endif
|
||||
|
||||
/* Converted from common/compiler.h gcc inline format to Sun cc inline
|
||||
* format by Kenjiro Tsuji
|
||||
*
|
||||
* The value 0x88 means ASI_PRIMARY_LITTLE.
|
||||
* The store or load to/from the address space will be done
|
||||
* as little-endian. In the original xrog code, the value
|
||||
* is defined as the macro ASI_PL.
|
||||
*
|
||||
* In the original xorg code, "membar #StoreStore|#StoreLoad"
|
||||
* is directly implemented as an instruction "0x8143e00a".
|
||||
*
|
||||
*/
|
||||
|
||||
FUNCTION_START(outb, 0)
|
||||
stba %o1, [%o0] 0x88
|
||||
membar #StoreStore|#StoreLoad
|
||||
FUNCTION_END(outb)
|
||||
|
||||
FUNCTION_START(outw, 0)
|
||||
stha %o1, [%o0] 0x88
|
||||
membar #StoreStore|#StoreLoad
|
||||
FUNCTION_END(outw)
|
||||
|
||||
FUNCTION_START(outl, 0)
|
||||
sta %o1, [%o0] 0x88
|
||||
membar #StoreStore|#StoreLoad
|
||||
FUNCTION_END(outl)
|
||||
|
||||
FUNCTION_START(inb, 0)
|
||||
lduba [%o0] 0x88, %o0
|
||||
FUNCTION_END(inb)
|
||||
|
||||
FUNCTION_START(inw, 0)
|
||||
lduha [%o0] 0x88, %o0
|
||||
FUNCTION_END(inw)
|
||||
|
||||
FUNCTION_START(inl, 0)
|
||||
lda [%o0] 0x88, %o0
|
||||
FUNCTION_END(inl)
|
||||
|
||||
FUNCTION_START(xf86ReadMmio8, 0)
|
||||
lduba [%o0 + %o1] 0x88, %o0
|
||||
FUNCTION_END(xf86ReadMmio8)
|
||||
|
||||
FUNCTION_START(xf86ReadMmio16Be, 0)
|
||||
lduh [%o0 + %o1], %o0
|
||||
FUNCTION_END(xf86ReadMmio16Be)
|
||||
|
||||
FUNCTION_START(xf86ReadMmio16Le, 0)
|
||||
lduha [%o0 + %o1] 0x88, %o0
|
||||
FUNCTION_END(xf86ReadMmio16Le)
|
||||
|
||||
FUNCTION_START(xf86ReadMmio32Be, 0)
|
||||
ld [%o0 + %o1], %o0
|
||||
FUNCTION_END(xf86ReadMmio32Be)
|
||||
|
||||
FUNCTION_START(xf86ReadMmio32Le, 0)
|
||||
lda [%o0 + %o1] 0x88, %o0
|
||||
FUNCTION_END(xf86ReadMmio32Le)
|
||||
|
||||
FUNCTION_START(xf86WriteMmio8, 0)
|
||||
stba %o2, [%o0 + %o1] 0x88
|
||||
membar #StoreStore|#StoreLoad
|
||||
FUNCTION_END(xf86WriteMmio8)
|
||||
|
||||
FUNCTION_START(xf86WriteMmio16Be, 0)
|
||||
sth %o2, [%o0 + %o1]
|
||||
membar #StoreStore|#StoreLoad
|
||||
FUNCTION_END(xf86WriteMmio16Be)
|
||||
|
||||
FUNCTION_START(xf86WriteMmio16Le, 0)
|
||||
stha %o2, [%o0 + %o1] 0x88
|
||||
membar #StoreStore|#StoreLoad
|
||||
FUNCTION_END(xf86WriteMmio16Le)
|
||||
|
||||
FUNCTION_START(xf86WriteMmio32Be, 0)
|
||||
st %o2, [%o0 + %o1]
|
||||
membar #StoreStore|#StoreLoad
|
||||
FUNCTION_END(xf86WriteMmio32Be)
|
||||
|
||||
FUNCTION_START(xf86WriteMmio32Le, 0)
|
||||
sta %o2, [%o0 + %o1] 0x88
|
||||
membar #StoreStore|#StoreLoad
|
||||
FUNCTION_END(xf86WriteMmio32Le)
|
||||
|
||||
FUNCTION_START(xf86WriteMmio8NB, 0)
|
||||
add %o0, %o1, %o0
|
||||
stba %o2, [%o0] 0x88
|
||||
FUNCTION_END(xf86WriteMmio8NB)
|
||||
|
||||
FUNCTION_START(xf86WriteMmio16BeNB, 0)
|
||||
sth %o2, [%o0 + %o1]
|
||||
FUNCTION_END(xf86WriteMmio16BeNB)
|
||||
|
||||
FUNCTION_START(xf86WriteMmio16LeNB, 0)
|
||||
stha %o2, [%o0 + %o1] 0x88
|
||||
FUNCTION_END(xf86WriteMmio16LeNB)
|
||||
|
||||
FUNCTION_START(xf86WriteMmio32BeNB, 0)
|
||||
st %o2, [%o0 + %o1]
|
||||
FUNCTION_END(xf86WriteMmio32BeNB)
|
||||
|
||||
FUNCTION_START(xf86WriteMmio32LeNB, 0)
|
||||
sta %o2, [%o0 + %o1] 0x88
|
||||
FUNCTION_END(xf86WriteMmio32LeNB)
|
||||
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
/* $XdotOrg: xc/programs/Xserver/include/globals.h,v 1.3 2004/07/31 04:23:21 kem Exp $ */
|
||||
/* $XdotOrg: xc/programs/Xserver/include/globals.h,v 1.4 2004/07/31 09:14:06 kem Exp $ */
|
||||
/* $XFree86: xc/programs/Xserver/include/globals.h,v 1.3 1999/09/25 14:38:21 dawes Exp $ */
|
||||
|
||||
#ifndef _XSERV_GLOBAL_H_
|
||||
|
|
@ -42,23 +42,163 @@ extern Bool DPMSCapableFlag;
|
|||
#endif
|
||||
|
||||
#ifdef PANORAMIX
|
||||
extern Bool noPanoramiXExtension;
|
||||
extern Bool PanoramiXMapped;
|
||||
extern Bool PanoramiXVisibilityNotifySent;
|
||||
extern Bool PanoramiXWindowExposureSent;
|
||||
extern Bool PanoramiXOneExposeRequest;
|
||||
#endif
|
||||
|
||||
#ifdef RENDER
|
||||
extern Bool noRenderExtension;
|
||||
#ifdef BEZIER
|
||||
extern Bool noBezierExtension;
|
||||
#endif
|
||||
|
||||
#ifdef XEVIE
|
||||
extern Bool noXevieExtension;
|
||||
#ifdef BIGREQS
|
||||
extern Bool noBigReqExtension;
|
||||
#endif
|
||||
|
||||
#ifdef COMPOSITE
|
||||
extern Bool noCompositeExtension;
|
||||
#endif
|
||||
|
||||
#endif /* _XSERV_GLOBAL_H_ */
|
||||
#ifdef DAMAGE
|
||||
extern Bool noDamageExtension;
|
||||
#endif
|
||||
|
||||
#ifdef DBE
|
||||
extern Bool noDbeExtension;
|
||||
#endif
|
||||
|
||||
#ifdef DPSEXT
|
||||
extern Bool noDPSExtension;
|
||||
#endif
|
||||
|
||||
#ifdef DPMSExtension
|
||||
extern Bool noDPMSExtension;
|
||||
#endif
|
||||
|
||||
#ifdef EVI
|
||||
extern Bool noEVIExtension;
|
||||
#endif
|
||||
|
||||
#ifdef FONTCACHE
|
||||
extern Bool noFontCacheExtension;
|
||||
#endif
|
||||
|
||||
#ifdef GLXEXT
|
||||
extern Bool noGlxExtension;
|
||||
#endif
|
||||
|
||||
#ifdef LBX
|
||||
extern Bool noLbxExtension;
|
||||
#endif
|
||||
|
||||
#ifdef SCREENSAVER
|
||||
extern Bool noScreenSaverExtension;
|
||||
#endif
|
||||
|
||||
#ifdef MITSHM
|
||||
extern Bool noMITShmExtension;
|
||||
#endif
|
||||
|
||||
#ifdef MITMISC
|
||||
extern Bool noMITMiscExtension;
|
||||
#endif
|
||||
|
||||
#ifdef MULTIBUFFER
|
||||
extern Bool noMultibufferExtension;
|
||||
#endif
|
||||
|
||||
#ifdef RANDR
|
||||
extern Bool noRRExtension;
|
||||
#endif
|
||||
|
||||
#ifdef RENDER
|
||||
extern Bool noRenderExtension;
|
||||
#endif
|
||||
|
||||
#ifdef SHAPE
|
||||
extern Bool noShapeExtension;
|
||||
#endif
|
||||
|
||||
#ifdef XCSECURITY
|
||||
extern Bool noSecurityExtension;
|
||||
#endif
|
||||
|
||||
#ifdef XSYNC
|
||||
extern Bool noSyncExtension;
|
||||
#endif
|
||||
|
||||
#ifdef TOGCUP
|
||||
extern Bool noXcupExtension;
|
||||
#endif
|
||||
|
||||
#ifdef PEXEXT
|
||||
extern Bool noPexExtension;
|
||||
#endif
|
||||
|
||||
#ifdef RES
|
||||
extern Bool noResExtension;
|
||||
#endif
|
||||
|
||||
#ifdef XAPPGROUP
|
||||
extern Bool noXagExtension;
|
||||
#endif
|
||||
|
||||
#ifdef XCMISC
|
||||
extern Bool noXCMiscExtension;
|
||||
#endif
|
||||
|
||||
#ifdef XEVIE
|
||||
extern Bool noXevieExtension;
|
||||
#endif
|
||||
|
||||
#ifdef XIE
|
||||
extern Bool noXie;
|
||||
#endif
|
||||
|
||||
#ifdef XF86BIGFONT
|
||||
extern Bool noXFree86BigfontExtension;
|
||||
#endif
|
||||
|
||||
#ifdef XFreeXDGA
|
||||
extern Bool noXFree86DGAExtension;
|
||||
#endif
|
||||
|
||||
#ifdef XF86DRI
|
||||
extern Bool noXFree86DRIExtension;
|
||||
#endif
|
||||
|
||||
#ifdef XF86MISC
|
||||
extern Bool noXFree86MiscExtension;
|
||||
#endif
|
||||
|
||||
#ifdef XF86VIDMODE
|
||||
extern Bool noXFree86VidModeExtension;
|
||||
#endif
|
||||
|
||||
#ifdef XFIXES
|
||||
extern Bool noXFixesExtension;
|
||||
#endif
|
||||
|
||||
#ifdef XKB
|
||||
/* |noXkbExtension| is defined in xc/programs/Xserver/xkb/xkbInit.c */
|
||||
extern Bool noXkbExtension;
|
||||
#endif
|
||||
|
||||
#ifdef PANORAMIX
|
||||
extern Bool noPanoramiXExtension;
|
||||
#endif
|
||||
|
||||
#ifdef XINPUT
|
||||
extern Bool noXInputExtension;
|
||||
#endif
|
||||
|
||||
#ifdef XIDLE
|
||||
extern Bool noXIdleExtension;
|
||||
#endif
|
||||
|
||||
#ifdef XV
|
||||
extern Bool noXvExtension;
|
||||
#endif
|
||||
|
||||
#endif /* !_XSERV_GLOBAL_H_ */
|
||||
|
|
|
|||
303
mi/miinitext.c
303
mi/miinitext.c
|
|
@ -1,4 +1,4 @@
|
|||
/* $XdotOrg: xc/programs/Xserver/mi/miinitext.c,v 1.11 2004/08/03 05:39:19 anholt Exp $ */
|
||||
/* $XdotOrg: xc/programs/Xserver/mi/miinitext.c,v 1.12 2004/08/12 08:45:33 anholt Exp $ */
|
||||
/* $XFree86: xc/programs/Xserver/mi/miinitext.c,v 3.67 2003/01/12 02:44:27 dawes Exp $ */
|
||||
/***********************************************************
|
||||
|
||||
|
|
@ -88,21 +88,123 @@ SOFTWARE.
|
|||
#undef XEVIE
|
||||
#endif /* PRINT_ONLY_SERVER */
|
||||
|
||||
#ifdef PANORAMIX
|
||||
extern Bool noPanoramiXExtension;
|
||||
#endif
|
||||
|
||||
extern Bool noTestExtensions;
|
||||
#ifdef XKB
|
||||
extern Bool noXkbExtension;
|
||||
|
||||
#ifdef BEZIER
|
||||
extern Bool noBezierExtension;
|
||||
#endif
|
||||
#ifdef BIGREQS
|
||||
extern Bool noBigReqExtension;
|
||||
#endif
|
||||
#ifdef COMPOSITE
|
||||
extern Bool noCompositeExtension;
|
||||
#endif
|
||||
#ifdef DAMAGE
|
||||
extern Bool noDamageExtension;
|
||||
#endif
|
||||
#ifdef DBE
|
||||
extern Bool noDbeExtension;
|
||||
#endif
|
||||
#ifdef DPSEXT
|
||||
extern Bool noDPSExtension;
|
||||
#endif
|
||||
#ifdef DPMSExtension
|
||||
extern Bool noDPMSExtension;
|
||||
#endif
|
||||
#ifdef EVI
|
||||
extern Bool noEVIExtension;
|
||||
#endif
|
||||
#ifdef FONTCACHE
|
||||
extern Bool noFontCacheExtension;
|
||||
#endif
|
||||
#ifdef GLXEXT
|
||||
extern Bool noGlxExtension;
|
||||
#endif
|
||||
#ifdef LBX
|
||||
extern Bool noLbxExtension;
|
||||
#endif
|
||||
#ifdef SCREENSAVER
|
||||
extern Bool noScreenSaverExtension;
|
||||
#endif
|
||||
#ifdef MITSHM
|
||||
extern Bool noMITShmExtension;
|
||||
#endif
|
||||
#ifdef MITMISC
|
||||
extern Bool noMITMiscExtension;
|
||||
#endif
|
||||
#ifdef MULTIBUFFER
|
||||
extern Bool noMultibufferExtension;
|
||||
#endif
|
||||
#ifdef RANDR
|
||||
extern Bool noRRExtension;
|
||||
#endif
|
||||
#ifdef RENDER
|
||||
extern Bool noRenderExtension;
|
||||
#endif
|
||||
#ifdef SHAPE
|
||||
extern Bool noShapeExtension;
|
||||
#endif
|
||||
#ifdef XCSECURITY
|
||||
extern Bool noSecurityExtension;
|
||||
#endif
|
||||
#ifdef XSYNC
|
||||
extern Bool noSyncExtension;
|
||||
#endif
|
||||
#ifdef TOGCUP
|
||||
extern Bool noXcupExtension;
|
||||
#endif
|
||||
#ifdef PEXEXT
|
||||
extern Bool noPexExtension;
|
||||
#endif
|
||||
#ifdef RES
|
||||
extern Bool noResExtension;
|
||||
#endif
|
||||
#ifdef XAPPGROUP
|
||||
extern Bool noXagExtension;
|
||||
#endif
|
||||
#ifdef XCMISC
|
||||
extern Bool noXCMiscExtension;
|
||||
#endif
|
||||
#ifdef XEVIE
|
||||
extern Bool noXevieExtension;
|
||||
#endif
|
||||
#ifdef COMPOSITE
|
||||
extern Bool noCompositeExtension;
|
||||
#ifdef XIE
|
||||
extern Bool noXie;
|
||||
#endif
|
||||
#ifdef XF86BIGFONT
|
||||
extern Bool noXFree86BigfontExtension;
|
||||
#endif
|
||||
#ifdef XFreeXDGA
|
||||
extern Bool noXFree86DGAExtension;
|
||||
#endif
|
||||
#ifdef XF86DRI
|
||||
extern Bool noXFree86DRIExtension;
|
||||
#endif
|
||||
#ifdef XF86MISC
|
||||
extern Bool noXFree86MiscExtension;
|
||||
#endif
|
||||
#ifdef XF86VIDMODE
|
||||
extern Bool noXFree86VidModeExtension;
|
||||
#endif
|
||||
#ifdef XFIXES
|
||||
extern Bool noXFixesExtension;
|
||||
#endif
|
||||
#ifdef XKB
|
||||
/* |noXkbExtension| is defined in xc/programs/Xserver/xkb/xkbInit.c */
|
||||
extern Bool noXkbExtension;
|
||||
#endif
|
||||
#ifdef PANORAMIX
|
||||
extern Bool noPanoramiXExtension;
|
||||
#endif
|
||||
#ifdef XINPUT
|
||||
extern Bool noXInputExtension;
|
||||
#endif
|
||||
#ifdef XIDLE
|
||||
extern Bool noXIdleExtension;
|
||||
#endif
|
||||
#ifdef XV
|
||||
extern Bool noXvExtension;
|
||||
#endif
|
||||
|
||||
#ifndef XFree86LOADER
|
||||
|
|
@ -299,21 +401,118 @@ typedef struct {
|
|||
|
||||
static ExtensionToggle ExtensionToggleList[] =
|
||||
{
|
||||
{ "XTEST", &noTestExtensions },
|
||||
#ifdef PANORAMIX
|
||||
{ "XINERAMA", &noPanoramiXExtension },
|
||||
/* sort order is extension name string as shown in xdpyinfo */
|
||||
#ifdef BEZIER
|
||||
{ "BEZIER", &noBezierExtension },
|
||||
#endif
|
||||
#ifdef BIGREQS
|
||||
{ "BIG-REQUESTS", &noBigReqExtension },
|
||||
#endif
|
||||
#ifdef COMPOSITE
|
||||
{ "Composite", &noCompositeExtension },
|
||||
#endif
|
||||
#ifdef DAMAGE
|
||||
{ "DAMAGE", &noDamageExtension },
|
||||
#endif
|
||||
#ifdef DBE
|
||||
{ "DOUBLE-BUFFER", &noDbeExtension },
|
||||
#endif
|
||||
#ifdef DPSEXT
|
||||
{ "DPSExtension", &noDPSExtension },
|
||||
#endif
|
||||
#ifdef DPMSExtension
|
||||
{ "DPMS", &noDPMSExtension },
|
||||
#endif
|
||||
#ifdef EVI
|
||||
{ "Extended-Visual-Information", &noEVIExtension },
|
||||
#endif
|
||||
#ifdef FONTCACHE
|
||||
{ "FontCache", &noFontCacheExtension },
|
||||
#endif
|
||||
#ifdef GLXEXT
|
||||
{ "GLX", &noGlxExtension },
|
||||
#endif
|
||||
#ifdef LBX
|
||||
{ "LBX", &noLbxExtension },
|
||||
#endif
|
||||
#ifdef SCREENSAVER
|
||||
{ "MIT-SCREEN-SAVER", &noScreenSaverExtension },
|
||||
#endif
|
||||
#ifdef MITSHM
|
||||
{ "MIT-SHM", &noMITShmExtension },
|
||||
#endif
|
||||
#ifdef MITMISC
|
||||
{ "MIT-SUNDRY-NONSTANDARD", &noMITMiscExtension },
|
||||
#endif
|
||||
#ifdef MULTIBUFFER
|
||||
{ "Multi-Buffering", &noMultibufferExtension },
|
||||
#endif
|
||||
#ifdef RANDR
|
||||
{ "RANDR", &noRRExtension },
|
||||
#endif
|
||||
#ifdef RENDER
|
||||
{ "RENDER", &noRenderExtension },
|
||||
#endif
|
||||
#ifdef XKB
|
||||
{ "XKEYBOARD", &noXkbExtension },
|
||||
#ifdef SHAPE
|
||||
{ "SHAPE", &noShapeExtension },
|
||||
#endif
|
||||
#ifdef XCSECURITY
|
||||
{ "SECURITY", &noSecurityExtension },
|
||||
#endif
|
||||
#ifdef XSYNC
|
||||
{ "SYNC", &noSyncExtension },
|
||||
#endif
|
||||
#ifdef TOGCUP
|
||||
{ "TOG-CUP", &noXcupExtension },
|
||||
#endif
|
||||
#ifdef PEXEXT
|
||||
{ "X3D-PEX", &noPexExtension },
|
||||
#endif
|
||||
#ifdef RES
|
||||
{ "X-Resource", &noResExtension },
|
||||
#endif
|
||||
#ifdef XAPPGROUP
|
||||
{ "XC-APPGROUP", &noXagExtension },
|
||||
#endif
|
||||
#ifdef XCMISC
|
||||
{ "XC-MISC", &noXCMiscExtension },
|
||||
#endif
|
||||
#ifdef XEVIE
|
||||
{ "XEVIE", &noXevieExtension },
|
||||
#endif
|
||||
#ifdef COMPOSITE
|
||||
{ "Composite", &noCompositeExtension },
|
||||
#ifdef XF86BIGFONT
|
||||
{ "XFree86-Bigfont", &noXFree86BigfontExtension },
|
||||
#endif
|
||||
#ifdef XFreeXDGA
|
||||
{ "XFree86-DGA", &noXFree86DGAExtension },
|
||||
#endif
|
||||
#ifdef XF86DRI
|
||||
{ "XFree86-DRI", &noXFree86DRIExtension },
|
||||
#endif
|
||||
#ifdef XF86MISC
|
||||
{ "XFree86-Misc", &noXFree86MiscExtension },
|
||||
#endif
|
||||
#ifdef XF86VIDMODE
|
||||
{ "XFree86-VidModeExtension", &noXFree86VidModeExtension },
|
||||
#endif
|
||||
#ifdef XFIXES
|
||||
{ "XFIXES", &noXFixesExtension },
|
||||
#endif
|
||||
#ifdef XIE
|
||||
{ "XIE", &noXie },
|
||||
#endif
|
||||
#ifdef PANORAMIX
|
||||
{ "XINERAMA", &noPanoramiXExtension },
|
||||
#endif
|
||||
#ifdef XINPUT
|
||||
{ "XInputExtension", &noXInputExtension },
|
||||
#endif
|
||||
#ifdef XKB
|
||||
{ "XKEYBOARD", &noXkbExtension },
|
||||
#endif
|
||||
{ "XTEST", &noTestExtensions },
|
||||
#ifdef XV
|
||||
{ "XVideo", &noXvExtension },
|
||||
#endif
|
||||
{ NULL, NULL }
|
||||
};
|
||||
|
|
@ -357,7 +556,7 @@ InitExtensions(argc, argv)
|
|||
# endif
|
||||
#endif
|
||||
#ifdef BEZIER
|
||||
BezierExtensionInit();
|
||||
if (!noBezierExtension) BezierExtensionInit();
|
||||
#endif
|
||||
#ifdef XTESTEXT1
|
||||
if (!noTestExtensions) XTestExtension1Init();
|
||||
|
|
@ -366,125 +565,127 @@ InitExtensions(argc, argv)
|
|||
ShapeExtensionInit();
|
||||
#endif
|
||||
#ifdef MITSHM
|
||||
ShmExtensionInit();
|
||||
if (!noMITShmExtension) ShmExtensionInit();
|
||||
#endif
|
||||
#ifdef EVI
|
||||
EVIExtensionInit();
|
||||
if (!noEVIExtension) EVIExtensionInit();
|
||||
#endif
|
||||
#ifdef PEXEXT
|
||||
PexExtensionInit();
|
||||
if (!noPexExtension) PexExtensionInit();
|
||||
#endif
|
||||
#ifdef MULTIBUFFER
|
||||
MultibufferExtensionInit();
|
||||
if (!noMultibufferExtension) MultibufferExtensionInit();
|
||||
#endif
|
||||
#if defined(XINPUT) && !defined(NO_HW_ONLY_EXTS)
|
||||
XInputExtensionInit();
|
||||
if (!noXInputExtension) XInputExtensionInit();
|
||||
#endif
|
||||
#ifdef XTEST
|
||||
if (!noTestExtensions) XTestExtensionInit();
|
||||
#endif
|
||||
#ifdef BIGREQS
|
||||
BigReqExtensionInit();
|
||||
if (!noBigReqExtension) BigReqExtensionInit();
|
||||
#endif
|
||||
#ifdef MITMISC
|
||||
MITMiscExtensionInit();
|
||||
if (!noMITMiscExtension) MITMiscExtensionInit();
|
||||
#endif
|
||||
#ifdef XIDLE
|
||||
XIdleExtensionInit();
|
||||
if (!noXIdleExtension) XIdleExtensionInit();
|
||||
#endif
|
||||
#ifdef XTRAP
|
||||
if (!noTestExtensions) DEC_XTRAPInit();
|
||||
#endif
|
||||
#if defined(SCREENSAVER) && !defined(PRINT_ONLY_SERVER)
|
||||
ScreenSaverExtensionInit ();
|
||||
if (!noScreenSaverExtension) ScreenSaverExtensionInit ();
|
||||
#endif
|
||||
#ifdef XV
|
||||
XvExtensionInit();
|
||||
XvMCExtensionInit();
|
||||
if (!noXvExtension) {
|
||||
XvExtensionInit();
|
||||
XvMCExtensionInit();
|
||||
}
|
||||
#endif
|
||||
#ifdef XIE
|
||||
XieInit();
|
||||
if (!noXie) XieInit();
|
||||
#endif
|
||||
#ifdef XSYNC
|
||||
SyncExtensionInit();
|
||||
if (!noSyncExtension) SyncExtensionInit();
|
||||
#endif
|
||||
#if defined(XKB) && !defined(PRINT_ONLY_SERVER) && !defined(NO_HW_ONLY_EXTS)
|
||||
if (!noXkbExtension) XkbExtensionInit();
|
||||
#endif
|
||||
#ifdef XCMISC
|
||||
XCMiscExtensionInit();
|
||||
if (!noXCMiscExtension) XCMiscExtensionInit();
|
||||
#endif
|
||||
#ifdef XRECORD
|
||||
if (!noTestExtensions) RecordExtensionInit();
|
||||
#endif
|
||||
#ifdef LBX
|
||||
LbxExtensionInit();
|
||||
if (!noLbxExtension) LbxExtensionInit();
|
||||
#endif
|
||||
#ifdef DBE
|
||||
DbeExtensionInit();
|
||||
if (!noDbeExtension) DbeExtensionInit();
|
||||
#endif
|
||||
#ifdef XAPPGROUP
|
||||
XagExtensionInit();
|
||||
if (!noXagExtension) XagExtensionInit();
|
||||
#endif
|
||||
#ifdef XCSECURITY
|
||||
SecurityExtensionInit();
|
||||
if (!noSecurityExtension) SecurityExtensionInit();
|
||||
#endif
|
||||
#ifdef XPRINT
|
||||
XpExtensionInit();
|
||||
XpExtensionInit(); /* server-specific extension, cannot be disabled */
|
||||
#endif
|
||||
#ifdef TOGCUP
|
||||
XcupExtensionInit();
|
||||
if (!noXcupExtension) XcupExtensionInit();
|
||||
#endif
|
||||
#if defined(DPMSExtension) && !defined(NO_HW_ONLY_EXTS)
|
||||
DPMSExtensionInit();
|
||||
if (!noDPMSExtension) DPMSExtensionInit();
|
||||
#endif
|
||||
#ifdef FONTCACHE
|
||||
FontCacheExtensionInit();
|
||||
if (!noFontCacheExtension) FontCacheExtensionInit();
|
||||
#endif
|
||||
#ifdef XF86BIGFONT
|
||||
XFree86BigfontExtensionInit();
|
||||
if (!noXFree86BigfontExtension) XFree86BigfontExtensionInit();
|
||||
#endif
|
||||
#if !defined(PRINT_ONLY_SERVER) && !defined(NO_HW_ONLY_EXTS)
|
||||
#if defined(XF86VIDMODE)
|
||||
XFree86VidModeExtensionInit();
|
||||
if (!noXFree86VidModeExtension) XFree86VidModeExtensionInit();
|
||||
#endif
|
||||
#if defined(XF86MISC)
|
||||
XFree86MiscExtensionInit();
|
||||
if (!noXFree86MiscExtension) XFree86MiscExtensionInit();
|
||||
#endif
|
||||
#if defined(XFreeXDGA)
|
||||
XFree86DGAExtensionInit();
|
||||
if (!noXFree86DGAExtension) XFree86DGAExtensionInit();
|
||||
#endif
|
||||
#ifdef XF86DRI
|
||||
XFree86DRIExtensionInit();
|
||||
if (!noXFree86DRIExtension) XFree86DRIExtensionInit();
|
||||
#endif
|
||||
#endif
|
||||
#ifdef GLXEXT
|
||||
#ifndef __DARWIN__
|
||||
GlxExtensionInit();
|
||||
if (!noGlxExtension) GlxExtensionInit();
|
||||
#else
|
||||
DarwinGlxExtensionInit();
|
||||
if (!noGlxExtension) DarwinGlxExtensionInit();
|
||||
#endif
|
||||
#endif
|
||||
#ifdef DPSEXT
|
||||
#ifndef XPRINT
|
||||
DPSExtensionInit();
|
||||
if (!noDPSExtension) DPSExtensionInit();
|
||||
#endif
|
||||
#endif
|
||||
#ifdef XFIXES
|
||||
/* must be before Render to layer DisplayCursor correctly */
|
||||
XFixesExtensionInit();
|
||||
if (!noXFixesExtension) XFixesExtensionInit();
|
||||
#endif
|
||||
#ifdef RENDER
|
||||
if (!noRenderExtension) RenderExtensionInit();
|
||||
#endif
|
||||
#ifdef RANDR
|
||||
RRExtensionInit();
|
||||
if (!noRRExtension) RRExtensionInit();
|
||||
#endif
|
||||
#ifdef RES
|
||||
ResExtensionInit();
|
||||
if (!noResExtension) ResExtensionInit();
|
||||
#endif
|
||||
#ifdef DMXEXT
|
||||
DMXExtensionInit();
|
||||
DMXExtensionInit(); /* server-specific extension, cannot be disabled */
|
||||
#endif
|
||||
#ifdef XEVIE
|
||||
if (!noXevieExtension) XevieExtensionInit();
|
||||
|
|
@ -493,7 +694,7 @@ InitExtensions(argc, argv)
|
|||
if (!noCompositeExtension) CompositeExtensionInit();
|
||||
#endif
|
||||
#ifdef DAMAGE
|
||||
DamageExtensionInit();
|
||||
if (!noDamageExtension) DamageExtensionInit();
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
|
|||
130
os/utils.c
130
os/utils.c
|
|
@ -1,4 +1,4 @@
|
|||
/* $XdotOrg: xc/programs/Xserver/os/utils.c,v 1.5 2004/07/31 09:14:06 kem Exp $ */
|
||||
/* $XdotOrg: xc/programs/Xserver/os/utils.c,v 1.6 2004/08/11 22:27:50 kem Exp $ */
|
||||
/* $Xorg: utils.c,v 1.5 2001/02/09 02:05:24 xorgcvs Exp $ */
|
||||
/*
|
||||
|
||||
|
|
@ -119,8 +119,126 @@ OR PERFORMANCE OF THIS SOFTWARE.
|
|||
|
||||
#ifdef RENDER
|
||||
#include "picture.h"
|
||||
#endif
|
||||
|
||||
Bool noTestExtensions;
|
||||
#ifdef BEZIER
|
||||
Bool noBezierExtension = FALSE;
|
||||
#endif
|
||||
#ifdef BIGREQS
|
||||
Bool noBigReqExtension = FALSE;
|
||||
#endif
|
||||
#ifdef COMPOSITE
|
||||
/* COMPOSITE is disabled by default for now until the
|
||||
* interface is stable */
|
||||
Bool noCompositeExtension = TRUE;
|
||||
#endif
|
||||
#ifdef DAMAGE
|
||||
Bool noDamageExtension = FALSE;
|
||||
#endif
|
||||
#ifdef DBE
|
||||
Bool noDbeExtension = FALSE;
|
||||
#endif
|
||||
#ifdef DPSEXT
|
||||
Bool noDPSExtension = FALSE;
|
||||
#endif
|
||||
#ifdef DPMSExtension
|
||||
Bool noDPMSExtension = FALSE;
|
||||
#endif
|
||||
#ifdef EVI
|
||||
Bool noEVIExtension = FALSE;
|
||||
#endif
|
||||
#ifdef FONTCACHE
|
||||
Bool noFontCacheExtension = FALSE;
|
||||
#endif
|
||||
#ifdef GLXEXT
|
||||
Bool noGlxExtension = FALSE;
|
||||
#endif
|
||||
#ifdef LBX
|
||||
Bool noLbxExtension = FALSE;
|
||||
#endif
|
||||
#ifdef SCREENSAVER
|
||||
Bool noScreenSaverExtension = FALSE;
|
||||
#endif
|
||||
#ifdef MITSHM
|
||||
Bool noMITShmExtension = FALSE;
|
||||
#endif
|
||||
#ifdef MITMISC
|
||||
Bool noMITMiscExtension = FALSE;
|
||||
#endif
|
||||
#ifdef MULTIBUFFER
|
||||
Bool noMultibufferExtension = FALSE;
|
||||
#endif
|
||||
#ifdef RANDR
|
||||
Bool noRRExtension = FALSE;
|
||||
#endif
|
||||
#ifdef RENDER
|
||||
Bool noRenderExtension = FALSE;
|
||||
#endif
|
||||
#ifdef SHAPE
|
||||
Bool noShapeExtension = FALSE;
|
||||
#endif
|
||||
#ifdef XCSECURITY
|
||||
Bool noSecurityExtension = FALSE;
|
||||
#endif
|
||||
#ifdef XSYNC
|
||||
Bool noSyncExtension = FALSE;
|
||||
#endif
|
||||
#ifdef TOGCUP
|
||||
Bool noXcupExtension = FALSE;
|
||||
#endif
|
||||
#ifdef PEXEXT
|
||||
Bool noPexExtension = FALSE;
|
||||
#endif
|
||||
#ifdef RES
|
||||
Bool noResExtension = FALSE;
|
||||
#endif
|
||||
#ifdef XAPPGROUP
|
||||
Bool noXagExtension = FALSE;
|
||||
#endif
|
||||
#ifdef XCMISC
|
||||
Bool noXCMiscExtension = FALSE;
|
||||
#endif
|
||||
#ifdef XEVIE
|
||||
/* Xevie is disabled by default for now until the
|
||||
* interface is stable */
|
||||
Bool noXevieExtension = TRUE;
|
||||
#endif
|
||||
#ifdef XIE
|
||||
Bool noXie = FALSE;
|
||||
#endif
|
||||
#ifdef XF86BIGFONT
|
||||
Bool noXFree86BigfontExtension = FALSE;
|
||||
#endif
|
||||
#ifdef XFreeXDGA
|
||||
Bool noXFree86DGAExtension = FALSE;
|
||||
#endif
|
||||
#ifdef XF86DRI
|
||||
Bool noXFree86DRIExtension = FALSE;
|
||||
#endif
|
||||
#ifdef XF86MISC
|
||||
Bool noXFree86MiscExtension = FALSE;
|
||||
#endif
|
||||
#ifdef XF86VIDMODE
|
||||
Bool noXFree86VidModeExtension = FALSE;
|
||||
#endif
|
||||
#ifdef XFIXES
|
||||
Bool noXFixesExtension = FALSE;
|
||||
#endif
|
||||
/* |noXkbExtension| is defined in xc/programs/Xserver/xkb/xkbInit.c */
|
||||
#ifdef PANORAMIX
|
||||
/* Xinerama is disabled by default unless enabled via +xinerama */
|
||||
Bool noPanoramiXExtension = TRUE;
|
||||
#endif
|
||||
#ifdef XINPUT
|
||||
Bool noXInputExtension = FALSE;
|
||||
#endif
|
||||
#ifdef XIDLE
|
||||
Bool noXIdleExtension = FALSE;
|
||||
#endif
|
||||
#ifdef XV
|
||||
Bool noXvExtension = FALSE;
|
||||
#endif
|
||||
|
||||
#define X_INCLUDE_NETDB_H
|
||||
#include <X11/Xos_r.h>
|
||||
|
|
@ -128,24 +246,14 @@ Bool noRenderExtension = FALSE;
|
|||
#include <errno.h>
|
||||
|
||||
Bool CoreDump;
|
||||
Bool noTestExtensions;
|
||||
|
||||
#ifdef PANORAMIX
|
||||
Bool noPanoramiXExtension = TRUE;
|
||||
Bool PanoramiXVisibilityNotifySent = FALSE;
|
||||
Bool PanoramiXMapped = FALSE;
|
||||
Bool PanoramiXWindowExposureSent = FALSE;
|
||||
Bool PanoramiXOneExposeRequest = FALSE;
|
||||
#endif
|
||||
|
||||
#ifdef XEVIE
|
||||
Bool noXevieExtension = TRUE;
|
||||
#endif
|
||||
|
||||
#ifdef COMPOSITE
|
||||
Bool noCompositeExtension = TRUE;
|
||||
#endif
|
||||
|
||||
int auditTrailLevel = 1;
|
||||
|
||||
Bool Must_have_memory = FALSE;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue