Up to [cvsweb.bsd.lv] / mandoc / regress / roff / nr
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.4 / (download) - annotate - [select for diffs], Fri Jan 3 16:34:13 2025 UTC (6 months, 1 week ago) by schwarze
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +9 -7 lines
Diff to previous 1.3 (colored)
Rudimentatary implementation of the read-only number register \(.l, which is supposed to contain the line length in basic units, by setting it to a constant width of 78 characters, no matter what the output width (-O width) is actually set to. This occurs in man(7) code produced by DocBook XSL, for example in DocBook XSL version 1.79.2, and hence it shows up in real-world manual pages. For example, tb@ reported finding it in git-reset(1) last year. Of course, setting this register to a constant value defeats the very purpose the register is supposed to serve in the first place. However, the most fundamental design principle of mandoc(1) is that the parse tree is independent of the output mode. That's not merely a technical restriction but helps to make sure that the *content* of documentation shown to the user does not depend on the output mode. So allowing this register to depend on the "-O width" argument would result in a layering violation that might, in the worst case, cause a reliability issue.
Revision 1.3 / (download) - annotate - [select for diffs], Sat Oct 24 22:57:41 2020 UTC (4 years, 8 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_14_6
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)
Treat \*[.T] in the same way as \*(.T rather than calling abort(3). Bug found because the groff-current manual pages started using the variant form of this predefined string.
Revision 1.2 / (download) - annotate - [select for diffs], Tue Jul 4 15:26:41 2017 UTC (8 years ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_14_5,
VERSION_1_14_4,
VERSION_1_14_3,
VERSION_1_14_2
Changes since 1.1: +2 -1 lines
Diff to previous 1.1 (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.1 / (download) - annotate - [select for diffs], Wed Feb 8 03:03:24 2017 UTC (8 years, 5 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.