[BACK]Return to NEWS CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc

Annotation of mandoc/NEWS, Revision 1.16

1.16    ! schwarze    1: $Id: NEWS,v 1.15 2017/02/10 15:45:28 schwarze Exp $
1.1       schwarze    2:
                      3: This file lists the most important changes in the mdocml.bsd.lv distribution.
1.13      schwarze    4:
1.14      schwarze    5: Changes in version 1.14.1, released on February XXX, 2017
1.13      schwarze    6:
                      7:     --- MAJOR NEW FEATURES ---
                      8:  * apropos(1): Reimplement complete semantic search functionality
                      9:    without the dependency on SQLite3, using only POSIX APIs.
                     10:    This comes with a completely new mandoc.db(5) file format.
                     11:  * man(1): Support more than one tag entry for the same search term,
                     12:    plus some minor improvements to the less(1) :t support.
                     13:  * -Thtml: Use real macro names for CSS classes.
                     14:    Systematic cleanup of and many improvements to mandoc.css.
                     15:  * -Thtml: Produce human readable HTML code by using indentation
                     16:    and better line breaks.  Improve various HTML elements,
                     17:    and trim several useless ones.
                     18:  * New catman(8) utility, still somewhat experimental.
1.14      schwarze   19:  * Now includes a portable version of the OpenBSD mandoc regression
                     20:    suite, see regress/regress.pl.1 for details.
1.13      schwarze   21:     --- REMOVED FUNCTIONALITY ---
                     22:  * Operating systems that don't provide mmap(3) are no longer supported.
                     23:  * Drop support for manpath(1).  Even if your system has manpath(1),
                     24:    it is simpler to use MANPATH_DEFAULT in configure.local for
                     25:    operating system defaults, man.conf(5) for machine-specific
                     26:    modifications, and ${MANPATH}, -m, and -M for user preferences
                     27:    than to bother with the complexity of manpath(1).
                     28:  * makewhatis(8) -p: No longer warn about missing MLINKS since these
                     29:    are no longer needed for anything.
                     30:     --- MINOR NEW FEATURES ---
                     31:  * mdoc(7): Warn about invalid punctuation and content below NAME.
                     32:  * mdoc(7): Warn about .Xr lacking the second argument (section).
                     33:  * mdoc(7): Warn about violations of the rule "new sentence, new line".
                     34:  * roff(7): Warn about trailing whitespace at the end of comments.
                     35:  * mdoc(7): Always do text production in the validator, never in the
                     36:    formatters.  Cleaner, simpler, shorter, helps NetBSD apropos(1)
                     37:    and also makes -Ttree output more useful.
1.15      schwarze   38:  * -Ttree: Show metadata and some additional node flags.
                     39:    New -Onoval output option to show the unvalidated tree.
1.13      schwarze   40:     --- RELIABILITY BUGFIXES ---
                     41:  * man(1): Make "man -l" work with standard input from a pipe or file,
                     42:    as long as standard output is a terminal.
                     43:  * mdoc(7): Fix out of bounds read access for .Bl without a type
                     44:    but with a width.
                     45:  * mdoc(7): Fix out of bounds read access for .Bl -column starting
                     46:    with a tab character instead of a child .It macro.
                     47:  * mdoc(7): Fix syntax tree corruption leading to segfaults caused
                     48:    by stray block end macros in nested blocks of mismatching type.
                     49:  * man(1): Fix NULL dereference when the first of multiple pages
                     50:    shown was preformatted.
                     51:  * mdoc(7): Fix syntax tree corruption leading to NULL dereference
                     52:    for macro sequences like .Bl .Bl .It Bo .El .It.
1.15      schwarze   53:  * mdoc(7): Fix syntax tree corruption leading to NULL dereference
1.13      schwarze   54:    caused by .Ta following a nested .Bl -column breaking another block.
1.16    ! schwarze   55:  * mdoc(7): Fix syntax tree corruption sometimes leading to NULL
        !            56:    dereference caused by indirectly broken .Nm blocks in the SYNOPSIS.
1.13      schwarze   57:  * mdoc(7) -Thtml: Fix a NULL dereference for .Bl -column with 0 columns.
                     58:  * mdoc(7): Fix NULL dereference if the only child of the head
                     59:    of the first .Sh was an empty in-line macro.
                     60:  * mdoc(7): Fix an assertion failure for a .Bd without a type that
                     61:    breaks another block.
                     62:  * mdoc(7): Fix an assertion failure caused by .Bl -column without .It
                     63:    but containing eqn(7) or tbl(7) code.
                     64:  * roff(7): Fix an assertion failure caused by \z\[u00FF] with -Tps/-Tpdf.
                     65:  * roff(7): Fix an assertion failures caused by whitespace inside \o''
                     66:    (overstrike) sequences.
                     67:  * -Thtml: Fix an assertion failure caused by -Oman or -Oincludes of
                     68:    excessive length.
                     69:     --- PORTABILITY IMPROVEMENTS ---
                     70:  * man(1): Do not mix stdio narrow and wide stream orientation
                     71:    on stdout, which could cause output corruption on glibc.
                     72:  * mandoc(1): Autodetect a suitable locale for -Tutf8 mode.
                     73:  * Autodetect whether PATH_MAX is defined.
                     74:  * Autodetect if nanosleep(3) needs -lrt.
                     75:  * Put compiler arguments that may contain -l at the end.
                     76:     --- MINOR BUGFIXES ---
                     77:  * mdoc(7): Fix SYNOPSIS output if the first child of .Nm is a macro.
                     78:  * mdoc(7) -Thtml: Improve formatting of .Bl -tag with short tags.
                     79:  * man(7) -Thtml: Preserve whitespace in .nf (nofill) mode.
                     80:  * mandoc(1): Error out on invalid output options on the command line.
                     81:     --- STRUCTURAL CHANGES, no functional change ---
                     82:  * Redesign part of the mandoc_html(3) interfaces, making them much
                     83:    easier to use and reducing the amount of code by a few hundred lines.
                     84:     --- THANKS TO ---
                     85:  * Michael Stapelberg (Debian) for designing the new mandocd(8)
                     86:    and parts of the new catman(8), and for a number of patches
                     87:    and bug reports.
                     88:  * Baptiste Daroussin (FreeBSD) for profiling the new makewhatis(8)
                     89:    implementation and suggesting an algorithmic improvement which
                     90:    more than doubled performance, and for a few bug reports.
                     91:  * Ed Maste (FreeBSD) for an important patch improving reproducibility
                     92:    of builds in makewhatis(8), and for a few bug reports.
                     93:  * Theo Buehler (OpenBSD) for more than ten important bug reports,
                     94:    most of them found by systematic afl(1) fuzzing.
                     95:  * Benny Lofgren, David Dahlberg, and in particular Vadim Zhukov
                     96:    for crucial help in getting .Bl -tag CSS formatting fixed.
                     97:  * Svyatoslav Mishyn (Crux Linux) for an initial version of the
                     98:    patch to autodetect a suitable locale for -Tutf8 mode.
                     99:  * Jason McIntyre (OpenBSD) for multiple useful discussions
                    100:    and a number of bug reports.
                    101:  * Alexander Bluhm, Andrew Fresh, Antoine Jacoutot, Antony Bentley,
                    102:    Christian Weisgerber, Jonathan Gray, Marc Espie, Martijn van Duren,
                    103:    Stuart Henderson, Ted Unangst, Theo de Raadt (OpenBSD), Abhinav
                    104:    Upadhyay, Christos Zoulas, Kamil Rytarowski, Sevan Janiyan,
                    105:    Thomas Klausner (NetBSD), Aaron M. Ucko, Bdale Garbee, Reiner
