2005-08-25  Johannes Zellner  <johannes@zellner.org>

	* Makefile.am VERSION cmdln.c misc.c read.c zimg.1.in zimg.c zimg_priv.h:
	-M (matrix) switch. Centered the bicubic spline smoothing when scaling
	the image by the -S switch.

2005-07-07  Johannes Zellner  <johannes@zellner.org>

	* zimg.c: repaired reading of png images (as source data)

2004-10-29  Johannes Zellner  <johannes@zellner.org>

	* path.c: search_file searches only for non-directories

2004-10-27  Johannes Zellner  <johannes@zellner.org>

	* various files: enable gif AND png for newest libgd versions.
	VERSION == 4.23.0

2004-02-13  Johannes Zellner  <johannes@zellner.org>

	* CONFIG.DJ2: VERSION == 4.22.0

2003-12-02  Petr Mikulik  <mikulik@physics.muni.cz>

	* VERSION: 4.22.0

2003-11-30  Petr Mikulik  <mikulik@physics.muni.cz>

	* misc.c zimg.c zimg.1.in: Let "-o-" mean stdout. Add examples into
	zimg.1 documentation how to make movies from a sequence of edf files,
	and some proofreading corrections.

2003-11-30  Petr Mikulik  <mikulik@physics.muni.cz>

	* zimg_priv.h cmdln.c misc.c zimg.c zimg.1.in: New output image
	formats ppm and pgm with corresponding command line options -P,
	--ppm and --pgm.

2003-11-30  Petr Mikulik  <mikulik@physics.muni.cz>

	* zimg.1.in: In the --colormap section, written reference to gnuplot
	commands "[set|show|test] palette".
 
2003-11-30  Petr Mikulik  <mikulik@physics.muni.cz>

	* cmdln.c (readcmdln): Fixed wrong argument order for "int" in
	struct option long_options[].

2003-11-30  Petr Mikulik  <mikulik@physics.muni.cz>
 
	* misc.c (help): Added documentation for the --jpeg quality option as
	printed by "zimg --help".

2003-07-09  Johannes Zellner  <johannes@zellner.org>

	* VERSION: 4.21.0
	* zimg.c configure.in: configurable X_VIEWER

2003-07-02  Johannes Zellner  <johannes@zellner.org>

	* VERSION: 4.20.0

	* zimg.c zimg_priv.h zimg.1.in: read all rcfiles which can be found.
	Additionally to .zimgrc, zimgrc in the current working directory will
	be read. Apply 'options' switches for ALL matches (don't break after
	the first match).

	* all files: changes copyright year from 2002 to 2003

