Up to [cvs.NetBSD.org] / src / tests / usr.bin / indent
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.20 / (download) - annotate - [select for diffs], Fri Apr 22 21:21:20 2022 UTC (9 months ago) by rillig
Branch: MAIN
CVS Tags: netbsd-10-base,
netbsd-10,
HEAD
Changes since 1.19: +1 -3
lines
Diff to previous 1.19 (colored)
indent: remove FreeBSD IDs Most of the IDs were empty anyway.
Revision 1.19 / (download) - annotate - [select for diffs], Thu Nov 25 21:45:28 2021 UTC (14 months ago) by rillig
Branch: MAIN
Changes since 1.18: +2 -4
lines
Diff to previous 1.18 (colored)
tests/indent: use escape sequence for newline characters No functional change.
Revision 1.18 / (download) - annotate - [select for diffs], Thu Nov 25 21:39:21 2021 UTC (14 months ago) by rillig
Branch: MAIN
Changes since 1.17: +20 -1
lines
Diff to previous 1.17 (colored)
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.
Revision 1.17 / (download) - annotate - [select for diffs], Sat Nov 20 09:59:53 2021 UTC (14 months ago) by rillig
Branch: MAIN
Changes since 1.16: +2 -2
lines
Diff to previous 1.16 (colored)
indent: clean up lint annotation and tests
Revision 1.16 / (download) - annotate - [select for diffs], Fri Nov 19 22:24:29 2021 UTC (14 months, 1 week ago) by rillig
Branch: MAIN
Changes since 1.15: +21 -1
lines
Diff to previous 1.15 (colored)
tests/indent: refine and extend tests
Revision 1.15 / (download) - annotate - [select for diffs], Sun Nov 7 19:18:56 2021 UTC (14 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.14: +1 -19
lines
Diff to previous 1.14 (colored)
indent: fix handling of C99 comments after 'if (expr)'
Revision 1.14 / (download) - annotate - [select for diffs], Sun Nov 7 19:04:46 2021 UTC (14 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.13: +19 -1
lines
Diff to previous 1.13 (colored)
indent: demonstrate controlled buffer overflow in C99 comment
Revision 1.13 / (download) - annotate - [select for diffs], Sun Nov 7 15:01:50 2021 UTC (14 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.12: +17 -1
lines
Diff to previous 1.12 (colored)
tests/indent: test options without '-' in profile files
Revision 1.12 / (download) - annotate - [select for diffs], Sat Oct 30 09:32:46 2021 UTC (14 months, 3 weeks ago) by rillig
Branch: MAIN
Changes since 1.11: +16 -1
lines
Diff to previous 1.11 (colored)
tests/indent: test several options '-P'
Revision 1.11 / (download) - annotate - [select for diffs], Fri Oct 29 19:22:55 2021 UTC (14 months, 4 weeks ago) by rillig
Branch: MAIN
Changes since 1.10: +14 -1
lines
Diff to previous 1.10 (colored)
indent: clean up main_init_globals No functional change.
Revision 1.10 / (download) - annotate - [select for diffs], Fri Oct 29 16:54:51 2021 UTC (14 months, 4 weeks ago) by rillig
Branch: MAIN
Changes since 1.9: +2 -2
lines
Diff to previous 1.9 (colored)
indent: spell 'parentheses' properly in messages and comments
Revision 1.9 / (download) - annotate - [select for diffs], Thu Oct 28 21:02:05 2021 UTC (14 months, 4 weeks ago) by rillig
Branch: MAIN
Changes since 1.8: +4 -8
lines
Diff to previous 1.8 (colored)
indent: parse option '-cli' strictly
Revision 1.8 / (download) - annotate - [select for diffs], Sun Oct 24 17:19:49 2021 UTC (15 months ago) by rillig
Branch: MAIN
Changes since 1.7: +7 -7
lines
Diff to previous 1.7 (colored)
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.
Revision 1.7 / (download) - annotate - [select for diffs], Sun Oct 24 16:51:44 2021 UTC (15 months ago) by rillig
Branch: MAIN
Changes since 1.6: +5 -3
lines
Diff to previous 1.6 (colored)
indent: fix line number counting at beginning of function body
Revision 1.6 / (download) - annotate - [select for diffs], Sun Oct 24 16:46:12 2021 UTC (15 months ago) by rillig
Branch: MAIN
Changes since 1.5: +21 -1
lines
Diff to previous 1.5 (colored)
indent/tests: demonstrate wrong line number counting
Revision 1.5 / (download) - annotate - [select for diffs], Sat Oct 23 21:45:14 2021 UTC (15 months ago) by rillig
Branch: MAIN
Changes since 1.4: +120 -1
lines
Diff to previous 1.4 (colored)
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.
Revision 1.4 / (download) - annotate - [select for diffs], Fri Oct 22 20:54:36 2021 UTC (15 months ago) by rillig
Branch: MAIN
Changes since 1.3: +20 -1
lines
Diff to previous 1.3 (colored)
tests/indent: migrate integer options tests to t_options
Revision 1.3 / (download) - annotate - [select for diffs], Fri Oct 22 19:27:53 2021 UTC (15 months ago) by rillig
Branch: MAIN
Changes since 1.2: +83 -1
lines
Diff to previous 1.2 (colored)
tests/indent: migrate a few more tests to t_options
Revision 1.2 / (download) - annotate - [select for diffs], Thu Oct 14 18:55:41 2021 UTC (15 months, 1 week ago) by rillig
Branch: MAIN
Changes since 1.1: +23 -1
lines
Diff to previous 1.1 (colored)
tests/indent: cover more error cases and inline indentation
Revision 1.1 / (download) - annotate - [select for diffs], Thu Oct 14 17:42:13 2021 UTC (15 months, 1 week ago) by rillig
Branch: MAIN
tests/indent: provide full line coverage for argument handling