home *** CD-ROM | disk | FTP | other *** search
/ PC-Online 1996 May / PCOnline_05_1996.bin / linux / source / x / x11r6-ch / xpm-3.4 / xpm-3 / xpm-3.4c / CHANGES next >
Text File  |  1994-06-06  |  29KB  |  726 lines

  1. /*
  2.  * Copyright (C) 1989-94 GROUPE BULL
  3.  *
  4.  * Permission is hereby granted, free of charge, to any person obtaining a copy
  5.  * of this software and associated documentation files (the "Software"), to
  6.  * deal in the Software without restriction, including without limitation the
  7.  * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
  8.  * sell copies of the Software, and to permit persons to whom the Software is
  9.  * furnished to do so, subject to the following conditions:
  10.  *
  11.  * The above copyright notice and this permission notice shall be included in
  12.  * all copies or substantial portions of the Software.
  13.  *
  14.  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  15.  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  16.  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
  17.  * GROUPE BULL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
  18.  * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
  19.  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  20.  *
  21.  * Except as contained in this notice, the name of GROUPE BULL shall not be
  22.  * used in advertising or otherwise to promote the sale, use or other dealings
  23.  * in this Software without prior written authorization from GROUPE BULL.
  24.  */
  25.  
  26. /**************************************************************************\
  27. *                                        *
  28. *              HISTORY of user-visible changes               *
  29. *                                        *
  30. \**************************************************************************/
  31.  
  32. 3.4c    (94/06/06)
  33.  
  34.     Yes, this is kind of quick. But this is because no code has been modified,
  35.     this is just a new packaging to make the whole stuff more suitable to the
  36.     MIT's requests for inclusion in the R6 contrib.
  37.  
  38.     ENHANCEMENTS:
  39.     - Several filenames were too long to fit without any conflict on DOS
  40.       and CD-ROM filesystems. They have been renamed.
  41.     - Imakefiles use XCOMM for comments instead of the # character.
  42.     - the Postcript documentation file doc/xpm.ps is now distributed as
  43.       doc/xpm.PS.gz and allows browsing with tools such as ghostview.
  44.     - Besides, parts of lib/misc.c have been moved to several new files,
  45.       and some functions of data.c have been moved to other files in
  46.       order to get a better link profile.
  47.     - I've also added a FAQ hoping this will prevent people from
  48.       continuously filling my mailbox with the same questions.
  49.     - sxpm.c includes <X11/xpm.h> instead of "xpm.h" and BUILDINCTOP is
  50.       used in Makefiles as expected.
  51.     - Everything can be done simply using "xmkmf -a" and "make".
  52.  
  53. 3.4b    (94/05/24)
  54.  
  55.     ENHANCEMENTS:
  56.     - XPM can now be built under MS Windows. Yes, this is possible and this
  57.       entirely comes from:
  58.         - Hermann Dunkel <hedu@cul-ipn.uni-kiel.de>
  59.       See the README.MSW file for details.
  60.  
  61.     - building the shared library now depends on the SharedLibXpm variable
  62.       and no longer on the SharedLibX variable which is private to the X
  63.       Window System project.
  64.         - patch from Stephen Gildea <gildea@x.org>
  65.       Other variables can now be set for the various locations needed.
  66.  
  67.     - lib/parse.c does no longer use a 256x256 array in the stack but
  68.       malloc it instead.
  69.  
  70.     - The Copyright notice which has been re-written from the X11R6's one
  71.       should be clearer and is now present in every file.
  72.  
  73.     BUGS CORRECTED:
  74.     - lib/xpmP.h does no longer define a Boolean type which conflicts with
  75.       the Intrinsic definition. Instead the type Bool defined in Xlib is
  76.       used.
  77.         - neumann@watson.ibm.com (Gustaf Neumann)
  78.  
  79. 3.4a    (94/03/29)
  80.  
  81.     BUGS CORRECTED:
  82.     - passing NULL as shapemask_return to XpmReadFileToPixmap and similar
  83.       functions was leading to a bus error.
  84.         - Dean Luick <dean@falcon.natinst.com>
  85.  
  86. 3.4    (94/03/14)
  87.  
  88.     IMPORTANT NOTE:
  89.     This version is not compatible with 3.3. Fortunately most people should
  90.     only need to recompile.
  91.     I apology for this but CDE/Motif have put heavy pressure to go that
  92.     way. The point is that I designed and released Xpm 3.3 in order to let
  93.     OSF include a clean version of Xpm in Motif 2.0. This new version was
  94.     not fully compatible with 3.2 but I thought it didn't matter since this
  95.     was going to be the first version used within Motif. Unfortunately CDE
  96.     was already using xpm-3.2 internally and requires both source and
  97.     binary backward compatibility. By the way I must say they didn't drop
  98.     us a single line to let us know they were using it and thus were
  99.     expecting stability. All this could have been avoided...
  100.  
  101.     However, since I had to go for a not compatible version I took this as
  102.     an opportunity to modify the lower level API, which was new in 3.3 and
  103.     which was somewhat clumsy, in order to provide yet a better API.
  104.  
  105.     The library has been modified to have both source and binary backward
  106.     compatibility with xpm-3.2. This implies it is not either source or
  107.     binary compatible with 3.3. The fields related to the 3.2 XpmInfos
  108.     mechanism have been put back into the XpmAttributes structure. The new
  109.     3.3 XpmInfos struct has been renamed as XpmInfo to avoid conflict with
  110.     the old 3.2 flag which is back too. All the semantic related to the
  111.     XpmAttributes infos fields is back as well.
  112.  
  113.     So this new version provides a high level API which is fully
  114.     compatible with 3.2 and still provides the 3.3 lower level API
  115.     (XpmImage) with the XpmInfos struct renamed as XpmInfo. This leads to
  116.     some redundancy but this was the best I could do to satisfy both
  117.     CDE/Motif people who needed the backward compatibility and myself (who
  118.     always tries to provide you with the best ;-).
  119.  
  120.     Tests have been successfully performed with pixmap-2.1, pixmap-2.4, and
  121.     sxpm.
  122.  
  123.     ENHANCEMENTS:
  124.     - The colorTable member of the XpmAttributes structure is now an
  125.       (XpmColor*) in order to be compatible with an XpmImage colorTable.
  126.       However in order to be backward compatible this field is cast to
  127.       (XpmColor **), which is equivalent to (char ***), when it is used
  128.       with the old flags XpmInfos and XpmReturnInfos. To handle the new
  129.       type the new flags XpmColorTable and XpmReturnColorTable have been
  130.       defined.
  131.     - The XpmInfo struct has been extended to avoid having to deal with an
  132.       XpmAttributes at the lower level. The idea is that all the data
  133.       stored in an Xpm file can be retreive through both an XpmImage and
  134.       an XpmInfo struct. See the documentation for details.
  135.     - XpmUndefPixel is defined and exported by xpm.h in order to let
  136.       clients providing their own colorTable when writting out an Xpm file.
  137.       See the documentation for details.
  138.     - in sxpm/sxpm.c, set attribute XtNinput to True on toplevel widget.
  139.       Windows that don't "take" input, never get focus, as mandated by
  140.       the ICCM.
  141.             patch from Henrique Martins <martins@hplhasm.hpl.hp.com>
  142.     - lib/Imakefile modified to build the shared library under IRIX 5.
  143.                 patch from simon@lia.di.epfl.ch (Simon Leinen)
  144.  
  145.     NEW FEATURES:
  146.     - a new funtion and a new define should help client figuring out with
  147.       which Xpm library version they are working. These are
  148.       XpmIncludeVersion and XpmLibraryVersion().
  149.  
  150. 3.3    (93/12/20)
  151.  
  152.     NEW FEATURES:
  153.     - XPM1 files are now supported.
  154.     - a new function is provided to get an error string related to the
  155.       returned error code.
  156.         - suggested by Detlef Schmier <detlef@mfr.dec.com>
  157.  
  158.     ENHANCEMENTS:
  159.     - gzip and gunzip are called with the -q option (quiet)
  160.         - patch from Chris P. Ross <cross@eng.umd.edu>
  161.     - the parser is again more flexible about the way the strings are
  162.       distributed on lines. Actually a single line XPM file can be read.
  163.     - the documentation should be clearer about shapemask generation and
  164.       XpmAttributes valuemask.
  165.  
  166.     BUGS CORRECTED:
  167.     - reading some binary file was leading to a bus error.
  168.         - patch from Detlef Schmier <detlef@mfr.dec.com>
  169.     - the ? character is no longer used when writting an XPM file in order
  170.       to avoid possible ANSI trigraphs.
  171.  
  172. 3.3alpha (93/08/13)
  173.  
  174.     NEW FEATURES:
  175.     - a new level interface is provided to allow applications to do either
  176.       icon editing or data caching.
  177.       The XpmAttributes has been changed but most applications will just
  178.       need to be recompiled.
  179.     - new structures are provided to deal with the new lower level:
  180.          XpmImage, XpmColor, XpmInfos.
  181.  
  182.     - a separate distribution called xpm-contrib is available. This
  183.       includes the converters which used to be part of this distribution
  184.       plus:
  185.         two new appplications:
  186.         * nexpm to draw a pixmap in *any* existing window from
  187.              Ralph Betza <gnohmon@ssiny.com>
  188.         * xpmview to display a list of Xpm files from
  189.              Jean Michel Leon <leon@sophia.inria.fr>
  190.  
  191.         a hacky string to pixmap converter, provided by
  192.             Robert H. Forsman Jr.  <thoth@manatee.cis.ufl.edu>
  193.  
  194.         The Xpm editor called pixmap will also be part of this contrib.
  195.         This does not mean it is the best pixmap editor one can find
  196.         but it is the only one that I know of which tries to handle
  197.         all the features of this format.
  198.  
  199.     ENHANCEMENTS:
  200.     - the code to build XImage data has been optimized by
  201.          jules@x.co.uk (Julian Gosnell)
  202.       the old code is still available when compiling with the
  203.       -DWITHOUT_SPEEDUPS flag.
  204.  
  205.     - closecolor code was not re-entrant
  206.          - dbl@visual.com (David B. Lewis)
  207.     - fix gzip filename (*.gz and no longer *.z).
  208.          - Jason Patterson <jasonp@fitmail.fit.qut.edu.au>
  209.     - sxpm has 2 new options:
  210.          -nom to do not display the mask if there is one
  211.          -cp <color> <pixel> to override a color value with a given
  212.          pixel, i.e. sxpm plaid.xpm -cp red 4
  213.  
  214.       also the '-s' adn '-p' options have been renamed to '-sc' and '-sp'.
  215.  
  216.     - xpm.h defines XpmFormat, XpmVersion, and XpmRevision numbers.
  217.  
  218.     BUGS CORRECTED:
  219.     - closecolor minor fix
  220.          - Jason Patterson <jasonp@fitmail.fit.qut.edu.au>
  221.  
  222. 3.2g    (93/04/26)
  223.  
  224.     ENHANCEMENTS:
  225.     - much faster close colors
  226.     - piping from/to compressed files now handles GNU's gzip (.z)  format
  227.     - added XpmColorKey attribute - ability to specify which visual's
  228.       colors to use (ie: now it's possible to read in a pixmap in a
  229.       color visual, but use the colors specified for monochrome).
  230.     - added -mono, -grey4, -grey and -color options to sxpm to demonstrate
  231.       the XpmColorKey attribute.
  232.         - Jason Patterson <jasonp@fitmail.qut.edu.au>
  233.  
  234.     BUGS CORRECTED:
  235.     - fixed bug where redefining "None" as a pixel stopped mask generation
  236.     - minor SVR4 defines for <string.h>
  237.     - fixed annoying closecolor bug related to read/write color cells
  238.     - fixed minor bug in color value -> pixel overloading
  239.     - manual updated to include new red/green/blue closeness attributes
  240.         - Jason Patterson <jasonp@fitmail.qut.edu.au>
  241.  
  242.     - the top Imakefile was missing the depend target
  243.     - sxpm/Imakefile fixed so that -L../lib is set before the standard
  244.       library location.
  245.         - Vivek Khera <khera@cs.duke.edu>
  246.  
  247.     - lib/xpmP.h now defines bcopy as memcpy for VMS (required by recent
  248.       versions of VMS)
  249.         - J. Daniel Smith <dsmith@ann-arbor.applicon.slb.com>
  250.  
  251.     - the lib/Imakefile didn't work with X11R4.
  252.  
  253.  
  254. 3.2f        (93/03/17)
  255.  
  256.     NEW FEATURES:
  257.     - the library provides four new functions to deal with Xpm files
  258.       loaded in memory as single character strings buffers:
  259.  
  260.             XpmCreateImageFromBuffer
  261.             XpmCreatePixmapFromBuffer
  262.             XpmCreateBufferFromImage
  263.             XpmCreateBufferFromPixmap
  264.  
  265.     - in addition, as a convenience, two functions are provided to copy a
  266.       file in a buffer and to write a file from a buffer:
  267.  
  268.             XpmReadFileToBuffer
  269.             XpmWriteFileFromBuffer
  270.  
  271.     ENHANCEMENTS:
  272.     - Files are now dispatched in the following sub-directories:
  273.       lib, sxpm, and doc.
  274.     - Imakefiles will let you build a shared library as well as the static
  275.       one (with either X11R4 or X11R5).
  276.     - The documentation has been ported from LaTeX to FrameMaker and is
  277.       now included in the distribution in its PostScript form (doc/xpm.ps).
  278.       Source files are available on request.
  279.       Also the documentation has been reoreganized and includes a table of
  280.       contents and an index of the functions (the number of functions
  281.       increasing this became a requisite).
  282.  
  283.     BUGS CORRECTED:
  284.     - Many warnings have been fixed - patch from Daniel Dardailler 
  285.       daniel@osf.org
  286.  
  287. 3.2e        (93/02/05)
  288.  
  289.     ENHANCEMENTS:
  290.     - use XpmMalloc, XpmRealloc, XpmCalloc, and XpmFree which are defines
  291.     in xpmP.h. This should help people wanting to use their own functions.
  292.  
  293.     BUGS CORRECTED:
  294.     - Intrinsic.h is no longer included.
  295.     - bzero is defined as memset on SYSV and SVR4.
  296.     - some memory initialisation bug concerning XpmAttributes.
  297.  
  298. 3.2d        (93/01/27)
  299.  
  300.     ENHANCEMENTS:
  301.         - compile on Solaris 2.0
  302.         - patch from Clint Jeffery <cjeffery@cs.arizona.edu>
  303.  
  304.     BUGS CORRECTED:
  305.     - shape masks are now set correctly for LSBFirst (Decs).
  306.     - pixmaps are now set correctly for 2 bit displays (Nexts).
  307.         - patch from Josef Leherbauer <joe@takeFive.co.at>
  308.     - isspace was called on getc which fails when EOF is returned.
  309.         - Marelli Paolo <marelli@colos3.usr.dsi.unimi.it>
  310.  
  311. 3.2c        (92/12/29)
  312.  
  313.     ENHANCEMENTS:
  314.         - parsing optimized for single and double characters color
  315.         - patch originally from Martin Brunecky 
  316.                        marbru@build1.auto-trol.com
  317.  
  318.     BUGS CORRECTED:
  319.     - XpmFreeExtensions was calling free on some argument without checking
  320.     it was not NULL.
  321.     - strdup was not correctly defined for systems which do not provide
  322.     it.    - Hans-Peter Lichtin <lich@zellweger.ch>
  323.     - some bug in XpmCrDataFI.c
  324.             - Sven Delmas garfield@avalanche.cs.tu-berlin.de
  325.  
  326.     NOTE:
  327.         - there is still a bug with the creation of the clipmask on display of
  328.     depth 2 but I can't find a fix because unfortunately I don't have such
  329.     a rendering system and nobody gets the time to investigate for me.
  330.  
  331. 3.2b        (92/10/19)
  332.  
  333.     ENHANCEMENTS:
  334.     - Create XpmReadFileToData and XpmWriteFileFromData
  335.         - Dan Greening <dgreen@sti.com>
  336.         - added "close colors" support and ability to redefine color values
  337.       as pixels at load time, as well as color names
  338.         - Jason Patterson <jasonp@fitmail.qut.edu.au>
  339.     - errors while parsing or allocating colors now revert to other
  340.       visual defaults, creating pixmap/image as expected, and returning
  341.       XpmSuccess. The old behaviour of XpmColorError being returned and no
  342.       pixmap/image being created can be retained by setting the
  343.       exactColors attribute.
  344.         - Jason Patterson <jasonp@fitmail.qut.edu.au>
  345.  
  346.     BUGS CORRECTED:
  347.     - SVR4 defines for including <string.h> instead of <strings.h>
  348.         - Jason Patterson <jasonp@fitmail.qut.edu.au>
  349.     - attributes->extensions and attributes->nextensions fields were not 
  350.       set correctly when no extensions present in file.
  351.         - Simon_Scott Cornish <cornish@ecr.mu.oz.au>
  352.  
  353. 3.2a        (92/08/17)
  354.  
  355.     ENHANCEMENTS:
  356.         - use the mock lisp hashing function instead of the gnu emacs one,
  357.     it is faster in some cases and never slower (I've not found any case).
  358.  
  359.     BUGS CORRECTED:
  360.     - function prototypes for ansi compilers.
  361.     - some memory initialization bugs (purify is just great for this).
  362.     - empty strings in extensions are now correctly handled.
  363.  
  364. 3.2        (92/07/06)
  365.  
  366.     NEW FEATURES:
  367.     - both format and functions handle extensions data. This allow people
  368.     to store additional data related to a pixmap. See documentation for
  369.     detail.
  370.     - sxpm supports the new option '-c' to use a private colormap. This is
  371.     useful when displaying pixmaps using a lot of colors.
  372.     - sxpm supports the new option '-v' (verbose) to get possible
  373.     extensions print out on standard error.
  374.  
  375.     ENHANCEMENTS:
  376.         - most of the code has been reworked to be improved and thus almost
  377.     every function is faster. It takes less than 6 seconds of real time on
  378.     a sun4 to display, with sxpm, a 487x635 pixmap using 213 colors, while
  379.     it takes 32 seconds with the old library! It takes 18 seconds to
  380.     display a 1279x1023 screen dump using 14 colors while xwud takes 10
  381.     seconds.
  382.     Of course performance improvements are not always that great, they
  383.     depend on the size and number of colors but I'm sure everybody will
  384.     appreciate ;-)
  385.     I know how to improve it more but this will require changes in the
  386.     architecture so this is not for now. Some optimizations have been
  387.     contributed by gregor@kafka.saic.com (gregg hanna) and
  388.     jnc@csl.biosci.arizona.edu (John N. Calley).
  389.     - the Imakefile is modified to let you install sxpm - Rainer Klute
  390.            <klute@irb.informatik.uni-dortmund.de>
  391.     - xpmP.h declares popen for Sequent platforms - Clinton Jeffery
  392.        <cjeffery@cs.arizona.edu>
  393.     - XpmWriteFileFromImage/Pixmap rather than truncating the pixmap name
  394.     to the first dot changes dots to underscores to get a valid C syntax
  395.     name.
  396.  
  397.  
  398.     BUGS CORRECTED:
  399.     - there was a bug in the image creation function for some 24 bits
  400.     displays. It is fixed.
  401.     - allocated color pixels are now freed when an error occurs -
  402.        nusser@dec1.wu-wien.ac.at (Stefan Nusser)
  403.  
  404.     CHANGES TO THE DOC:
  405.     - the documentation describes the new XpmExtension structure and how
  406.     to use it with read and write functions.
  407.  
  408. 3.1        (92/02/03)
  409.  
  410.     ENHANCEMENTS:
  411.         - sxpm now have more standard options (mainly suggested by 
  412.     Rainer Sinkwitz <sinkwitz@ifi.unizh.ch>):
  413.  
  414.     Usage:  sxpm [options...]
  415.     Where options are:
  416.  
  417.     [-d host:display]            Display to connect to.
  418.     [-g geom]                    Geometry of window.
  419.     [-hints]                     Set ResizeInc for window.
  420.     [-icon filename]             Set pixmap for iconWindow.
  421.     [-s symbol_name color_name]  Overwrite color defaults.
  422.     [-p symbol_name pixel_value] Overwrite color defaults.
  423.     [-plaid]                     Read the included plaid pixmap.
  424.     [filename]                   Read from file 'filename', and from
  425.                      standard input if 'filename' is '-'.
  426.     [-o filename]                Write to file 'filename', and to standard
  427.                      output if 'filename' is '-'.
  428.     [-nod]                       Don't display in window.
  429.     [-rgb filename]              Search color names in the rgb text file
  430.                      'filename'.
  431.  
  432.     if no input is specified sxpm reads from stdandard input.
  433.  
  434.  
  435.     - Xpm functions and Ppm converters now deal with multiword colornames.
  436.       patches from Rainer Sinkwitz <sinkwitz@ifi.unizh.ch>.
  437.  
  438.  
  439. 3.0        (91/10/03)
  440.  
  441.     Functions name and defines have been modified again (sorry for that)
  442.     as follows:
  443.  
  444.          XpmReadPixmapFile    XpmReadFileToPixmap
  445.          XpmWritePixmapFile   XpmWriteFileFromPixmap
  446.  
  447.          XpmPixmapColorError  XpmColorError
  448.          XpmPixmapSuccess     XpmSuccess
  449.          XpmPixmapOpenFailed  XpmOpenFailed
  450.          XpmPixmapFileInvalid XpmFileInvalid
  451.          XpmPixmapNoMemory    XpmNoMemory
  452.          XpmPixmapColorFailed XpmColorFailed
  453.  
  454.     To update code using Xpm you can use the included shell script called
  455.     rename with the sed commands files name-3.0b-3.0c and name-3.0c-3.0.
  456.     Old names still valid though.
  457.  
  458.     NEW FEATURES:
  459.     - four new functions to work with images instead of pixmaps:
  460.  
  461.          XpmReadFileToImage
  462.          XpmWriteFileFromImage
  463.          XpmCreateImageFromData
  464.          XpmCreateDataFromImage
  465.  
  466.     ENHANCEMENTS:
  467.         Algorithms to create and scan images and pixmaps are based on the
  468.     MIT's R5 code, thus they are much cleaner than old ones and should
  469.     avoid any problem with any visual (yes, I trust MIT folks :-)
  470.  
  471.     BUGS CORRECTED:
  472.     Imakefile use INCDIR instead of ROOTDIR.
  473.  
  474.     CHANGES TO THE DOC:
  475.     - the documentation presents the four new functions.
  476.  
  477. 3.0c        (91/09/18)
  478.  
  479.     In answer to request of people functions, types and defines names have
  480.     been changed as follows:
  481.  
  482.          XCreatePixmapFromData     XpmCreatePixmapFromData
  483.          XCreateDataFromPixmap     XpmCreateDataFromPixmap
  484.          XReadPixmapFile         XpmReadPixmapFile
  485.          XWritePixmapFile         XpmWritePixmapFile
  486.          XFreeXpmAttributes         XpmFreeAttributes
  487.  
  488.          PixmapColorError         XpmPixmapColorError
  489.          PixmapSuccess         XpmPixmapSuccess
  490.          PixmapOpenFailed         XpmPixmapOpenFailed
  491.          PixmapFileInvalid         XpmPixmapFileInvalid
  492.          PixmapNoMemory         XpmPixmapNoMemory
  493.          PixmapColorFailed         XpmPixmapColorFailed
  494.  
  495.          ColorSymbol         XpmColorSymbol
  496.  
  497.     Generally speaking every public name begins with 'Xpm' and every
  498.     private one with 'xpm'. This should avoid any possible conflict.
  499.  
  500.     Some files have also be renamed accordingly.
  501.  
  502.     NEW FEATURES:
  503.     - support for VMS and two new options for sxpm: icon and hints (see
  504.     manual for details) Richard Hess <rhess%pleione%cimshop@uunet.UU.NET>
  505.     - DEFINES in Imakefile and Makefile.noXtree allows you to set the
  506.     following:
  507.  
  508.              ZPIPE for un/compressing piped feature (default is on)
  509.          NEED_STRCASECMP for system which doesn't provide one (default
  510.                  is off)
  511.  
  512.     - xpmtoppm.c has is own strstr function which is used if NEED_STRSTR
  513.     is defined when compiling - Hugues.Leroy@irisa.fr (Hugues Leroy).
  514.     
  515.     BUGS CORRECTED:
  516.     - many bugs have been fixed, especially for ansi compilers -
  517.            Doyle C. Davidson (doyle@doyled.b23b.ingr.com) and
  518.            Clifford D. Morrison (cdm%bigdaddy%edsr@uunet.UU.NET)
  519.     - parser is again a little more improved
  520.  
  521. 3.0b        (91/09/12)
  522.  
  523.     This is a complete new version with a new API and where files and
  524.     structures have been renamed. So this should be taken as a new
  525.     starting release.
  526.     This release should be quickly followed by the 3.0 because I'm planning
  527.     to send it for X11R5 contrib which ends October 5th.
  528.  
  529.     NEW FEATURES:
  530.     - support for transparent color.
  531.     - support for hotspot.
  532.     - a new function: XCreateDataFromPixmap to create an XPM data from a
  533.     pixmap in order to be able to create a new pixmap from this data using
  534.     the XCreatePixmapFromData function later on.
  535.     - a new structure: XpmAttributes which replace the XpmInfo structure
  536.     and which leads to a much simpler API with less arguments.
  537.     - arguments such as visual, colormap and depth are optionnal, default
  538.     values are taken if omitted.
  539.     - parsing and allocating color failures don't simply break anymore. If
  540.     another default color can be found it is used and a PixmapColorError
  541.     is returned. In case no color can be found then it breaks and returns
  542.     PixmapColorFailed.
  543.     - for this reason the ErrorStatus codes are redefined as follows:
  544.  
  545.            null     if full success
  546.            positive if partial success
  547.            negative if failure
  548.  
  549.     with:
  550.         #define PixmapColorError    1
  551.         #define PixmapSuccess       0
  552.         #define PixmapOpenFailed   -1
  553.         #define PixmapFileInvalid  -2
  554.         #define PixmapNoMemory     -3
  555.         #define PixmapColorFailed  -4
  556.  
  557.     - sxpm prints out a warning when a requested color could not be parsed
  558.     or alloc'ed, and an error when none has been found.
  559.     - sxpm handles pixmap with transparent color. For this purpose the
  560.     plaid_mask.xpm is added to the distribution.
  561.  
  562.     BUGS CORRECTED:
  563.     - I've again improved the memory management.
  564.     - the parser is also improved.
  565.     - when writting a pixmap to a file the variable name could be
  566.     "plaid.xpm" which is not valid in C. Now the extension name is cut off
  567.     to give "plaid" as variable name.
  568.     - reading multiple words colornames such as "peach puff" where leading
  569.     to non readable Xpm files. They are now skipped to have only single
  570.     word colorname. Lionel Mallet (mallet@ipvpel.unipv.it).
  571.     - parser was triggered by the "/" character inside string.
  572.     Doyle C. Davidson (doyle@doyled.b23b.ingr.com). This is corrected.
  573.     - sxpm maps the window only if the option "-nod" is not selected. 
  574.  
  575.     CHANGES TO THE DOC:
  576.     - the documentation presents the new API and features.
  577.  
  578. 3.0a        (91/04/10)
  579.  
  580.     This is an alpha version because it supports the new version of XPM,
  581.     but the library interface is still the same. Indeed it will change in
  582.     future release to get rid of obsolete stuff such as the type argument
  583.     of the XWritePixmapFile function.
  584.  
  585.     ******************************* WARNING *********************************
  586.     The format is not anymore XPM2, it is XPM version 3 which is XPM2
  587.     limited to the C syntax with the key word "XPM" in place of "XPM2 C".
  588.     The interface library has not changed yet but the type argument of
  589.     XWritePixmapFile and the type member of XpmInfo are not used anymore.
  590.     Meanwhile the library which is now called libXpm.a is backward
  591.     compatible as XPM2 files can be read. But the XWritePixmapFile
  592.     function only writes out XPM version 3 files.
  593.     *************************************************************************
  594.  
  595.     NEW FEATURES:
  596.     - the library doesn't use global variables anymore, thus it should be
  597.     able to share it.
  598.     - sxpm has been rewritten on top of Xt, it can be used to convert
  599.     files from XPM2 to XPM version 3.
  600.     - xpm1to2c.perl has been upgraded to the new XPM version and renamed
  601.     as xpm1to3.perl
  602.     - ppmtoxpm2.c and ppmtoxpm2.1 have been upgraded too and renamed
  603.     ppmtoxpm.c and ppmtoxpm.1. In addition the xpmtoppm.c and xpmtoppm.1
  604.     of the pbmplus package have been upgraded too. xpmtoppm can thus
  605.     convert XPM version 1 and 3 to a portable pixmap. These files should
  606.     replace the original ones which are part of the pbmplus package. See
  607.     the ppm.README file for more details.
  608.     - the library contains RCS variables which allows you to get revision
  609.     numbers with ident (which is part of the RCS package). The Id number
  610.     is an internal rcs number for my eyes only. The official one is found
  611.     in Version.
  612.  
  613.     BUGS CORRECTED:
  614.     - the memory management has been much improved in order to avoid
  615.     memory leaks.
  616.     - the XImage building algorythm has been changed to support correctly
  617.     different visual depths. There is special code to handle depths 1, 4,
  618.     6, 8, 24, and 32 to build the image and send it in one whack, and
  619.     other depths are supported by building the image with XPutPixel which
  620.     is slow but sure.
  621.     - similar algorithms are used to read pixmaps and write them out.
  622.  
  623.     CHANGES TO THE DOC:
  624.     - the documentation presents the new XPM format.
  625.  
  626.  
  627. 2.8        (90/12/19)
  628.  
  629.     ******************************* WARNING *********************************
  630.         Since the last release two structures have been modified and have now
  631.     bigger sizes, so ANY CODE USING THE libXPM2 NEEDS TO BE RECOMPILED.
  632.     *************************************************************************
  633.  
  634.     NEW FEATURES:
  635.     - the ColorSymbol struct contains the new member 'pixel' which allow
  636.     to override default colors by giving a pixel value (in such a case
  637.     symbol value must be set to NULL),
  638.     - the XpmInfo struct contains the new member 'rgb_fname' in which one
  639.     can specify an rgb text file name while writing a pixmap with the 
  640.     XWritePixmapFile function (otherwise this member should be set to
  641.     NULL). This way colorname will be searched and written out if found
  642.     instead of the RGB value,
  643.     - Imakefile originally provided by stolcke@ICSI.Berkeley.EDU,
  644.     - the old Makefile is now distributed as Makefile.noXtree and presents
  645.     install targets,
  646.     - the demo application is renamed sxpm (Show XPM), creates a window of
  647.     the size of the pixmap if no geometry is specified, prints out
  648.     messages instead of status when an error occurs, handles the new
  649.     option -p for overriding colors by giving a pixel value (not really
  650.     useful but is just here to show this new feature), handles the new
  651.     option -rgb for specifying an rgb text file, and ends on
  652.     keypress as buttonpress,
  653.     - defines for SYSV have been provided by Paul Breslaw
  654.     <paul@mecazh.uucp>,
  655.     - the distribution includes a new directory called converters which
  656.     contains xpm1to2 and xpm1to2c perl converters and a ppmtoxpm2
  657.     converter provided by Paul Breslaw who upgraded the original ppmtoxpm
  658.     written by Mark W. Snitily <mark@zok.uucp>.
  659.  
  660.     CHANGES TO THE DOC:
  661.     - this file is created and will give old users a quick reference to
  662.     changes made from one release to the next one,
  663.     - documentation is changed to present the new ColorSymbol structure
  664.     and the way to override colors by giving a pixel value, and to present
  665.     the new XpmInfo structure and how to use it,
  666.     - a man page for sxpm is added to the distrib,
  667.     - the README file talks about sxpm and no more demo, and have
  668.     reference to the different converters.
  669.  
  670. 2.7        (90/11/12)
  671.  
  672.     NEW FEATURES:
  673.     - XReadPixmapFile reads from stdin if filename is NULL,
  674.     - XWritePixmapFile writes to stdin if filename is NULL,
  675.     - the demo application handles the new option -nod for no displaying
  676.     the pixmap in a window (useful when used as converter).
  677.  
  678.     CHANGES TO THE DOC:
  679.     - documentation about the new feature.
  680.  
  681. 2.6        (90/10/29)
  682.  
  683.     NEW FEATURES:
  684.     - from nazgul@alphalpha.com (Kee Hinckley): changes to make the
  685.     library usable as C++ code, and on Apollo without any warning.
  686.  
  687.     BUGS CORRECTED:
  688.     - from nazgul@alphalpha.com (Kee Hinckley): the xpm include files was
  689.     declaring XWritePixmapFile as taking in arg a Pixmap pointer instead
  690.     of a Pixmap.
  691.  
  692. 2.5        (90/10/17)
  693.  
  694.     BUGS CORRECTED:
  695.     - XWritePixmapFile was not closing the file while ending normaly.
  696.  
  697. 2.4        (90/09/06)
  698.  
  699.     NEW FEATURES:
  700.     - XReadPixmapFile reads from a piped uncompress if the given filename
  701.     ends by .Z or if filename.Z exists,
  702.     - XWritePixmapFile writes to a piped compress if the given filename
  703.     ends by .Z.
  704.  
  705.     BUGS CORRECTED:
  706.     - demo now deals with window manager.
  707.  
  708.     CHANGES TO THE DOC:
  709.     - documentation about compressed files management.
  710.  
  711. 2.3        (90/08/30)
  712.  
  713.     BUGS CORRECTED:
  714.     - handle monochrom display correctly,
  715.     - comments can be empty.
  716.  
  717. 2.2        (90/08/27)
  718.  
  719.     BUGS CORRECTED:
  720.     - when reading some invalid free was dumping core on some machine.
  721.  
  722. 2.1        (90/08/24)
  723.  
  724.     First distribution of XPM2.
  725.  
  726.