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