Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src



Module Name:    src
Committed By:   kamil
Date:           Thu Apr  4 15:22:13 UTC 2019

Modified Files:
        src/distrib/sets/lists/tests: mi
        src/tests/usr.bin: Makefile
        src/usr.bin/indent: Makefile README args.c indent.1 indent.c
            indent_codes.h indent_globs.h io.c lexi.c parse.c pr_comment.c

Log Message:
Upgrade indent(1)

Merge all the changes from the recent FreeBSD HEAD snapshot
into our local copy.

FreeBSD actively maintains this program in their sources and their
repository contains over 100 commits with changes.

Keep the delta between the FreeBSD and NetBSD versions to absolute
minimum, mostly RCS Id and compatiblity fixes.

Major chages in this import:

 - Added an option -ldi<N> to control indentation of local variable names.
 - Added option -P for loading user-provided files as profiles
 - Added -tsn for setting tabsize
 - Rename -nsac/-sac ("space after cast") to -ncs/-cs
 - Added option -fbs Enables (disables) splitting the function declaration and opening brace across two lines.
 - Respect SIMPLE_BACKUP_SUFFIX environment variable in indent(1)
 - Group global option variables into an options structure
 - Use bsearch() for looking up type keywords.
 - Don't produce unneeded space character in function declarators
 - Don't unnecessarily add a blank before a comment ends.
 - Don't ignore newlines after comments that follow braces.

Merge the FreeBSD intend(1) tests with our ATF framework.
All tests pass.

Upgrade prepared by Manikishan Ghantasala.
Final polishing by myself.


To generate a diff of this commit:
cvs rdiff -u -r1.809 -r1.810 src/distrib/sets/lists/tests/mi
cvs rdiff -u -r1.26 -r1.27 src/tests/usr.bin/Makefile
cvs rdiff -u -r1.6 -r1.7 src/usr.bin/indent/Makefile
cvs rdiff -u -r1.1 -r1.2 src/usr.bin/indent/README
cvs rdiff -u -r1.13 -r1.14 src/usr.bin/indent/args.c
cvs rdiff -u -r1.26 -r1.27 src/usr.bin/indent/indent.1
cvs rdiff -u -r1.24 -r1.25 src/usr.bin/indent/indent.c
cvs rdiff -u -r1.5 -r1.6 src/usr.bin/indent/indent_codes.h
cvs rdiff -u -r1.10 -r1.11 src/usr.bin/indent/indent_globs.h \
    src/usr.bin/indent/pr_comment.c
cvs rdiff -u -r1.18 -r1.19 src/usr.bin/indent/io.c
cvs rdiff -u -r1.15 -r1.16 src/usr.bin/indent/lexi.c
cvs rdiff -u -r1.8 -r1.9 src/usr.bin/indent/parse.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index