The NetBSD Project

CVS log for src/tests/usr.bin/indent/opt_bacc.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.13: download - view: text, markup, annotated - select for diffs
Thu Jun 15 09:19:07 2023 UTC (17 months, 3 weeks ago) by rillig
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, HEAD
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +31 -1 lines
indent: miscellaneous cleanups, more tests for edge cases

Revision 1.12: download - view: text, markup, annotated - select for diffs
Sat May 20 10:09:03 2023 UTC (18 months, 2 weeks ago) by rillig
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +18 -15 lines
indent: implement blank lines around conditional compilation

Revision 1.11: download - view: text, markup, annotated - select for diffs
Thu May 11 18:13:55 2023 UTC (18 months, 3 weeks ago) by rillig
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +3 -25 lines
indent: remove broken code for handling blank lines

This fixes several bugs where blank lines were erroneously added or
removed, treating these old bugs for new bugs in different places.
These new bugs are expected to be easier to fix, as the old bugs will
not interfere anymore.

Revision 1.10: 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.9: preferred, colored
Changes since revision 1.9: +25 -25 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.9: download - view: text, markup, annotated - select for diffs
Sun Apr 24 08:52:44 2022 UTC (2 years, 7 months ago) by rillig
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -1 lines
tests/indent: normalize amount of empty lines between test cases

Revision 1.8: download - view: text, markup, annotated - select for diffs
Sat Apr 23 06:43:23 2022 UTC (2 years, 7 months ago) by rillig
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -2 lines
indent: group global variables related to output control

No functional change.

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
Fri Nov 19 22:24:29 2021 UTC (3 years ago) by rillig
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +47 -4 lines
tests/indent: refine and extend tests

Revision 1.5: download - view: text, markup, annotated - select for diffs
Fri Nov 19 19:37:13 2021 UTC (3 years ago) by rillig
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +3 -14 lines
indent: fix formatting of function definitions (since 2019-04-04)

In the definition of a function with a pointer return type, the
formatting depended on the name of the function.  Function names
matching [A-Za-z+] were formatted correctly, those containing [$0-9_]
weren't.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Wed Oct 20 05:14:21 2021 UTC (3 years, 1 month ago) by rillig
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -2 lines
indent: rename blankline_requested variables

The words 'prefix' and 'postfix' sounded too much like horizontal
concepts, like in operators. The actual purpose of these variables is to
add blank lines before and after the current line, so use the same
wording as in the command line options.

No functional change.

Revision 1.3: 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.2: preferred, colored
Changes since revision 1.2: +3 -19 lines
tests/indent: merge duplicate input/output and output/output

No functional change.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sat Oct 16 06:02:18 2021 UTC (3 years, 1 month ago) by rillig
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +66 -73 lines
tests/indent: restructure test for '-bacc' and '-nbacc'

To see the effects of the options, group the tests into sections, each
containing a small piece of code followed by the output of the two
options.

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>