summaryrefslogtreecommitdiffstats
path: root/regress/tbl
Commit message (Collapse)AuthorAgeFilesLines
* new test for an empty text block; from rea@ via bapt@ (FreeBSD)Ingo Schwarze2019-07-183-2/+44
|
* Do not access a NULL pointer if a table contains a horizontal lineIngo Schwarze2019-06-113-2/+99
| | | | | | next to a table line having fewer columns than the table as a whole. Bug found by Stephen Gregoratto <dev at sgregoratto dot me> with aerc-config(5).
* Since resetting of offsets works quite differently in man(7) and mdoc(7),Ingo Schwarze2019-01-313-2/+29
| | | | | test table centering in an mdoc(7) document as well. Related to tbl_term.c rev. 1.67.
* It turns out association of tbl spans with layout rows is simpler thanIngo Schwarze2017-07-044-3/+48
| | | | i thought. Fixing a bug in curs_addch(3) and minus 25 lines of code.
* Messages of the -Wbase level now print STYLE:. Since thisIngo Schwarze2017-07-0440-70/+87
| | | | | | | | 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.
* test inter-column spacingIngo Schwarze2017-06-273-1/+33
|
* cope with changes in BASE messagesIngo Schwarze2017-06-259-9/+9
|
* style message about missing RCS ids; inspired by mdoclintIngo Schwarze2017-06-1721-15/+24
|
* tables leak tab settings to subsequent textIngo Schwarze2017-06-1711-0/+41
|
* Multiple tbl(7) improvements:Ingo Schwarze2017-06-165-3/+12052
| | | | | | | | | | | | * Do not discard data that lacks a matching layout cell but remains within the number of columns of the table as a whole. * Do not insert dummy data rows for any layout row starting with a horizontal line, but only for layout rows that would discard all the data on a matching non-empty data row. * Print horizontal lines specified in the layout even if there is no matching data cell. * Improve the logic for extending vertical lines to adjacent rows, for choosing cross marks versus line segments, and some related details.
* round default width of tbl(7) text blocks in the same way as groffIngo Schwarze2017-06-153-1/+166
|
* improve rounding rules for scaling unitsIngo Schwarze2017-06-141-1/+1
| | | | in horizontal orientation in the terminal formatter
* fix the interaction of the allbox option with spanned cells in the layoutIngo Schwarze2017-06-132-0/+18
|
* test the new allbox and wrapping featuresIngo Schwarze2017-06-125-1/+95
|
* Implement w layout specifier (minimum column width).Ingo Schwarze2017-06-083-1/+31
| | | | | Improve width calculation of text blocks. Reduces the groff/mandoc diff in Base+Xenocara by about 800 lines.
* Parser reorg:Ingo Schwarze2017-05-042-3/+3
| | | | | Generate the first node on the roff level: .br Fix some column numbers in diagnostic messages while here.
* When trying to expand some columns in a table where the sum of theIngo Schwarze2017-05-013-1/+39
| | | | | | | widths of the remaining columns is already wider than the line length, underflowing size_t and dying from ENOMEM is the wrong plan. Instead, simply refrain from expanding anything in such a situation, avoiding a crash that tb@ found with afl.
* Really commit some files that failed to get committed in this commit:Ingo Schwarze2017-03-091-0/+1
| | | | | | | Now that markdown output is tested for almost everything, test all 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.
* Finally port the OpenBSD regression suite.Ingo Schwarze2017-02-0854-0/+1329
Both kristaps@ and wiz@ repeated asked for this, literally for years.