#
1.29 |
|
17-Dec-2023 |
rillig |
tests/indent: don't create an unneeded file
|
#
1.28 |
|
10-Dec-2023 |
rillig |
indent: be strict about options from profile files
Previously, the "option" 'xdi0' was treated the same as '-xdi0'.
|
#
1.27 |
|
05-Jun-2023 |
rillig |
indent: do not report broken lines, report configuration on stderr
|
#
1.26 |
|
05-Jun-2023 |
rillig |
indent: clean up handling of whitespace
No functional change.
|
#
1.25 |
|
15-May-2023 |
rillig |
indent: remove accidental space before tab
|
#
1.24 |
|
13-May-2023 |
rillig |
indent: preserve indentation of preprocessor directives
|
#
1.23 |
|
13-May-2023 |
rillig |
tests/indent: explain, clean up and add some tests
|
#
1.22 |
|
12-May-2023 |
rillig |
indent: remove statistics
The numbers from the statistics were wrong.
|
#
1.21 |
|
11-May-2023 |
rillig |
indent: remove buggy code for swapping tokens
It is not the job of an indenter to swap tokens, even if it's only about placing comments elsewhere. The code that swapped the tokens was complicated, buggy and impossible to understand.
In -br (brace right) mode, indent no longer moves a '{' from the beginning of a line to the end of the previous line, as that was handled by the token swapping code as well. This change is unintended, but it will be easier to re-add that now that the code is simpler.
|
Revision tags: netbsd-10-0-RC1 netbsd-10-base
|
#
1.20 |
|
22-Apr-2022 |
rillig |
indent: remove FreeBSD IDs
Most of the IDs were empty anyway.
|
#
1.19 |
|
25-Nov-2021 |
rillig |
tests/indent: use escape sequence for newline characters
No functional change.
|
#
1.18 |
|
25-Nov-2021 |
rillig |
tests/indent: test in-place formatting with parse errors
The file gets formatted until the end, despite the parse error. This may destroy layout details of the code but usually preserves the overall structure. Since all source code is supposed to be under version control, this is not a problem.
|
#
1.17 |
|
20-Nov-2021 |
rillig |
indent: clean up lint annotation and tests
|
#
1.16 |
|
19-Nov-2021 |
rillig |
tests/indent: refine and extend tests
|
#
1.15 |
|
07-Nov-2021 |
rillig |
indent: fix handling of C99 comments after 'if (expr)'
|
#
1.14 |
|
07-Nov-2021 |
rillig |
indent: demonstrate controlled buffer overflow in C99 comment
|
#
1.13 |
|
07-Nov-2021 |
rillig |
tests/indent: test options without '-' in profile files
|
#
1.12 |
|
30-Oct-2021 |
rillig |
tests/indent: test several options '-P'
|
#
1.11 |
|
29-Oct-2021 |
rillig |
indent: clean up main_init_globals
No functional change.
|
#
1.10 |
|
29-Oct-2021 |
rillig |
indent: spell 'parentheses' properly in messages and comments
|
#
1.9 |
|
28-Oct-2021 |
rillig |
indent: parse option '-cli' strictly
|
#
1.8 |
|
24-Oct-2021 |
rillig |
indent: clean up format of warnings and errors
Previously, warnings and errors had the form of C block comments. Before NetBSD io.c 1.20 from 2019-10-19, this format made sense because the diagnostics could end up in the same output stream as the formatted output.
Since NetBSD io.c 1.20 from 2019-10-19, all diagnostics are redirected to stderr. This change was not mentioned in the commit message back then, it makes sense nevertheless. Since stdout and stderr now are properly separated, there is no need anymore to keep the weird format for warnings and errors. Switch to the standard 'error: file:line' format.
Move the function 'diag' to indent.c to have access to the name of the current input file.
|
#
1.7 |
|
24-Oct-2021 |
rillig |
indent: fix line number counting at beginning of function body
|
#
1.6 |
|
24-Oct-2021 |
rillig |
indent/tests: demonstrate wrong line number counting
|
#
1.5 |
|
23-Oct-2021 |
rillig |
tests/indent: migrate remaining tests from t_indent to t_options
The test types_from_file was a subset of opt_U and thus has been removed.
|
#
1.4 |
|
22-Oct-2021 |
rillig |
tests/indent: migrate integer options tests to t_options
|
#
1.3 |
|
22-Oct-2021 |
rillig |
tests/indent: migrate a few more tests to t_options
|
#
1.2 |
|
14-Oct-2021 |
rillig |
tests/indent: cover more error cases and inline indentation
|
#
1.1 |
|
14-Oct-2021 |
rillig |
tests/indent: provide full line coverage for argument handling
|
#
1.28 |
|
10-Dec-2023 |
rillig |
indent: be strict about options from profile files
Previously, the "option" 'xdi0' was treated the same as '-xdi0'.
|
#
1.27 |
|
05-Jun-2023 |
rillig |
indent: do not report broken lines, report configuration on stderr
|
#
1.26 |
|
05-Jun-2023 |
rillig |
indent: clean up handling of whitespace
No functional change.
|
#
1.25 |
|
15-May-2023 |
rillig |
indent: remove accidental space before tab
|
#
1.24 |
|
13-May-2023 |
rillig |
indent: preserve indentation of preprocessor directives
|
#
1.23 |
|
13-May-2023 |
rillig |
tests/indent: explain, clean up and add some tests
|
#
1.22 |
|
12-May-2023 |
rillig |
indent: remove statistics
The numbers from the statistics were wrong.
|
#
1.21 |
|
11-May-2023 |
rillig |
indent: remove buggy code for swapping tokens
It is not the job of an indenter to swap tokens, even if it's only about placing comments elsewhere. The code that swapped the tokens was complicated, buggy and impossible to understand.
In -br (brace right) mode, indent no longer moves a '{' from the beginning of a line to the end of the previous line, as that was handled by the token swapping code as well. This change is unintended, but it will be easier to re-add that now that the code is simpler.
|
Revision tags: netbsd-10-0-RC1 netbsd-10-base
|
#
1.20 |
|
22-Apr-2022 |
rillig |
indent: remove FreeBSD IDs
Most of the IDs were empty anyway.
|
#
1.19 |
|
25-Nov-2021 |
rillig |
tests/indent: use escape sequence for newline characters
No functional change.
|
#
1.18 |
|
25-Nov-2021 |
rillig |
tests/indent: test in-place formatting with parse errors
The file gets formatted until the end, despite the parse error. This may destroy layout details of the code but usually preserves the overall structure. Since all source code is supposed to be under version control, this is not a problem.
|
#
1.17 |
|
20-Nov-2021 |
rillig |
indent: clean up lint annotation and tests
|
#
1.16 |
|
19-Nov-2021 |
rillig |
tests/indent: refine and extend tests
|
#
1.15 |
|
07-Nov-2021 |
rillig |
indent: fix handling of C99 comments after 'if (expr)'
|
#
1.14 |
|
07-Nov-2021 |
rillig |
indent: demonstrate controlled buffer overflow in C99 comment
|
#
1.13 |
|
07-Nov-2021 |
rillig |
tests/indent: test options without '-' in profile files
|
#
1.12 |
|
30-Oct-2021 |
rillig |
tests/indent: test several options '-P'
|
#
1.11 |
|
29-Oct-2021 |
rillig |
indent: clean up main_init_globals
No functional change.
|
#
1.10 |
|
29-Oct-2021 |
rillig |
indent: spell 'parentheses' properly in messages and comments
|
#
1.9 |
|
28-Oct-2021 |
rillig |
indent: parse option '-cli' strictly
|
#
1.8 |
|
24-Oct-2021 |
rillig |
indent: clean up format of warnings and errors
Previously, warnings and errors had the form of C block comments. Before NetBSD io.c 1.20 from 2019-10-19, this format made sense because the diagnostics could end up in the same output stream as the formatted output.
Since NetBSD io.c 1.20 from 2019-10-19, all diagnostics are redirected to stderr. This change was not mentioned in the commit message back then, it makes sense nevertheless. Since stdout and stderr now are properly separated, there is no need anymore to keep the weird format for warnings and errors. Switch to the standard 'error: file:line' format.
Move the function 'diag' to indent.c to have access to the name of the current input file.
|
#
1.7 |
|
24-Oct-2021 |
rillig |
indent: fix line number counting at beginning of function body
|
#
1.6 |
|
24-Oct-2021 |
rillig |
indent/tests: demonstrate wrong line number counting
|
#
1.5 |
|
23-Oct-2021 |
rillig |
tests/indent: migrate remaining tests from t_indent to t_options
The test types_from_file was a subset of opt_U and thus has been removed.
|
#
1.4 |
|
22-Oct-2021 |
rillig |
tests/indent: migrate integer options tests to t_options
|
#
1.3 |
|
22-Oct-2021 |
rillig |
tests/indent: migrate a few more tests to t_options
|
#
1.2 |
|
14-Oct-2021 |
rillig |
tests/indent: cover more error cases and inline indentation
|
#
1.1 |
|
14-Oct-2021 |
rillig |
tests/indent: provide full line coverage for argument handling
|
#
1.27 |
|
05-Jun-2023 |
rillig |
indent: do not report broken lines, report configuration on stderr
|
#
1.26 |
|
05-Jun-2023 |
rillig |
indent: clean up handling of whitespace
No functional change.
|
#
1.25 |
|
15-May-2023 |
rillig |
indent: remove accidental space before tab
|
#
1.24 |
|
13-May-2023 |
rillig |
indent: preserve indentation of preprocessor directives
|
#
1.23 |
|
13-May-2023 |
rillig |
tests/indent: explain, clean up and add some tests
|
#
1.22 |
|
12-May-2023 |
rillig |
indent: remove statistics
The numbers from the statistics were wrong.
|
#
1.21 |
|
11-May-2023 |
rillig |
indent: remove buggy code for swapping tokens
It is not the job of an indenter to swap tokens, even if it's only about placing comments elsewhere. The code that swapped the tokens was complicated, buggy and impossible to understand.
In -br (brace right) mode, indent no longer moves a '{' from the beginning of a line to the end of the previous line, as that was handled by the token swapping code as well. This change is unintended, but it will be easier to re-add that now that the code is simpler.
|
Revision tags: netbsd-10-base
|
#
1.20 |
|
22-Apr-2022 |
rillig |
indent: remove FreeBSD IDs
Most of the IDs were empty anyway.
|
#
1.19 |
|
25-Nov-2021 |
rillig |
tests/indent: use escape sequence for newline characters
No functional change.
|
#
1.18 |
|
25-Nov-2021 |
rillig |
tests/indent: test in-place formatting with parse errors
The file gets formatted until the end, despite the parse error. This may destroy layout details of the code but usually preserves the overall structure. Since all source code is supposed to be under version control, this is not a problem.
|
#
1.17 |
|
20-Nov-2021 |
rillig |
indent: clean up lint annotation and tests
|
#
1.16 |
|
19-Nov-2021 |
rillig |
tests/indent: refine and extend tests
|
#
1.15 |
|
07-Nov-2021 |
rillig |
indent: fix handling of C99 comments after 'if (expr)'
|
#
1.14 |
|
07-Nov-2021 |
rillig |
indent: demonstrate controlled buffer overflow in C99 comment
|
#
1.13 |
|
07-Nov-2021 |
rillig |
tests/indent: test options without '-' in profile files
|
#
1.12 |
|
30-Oct-2021 |
rillig |
tests/indent: test several options '-P'
|
#
1.11 |
|
29-Oct-2021 |
rillig |
indent: clean up main_init_globals
No functional change.
|
#
1.10 |
|
29-Oct-2021 |
rillig |
indent: spell 'parentheses' properly in messages and comments
|
#
1.9 |
|
28-Oct-2021 |
rillig |
indent: parse option '-cli' strictly
|
#
1.8 |
|
24-Oct-2021 |
rillig |
indent: clean up format of warnings and errors
Previously, warnings and errors had the form of C block comments. Before NetBSD io.c 1.20 from 2019-10-19, this format made sense because the diagnostics could end up in the same output stream as the formatted output.
Since NetBSD io.c 1.20 from 2019-10-19, all diagnostics are redirected to stderr. This change was not mentioned in the commit message back then, it makes sense nevertheless. Since stdout and stderr now are properly separated, there is no need anymore to keep the weird format for warnings and errors. Switch to the standard 'error: file:line' format.
Move the function 'diag' to indent.c to have access to the name of the current input file.
|
#
1.7 |
|
24-Oct-2021 |
rillig |
indent: fix line number counting at beginning of function body
|
#
1.6 |
|
24-Oct-2021 |
rillig |
indent/tests: demonstrate wrong line number counting
|
#
1.5 |
|
23-Oct-2021 |
rillig |
tests/indent: migrate remaining tests from t_indent to t_options
The test types_from_file was a subset of opt_U and thus has been removed.
|
#
1.4 |
|
22-Oct-2021 |
rillig |
tests/indent: migrate integer options tests to t_options
|
#
1.3 |
|
22-Oct-2021 |
rillig |
tests/indent: migrate a few more tests to t_options
|
#
1.2 |
|
14-Oct-2021 |
rillig |
tests/indent: cover more error cases and inline indentation
|
#
1.1 |
|
14-Oct-2021 |
rillig |
tests/indent: provide full line coverage for argument handling
|
#
1.20 |
|
22-Apr-2022 |
rillig |
indent: remove FreeBSD IDs
Most of the IDs were empty anyway.
|
#
1.19 |
|
25-Nov-2021 |
rillig |
tests/indent: use escape sequence for newline characters
No functional change.
|
#
1.18 |
|
25-Nov-2021 |
rillig |
tests/indent: test in-place formatting with parse errors
The file gets formatted until the end, despite the parse error. This may destroy layout details of the code but usually preserves the overall structure. Since all source code is supposed to be under version control, this is not a problem.
|
#
1.17 |
|
20-Nov-2021 |
rillig |
indent: clean up lint annotation and tests
|
#
1.16 |
|
19-Nov-2021 |
rillig |
tests/indent: refine and extend tests
|
#
1.15 |
|
07-Nov-2021 |
rillig |
indent: fix handling of C99 comments after 'if (expr)'
|
#
1.14 |
|
07-Nov-2021 |
rillig |
indent: demonstrate controlled buffer overflow in C99 comment
|
#
1.13 |
|
07-Nov-2021 |
rillig |
tests/indent: test options without '-' in profile files
|
#
1.12 |
|
30-Oct-2021 |
rillig |
tests/indent: test several options '-P'
|
#
1.11 |
|
29-Oct-2021 |
rillig |
indent: clean up main_init_globals
No functional change.
|
#
1.10 |
|
29-Oct-2021 |
rillig |
indent: spell 'parentheses' properly in messages and comments
|
#
1.9 |
|
28-Oct-2021 |
rillig |
indent: parse option '-cli' strictly
|
#
1.8 |
|
24-Oct-2021 |
rillig |
indent: clean up format of warnings and errors
Previously, warnings and errors had the form of C block comments. Before NetBSD io.c 1.20 from 2019-10-19, this format made sense because the diagnostics could end up in the same output stream as the formatted output.
Since NetBSD io.c 1.20 from 2019-10-19, all diagnostics are redirected to stderr. This change was not mentioned in the commit message back then, it makes sense nevertheless. Since stdout and stderr now are properly separated, there is no need anymore to keep the weird format for warnings and errors. Switch to the standard 'error: file:line' format.
Move the function 'diag' to indent.c to have access to the name of the current input file.
|
#
1.7 |
|
24-Oct-2021 |
rillig |
indent: fix line number counting at beginning of function body
|
#
1.6 |
|
24-Oct-2021 |
rillig |
indent/tests: demonstrate wrong line number counting
|
#
1.5 |
|
23-Oct-2021 |
rillig |
tests/indent: migrate remaining tests from t_indent to t_options
The test types_from_file was a subset of opt_U and thus has been removed.
|
#
1.4 |
|
22-Oct-2021 |
rillig |
tests/indent: migrate integer options tests to t_options
|
#
1.3 |
|
22-Oct-2021 |
rillig |
tests/indent: migrate a few more tests to t_options
|
#
1.2 |
|
14-Oct-2021 |
rillig |
tests/indent: cover more error cases and inline indentation
|
#
1.1 |
|
14-Oct-2021 |
rillig |
tests/indent: provide full line coverage for argument handling
|
#
1.19 |
|
25-Nov-2021 |
rillig |
tests/indent: use escape sequence for newline characters
No functional change.
|
#
1.18 |
|
25-Nov-2021 |
rillig |
tests/indent: test in-place formatting with parse errors
The file gets formatted until the end, despite the parse error. This may destroy layout details of the code but usually preserves the overall structure. Since all source code is supposed to be under version control, this is not a problem.
|
#
1.17 |
|
20-Nov-2021 |
rillig |
indent: clean up lint annotation and tests
|
#
1.16 |
|
19-Nov-2021 |
rillig |
tests/indent: refine and extend tests
|
#
1.15 |
|
07-Nov-2021 |
rillig |
indent: fix handling of C99 comments after 'if (expr)'
|
#
1.14 |
|
07-Nov-2021 |
rillig |
indent: demonstrate controlled buffer overflow in C99 comment
|
#
1.13 |
|
07-Nov-2021 |
rillig |
tests/indent: test options without '-' in profile files
|
#
1.12 |
|
30-Oct-2021 |
rillig |
tests/indent: test several options '-P'
|
#
1.11 |
|
29-Oct-2021 |
rillig |
indent: clean up main_init_globals
No functional change.
|
#
1.10 |
|
29-Oct-2021 |
rillig |
indent: spell 'parentheses' properly in messages and comments
|
#
1.9 |
|
28-Oct-2021 |
rillig |
indent: parse option '-cli' strictly
|
#
1.8 |
|
24-Oct-2021 |
rillig |
indent: clean up format of warnings and errors
Previously, warnings and errors had the form of C block comments. Before NetBSD io.c 1.20 from 2019-10-19, this format made sense because the diagnostics could end up in the same output stream as the formatted output.
Since NetBSD io.c 1.20 from 2019-10-19, all diagnostics are redirected to stderr. This change was not mentioned in the commit message back then, it makes sense nevertheless. Since stdout and stderr now are properly separated, there is no need anymore to keep the weird format for warnings and errors. Switch to the standard 'error: file:line' format.
Move the function 'diag' to indent.c to have access to the name of the current input file.
|
#
1.7 |
|
24-Oct-2021 |
rillig |
indent: fix line number counting at beginning of function body
|
#
1.6 |
|
24-Oct-2021 |
rillig |
indent/tests: demonstrate wrong line number counting
|
#
1.5 |
|
23-Oct-2021 |
rillig |
tests/indent: migrate remaining tests from t_indent to t_options
The test types_from_file was a subset of opt_U and thus has been removed.
|
#
1.4 |
|
22-Oct-2021 |
rillig |
tests/indent: migrate integer options tests to t_options
|
#
1.3 |
|
22-Oct-2021 |
rillig |
tests/indent: migrate a few more tests to t_options
|
#
1.2 |
|
14-Oct-2021 |
rillig |
tests/indent: cover more error cases and inline indentation
|
#
1.1 |
|
14-Oct-2021 |
rillig |
tests/indent: provide full line coverage for argument handling
|
#
1.17 |
|
20-Nov-2021 |
rillig |
indent: clean up lint annotation and tests
|
#
1.16 |
|
19-Nov-2021 |
rillig |
tests/indent: refine and extend tests
|
#
1.15 |
|
07-Nov-2021 |
rillig |
indent: fix handling of C99 comments after 'if (expr)'
|
#
1.14 |
|
07-Nov-2021 |
rillig |
indent: demonstrate controlled buffer overflow in C99 comment
|
#
1.13 |
|
07-Nov-2021 |
rillig |
tests/indent: test options without '-' in profile files
|
#
1.12 |
|
30-Oct-2021 |
rillig |
tests/indent: test several options '-P'
|
#
1.11 |
|
29-Oct-2021 |
rillig |
indent: clean up main_init_globals
No functional change.
|
#
1.10 |
|
29-Oct-2021 |
rillig |
indent: spell 'parentheses' properly in messages and comments
|
#
1.9 |
|
28-Oct-2021 |
rillig |
indent: parse option '-cli' strictly
|
#
1.8 |
|
24-Oct-2021 |
rillig |
indent: clean up format of warnings and errors
Previously, warnings and errors had the form of C block comments. Before NetBSD io.c 1.20 from 2019-10-19, this format made sense because the diagnostics could end up in the same output stream as the formatted output.
Since NetBSD io.c 1.20 from 2019-10-19, all diagnostics are redirected to stderr. This change was not mentioned in the commit message back then, it makes sense nevertheless. Since stdout and stderr now are properly separated, there is no need anymore to keep the weird format for warnings and errors. Switch to the standard 'error: file:line' format.
Move the function 'diag' to indent.c to have access to the name of the current input file.
|
#
1.7 |
|
24-Oct-2021 |
rillig |
indent: fix line number counting at beginning of function body
|
#
1.6 |
|
24-Oct-2021 |
rillig |
indent/tests: demonstrate wrong line number counting
|
#
1.5 |
|
23-Oct-2021 |
rillig |
tests/indent: migrate remaining tests from t_indent to t_options
The test types_from_file was a subset of opt_U and thus has been removed.
|
#
1.4 |
|
22-Oct-2021 |
rillig |
tests/indent: migrate integer options tests to t_options
|
#
1.3 |
|
22-Oct-2021 |
rillig |
tests/indent: migrate a few more tests to t_options
|
#
1.2 |
|
14-Oct-2021 |
rillig |
tests/indent: cover more error cases and inline indentation
|
#
1.1 |
|
14-Oct-2021 |
rillig |
tests/indent: provide full line coverage for argument handling
|
#
1.15 |
|
07-Nov-2021 |
rillig |
indent: fix handling of C99 comments after 'if (expr)'
|
#
1.14 |
|
07-Nov-2021 |
rillig |
indent: demonstrate controlled buffer overflow in C99 comment
|
#
1.13 |
|
07-Nov-2021 |
rillig |
tests/indent: test options without '-' in profile files
|
#
1.12 |
|
30-Oct-2021 |
rillig |
tests/indent: test several options '-P'
|
#
1.11 |
|
29-Oct-2021 |
rillig |
indent: clean up main_init_globals
No functional change.
|
#
1.10 |
|
29-Oct-2021 |
rillig |
indent: spell 'parentheses' properly in messages and comments
|
#
1.9 |
|
28-Oct-2021 |
rillig |
indent: parse option '-cli' strictly
|
#
1.8 |
|
24-Oct-2021 |
rillig |
indent: clean up format of warnings and errors
Previously, warnings and errors had the form of C block comments. Before NetBSD io.c 1.20 from 2019-10-19, this format made sense because the diagnostics could end up in the same output stream as the formatted output.
Since NetBSD io.c 1.20 from 2019-10-19, all diagnostics are redirected to stderr. This change was not mentioned in the commit message back then, it makes sense nevertheless. Since stdout and stderr now are properly separated, there is no need anymore to keep the weird format for warnings and errors. Switch to the standard 'error: file:line' format.
Move the function 'diag' to indent.c to have access to the name of the current input file.
|
#
1.7 |
|
24-Oct-2021 |
rillig |
indent: fix line number counting at beginning of function body
|
#
1.6 |
|
24-Oct-2021 |
rillig |
indent/tests: demonstrate wrong line number counting
|
#
1.5 |
|
23-Oct-2021 |
rillig |
tests/indent: migrate remaining tests from t_indent to t_options
The test types_from_file was a subset of opt_U and thus has been removed.
|
#
1.4 |
|
22-Oct-2021 |
rillig |
tests/indent: migrate integer options tests to t_options
|
#
1.3 |
|
22-Oct-2021 |
rillig |
tests/indent: migrate a few more tests to t_options
|
#
1.2 |
|
14-Oct-2021 |
rillig |
tests/indent: cover more error cases and inline indentation
|
#
1.1 |
|
14-Oct-2021 |
rillig |
tests/indent: provide full line coverage for argument handling
|
#
1.12 |
|
30-Oct-2021 |
rillig |
tests/indent: test several options '-P'
|
#
1.11 |
|
29-Oct-2021 |
rillig |
indent: clean up main_init_globals
No functional change.
|
#
1.10 |
|
29-Oct-2021 |
rillig |
indent: spell 'parentheses' properly in messages and comments
|
#
1.9 |
|
28-Oct-2021 |
rillig |
indent: parse option '-cli' strictly
|
#
1.8 |
|
24-Oct-2021 |
rillig |
indent: clean up format of warnings and errors
Previously, warnings and errors had the form of C block comments. Before NetBSD io.c 1.20 from 2019-10-19, this format made sense because the diagnostics could end up in the same output stream as the formatted output.
Since NetBSD io.c 1.20 from 2019-10-19, all diagnostics are redirected to stderr. This change was not mentioned in the commit message back then, it makes sense nevertheless. Since stdout and stderr now are properly separated, there is no need anymore to keep the weird format for warnings and errors. Switch to the standard 'error: file:line' format.
Move the function 'diag' to indent.c to have access to the name of the current input file.
|
#
1.7 |
|
24-Oct-2021 |
rillig |
indent: fix line number counting at beginning of function body
|
#
1.6 |
|
24-Oct-2021 |
rillig |
indent/tests: demonstrate wrong line number counting
|
#
1.5 |
|
23-Oct-2021 |
rillig |
tests/indent: migrate remaining tests from t_indent to t_options
The test types_from_file was a subset of opt_U and thus has been removed.
|
#
1.4 |
|
22-Oct-2021 |
rillig |
tests/indent: migrate integer options tests to t_options
|
#
1.3 |
|
22-Oct-2021 |
rillig |
tests/indent: migrate a few more tests to t_options
|
#
1.2 |
|
14-Oct-2021 |
rillig |
tests/indent: cover more error cases and inline indentation
|
#
1.1 |
|
14-Oct-2021 |
rillig |
tests/indent: provide full line coverage for argument handling
|
#
1.9 |
|
28-Oct-2021 |
rillig |
indent: parse option '-cli' strictly
|
#
1.8 |
|
24-Oct-2021 |
rillig |
indent: clean up format of warnings and errors
Previously, warnings and errors had the form of C block comments. Before NetBSD io.c 1.20 from 2019-10-19, this format made sense because the diagnostics could end up in the same output stream as the formatted output.
Since NetBSD io.c 1.20 from 2019-10-19, all diagnostics are redirected to stderr. This change was not mentioned in the commit message back then, it makes sense nevertheless. Since stdout and stderr now are properly separated, there is no need anymore to keep the weird format for warnings and errors. Switch to the standard 'error: file:line' format.
Move the function 'diag' to indent.c to have access to the name of the current input file.
|
#
1.7 |
|
24-Oct-2021 |
rillig |
indent: fix line number counting at beginning of function body
|
#
1.6 |
|
24-Oct-2021 |
rillig |
indent/tests: demonstrate wrong line number counting
|
#
1.5 |
|
23-Oct-2021 |
rillig |
tests/indent: migrate remaining tests from t_indent to t_options
The test types_from_file was a subset of opt_U and thus has been removed.
|
#
1.4 |
|
22-Oct-2021 |
rillig |
tests/indent: migrate integer options tests to t_options
|
#
1.3 |
|
22-Oct-2021 |
rillig |
tests/indent: migrate a few more tests to t_options
|
#
1.2 |
|
14-Oct-2021 |
rillig |
tests/indent: cover more error cases and inline indentation
|
#
1.1 |
|
14-Oct-2021 |
rillig |
tests/indent: provide full line coverage for argument handling
|
#
1.8 |
|
24-Oct-2021 |
rillig |
indent: clean up format of warnings and errors
Previously, warnings and errors had the form of C block comments. Before NetBSD io.c 1.20 from 2019-10-19, this format made sense because the diagnostics could end up in the same output stream as the formatted output.
Since NetBSD io.c 1.20 from 2019-10-19, all diagnostics are redirected to stderr. This change was not mentioned in the commit message back then, it makes sense nevertheless. Since stdout and stderr now are properly separated, there is no need anymore to keep the weird format for warnings and errors. Switch to the standard 'error: file:line' format.
Move the function 'diag' to indent.c to have access to the name of the current input file.
|
#
1.7 |
|
24-Oct-2021 |
rillig |
indent: fix line number counting at beginning of function body
|
#
1.6 |
|
24-Oct-2021 |
rillig |
indent/tests: demonstrate wrong line number counting
|
#
1.5 |
|
23-Oct-2021 |
rillig |
tests/indent: migrate remaining tests from t_indent to t_options
The test types_from_file was a subset of opt_U and thus has been removed.
|
#
1.4 |
|
22-Oct-2021 |
rillig |
tests/indent: migrate integer options tests to t_options
|
#
1.3 |
|
22-Oct-2021 |
rillig |
tests/indent: migrate a few more tests to t_options
|
#
1.2 |
|
14-Oct-2021 |
rillig |
tests/indent: cover more error cases and inline indentation
|
#
1.1 |
|
14-Oct-2021 |
rillig |
tests/indent: provide full line coverage for argument handling
|
#
1.5 |
|
23-Oct-2021 |
rillig |
tests/indent: migrate remaining tests from t_indent to t_options
The test types_from_file was a subset of opt_U and thus has been removed.
|
#
1.4 |
|
22-Oct-2021 |
rillig |
tests/indent: migrate integer options tests to t_options
|
#
1.3 |
|
22-Oct-2021 |
rillig |
tests/indent: migrate a few more tests to t_options
|
#
1.2 |
|
14-Oct-2021 |
rillig |
tests/indent: cover more error cases and inline indentation
|
#
1.1 |
|
14-Oct-2021 |
rillig |
tests/indent: provide full line coverage for argument handling
|
#
1.4 |
|
22-Oct-2021 |
rillig |
tests/indent: migrate integer options tests to t_options
|
#
1.3 |
|
22-Oct-2021 |
rillig |
tests/indent: migrate a few more tests to t_options
|
#
1.2 |
|
14-Oct-2021 |
rillig |
tests/indent: cover more error cases and inline indentation
|
#
1.1 |
|
14-Oct-2021 |
rillig |
tests/indent: provide full line coverage for argument handling
|
#
1.2 |
|
14-Oct-2021 |
rillig |
tests/indent: cover more error cases and inline indentation
|
#
1.1 |
|
14-Oct-2021 |
rillig |
tests/indent: provide full line coverage for argument handling
|