Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rename mandoc_getarg() to roff_getarg() and pass it the roff parser | Ingo Schwarze | 2018-12-21 | 1 | -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 -width | Ingo Schwarze | 2017-07-16 | 1 | -1/+1 |
| | |||||
* | warn about some non-portable idioms in .Bl -column; | Ingo Schwarze | 2017-06-29 | 1 | -4/+7 |
| | | | | triggered by a question from Yuri Pankov (illumos) | ||||
* | Now that markdown output is tested for almost everything, test all | Ingo Schwarze | 2017-03-08 | 1 | -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 rows | Ingo Schwarze | 2017-03-08 | 1 | -1/+1 |
| | |||||
* | enable -T markdown tests of filled displays and tagged lists | Ingo Schwarze | 2017-03-08 | 1 | -4/+5 |
| | |||||
* | Escape blanks at the end of markdown lines | Ingo Schwarze | 2017-03-07 | 1 | -1/+1 |
| | | | | such that they don't look like output line breaks. | ||||
* | first batch of -T markdown tests | Ingo Schwarze | 2017-03-05 | 1 | -0/+5 |
| | |||||
* | new regression tests for mdoc_macro.c revs. 1.211-1.215 | Ingo Schwarze | 2017-02-11 | 1 | -3/+8 |
| | |||||
* | Finally port the OpenBSD regression suite. | Ingo Schwarze | 2017-02-08 | 1 | -0/+38 |
Both kristaps@ and wiz@ repeated asked for this, literally for years. |