|
Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base perseant-exfatfs-base-20240630 perseant-exfatfs-base
|
| #
1.13 |
|
15-Jun-2023 |
rillig |
indent: miscellaneous cleanups, more tests for edge cases
|
| #
1.12 |
|
20-May-2023 |
rillig |
indent: implement blank lines around conditional compilation
|
| #
1.11 |
|
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-1-RELEASE 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-base
|
| #
1.10 |
|
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.9 |
|
24-Apr-2022 |
rillig |
tests/indent: normalize amount of empty lines between test cases
|
| #
1.8 |
|
23-Apr-2022 |
rillig |
indent: group global variables related to output control
No functional change.
|
| #
1.7 |
|
22-Apr-2022 |
rillig |
indent: remove FreeBSD IDs
Most of the IDs were empty anyway.
|
| #
1.6 |
|
19-Nov-2021 |
rillig |
tests/indent: refine and extend tests
|
| #
1.5 |
|
19-Nov-2021 |
rillig |
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.
|
| #
1.4 |
|
20-Oct-2021 |
rillig |
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.
|
| #
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: 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.
|
| #
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.
|