1.15      schwarze  106:    Herrmann, Shane Kerr (Debian), Leah Neukirchen (Void Linux),
1.13      schwarze  107:    Daniel Sabogal (Alpine Linux), Yuri Pankov (illumos),
                    108:    Carsten Kunze (Heirloom roff), Kristaps Dzonsons (bsd.lv),
                    109:    Anton Lindqvist, Jan Stary, Jeremy A. Mates, Mark Patruck,
                    110:    Pavan Maddamsetti, Sean Levy <attila@stalphonsos.com>, and
                    111:    Tiago Silva for bug reports.
                    112:  * Brent Cook, Marc Espie, Philip Guenther, Todd Miller (OpenBSD)
                    113:    and Markus Waldeck for useful discussions.
                    114:  * And as usual, OpenCSW for providing me with a Solaris 9/10/11
                    115:    testing environment.
1.11      schwarze  116:
1.12      schwarze  117: Changes in version 1.13.4, released on July 14, 2016
1.11      schwarze  118:
                    119:     --- MAJOR NEW FEATURES ---
                    120:  * man.conf(5): Design and implement a simpler configuration file format.
                    121:  * man(1): Leverage less(1) -T and :t in a way resembling ctags(1)
                    122:    to jump to the definitions of various terms inside manual pages.
                    123:  * soelim(1): New implementation by Baptiste Daroussin.
1.12      schwarze  124:  * privilege limitation: Use OpenBSD pledge(2) or OS X sandbox_init(3)
                    125:    when available.
                    126:  * man.cgi(8): Support short URIs like http://man.openbsd.org/mdoc .
1.11      schwarze  127:  * mandoc.css: Use one unified stylesheet rather than three different ones.
                    128:     --- MAJOR FUNCTIONALLY RELEVANT BUGFIXES ---
                    129:  * mdoc(7): Fix multiple aspects of SYNOPSIS .Nm formatting.
                    130:  * man(1): Fix process group handling, avoiding unclean shutdowns.
                    131:     --- PORTABILITY IMPROVEMENTS ---
                    132:  * Correctly use the ohash(3) compatibility implementation
                    133:    even when building without SQLite support.
                    134:  * Add compat glue for building on Solaris 9 and 10.
                    135:  * Let ./configure select a supported RE syntax for word boundaries.
1.12      schwarze  136:  * Support LDFLAGS, to be used for example for hardening options.
                    137:  * Avoid mixing putchar(3) and putwchar(3) on the same file descriptor,
                    138:    it resulted in output corruption on some platforms.
