Up to [cvsweb.bsd.lv] / mandoc / regress / roff / nr
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: MAIN
Revision 1.4 / (download) - annotate - [select for diffs], Wed Feb 6 21:11:48 2019 UTC (5 years, 4 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_14_6,
VERSION_1_14_5,
HEAD
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)
Let roff_getname() end the roff identifier at a tab character and audit all its callers whether termination is handled correctly. Resulting improvements: * An escape or tab ending the macro name in a macro invocation is discarded, and argument processing is started after it. * An escape or tab ending a name in ".if d" and ".if r" is preserved. * An escape ending a name in ".ds" causes the whole request to be ignored. * A tab ending a name in ".ds" becomes part of the string. * An escape or tab ending a name in ".rm" causes the rest of the line to be ignored. * An escape or tab ending the first name in ".als", ".rn", or ".nr" causes the whole request to be ignored. Kurt Jaeger <pi at FreeBSD> made me aware of https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=235456#c0 and in that bug report, comment 0 item (3) is a special case of this class of issues. Yes, the "mh" manual pages are no doubt among the worst on the planet.
Revision 1.3 / (download) - annotate - [select for diffs], Tue Apr 10 00:52:31 2018 UTC (6 years, 2 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_14_4
Changes since 1.2: +1 -1 lines
Diff to previous 1.2 (colored)
Two new low-level roff(7) features: * .nr optional third argument (auto-increment step size) * \n+ and \n- numerical register auto-increment and -decrement bentley@ reported on Dec 9, 2013 that lang/sbcl(1) uses these.
Revision 1.2 / (download) - annotate - [select for diffs], Mon Apr 9 22:27:05 2018 UTC (6 years, 2 months ago) by schwarze
Branch: MAIN
Changes since 1.1: +1 -1 lines
Diff to previous 1.1 (colored)
When accessing an undefined number register, define it to be zero, like the previous commit for strings and macros, only technically simpler. Desired behaviour also mentioned by Werner Lemberg in 2011. This diff adds functionality but is -21 +19 LOC. :-)
Revision 1.1 / (download) - annotate - [select for diffs], Wed Feb 8 03:03:24 2017 UTC (7 years, 4 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_14_3,
VERSION_1_14_2,
VERSION_1_14_1,
VERSION_1_13
Finally port the OpenBSD regression suite. Both kristaps@ and wiz@ repeated asked for this, literally for years.