summaryrefslogtreecommitdiff
path: root/regress/usr.bin/mandoc
AgeCommit message (Collapse)Author
2018-04-10Two new low-level roff(7) features:Ingo Schwarze
* .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.
2018-04-09When accessing an undefined number register, define it to be zero, likeIngo Schwarze
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. :-)
2018-04-09Using an undefined string or macro will cause it to be defined as empty.Ingo Schwarze
Observed by Werner Lemberg on Nov 14, 2011 and rotting on my TODO list ever since.
2018-02-23Logically, the following are are type names - just like .Vt,Ingo Schwarze
some of them with an optional variable name following: - .Ft - .Fa in the SYNOPSIS - .Fn second and later arguments in the SYNOPSIS So add these to the .Vt macro table in the mandoc.db(5) database. During my LibreSSL work, i'm getting really tired of typing $ man -k Vt,Ft,Fa=some_type_name over and over again; now, this becomes just: $ man -k Vt=some_type_name
2018-02-07fix wrong dateIngo Schwarze
2018-02-06Delete the "no blank before trailing delimiter" check from theIngo Schwarze
partial explicit macros. Leah Neukirchen <leah at vuxu dot org> rightfully points out that the check makes no sense for these macros.
2018-01-13catch up with how formatting of long links was changedIngo Schwarze
in both groff and mandoc
2017-08-23eliminate white space after opening and before closing punctuationIngo Schwarze
2017-08-23Suppress spacing before certain kinds of lists.Ingo Schwarze
One benefit is a reduced probablity that a blank appears between a function name and the opening parenthesis introducing the arguments. The heuristics isn't perfect and may occasionally suppress a blank that wouldn't do harm.
2017-08-23Improve ASCII rendering of a few rare character escape sequencesIngo Schwarze
that can be changed unilaterally because groff fails to render them at all.
2017-08-23Catch up with mansearch.c rev. 1.60: When finding a bogus databaseIngo Schwarze
entry, print a meaningful warning and skip the entry. The tests now require the actual manual pages to be around in addition to the database, they find more results and print more warnings.
2017-08-23catch up with ASCII renderings in chars.c rev. 1.42Ingo Schwarze
2017-08-08Mandoc no longer uses names that only occur in the SYNOPSIS.Alexander Bluhm
Adapt test. OK schwarze@
2017-07-28fix dateIngo Schwarze
2017-07-28Do not test .Xr here. It is not what this directory should focus on,Ingo Schwarze
and it is causing too much trouble in -portable.
2017-07-20Avoid cross reference to mandoc(1) because it may cause a messageIngo Schwarze
on other operating systems where mandoc is not installed, causing the test to fail in the portable test suite.
2017-07-16fix datesIngo Schwarze
2017-07-16test -diag -width and -inset -widthIngo Schwarze
2017-07-15Catch up with eqn.c rev. 1.41 by bentley@:Ingo Schwarze
Print the right character for mathematical overbar.
2017-07-14adapt to hex format of character entities,Ingo Schwarze
committed by bentley@ in html.c rev. 1.86
2017-07-07Remove all references to "make depend" from regress.Alexander Bluhm
2017-07-07add parentheses to the output where required for disambiguationIngo Schwarze
2017-07-06Now that we have the -Wstyle message level, downgrade six warningsIngo Schwarze
that are not syntax mistakes and that do not cause wrong formatting or content to style suggestions. Also upgrade two warnings that may cause information loss to errors.
2017-07-06fix dateIngo Schwarze
2017-07-06Fix operator precedence according to Brian W. Kernighan and LorindaIngo Schwarze
L. Cherry, "Typesetting Mathematics - User's Guide (Second Edition)", August 15, 1978, paragraph 23; swarm of bugs pointed out by bentley@.
2017-07-04Fix handling of \} on roff request lines.Ingo Schwarze
Cures bogus error messages in pages generated with pod2man(1).
2017-07-04It turns out association of tbl spans with layout rows is simpler thanIngo Schwarze
i thought. Fixing a bug in curs_addch(3) and minus 25 lines of code.
2017-07-04Messages of the -Wbase level now print STYLE:. Since thisIngo Schwarze
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.
2017-06-29warn about some non-portable idioms in .Bl -column;Ingo Schwarze
triggered by a question from Yuri Pankov (illumos)
2017-06-27test inter-column spacingIngo Schwarze
2017-06-27warn about .Ns macros that have no effect because they are followedIngo Schwarze
by an isolated closing delimiter; inspired by mdoclint
2017-06-26catch up with the recent eqn(7) improvementsIngo Schwarze
2015-01-01eqn(7) testsIngo Schwarze
2017-06-25test new MT macroIngo Schwarze
2017-06-25cope with changes in BASE messagesIngo Schwarze
2017-06-25add some empty targets that were missingIngo Schwarze
2017-06-18Implement appending to standard man(7) and mdoc(7) macros with .am.Ingo Schwarze
With roff_getstrn(), provide finer control which definitions can be used for what: * All definitions can be used for .if d tests and .am appending. * User-defined for \* expansion, .dei expansion, and macro calling. * Predefined for \* expansion. * Standard macros, original or renamed, for macro calling. Several related improvements while here: * Do not return string table entries that have explicitly been removed. * Do not create a rentab entry when trying to rename a non-existent macro. * Clear an existing rentab entry when the external interface roff_setstr() is called with its name. * Avoid trailing blanks in macro lines generated from renamed and from aliased macros. * Delete the duplicate __m*_reserved[] tables, just use roff_name[].
2017-06-17churn related to the new style message about RCS idsIngo Schwarze
2017-06-17if .in is used inside the .TP head, it's always relativeIngo Schwarze
2017-06-17tables leak tab settings to subsequent textIngo Schwarze
2017-06-17correct handling of blank lines after \cIngo Schwarze
2017-06-16Multiple tbl(7) improvements:Ingo Schwarze
* 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.
2017-06-15round default width of tbl(7) text blocks in the same way as groffIngo Schwarze
2017-06-14implement so-called absolute horizontal motion: \h'|...',Ingo Schwarze
used for example by zoem(1)
2017-06-14Naive implementation of the roff(7) .po (page offset) request.Ingo Schwarze
This clearly works when .po is called on the top level, but might not be sophisticated enough if people call .po inside indentation-changing contexts, but i haven't seen that in manual pages (yet :).
2017-06-14add the \(ru (0.5m baseline ruler) character escape sequence,Ingo Schwarze
abused by mail/nmh; groff_char(7) confirms that this really exists
2017-06-14let \l use the right fill characterIngo Schwarze
2017-06-14improve rounding rules for scaling unitsIngo Schwarze
in horizontal orientation in the terminal formatter
2017-06-14implement the roff(7) d (macro or string defined) conditionalIngo Schwarze
2017-06-14implement the roff(7) \p (break output line) escape sequenceIngo Schwarze