#
1.13 |
|
22-Oct-2023 |
rillig |
tests/indent: clean up comments
|
#
1.12 |
|
26-Jun-2023 |
rillig |
indent: in -bad mode, don't add a blank line above a comment or '}'
|
#
1.11 |
|
17-Jun-2023 |
rillig |
tests/indent: add miscellaneous test cases found during clean up
|
#
1.10 |
|
14-May-2023 |
rillig |
indent: fix vertical spacing after declarations
A comment is not supposed to change the state of the 'blank line after declaration', but it did. The initialization of saved_just_saw_decl was wrong though since it tried to capture the previous value after it had already been overwritten.
|
#
1.9 |
|
13-May-2023 |
rillig |
indent: implement 'blank after declarations'
|
#
1.8 |
|
13-May-2023 |
rillig |
tests/indent: extend test for blank line after declaration
|
#
1.7 |
|
11-May-2023 |
rillig |
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 tags: netbsd-10-base
|
#
1.6 |
|
24-Apr-2022 |
rillig |
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.
|
#
1.5 |
|
22-Apr-2022 |
rillig |
indent: remove FreeBSD IDs
Most of the IDs were empty anyway.
|
#
1.4 |
|
22-Oct-2021 |
rillig |
tests/indent: migrate tests for parentheses, struct, #if, wide char
|
#
1.3 |
|
18-Oct-2021 |
rillig |
tests/indent: merge duplicate input/output and output/output
No functional change.
|
#
1.2 |
|
16-Oct-2021 |
rillig |
tests/indent: clean up tests for '-bad' and '-badp'
|
#
1.1 |
|
16-Oct-2021 |
rillig |
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.
|
#
1.12 |
|
26-Jun-2023 |
rillig |
indent: in -bad mode, don't add a blank line above a comment or '}'
|
#
1.11 |
|
17-Jun-2023 |
rillig |
tests/indent: add miscellaneous test cases found during clean up
|
#
1.10 |
|
14-May-2023 |
rillig |
indent: fix vertical spacing after declarations
A comment is not supposed to change the state of the 'blank line after declaration', but it did. The initialization of saved_just_saw_decl was wrong though since it tried to capture the previous value after it had already been overwritten.
|
#
1.9 |
|
13-May-2023 |
rillig |
indent: implement 'blank after declarations'
|
#
1.8 |
|
13-May-2023 |
rillig |
tests/indent: extend test for blank line after declaration
|
#
1.7 |
|
11-May-2023 |
rillig |
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 tags: netbsd-10-base
|
#
1.6 |
|
24-Apr-2022 |
rillig |
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.
|
#
1.5 |
|
22-Apr-2022 |
rillig |
indent: remove FreeBSD IDs
Most of the IDs were empty anyway.
|
#
1.4 |
|
22-Oct-2021 |
rillig |
tests/indent: migrate tests for parentheses, struct, #if, wide char
|
#
1.3 |
|
18-Oct-2021 |
rillig |
tests/indent: merge duplicate input/output and output/output
No functional change.
|
#
1.2 |
|
16-Oct-2021 |
rillig |
tests/indent: clean up tests for '-bad' and '-badp'
|
#
1.1 |
|
16-Oct-2021 |
rillig |
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.
|
#
1.6 |
|
24-Apr-2022 |
rillig |
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.
|
#
1.5 |
|
22-Apr-2022 |
rillig |
indent: remove FreeBSD IDs
Most of the IDs were empty anyway.
|
#
1.4 |
|
22-Oct-2021 |
rillig |
tests/indent: migrate tests for parentheses, struct, #if, wide char
|
#
1.3 |
|
18-Oct-2021 |
rillig |
tests/indent: merge duplicate input/output and output/output
No functional change.
|
#
1.2 |
|
16-Oct-2021 |
rillig |
tests/indent: clean up tests for '-bad' and '-badp'
|
#
1.1 |
|
16-Oct-2021 |
rillig |
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.
|
#
1.5 |
|
22-Apr-2022 |
rillig |
indent: remove FreeBSD IDs
Most of the IDs were empty anyway.
|
#
1.4 |
|
22-Oct-2021 |
rillig |
tests/indent: migrate tests for parentheses, struct, #if, wide char
|
#
1.3 |
|
18-Oct-2021 |
rillig |
tests/indent: merge duplicate input/output and output/output
No functional change.
|
#
1.2 |
|
16-Oct-2021 |
rillig |
tests/indent: clean up tests for '-bad' and '-badp'
|
#
1.1 |
|
16-Oct-2021 |
rillig |
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.
|
#
1.4 |
|
22-Oct-2021 |
rillig |
tests/indent: migrate tests for parentheses, struct, #if, wide char
|
#
1.3 |
|
18-Oct-2021 |
rillig |
tests/indent: merge duplicate input/output and output/output
No functional change.
|
#
1.2 |
|
16-Oct-2021 |
rillig |
tests/indent: clean up tests for '-bad' and '-badp'
|
#
1.1 |
|
16-Oct-2021 |
rillig |
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.
|
#
1.3 |
|
18-Oct-2021 |
rillig |
tests/indent: merge duplicate input/output and output/output
No functional change.
|
#
1.2 |
|
16-Oct-2021 |
rillig |
tests/indent: clean up tests for '-bad' and '-badp'
|
#
1.1 |
|
16-Oct-2021 |
rillig |
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.
|
#
1.2 |
|
16-Oct-2021 |
rillig |
tests/indent: clean up tests for '-bad' and '-badp'
|
#
1.1 |
|
16-Oct-2021 |
rillig |
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.
|