1997-02-12  Franois Pinard  <pinard@iro.umontreal.ca>

	* configure.in: Derive src/cbars from src/cbars.in.
	* src/cbars.in: New name for cbars.sh, adjusted for exec_prefix.

	* src/wdiff.c (usage): Do not capitalise the word copyright.
	Reported by Karl Berry.

	* configure.in: Derive tests/preset from tests/preset.in.
	Check how to use echo with newlines suppressed.
	* acinclude.m4: Add definition for fp_PROG_ECHO.

	* configure.in: Cleanup tputs detection.  Do not just consider we
	need -ltermlib on Xenix and -ltermcap everywhere else.  Instead,
	check for LIB.h only if tputs if found in -lLIB, for LIB in
	termcap, termlib, curses and ncurses.
	* src/wdiff.c: Adjust for inclusion of proper LIB.h above.
	* acconfig.h: Add documentation for HAVE_TPUTS.

1997-02-11  Franois Pinard  <pinard@iro.umontreal.ca>

	* configure.in: Adjusted for Automake, and latest PO files.
	* Makefile.am, lib/Makefile.am, src/Makefile.am: New files.
	* acinclude.m4: New file, assembled from Jim's collection.
	* acconfig.h: Adjusted for gettext.

	* src/unify.c: More clean up.  Add long options and usage help.

	* src/mdiff.c: New file.

1997-01-09  Franois Pinard  <pinard@iro.umontreal.ca>

	* src/wdiff.c (main): Avoid closing input_file twice.
	Reported by H.J. Lu and Ulrich Drepper.

1996-09-06  Franois Pinard  <pinard@iro.umontreal.ca>

	* configure.in (ALL_LINGUAS): Add nl, pl.  Replace cz by cs.

1995-12-30  Franois Pinard  <pinard@iro.umontreal.ca>

	* src/system.h, src/wdiff.c: Replace __P by PARAMS, to respect ANSI C.

1995-12-20  Franois Pinard  <pinard@iro.umontreal.ca>

	* src/wdiff.c (launch_input_program): Use -i, not -c, for asking
	diff to ignore case.
	Reported by Aaron Ucko.

1995-06-22  Franois Pinard  <pinard@iro.umontreal.ca>

	* configure.in: Use AC_TYPE_SIZE_T.
	* system.h: Use <sys/types.h>, so unify can take advantage of it.
	* wdiff.c: Delete <sys/types.h>.
	Reported by Joseph E. Sacco and Joshua R. Poulson.

1995-05-02  Franois Pinard  <pinard@iro.umontreal.ca>

	* unify.c (generate_output, main): Use comma operator when
	assignment in test.

1995-03-26  Franois Pinard  <pinard@iro.umontreal.ca>

	* configure.in: Define SCRIPTS separately from PROGRAMS.  Use
	fp_PROG_INSTALL instead of AC_PROG_INSTALL.
	* Makefile.in: Adjusted accordingly.

1995-03-19  Franois Pinard  <pinard@iro.umontreal.ca>

	* configure.in: Remove GLOCALE, add LINGUAS, use fp_WITH_CATALOGS.
	* Makefile.in: Modify accordingly.
	* acconfig.h: Add description for WITH_CATALOGS.
	* system.h: Use WITH_CATALOGS to define _() differently.

1995-02-24  Franois Pinard  <pinard@iro.umontreal.ca>

	* configure.in: Put gdiff test in parentheses, because Bourne
	shell otherwise complains about an inexisting program.
	Reported by Kaveh R. Ghazi.

1995-02-21  Franois Pinard  <pinard@iro.umontreal.ca>

	* configure.in, Makefile.in: Replace `date' by `echo timestamp'.
	Reported by Greg McGary and Jim Meyering.

1995-02-19  Franois Pinard  <pinard@iro.umontreal.ca>

	* Makefile.in: Support an ID file.  Do not distribute TAGS.
	Reported by Greg McGary.

1995-02-05  Franois Pinard  <pinard@iro.umontreal.ca>

	* Makefile.in (maintainer-clean): New name for realclean.

