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