Commit Graph

65 Commits

Author SHA1 Message Date
Kevin E Martin
c2e461c7e9 Fix typo and add new Makefiles to AC_OUTPUT
Fix typos
Add xorg.conf.man to CLEANFILES
Add missing files to EXTRA_DIST
2005-10-15 20:44:44 +00:00
Kristian Høgsberg
5a71a5667e Add Xprint init scrips to EXTRA_DIST. 2005-10-07 19:01:10 +00:00
Alan Coopersmith
5037d3441d Bug #1465 <https://bugs.freedesktop.org/show_bug.cgi?id=1465>
/etc/init.d/Xprint should use PROJECTROOT from build (Grzegorz
    DÄ?browski)
2005-10-02 22:17:38 +00:00
Alan Coopersmith
4608a2b654 Man page processing/installation and other doc file updates 2005-09-30 02:37:57 +00:00
Søren Sandmann Pedersen
df938987d6 Add buildsystem for Xprint, and:
Wed Aug 17 14:50:58 2005 Soren Sandmann <sandmann@redhat.com>
Include <X11/extensions/Print{,str}.h> instead of "Print{,str}.h"
Include <X11/fonts/fontstruct.h> isntead of "fonts/fontstruct.h"
Wed Aug 17 14:54:49 2005 Søren Sandmann <sandmann@redhat.com>
Conditionally compile in xprint.c
Add Xprint
2005-08-17 19:03:18 +00:00
Keith Packard
697cf74fb5 Make Xprt run when linked against Xlib for Xrm 2005-07-12 03:09:20 +00:00
Alan Coopersmith
0a28516a6e More compiler warning fixes for missing prototypes:
Add prototype for XkbSetExtension()
Add #include <ctype.h> for isspace() & isdigit()
Add #include <grp.h> (for initgroups()) and remove extra *
Add prototype for xorgGetVersion()
2005-07-07 19:07:28 +00:00
Alan Coopersmith
6cba5f1260 Bug #2901 <https://bugs.freedesktop.org/show_bug.cgi?id=2901> Patch #2332
<https://bugs.freedesktop.org/attachment.cgi?id=2332> This patch avoids
    79 gcc-3.4.3 warnings 'xxx' declared `static' but never defined mostly
    due to including "ftfuncs.h" with the declaration of static functions
    defined in "ftfuncs.c". (Peter Breitenlohner)
2005-07-07 14:59:48 +00:00
Alan Coopersmith
f86562540d Bug #2901 <https://bugs.freedesktop.org/show_bug.cgi?id=2901> Patch #2325
<https://bugs.freedesktop.org/attachment.cgi?id=2325> Avoid 38
    gcc-3.4.2 warnings: suggest parentheses around assignment used as truth
    value suggest explicit braces to avoid ambiguous `else' suggest
    parentheses around && within || suggest parentheses around arithmetic
    in operand of ^ "/*" within comment (Peter Breitenlohner)