1994-12-03  Franois Pinard  <pinard@iro.umontreal.ca>

	* Makefile.in: Do not unprotoize libintl.c, now done in sources.

	* Makefile.in (clean): Delete unify.

	* wdiff.c: Use EXIT_SUCCESS whenever possible.

	* wdiff.c (print_copyright): Use stdout, not stderr.  Use fputs
	instead of printf.

1994-12-01  Franois Pinard  <pinard@iro.umontreal.ca>

	* configure.in, Makefile.in, acconfig.h, wdiff.c: Rename PRODUCT
	to PACKAGE.

	* configure.in, Makefile.in, system.h, wdiff.c: Ajust localization
	mechanics as per sharutils'.
	* xstrdup.c: New, from elsewhere.
	* Makefile.in: Adjusted.

1994-11-28  Franois Pinard  <pinard@iro.umontreal.ca>

	* unify.c: New file (once known as diffcvt).
	* system.h: New.
	* wdiff.c: Move some declarations to system.h, include it.
	* configure.in: Add unify to PROGRAMS.
	* Makefile.in: Adjust according to preceeding changes.
	Reported by Wayne Davison.

1994-11-26  Franois Pinard  <pinard@iro.umontreal.ca>

	* configure.in: Check for <libintl.h> and <locale.h>.
	* wdiff.c: Rename _ to __P.  Declare _ as a macro returning its
	argument, or else, include <libintl.h> and declare _ as gettext.
	Possibly include <locale.h> and call setlocale.  Use _ macro over
	all localizable strings.

1994-11-19  Franois Pinard  <pinard@iro.umontreal.ca>

	* wdiff.c (main): Explicitly diagnose missing file arguments.
	Reported by Karl Berry.

1994-11-11  Franois Pinard  <pinard@iro.umontreal.ca>

	* configure.in: Check libraries before functions, else there is
	little chance that tputs will ever be found in -ltermcap.
	Reported by Andreas Schwab.

1994-11-07  Franois Pinard  <pinard@iro.umontreal.ca>

	* Makefile.in (stamp-vti): Use new date -r option.

	* wdiff.c: Add recognition for --auto-pager, --avoid-wraps
	and --less-mode, which were forgotten in longopts.  Also repair
	--version and -V, by replacing 'v' by 'V' in the option switch.
	Reported by Andreas Schwab, Jim Meyering, Kawakami Akira, Piet van
	Oostrum and Tony Leneis.

1994-11-05  Franois Pinard  <pinard@iro.umontreal.ca>

	* Version 0.5.

	* wdiff.c (putc_for_tputs): Compile only if HAVE_TPUTS.
	(initialize_strings): Declare locals only when HAVE_TPUTS.
	Reported by Joseph E. Sacco.

	* Makefile.in (realclean): Also remove stamp-vti.

	* Makefile.in: Force readpipe.c and writepipe.c through ansi2knr
	for non-ANSI compilers.
	readpipe.c, writepipe.c: Use <stdarg.h> when ANSI, instead of only
	<varargs.h>.  This ANSIfies those modules.

1994-11-02  Franois Pinard  <pinard@iro.umontreal.ca>

	* wdiff.c: Have --ignore-case correspond to -i instead of -c.
	Reported by Roland McGrath.

	* configure.in: Check for const only after having found possible
	ANSIfying compiler flags, this is of no use to check it before.

1994-11-01  Franois Pinard  <pinard@iro.umontreal.ca>

	* Makefile.in: Clean up, following the one in GNU sharutils.  I
	will not detail all the changes here.
	* configure.in: Likewise.
	* wdiff.c: Use PRODUCT and VERSION instead of version.
	* acconfig.h: New file.
	* wdiff.h: Interface with dmalloc if WITH_DMALLOC.

1994-07-08  Franois Pinard  <pinard@iro.umontreal.ca>

	* ansi2knr.1: New file, from elsewhere.
	* Makefile.in (DISTFILES): Distribute it.

1994-04-13  Franois Pinard  <pinard@iro.umontreal.ca>

	* Makefile.in (Makefile, etc.): Adapt for Autoconf 1.8.

