1 -- $Id: CHANGES,v 1.73 2012/01/03 09:38:29 tom Exp $
3 2012/01/03 (diffstat 1.55)
4 + add -R option, like patch's, to reverse the order of the comparison.
6 + FreeBSD ports/148604, ports/149500 reported that lzcat may not
7 support extracting files compressed in xz format (patch by Frederic
8 Culot, FreeBSD #149500).
10 + address documentation issue raised in Novell #739210
12 + correct typo s/Solaris/Solar/.
14 + updated configure script macros:
15 CF_ANSI_CC_CHECK CF_DISABLE_LEAKS CF_GCC_ATTRIBUTES CF_GCC_WARNINGS
16 CF_MAKE_TAGS CF_MSG_LOG CF_PATH_PROG CF_WITH_INSTALL_PREFIX
19 + update config.guess, config.sub
21 2010/10/10 (diffstat 1.54)
22 + change Debian package script to use native format.
24 + correct counts used for new files when -S/-D options are used.
26 + minor typography improvement to manpage (patch by Solar Designer)
28 + remove the temporary directory on error, introduced in 1.48+ (patch
31 2010/07/19 (diffstat 1.53)
33 + add missing "break" statement which left "-c" option falling-through
36 2010/07/16 (diffstat 1.52)
38 + add "-C" option to show the histogram using SGR colors.
40 + add "-s" option to show only the summary line.
42 + add configure check for "xz", using this in preference to "lzcat"
45 + also escape literal dashes used as part of the histogram in the
48 + modify hyphens vs dashes in manpage per
49 http://lintian.debian.org/tags/hyphen-used-as-minus-sign.html
50 (patch by Francois Marier).
52 + drop mkdirs.sh, use "mkdir -p"
54 + add configure checks for ctags and lint.
56 + updated configure macros
58 + reformat CHANGES to work with metrics script.
60 + fix strict gcc warnings, e.g., using const.
62 + improve a case where filenames have embedded blanks (patch by Reinier
65 + update config.guess, config.sub
67 2009/11/07 (diffstat 1.51)
69 + correct suffix-check for ".xz" files as command-line parameters
70 rather than as piped input (report by Moritz Barsnick).
72 2009/11/6 (diffstat 1.50)
74 + build/test fixes for MSYS, i.e., MinGW.
76 + improve configure check for get_unlocked function.
78 + use $TMPDIR for path of temporary file used in decompression.
80 + correct else-condition for detecting compression type (patch by Zach
83 2009/08/31 (diffstat 1.49)
85 + improve lzma support, add support for xz (patch by Eric Blake).
87 + add special case for no-newline message from some diff's (Ubuntu
90 + improve configure check for getopt header.
92 + add configure special case for HPUX 11 with _XOPEN_SOURCE definition.
94 + update config.guess, config.sub
96 2009/08/11 (diffstat 1.48)
98 + add decompression tests for lzma and pack file types.
100 + check for zcat and uncompress in preference to "compress -dc".
102 + modify to check the first few bytes of standard input, and use a
103 corresponding decompression utility if the stream appears to be
104 compressed. This requires making a temporary copy of the data
107 + add -N option, to truncate filenames.
109 + use getc_unlocked() rather than fgetc_unlocked()
111 + modify to recognize Perforce-style diffs (patch by Ed Schouten).
113 + updated configure macros to improve compiler warning checks, use
114 $PATH_SEPARATOR rather than $PATH_SEP (for consistency with some
117 + fix typo in configure --with-install-prefix option (report by
120 + update config.guess, config.sub
122 2009/03/29 (diffstat 1.47)
124 modify to work with patch ".rej" files, which do not have a header to
125 tell which file is affected.
127 fix typo in usage message (reports by Moritz Barsnick, John McNamara,
130 2008-08-06 (diffstat 1.46)
132 + add "-S", "-D" and "-m" options to provide a way to show the amount
133 of difference relative to the total sizes of the files.
135 + add "-q" option (Debian #488248, patch by Greg Norris).
137 2007/09/04 (diffstat 1.45)
139 + add "-b" option (Debian #379380, patch by Greg Norris).
141 2007/08/26 (diffstat 1.44)
143 + add a check for default-diff output, e.g., "diff foo bar|diffstat",
144 which has no "diff" command in the output for diffstat to guess that
147 + add a check after completing a chunk for unified diff to ensure that
148 the next line either begins another chunk for the diff, or starts
149 another diff, e.g., a context diff (report by Adrian Bunk).
151 + add configure options for leak-checking valgrind, etc.
153 + use install-sh rather than install.sh
155 + updated config.guess and config.sub
157 + updated configure macros CF_GCC_ATTRIBUTES CF_GCC_WARNINGS CF_MSG_LOG
158 CF_PATH_SYNTAX CF_VERBOSE CF_XOPEN_SOURCE
160 2006/07/16 (diffstat 1.43)
162 + fix to avoid modifying data which is being used by tsearch() for
163 ordering the binary tree (report by Adrian Bunk).
165 2006/07/02 (diffstat 1.42)
167 + do not ignore pathnames in /tmp/, since some tools create usable
168 for both old/new files there (Debian #376086).
170 + correct ifdef for fgetc_unlocked().
172 + updated configure macros CF_GCC_VERSION, CF_PATH_SYNTAX and
175 + add configure check for compress, gzip and bzip2 programs that may be
176 used to decompress files.
178 2005/08/24 (diffstat 1.41)
180 + update usage message for options added in 1.40 (report by Eric Blake).
182 2005-08-15 (diffstat 1.40)
184 + add options -l, -r and -t. add to -f option (patch, comments by
185 Jean Delvare, Michael Burian).
187 + improve I/O on Linux using fgetc_locked().
189 + improve searching of long sorted lists using tsearch()
191 + improve configure-script checks for Intel compiler warnings.
193 2005-04-10 (diffstat 1.39)
195 + change order of merging and prefix-stripping so stripping all prefixes,
196 e.g., with -p9, will be sorted as expected (patch by Jean Delvare).
198 + correct a reference to freed memory after merging found with valgrind.
200 2005-01-16 (diffstat 1.38)
202 + add makefile.wnt, etc., for win32 port.
204 + fix "make check" to work even when PATH or the build directory has
205 spaces in it (patch by Eric Blake).
207 + add support for '--help' and '--version' command line arguments, for a
208 consistent interface with GNU tools, and still compatible to POSIX
209 requirements on utility options (patch by Eric Blake).
213 + modify makefile.in and run_test.sh to allow "make check" to be run
214 from a build directory which is not the same as the source directory,
215 i.e., when the configure --srcdir option is used (request by Eric
218 + modify distribution to include sample of regression tests, so a
219 "make check" will work (request by Eric Blake).
221 2004-12-16 (diffstat 1.37)
223 + fix a different case for data beginning with "--" which was treated
226 2004-12-14 (diffstat 1.36)
228 + Fix allocation problems. Open files in binary mode for reading.
229 Getopt returns -1, not necessarily EOF. Add const where useful. Use
230 NO_IDENT where necessary. malloc() comes from <stdlib.h> in standard
231 systems (Patch by Eric Blake <ebb9@byu.net>.)
233 2004-11-08 (diffstat 1.35)
235 + modify makefile.in to work with configure --srcdir option (report by
238 + minor fix for resync of unified diffs checks for range (line beginning
239 with '@' without header lines (successive lines beginning with "---"
240 and "+++") (Debian #264098).
242 + miscellaneous updates for configure script
244 2003-11-09 (diffstat 1.34)
246 + improve check for certain lines (not those that begin a chunk) that
247 begin with '-', treating all except "---" as a delete (report by
248 James Rowe <Jay@jnrowe.uklinux.net>).
250 + minor updates to configure script.
252 2003-02-14 (diffstat 1.33)
254 + modified to work around a case where the filename+date was incomplete,
255 i.e., missing one of the components such as the day of the month.
256 While diffstat does not use the date directly, it helps distinguish
257 some lines from non-patches (report by Moritz Barsnick
258 <moritz@barsnick.net>).
260 + add "-h" option (request by Moritz Barsnick).
262 + fix a typo in usage message (report by Moritz Barsnick).
264 + add "-e" and "-o" options to simplify testing on OS/2 EMX.
266 2003-01-04 (diffstat 1.32)
268 + modified to handle patches generated by makepatch-2.00_09, which uses
269 both "Index" and "diff" lines (report by D Roland Walker). As a side
270 effect, the additional merging eliminates occasional reports with
273 + modified to avoid buffer overflows.
275 + fixes for Debian #155000 (did not handle a '-' in first content-column
276 of a unified diff) and #170947 (option to turn the progress messages
279 + updated configure script using aclocal.m4 macros
281 + update makefile.in to improve use of autoconf (report/patch by Nix
282 <nix@esperi.demon.co.uk>).
284 2002-08-20 (diffstat 1.31)
286 + add -u, -k options to override diffstat's normal sorting (-u) and
287 merging (-k) of identical filenames. (-u requested by H Peter Anvin
290 2002-08-09 (diffstat 1.30)
292 + allow either '/' or '-' as delimiters in dates, to accommodate
293 gendiff (report by Rik van Riel <riel@conectiva.com.br>). This
294 corresponds to the time format used in diffutils 2.8 whose changelog
295 states that this is ISO 8601 (though online references differ).
297 2001-10-10 (diffstat 1.29)
299 + add bzip2 (.bz2) suffix (suggested by Gregory T Norris
300 <haphazard@socket.net>, Debian #82969).
302 + add check for diff from RCS archive where the "diff" lines do not
303 reference a filename.
305 2000-03-29 (diffstat 1.28)
307 + Add -c option (to prefix output with '#' comment), eliminating a step
308 in my script that combines diffstat output with a patch. This is a
309 workaround for OSF1's broken sed utility.
311 + Check for compressed file suffixes .Z and .gz, read uncompressed data
312 via pipe (Debian wishlist item #53975 by ch@lathspell.westend.com).
314 + Simplified makefile based on comments by M Sweger
315 <mikesw@whiterose.net>
317 + Adapted changes from Troy Engel <tengel@sonic.net> as "-f" option.
319 1998-05-27 (diffstat 1.27)
321 + Debian diff's don't show dates on the lines where we expect to see
324 1998-01-16 (diffstat 1.26, Patch 5)
326 + Change copyright terms.
328 + Accommodate patches w/o tabs in header lines (e.g., from cut/paste).
329 Still prefer the tabs because otherwise we cannot have spaces in
332 + Strip suffixes such as ".orig", to avoid confusing output.
334 1996-03-16 (diffstat 1.24, Patch 4)
336 + Corrected state-transition after "Binary".
338 + Added testing subdirectory
342 + Handle differences from /tmp (e.g., for X11R5 patches).
344 1995-05-06 (diffstat 1.17 Patch 3)
346 + Repost whole program to comp.sources.misc (1.17)
348 + Mods to scaling: limit to 1:1 if only a few changes were made; added
349 logic to accumulate error across +/-/! calls.
351 + added logic to recognize 'rcsdiff -u' output.
353 1994-12-26 (diffstat 1.15, Patch 2)
355 + Strip common pathname prefix (1.15)
357 1994-11-13 (diffstat 1.14, Patch 1)
359 + Test for <string.h> vs <strings.h>
361 + Corrected error in 'match()' that didn't handle properly the case
362 when an argument was a null string (i.e., blank lines in a unified
365 + Added options '-n' and '-V'
367 + Added patchlev.h, CHANGES files.
369 + Added install.sh, for autoconf 2.1
371 1994-06-13 (diffstat 1.12, Patch 0)
373 + Initial release of 'diffstat' (1.12).