Bug #2901 <https://bugs.freedesktop.org/show_bug.cgi?id=2901> Patch #2326
    <https://bugs.freedesktop.org/attachment.cgi?id=2326> This patch
    removes these 2 gcc-3.4.3 warnings: missing braces around initializer
    implicit declaration of function `XpOidTrayMediumListHasTray' (Peter
    Breitenlohner)
2005-07-07 02:47:06 +00:00
Daniel Stone
0bb669638f Change <X11/misc.h> and <X11/os.h> to "misc.h" and "os.h". 2005-07-03 08:53:54 +00:00
Daniel Stone
e03198972c Add Xtrans definitions (FONT_t, TRANS_CLIENT) to clean up warnings.
Add XSERV_t, TRANS_SERVER, TRANS_REOPEN to quash warnings.
Add #include <dix-config.h> or <xorg-config.h>, as appropriate, to all
    source files in the xserver/xorg tree, predicated on defines of
    HAVE_{DIX,XORG}_CONFIG_H. Change all Xfont includes to
    <X11/fonts/foo.h>.
2005-07-03 07:02:09 +00:00
Daniel Stone
9b1debcdb6 Change all misc.h and os.h references to <X11/foo.h>. 2005-07-01 22:43:43 +00:00
Roland Mainz
f010131a19 xc/programs/Xserver/Xprint/Init.c
//bugs.freedesktop.org/show_bug.cgi?id=2879) attachment #2556
    (https://bugs.freedesktop.org/attachment.cgi?id=2556) Refix for bug
    2879 - downgrade 15bit PseudoColor to 14bit - the current datatype for
    the |ColormapEntries| is a |signed short| which is too small for
    |32768| colors (=integer overflow).
2005-04-26 06:12:07 +00:00
Daniel Stone
292c4cff26 Fix includes right throughout the Xserver tree:
change "foo.h" to <X11/foo.h> for core headers, e.g. X.h, Xpoll.h;
change "foo.h", "extensions/foo.h" and "X11/foo.h" to
    <X11/extensions/foo.h> for extension headers, e.g. Xv.h;
change "foo.[ch]" to <X11/Xtrans/foo.[ch]> for Xtrans files.
2005-04-20 12:25:48 +00:00
Roland Mainz
ddfa6f00da //bugs.freedesktop.org/show_bug.cgi?id=3001) attachment #2404
(https://bugs.freedesktop.org/attachment.cgi?id=2404) Improve rendering
    performance when glXSwapBuffers()| or |XPutImage()| are called for the
    PostScript DDX via optimizing the codepath around
    |PsOut_OutImageBytes()|. Patch by Simon Toedt <simon.toedt@gmail.com>
    and Roland Mainz <roland.mainz@nrubsig.org>.
2005-04-13 00:05:37 +00:00
Roland Mainz
5e2080ef93 xc/programs/Xserver/Xprint/attributes.c
xc/programs/glxgears/glxgears.c
xc/programs/xdbedizzy/xdbedizzy.c
xc/programs/xedit/Imakefile
xc/programs/xedit/Xedit-xprint.ad
xc/programs/xedit/util.c
xc/programs/xedit/xedit.h
xc/programs/xlogo/print.c
xc/programs/xlogo/xlogo.c
xc/programs/xlogo/xlogo.h
xc/programs/xman/Imakefile
xc/programs/xman/print.h
xc/programs/xmore/Imakefile
xc/programs/xmore/print.c
xc/programs/xmore/print.h
xc/programs/xmore/printdialog.c
xc/programs/xphelloworld/xpawhelloworld/xpawhelloworld.c
xc/programs/xphelloworld/xphelloworld/xphelloworld.c
xc/programs/xphelloworld/xpsimplehelloworld/xpsimplehelloworld.c
xc/programs/xphelloworld/xpxmhelloworld/xpxmhelloworld.c
//bugs.freedesktop.org/show_bug.cgi?id=790) attachment #2379
    (https://bugs.freedesktop.org/attachment.cgi?id=2379) Implement support
    client+Xserver support for passing output (stdout+stderr) of the
    spooler command started by the Xprint server back to the application
    using the "xp-spooler-command-results" XPJobAttr attribute
    (applications can fetch the attribute value after the XPEndJobNotify
    event was received; more details can be found in
    http://xprint.mozdev.org/docs/dtprint_fspec.ps).
2005-04-11 01:06:15 +00:00
Roland Mainz
03d126081e xc/programs/Xserver/Xprint/Init.c
xc/programs/Xserver/Xprint/ps/Imakefile
xc/programs/Xserver/Xprint/ps/Ps.h
xc/programs/Xserver/Xprint/ps/PsArea.c
xc/programs/Xserver/Xprint/ps/PsColor.c
xc/programs/Xserver/Xprint/ps/PsImageUtil.c
xc/programs/Xserver/Xprint/ps/PsInit.c
//bugs.freedesktop.org/show_bug.cgi?id=2879) attachment #2287
    (https://bugs.freedesktop.org/attachment.cgi?id=2287) Follow-up to
    bugzilla #1299: Add new visuals in the Postscript DDX (including
    TrueColor 16bit, PseudoColor 15bit/12bpg(12 bits per R-, G-, B-channel
    as in PostScript Level 2 (and above) colors can have 12 bits per
    component (36 bit for RGB)), PseudoColor+GrayScale+StaticGray
12bit/12bpg) and switch the default visual from PseudoColor 8bit/8bpg to
    PseudoColor 12bit/12bpg.
2005-04-01 21:45:20 +00:00
Roland Mainz
0d33b58837 xc/programs/Xserver/Xprint/ps/Imakefile
//bugs.freedesktop.org/show_bug.cgi?id=2821) attachment #xxx
    (https://bugs.freedesktop.org/attachment.cgi?id=xxx) Remove the cfb
    dependicy from the PostScript DDX as this is not needed in a vector DDX
    (mfb is still needed to fill the |BitmapToRegion()| callback with
    |mfbPixmapToRegion()|).
2005-03-25 23:11:14 +00:00
Roland Mainz
26aec10ada xc/programs/Xserver/Imakefile
xc/programs/Xserver/Xprint/DiPrint.h
xc/programs/Xserver/Xprint/Imakefile
xc/programs/Xserver/Xprint/Init.c
xc/programs/Xserver/Xprint/ddxInit.c
xc/programs/Xserver/dix/Imakefile
xc/programs/Xserver/dix/main.c
xc/programs/Xserver/dix/xpstubs.c
xc/programs/Xserver/os/Imakefile
//bugs.freedesktop.org/show_bug.cgi?id=2792) attachment #2193
    (https://bugs.freedesktop.org/attachment.cgi?id=2193) Fix build bustage
    when |PrintOnlyServer| is set to |NO|. Patch by Roland Mainz
    <roland.mainz@nrubsig.org> and Julien Lafon <julien.lafon@gmail.com>.
2005-03-23 19:58:45 +00:00
Roland Mainz
65b893a707 //bugs.freedesktop.org/show_bug.cgi?id=2167) attachment #1641
(https://bugs.freedesktop.org/attachment.cgi?id=1641): Fix broken
    Solaris print queue enumeration.
2005-01-10 23:38:50 +00:00
Roland Mainz
c6b5a94311 //bugs.freedesktop.org/show_bug.cgi?id=2254) attachment #1659
(https://bugs.freedesktop.org/attachment.cgi?id=1659): Refix for gcc4.0
    build failure. It seems that the |ExecCommand()| function has no
    consumer and can safely be removed.
2005-01-10 18:47:55 +00:00
Roland Mainz
2ef9d01c4d xc/programs/Xserver/Xprint/Util.c
xc/programs/Xserver/Xprint/attributes.h
//bugs.freedesktop.org/show_bug.cgi?id=2254) attachment #1654
    (https://bugs.freedesktop.org/attachment.cgi?id=1654): Fix gcc4.0 build
    failure. Patch by Egbert Eich <eich@freedesktop.org> and Roland Mainz
    <roland.mainz@nrubsig.org>
2005-01-10 14:16:29 +00:00
Roland Mainz
2410b61f43 //bugs.freedesktop.org/show_bug.cgi?id=2240) attachment #1642
(https://bugs.freedesktop.org/attachment.cgi?id=1642): Fix incorrect
    usage of /usr/bin/tr in startup script (the used "[\n]" is neither
    correct or portable, using "\n" seems to be sufficient (this fixes
    various "random" issues, including including Debian bug #258419 and
    Debian bug #264983). Patch by Drew Parsons <dparsons@debian.org>.
2005-01-09 00:38:08 +00:00
Egbert Eich
5f39eff851 Added missing return value (Bugzilla #2205) Problem found by Stefan Kulow. 2005-01-03 15:43:55 +00:00
Roland Mainz
bf0a760331 //freedesktop.org/bugzilla/show_bug.cgi?id=1800): Fix Postscript DDX's 1bit
StaticGray visual to report only 1bit of significant bits in color
    specification (instead of 8bits). Patch by Julien Lafon
    <julien.lafon@gmail.com>
2004-12-05 04:39:34 +00:00
Markus Kuhn
44f4713a05 Encoding of numerous files changed to UTF-8 2004-12-04 00:43:13 +00:00
Roland Mainz
9084423014 //freedesktop.org/bugzilla/show_bug.cgi?id=811): Updating generated
Xprt.html which was forgotten during the previous work.
2004-11-30 23:43:33 +00:00
Roland Mainz
6062f6a6e7 xc/programs/Xserver/Xprint/Imakefile
xc/programs/Xserver/Xprint/Xprt.html
xc/programs/Xserver/Xprint/Xprt.man
//freedesktop.org/bugzilla/show_bug.cgi?id=811): Add missing manual page
    for "Xprt" (DocBook master file (Xprt.sgml) and the generated files
    (Xprt.html, Xprt.man).
2004-11-25 22:42:51 +00:00
Roland Mainz
a57e85b523 Fix for https://freedesktop.org/bugzilla/show_bug.cgi?id=1664 - RFE: Add
support for the DOUBLE-BUFFER extension to the Xprint server and DDX.
    Additionally a "pixmap-scrubber" optimisation is added to the
    PostScript DDX to remove all content from a vector pixmap when a
    |PolyFillRect()| call covers the whole pixmap surface with a solid fill
    (this avoids that a backbuffer vector pixmap gets constantly filled
    even when the content is not visible anymore after |XdbeSwapBuffers()|
    has cleared the hidden buffer with the background color).
2004-10-25 07:12:21 +00:00
Roland Mainz
5505555c15 Fix for https://freedesktop.org/bugzilla/show_bug.cgi?id=1647 - Fix the
problem that |XpSubmitJob()| returns a random value (patch by Stefan
    Dirsch/SuSE).
2004-10-15 22:29:40 +00:00
Roland Mainz
60caca718d Fix for https://freedesktop.org/bugzilla/show_bug.cgi?id=1646 - Fix the
problem that |PsCreateColormap()| returns a random value (patch by
    Stefan Dirsch/SuSE).
2004-10-15 22:08:38 +00:00
Roland Mainz
4782b2f7c1 Fix for https://freedesktop.org/bugzilla/show_bug.cgi?id=1637 - Fix
problems in oid code which may cause the usage of an invalid string
    pointer (original patch by Egbert Eich).
2004-10-15 21:43:31 +00:00
Roland Mainz
a0251ee285 Fix for https://freedesktop.org/bugzilla/show_bug.cgi?id=1629 - Fix crash
on AMD64, regression caused by bug 1496 ("Xorg Xprt does not support
    "*xp-listfonts-mode: xp-list-internal-printer-fonts" to toggle the
    usage of printer-builtin fonts").
2004-10-14 02:20:52 +00:00
Roland Mainz
75217be88c Fix for http://freedesktop.org/bugzilla/show_bug.cgi?id=661 - Xprt
producing spurious characters in PS output when using the bitmap cache
    (Originally reported against Solaris Xprt as Sun bug id #4369307, and
    fixed in Solaris by Jay Hobson.
2004-10-04 05:34:32 +00:00
Roland Mainz
658b4ed81f Fix for http://freedesktop.org/bugzilla/show_bug.cgi?id=1299 - Add more
visuals to the Postscript DDX (8bit GrayScale/StaticGray, 1bit
    StaticGray and the basic infratructure for "deep" visuals with more
    than 8bits per RGB gun).
2004-10-04 05:04:14 +00:00
Roland Mainz
e622b34611 Fix for http://freedesktop.org/bugzilla/show_bug.cgi?id=1496 : Fixed Xprt
font handling which did not support "*xp-listfonts-modes:
    xp-list-internal-printer-fonts" or "*xp-listfonts-modes:
    xp-list-glyph-fonts" to toggle the usage of printer-builtin and glyph
    fonts in XListFonts*(), XLoad*Font(), etc. Additionally the Xprint DDX
    now explicitly list "xp-listfonts-modes" in
    "document-attributes-supported" (for document-level) or
    "xp-page-attributes-supported" (for page-level) when the DDX implements
    this feature (as described in the CDE DtPrint specification).
2004-10-03 23:29:21 +00:00
Roland Mainz
8b2f127ea0 Fix for http://freedesktop.org/bugzilla/show_bug.cgi?id=1416 - Fix Xprt
PostScript DDX crashes when copying offscreen pixmap content to the
    same pixmap.
2004-10-03 15:34:33 +00:00
Egbert Eich
f30fbc600f Fixed typos. 2004-08-27 20:20:54 +00:00
Egbert Eich
276cf27152 - adding missing file 2004-08-27 20:16:28 +00:00
Kevin E Martin
9223baf985 Fix AIX build problems (Bugs #1020, 1102, 1103, Dan McNichol).
Remove old config files (Bug #1123, Jim Gettys).
Remove old log message (Bug #1123, Jim Gettys).
2004-08-18 18:41:41 +00:00
Roland Mainz
ca458e3c9b Fix for http://freedesktop.org/bugzilla/show_bug.cgi?id=492 -
/etc/init.d/xprint did not source xorg.conf for font paths additionally
    to xfree86 config files
2004-08-11 13:55:03 +00:00
Roland Mainz
f4c84e7dbf Fix for http://xprint.freedesktop.org/cgi-bin/bugzilla/show_bug.cgi?id=940
- Filter /etc/init.d/xprint throught CPP/|MakeScriptFromCpp()| to allow
    platform-specific customisation.
2004-07-30 12:03:56 +00:00
Torrey Lyons
1498414cc8 Fix Xprint build on Darwin. 2004-07-27 20:26:47 +00:00
Roland Mainz
7971144140 Fix for http://freedesktop.org/bugzilla/show_bug.cgi?id=893 - Fixing the
bug that Xprt did not honor ${LC_ALL} when looking for model-config
    dirs.
2004-07-19 22:01:52 +00:00
Roland Mainz
0addd0d499 Fix for http://freedesktop.org/bugzilla/show_bug.cgi?id=858 - Fixing the
problem that clients cannot use the TrueColor visual without calling
    |XInstallColormap();|.
2004-07-18 05:21:20 +00:00
Roland Mainz
ad6b9644a3 Fix for http://xprint.freedesktop.org/bugzilla/show_bug.cgi?id=660 : Fix
for the issue that GetPrinterList does not return printer descriptions
    on Solaris. The patch implements a framework which allows the printer
    enumerator scripts to pass additional printer attributes to the
    information pool (currently only "xp-printerattr.descriptor" is
    implemented).
2004-06-24 06:26:27 +00:00
Roland Mainz
884908a63c Fix for http://xprint.freedesktop.org/bugzilla/show_bug.cgi?id=789 : Adding
a workaround for the issue that Xprt may hang when the CUPS spooler
    frontend sends messages to stdout.
2004-06-22 10:18:13 +00:00
Alexander Gottwald
ed7f92e791 Bug 778: add ddxBeforeReset 2004-06-21 13:44:14 +00:00
Roland Mainz
dd831c7a5c Refix for http://freedesktop.org/bugzilla/show_bug.cgi?id=764 : Rework
previous solution and make Xprt to default to "-noreset" (the default
    of Solaris version of Xprt) and add a "-reset" option which can be used
    to restore the default behaviour on demand.
2004-06-19 21:56:01 +00:00
Roland Mainz
b1aa9499ff Fix for http://pdx.freedesktop.org/cgi-bin/bugzilla/show_bug.cgi?id=622 -
RFE: Xprt default BIGREQUESTS extension buffer size should be 8MB (to
    make |XpPutDocumentData()| happy and to improve performance).
2004-05-15 14:43:05 +00:00