CVS log for mandoc/regress/roff/string/name.out_lint

[BACK] Up to [cvsweb.bsd.lv] / mandoc / regress / roff / string

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.9 / (download) - annotate - [select for diffs], Sun Jun 5 13:54:17 2022 UTC (2 years ago) by schwarze
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +1 -1 lines
Diff to previous 1.8 (colored)

With the improved escape sequence parser, it becomes easy to also improve
diagnostics.  Distinguish "incomplete escape sequence", "invalid special
character", and "unknown special character" from the generic "invalid
escape sequence", also promoting them from WARNING to ERROR because
incomplete escape sequences are severe syntax violations and because
encountering an invalid or unknown special character makes it likely
that part of the document content intended by the authors gets lost.

Revision 1.8 / (download) - annotate - [select for diffs], Fri Jun 3 12:16:02 2022 UTC (2 years ago) by schwarze
Branch: MAIN
Changes since 1.7: +16 -15 lines
Diff to previous 1.7 (colored)

During identifier parsing, handle undefined escape sequences
in the same way as groff:
* \\ is always reduced to \
* \. is always reduced to .
* other undefined escape sequences are usually reduced to the escape name,
for example \G to G, except during the expansion of expanding escape
sequences having the standard argument form (in particular \* and \n),
in which case the backslash is preserved literally.

Yes, this is confusing indeed.
For example, the following have the same meaning:
* .ds \.   and   .ds .     which is not the same as   .ds \\.
* \*[\.]   and   \*[.]     which is not the same as   \*[\\.]
* .ds \G   and   .ds G     which is not the same as   .ds \\G
* \*[\G]   and   \*[\\G]   which is not the same as   \*[G]   <- sic!

To feel less dirty, have a leaning toothpick, if you are so inclined.

This patch also slightly improves the string shown by the "escaped
character not allowed in a name" error message.

Revision 1.7 / (download) - annotate - [select for diffs], Thu May 19 15:38:00 2022 UTC (2 years ago) by schwarze
Branch: MAIN
Changes since 1.6: +0 -1 lines
Diff to previous 1.6 (colored)

remove a bogus warning that went away as a side effect
of the roff_expand() reorganization in roff.c rev. 1.388

Revision 1.6 / (download) - annotate - [select for diffs], Thu Jul 6 23:00:01 2017 UTC (6 years, 11 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_14_6, VERSION_1_14_5, VERSION_1_14_4, VERSION_1_14_3, VERSION_1_14_2
Changes since 1.5: +7 -7 lines
Diff to previous 1.5 (colored)

Now that we have the -Wstyle message level, downgrade six warnings
that are not syntax mistakes and that do not cause wrong formatting
or content to style suggestions.
Also upgrade two warnings that may cause information loss to errors.

Revision 1.5 / (download) - annotate - [select for diffs], Tue Jul 4 15:26:48 2017 UTC (6 years, 11 months ago) by schwarze
Branch: MAIN
Changes since 1.4: +17 -20 lines
Diff to previous 1.4 (colored)

Messages of the -Wbase level now print STYLE:.  Since this
causes horrible churn anyway, profit of the opportunity to stop
excessive testing, such that this is hopefully the last instance
of such churn.  Consistently use OpenBSD RCS tags, blank .Os,
blank fourth .TH argument, and Mdocdate like everywhere else.
Use -Ios=OpenBSD for platform-independent predictable output.

Revision 1.4 / (download) - annotate - [select for diffs], Sun Jun 25 12:53:50 2017 UTC (6 years, 11 months ago) by schwarze
Branch: MAIN
Changes since 1.3: +3 -2 lines
Diff to previous 1.3 (colored)

cope with changes in BASE messages

Revision 1.3 / (download) - annotate - [select for diffs], Sat Jun 17 22:45:53 2017 UTC (7 years ago) by schwarze
Branch: MAIN
Changes since 1.2: +1 -0 lines
Diff to previous 1.2 (colored)

style message about missing RCS ids; inspired by mdoclint

Revision 1.2 / (download) - annotate - [select for diffs], Sun Jun 11 19:45:34 2017 UTC (7 years ago) by schwarze
Branch: MAIN
Changes since 1.1: +1 -0 lines
Diff to previous 1.1 (colored)

Style message about legacy man(7) date format in mdoc(7) documents
and operating system dependent messages about missing or unexpected
Mdocdate; inspired by mdoclint(1).

Revision 1.1 / (download) - annotate - [select for diffs], Wed Feb 8 03:03:28 2017 UTC (7 years, 4 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_14_1, VERSION_1_13

Finally port the OpenBSD regression suite.
Both kristaps@ and wiz@ repeated asked for this,
literally for years.

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