1994-03-22  Franois Pinard  <pinard@iro.umontreal.ca>

	* configure.in: Use AC_PROGRAMS_PATH instead of AC_PROGRAMS_CHECK,
	while defining DIFF and PAGER.  Add diff to the programs tested,
	so its full path is saved.  Avoiding SGI gdiff, define DIFF to
	non-pathed diff, instead of empty.

1993-12-26  Franois Pinard  <pinard@iro.umontreal.ca>

	* wdiff.c (usage): Renamed from usage_and_exit.  Accept the exit
	status as parameter.  If error, only suggest --help on stderr.  If
	no error, provide full help on stdout rather than on stderr.
	Adjust callers.

	(main): Rename -V back into -v.
	For -v, write version on stdout rather than on stderr.
	For -C and -v, exit with status 0 instead of 2.

1993-12-24  Franois Pinard  <pinard@iro.umontreal.ca>

	* Makefile.in: General cleanup.  Add libwd.a, LIBHDRS, LIBSRCS,
	LIBOBJS, AR, RANLIB.  Handle .stamp-h.in, -I$(srcdir) with
	$(MAKEINFO), mkinstalldirs, install.sh, FAQ and HINTS.
	* configure.in: Check for ranlib.
	* mkinstalldirs, install.sh: New, from elsewhere.

	* FAQ, HINTS: New files, for alleviating README a little.

1993-06-09  Franois Pinard  <pinard@iro.umontreal.ca>

	* Makefile.in (dist): Replace "echo `pwd`" by a mere "pwd".
	Create a gzip file.

1993-02-27  Franois Pinard  <pinard@iro.umontreal.ca>

	* configure.in: Use AC_HAVE_LIBRARY for -lmalloc, instead of
	explicit code.

1993-02-06  Franois Pinard  <pinard@iro.umontreal.ca>

	* Makefile.in: In dist goal, ensure 777 mode for directories, so
	older tar's will restore file modes properly.

1993-01-31  Franois Pinard  <pinard@iro.umontreal.ca>

	* wdiff.c (usage_and_exit, main): Rename -v into -V.
	Avoid double parenthese in `while ((option_char ...'.
	Add const to argv specification.

1993-01-17  Franois Pinard  <pinard@iro.umontreal.ca>

	* Makefile.in: Put $(CFLAGS) after $(CPPFLAGS), so the installer
	can override automatically configured choices.
	Reported by Karl Berry.

1993-01-07  Franois Pinard  <pinard@iro.umontreal.ca>

	* Makefile.in: Replace -DHAVE_CONFIG_H back to $(DEFS), since
	Autoconf now handles this appropriately.

1993-01-05  Franois Pinard  <pinard@iro.umontreal.ca>

	* wdiff.c: Make almost all functions `static'.
	Reported by Jim Meyering.

1993-01-01  Franois Pinard  <pinard@iro.umontreal.ca>

	* Makefile.in: Reinstate $(CPPFLAGS), use it.  Richard wants it
	there.

	* Makefile.in: Using autoheader, derive config.h.in from
	configure.in.  Distribute config.h.in.
	Use config.status for reconstructing config.h from config.h.in.
	Have all $(OBJECTS) depend upon config.h.
	Replace $(DEFS) by -DHAVE_CONFIG_H everywhere.
	Always use -I. calling the C compiler, for config.h to be found.
	Remove config.h in distclean.
	* configure.in: Create config.h from config.h.in.
	* ansi2knr.c, error.c, readpipe.c, wdiff.c, writepipe.c,
	xmalloc.c: Conditionnaly include config.h.

