Module Name:    src
Committed By:   kamil
Date:           Thu Apr  4 15:27:35 UTC 2019

Added Files:
        src/tests/usr.bin/indent: Makefile binary.0 binary.0.stdout comments.0
            comments.0.pro comments.0.stdout cs.0 cs.0.pro cs.0.stdout
            declarations.0 declarations.0.stdout elsecomment.0
            elsecomment.0.pro elsecomment.0.stdout f_decls.0 f_decls.0.stdout
            float.0 float.0.stdout label.0 label.0.pro label.0.stdout
            list_head.0 list_head.0.stdout ncs.0 ncs.0.pro ncs.0.stdout
            offsetof.0 offsetof.0.stdout parens.0 parens.0.pro parens.0.stdout
            pcs.0 pcs.0.pro pcs.0.stdout struct.0 struct.0.stdout surplusbad.0
            surplusbad.0.pro surplusbad.0.stdout t_indent.sh types_from_file.0
            types_from_file.0.list types_from_file.0.pro
            types_from_file.0.stdout wchar.0 wchar.0.stdout
        src/usr.bin/indent: indent.h

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.

Part II, checkin new files.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/tests/usr.bin/indent/Makefile \
    src/tests/usr.bin/indent/binary.0 \
    src/tests/usr.bin/indent/binary.0.stdout \
    src/tests/usr.bin/indent/comments.0 \
    src/tests/usr.bin/indent/comments.0.pro \
    src/tests/usr.bin/indent/comments.0.stdout src/tests/usr.bin/indent/cs.0 \
    src/tests/usr.bin/indent/cs.0.pro src/tests/usr.bin/indent/cs.0.stdout \
    src/tests/usr.bin/indent/declarations.0 \
    src/tests/usr.bin/indent/declarations.0.stdout \
    src/tests/usr.bin/indent/elsecomment.0 \
    src/tests/usr.bin/indent/elsecomment.0.pro \
    src/tests/usr.bin/indent/elsecomment.0.stdout \
    src/tests/usr.bin/indent/f_decls.0 \
    src/tests/usr.bin/indent/f_decls.0.stdout \
    src/tests/usr.bin/indent/float.0 src/tests/usr.bin/indent/float.0.stdout \
    src/tests/usr.bin/indent/label.0 src/tests/usr.bin/indent/label.0.pro \
    src/tests/usr.bin/indent/label.0.stdout \
    src/tests/usr.bin/indent/list_head.0 \
    src/tests/usr.bin/indent/list_head.0.stdout \
    src/tests/usr.bin/indent/ncs.0 src/tests/usr.bin/indent/ncs.0.pro \
    src/tests/usr.bin/indent/ncs.0.stdout src/tests/usr.bin/indent/offsetof.0 \
    src/tests/usr.bin/indent/offsetof.0.stdout \
    src/tests/usr.bin/indent/parens.0 src/tests/usr.bin/indent/parens.0.pro \
    src/tests/usr.bin/indent/parens.0.stdout src/tests/usr.bin/indent/pcs.0 \
    src/tests/usr.bin/indent/pcs.0.pro src/tests/usr.bin/indent/pcs.0.stdout \
    src/tests/usr.bin/indent/struct.0 \
    src/tests/usr.bin/indent/struct.0.stdout \
    src/tests/usr.bin/indent/surplusbad.0 \
    src/tests/usr.bin/indent/surplusbad.0.pro \
    src/tests/usr.bin/indent/surplusbad.0.stdout \
    src/tests/usr.bin/indent/t_indent.sh \
    src/tests/usr.bin/indent/types_from_file.0 \
    src/tests/usr.bin/indent/types_from_file.0.list \
    src/tests/usr.bin/indent/types_from_file.0.pro \
    src/tests/usr.bin/indent/types_from_file.0.stdout \
    src/tests/usr.bin/indent/wchar.0 src/tests/usr.bin/indent/wchar.0.stdout
cvs rdiff -u -r0 -r1.1 src/usr.bin/indent/indent.h

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

Reply via email to