2003-05-14  Petr Mikulik  <mikulik@physics.muni.cz>

	* misc.c zimg.1.in: Fixed typo in the help for --smooth (its parameter
	is called `threshold' and not `sigma').

2003-04-11  Petr Mikulik  <mikulik@physics.muni.cz>

	* configure.in: Fixed typos.

2003-03-01  Petr Mikulik  <mikulik@physics.muni.cz>

	* zimg_priv.h: Added missing HAVE_SYS_TIMES_H.
	* getcolor.c: Define M_PI if not defined in math.h neither float.h.

2003-03-01  Petr Mikulik  <mikulik@physics.muni.cz>

	* VERSION zimg_priv.h cmdln.c misc.c zimg.c zimg.1.in: New option
	'-z' = '--crange'.

2002-10-29  Johannes Zellner  <johannes@zellner.org>

	* Makefile.am: added VERSION to EXTRA_DIST

2002-10-15  Johannes Zellner  <johannes@zellner.org>

	* cmdln.c: set *ifiles = 0, if no input files are given

2002-10-09  Johannes Zellner  <johannes@zellner.org>

	* zimg.c cmdln.c misc.c VERSION zimg_priv.h zimg.1.in:
	- better automatic NDA calculation: examine whole border
	- -N switch accepts @<threshold> for a threshold number.
	  This percentage of a automatically determined NDA value
	  must be reached at least for the automatic NDA determination
	  to be valid.
	- made "white" the default NDA color (was black).
	- --verbose list options from rc file and command line options.

2002-09-27  Johannes Zellner  <johannes@zellner.org>

	* color.c: inverted the default map, so that it has red vor high
	values

2002-09-26  Johannes Zellner  <johannes@zellner.org>

	* zimg.c: 2 bug fixes:
	1. 'entries' was wrong when reading a colormap file
	    with less than 240 entries
	2. use floor() instead of rint() for drawing the colorbox

2002-09-07  Johannes Zellner  <johannes@zellner.org>

	* VERSION: added

2002-09-05  Johannes Zellner  <johannes@zellner.org>

	* configure.in: removed a double AC_PREREQ

2002-09-04  Johannes Zellner  <johannes@zellner.org>

	* zimg_priv.h misc.c configure.in Makefile.am version.h.in VERSION:
	changed verson update method

2002-09-04  Johannes Zellner  <johannes@zellner.org>

	* zimg.c: popen "w" instead of "wb" because the latter failed on linux

2002-09-03  Johannes Zellner  <johannes@zellner.org>

	* zimg.c zimg.1.in: launch viewer, if output goes to a terminal

2002-08-26  Johannes Zellner  <johannes@zellner.org>

	* cmdln.c zimg.1.in: --cbox-fmt / --cbox-label turn on the --cbox
	switch implicitely

2002-08-26  Johannes Zellner  <johannes@zellner.org>

	* zimg.c: removed a small compiler warning by initializing x1, y1

2002-08-26  Johannes Zellner  <johannes@zellner.org>

	* cmdln.c misc.c zimg.1.in: renamed -b -> -n, -n -> -N
	* cmdln.c misc.c zimg.1.in zimg.c: --cbox / --cbox-fmt --cbox-label
	switches

2002-08-25  Johannes Zellner  <johannes@zellner.org>

	* zimg.c zimg_priv.h cmdln.c misc.c zimg.1.in: removed the --xscale /
	--yscale switches and introduced the more general --line and --rline
	switches.

2002-08-24  Johannes Zellner  <johannes@zellner.org>

	* zimg.c zimg.1.in: automatic legend placement (right or bottom), depending on
	the 'smallest ratio'
	* zimg.c zimg_priv.h cmdln.c misc.c zimg.1.in: removed the switches
	--top-left --top-right --bottom-left --bottom-right --xlabel --ylabel
	--timestamp and introduced general labels --label and --vlabel.
	Removed the --left-align switch.

2002-08-23  Johannes Zellner  <johannes@zellner.org>

	* zimg.c: finished the -M switch (first working version)

2002-08-22  Johannes Zellner  <johannes@zellner.org>

	* zimg.c: reparse switches only for subsequent files (file number > 0)
	* zimg.c cmdln.c zimg.1.in misc.c zimg_priv.h: -M / --colorbox switch

2002-08-22  Johannes Zellner  <johannes@zellner.org>

	* zimg.c cmdln.c zimg_priv.h zimg1.in misc.c:
	switch -C with optional argument omitted acts as 'autocrop'
	* zimg.c: moved z.legend bacground coloring independent of z.align
	* zimg.c: fixed --top-left / --top-right / --bottom-left /
	--bottom-right to the padded version (e.g. if --legend increases the
	image region)

2002-08-21  Johannes Zellner  <johannes@zellner.org>

	* zimg.c cmdln.c zimg_priv.h: removed again z.data.fixed_len and now
	reinitialize the z data structure for every input file.

2002-08-21  Johannes Zellner  <johannes@zellner.org>

	* zimg.c cmdln.c zimg_priv.h: z.data.fixed_len variable, which is set,
	if the -r switch was used.

2002-08-20  Johannes Zellner  <johannes@zellner.org>

	* zimg.c: SEGFAULT: UPDATE_FREQUENCY used flags, even if flags==0

2002-08-20  Johannes Zellner  <johannes@zellner.org>

	* misc.c: corrected help text for --options

2002-08-20  Johannes Zellner  <johannes@zellner.org>

	* zimg.c: small bug (a semicolon) while calculating the image height,
	when --legend is used.

2002-08-19  Johannes Zellner  <johannes@zellner.org>

	* zimg.c: fixed SEGFAULT when no labels were used (font struct was
	zero)

2002-08-19  Johannes Zellner  <johannes@zellner.org>

	* zimg.c: bug fix in determination of the bordercolor
	use nda_color, if all border pixels are invalid (nda)
	* zimg.c: bug fix in selecting the bordercolor /
	legend background color

2002-08-19  Johannes Zellner  <johannes@zellner.org>

	* misc.c: typo in the help text
	* zimg.c: filling the background with gdImageFilledRectangle()
	* misc.c cmdln.c zimg.c zimg_priv.h: --legend switch

2002-08-15  Johannes Zellner  <johannes@zellner.org>

	* zimg.h zimg.c dynaload.c dynaload.h: changed the prototype
	for zimg_expression_t to pass also (float)dx and (float)dy.
	- verbose dumps file name.

2002-08-15  Johannes Zellner  <johannes@zellner.org>

	* cmdln.c zimg.1.in: allow any character in --options where the first
	character given in the --options argument is the separator character.

2002-08-15  Johannes Zellner  <johannes@zellner.org>

	* zimg.c: if multiple input files are given and no output name (i.e.
	output directory is given) append to each input file the extension
	".gif" / ".jpg" / ".png" and use the resulting name as output file.

2002-07-02  Johannes Zellner  <johannes@zellner.org>

	* misc.c: added a space for the version output

2002-07-02  Johannes Zellner  <johannes@zellner.org>

	* zimg.c: improved the scaling at the border

2002-07-02  Johannes Zellner  <johannes@zellner.org>

	* zimg.c: repaired the borked nda functionality (flags_ptr++)

2002-07-02  Johannes Zellner  <johannes@zellner.org>

	* zimg.c: repaired the borked align switch

2002-07-02  Johannes Zellner  <johannes@zellner.org>

	* zimg.1.in misc.c: updated for the new binning /
	scaling ('B' / 'S') syntax
	* misc.c: -K --> -k (for skip)
	* cmdln.c: made the CMDLN values enums (instead of defines)
	* zimg_priv.h:  zimg_options_t
	* configure.in: increased version number to 4.9.0
	* zimg.1.in misc.c: updated for the new switch --options
	* zimg.c misc.c zimg_priv.h: varopen takes input filter
	* statistics.c zimg_priv.h: repaired for flagged (nda) values
	* zimg.c: repaired the COLOR_TO_PIXEL() macro
	* color.c: repaired the borked pixel 144 in the default color map
	* misc.c zimg.1.in cmdln.c TODO: disabled the -B / --bin switch

2002-05-26  Johannes Zellner  <johannes@zellner.org>

	* cmdln.c: renamed --block --> --column
	* cmdln.c: separated -S (scale) from -B (bin) option, made -S
	accepting a double argument
	* zimg_priv.h: separate data "source" struct zimg_data_t
	* zimg.c: rewrote the -S / -B relevant part (binning / scaling)

2002-05-20  Johannes Zellner  <johannes@zellner.org>

	* misc.c: removed unused function zwho
	* misc.c: help prints now to stdout (instead of stderr) and has
	zero-exit code
	* cmdln.c, zimg_priv.h, zimg.c, color.c, misc.c, zimg.1.in: xor with
	selectable "LINE COLOR"
	* configure.in: configurable dynaload compile / cflags
	* dynaload.c: removed a const
	* aux: removed

4.7.8:
	* search colormap file in ~/.zimg/cmap and PKGDATADIR/cmap/
	* search expr object files also in PKGLIBDIR/expr/

4.7.7:
	* changed the search path for expr objects to ~/.zimg/expr

4.7.6:
	* small changes for copyright (year numbers)

4.7.5:
	* choosing textcolor automatically changed to black / white

4.7.4:
	* -r with only width specified --> height = width
	* zimg.c:fact (color range) improved
	* zimg.1.in: updated ("/dev/zero" example)

4.7.3:
	* added ifdefs for compiling w/o dynaloader support
	* minmax ignores masked (nda) values

4.7.2:
	* line colors
	* improved dynaloading (cwd, ~/.zimg)

4.7.1:
	* installing zimg.h
	* dynaloading improved. (switches --epxr-source / --expr-object)

4.7.0:
	* dynaloadable objects for expression filtering

4.6.4:
	* configure.in verndert (gd includes path)

4.6.3:
	* no-data automatically (if no value is specified)

4.6.2:
	* contour fg color

4.6.1:
	* configuration improved

4.6.0:
	* specification no-data (nda) values.

4.5.6:
	* modeline colon ":" bug
	* getopt support in separate directory as convenience library
	which is conditionally built, if the OS doesn't provide
	getopt_long

4.5.5:
	* small bug in zimg.1.in

4.5.4:
	* minor modifications to avoid compiler warnings

4.5.3:
	* -M switch
	* zimg.1.in: spell checking

4.5.2:
	* if the source is png, allow also recoloring.
	(TODO: invert does not work yet).

4.5.1:
	* added the python script zimgcmap

4.5.0:
	* handle png as /source/ files.

4.4.6:
	* made the textcolor and bordercolor a real
	color (hex number) instead of a color index.

4.4.5:
	* misc.c:parse(): corrected a small bug for 
	parsing modelines with quotes correctly.

4.4.4:
	* new switch --textcolor

4.4.3:
	* just a name change from label_t to zimg_label_t to
	prevent name clashes with hpux's types.h as reported
	by "M. Lavasani" <lavasani@connect.org.uk> (22. Dec. 2000)
	* zimg.c: removed an #ifdef __hpux which is not needed
	any more.

4.4.2:
    * scale / label: new switches:
    --xscale / --yscale / --xlabel / --ylabel
    * --font switch

4.4.1:
    * AUTHORS,zimg.1.in: updated
    * Makefile.am: dist-hook for config.os2,CONFIG.DJ2

4.4.0:
    * added MAKEFILE.DJ2 and CONFIG.DJ2 as provided by
    Levente NOVAK <novak@jaguar.dote.hu>

4.3.0:
    * getcolor.c, zimg.1.in: three new colormap formulaes 34 - 36
    as suggested by Levente NOVAK <novak@jaguar.dote.hu>

4.2.4:
    * changed varopen and the call to varopen to use either
    "r" or "rb" depending on the input file beeing ascii
    or binary.
    * repaired broken autoscaling from 4.2.3

4.2.3:
    * slightly better error messages.

4.2.2:
    * some preprocessor corrections to make it compile again w/o jpeg.
    * cosmetic changes of the help (--help) text.

4.2.1:
    * some preprocessor corrections to make it compile again w/o jpeg.

4.2.0:
    * jpeg support (only for gd version > 1.8)

4.1.1:
     * complex-double with /optional/ argument: If no argument is
     given, abs is assumed.
     * some cosmetic changes concerning the error messages.

4.1.0:
     * switch --align
     * removed ppm support finally
     * renamed the short option for fabs from 'A' to 'a'
     so that 'A' can be used for --align
     * prepared (but not finished yet) for another
     option -E, --extend
     * made the color specification for contour/bg and
     the align/pad border to be from 0 - 100 as a relative
     data value.

4.0.1:
     * switches --abs and --rel:
     one of the two arguments can be ommitted.

4.0.0:
     * made some `transform' switches position dependent
     * curvature switch

3.7.0:
     abs switch

3.6.0:
     introduced the complex-float and complex-double switches.

3.5.2:
     repaired the --help switch

3.5.1:
     changed optind = 0; (was 1) to reset correctly.

3.5.0:
     repaired the modeline parsing

3.4.0:
     repaired timestamp when reading from stdin

3.3.0:
     new options:
	 --top-left
	 --top-right
	 --bottom-left
	 --bottom-right
	 --left-align

3.2.1:
     made -t (timestamp) working with -I (invert)

3.2.0:
     repaired the -b (block) option

3.1.0:
     multiple input files, including output filename generation.
     Not tested!

3.0.1:
     small fix in misc.c:varopen(), move FILE* fp outside
     the definition `#ifdef HAVE_POPEN'

3.0.0:
     switched to a BSD type license.
     modified the version string.

2.5.3:
     improved modeline checking

2.5.2:
     added a setmode(fileno(stdout), O_BINARY) for non-unix's.

2.5.1:
     multiview for input files.

2.5.0:
     ehf support as proposed by Petr Mikulik.

2.4.6:
     fixed a segfault when binning for odd dimensioned data.

2.4.5:
     included the patchlevel in the man page.

2.4.4:
     - introduced the switch --interlace as proposed by Petr Mikulik.
       made non-interlaced the default. This shouldn't hurt, as it was
       never documented if zimg writes interlaced or non-interlaced
       images.
     - added a prototype zimg.h:log1p(), if it isn't defined in math.h
     - added some ifdefs to misc.c to distinguish between the gif
       and the png version

2.4.3:
     - introduced the switches --big-endian and --little-endian
       as proposed by Petr Mikulik.

2.4.2:
     - cleaned zimg.1.in
     - included zimg.1 and zimg.1.html to the dist

2.4.1:
     changes to make it work on os2.
     Thanks to Petr Mikulik <mikulik@physics.muni.cz>.
     - included Makefile.os2 config.os2 and version.h to the dist
     - eventually include <float.h> in getcolor.c

2.4.0:
     improved option parsing. Most options can be turned off
     by specifying the switch twice or can be overridden by
     other switches now.

2.3.8:
     time (ztime()) in RFC822-conformant format.

2.3.7:
     changed FLOAT_FORMAT to DOUBLE_FORMAT in cmdln.for edf:c

2.3.6:
     for edf:
     allowing modelines in the edf header.

2.3.5:
     for edf:
     corrected further some formats.

2.3.4:
     for edf:
     Float --> FloatValue
     Double --> DoubleValue

2.3.3:
    'L' in misc.c.

2.3.2:
    change in configure.in in the test for `gdImageGif'.

2.3.1:
    small change in Makefile.am (INCLUDES = gd_includes)

2.3.0:
    release

2.2.3:
    introduced modelines.
    improved the parse() routine to parse correctly quoted strings.

2.2.2:
    fixed a bug in color.c which led to a segfault.

2.2.1:
    adding white-spaces between lines of .zimgrc.
