summaryrefslogtreecommitdiffstats
path: root/regress/mdoc/Bl
Commit message (Collapse)AuthorAgeFilesLines
* Rename mandoc_getarg() to roff_getarg() and pass it the roff parserIngo Schwarze2018-12-214-2/+61
| | | | | | | | | | | | | | | | | | struct as an argument such that after copy-in, it can call roff_expand() once again, which used to be called roff_res() before this. This fixes a subtle low-level roff(7) parsing bug reported by Fabio Scotoni <fabio at esse dot ch> in the 4.4BSD-Lite2 mdoc.samples(7) manual page, because that page used an escaped escape sequence in a macro argument. To expand escaped escape sequences in quoted mdoc(7) arguments, too, stop bypassing the call to roff_getarg() in mdoc_argv.c, function args() for this case. This does not solve the case of escaped escape sequences in quoted .Bl -column phrases yet. Because roff_expand() can make the string longer, roff_getarg() can no longer operate in-place but needs to malloc(3) the returned string. In the high-level parsers, free(3) that string after processing it.
* test -diag -width and -inset -widthIngo Schwarze2017-07-169-12/+20
|
* Messages of the -Wbase level now print STYLE:. Since thisIngo Schwarze2017-07-04111-283/+270
| | | | | | | | 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.
* warn about some non-portable idioms in .Bl -column;Ingo Schwarze2017-06-297-8/+74
| | | | triggered by a question from Yuri Pankov (illumos)
* cope with changes in BASE messagesIngo Schwarze2017-06-2514-28/+42
|
* style message about missing RCS ids; inspired by mdoclintIngo Schwarze2017-06-1714-0/+14
|
* improve rounding rules for scaling unitsIngo Schwarze2017-06-144-10/+10
| | | | in horizontal orientation in the terminal formatter
* Style message about legacy man(7) date format in mdoc(7) documentsIngo Schwarze2017-06-1114-0/+14
| | | | | and operating system dependent messages about missing or unexpected Mdocdate; inspired by mdoclint(1).
* style message about missing blank before trailing delimiter;Ingo Schwarze2017-06-106-18/+18
| | | | inspired by mdoclint(1), and jmc@ considers it useful
* Now that markdown output is tested for almost everything, test allIngo Schwarze2017-03-081-6/+4
| | | | | | 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.
* .Bl -column never gets blank lines between rowsIngo Schwarze2017-03-083-1/+94
|
* add two result files that were forgottenIngo Schwarze2017-03-081-0/+42
|
* enable -T markdown tests of filled displays and tagged listsIngo Schwarze2017-03-0814-4/+817
|
* Escape blanks at the end of markdown linesIngo Schwarze2017-03-071-1/+1
| | | | such that they don't look like output line breaks.
* first batch of -T markdown testsIngo Schwarze2017-03-0515-0/+409
|
* Surprisingly, groff does not support scaling units in .Bl -columnIngo Schwarze2017-02-161-1/+1
| | | | | | column width specifiers, so stop supporting them, too. As a side effect, this fixes an assertion failure that tb@ found with afl(1), triggered by: .Bl -column -4n
* new regression tests for mdoc_macro.c revs. 1.211-1.215Ingo Schwarze2017-02-113-3/+34
|
* Finally port the OpenBSD regression suite.Ingo Schwarze2017-02-0876-0/+2938
| | | | | Both kristaps@ and wiz@ repeated asked for this, literally for years.
* Move the regression suite to the attic.Ingo Schwarze2014-03-032-79/+0
| | | | | | | It has not been used or maintained for several years, and we won't start using it now. Devlopment regression testing is done in OpenBSD, and there is no value in maintaining two regression suites in parallel.
* Cached `Bl -offset' into mdoc_bl. Removed erroneous "-offset defaultsKristaps Dzonsons2010-06-121-0/+15
| | | | | to 6n if no value is specified" and added regression tests for `Bl' testing against the empty -offset argument.
* Add a basic regression test for .Bl -bullet and the various interactionsJoerg Sonnenberger2010-05-161-0/+64
with .Bd.