summaryrefslogtreecommitdiffstats
path: root/regress/mdoc/Bl/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Introduce the concept of nodes that are semantically transparent:Ingo Schwarze2020-02-271-2/+2
| | | | | | | | | | | | | | they are skipped when looking for previous or following high-level macros. Examples include roff(7) .ft, .ll, and .ta, mdoc(7) .Sm and .Tg, and man(7) .DT and .PD. Use this concept for a variety of improved decisions in various validators and formatters. While here, * remove a few const qualifiers on struct arguments that caused trouble; * get rid of some more Yoda notation in the vicinity; * and apply some other stylistic improvements in the vicinity. I found this class of issues while considering .Tg patches from kn@.
* Rename mandoc_getarg() to roff_getarg() and pass it the roff parserIngo Schwarze2018-12-211-2/+2
| | | | | | | | | | | | | | | | | | 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-161-1/+1
|
* warn about some non-portable idioms in .Bl -column;Ingo Schwarze2017-06-291-4/+7
| | | | triggered by a question from Yuri Pankov (illumos)
* 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-081-1/+1
|
* enable -T markdown tests of filled displays and tagged listsIngo Schwarze2017-03-081-4/+5
|
* 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-051-0/+5
|
* new regression tests for mdoc_macro.c revs. 1.211-1.215Ingo Schwarze2017-02-111-3/+8
|
* Finally port the OpenBSD regression suite.Ingo Schwarze2017-02-081-0/+38
Both kristaps@ and wiz@ repeated asked for this, literally for years.