CVS log for mandoc/regress/regress.pl

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

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.16 / (download) - annotate - [select for diffs], Sun Sep 19 12:15:34 2021 UTC (2 years, 7 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_14_6, HEAD
Changes since 1.15: +7 -6 lines
Diff to previous 1.15 (unified) to selected 1.12 (unified)

do not use the sed(1) -i option, it is not portable;
issue found on Oracle Solaris 11

Revision 1.15 / (download) - annotate - [select for diffs], Tue Jul 21 15:14:20 2020 UTC (3 years, 9 months ago) by schwarze
Branch: MAIN
Changes since 1.14: +4 -3 lines
Diff to previous 1.14 (unified) to selected 1.12 (unified)

adjust test framework to not require a tty

Revision 1.14 / (download) - annotate - [select for diffs], Fri Mar 13 15:32:31 2020 UTC (4 years, 1 month ago) by schwarze
Branch: MAIN
Changes since 1.13: +61 -29 lines
Diff to previous 1.13 (unified) to selected 1.12 (unified)

Split tagging into a validation part including prioritization
in tag.{h,c} and {mdoc,man}_validate.c
and into a formatting part including command line argument checking
in term_tag.{h,c}, html.c, and {mdoc|man}_{term|html}.c.

Immediate functional benefits include:
* Improved prioritization of automatic tags for .Em and .Sy.
* Avoiding bogus automatic tags when .Em, .Fn, or .Sy are explicitly tagged.
* Explicit tagging of .Er and .Fl now works in HTML output.
* Automatic tagging of .IP and .TP now works in HTML output.
But mainly, this patch provides clean earth to build further improvements on.

Technical changes:
* Main program: Write a tag file for ASCII and UTF-8 output only.
* All formatters: There is no more need to delay writing the tags.
* mdoc(7)+man(7) formatters: No more need for elaborate syntax tree inspection.
* HTML formatter: If available, use the "string" attribute as the tag.
* HTML formatter: New function to write permalinks, to reduce code duplication.

Style cleanup in the vicinity while here:
* mdoc(7) terminal formatter: To set up bold font for children,
defer to termp_bold_pre() rather than calling term_fontpush() manually.
* mdoc(7) terminal formatter: Garbage collect some duplicate functions.
* mdoc(7) HTML formatter: Unify <code> handling, delete redundant functions.
* Where possible, use switch statements rather than if cascades.
* Get rid of some more Yoda notation.

The necessity for such changes was first discussed with kn@, but i didn't
bother him with a request to review the resulting -673/+782 line patch.

Revision 1.13 / (download) - annotate - [select for diffs], Wed Jan 8 10:37:53 2020 UTC (4 years, 3 months ago) by schwarze
Branch: MAIN
Changes since 1.12: +2 -3 lines
Diff to previous 1.12 (unified)

Simplify maintainer targets in OpenBSD: EQN and TBL variables
no longer exist and NROFF/NOPTS were replaced with GROFF/GOPTS.
This doesn't change how things work in the protable version
of the test suite.

Revision 1.12 / (download) - annotate - [selected], Tue Sep 3 18:19:37 2019 UTC (4 years, 7 months ago) by schwarze
Branch: MAIN
Changes since 1.11: +6 -3 lines
Diff to previous 1.11 (unified)

adapt to new <p> output logic (html.c rev. 1.260)

Revision 1.11 / (download) - annotate - [select for diffs], Mon Jul 1 22:56:26 2019 UTC (4 years, 10 months ago) by schwarze
Branch: MAIN
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (unified) to selected 1.12 (unified)

delete trailing whitespace and space-tab sequences; no code change;
patch from Michal Nowak <mnowak at startmail dot com>
who found these with git pbchk in the illumos tree

Revision 1.10 / (download) - annotate - [select for diffs], Sun Mar 10 09:23:33 2019 UTC (5 years, 1 month ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_14_5
Changes since 1.9: +2 -1 lines
Diff to previous 1.9 (unified) to selected 1.12 (unified)

Automatically detect whether diff(1) supports the -a option.
Useful on illumos and on Oracle Solaris, where it doesn't.
Patch written based on a report from Sevan Janiyan.

Revision 1.9 / (download) - annotate - [select for diffs], Sun Dec 16 00:17:04 2018 UTC (5 years, 4 months ago) by schwarze
Branch: MAIN
Changes since 1.8: +12 -10 lines
Diff to previous 1.8 (unified) to selected 1.12 (unified)

Yet another round of improvements to manual font selection.

Unify handling of \f and .ft.
Support \f4 (bold+italic).
Support ".ft BI" and ".ft CW" for terminal output.
Support the .ft request in HTML output.
Reject the bogus fonts \f(C1, \f(C2, \f(C3, and \f(CP.
In regress.pl, only strip leading whitespace in math mode.

Revision 1.8 / (download) - annotate - [select for diffs], Tue Jul 18 18:47:06 2017 UTC (6 years, 9 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_14_4, VERSION_1_14_3, VERSION_1_14_2
Changes since 1.7: +230 -180 lines
Diff to previous 1.7 (unified) to selected 1.12 (unified)

Run the regression tests iteratively rather than recursively.
Simpler user interface, better summary output, simpler code,
and slightly faster.
Inspired by espie@'s request to avoid needless recursive make(1)
in the OpenBSD regression testing tree.

Revision 1.7 / (download) - annotate - [select for diffs], Tue Jul 4 15:24:36 2017 UTC (6 years, 9 months ago) by schwarze
Branch: MAIN
Changes since 1.6: +7 -7 lines
Diff to previous 1.6 (unified) to selected 1.12 (unified)

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.6 / (download) - annotate - [select for diffs], Tue May 30 19:30:40 2017 UTC (6 years, 11 months ago) by schwarze
Branch: MAIN
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (unified) to selected 1.12 (unified)

STYLE message about useless macros we don't want (Bt Tn Ud);
not a WARNING because they don't endanger portability

Revision 1.5 / (download) - annotate - [select for diffs], Wed Mar 8 22:54:22 2017 UTC (7 years, 1 month ago) by schwarze
Branch: MAIN
Changes since 1.4: +9 -4 lines
Diff to previous 1.4 (unified) to selected 1.12 (unified)

Now that markdown output is tested for almost everything, test all
input files in -T markdown output mode by default and only mark
those files with SKIP_MARKDOWN that are not to be tested.
Much easier to read, and almost minus 40 lines of Makefile code.

Revision 1.4 / (download) - annotate - [select for diffs], Sun Mar 5 19:57:39 2017 UTC (7 years, 1 month ago) by schwarze
Branch: MAIN
Changes since 1.3: +33 -5 lines
Diff to previous 1.3 (unified) to selected 1.12 (unified)

Infrastructure for -T markdown tests.

This is needed because -T marksdown is expected to receive less
maintenance than -T ascii, so we need automation to make sure
that regular parser maintenance doesn't break this output mode.

Revision 1.3 / (download) - annotate - [select for diffs], Thu Feb 9 15:34:28 2017 UTC (7 years, 2 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_14_1, VERSION_1_13
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (unified) to selected 1.12 (unified)

Escape literal braces in a regular expression.
Deprecated perlre(1) syntax reported by Thomas Klausner and Sevan Janiyan.

Revision 1.2 / (download) - annotate - [select for diffs], Wed Feb 8 16:56:15 2017 UTC (7 years, 2 months ago) by schwarze
Branch: MAIN
Changes since 1.1: +10 -6 lines
Diff to previous 1.1 (unified) to selected 1.12 (unified)

On some systems (e.g. Solaris 11) diff(1) does not support -a.
Make it easier to get rid of it.

Revision 1.1 / (download) - annotate - [select for diffs], Wed Feb 8 03:02:13 2017 UTC (7 years, 2 months ago) by schwarze
Branch: MAIN
Diff to selected 1.12 (unified)

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