1992-12-30  Franois Pinard  <pinard@iro.umontreal.ca>

	* configure.in: Force xmalloc.o in whenever alloca.o is needed.
	* xmalloc.c: New (once again), from elsewhere.
	* Makefile.in: Distribute xmalloc.c.  Define ALLOCA=@ALLOCA@.
	Reported by Nelson H.F. Beebe.

	* wdiff.c (split_file_into_words): Check and diagnose if the given
	path is a directory.
	Reported by Paul Eggert.

	* wdiff.c (main): Always refuse -t if not HAVE_TPUTS.

	* wdiff.c (split_file_into_words): Interpret "-" as meaning
	standard input, for any or both input files.  Take a temporary
	copy in this case.  Instead of closing file, flush it.
	(reformat_diff_output): Instead of opening files, rewind them.
	Reported by Ze'ev "Steed" Shtadler (Israel).

	*wdiff.c (main): Allow "" and "-" for representing standard input,
	but consistently store NULL as file name in these cases.  Disallow
	having standard input twice.

	* wdiff.c: Use error() instead of perror(), everywhere.  Include
	<errno.h> and declare errno if not defined.
	* configure.in: Use AC_VPRINTF, check for strerror().

	* wdiff.c: Implement -c for ignore_case.  I should have delayed
	this until the integration of wdiff into diff, but I personnaly
	needed it right now! :-)

	* wdiff.c (launch_output_program): Restrict the search for "less"
	to the basename of the program.
	Define strrchr to rindex when including <strings.h>.
	Reported by Paul Eggert.

	* wdiff.c: (main): Exit program before producing statistics
	whenever the program is interrupted.
	Rename `jump_trigger' to `interrupted' everywhere.
	Reported by Paul Eggert.

1992-12-29  Karl Berry  <karl@cs.umb.edu>

	* wdiff.c: Include <sys/types.h> before <signal.h>.

1992-12-23  Franois Pinard  <pinard@iro.umontreal.ca>

	* Version 0.04.

	* wdiff.c (split_file_into_words): Call tmpnam just before opening
	the file.  On the Next, successive calls to tmpnam will return
	different values only if the file is opened in between.
	(main): Allocate temp_name statically, and initialize it to "".
	On certain systems, tmpnam(NULL) causes a segmentation violation.
	Length will be L_tmpman or else, PATH_MAX from pathmax.h.  Check
	temp_name before unlinking, in case of an intervening signal.
	* pathmax.h: New, from elsewhere.
	* Makefile.in: Distribute pathmax.h, adjust dependencies.
	* xstrdup.c, xmalloc.c: Deleted, not needed anymore.
	Reported by Thorsten Ohl.

	* Makefile.in: Some cleanup before the release.
	* (dvi, wdiff.dvi): New goals.
	* (_wdiff.o): Use -I$(srcdir).

	* wdiff.c: Added two missing `break;'.
	Reported by Thorsten Ohl.

1992-12-22  Franois Pinard  <pinard@iro.umontreal.ca>

	* Makefile.in: Remove $(CPPDEFS) from the implicit rules.

1992-12-21  Franois Pinard  <pinard@iro.umontreal.ca>

	* Makefile.in: Distribute the THANKS file.

	Makefile.in: Do not distribute collate.el, which lacks the
	required Copyright assignment to the FSF.

1992-12-09  Franois Pinard  <pinard@iro.umontreal.ca>

	* configure.in, wdiff.c: Replace USG by HAVE_STRING_H.
	Reported by David Zuhn.

	* Makefile.in (configure): Go to $(srcdir) before autoconf.
	Reported by David Zuhn.

1992-12-05  Franois Pinard  <pinard@iro.umontreal.ca>

	* wdiff.c: Initialize the version[] string.
	* version.c: Deleted.
	* Makefile.in: Adjusted.

	* readpipe.c: Beware that file descriptor 1 might not be opened.
	writepipe.c: Beware that file descriptor 0 might not be opened.
	Reported by Paul Eggert.

	* Makefile.in: Define MAKEINFO as makeinfo, use it.
	Reported by David Zuhn.

	* Makefile.in (realclean): Remove wdiff.info.
	Reported by Karl Berry.

	Makefile.in (realclean): Remove configure.

	* configure.in: Use AC_ISC_POSIX for defining -posix if necessary.
	Reported by Karl Berry.

1992-11-28  Franois Pinard  <pinard@iro.umontreal.ca>

	* Makefile.in (clean, distclean): Remove clutter for ansi2knr.
	Reported by Pierre Gaumond.

	* Makefile.in (texclean): New.

1992-11-23  Franois Pinard  <pinard@iro.umontreal.ca>

	* Makefile.in (dist): Get .fname from the current directory name,
	instead of from version.c.  I need updating many files manually,
	when the version changes, version.c is just one of them.

	* cbars.sh: New.  By default, cbars is not part of PROGS.
	* Makefile.in: Prepare, install, and distribute it.

1992-11-22  Franois Pinard  <pinard@iro.umontreal.ca>

	* wdiff.c (usage_and_exit): Use OLD_FILE and NEW_FILE in usage
	message, instead of FILE_1 and FILE_2.
	Reported by Per Cederqvist.

	* Never launch pager by default.  So, I'm adding option -a.
	Reported by Richard Stallman.

	* wdiff.c: New -a option and autopager variable.
	(main): Initialize and decode it.
	(usage_and_exit): Announce it.
	(launch_output_program): Implement it.

	* wdiff.c: New -l option.
	Rename pager_is_less to overstrike_for_less.
	(main): Initialized and decode it.
	(usage_and_exit): Announce it.
	* wdiff.c: Rename is_printer to overstrike.
	* wdiff.c: Rename is_display to find_termcap.
	(main): Delay its initialization, so -l can force it to 0.

	* wdiff.c: New -n option and no_wrapping variable.
	(main): Initialize and decode it.
	(usage_and_exit): Announce it.
	(copy_whitespace): Implement it.
	Reported by Joe Wells.

1992-11-21  Franois Pinard  <pinard@iro.umontreal.ca>

	* configure.in: Use AC_CONST.
	* wdiff.c: Never define const as empty, let configure do it.  Also
	remove volatile declaration as empty, it is unused.
	* wdiff.c, version.c: Add a few const's.

	* wdiff.c: Remove `const' to `char *strstr();' declaration.
	Reported by Roland McGrath.

	* configure.in: Avoid gdiff for X as found on SGI systems.  The
	test presumes gdiff returns non-zero status if DISPLAY is defined
	to be empty.
	Reported by Jim Meyering.

