The NetBSD Project

CVS log for src/tests/usr.bin/indent/opt_fc1.c

[BACK] Up to [cvs.NetBSD.org] / src / tests / usr.bin / indent

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.11: download - view: text, markup, annotated - select for diffs
Sun May 14 17:53:38 2023 UTC (18 months, 2 weeks ago) by rillig
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, HEAD
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +22 -25 lines
indent: fix handling of multiple block comments in a line

Revision 1.10: download - view: text, markup, annotated - select for diffs
Sun May 14 17:13:37 2023 UTC (18 months, 2 weeks ago) by rillig
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +4 -4 lines
indent: in comments, keep a leading tab

This kind of comments is used for the CVS IDs at the top of files.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Sat May 13 16:40:18 2023 UTC (18 months, 3 weeks ago) by rillig
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +4 -4 lines
indent: do not add a space before a comment that starts a line

Revision 1.8: download - view: text, markup, annotated - select for diffs
Sun Apr 24 09:04:12 2022 UTC (2 years, 7 months ago) by rillig
Branches: MAIN
CVS tags: netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +23 -23 lines
tests/indent: change directive from '#' to '//'

Using a '//' instead of '#' turns the directives into well-formed C
code, resulting in fewer error markers in the editor.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Fri Apr 22 21:21:20 2022 UTC (2 years, 7 months ago) by rillig
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +1 -2 lines
indent: remove FreeBSD IDs

Most of the IDs were empty anyway.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Thu Nov 25 20:44:10 2021 UTC (3 years ago) by rillig
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +8 -5 lines
indent: fix accidentally joined and broken comments (since 2019-04-04)

The fixed version is not perfect as it gets the indentation of the last
line of the first comment wrong, but at least indent doesn't generate
malformed output anymore.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Sat Nov 20 16:54:17 2021 UTC (3 years ago) by rillig
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +8 -7 lines
tests/indent: clean up and extend tests

Revision 1.4: download - view: text, markup, annotated - select for diffs
Mon Oct 18 07:11:31 2021 UTC (3 years, 1 month ago) by rillig
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +3 -16 lines
tests/indent: merge duplicate input/output and output/output

No functional change.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sat Oct 16 21:32:10 2021 UTC (3 years, 1 month ago) by rillig
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +68 -39 lines
tests/lint: document and extend the tests for options

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sat Oct 16 05:40:17 2021 UTC (3 years, 1 month ago) by rillig
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +1 -37 lines
tests/indent: remove duplicate data from options tests

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sat Oct 16 03:20:13 2021 UTC (3 years, 1 month ago) by rillig
Branches: MAIN
tests/indent: condense tests for bool options

Previously, each bool option such as '-bacc/-nbacc' had 6 test files:
input, options, output for the positive and negative option. Splitting
this test data into separate files made it harder than necessary to
quickly compare the test output from '-bacc' with that of '-nbacc'.

Have a single test for the positive and negative option, allowing
several tests to run on the same input with different options.

This commit only contains the rather mechanic changes of concatenating
the previous test files and inserting the '#indent' directives, which
are documented in t_options.sh. Removing duplicate input sections, as
well as other cleanups will follow soon.

No functional change.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>