1.11      schwarze  139:  * Avoid reusing va_lists, use va_copy(3) for better portability.
                    140:  * Do not hardcode the path to the more(1) program.
                    141:     --- MINOR NEW FEATURES ---
                    142:  * roff(7): Implement \n(.$ (number of macro arguments).
                    143:  * roff(7): Fully implement \z (do not advance cursor).
                    144:  * roff(7): Implement the `r'  conditional (register exists).
                    145:  * roff(7): Implement \\$* (interpolate all arguments).
                    146:  * roff(7): Parse and ignore \, and \/ (italic corrections).
                    147:  * When there is no -m, no -M, no MANPATH and no /etc/man.conf,
                    148:    fall back to /usr/share/man:/usr/X11R6/man:/usr/local/man.
                    149:  * man(1): Give manuals in purely numerical sections priority over
                    150:    manuals of the same name in sections with an alphabetical suffix.
                    151:  * man.cgi(8): Support "header.html" and "footer.html".
                    152:  * man.cgi(8): Set the "autofocus" attribute on the query text box.
                    153:  * man.cgi(8): Simplify the search form, drop two useless buttons.
1.12      schwarze  154:  * man.cgi(8): Delete the pseudo-manpath "mandoc", assume that
                    155:    apropos(1) and man.cgi(8) are installed in the default manpath.
1.11      schwarze  156:     --- RELIABILITY BUGFIXES ---
                    157:  * mdoc(7): Avoid a use after free and an assertion failure when nodes
                    158:    are deleted during validation.
                    159:  * mdoc(7): Avoid a NULL pointer access when .Bd has no arguments.
                    160:  * mdoc(7): Avoid a NULL pointer access triggered by mismatching end macros.
                    161:  * mdoc(7): Avoid an assertion when .Fo has no argument.
                    162:  * mdoc(7): Avoid an assertion when .Ta<tab> occurs in .Bl -column.
                    163:  * mdoc(7): Avoid an assertion when a body gets broken and has a tail.
                    164:  * roff(7): Avoid an assertion caused by blanks inside \o.
1.12      schwarze  165:  * roff(7): Make .so links to gziped manuals work without mandoc.db(5).
1.11      schwarze  166:  * tbl(7): Avoid a use after free when the last line of a layout is empty.
                    167:  * eqn(7): Avoid an infinite loop caused by recursive "define".
                    168:  * makewhatis(8): Avoid a segfault caused by unusual directory structures.
                    169:  * Fix handling of leading, trailing, and double colons in MANPATH and -m.
                    170:     --- MINOR BUGFIXES ---
                    171:  * mdoc(7): Put arguments to end macros of broken partial explicit blocks
                    172:    inside the breaking block.
                    173:  * mdoc(7): Let .Dv force normal font.
                    174:  * mdoc(7): Make trailing whitespace significant in .Bl -tag widths.
                    175:  * mdoc(7): Fix macro interpretation around tabs in .Bl -column.
                    176:  * man(7): Use the default width for .RS without arguments.
                    177:  * man(7): On a new RS nesting level, the saved width starts from
                    178:    the default width, not from the saved width of the previous level.
                    179:  * man(7): Allow .PD in next-line scope.
                    180:  * man(7): Improve handling of empty .HP.
                    181:  * man(7): Improve formatting of .br and .sp inside .HP.
                    182:  * man(7): Do not mistreat empty arguments to font alternating
                    183:    macros as vertical spacing requests.
                    184:  * man(7): Allow fill mode changes in tagged paragraph next-line scope.
                    185:  * man(7): Fix minor bugs in block rewinding and simplify the related code.
                    186:  * man(7): Add missing line breaks before subsection headers.
                    187:  * man(7): Give section and subsection headers hanging indentation.
                    188:  * man(7): Make trailing whitespace significant in .TP widths.
                    189:  * roff(7): Don't allow breaking the output line after hyphens
                    190:    that immediately follow escape sequences.
                    191:  * roff(7): Ignore blank characters at the beginning of conditional blocks.
                    192:  * roff(7): Escape breakable hyphens only after handling input line traps.
                    193:  * roff(7): Reject \[uD800] to \[uDFFF] (surrogates) in the parser.
                    194:  * tbl(7): Allow more than one data field after T} on the same input line.
                    195:  * terminal output: Apply bold and italic to non-ASCII Unicode codepoints.
                    196:  * terminal output: Improve rounding rules for horizontal scaling widths.
                    197:  * HTML output: Render ASCII_NBRSP as "&nbsp;", not "-".
                    198:  * man(1): Do not match the first part of a name if it continues with a dot.
                    199:  * man(1): Keep working even if the current directory is unusable.
                    200:  * man(1): Better error message when $PAGER is invalid.
                    201:  * makewhatis(8): Improve handling of .Va and .Vt macros.
                    202:  * apropos(1): Print "nothing appropriate" to stderr when appropriate.
                    203:  * apropos(1): Abort with a useful error message when elementary
                    204:    database operations like preparing queries or binding variables fail.
                    205:     --- STRUCTURAL CHANGES, no functional change ---
                    206:  * mdoc(7) and man(7): Unified data structures struct roff_node etc.
                    207:  * mdoc(7) and man(7): Unified node handling library in roff.c.
                    208:  * mdoc(7) and man(7): Seperate validation phase from parsing.
1.12      schwarze  209:  * roff(7): Major character table cleanup.
1.11      schwarze  210:  * Link with libz rather than forking gunzip(1).
                    211:     --- THANKS TO ---
1.12      schwarze  212:  * Baptiste Daroussin (FreeBSD) for the new soelim(1)
                    213:    and for release testing.
1.11      schwarze  214:  * Anthony Bentley (OpenBSD) for unifying mandoc.css, two nice
                    215:    patches for man.cgi(8), some documentation patches, some bug
                    216:    reports, and various useful discussions.
                    217:  * Todd Miller (OpenBSD) for lots of help with process group and
                    218:    signal handling, a few patches, some bug reports and some useful
                    219:    discussions.
                    220:  * Jonathan Gray (OpenBSD) for yet more testing with afl(1)
                    221:    again resulting in more than half a dozen important bug reports.
1.12      schwarze  222:  * Svyatoslav Mishyn (Crux Linux) for some patches, several bug
                    223:    reports, and extensive release testing.
1.15      schwarze  224:  * Leah Neukirchen (Void Linux) for a number of compatibility
1.12      schwarze  225:    patches and suggestions and several bug reports.
1.11      schwarze  226:  * Christos Zoulas (NetBSD) for a bug fix patch and some useful
                    227:    suggestions for cleanup.
                    228:  * Florian Obser (OpenBSD) for a bugfix patch and some bug reports.
1.12      schwarze  229:  * Sevan Janiyan for help with Solaris compatibility and release
                    230:    testing on many platforms.
                    231:  * Jan Holzhueter and OpenCSW in general for help with Solaris
                    232:    compatibility, and for providing me with a Solaris 9/10/11 testing
                    233:    environment.
1.11      schwarze  234:  * Michael McConville (OpenBSD) for some simple cleanup patches.
1.12      schwarze  235:  * Thomas Klausner (NetBSD) for some bug reports and release testing.
1.11      schwarze  236:  * Christian Weisgerber, Dmitrij Czarkoff, Igor Sobrado,
1.12      schwarze  237:    Ken Westerback, Marc Espie, Mike Belopuhov, Rafael Neves,
                    238:    Ted Unangst, Tim van der Molen, Theo Buehler, Theo de Raadt
                    239:    (OpenBSD), Kurt Jaeger, Dag Erling Smoergrav (FreeBSD),
                    240:    Joerg Sonnenberger (NetBSD), Carsten Kunze (Heirloom troff),
                    241:    Daniel Levai, Fabian Raetz, Jan Stary, Jean-Yves Migeon,
1.11      schwarze  242:    Lorenzo Beretta, Markus Waldeck, Maxim Belooussov, Michael Reed,
                    243:    Peter Bray, and Serguey Parkhomovsky for bug reports and feature
                    244:    suggestions.
                    245:  * Alexander Hall, Andrew Fresh, Antoine Jacoutot, Doug Hogan,
                    246:    Jason McIntyre, Jasper Lievisse Adriaanse, Kent Spillner,
                    247:    Nicholas Marriott, Peter Hessler, Sebastien Marie, Stefan Sperling,
                    248:    and Theo de Raadt (OpenBSD) for helpful discussions and feedback.
1.9       schwarze  249:
                    250: Changes in version 1.13.3, released on March 13, 2015
                    251:
                    252:     --- MAJOR NEW FEATURES ---
                    253:  * When a manual is missing from an outdated database, let man(1)
                    254:    show it anyway, using a KISS file system lookup as a fallback.
                    255:  * Use this to always provide man(1), even without database support.
                    256:  * Fatal errors no longer exist.  If a file can be opened, mandoc
                    257:    will produce some output; at worst, the output may be almost empty.
                    258:  * New -Wunsupp message level.
                    259:     --- POTENTIONALLY SECURITY RELEVANT BUGFIXES ---
                    260:  * Fix a potential write buffer overrun on incomplete string conditionals.
                    261:    http://mdocml.bsd.lv/cgi-bin/cvsweb/roff.c#rev1.241
                    262:  * Fix a potential write buffer overrun on backslash at EOF in a conditional.
                    263:    http://mdocml.bsd.lv/cgi-bin/cvsweb/roff.c#rev1.247
                    264:  * Fix a use after free sometimes hit when validation deletes a block.
                    265:    http://mdocml.bsd.lv/cgi-bin/cvsweb/mdoc_macro.c#rev1.180
                    266:     --- MAJOR FUNCTIONALLY RELEVANT BUGFIXES ---
                    267:  * Let man(1) show manuals for the current architecture by default,
                    268:    and support the MACHINE environment variable.
                    269:  * Fix the man(1) and apropos(1) -m option, it didn't work at all.
                    270:  * Do not spawn a pager when there is no output.
                    271:  * In makewhatis(8), fix detection of hardlinked manuals on platforms
                    272:    having padding in struct inodev (typically 64bit platforms).
                    273:     --- PORTABILITY IMPROVEMENTS ---
                    274:  * Ignore O_CLOEXEC when the operating system doesn't provide it.
                    275:  * Avoid forward reference to enum type which violates ISO C99.
                    276:  * Support homebrew-style linking on Mac OS X.
                    277:     --- MINOR NEW FEATURES ---
                    278:  * lookup: Accept digit+letter and "n" as section names in man(1),
                    279:    and consistently handle digit+letter in file name extensions.
                    280:  * lookup: Speed up -s/-S by using the "mlinks" rather than the "keys" table.
                    281:  * output: Insert horizontal lines between formatted manual pages.
                    282:  * input: New stricter and more resilient UTF-8 parser.
                    283:  * mdoc(7): Refactor block rewinding for simpler and more robust parsing.
                    284:  * man(7): Use the -Ios option when .TH has less than four arguments.
                    285:  * tbl(7): Implement the "center" option.
                    286:  * tbl(7): New option and format parsers, improved in many respects.
                    287:  * roff(7): Basic implementation of the \o escape sequence (overstrike),
                    288:    and improved rendering of overstrikes in PostScript and PDF output.
                    289:  * Message improvements, in particular for, but not restricted to,
                    290:    eqn(7), tbl(7), and wrong numbers of arguments in mdoc(7) and man(7),
                    291:    in various cases also improving output generated by invalid input.
                    292:  * Delete the -V option.  It serves no purpose but keeps confusing people.
                    293:  * gmdiff: Minimal support for Heirloom roff.
                    294:     --- RELIABILITY BUGFIXES ---
                    295:  * tbl(7): Fix a read buffer overrun on 'f' at EOL in a layout.
                    296:  * roff(7): Fix a read buffer overrun on incomplete numerical conditions.
                    297:  * mdoc(7): Fix a NULL pointer access on .Nd followed by an explicit block.
                    298:  * mdoc(7): Fix a NULL pointer access on .It Xo without .Xc.
                    299:  * mdoc(7): Fix a NULL pointer access on .Eo without a tail.
                    300:  * mdoc(7): Fix a NULL pointer access in the validation of empty .St macros.
                    301:  * man(7)/tbl(7): Fix a NULL pointer access on .TS right after .TP.
                    302:  * tbl(7): Fix a NULL pointer access on layout lines without any cells.
                    303:  * eqn(7): Fix NULL pointer accesses in the terminal formatter.
                    304:  * roff(7): Fix a NULL pointer access on trailing \s-/\s+ without an argument.
                    305:  * gz: Fix a potential NULL pointer access after waitpid() failure.
                    306:  * roff(7): Don't let the modulo operator divide by zero.
                    307:  * input: Fix an assertion failure on certain invalid UTF-8 input.
                    308:  * terminal output: Allow arbitrary depth of the font stack (assertion fix).
                    309:  * mdoc(7): Fix assertion failures and endless loops on invalid block closing.
                    310:  * mdoc(7): Fix an assertion failure on .Bl .Sm not followed by .It.
                    311:  * mdoc(7): Fix an assertion failure on .Bl -column ... .El .Ta.
                    312:  * tbl(7): Fix assertion failures by macros inside table data,
                    313:    but do not throw away the macro arguments.
                    314:  * Prevent certain kinds of unreasonable input from producing excessive
                    315:    output, in one case caused by unsigned integer underflow.
                    316:  * Fix a potential memory leak in makewhatis(8) on very long filenames.
                    317:     --- MINOR BUGFIXES ---
                    318:  * mdoc(7): Fix parsing of badly nested blocks with multiple identical blocks.
                    319:  * mdoc(7): Support negative indentations for displays and lists.
                    320:  * mdoc(7): Don't mistreat negative .sp arguments as large positive ones.
                    321:  * mdoc(7): Some spacing fixes for .Eo/.Ec.
                    322:  * man(7): Support negative horizontal widths.
                    323:  * man(7): Do not print out invalid .IP arguments.
                    324:  * man(7): Correctly handle scaling units after .PD.
                    325:  * man(7): Support .RE with an argument.
                    326:  * man(7): Fix restoring indentation after .RS with large negative arguments.
                    327:  * tbl(7): Prevent tables from breaking the filling of preceding text.
                    328:  * tbl(7): Fix vertical spacing at the beginning of tables.
                    329:  * tbl(7): Parser and formatter fixes for line drawing and font modifiers.
                    330:  * tbl(7): Correct handling of blank data lines.
                    331:  * eqn(7): Add sometimes missing whitespace before equation output.
                    332:  * roff(7): Fix vertical scaling, most of it was wrong.
                    333:  * roff(7): Slightly improve \w width measurements.
                    334:  * roff(7): Accept the historic aliases \s10 to \s39 for \s(10 to \s(39.
                    335:  * roff(7): Correctly escape quotes when expanding macro arguments.
                    336:  * roff(7): Correctly handle scaling units in numerical expressions,
                    337:    and some other improvements to the parsing of numerical expressions.
                    338:  * roff(7): Three minor fixes with respect to evaluation of conditionals.
                    339:  * roff(7): Let .it accept numerical expressions, not just constants.
                    340:  * mandoc_char(7): Correct some character names and renderings.
1.10      schwarze  341:  * If earlier files set a non-zero exit status, never reset it to zero.
1.9       schwarze  342:     --- THANKS TO ---
                    343:  * Jonathan Gray (OpenBSD) for yet more testing with afl (the American
                    344:    Fuzzy Lop security fuzzer), again resulting in many bug reports.
                    345:  * Theo de Raadt (OpenBSD) for suggesting the main new feature (man(1) file
                    346:    system lookup) and for reporting an important bug (pager without output).
                    347:  * Theo Buehler for an important bug report (-s/-S slowness)
                    348:    and for proposing a nice new feature (lines between pages).
                    349:  * Jason McIntyre for an important bug report (hardlink detection)
                    350:    and multiple documentation patches.
                    351:  * Pascal Stumpf (OpenBSD) and Alessandro de Laurenzis for
                    352:    important bug reports (architecture and man -m, respectively).
                    353:  * Thomas Klausner (NetBSD) for proposing a new feature (man(7) -Ios),
                    354:    a bug report, and release testing.
                    355:  * Anthony Bentley, Daniel Dickman, Ted Unangst (OpenBSD) and
                    356:    Kristaps Dzonsons (bsd.lv) for source code patches and bug reports.
                    357:  * Christian Weisgerber (OpenBSD) for more than half a dozen bug reports.
                    358:  * Carsten Kunze (Heirloom troff) for bug reports and release testing.
                    359:  * Antoine Jacoutot (OpenBSD) for release testing.
                    360:  * Alexis Hildebrandt (Homebrew), Baptiste Daroussin (FreeBSD),
                    361:    Jonathan Perkin (SmartOS), Pedro Giffuni (FreeBSD), Svyatoslav
                    362:    Mishyn (Crux Linux), Ulrich Spoerlein (FreeBSD), Jan Stary, Patrick
                    363:    Keshishian, Sebastien Marie, and Steffen Nurpmeso for bug reports.
1.7       schwarze  364:
1.8       schwarze  365: Changes in version 1.13.2, released on December 13, 2014
1.7       schwarze  366:
                    367:     --- MAJOR NEW FEATURES ---
                    368:  * Include an implementation of man(1), the manual page viewer.
                    369:  * Unified set of command line option, each one supported by all
                    370:    command names, including new options -a (format all), -c (no
                    371:    pager), -h (synopsis only), and -w (list filenames).
                    372:  * Support the MANPAGER and PAGER environment variables.
                    373:  * Support gzip'ed manuals by the whole toolset, even as .so targets.
                    374:  * Support UTF-8 and Latin-1 input by the whole toolset, delete preconv(1).
                    375:  * Switch the default output mode from -Tascii to -Tlocale.
                    376:  * Improve -Tascii output for Unicode escape sequences.
                    377:  * Let the -Thtml output mode produce polyglot HTML5.
                    378:  * Many improvements for eqn(7), in particular in-line equations,
                    379:    MathML output in -Thtml mode, and much improved terminal formatting.
                    380:     --- PORTABILITY IMPROVEMENTS ---
                    381:  * Change the build sequence to the usual ./configure; make; make install.
                    382:  * Support ./configure.local for build customizations.
                    383:  * Autodetect wchar, sqlite3, and manpath support.
                    384:  * Provide a fallback version of fts(3) for systems lacking it.
                    385:  * Support choosing alternative binary and manual names.
                    386:     --- MINOR NEW FEATURES ---
                    387:  * Rudimentary implementation of the e, x, and z tbl(7) layout
                    388:    modifiers to equalize, maximize, and ignore the width of columns.
                    389:  * Implement font modifiers in tbl(7) layouts.
                    390:  * Allow comma-separated options in the tbl(7) options line.
                    391:  * Parse and ignore the .pl (page length) roff(7) request.
                    392:  * Implement .An -[no]split for the mdoc(7) -Thtml output mode.
                    393:  * Support bold italic font in PostScript and PDF output.
                    394:  * Warn about commas in function arguments and parentheses in function names.
                    395:  * Warn about botched .Xr ordering and punctuation below SEE ALSO.
                    396:  * Warn about AUTHORS sections without .An macros.
                    397:  * Warn about attempts to call non-callable macros.
                    398:  * New developer documentation manual page mandoc_headers(3).
                    399:     --- BUGFIXES ---
                    400:  * Fix read buffer overrun sometimes triggered by trailing whitespace.
                    401:  * Fix read buffer overrun triggered by certain invalid \H sequences.
                    402:  * Fix NULL pointer access triggered by .Bl without any arguments.
                    403:  * Fix NULL pointer access triggered by .It Nm Fo without .Fc.
                    404:  * Fix NULL pointer access triggered by .Sh Xo .Sh without .Xc.
                    405:  * Fix NULL pointer access triggered by missing .Nm.
                    406:  * Fix an assertion triggered by .It right after .El.
                    407:  * Fix an assertion triggered by .Ec without preceding .Eo.
                    408:  * Fix an assertion triggered by .Sm or .Db with multiple arguments.
                    409:  * Fix assertion failures triggered by very large width arguments.
                    410:  * Fix a division by zero in the roff(7) parser.
                    411:  * Prevent negative arguments to .ll from causing integer underflow.
                    412:  * Correctly autodetect source format even when .Dd is preceded by .ll.
                    413:  * Multiple fixes with respect to .Bd and .Bl -offset and -width.
                    414:  * Many bugfixes with respect to scaling units.
                    415:  * Multiple fixes with respect to delimiter handling by in-line macros.
                    416:  * Multiple fixes with respect to .Pf.
                    417:  * Make \c work properly in no-fill mode.
                    418:  * Stricter syntax checking of Unicode character names.
                    419:     --- THANKS TO ---
                    420:  * Kristaps Dzonsons for rewriting the eqn(7) parser, implementing
                    421:    HTML5 and MathML output, and various other code contributions.
                    422:  * Jonathan Gray (OpenBSD) for extensive testing with afl (the
                    423:    American Fuzzy Lop security fuzzer) resulting in many bug reports.
                    424:  * Anthony Bentley (OpenBSD), Baptiste Daroussin (FreeBSD), Daniel
                    425:    Dickman, Doug Hogan, Jason McIntyre, Theo de Raadt (OpenBSD),
                    426:    and Martin Natano for source code patches.
                    427:  * Carsten Kunze (Heirloom troff), Daniel Levai (Slackware),
                    428:    Garrett D'Amore (illumos), Giovanni Becchis, Matthew Dempsky,
                    429:    Stuart Henderson, Ted Unangst, Todd Miller (OpenBSD), Thomas
                    430:    Klausner (NetBSD), Ulrich Spoerlein (FreeBSD), Justin Haynes,
                    431:    Marcus Merighi, Sebastien Marie, Steffen Nurpmeso and Theo Buehler
                    432:    for bug reports.
1.5       schwarze  433:
                    434: Changes in version 1.13.1, released on August 10, 2014
                    435:
                    436:     --- MAJOR NEW FEATURES ---
                    437:  * A complete apropos(1)/makewhatis(8)/man.cgi(8) suite
                    438:    based on SQLite3 is now included.
                    439:  * The roff(7) parser now provides an almost complete implementation
                    440:    of numerical expressions.
                    441:  * Warning and error messages have been improved in many ways.
                    442:    Almost all fatal errors were downgraded to normal errors and some
                    443:    even to warnings.  Almost all messages now mention the macro where
                    444:    the issue is detected and many indicate the workaround employed.
                    445:    The mandoc(1) manual now includes a list explaining all messages.
                    446:     --- MINOR NEW FEATURES ---
                    447:  * The roff(7) parser now supports the .ami (append to macro with
                    448:    indirectly specified name), .as (append to user-defined
                    449:    string), .dei (define macro with indirectly specified name),
                    450:    .ll (line length), and .rr (remove register) requests.
                    451:  * The roff(7) parser now supports string comparison and numerical
                    452:    conditionals in the .if and .ie requests.
                    453:  * The roff parser now fully supports the \B (validate numerical
                    454:    expression) and partially supports the \w (measure text width)
                    455:    escape sequences.
                    456:  * The terminal formatter now supports the \: (optional line break)
                    457:    escape sequence.
                    458:  * The roff parser now supports expansion of user-defined strings
                    459:    involving indirect references.
                    460:  * The roff(7) parser now handles some pre-defined read-only
                    461:    number registers that occur in the pod2man(1) preamble.
                    462:  * For backward compatibility, the mdoc(7) parser and formatters
                    463:    now support the obsolete macros .En, .Es, .Fr, and .Ot.
                    464:  * The mdoc(7) formatter non partially supports .Bd -centered.
                    465:  * tbl(7) now handles leading and trailing vertical lines.
                    466:  * The build system now provides fallback versions of strcasestr(3)
                    467:    and strsep(3) for systems lacking them.
                    468:  * The mdoc(7) manual now explains how various standards
                    469:    supported by the .St macro are related to each other.
                    470:     --- BUGFIXES ---
                    471:  * In the roff(7) parser, several bugs were fixed with respect
                    472:    to closing conditional blocks on macro lines.
                    473:  * Parsing of roff(7) identifiers and escape sequences was improved
                    474:    in multiple respects.
                    475:  * In the mdoc(7) parser, the handling of defective document
                    476:    prologues was improved in multiple ways.
                    477:  * The mdoc(7) parser no longer skips content before the first section
                    478:    header, and it no longer deletes non-.% content from .Rs blocks.
                    479:  * In the mdoc(7) parser, a crash was fixed related to weird .Sh headers.
                    480:  * In the mdoc(7) parser, handling of .Sm with missing or invalid
                    481:    arguments was corrected.
                    482:  * In the mdoc(7) parser, trailing punctuation at the end of partial
                    483:    implicit macros no longer triggers end-of-sentence spacing.
                    484:  * In the terminal formatter, two crashes were fixed: one triggered by
                    485:    excessive indentation and another by excessively long .Nm arguments.
                    486:  * In the terminal formatter, a floating point rounding bug was
                    487:    fixed that sometimes caused an off-by-one error in indentation.
                    488:  * In the UTF-8 formatter, rendering of accents, breakable hyphens,
                    489:    and non-breakable spaces was corrected.
                    490:  * In the HTML formatter, encoding of special characters was
                    491:    corrected in multiple respects.
                    492:  * In the mdoc(7) formatter, rendering of .Ex and .Rv was
                    493:    improved for various edge cases.
                    494:  * In the mdoc(7) formatter, handling of empty .Bl -inset item
                    495:    heads was improved.
                    496:  * In the man(7) formatter, some bugs were fixed with respect
                    497:    to same-line detection in the context of .TP and .nf macros,
                    498:    and the indentation of .IP and .TP blocks was improved.
                    499:  * The mandoc(3) library no longer prints to stderr.
                    500:     --- THANKS TO ---
                    501:    Abhinav Upadhyay (NetBSD), Andreas Voegele, Anthony Bentley (OpenBSD),
                    502:    Christian Weisgerber (OpenBSD), Havard Eidnes (NetBSD), Jan Stary,
                    503:    Jason McIntyre (OpenBSD), Jeremie Courreges-Anglas (OpenBSD),
                    504:    Joerg Sonnenberger (NetBSD), Juan Francisco Cantero Hurtado (OpenBSD),
                    505:    Marc Espie (OpenBSD), Matthias Scheler (NetBSD), Pascal Stumpf (OpenBSD),
                    506:    Paul Onyschuk (Alpine Linux), Sebastien Marie, Steffen Nurpmeso,
                    507:    Stuart Henderson (OpenBSD), Ted Unangst (OpenBSD), Theo de Raadt (OpenBSD),
                    508:    Thomas Klausner (NetBSD), and Ulrich Spoerlein (FreeBSD)
                    509:    for reporting bugs and missing features.
1.4       schwarze  510:
                    511: Changes in version 1.12.3, released on December 31, 2013
                    512:
                    513:  * In the mdoc(7) SYNOPSIS, line breaks and hanging indentation
                    514:    now work correctly for .Fo/.Fa/.Fc and .Fn blocks.
                    515:    Thanks to Franco Fichtner for doing part of the work.
                    516:  * The mdoc(7) .Bk macro got some addititonal bugfixes.
                    517:  * In mdoc(7) macro arguments, double quotes can now be quoted
                    518:    by doubling them, just like in man(7).
                    519:    Thanks to Tsugutomo ENAMI for the patch.
                    520:  * At the end of man(7) macro lines, end-of-sentence spacing
                    521:    now works.  Thanks to Franco Fichtner for the patch.
                    522:  * For backward compatibility, the man(7) parser now supports the
                    523:    man-ext .UR/.UE (uniform resource identifier) block macros.
                    524:  * The man(7) parser now handles closing blocks that are not open
                    525:    more gracefully.
                    526:  * The man(7) parser now ignores blank lines right after .SH and .SS.
                    527:  * In the man(7) formatter, reset indentation when leaving a block,
                    528:    not just when entering the next one.
                    529:  * The roff(7) .nr request now supports incrementing and decrementing
                    530:    number registers and stops parsing the number right before the
                    531:    first non-digit character.
                    532:  * The roff(7) parser now supports the alternative escape sequence
                    533:    syntax \C'uXXXX' for Unicode characters.
                    534:  * The roff(7) parser now parses and ignores the .fam (font family)
                    535:    and .hw (hyphenation points) requests and the \d and \u escape
                    536:    sequences.
                    537:  * The roff(7) manual got a new ESCAPE SEQUENCE REFERENCE.
1.1       schwarze  538:
1.2       schwarze  539: Changes in version 1.12.2, released on Oktober 5, 2013
1.1       schwarze  540:
                    541:  * The mdoc(7) to man(7) converter, to be called as mandoc -Tman,
                    542:    is now fully functional.
                    543:  * The mandoc(1) utility now supports the -Ios (default operating system)
                    544:    input option, and the -Tutf8 output mode now actually works.
                    545:  * The mandocdb(8) utility no longer truncates existing databases when
                    546:    starting to build new ones, but only replaces them when the build
                    547:    actually succeeds.
                    548:  * The man(7) parser now supports the PD macro (paragraph distance),
                    549:    and (for GNU man-ext compatibility only) EX (example block) and EE
                    550:    (example end).  Plus several bugfixes regarding indentation, line
                    551:    breaks, and vertical spacing, and regarding RS following TP.
                    552:  * The roff(7) parser now supports the \f(BI (bold+italic) font escape,
                    553:    the \z (zero cursor advance) escape and the cc (change control
                    554:    character) and it (input line trap) requests. Plus bugfixes regarding
                    555:    the \t (tab) escape, nested escape sequences, and conditional requests.
                    556:  * In mdoc(7), several bugs were fixed related to UTF-8 output of quoting
                    557:    enclosures, delimiter handling, list indentation and horizontal and
                    558:    vertical spacing, formatting of the Lk, %U, and %C macros, plus some
                    559:    bugfixes related to the handling of syntax errors like badly nested
                    560:    font blocks, stray Ta macros outside column lists, unterminated It Xo
                    561:    blocks, and non-text children of Nm blocks.
                    562:  * In tbl(7), the width of horizontal spans and the vertical spacing
                    563:    around tables was corrected, and in man(7) files, a crash was fixed
                    564:    that was triggered by some particular unclosed T{ macros.
                    565:  * For mandoc developers, we now provide a tbl(3) library manual and
                    566:    gmdiff, a very small, very simplistic groff-versus-mandoc output
                    567:    comparison tool.
1.2       schwarze  568:  * Provide this NEWS file.
1.1       schwarze  569:
                    570: Changes in version 1.12.1, released on March 23, 2012
                    571:
                    572:  * Significant work on apropos(1) and mandocdb(8). These tools are now
                    573:    much more robust.  A whatis(1) implementation is now handled as an
                    574:    apropos(1) mode.  These tools are also able to minimally handle
                    575:    pre-formatted pages, that is, those already formatted by another
                    576:    utility such as GNU troff.
                    577:  * The man.cgi(7) script is also now available for wider testing.
                    578:    It interfaces with mandocdb(8) manuals cached by catman(8).
                    579:    HTML output is generated on-the-fly by libmandoc or internal
                    580:    methods to convert pre-formatted pages.
                    581:  * The mailing list archive for the discuss and tech lists are being
                    582:    hosted by Gmane at gmane.comp.tools.mdocml.user and
                    583:    gmane.comp.tools.mdocml.devel, respectively.
                    584:
                    585: Changes in version 1.12.0, released on October 8, 2011
                    586:
                    587:  * This version features a new, work-in-progress mandoc(1) output mode:
                    588:    -Tman.  This mode allows a system maintainer to distribute man(7)
                    589:    media for older systems that may not natively support mdoc(7), such
                    590:    as old Solaris systems.
                    591:  * The -Ofragment option was added to mandoc(1)'s -Thtml and -Txhtml modes.
                    592:  * While adding features, an apropos(1) utility has been merged from the
                    593:    mandoc-tools sandbox.  This interfaces with mandocdb(8) for semantic
                    594:    search of manual content.  apropos(1) is different from the traditional
                    595:    apropos primarily in allowing keyword search (such as for functions,
                    596:    utilities, etc.) and regular expressions.  Note that the calling
                    597:    syntax for apropos is likely to change as it settles down.
                    598:  * In documentation news, the mdoc(7) and man(7) manuals have been
                    599:    made considerably more readable by adding MACRO OVERVIEW sections, by
                    600:    moving the gory details of the LANGUAGE SYNTAX to the roff(7) manual,
                    601:    and by moving the very technical MACRO SYNTAX sections down to the
                    602:    bottom of the page.
                    603:  * Furthermore, for tbl(7), the -Tascii mode horizontal spacing of tables
                    604:    was rewritten completely.  It is now compatible with groff(1), both
                    605:    with and without frames and rulers.
                    606:  * Nesting of indented blocks is now supported in man(7), and several
                    607:    bugs were fixed regarding indentation and alignment.
                    608:  * The page headers in mdoc(7) are now nicer for very long titles.
                    609:
                    610: Changes in version 1.11.7, released on September 2, 2011
                    611:
                    612:  * Added demandoc(1) utility for stripping away macros and escapes.
                    613:    This replaces the historical deroff(1) utility.
                    614:  * Also improved the mdoc(7) and man(7) manuals.
                    615:
                    616: Changes in version 1.11.6, released on August 16, 2011
                    617:
                    618:  * Handling of tr macro in roff(7) implemented.  This makes Perl
                    619:    documentation much more readable.  Hyphenation is also now enabled in
                    620:    man(7) format documents.  Many other general improvements have been
                    621:    implemented.
                    622:
                    623: Changes in version 1.11.5, released on July 24, 2011
                    624:
                    625:  * Significant eqn(7) improvements.  mdocml can now parse arbitrary eqn
                    626:    input (although few GNU extensions are accepted, nor is mixing
                    627:    low-level roff with eqn).  See the eqn(7) manual for details.
                    628:    For the time being, equations are rendered as simple in-line text.
                    629:    The equation parser satisfies the language specified in the
                    630:    Second Edition User's Guide:
                    631:    http://www.kohala.com/start/troff/v7man/eqn/eqn2e.ps
                    632:
                    633: Changes in version 1.11.4, released on July 12, 2011
                    634:
                    635:  * Bug-fixes and clean-ups across all systems, especially in mandocdb(8)
                    636:    and the man(7) parser.  This release was significantly assisted by
                    637:    participants in OpenBSD's c2k11.  Thanks!
                    638:
                    639: Changes in version 1.11.3, released on May 26, 2011
                    640:
                    641:  * Introduce locale-encoding of output with the -Tlocale output option and
                    642:    Unicode escaped-character input.  See mandoc(1) and mandoc_char(7),
                    643:    respectively, for details.  This allows for non-ASCII characters (e.g.,
                    644:    \[u5000]) to be rendered in the locale's encoding, if said environment
                    645:    supports wide-character encoding (if it does not, -Tascii is used
                    646:    instead).  Locale support can be turned off at compile time by removing
                    647:    -DUSE_WCHAR in the Makefile, in which case -Tlocale is always a synonym
                    648:    for -Tascii.
                    649:  * Furthermore, multibyte-encoded documents, such as those in UTF-8, may
                    650:    be on-the-fly recoded into mandoc(1) input by using the newly-added
                    651:    preconv(1) utility.  Note: in the future, this feature may be
                    652:    integrated into mandoc(1).
                    653:
                    654: Changes in version 1.11.2, released on May 12, 2011
                    655:
                    656:  * Corrected some installation issues in version 1.11.1.
                    657:  * Further migration to libmandoc.
                    658:  * Initial public release (this utility is very much under development)
                    659:    of mandocdb(8).  This utility produces keyword databases of manual
                    660:    content, which features semantic querying of manual content.
                    661:
                    662: Changes in version 1.11.1, released on April 4, 2011
                    663:
                    664:  * The earlier libroff, libmdoc, and libman soup have been merged into
                    665:    a single library, libmandoc, which manages all aspects of parsing
                    666:    real manuals, from line-handling to tbl(7) parsing.
                    667:  * As usual, many general fixes and improvements have also occurred.
                    668:    In particular, a great deal of redundancy and superfluous code has
                    669:    been removed with the merging of the backend libraries.
1.3       schwarze  670:  * see also the changes in 1.10.10
                    671:
                    672: Changes in version 1.10.10, March 20, 2011, NOT released
                    673:
                    674:  * Initial eqn(7) functionality is in place.  For the time being,
                    675:    this is limited to the recognition of equation blocks;
                    676:    future version of mdocml will expand upon this framework.
1.1       schwarze  677:
                    678: Changes in version 1.10.9, released on January 7, 2011
                    679:
                    680:  * Many back-end fixes have been implemented: argument handling (quoting),
                    681:    man(7) improvements, error/warning classes, and many more.
                    682:  * Initial tbl(7) functionality (see the "TS", "TE", and "T&" macros in
                    683:    the roff(7) manual) has been merged from tbl.bsd.lv.  Output is still
                    684:    minimal, especially for -Thtml and -Txhtml, but manages to at least
                    685:    display data.  This means that mandoc(1) now has built-in support
                    686:    for two troff preprocessors via libroff: soelim(1) and tbl(1).
                    687:
                    688: Changes in version 1.10.8, released on December 24, 2010
                    689:
1.3       schwarze  690:  * Overhauled the -Thtml and -Txhtml output modes.  They now display
1.1       schwarze  691:    readable output in arbitrary browsers, including text-based ones like
                    692:    lynx(1).  See HTML and XHTML manuals in the DOCUMENTATION section
                    693:    for examples.  Attention: available style-sheet classes have been
                    694:    considerably changed!  See the example.style.css file for details.
                    695:    Lastly, libmdoc and libman have been cleaned up and reduced in size
                    696:    and complexity.
1.3       schwarze  697:  * see also the changes in 1.10.7
                    698:
                    699: Changes in version 1.10.7, December 6, 2010, NOT released
                    700:
                    701:  Significant improvements merged from OpenBSD downstream, including:
                    702:  * many new roff(7) components,
                    703:  * in-line implementation of troff's soelim(1),
                    704:  * broken-block handling,
                    705:  * overhauled error classifications, and
                    706:  * cleaned up handling of error conditions.
1.1       schwarze  707:
                    708: Changes in version 1.10.6, released on September 27, 2010
                    709:
                    710:  * Calling conventions for mandoc(1) have changed: -W improved and -f
                    711:    deprecated.
                    712:  * Non-ASCII characters are also now uniformly discarded.
                    713:  * Lots of documentation improvements.
                    714:  * Many incremental fixes accomodating for groff's more interesting
                    715:    productions.
                    716:  * Lastly, pod2man(1) preambles are now fully accepted after some
                    717:    considerable roff(7) and special character support.
                    718:
                    719: Changes in version 1.10.5, released on July 27, 2010
                    720:
                    721:  * Primarily a bug-fix and polish release, but including -Tpdf support
                    722:    in mandoc(1) by way of "Summer of Code".  Highlights:
                    723:  * fix "Sm" and "Bd" handling
                    724:  * fix end-of-sentence handling for embedded sentences
                    725:  * polish man(7) documentation
                    726:  * document all mdoc(7) macros
                    727:  * polish mandoc(1) -Tps output
                    728:  * lots of internal clean-ups in character escapes
                    729:  * un-break literal contexts in man(7) documents
                    730:  * improve -Thtml output for -man
                    731:  * add mandoc(1) -Tpdf support
                    732:
                    733: Changes in version 1.10.4, released on July 12, 2010
                    734:
                    735:  * Lots of features developed during both "Summer of Code" and the
                    736:    OpenBSD c2k10 hackathon:
                    737:  * minimal "ds" roff(7) symbols are supported
                    738:  * beautified SYNOPSIS section output
                    739:  * acceptance of scope-block breakage in mdoc(7)
                    740:  * clarify error message status
                    741:  * many minor bug-fixes and formatting issues resolved
1.3       schwarze  742:  * see also changes in 1.10.3
                    743:
                    744: Changes in version 1.10.3, June 29, 2010, NOT released
                    745:
                    746:  * variable font-width and paper-size support in mandoc(1) -Tps output
                    747:  * "Bk" mdoc(7) support
1.1       schwarze  748:
                    749: Changes in version 1.10.2, released on June 19, 2010
                    750:
                    751:  * Small release featuring text-decoration in -Tps output,
                    752:    a few minor relaxations of errors, and some optimisations.
                    753:
                    754: Changes in version 1.10.1, released on June 7, 2010
                    755:
                    756:  * This primarily focusses on the "Bl" and "It" macros described in
                    757:    mdoc(7).  Multi-line column support is now fully compatible with groff,
                    758:    as are implicit list entries for columns.
                    759:  * Removed manuals(7) in favour of http://manpages.bsd.lv.
                    760:  * The way we handle the SYNOPSIS section (see the SYNOPSIS documentation
                    761:    in MANUAL STRUCTURE) has also been considerably simplified compared
                    762:    to groff's method.
                    763:  * Furthermore, the -Owidth=width output option has been added to -Tascii,
                    764:    see mandoc(1).
                    765:  * Lastly, initial PostScript output has been added with the -Tps option
                    766:    to mandoc(1).  It's brutally simple at the moment: fixed-font, with no
                    767:    font decorations.
                    768:
                    769: Changes in version 1.10.0, released on May 29, 2010
                    770:
                    771:  * Release consisting of the results from the m2k10 hackathon and up-merge
                    772:    from OpenBSD.  This requires a significant note of thanks to Ingo
                    773:    Schwarze (OpenBSD) and Joerg Sonnenberger (NetBSD) for their hard work,
                    774:    and again to Joerg for hosting m2k10.  Highlights (mostly cribbed from
                    775:    Ingo's m2k10 report) follow in no particular order:
                    776:  * a libroff preprocessor in front of libmdoc and libman stripping out
                    777:    roff(7) instructions;
                    778:  * end-of-sentence (EOS) detection in free-form and macro lines;
                    779:  * correct handling of tab-separated columnar lists in mdoc(7);
                    780:  * improved main calling routines to optionally use mmap(3) for better
                    781:    performance;
                    782:  * cleaned up exiting when invoked as -Tlint or over multiple files
                    783:    with -fign-errors;
                    784:  * error and warning message handling re-written to be unified for
                    785:    libroff, libmdoc, and libman;
                    786:  * handling of badly-nested explicit-scoped macros;
                    787:  * improved free-form text parsing in libman and libmdoc;
                    788:  * significant GNU troff compatibility improvements in -Tascii,
                    789:    largely in terms of spacing;
                    790:  * a regression framework for making sure the many fragilities of GNU
                    791:    troff aren't trampled in subsequent work;
                    792:  * support for -Tascii breaking at hyphens encountered in free-form text;
                    793:  * and many more minor fixes and improvements
                    794:
                    795: Changes in version 1.9.25, released on May 13, 2010
                    796:
                    797:  * Fixed handling of "\*(Ba" escape.
                    798:  * Backed out -fno-ign-chars (pointless complexity).
                    799:  * Fixed erroneous breaking of literal lines.
                    800:  * Fixed SYNOPSIS breaking lines before non-initial macros.
                    801:  * Changed default section ordering.
                    802:  * Most importantly, the framework for end-of-sentence double-spacing is
                    803:    in place, now implemented for the "end-of-sentence, end-of-line" rule.
                    804:  * This is a stable roll-back point before the mandoc hackathon in Rostock!
                    805:
                    806: Changes in version 1.9.24, released on May 9, 2010
                    807:
                    808:  * Rolled back break-at-hyphen.
                    809:  * -DUGLY is now the default (no feature splits!).
                    810:  * Free-form text is not de-chunked any more: lines are passed
                    811:    whole-sale into the front-end, including whitespace.
                    812:  * Added mailing lists.
                    813:
                    814: Changes in version 1.9.23, released on April 7, 2010
                    815:
                    816:  * mdocml has been linked to the OpenBSD build.
                    817:  * This version incorporates many small changes, mostly from patches
                    818:    by OpenBSD, allowing crufty manuals to slip by with warnings instead
                    819:    of erroring-out.
                    820:  * Some subtle semantic issues, such as punctuation scope, have also
                    821:    been fixed.
                    822:  * Lastly, some issues with -Thtml have been fixed, which prompted an
                    823:    update to the online manual pages style layout.
                    824:
                    825: Changes in version 1.9.22, released on March 31, 2010
                    826:
                    827:  * Adjusted merge of the significant work by Ingo Schwarze
                    828:    in getting "Xo" blocks (block full implicit, e.g., "It"
                    829:    for non-columnar lists) to work properly.  This isn't
                    830:    enabled by default: you must specify -DUGLY as a compiler
                    831:    flag (see the Makefile for details).
                    832:
                    833: Changes in version 1.9.20, released on March 30, 2010
                    834:
                    835:  * More efforts to get roff instructions in man(7) documents under
                    836:    control.  Note that roff instructions embedded in line-scoped,
                    837:    next-line macros (e.g. "B") are not supported.
                    838:  * Leading punctuation for mdoc(7) macros, such as "Fl ( ( a",
                    839:    are now correctly handled.
                    840:
                    841: Changes in version 1.9.18, released on March 27, 2010
                    842:
                    843:  * Many fixes (largely pertaining to scope)
                    844:    and improvements (e.g., handling of apostrophe-control macros,
                    845:    which fixes the strange "BR" seen in some macro output)
                    846:    to handling roff instructions in man(7) documents.
                    847:
                    848: Changes in version 1.9.17, released on March 25, 2010
                    849:
                    850:  * Accept perlpod(1) standard preamble.
                    851:  * Also accept (and discard) "de", "dei", "am", "ami", and "ig"
                    852:    roff macro blocks.
                    853:
                    854: Changes in version 1.9.16, released on March 22, 2010
                    855:
                    856:  * Inspired by patches and bug reports by Ingo Schwarze,
                    857:    allowed man(7) to accept non-printing elements to be nested
                    858:    within next-line scopes, such as "br" within "B" or "TH",
                    859:    which is valid roff.
                    860:  * Longsoon architecture also noted and Makefile cleaned up.
                    861:
                    862: Changes in version 1.9.15, released on February 18, 2010
                    863:
                    864:  * Moved to our new BSD.lv home.
                    865:  * XHTML is now an acceptable output mode for mandoc(1);
                    866:  * "Xr" made more compatible with groff;
                    867:  * "Vt" fixed when invoked in SYNOPSIS;
                    868:  * "\\" escape removed;
                    869:  * end-of-line white-space detected for all lines;
                    870:  * subtle bug fixed in list display for some modes;
                    871:  * compatibility layer checked in for compilation in diverse
                    872:    UNIX systems;
                    873:  * and column lengths handled correctly.
                    874:
                    875: For older releases, see the ChangeLog files
                    876: in http://mdocml.bsd.lv/snapshots/ .

CVSweb