Thu Nov 19 10:29:20 CST 1992  Jim Meyering  (meyering@idefix.comco.com)

	* configure.in: Add AC_UNISTD_H.  Fix test for ANSI-ness.

	* readpipe.c, writepipe.c: Include unistd.h.
	Parenthesize assignment used in boolean context.

	* version.c: Remove copyright and print_copyright.

	* wdiff.c: Add declaration of error.
	(print_copyright): Moved copyright stuff here and declared static.
	(reformat_diff_output): Add a do-nothing case for COPY_NORMAL
	and a default that aborts to avoid warnings form gcc -Wall.
	(complete_output_program): Add a default clause that aborts
	to avoid warnings form gcc -Wall.

1992-11-18  Jim Meyering  <meyering@idefix.comco.com>

	* Makefile.in: Add another layer of double quotes so PAGER
	and DIFF may contain spaces.  Before, with PAGER='less -i'
	compilation failed with unterminated string.

1992-11-13  Franois Pinard  <pinard@iro.umontreal.ca>

	* Makefile.in (dist): chmod a+r before making the tar file.

	* aclocal.m4: Update FP_STDC_CHECK, replacing by FP_PROTOTYPES.
	* configure.in: Adjust accordingly.

1992-10-06  Franois Pinard  <pinard@iro.umontreal.ca>

	* Makefile.in: Use exec_prefix.  Add `uninstall'.

1992-08-23  Franois Pinard  <pinard@iro.umontreal.ca>

	* configure.in: Split FP_STDC_CHECK out into aclocal.m4.
	* aclocal.m4: New.
	* Makefile.in: Distribute aclocal.m4.

1992-08-20  Franois Pinard  <pinard@iro.umontreal.ca>

	* wdiff.c: With STDC_HEADERS, use <string.h>, not <strings.h>.

1992-08-19  Franois Pinard  <pinard@iro.umontreal.ca>

	* collatew.el: New, generalizes Emacs LISP `compage-windows'.
	* Makefile.in: Distribute collatew.el.
	Reported by James Ganong.

	* configure.in: To define DIFF, also try gnudiff and diffgnu, not
	only gdiff and diff.

	* ansi2knr.c: New, from Ghostscript distribution.
	* unproto.l: Deleted.
	* Makefile.in: Use ansi2knr instead of unproto.
	* configure.in: Do not check anymore for `lex' or bad `const's.
	* wdiff.c: Undefine `const' and `volatile' if not __STDC__.

	* wdiff.c: Do not declare tgetstr without HAVE_TPUTS.

