Changes since 2.2.2 from the NEWS file:
2.2.4
* When using numbered backup files, setting environment variable
VERSION_WIDTH now allows to use left zero padding (ie file.~001~).
(Patch by Chris F.A. Johnson <bq933@torfree.net>)
* --braces-on-if-line (-br) caused a '{' brace on the same line as a '}'
not to be put automatically on the next line, as it should because
the following { block } is not related to the previous { block } in
any way.
* Unpaired braces in `#if ..{.. #else/#elif ..{.. #endif }' constructs
was broken for #elif and when there were spaces after the #.
* Spelling, typo and general little improvements of indent.texinfo.
Now using Texinfo 4.0 markup.
(Patch by Kragen Sittler <sittler@day.erim-int.com>)
2.2.3
* Fixed bit-fields with types other then `int' (no type still won't work).
Fixed support for public:, private: and protected: labels.
* Forgot to include the indent.dsp file in 2.2.2 (win32)
Release notes for GNU indent version 2.2.2, September 1999
* Added support for win32 (need VC++)
* Indent was sometimes adding a blank line at the top of an indented
file when indenting multiple files at once. This bug has been fixed.
Release notes for GNU indent version 2.2.1, September 1999
* Indent got confused when a function declaration contained an enum
and did not contain a colon before using a '{' inside the function.
enum foobar <-- returns enum
func (enum foobar) <-- or uses an enum as parameter
{
if (1)
{ <-- uses '{' before any ';' was used
func (1);} <-- fails here
... etc.
* A new option to stop `make' from rebuilding your whole project
after running `indent':
-pmt, --preserve-mtime :
Preserve modification time on output files.
* Backup files now keep the same modification time as the
original.
* New -c++, --c-plus-plus option to allow better C++ formatting:
Recognizes C++ keywords, including the GNU extension operators <?= and >?=.
(Patch by Malekith <malekith@topnet.pl>)
Note: In general C++ still does NOT work!
* EBCDIC charset support for BS2000/POSIX (Siemens mainframe OS).
Contributed by <Martin.Kraemer@MchP.Siemens.De>.
with NetBSD's indent(1).
Don't strip the binary from the package Makefile - it already gets stripped
by the ${INSTALL_PROGRAM} part of the installation.
Rationalise info file handling.
- New, optional Makefile variable HOMEPAGE, specifies a URL for
the home page of the software if it has one.
- The value of HOMEPAGE is used to add a link from the
README.html files.
- pkglint updated to know about it. The "correct" location for
HOMEPAGE in the Makefile is after MAINTAINER, in that same
section.
Correct the package's makefile name.
Remove previous OS-dependent hack whereby we had no info files on NetBSD.
Regenerate indent.info to include DIR specifications, and install using
install-info.
Use uname -s to work out the Operating System.
FreeBSD has install-info and /usr/share/info/dir by default.
NetBSD doesn't, so, for now, don't try to do this on NetBSD.