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