The NetBSD Project

CVS log for src/tests/usr.bin/indent/indent_off_on.c

[BACK] Up to [cvs.NetBSD.org] / src / tests / usr.bin / indent

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.8 / (download) - annotate - [select for diffs], Sun Apr 24 09:04:12 2022 UTC (9 months, 1 week ago) by rillig
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10, HEAD
Changes since 1.7: +41 -41 lines
Diff to previous 1.7 (colored)

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.7 / (download) - annotate - [select for diffs], Fri Apr 22 21:21:20 2022 UTC (9 months, 1 week ago) by rillig
Branch: MAIN
Changes since 1.6: +1 -2 lines
Diff to previous 1.6 (colored)

indent: remove FreeBSD IDs

Most of the IDs were empty anyway.

Revision 1.6 / (download) - annotate - [select for diffs], Thu Nov 25 17:10:53 2021 UTC (14 months ago) by rillig
Branch: MAIN
Changes since 1.5: +7 -11 lines
Diff to previous 1.5 (colored)

indent: fix heuristic for declaration/definition to post-1990 reality

Revision 1.5 / (download) - annotate - [select for diffs], Sat Nov 20 11:13:18 2021 UTC (14 months, 1 week ago) by rillig
Branch: MAIN
Changes since 1.4: +2 -1 lines
Diff to previous 1.4 (colored)

tests/indent: normalize empty lines in tests

Revision 1.4 / (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.3: +53 -5 lines
Diff to previous 1.3 (colored)

tests/indent: refine and extend tests

Revision 1.3 / (download) - annotate - [select for diffs], Tue Oct 19 21:21:07 2021 UTC (15 months, 1 week ago) by rillig
Branch: MAIN
Changes since 1.2: +19 -1 lines
Diff to previous 1.2 (colored)

indent: use simpler code for copying the input buffer

In debug mode, this reduces the amount of debug output lines.

No functional change in default mode.

Revision 1.2 / (download) - annotate - [select for diffs], Tue Oct 19 20:41:42 2021 UTC (15 months, 1 week ago) by rillig
Branch: MAIN
Changes since 1.1: +80 -1 lines
Diff to previous 1.1 (colored)

tests/indent: move tests for indent comments

The special INDENT ON and INDENT OFF comments look like ordinary
comments but are handled in inbuf_read_line. Implementing this feature
in the input function has several unintended side effects regarding
indentation of these comments, as demonstrated by the tests.

Revision 1.1 / (download) - annotate - [select for diffs], Tue Oct 19 20:20:25 2021 UTC (15 months, 1 week ago) by rillig
Branch: MAIN

tests/indent: add test for INDENT OFF/ON comments

Just to prevent unintended side effects when fixing bugs in this area.

This form allows you to request diff's 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.




CVSweb <webmaster@jp.NetBSD.org>