1992-08-18  Franois Pinard  <pinard@iro.umontreal.ca>

	* Version 0.03 to alt.sources and ftp.uu.net:/tmp.

	* unproto.l: New, from ~/src.  Note that flex is required.
	* configure.in: Add FP_STDC_CHECK, then use it.  Add AC_PROG_LEX.
	* Makefile.in: Add U, apply unproto to wdiff.c and version.c if
	not __STDC__.

	* Makefile.in: Various corrections for being truly able to make in
	subdirectories.

1992-08-17  Franois Pinard  <pinard@iro.umontreal.ca>

	* configure.in: Check for improper `const' support.

	* wdiff.c: Insure exit code values: 0 if no differences found, 1
	if any difference found, 2 for other reasons or errors.  Execute
	`diff' even in the case absolutely no output will result.

	* wdiff.c: Removed spurious comma after last enum item.

	* alloca.c: New, from other GNU sources.
	* configure.in: Check for alloca.
	* Makefile.in: Distribute alloca.c, compile it if necessary.

1992-08-16  Franois Pinard  <pinard@iro.umontreal.ca>

	* wdiff.c (usage_and_exit): Added -s description.

1992-08-15  Franois Pinard  <pinard@iro.umontreal.ca>

	* Version 0.02 to alt.sources and ftp.uu.net:/tmp.

	* wdiff.c: Added -s option to produce statistics at end of output.

	* wdiff.c: Copy common code from the left side instead of the
	right side if only the common code and deleted words are wanted;
	this makes the output spacing nicer.  Also, correct a bug by which
	added words were shown as common code for this option set.

	* wdiff.c: PAGER_PROGRAM was previously defaulted to "more", it is
	now left undefined.  As currently set, the auto-configurator will
	pick one, however, and force it into the program.

	* wdiff.c: Avoid all emphasis if all of the output would be
	emphasized the same way.

	* wdiff.c: Avoid overstriking whitespace unless the pager is less.

	* wdiff.c: Do termcap initialization and completion strings.  If a
	pager is used, insure they are sent to stdout, never to the pager.

	* wdiff.c: If PAGER is defined, but to the empty string, avoid
	using any pager, instead of using a default PAGER.

1992-08-14  Franois Pinard  <pinard@iro.umontreal.ca>

	* wdiff.c: Remove the `signal (SIGCLD, SIG_IGN);' which is a
	System V-ism, and rather wait() explicitely.

	* wdiff.c: Declare tgetstr if <termcap.h> not included.

1992-08-12  Franois Pinard  <pinard@iro.umontreal.ca>

	* Version 0.01 to alt.sources and ftp.uu.net:/tmp.

	* wdiff.c(setup_signals): Do not intercept SIGQUIT.

	* wdiff.c: Automatically pipe through `more' or `less' if writing
	to terminal, using environment variable $PAGER to override PAGER
	definition.  Force terminal mode, but if the pager is `less', use
	printer mode.  Modify copy_whitespace for overstriking whitespace
	with itself in printer mode: `less' understands this.
	* strstr.c: Borrowed somewhere from GNU.
	* writepipe.c: New, provided by David MacKenzie.
	* configure.in: Try defining PAGER to less or more.  Also use our
	strstr if necessary.
	* Makefile.in: Transmit PAGER to program.  Also handle strstr.c.

	* configure.in: Try defining DIFF to gdiff or diff.
	* Makefile.in: Transmit DIFF to wdiff.c, which handles it already.

	* wdiff.c: Options -wxyz renamed from old -1234.  New options -123
	acting a little like in GNU comm utility, old -d option deleted.

	* wdiff.c: Check for HAVE_TPUTS instead of HAVE_TERMCAP_H in many
	places.
	* configure.in: Use -ltermlib on LIBS for Xenix, -ltermcap
	otherwise; once this done, test for `tputs' availability.

	* COPYING.LIB: New.
	* Makefile.in: Distributing COPYING.LIB.

1992-08-11  Franois Pinard  <pinard@iro.umontreal.ca>

	* Version 0.0.
