Annotation of mandoc/NEWS, Revision 1.38
1.38 ! schwarze 1: $Id: NEWS,v 1.37 2021/09/19 11:02: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.35 schwarze 4:
1.36 schwarze 5: Changes in version 1.14.6, released on September XXX, 2021
1.35 schwarze 6:
7: --- MAJOR NEW FEATURES ---
1.36 schwarze 8: * mdoc(7): automatic tagging improved in many respects
9: * mdoc(7): new .Tg (tag) macro to explicitly mark a place as defining a term
10: * man(7): implement some automatic tagging support
11: * man(1): let -w without argument show the manpath, like in man-db and man-1.6
12: * -T html: wrap text and phrasing elements in paragraphs unless already
13: contained in flow containers; never put them directly into sections.
14: This helps to format paragraphs with the CSS class selector .Pp.
15: * man.conf(5): remove support for the "_whatdb" configuration directive
16: that was deprecated in 2015; please use "manpath" instead
1.35 schwarze 17: --- MINOR NEW FEATURES ---
1.36 schwarze 18: * man(1): switch the default pager from "more -s" to "less"
19: * man(1): in the fallback code to look for manual pages without using
20: mandoc.db(5), accept files "man<one-digit-section>/<name>.<full-section>"
21: in addition to the already supported "man<full-section>/name.[01-9]*"
22: * if messages are shown and output is printed without a pager, display
23: a heads-up on stderr at the end because otherwise, users may easily
24: miss the messages
25: * man.cgi(8): add a Content-Security-Policy HTTP header
26: * man.cgi(8): switch off autocomplete and autocapitalize
27: * mandoc.css: support prefers-color-scheme: dark
28: * -T html: add meta viewport element to help mobile devices
29: * -T html -O tag: let this pass a file:// URI to the pager
30: * tbl(7): implement the "nospaces" option
31: * tbl(7) -T html: implement the "a" (em indent) layout specification
32: * tbl(7) -T html: implement the "b" (bold) and "i" (italic) layout modifiers
33: * tbl(7): support two-character font names in the layout font modifier
34: * tbl(7) -T html: support horinzontal rulers in individual cells
35: * tbl(7) -T tree: print more details about columns, options, rows, and cells
1.35 schwarze 36: * roff(7): implement the .break request (break out of a .while loop)
1.36 schwarze 37: * roff(7): support the CB and CI fonts in \f and .ft
38: * -T lint: new STYLE message if a file name extension contradicts .Dt/.TH
39: * -T lint: new STYLE message about overlong text lines
40: * -W style: check .Xr links along the full manpath
1.35 schwarze 41: --- RELIABILITY BUGFIXES ---
42: * man(1): do not segfault if /tmp/ is not writeable
1.36 schwarze 43: * man(1): do not access a NULL pointer when both -l and -w are given
44: * makewhatis(8): do not crash when a manpath directory contains
45: a symbolic link that points to a directory
46: * man(7): fix an assertion failure caused by doubly nested next-line scopes
1.35 schwarze 47: * tbl(7): fix a crash when the last column is only reached by spans
1.36 schwarze 48: * tbl(7): fix a NULL pointer access in some cases of two spans on one row
1.35 schwarze 49: * tbl(7) -T ascii: fix a NULL pointer access on empty data cells
50: * tbl(7) -T ascii: fix a NULL pointer access on a line next to a short row
1.36 schwarze 51: * tbl(7): fix an assertion failure caused by excessive spacing modifiers
52: * tbl(7): fix an infinite loop for some overlapping horizontal spans
53: * roff(7): fix a rare case of writing one byte past the end of the input buffer
54: * roff(7): do not call abort(3) when \*[.T] is encountered
55: * roff(7): fix an assertion failure caused by a macro inside .ce .if
56: * roff(7): fix assertion failures for .ti and .po with excessive arguments
57: * roff(7): avoid near-infinte output for .ce inside explicit no-fill mode
58: * -T ascii/utf8: fix assertion failures caused by excessive spacing
1.35 schwarze 59: * -T html: fix an assertion failure caused by .ft in rare situations
1.36 schwarze 60: * -T man: fix an assertion failure caused by tbl(7) and eqn(7) input
61: --- PORTABILITY IMPROVEMENTS ---
62: * rename HOMEBREWDIR to READ_ALLOWED_PATH, allow it to contain more than
63: one directory, and explain how to use that for NixOS and GNU Guix Linux
64: * configure: stop trying to ask make(1) what the default compiler is
65: because that test was too fragile; just use "cc" by default
66: * configure: various simplifications and improved robustness
67: * configure: only compile compat_*.c implementations that are needed
1.38 ! schwarze 68: * configure: provide feature tests for __attribute__(()) and mkstemps(3)
1.36 schwarze 69: * compat_*: sync with upstreams for security, functionality, and style
1.38 ! schwarze 70: * in regress.pl, avoid the non-portable options sed(1) -i and echo(1) -n
1.36 schwarze 71: * in the regression suite, avoid file names that differ only by case
1.35 schwarze 72: --- MINOR FUNCTIONAL IMPROVEMENTS ---
73: * man(1) -h: for pages lacking a SYNOPSIS, show the NAME section
74: * man(1): when the first argument starts with a digit, optionally
75: followed by a letter, and at least one more argument follows,
76: interpret the first argument as a section name even when additional
77: characters follow after the digit and letter
78: * man(1): with a specific section requested, try harder to find
79: the best match; use this order of preference:
80: 1. The section in both the directory name and the file name matches exactly.
81: 2. The section in the file name matches exactly.
82: 3. The section in the directory name matches exactly.
83: 4. Neither of them matches exactly.
1.36 schwarze 84: * man(1): if no tags were generated at all, unlink(2) the empty tags file
85: as soon as the condition can be detected and do not pass it to less(1)
1.35 schwarze 86: * makewhatis(8): handle both dangling symlinks and .so links
87: in manual page directories more gracefully
88: * man.cgi(8): for invalid queries and for valid queries returning
89: no result, return the appropriate 40x status code rather than 200
1.36 schwarze 90: * mdoc(7): let .Dd concatenate all arguments and default to the empty string
91: * mdoc(7): convert ".Fl Fl" to ".Fl \-" during validation, improving -T html
92: * mdoc(7): improve output of .At 32v
93: * man(7): no longer print multiple blank lines before NAME and page footer
1.35 schwarze 94: * tbl(7) -T utf8: improved rendering of horizontal lines
1.36 schwarze 95: * tbl(7) -T html: in "n" cells, align by padding numbers on the right
96: * tbl(7): no longer leak tabulator settings to subsequent roff(7) code
97: * mdoc(7) -T html: for .Bl -tag, use "column-count: 1" rather
98: than "overflow: auto" to avoid the ugly side effects
99: * mdoc(7) -T html: render .Bd -unfilled in proportionally-spaced font
1.35 schwarze 100: * mdoc(7) -T html: format .Nd with <span> rather than <div>
1.36 schwarze 101: * mdoc(7) -T lint: do not warn about Mdocdate without an actual date
1.35 schwarze 102: * mdoc(7) -T lint: do not complain about function types of the
103: form "ret_type (fname)(args)", but otherwise check names more strictly
1.36 schwarze 104: * -T html: append .html suffix to temporary files to please browsers
105: * -T markdown: print a BAGARG message if called on man(7) input
1.35 schwarze 106: --- MINOR BUGFIXES ---
1.36 schwarze 107: * man(1): do the search for each name independently, and
108: show the results in the order of the command line argument
109: * man(1): escape shell wildcard characters in name arguments before glob(3)
110: * man(1): when asking for a single manual page by name, prefer file name
111: matches over .Dt/.TH matches over first NAME matches over later NAME
112: matches, but do not change the ordering for apropos(1) nor for man -a
113: * man(1): correctly extract the section name from the file name extension
114: of gzipped manual page files
115: * makewhatis(8): fix file type tests putting wrong data into mandoc.db(5)
116: * man.cgi(8): fix section number in the <title> element for preformatted pages
117: * tbl(7): correct handling of T& after horizontal rulers in the layout
118: * tbl(7): correct column widths if rows have different numbers of cells
119: * tbl(7): empty columns are 1n wide rather than 0n
120: * tbl(7): correctly calculate required column widths for tables containing
121: cells that horizontally span columns which contains "n" (number) formatted
122: cells on other rows
123: * tbl(7): skip escape sequences when looking for column separators
124: * eqn(7): skip whitespace before tokens
1.35 schwarze 125: * roff(7): when calling an empty macro, do not clobber existing arguments
1.36 schwarze 126: * roff(7): recognize \} on lines closing a macro definition request
127: * roff(7): do not throw a bogus warning for "'br\}" and similar lines
128: * roff(7): stop generating comment nodes when encountering the first content
129: * mandoc_char(7): make \0 (digit-width space) non-breaking
1.35 schwarze 130: * mdoc(7) .Bl -column: parse Macro in .It "word<tab>word" Ta word Macro<eol>
1.36 schwarze 131: * mdoc(7) -T html: display straight quotes, not curly quotes, for .Qq/.Qo
1.35 schwarze 132: * -T html: remove some spurious line breaks, in particular inside <pre>
1.36 schwarze 133: * -T html: use <br/> for a space character at the beginning of an input line
134: * -T html: use ~%d for ordinal fragment suffixes, reserve '~' for that purpose
1.35 schwarze 135: --- STRUCTURAL IMPROVEMENTS ---
1.36 schwarze 136: * introduce the concept of semantically transparent syntax tree nodes,
137: allowing improved decisions in various validators and formatters
1.35 schwarze 138: * move some code out of the giant main() into separate functions
139: doing one well-defined task each
140: * clearly separate parser state (struct curparse) and formatter state
141: (struct outstate), don't mix them in the same struct
142: * in the HTML formatter, assert(3) that no HTML nesting violation occurs
143: * let html_close_paragraph() close any phrasing context
144: --- THANKS TO ---
1.36 schwarze 145: * Anthony Bentley and Klemens Nanni (OpenBSD) for many patches and bug
146: reports, for useful discussions, and for checking patches
147: * Anton Lindqvist (OpenBSD) for two patches and a bug report
148: * Marc Espie (OpenBSD) for a patch, many bug reports, and useful discussions
149: * Lukas Epple (NixOS) for a patch, bug reports, and for checking patches
150: * Abel Romero Perez for a patch, a bug report, and suggesting a new feature
151: * nabijaczleweli for a patch and for suggesting feature improvements
152: * Jonathan Gray (OpenBSD) for a patch and for bug reports
153: * Otto Moerbeek (OpenBSD) and Alexander Gromnitsky for a patch
1.35 schwarze 154: * Armin Besirovic for a contribution to mandoc.css
1.37 schwarze 155: * Jason McIntyre (OpenBSD) for manual page patches, suggesting a new feature,
1.36 schwarze 156: checking many patches, and useful discussions
157: * Martin Vahlensieck for a manual page patch and reporting a code style issue
158: * Frederic Cambus and Ian Sutton (OpenBSD) for a manual page patch
159: * Jan Schreiber for many bug reports found with afl(1)
160: * G. Branden Robinson (GNU troff) for several bug reports, feature
161: suggestions, and for checking many groff patches
162: * Michael Stapelberg (Debian), Ian Ropers, Lorenzo Beretta, and Oliver Corff
163: for several bug reports and feature suggestions
164: * Stephen Gregoratto for several bug reports
165: * Theo de Raadt (OpenBSD) for two bug reports, checking a patch,
166: and a useful discussion
167: * Andreas Kahari and Jason A. Donenfeld for two bug reports
168: * Soeren Tempel (Alpine Linux) for a bug report, suggesting a feature
169: improvement, and checking two patches
170: * Aman Verma, Jan Stary, and John Gardner for a bug report
1.35 schwarze 171: and for suggesting a feature impovement
1.36 schwarze 172: * Todd Miller (OpenBSD) for a bug report, checking a patch,
173: and a useful discussion
174: * Andrew Fresh, Brian Callahan, Christian Weisgerber, Paul de Weerd (OpenBSD),
175: Havard Eidnes, Jason Thorpe, Thomas Klausner (NetBSD),
176: Yuri Pankov (FreeBSD), Bjarni Ingi Gislason, Chris Bennett,
177: Edgar Pettijohn, Eldred Habert, Jamie Landeg-Jones, Kazuo KUROI,
178: and Wynn Wolf Arbor for a bug report
179: * Theo Buehler (OpenBSD) for suggesting two feature impovements
180: and for checking a patch
181: * Colin Watson (Debian) for suggesting a feature impovement
182: and for checking groff patches
183: * Matej Cepl (SUSE Linux), Leah Neukirchen (Void Linux), Matthew Martin,
184: Steffen Nurpmeso, and Tim Baumgard for suggesting a feature impovement
185: * Christos Zoulas (NetBSD) for a report regarding portability
186: * Daniel Dickman (OpenBSD) for suggesting a portability improvement
187: * Werner Lemberg (GNU troff) and Douglas McIlroy
188: for reporting bugs in manual pages
189: * Baptiste Daroussin and Eygene Ryabinkin (FreeBSD)
190: for an additional regression test
191: * Michal Nowak for reporting several code style issues
1.35 schwarze 192: * TJ Townsend (OpenBSD) for help with CSS
1.36 schwarze 193: * Job Snijders, Kinichiro INOGUCHI, and Martijn van Duren (OpenBSD)
194: for checking patches
195: * Bertrand Garrigues and Ralph Corderoy (GNU troff) for checking groff patches
1.33 schwarze 196:
1.34 schwarze 197: Changes in version 1.14.5, released on March 10, 2019
198:
1.33 schwarze 199: --- MAJOR NEW FEATURES ---
200: * apropos(1): improve POSIX compliance by accepting case-insensitive
201: extended regular expressions by default
202: * new -O tag[=term] output option (open a page at the definition of a term)
203: * tbl(7) -T html: spanning and horizontal and vertical alignment of cells
204: * tbl(7) -T html: draw lines on the edges of table cells
205: * tbl(7) -T utf8: render lines with the Unicode box drawing characters
206: * mandoc is now able to handle the manual pages of the groff package.
207: --- MINOR NEW FEATURES ---
208: * -T html: new option -O toc (table of contents)
209: * -T html: second argument to -O man to support local and remote links
210: * mdoc(7) .Bd -centered now fills the text contained in it
211: * man-ext .SY and .YS macros (synopsis block)
212: * man-ext .TQ macro (tagged paragraph without vertical space before it)
213: * tbl(7) \& explicit alignment indicator
214: * roff(7) .shift, .while, and .return requests
215: * roff(7) .char request (output glyph definition)
216: * roff(7) .nop request (no operation)
217: * roff(7) .ft request: handle the CB, CI, and CR fonts
218: * roff(7) .if c conditional (character available)
219: * roff(7) \\$@ escape sequence (insert all macro arguments, quoted)
220: * roff(7) \*(.T predefined string (interpolate output device name)
221: * roff(7) \[charNNN] escape sequence (for printable ASCII characters)
222: * roff(7) \# escape sequence (line continuation with comment)
223: --- HTML OUTPUT SYNTAX CORRECTIONS ---
224: * Render .br and \p as <br/>, not as an empty <div>.
225: * Render .Pp and .PP as <p> and automatically close it when needed.
226: * Stop writing empty list elements for non-compact .Bl -tag lists.
227: * Do not put <p> inside <a> if .UR or .MT contain .PP.
228: * Implement tooltips purely in CSS rather than abusing title= attributes.
229: --- MINOR FUNCTIONAL IMPROVEMENTS ---
230: * many improvements to the handling of fill and no-fill mode
231: * tbl(7): better column widths in the presence of horizontal spans
232: * several minor improvements to escape sequence handling
233: * several minor improvements to manual font handling
234: * portability: autodetect need for _GNU_SOURCE or _OPENBSD_SOURCE
235: * portability: autodetect whether less(1) supports the -T option
236: * large numbers of bugfixes of diverse kinds
237: --- STRUCTURAL IMPROVEMENTS ---
238: * Disentangle eqn(7) and tbl(7) from other parser header files,
239: and clean up some parser data structures.
240: * Substantially simplify error and warning message infrastructure.
241: --- THANKS TO ---
242: * John Gardner for crucial help implementing tooltips in CSS.
243: * Alexander Bluhm, Raphael Graf, Ted Unangst (OpenBSD)
244: and Daniel Sabogal (Alpine Linux) for patches.
245: * Anthony Bentley and Jason McIntyre (OpenBSD) for documentation patches,
246: suggesting new features, bug reports, and useful discussions.
247: * Kyle Evans and Baptiste Daroussin (FreeBSD) for minor patches.
248: * Pali Rohar for suggesting multiple new features and for reporting
249: several bugs and missing features.
250: * Klemens Nanni (OpenBSD) for suggesting multiple new features.
251: * Kristaps Dzonsons (bsd.lv), Marc Espie (OpenBSD), Adam Kalisz,
252: and Laura Morales for suggesting new features.
253: * Wolfram Schneider and Yuri Pankov (FreeBSD) for reporting missing features.
254: * Edward Tomasz Napierala (FreeBSD) for suggesting a feature improvement.
1.34 schwarze 255: * Thomas Klausner (NetBSD) and Sevan Janiyan (SmartOS)
256: for bug reports and release testing.
1.33 schwarze 257: * Bryan Steele, Janne Johansson, Kurt Mosiejczuk, Mike Belopuhov, Theo
258: Buehler, Todd Miller (OpenBSD), Andreas Gustafsson, Christos Zoulas,
1.34 schwarze 259: Robert Elz (NetBSD), Kurt Jaeger (FreeBSD), Fabio Scotoni, Kelvin
260: Sherlock, Mark Harris, Orestis Ioannou, Raf Czlonka, and Sean Farrell
261: for bug reports.
262: * Ulrich Spoerlein (FreeBSD), Leah Neukirchen (Void Linux),
263: Matej Cepl (openSUSE), and Jan Stary (MacOS X) for release testing.
1.33 schwarze 264: * Brian Callahan and Stuart Henderson (OpenBSD) for help
265: with the OpenBSD groff port.
266: * Bertrand Garrigues, Branden Robinson, Ralph Corderoy, and Werner
267: Lemberg (GNU troff) for checking groff patches.
268: * Scott Cheloha, Theo de Raadt (OpenBSD)
269: and Natanael Copa (Alpine Linux) for useful discussions.
1.28 schwarze 270:
1.32 schwarze 271: Changes in version 1.14.4, released on August 8, 2018
1.28 schwarze 272:
273: --- MAJOR NEW FEATURES ---
274: * In ASCII output, render mathematical symbols and greek letters
275: as transliterations conveying the characters' meanings rather
276: than trying to imitate their shape. Consequently, such characters
277: can now be used in portable manual pages. All the same, please
278: limit their use to contexts where they really matter, for example
279: when showing complicated mathematical formulae.
280: * First steps towards better support for small screens in HTML
281: output (responsive design): avoid most style= attributes, in
282: particular all hard-coded indentations and column widths, and
283: provide a better mandoc.css style sheet with a @media query,
284: using em units throughout, and avoiding redundancy in selectors.
285: * Better HTML output with some more fitting HTML elements, eliminating
286: needless class= attributes, and avoiding various HTML syntax errors
287: (element nesting, URL-fragment syntax, duplicate id= attributes).
288: --- MINOR NEW FEATURES ---
289: * When a man(1) argument contains a slash, imply -l like in man-db.
290: * Use TIOCGWINSZ to reduce the default -Owidth and -Oindent during
291: interactive use on terminals narrower than 79 columns.
292: * Generated PostScript files are now more than 50% smaller.
293: * Terminal rendering of eqn(7) is improved in several respects.
294: * Simplified and nicer output from the mdoc(7) .Lk macro, formatting
295: all links in-line, even long ones.
296: * roff(7) \n+ and \n- numerical register auto-increment and -decrement
297: * roff(7) .nr optional third argument (auto-increment step size)
1.29 schwarze 298: * Autodetect in ./configure whether the compiler can use -W and -static,
299: allowing to build on Solaris 10 and 11 without any configure.local.
1.28 schwarze 300: --- RELIABILITY BUGFIXES ---
301: * Only activate UTF-8 output when the user really selected UTF-8,
302: not some other multibyte character encoding.
303: * Prevent excessive .ll arguments from generating infinite output.
1.31 schwarze 304: * Fix out of bounds accesses to parse buffers that could happen when
305: using renamed or user defined macros after roff(7) conditionals.
1.28 schwarze 306: * Avoid an assertion failure in certain .Bl -column lists.
307: * Avoid a NULL pointer access on deroff() failure after '.SS ""'.
308: * Fix a segfault that could be triggered by two invalid .Dt macros.
309: * Fix two syntax errors in generated PDF files.
310: * Properly state the page size in generated PostScript files.
311: * Close a memory leak caused by missing gzclose(3).
312: * Fix misformatting of man(7) documents lacking .SH macros
313: in PostScript and PDF output.
314: * And many minor bugfixes.
315: --- THANKS TO ---
316: * Marc Espie (OpenBSD) for implementing the size reduction of
317: PostScript files, one additional patch for code simplification,
318: and two bug reports.
319: * Theo Buehler (OpenBSD) for a bugfix patch,
320: and Theo de Raadt (OpenBSD) for checking it.
321: * John Gardner for more than a dozen suggestions regarding HTML output.
322: * Mike Williams for teaching me how to use %%DocumentMedia and
323: setpagedevice in PostScript files.
324: * Werner Lemberg (groff) for feedback on mdoc(7) language changes.
325: * Colin Watson (man-db) for feedback on man-db semantics.
326: * Jason McIntyre (OpenBSD) for lots of feedback and suggestions
327: on diagnostic messages and on the documentation.
1.32 schwarze 328: * Thomas Klausner (NetBSD) for suggesting two new style messages
329: and one new feature, for two bug reports, and for release testing.
1.30 schwarze 330: * Leah Neukirchen (Void Linux) for suggesting a new style message,
1.31 schwarze 331: five bug reports, and release testing.
1.28 schwarze 332: * Anthony Bentley (OpenBSD) for reporting multiple bugs and missing
333: features.
334: * Paul Irofti (OpenBSD) and Nate Bargmann for suggesting new features.
1.32 schwarze 335: * Michael Stapelberg (Debian) for bug reports and release testing.
336: * Christian Weisgerber, Jonathan Gray, Stuart Henderson,
337: Ted Unangst (OpenBSD), Takeshi Nakayama (NetBSD),
1.28 schwarze 338: Anton Lazarov, Jakub Klinkovsky, Jan Stary, Jesper Wallin,
339: Will Backmam, and Wolfgang Mueller for bug reports.
340: * Sevan Janiyan (NetBSD) for additions to lib.in.
341: * George Brown for suggesting code simplifications.
342: * David Coppa, Igor Sobrado (OpenBSD), and Alexander Kuleshov
343: for documentation improvements.
344: * Laura Morales and Raf Czlonka for questions resulting in better
345: documentation.
1.32 schwarze 346: * Yuri Pankov (illumos) for release testing.
1.27 schwarze 347:
348: Changes in version 1.14.3, released on August 5, 2017
349:
350: --- BUG FIXES ---
351: * man(7): Do not crash with out-of-bounds read access to a constant
352: array if .sp or a blank line immediately precedes .SS or .SH.
353: * mdoc(7): Do not crash with out-of-bounds read access to a constant
354: array if .sp or a blank line precede the first .Sh macro.
355: * tbl(7): Ignore explicitly specified negative column widths rather than
356: wrapping around to huge numbers and risking memory exhaustion.
357: * man(1): No longer use names that only occur in the SYNOPSIS section.
358: Gets rid of some surprising behaviour and bogus warnings.
359: --- THANKS TO ---
360: Leah Neukirchen (Void Linux), Markus Waldeck (Debian),
361: Peter Bui (nd.edu), and Yuri Pankov (illumos) for bug reports.
1.23 schwarze 362:
1.26 schwarze 363: Changes in version 1.14.2, released on July 28, 2017
1.23 schwarze 364:
365: --- MAJOR NEW FEATURES ---
366: * New mdoc(7) -Tmarkdown output mode.
367: * For -Thtml, implement internal hyperlinks pointing to authoritative
368: definitions of various syntax elements, similar to the ctags(1)-like
369: less(1) :t internal searching in terminal mode.
370: * Provide a superset of the functionality of the former mdoclint(1)
371: utility and a new -Wstyle message level with several new messages,
372: including validity checking of .Xr cross references.
373: * tbl(7): Implement automatic line breaking inside individual table
374: cells, and several other formatting improvements.
375: * eqn(7): Complete rewrite of the lexer, resulting in several bugfixes.
376: * Continue parser unification, in particular allowing generation
377: of syntax tree nodes on the roff(7) level, allowing implementation
378: of many additional roff requests.
379: --- REMOVED FUNCTIONALITY ---
380: * Delete the manpage(1) utility. It was never enabled in any release.
381: * Delete the -Txhtml command line option. It has been an obsolete
382: alias for the -Thtml output mode for more than two years.
383: --- MINOR NEW FEATURES ---
1.25 schwarze 384: * -Tlint now puts parser messages on stdout instead of stderr,
385: making commands like "man -l -Tlint *.1" useful.
1.23 schwarze 386: * mdoc(7): Various .Lk formatting improvements.
1.24 schwarze 387: * mdoc(7) -Thtml: Better CSS for .Bl lists.
1.23 schwarze 388: * man(7): Implement the .MT/.ME block macro (mailto hyperlink).
389: * man(7): Implement the .DT macro (restore default tab positions).
390: * man(7): Improved support for manuals generated with reStructuredText
391: by partial support for the \n[an-margin] number register.
392: * man(7) -Thtml: Support deep linking to .SH and .SS headers.
393: * tbl(7): Implement the "allbox" table option.
394: * tbl(7): Implement the column spacing and the 'w' (minimum column
395: width) layout modifiers.
396: * tbl(7): Significant improvements of the manual page.
397: * eqn(7): Much improved font selection, including recognition of
398: well-known function names, and a few other formatting improvements.
399: * eqn(7) -Thtml: Use <mn> and <mo> in addition to <mi>.
400: * roff(7): Implement the .ce (centering), .mc (margin character),
401: .rj (right justify), .ta (define tab stops), .ti (temporary indent),
402: .als (macro alias), .ec and .eo (escape character control),
403: .po (page offset), and .rn (macro rename) requests.
404: * roff(7) .am: Implement appending to mdoc(7) and man(7) macros.
405: * roff(7): implement the \h (horizontol motion), \l (horizontal
406: line drawing), and \p (break output line) escape sequences,
407: and also several additional character escape sequences.
408: * roff(7): Implement the 'd' conditional (macro or string defined).
409: * man.cgi(8) now uses pledge(2), too.
1.24 schwarze 410: * regress.pl(1): simpler user interface, better summary output,
411: simpler code, and no more recursion.
1.23 schwarze 412: --- THANKS TO ---
413: * Anthony Bentley (OpenBSD) for the implementation of .MT/.ME,
414: reports of many bugs and missing features, and suggestions
415: for a number of feature and documentation improvements.
416: * Sebastien Marie (OpenBSD) for two source code patches and
417: for some useful discussions.
1.26 schwarze 418: * Florian Obser (OpenBSD) for a bugfix patch and a bug report.
1.23 schwarze 419: * Jonathan Gray (OpenBSD) for several bug reports from afl(1)
420: and several more from static analysis tools.
421: * Theo Buehler (OpenBSD) for several bug reports, most from afl(1).
422: * Jason McIntyre (OpenBSD) for many useful discussions about a
423: wide variety of topics, lots of continuous testing, a number of
424: bug reports, and some suggestions for messages and documentation.
425: * Thomas Klausner (NetBSD) for lots of help while migrating
1.26 schwarze 426: mdoclint(1) functionality to mandoc -Tlint, for suggesting
427: several useful new messages, and for release testing.
1.23 schwarze 428: * Reyk Floeter (OpenBSD) and Vsevolod Stakhov (FreeBSD) for
429: suggesting a markdown output mode.
430: * Thomas Guettler for suggesting -Thtml internal hyperlinks.
1.26 schwarze 431: * Yuri Pankov (Illumos) for inspiring new warning messages and
432: for extensive release testing.
1.24 schwarze 433: * Anton Lindqvist and TJ Townsend (both OpenBSD) and Jan Stary
434: for multiple bug reports.
1.26 schwarze 435: * Leah Neukirchen (Void Linux) for bug reports and release testing.
436: * Michael Stapelberg (Debian) for suggesting feature improvements
437: and for release testing.
438: * Martin Natano and Theo de Raadt (both OpenBSD), Andreas Voegele,
439: Gabriel Guzman, Gonzalo Tornaria, Markus Waldeck, and Raf Czlonka
440: for bug reports.
441: * Antoine Jacoutot (OpenBSD) and Steffen Nurpmeso for suggesting
442: feature improvements.
443: * Dag-Erling Smoergrav (FreeBSD) for inspiring new warning messages.
1.24 schwarze 444: * Ted Unangst and Marc Espie (OpenBSD) for providing useful ideas.
1.26 schwarze 445: * Svyatoslav Mishyn (Crux Linux) for release testing.
1.23 schwarze 446: * Carsten Kunze (Heirloom roff) for help keeping mandoc and groff
447: compatible and for committing some of my patches to groff.
1.13 schwarze 448:
1.21 schwarze 449: Changes in version 1.14.1, released on February 21, 2017
1.13 schwarze 450:
451: --- MAJOR NEW FEATURES ---
452: * apropos(1): Reimplement complete semantic search functionality
453: without the dependency on SQLite3, using only POSIX APIs.
454: This comes with a completely new mandoc.db(5) file format.
455: * man(1): Support more than one tag entry for the same search term,
456: plus some minor improvements to the less(1) :t support.
457: * -Thtml: Use real macro names for CSS classes.
458: Systematic cleanup of and many improvements to mandoc.css.
459: * -Thtml: Produce human readable HTML code by using indentation
460: and better line breaks. Improve various HTML elements,
461: and trim several useless ones.
462: * New catman(8) utility, still somewhat experimental.
1.14 schwarze 463: * Now includes a portable version of the OpenBSD mandoc regression
464: suite, see regress/regress.pl.1 for details.
1.13 schwarze 465: --- REMOVED FUNCTIONALITY ---
466: * Operating systems that don't provide mmap(3) are no longer supported.
467: * Drop support for manpath(1). Even if your system has manpath(1),
468: it is simpler to use MANPATH_DEFAULT in configure.local for
469: operating system defaults, man.conf(5) for machine-specific
470: modifications, and ${MANPATH}, -m, and -M for user preferences
471: than to bother with the complexity of manpath(1).
472: * makewhatis(8) -p: No longer warn about missing MLINKS since these
473: are no longer needed for anything.
474: --- MINOR NEW FEATURES ---
475: * mdoc(7): Warn about invalid punctuation and content below NAME.
476: * mdoc(7): Warn about .Xr lacking the second argument (section).
477: * mdoc(7): Warn about violations of the rule "new sentence, new line".
478: * roff(7): Warn about trailing whitespace at the end of comments.
1.21 schwarze 479: * mdoc(7): Improve rendering of double quotes.
1.13 schwarze 480: * mdoc(7): Always do text production in the validator, never in the
481: formatters. Cleaner, simpler, shorter, helps NetBSD apropos(1)
482: and also makes -Ttree output more useful.
1.15 schwarze 483: * -Ttree: Show metadata and some additional node flags.
484: New -Onoval output option to show the unvalidated tree.
1.13 schwarze 485: --- RELIABILITY BUGFIXES ---
486: * man(1): Make "man -l" work with standard input from a pipe or file,
487: as long as standard output is a terminal.
1.21 schwarze 488: * man(7): Fix out of bounds read access if a text node immediately
489: preceded the first .SH header.
1.13 schwarze 490: * mdoc(7): Fix out of bounds read access for .Bl without a type
491: but with a width.
492: * mdoc(7): Fix out of bounds read access for .Bl -column starting
493: with a tab character instead of a child .It macro.
494: * mdoc(7): Fix syntax tree corruption leading to segfaults caused
495: by stray block end macros in nested blocks of mismatching type.
496: * man(1): Fix NULL dereference when the first of multiple pages
497: shown was preformatted.
1.18 schwarze 498: * mdoc(7): Fix syntax tree corruption leading to NULL dereference
499: caused by partial implicit macros inside .Bl -column table cells.
1.13 schwarze 500: * mdoc(7): Fix syntax tree corruption leading to NULL dereference
501: for macro sequences like .Bl .Bl .It Bo .El .It.
1.15 schwarze 502: * mdoc(7): Fix syntax tree corruption leading to NULL dereference
1.13 schwarze 503: caused by .Ta following a nested .Bl -column breaking another block.
1.16 schwarze 504: * mdoc(7): Fix syntax tree corruption sometimes leading to NULL
1.17 schwarze 505: dereference caused by indirectly broken .Nd or .Nm blocks.
1.13 schwarze 506: * mdoc(7) -Thtml: Fix a NULL dereference for .Bl -column with 0 columns.
1.17 schwarze 507: * mdoc(7): Fix NULL dereference in some specific cases of a
508: block-end macro calling another block-end macro.
1.13 schwarze 509: * mdoc(7): Fix NULL dereference if the only child of the head
510: of the first .Sh was an empty in-line macro.
1.19 schwarze 511: * eqn(7): Fix NULL dereference in the terminal formatter
512: for empty matrices and empty square roots.
1.13 schwarze 513: * mdoc(7): Fix an assertion failure for a .Bd without a type that
514: breaks another block.
1.20 schwarze 515: * mdoc(7): Fix an assertion failure that happened for some .Bl -column
516: lists containing a column width of "-4n", "-3n", or "-2n".
1.13 schwarze 517: * mdoc(7): Fix an assertion failure caused by .Bl -column without .It
518: but containing eqn(7) or tbl(7) code.
519: * roff(7): Fix an assertion failure caused by \z\[u00FF] with -Tps/-Tpdf.
520: * roff(7): Fix an assertion failures caused by whitespace inside \o''
521: (overstrike) sequences.
522: * -Thtml: Fix an assertion failure caused by -Oman or -Oincludes of
523: excessive length.
524: --- PORTABILITY IMPROVEMENTS ---
525: * man(1): Do not mix stdio narrow and wide stream orientation
526: on stdout, which could cause output corruption on glibc.
527: * mandoc(1): Autodetect a suitable locale for -Tutf8 mode.
1.21 schwarze 528: * ./configure: Autodetect whether PATH_MAX and O_DIRECTORY are defined.
529: * ./configure: Autodetect if nanosleep(3) needs -lrt.
530: * ./configure: Provide an ${LN} configuration variable.
531: * ./configure: Put compiler arguments that may contain -l at the end.
1.13 schwarze 532: --- MINOR BUGFIXES ---
533: * mdoc(7): Fix SYNOPSIS output if the first child of .Nm is a macro.
534: * mdoc(7) -Thtml: Improve formatting of .Bl -tag with short tags.
535: * man(7) -Thtml: Preserve whitespace in .nf (nofill) mode.
536: * mandoc(1): Error out on invalid output options on the command line.
537: --- STRUCTURAL CHANGES, no functional change ---
538: * Redesign part of the mandoc_html(3) interfaces, making them much
539: easier to use and reducing the amount of code by a few hundred lines.
540: --- THANKS TO ---
541: * Michael Stapelberg (Debian) for designing the new mandocd(8)
1.21 schwarze 542: and parts of the new catman(8), for release testing, and for a
543: number of patches and bug reports.
1.13 schwarze 544: * Baptiste Daroussin (FreeBSD) for profiling the new makewhatis(8)
545: implementation and suggesting an algorithmic improvement which
546: more than doubled performance, and for a few bug reports.
547: * Ed Maste (FreeBSD) for an important patch improving reproducibility
548: of builds in makewhatis(8), and for a few bug reports.
1.21 schwarze 549: * Theo Buehler (OpenBSD) for almost twenty important bug reports,
1.13 schwarze 550: most of them found by systematic afl(1) fuzzing.
551: * Benny Lofgren, David Dahlberg, and in particular Vadim Zhukov
552: for crucial help in getting .Bl -tag CSS formatting fixed.
553: * Svyatoslav Mishyn (Crux Linux) for an initial version of the
1.21 schwarze 554: patch to autodetect a suitable locale for -Tutf8 mode
555: and for release testing.
1.13 schwarze 556: * Jason McIntyre (OpenBSD) for multiple useful discussions
557: and a number of bug reports.
1.21 schwarze 558: * Sevan Janiyan (NetBSD) for extensive release testing and multiple
559: bug reports.
560: * Thomas Klausner and Christos Zoulas (NetBSD), Yuri Pankov (illumos),
561: and Leah Neukirchen (Void Linux) for release testing and bug reports.
562: * Ulrich Spoerlein (FreeBSD) for release testing.
1.13 schwarze 563: * Alexander Bluhm, Andrew Fresh, Antoine Jacoutot, Antony Bentley,
564: Christian Weisgerber, Jonathan Gray, Marc Espie, Martijn van Duren,
565: Stuart Henderson, Ted Unangst, Theo de Raadt (OpenBSD), Abhinav
1.21 schwarze 566: Upadhyay, Kamil Rytarowski (NetBSD), Aaron M. Ucko, Bdale Garbee,
567: Reiner Herrmann, Shane Kerr (Debian), Daniel Sabogal (Alpine Linux),
1.13 schwarze 568: Carsten Kunze (Heirloom roff), Kristaps Dzonsons (bsd.lv),
569: Anton Lindqvist, Jan Stary, Jeremy A. Mates, Mark Patruck,
570: Pavan Maddamsetti, Sean Levy <attila@stalphonsos.com>, and
571: Tiago Silva for bug reports.
572: * Brent Cook, Marc Espie, Philip Guenther, Todd Miller (OpenBSD)
573: and Markus Waldeck for useful discussions.
574: * And as usual, OpenCSW for providing me with a Solaris 9/10/11
575: testing environment.
1.11 schwarze 576:
1.12 schwarze 577: Changes in version 1.13.4, released on July 14, 2016
1.11 schwarze 578:
579: --- MAJOR NEW FEATURES ---
580: * man.conf(5): Design and implement a simpler configuration file format.
581: * man(1): Leverage less(1) -T and :t in a way resembling ctags(1)
582: to jump to the definitions of various terms inside manual pages.
583: * soelim(1): New implementation by Baptiste Daroussin.
1.12 schwarze 584: * privilege limitation: Use OpenBSD pledge(2) or OS X sandbox_init(3)
585: when available.
586: * man.cgi(8): Support short URIs like http://man.openbsd.org/mdoc .
1.11 schwarze 587: * mandoc.css: Use one unified stylesheet rather than three different ones.
588: --- MAJOR FUNCTIONALLY RELEVANT BUGFIXES ---
589: * mdoc(7): Fix multiple aspects of SYNOPSIS .Nm formatting.
590: * man(1): Fix process group handling, avoiding unclean shutdowns.
591: --- PORTABILITY IMPROVEMENTS ---
592: * Correctly use the ohash(3) compatibility implementation
593: even when building without SQLite support.
594: * Add compat glue for building on Solaris 9 and 10.
595: * Let ./configure select a supported RE syntax for word boundaries.
1.12 schwarze 596: * Support LDFLAGS, to be used for example for hardening options.
597: * Avoid mixing putchar(3) and putwchar(3) on the same file descriptor,
598: it resulted in output corruption on some platforms.
1.11 schwarze 599: * Avoid reusing va_lists, use va_copy(3) for better portability.
600: * Do not hardcode the path to the more(1) program.
601: --- MINOR NEW FEATURES ---
602: * roff(7): Implement \n(.$ (number of macro arguments).
603: * roff(7): Fully implement \z (do not advance cursor).
604: * roff(7): Implement the `r' conditional (register exists).
605: * roff(7): Implement \\$* (interpolate all arguments).
606: * roff(7): Parse and ignore \, and \/ (italic corrections).
607: * When there is no -m, no -M, no MANPATH and no /etc/man.conf,
608: fall back to /usr/share/man:/usr/X11R6/man:/usr/local/man.
609: * man(1): Give manuals in purely numerical sections priority over
610: manuals of the same name in sections with an alphabetical suffix.
611: * man.cgi(8): Support "header.html" and "footer.html".
612: * man.cgi(8): Set the "autofocus" attribute on the query text box.
613: * man.cgi(8): Simplify the search form, drop two useless buttons.
1.12 schwarze 614: * man.cgi(8): Delete the pseudo-manpath "mandoc", assume that
615: apropos(1) and man.cgi(8) are installed in the default manpath.
1.11 schwarze 616: --- RELIABILITY BUGFIXES ---
617: * mdoc(7): Avoid a use after free and an assertion failure when nodes
618: are deleted during validation.
619: * mdoc(7): Avoid a NULL pointer access when .Bd has no arguments.
620: * mdoc(7): Avoid a NULL pointer access triggered by mismatching end macros.
621: * mdoc(7): Avoid an assertion when .Fo has no argument.
622: * mdoc(7): Avoid an assertion when .Ta<tab> occurs in .Bl -column.
623: * mdoc(7): Avoid an assertion when a body gets broken and has a tail.
624: * roff(7): Avoid an assertion caused by blanks inside \o.
1.12 schwarze 625: * roff(7): Make .so links to gziped manuals work without mandoc.db(5).
1.11 schwarze 626: * tbl(7): Avoid a use after free when the last line of a layout is empty.
627: * eqn(7): Avoid an infinite loop caused by recursive "define".
628: * makewhatis(8): Avoid a segfault caused by unusual directory structures.
629: * Fix handling of leading, trailing, and double colons in MANPATH and -m.
630: --- MINOR BUGFIXES ---
631: * mdoc(7): Put arguments to end macros of broken partial explicit blocks
632: inside the breaking block.
633: * mdoc(7): Let .Dv force normal font.
634: * mdoc(7): Make trailing whitespace significant in .Bl -tag widths.
635: * mdoc(7): Fix macro interpretation around tabs in .Bl -column.
636: * man(7): Use the default width for .RS without arguments.
637: * man(7): On a new RS nesting level, the saved width starts from
638: the default width, not from the saved width of the previous level.
639: * man(7): Allow .PD in next-line scope.
640: * man(7): Improve handling of empty .HP.
641: * man(7): Improve formatting of .br and .sp inside .HP.
642: * man(7): Do not mistreat empty arguments to font alternating
643: macros as vertical spacing requests.
644: * man(7): Allow fill mode changes in tagged paragraph next-line scope.
645: * man(7): Fix minor bugs in block rewinding and simplify the related code.
646: * man(7): Add missing line breaks before subsection headers.
647: * man(7): Give section and subsection headers hanging indentation.
648: * man(7): Make trailing whitespace significant in .TP widths.
649: * roff(7): Don't allow breaking the output line after hyphens
650: that immediately follow escape sequences.
651: * roff(7): Ignore blank characters at the beginning of conditional blocks.
652: * roff(7): Escape breakable hyphens only after handling input line traps.
653: * roff(7): Reject \[uD800] to \[uDFFF] (surrogates) in the parser.
654: * tbl(7): Allow more than one data field after T} on the same input line.
655: * terminal output: Apply bold and italic to non-ASCII Unicode codepoints.
656: * terminal output: Improve rounding rules for horizontal scaling widths.
657: * HTML output: Render ASCII_NBRSP as " ", not "-".
658: * man(1): Do not match the first part of a name if it continues with a dot.
659: * man(1): Keep working even if the current directory is unusable.
660: * man(1): Better error message when $PAGER is invalid.
661: * makewhatis(8): Improve handling of .Va and .Vt macros.
662: * apropos(1): Print "nothing appropriate" to stderr when appropriate.
663: * apropos(1): Abort with a useful error message when elementary
664: database operations like preparing queries or binding variables fail.
665: --- STRUCTURAL CHANGES, no functional change ---
666: * mdoc(7) and man(7): Unified data structures struct roff_node etc.
667: * mdoc(7) and man(7): Unified node handling library in roff.c.
668: * mdoc(7) and man(7): Seperate validation phase from parsing.
1.12 schwarze 669: * roff(7): Major character table cleanup.
1.11 schwarze 670: * Link with libz rather than forking gunzip(1).
671: --- THANKS TO ---
1.12 schwarze 672: * Baptiste Daroussin (FreeBSD) for the new soelim(1)
673: and for release testing.
1.11 schwarze 674: * Anthony Bentley (OpenBSD) for unifying mandoc.css, two nice
675: patches for man.cgi(8), some documentation patches, some bug
676: reports, and various useful discussions.
677: * Todd Miller (OpenBSD) for lots of help with process group and
678: signal handling, a few patches, some bug reports and some useful
679: discussions.
680: * Jonathan Gray (OpenBSD) for yet more testing with afl(1)
681: again resulting in more than half a dozen important bug reports.
1.12 schwarze 682: * Svyatoslav Mishyn (Crux Linux) for some patches, several bug
683: reports, and extensive release testing.
1.15 schwarze 684: * Leah Neukirchen (Void Linux) for a number of compatibility
1.12 schwarze 685: patches and suggestions and several bug reports.
1.11 schwarze 686: * Christos Zoulas (NetBSD) for a bug fix patch and some useful
687: suggestions for cleanup.
688: * Florian Obser (OpenBSD) for a bugfix patch and some bug reports.
1.12 schwarze 689: * Sevan Janiyan for help with Solaris compatibility and release
690: testing on many platforms.
691: * Jan Holzhueter and OpenCSW in general for help with Solaris
692: compatibility, and for providing me with a Solaris 9/10/11 testing
693: environment.
1.11 schwarze 694: * Michael McConville (OpenBSD) for some simple cleanup patches.
1.12 schwarze 695: * Thomas Klausner (NetBSD) for some bug reports and release testing.
1.11 schwarze 696: * Christian Weisgerber, Dmitrij Czarkoff, Igor Sobrado,
1.12 schwarze 697: Ken Westerback, Marc Espie, Mike Belopuhov, Rafael Neves,
698: Ted Unangst, Tim van der Molen, Theo Buehler, Theo de Raadt
699: (OpenBSD), Kurt Jaeger, Dag Erling Smoergrav (FreeBSD),
700: Joerg Sonnenberger (NetBSD), Carsten Kunze (Heirloom troff),
701: Daniel Levai, Fabian Raetz, Jan Stary, Jean-Yves Migeon,
1.11 schwarze 702: Lorenzo Beretta, Markus Waldeck, Maxim Belooussov, Michael Reed,
703: Peter Bray, and Serguey Parkhomovsky for bug reports and feature
704: suggestions.
705: * Alexander Hall, Andrew Fresh, Antoine Jacoutot, Doug Hogan,
706: Jason McIntyre, Jasper Lievisse Adriaanse, Kent Spillner,
707: Nicholas Marriott, Peter Hessler, Sebastien Marie, Stefan Sperling,
708: and Theo de Raadt (OpenBSD) for helpful discussions and feedback.
1.9 schwarze 709:
710: Changes in version 1.13.3, released on March 13, 2015
711:
712: --- MAJOR NEW FEATURES ---
713: * When a manual is missing from an outdated database, let man(1)
714: show it anyway, using a KISS file system lookup as a fallback.
715: * Use this to always provide man(1), even without database support.
716: * Fatal errors no longer exist. If a file can be opened, mandoc
717: will produce some output; at worst, the output may be almost empty.
718: * New -Wunsupp message level.
719: --- POTENTIONALLY SECURITY RELEVANT BUGFIXES ---
720: * Fix a potential write buffer overrun on incomplete string conditionals.
1.22 schwarze 721: http://mandoc.bsd.lv/cgi-bin/cvsweb/roff.c#rev1.241
1.9 schwarze 722: * Fix a potential write buffer overrun on backslash at EOF in a conditional.
1.22 schwarze 723: http://mandoc.bsd.lv/cgi-bin/cvsweb/roff.c#rev1.247
1.9 schwarze 724: * Fix a use after free sometimes hit when validation deletes a block.
1.22 schwarze 725: http://mandoc.bsd.lv/cgi-bin/cvsweb/mdoc_macro.c#rev1.180
1.9 schwarze 726: --- MAJOR FUNCTIONALLY RELEVANT BUGFIXES ---
727: * Let man(1) show manuals for the current architecture by default,
728: and support the MACHINE environment variable.
729: * Fix the man(1) and apropos(1) -m option, it didn't work at all.
730: * Do not spawn a pager when there is no output.
731: * In makewhatis(8), fix detection of hardlinked manuals on platforms
732: having padding in struct inodev (typically 64bit platforms).
733: --- PORTABILITY IMPROVEMENTS ---
734: * Ignore O_CLOEXEC when the operating system doesn't provide it.
735: * Avoid forward reference to enum type which violates ISO C99.
736: * Support homebrew-style linking on Mac OS X.
737: --- MINOR NEW FEATURES ---
738: * lookup: Accept digit+letter and "n" as section names in man(1),
739: and consistently handle digit+letter in file name extensions.
740: * lookup: Speed up -s/-S by using the "mlinks" rather than the "keys" table.
741: * output: Insert horizontal lines between formatted manual pages.
742: * input: New stricter and more resilient UTF-8 parser.
743: * mdoc(7): Refactor block rewinding for simpler and more robust parsing.
744: * man(7): Use the -Ios option when .TH has less than four arguments.
745: * tbl(7): Implement the "center" option.
746: * tbl(7): New option and format parsers, improved in many respects.
747: * roff(7): Basic implementation of the \o escape sequence (overstrike),
748: and improved rendering of overstrikes in PostScript and PDF output.
749: * Message improvements, in particular for, but not restricted to,
750: eqn(7), tbl(7), and wrong numbers of arguments in mdoc(7) and man(7),
751: in various cases also improving output generated by invalid input.
752: * Delete the -V option. It serves no purpose but keeps confusing people.
753: * gmdiff: Minimal support for Heirloom roff.
754: --- RELIABILITY BUGFIXES ---
755: * tbl(7): Fix a read buffer overrun on 'f' at EOL in a layout.
756: * roff(7): Fix a read buffer overrun on incomplete numerical conditions.
757: * mdoc(7): Fix a NULL pointer access on .Nd followed by an explicit block.
758: * mdoc(7): Fix a NULL pointer access on .It Xo without .Xc.
759: * mdoc(7): Fix a NULL pointer access on .Eo without a tail.
760: * mdoc(7): Fix a NULL pointer access in the validation of empty .St macros.
761: * man(7)/tbl(7): Fix a NULL pointer access on .TS right after .TP.
762: * tbl(7): Fix a NULL pointer access on layout lines without any cells.
763: * eqn(7): Fix NULL pointer accesses in the terminal formatter.
764: * roff(7): Fix a NULL pointer access on trailing \s-/\s+ without an argument.
765: * gz: Fix a potential NULL pointer access after waitpid() failure.
766: * roff(7): Don't let the modulo operator divide by zero.
767: * input: Fix an assertion failure on certain invalid UTF-8 input.
768: * terminal output: Allow arbitrary depth of the font stack (assertion fix).
769: * mdoc(7): Fix assertion failures and endless loops on invalid block closing.
770: * mdoc(7): Fix an assertion failure on .Bl .Sm not followed by .It.
771: * mdoc(7): Fix an assertion failure on .Bl -column ... .El .Ta.
772: * tbl(7): Fix assertion failures by macros inside table data,
773: but do not throw away the macro arguments.
774: * Prevent certain kinds of unreasonable input from producing excessive
775: output, in one case caused by unsigned integer underflow.
776: * Fix a potential memory leak in makewhatis(8) on very long filenames.
777: --- MINOR BUGFIXES ---
778: * mdoc(7): Fix parsing of badly nested blocks with multiple identical blocks.
779: * mdoc(7): Support negative indentations for displays and lists.
780: * mdoc(7): Don't mistreat negative .sp arguments as large positive ones.
781: * mdoc(7): Some spacing fixes for .Eo/.Ec.
782: * man(7): Support negative horizontal widths.
783: * man(7): Do not print out invalid .IP arguments.
784: * man(7): Correctly handle scaling units after .PD.
785: * man(7): Support .RE with an argument.
786: * man(7): Fix restoring indentation after .RS with large negative arguments.
787: * tbl(7): Prevent tables from breaking the filling of preceding text.
788: * tbl(7): Fix vertical spacing at the beginning of tables.
789: * tbl(7): Parser and formatter fixes for line drawing and font modifiers.
790: * tbl(7): Correct handling of blank data lines.
791: * eqn(7): Add sometimes missing whitespace before equation output.
792: * roff(7): Fix vertical scaling, most of it was wrong.
793: * roff(7): Slightly improve \w width measurements.
794: * roff(7): Accept the historic aliases \s10 to \s39 for \s(10 to \s(39.
795: * roff(7): Correctly escape quotes when expanding macro arguments.
796: * roff(7): Correctly handle scaling units in numerical expressions,
797: and some other improvements to the parsing of numerical expressions.
798: * roff(7): Three minor fixes with respect to evaluation of conditionals.
799: * roff(7): Let .it accept numerical expressions, not just constants.
800: * mandoc_char(7): Correct some character names and renderings.
1.10 schwarze 801: * If earlier files set a non-zero exit status, never reset it to zero.
1.9 schwarze 802: --- THANKS TO ---
803: * Jonathan Gray (OpenBSD) for yet more testing with afl (the American
804: Fuzzy Lop security fuzzer), again resulting in many bug reports.
805: * Theo de Raadt (OpenBSD) for suggesting the main new feature (man(1) file
806: system lookup) and for reporting an important bug (pager without output).
807: * Theo Buehler for an important bug report (-s/-S slowness)
808: and for proposing a nice new feature (lines between pages).
809: * Jason McIntyre for an important bug report (hardlink detection)
810: and multiple documentation patches.
811: * Pascal Stumpf (OpenBSD) and Alessandro de Laurenzis for
812: important bug reports (architecture and man -m, respectively).
813: * Thomas Klausner (NetBSD) for proposing a new feature (man(7) -Ios),
814: a bug report, and release testing.
815: * Anthony Bentley, Daniel Dickman, Ted Unangst (OpenBSD) and
816: Kristaps Dzonsons (bsd.lv) for source code patches and bug reports.
817: * Christian Weisgerber (OpenBSD) for more than half a dozen bug reports.
818: * Carsten Kunze (Heirloom troff) for bug reports and release testing.
819: * Antoine Jacoutot (OpenBSD) for release testing.
820: * Alexis Hildebrandt (Homebrew), Baptiste Daroussin (FreeBSD),
821: Jonathan Perkin (SmartOS), Pedro Giffuni (FreeBSD), Svyatoslav
822: Mishyn (Crux Linux), Ulrich Spoerlein (FreeBSD), Jan Stary, Patrick
823: Keshishian, Sebastien Marie, and Steffen Nurpmeso for bug reports.
1.7 schwarze 824:
1.8 schwarze 825: Changes in version 1.13.2, released on December 13, 2014
1.7 schwarze 826:
827: --- MAJOR NEW FEATURES ---
828: * Include an implementation of man(1), the manual page viewer.
829: * Unified set of command line option, each one supported by all
830: command names, including new options -a (format all), -c (no
831: pager), -h (synopsis only), and -w (list filenames).
832: * Support the MANPAGER and PAGER environment variables.
833: * Support gzip'ed manuals by the whole toolset, even as .so targets.
834: * Support UTF-8 and Latin-1 input by the whole toolset, delete preconv(1).
835: * Switch the default output mode from -Tascii to -Tlocale.
836: * Improve -Tascii output for Unicode escape sequences.
837: * Let the -Thtml output mode produce polyglot HTML5.
838: * Many improvements for eqn(7), in particular in-line equations,
839: MathML output in -Thtml mode, and much improved terminal formatting.
840: --- PORTABILITY IMPROVEMENTS ---
841: * Change the build sequence to the usual ./configure; make; make install.
842: * Support ./configure.local for build customizations.
843: * Autodetect wchar, sqlite3, and manpath support.
844: * Provide a fallback version of fts(3) for systems lacking it.
845: * Support choosing alternative binary and manual names.
846: --- MINOR NEW FEATURES ---
847: * Rudimentary implementation of the e, x, and z tbl(7) layout
848: modifiers to equalize, maximize, and ignore the width of columns.
849: * Implement font modifiers in tbl(7) layouts.
850: * Allow comma-separated options in the tbl(7) options line.
851: * Parse and ignore the .pl (page length) roff(7) request.
852: * Implement .An -[no]split for the mdoc(7) -Thtml output mode.
853: * Support bold italic font in PostScript and PDF output.
854: * Warn about commas in function arguments and parentheses in function names.
855: * Warn about botched .Xr ordering and punctuation below SEE ALSO.
856: * Warn about AUTHORS sections without .An macros.
857: * Warn about attempts to call non-callable macros.
858: * New developer documentation manual page mandoc_headers(3).
859: --- BUGFIXES ---
860: * Fix read buffer overrun sometimes triggered by trailing whitespace.
861: * Fix read buffer overrun triggered by certain invalid \H sequences.
862: * Fix NULL pointer access triggered by .Bl without any arguments.
863: * Fix NULL pointer access triggered by .It Nm Fo without .Fc.
864: * Fix NULL pointer access triggered by .Sh Xo .Sh without .Xc.
865: * Fix NULL pointer access triggered by missing .Nm.
866: * Fix an assertion triggered by .It right after .El.
867: * Fix an assertion triggered by .Ec without preceding .Eo.
868: * Fix an assertion triggered by .Sm or .Db with multiple arguments.
869: * Fix assertion failures triggered by very large width arguments.
870: * Fix a division by zero in the roff(7) parser.
871: * Prevent negative arguments to .ll from causing integer underflow.
872: * Correctly autodetect source format even when .Dd is preceded by .ll.
873: * Multiple fixes with respect to .Bd and .Bl -offset and -width.
874: * Many bugfixes with respect to scaling units.
875: * Multiple fixes with respect to delimiter handling by in-line macros.
876: * Multiple fixes with respect to .Pf.
877: * Make \c work properly in no-fill mode.
878: * Stricter syntax checking of Unicode character names.
879: --- THANKS TO ---
880: * Kristaps Dzonsons for rewriting the eqn(7) parser, implementing
881: HTML5 and MathML output, and various other code contributions.
882: * Jonathan Gray (OpenBSD) for extensive testing with afl (the
883: American Fuzzy Lop security fuzzer) resulting in many bug reports.
884: * Anthony Bentley (OpenBSD), Baptiste Daroussin (FreeBSD), Daniel
885: Dickman, Doug Hogan, Jason McIntyre, Theo de Raadt (OpenBSD),
886: and Martin Natano for source code patches.
887: * Carsten Kunze (Heirloom troff), Daniel Levai (Slackware),
888: Garrett D'Amore (illumos), Giovanni Becchis, Matthew Dempsky,
889: Stuart Henderson, Ted Unangst, Todd Miller (OpenBSD), Thomas
890: Klausner (NetBSD), Ulrich Spoerlein (FreeBSD), Justin Haynes,
891: Marcus Merighi, Sebastien Marie, Steffen Nurpmeso and Theo Buehler
892: for bug reports.
1.5 schwarze 893:
894: Changes in version 1.13.1, released on August 10, 2014
895:
896: --- MAJOR NEW FEATURES ---
897: * A complete apropos(1)/makewhatis(8)/man.cgi(8) suite
898: based on SQLite3 is now included.
899: * The roff(7) parser now provides an almost complete implementation
900: of numerical expressions.
901: * Warning and error messages have been improved in many ways.
902: Almost all fatal errors were downgraded to normal errors and some
903: even to warnings. Almost all messages now mention the macro where
904: the issue is detected and many indicate the workaround employed.
905: The mandoc(1) manual now includes a list explaining all messages.
906: --- MINOR NEW FEATURES ---
907: * The roff(7) parser now supports the .ami (append to macro with
908: indirectly specified name), .as (append to user-defined
909: string), .dei (define macro with indirectly specified name),
910: .ll (line length), and .rr (remove register) requests.
911: * The roff(7) parser now supports string comparison and numerical
912: conditionals in the .if and .ie requests.
913: * The roff parser now fully supports the \B (validate numerical
914: expression) and partially supports the \w (measure text width)
915: escape sequences.
916: * The terminal formatter now supports the \: (optional line break)
917: escape sequence.
918: * The roff parser now supports expansion of user-defined strings
919: involving indirect references.
920: * The roff(7) parser now handles some pre-defined read-only
921: number registers that occur in the pod2man(1) preamble.
922: * For backward compatibility, the mdoc(7) parser and formatters
923: now support the obsolete macros .En, .Es, .Fr, and .Ot.
924: * The mdoc(7) formatter non partially supports .Bd -centered.
925: * tbl(7) now handles leading and trailing vertical lines.
926: * The build system now provides fallback versions of strcasestr(3)
927: and strsep(3) for systems lacking them.
928: * The mdoc(7) manual now explains how various standards
929: supported by the .St macro are related to each other.
930: --- BUGFIXES ---
931: * In the roff(7) parser, several bugs were fixed with respect
932: to closing conditional blocks on macro lines.
933: * Parsing of roff(7) identifiers and escape sequences was improved
934: in multiple respects.
935: * In the mdoc(7) parser, the handling of defective document
936: prologues was improved in multiple ways.
937: * The mdoc(7) parser no longer skips content before the first section
938: header, and it no longer deletes non-.% content from .Rs blocks.
939: * In the mdoc(7) parser, a crash was fixed related to weird .Sh headers.
940: * In the mdoc(7) parser, handling of .Sm with missing or invalid
941: arguments was corrected.
942: * In the mdoc(7) parser, trailing punctuation at the end of partial
943: implicit macros no longer triggers end-of-sentence spacing.
944: * In the terminal formatter, two crashes were fixed: one triggered by
945: excessive indentation and another by excessively long .Nm arguments.
946: * In the terminal formatter, a floating point rounding bug was
947: fixed that sometimes caused an off-by-one error in indentation.
948: * In the UTF-8 formatter, rendering of accents, breakable hyphens,
949: and non-breakable spaces was corrected.
950: * In the HTML formatter, encoding of special characters was
951: corrected in multiple respects.
952: * In the mdoc(7) formatter, rendering of .Ex and .Rv was
953: improved for various edge cases.
954: * In the mdoc(7) formatter, handling of empty .Bl -inset item
955: heads was improved.
956: * In the man(7) formatter, some bugs were fixed with respect
957: to same-line detection in the context of .TP and .nf macros,
958: and the indentation of .IP and .TP blocks was improved.
959: * The mandoc(3) library no longer prints to stderr.
960: --- THANKS TO ---
961: Abhinav Upadhyay (NetBSD), Andreas Voegele, Anthony Bentley (OpenBSD),
962: Christian Weisgerber (OpenBSD), Havard Eidnes (NetBSD), Jan Stary,
963: Jason McIntyre (OpenBSD), Jeremie Courreges-Anglas (OpenBSD),
964: Joerg Sonnenberger (NetBSD), Juan Francisco Cantero Hurtado (OpenBSD),
965: Marc Espie (OpenBSD), Matthias Scheler (NetBSD), Pascal Stumpf (OpenBSD),
966: Paul Onyschuk (Alpine Linux), Sebastien Marie, Steffen Nurpmeso,
967: Stuart Henderson (OpenBSD), Ted Unangst (OpenBSD), Theo de Raadt (OpenBSD),
968: Thomas Klausner (NetBSD), and Ulrich Spoerlein (FreeBSD)
969: for reporting bugs and missing features.
1.4 schwarze 970:
971: Changes in version 1.12.3, released on December 31, 2013
972:
973: * In the mdoc(7) SYNOPSIS, line breaks and hanging indentation
974: now work correctly for .Fo/.Fa/.Fc and .Fn blocks.
975: Thanks to Franco Fichtner for doing part of the work.
976: * The mdoc(7) .Bk macro got some addititonal bugfixes.
977: * In mdoc(7) macro arguments, double quotes can now be quoted
978: by doubling them, just like in man(7).
979: Thanks to Tsugutomo ENAMI for the patch.
980: * At the end of man(7) macro lines, end-of-sentence spacing
981: now works. Thanks to Franco Fichtner for the patch.
982: * For backward compatibility, the man(7) parser now supports the
983: man-ext .UR/.UE (uniform resource identifier) block macros.
984: * The man(7) parser now handles closing blocks that are not open
985: more gracefully.
986: * The man(7) parser now ignores blank lines right after .SH and .SS.
987: * In the man(7) formatter, reset indentation when leaving a block,
988: not just when entering the next one.
989: * The roff(7) .nr request now supports incrementing and decrementing
990: number registers and stops parsing the number right before the
991: first non-digit character.
992: * The roff(7) parser now supports the alternative escape sequence
993: syntax \C'uXXXX' for Unicode characters.
994: * The roff(7) parser now parses and ignores the .fam (font family)
995: and .hw (hyphenation points) requests and the \d and \u escape
996: sequences.
997: * The roff(7) manual got a new ESCAPE SEQUENCE REFERENCE.
1.1 schwarze 998:
1.2 schwarze 999: Changes in version 1.12.2, released on Oktober 5, 2013
1.1 schwarze 1000:
1001: * The mdoc(7) to man(7) converter, to be called as mandoc -Tman,
1002: is now fully functional.
1003: * The mandoc(1) utility now supports the -Ios (default operating system)
1004: input option, and the -Tutf8 output mode now actually works.
1005: * The mandocdb(8) utility no longer truncates existing databases when
1006: starting to build new ones, but only replaces them when the build
1007: actually succeeds.
1008: * The man(7) parser now supports the PD macro (paragraph distance),
1009: and (for GNU man-ext compatibility only) EX (example block) and EE
1010: (example end). Plus several bugfixes regarding indentation, line
1011: breaks, and vertical spacing, and regarding RS following TP.
1012: * The roff(7) parser now supports the \f(BI (bold+italic) font escape,
1013: the \z (zero cursor advance) escape and the cc (change control
1014: character) and it (input line trap) requests. Plus bugfixes regarding
1015: the \t (tab) escape, nested escape sequences, and conditional requests.
1016: * In mdoc(7), several bugs were fixed related to UTF-8 output of quoting
1017: enclosures, delimiter handling, list indentation and horizontal and
1018: vertical spacing, formatting of the Lk, %U, and %C macros, plus some
1019: bugfixes related to the handling of syntax errors like badly nested
1020: font blocks, stray Ta macros outside column lists, unterminated It Xo
1021: blocks, and non-text children of Nm blocks.
1022: * In tbl(7), the width of horizontal spans and the vertical spacing
1023: around tables was corrected, and in man(7) files, a crash was fixed
1024: that was triggered by some particular unclosed T{ macros.
1025: * For mandoc developers, we now provide a tbl(3) library manual and
1026: gmdiff, a very small, very simplistic groff-versus-mandoc output
1027: comparison tool.
1.2 schwarze 1028: * Provide this NEWS file.
1.1 schwarze 1029:
1030: Changes in version 1.12.1, released on March 23, 2012
1031:
1032: * Significant work on apropos(1) and mandocdb(8). These tools are now
1033: much more robust. A whatis(1) implementation is now handled as an
1034: apropos(1) mode. These tools are also able to minimally handle
1035: pre-formatted pages, that is, those already formatted by another
1036: utility such as GNU troff.
1037: * The man.cgi(7) script is also now available for wider testing.
1038: It interfaces with mandocdb(8) manuals cached by catman(8).
1039: HTML output is generated on-the-fly by libmandoc or internal
1040: methods to convert pre-formatted pages.
1041: * The mailing list archive for the discuss and tech lists are being
1042: hosted by Gmane at gmane.comp.tools.mdocml.user and
1043: gmane.comp.tools.mdocml.devel, respectively.
1044:
1045: Changes in version 1.12.0, released on October 8, 2011
1046:
1047: * This version features a new, work-in-progress mandoc(1) output mode:
1048: -Tman. This mode allows a system maintainer to distribute man(7)
1049: media for older systems that may not natively support mdoc(7), such
1050: as old Solaris systems.
1051: * The -Ofragment option was added to mandoc(1)'s -Thtml and -Txhtml modes.
1052: * While adding features, an apropos(1) utility has been merged from the
1053: mandoc-tools sandbox. This interfaces with mandocdb(8) for semantic
1054: search of manual content. apropos(1) is different from the traditional
1055: apropos primarily in allowing keyword search (such as for functions,
1056: utilities, etc.) and regular expressions. Note that the calling
1057: syntax for apropos is likely to change as it settles down.
1058: * In documentation news, the mdoc(7) and man(7) manuals have been
1059: made considerably more readable by adding MACRO OVERVIEW sections, by
1060: moving the gory details of the LANGUAGE SYNTAX to the roff(7) manual,
1061: and by moving the very technical MACRO SYNTAX sections down to the
1062: bottom of the page.
1063: * Furthermore, for tbl(7), the -Tascii mode horizontal spacing of tables
1064: was rewritten completely. It is now compatible with groff(1), both
1065: with and without frames and rulers.
1066: * Nesting of indented blocks is now supported in man(7), and several
1067: bugs were fixed regarding indentation and alignment.
1068: * The page headers in mdoc(7) are now nicer for very long titles.
1069:
1070: Changes in version 1.11.7, released on September 2, 2011
1071:
1072: * Added demandoc(1) utility for stripping away macros and escapes.
1073: This replaces the historical deroff(1) utility.
1074: * Also improved the mdoc(7) and man(7) manuals.
1075:
1076: Changes in version 1.11.6, released on August 16, 2011
1077:
1078: * Handling of tr macro in roff(7) implemented. This makes Perl
1079: documentation much more readable. Hyphenation is also now enabled in
1080: man(7) format documents. Many other general improvements have been
1081: implemented.
1082:
1083: Changes in version 1.11.5, released on July 24, 2011
1084:
1085: * Significant eqn(7) improvements. mdocml can now parse arbitrary eqn
1086: input (although few GNU extensions are accepted, nor is mixing
1087: low-level roff with eqn). See the eqn(7) manual for details.
1088: For the time being, equations are rendered as simple in-line text.
1089: The equation parser satisfies the language specified in the
1090: Second Edition User's Guide:
1091: http://www.kohala.com/start/troff/v7man/eqn/eqn2e.ps
1092:
1093: Changes in version 1.11.4, released on July 12, 2011
1094:
1095: * Bug-fixes and clean-ups across all systems, especially in mandocdb(8)
1096: and the man(7) parser. This release was significantly assisted by
1097: participants in OpenBSD's c2k11. Thanks!
1098:
1099: Changes in version 1.11.3, released on May 26, 2011
1100:
1101: * Introduce locale-encoding of output with the -Tlocale output option and
1102: Unicode escaped-character input. See mandoc(1) and mandoc_char(7),
1103: respectively, for details. This allows for non-ASCII characters (e.g.,
1104: \[u5000]) to be rendered in the locale's encoding, if said environment
1105: supports wide-character encoding (if it does not, -Tascii is used
1106: instead). Locale support can be turned off at compile time by removing
1107: -DUSE_WCHAR in the Makefile, in which case -Tlocale is always a synonym
1108: for -Tascii.
1109: * Furthermore, multibyte-encoded documents, such as those in UTF-8, may
1110: be on-the-fly recoded into mandoc(1) input by using the newly-added
1111: preconv(1) utility. Note: in the future, this feature may be
1112: integrated into mandoc(1).
1113:
1114: Changes in version 1.11.2, released on May 12, 2011
1115:
1116: * Corrected some installation issues in version 1.11.1.
1117: * Further migration to libmandoc.
1118: * Initial public release (this utility is very much under development)
1119: of mandocdb(8). This utility produces keyword databases of manual
1120: content, which features semantic querying of manual content.
1121:
1122: Changes in version 1.11.1, released on April 4, 2011
1123:
1124: * The earlier libroff, libmdoc, and libman soup have been merged into
1125: a single library, libmandoc, which manages all aspects of parsing
1126: real manuals, from line-handling to tbl(7) parsing.
1127: * As usual, many general fixes and improvements have also occurred.
1128: In particular, a great deal of redundancy and superfluous code has
1129: been removed with the merging of the backend libraries.
1.3 schwarze 1130: * see also the changes in 1.10.10
1131:
1132: Changes in version 1.10.10, March 20, 2011, NOT released
1133:
1134: * Initial eqn(7) functionality is in place. For the time being,
1135: this is limited to the recognition of equation blocks;
1136: future version of mdocml will expand upon this framework.
1.1 schwarze 1137:
1138: Changes in version 1.10.9, released on January 7, 2011
1139:
1140: * Many back-end fixes have been implemented: argument handling (quoting),
1141: man(7) improvements, error/warning classes, and many more.
1142: * Initial tbl(7) functionality (see the "TS", "TE", and "T&" macros in
1143: the roff(7) manual) has been merged from tbl.bsd.lv. Output is still
1144: minimal, especially for -Thtml and -Txhtml, but manages to at least
1145: display data. This means that mandoc(1) now has built-in support
1146: for two troff preprocessors via libroff: soelim(1) and tbl(1).
1147:
1148: Changes in version 1.10.8, released on December 24, 2010
1149:
1.3 schwarze 1150: * Overhauled the -Thtml and -Txhtml output modes. They now display
1.1 schwarze 1151: readable output in arbitrary browsers, including text-based ones like
1152: lynx(1). See HTML and XHTML manuals in the DOCUMENTATION section
1153: for examples. Attention: available style-sheet classes have been
1154: considerably changed! See the example.style.css file for details.
1155: Lastly, libmdoc and libman have been cleaned up and reduced in size
1156: and complexity.
1.3 schwarze 1157: * see also the changes in 1.10.7
1158:
1159: Changes in version 1.10.7, December 6, 2010, NOT released
1160:
1161: Significant improvements merged from OpenBSD downstream, including:
1162: * many new roff(7) components,
1163: * in-line implementation of troff's soelim(1),
1164: * broken-block handling,
1165: * overhauled error classifications, and
1166: * cleaned up handling of error conditions.
1.1 schwarze 1167:
1168: Changes in version 1.10.6, released on September 27, 2010
1169:
1170: * Calling conventions for mandoc(1) have changed: -W improved and -f
1171: deprecated.
1172: * Non-ASCII characters are also now uniformly discarded.
1173: * Lots of documentation improvements.
1174: * Many incremental fixes accomodating for groff's more interesting
1175: productions.
1176: * Lastly, pod2man(1) preambles are now fully accepted after some
1177: considerable roff(7) and special character support.
1178:
1179: Changes in version 1.10.5, released on July 27, 2010
1180:
1181: * Primarily a bug-fix and polish release, but including -Tpdf support
1182: in mandoc(1) by way of "Summer of Code". Highlights:
1183: * fix "Sm" and "Bd" handling
1184: * fix end-of-sentence handling for embedded sentences
1185: * polish man(7) documentation
1186: * document all mdoc(7) macros
1187: * polish mandoc(1) -Tps output
1188: * lots of internal clean-ups in character escapes
1189: * un-break literal contexts in man(7) documents
1190: * improve -Thtml output for -man
1191: * add mandoc(1) -Tpdf support
1192:
1193: Changes in version 1.10.4, released on July 12, 2010
1194:
1195: * Lots of features developed during both "Summer of Code" and the
1196: OpenBSD c2k10 hackathon:
1197: * minimal "ds" roff(7) symbols are supported
1198: * beautified SYNOPSIS section output
1199: * acceptance of scope-block breakage in mdoc(7)
1200: * clarify error message status
1201: * many minor bug-fixes and formatting issues resolved
1.3 schwarze 1202: * see also changes in 1.10.3
1203:
1204: Changes in version 1.10.3, June 29, 2010, NOT released
1205:
1206: * variable font-width and paper-size support in mandoc(1) -Tps output
1207: * "Bk" mdoc(7) support
1.1 schwarze 1208:
1209: Changes in version 1.10.2, released on June 19, 2010
1210:
1211: * Small release featuring text-decoration in -Tps output,
1212: a few minor relaxations of errors, and some optimisations.
1213:
1214: Changes in version 1.10.1, released on June 7, 2010
1215:
1216: * This primarily focusses on the "Bl" and "It" macros described in
1217: mdoc(7). Multi-line column support is now fully compatible with groff,
1218: as are implicit list entries for columns.
1219: * Removed manuals(7) in favour of http://manpages.bsd.lv.
1220: * The way we handle the SYNOPSIS section (see the SYNOPSIS documentation
1221: in MANUAL STRUCTURE) has also been considerably simplified compared
1222: to groff's method.
1223: * Furthermore, the -Owidth=width output option has been added to -Tascii,
1224: see mandoc(1).
1225: * Lastly, initial PostScript output has been added with the -Tps option
1226: to mandoc(1). It's brutally simple at the moment: fixed-font, with no
1227: font decorations.
1228:
1229: Changes in version 1.10.0, released on May 29, 2010
1230:
1231: * Release consisting of the results from the m2k10 hackathon and up-merge
1232: from OpenBSD. This requires a significant note of thanks to Ingo
1233: Schwarze (OpenBSD) and Joerg Sonnenberger (NetBSD) for their hard work,
1234: and again to Joerg for hosting m2k10. Highlights (mostly cribbed from
1235: Ingo's m2k10 report) follow in no particular order:
1236: * a libroff preprocessor in front of libmdoc and libman stripping out
1237: roff(7) instructions;
1238: * end-of-sentence (EOS) detection in free-form and macro lines;
1239: * correct handling of tab-separated columnar lists in mdoc(7);
1240: * improved main calling routines to optionally use mmap(3) for better
1241: performance;
1242: * cleaned up exiting when invoked as -Tlint or over multiple files
1243: with -fign-errors;
1244: * error and warning message handling re-written to be unified for
1245: libroff, libmdoc, and libman;
1246: * handling of badly-nested explicit-scoped macros;
1247: * improved free-form text parsing in libman and libmdoc;
1248: * significant GNU troff compatibility improvements in -Tascii,
1249: largely in terms of spacing;
1250: * a regression framework for making sure the many fragilities of GNU
1251: troff aren't trampled in subsequent work;
1252: * support for -Tascii breaking at hyphens encountered in free-form text;
1253: * and many more minor fixes and improvements
1254:
1255: Changes in version 1.9.25, released on May 13, 2010
1256:
1257: * Fixed handling of "\*(Ba" escape.
1258: * Backed out -fno-ign-chars (pointless complexity).
1259: * Fixed erroneous breaking of literal lines.
1260: * Fixed SYNOPSIS breaking lines before non-initial macros.
1261: * Changed default section ordering.
1262: * Most importantly, the framework for end-of-sentence double-spacing is
1263: in place, now implemented for the "end-of-sentence, end-of-line" rule.
1264: * This is a stable roll-back point before the mandoc hackathon in Rostock!
1265:
1266: Changes in version 1.9.24, released on May 9, 2010
1267:
1268: * Rolled back break-at-hyphen.
1269: * -DUGLY is now the default (no feature splits!).
1270: * Free-form text is not de-chunked any more: lines are passed
1271: whole-sale into the front-end, including whitespace.
1272: * Added mailing lists.
1273:
1274: Changes in version 1.9.23, released on April 7, 2010
1275:
1276: * mdocml has been linked to the OpenBSD build.
1277: * This version incorporates many small changes, mostly from patches
1278: by OpenBSD, allowing crufty manuals to slip by with warnings instead
1279: of erroring-out.
1280: * Some subtle semantic issues, such as punctuation scope, have also
1281: been fixed.
1282: * Lastly, some issues with -Thtml have been fixed, which prompted an
1283: update to the online manual pages style layout.
1284:
1285: Changes in version 1.9.22, released on March 31, 2010
1286:
1287: * Adjusted merge of the significant work by Ingo Schwarze
1288: in getting "Xo" blocks (block full implicit, e.g., "It"
1289: for non-columnar lists) to work properly. This isn't
1290: enabled by default: you must specify -DUGLY as a compiler
1291: flag (see the Makefile for details).
1292:
1293: Changes in version 1.9.20, released on March 30, 2010
1294:
1295: * More efforts to get roff instructions in man(7) documents under
1296: control. Note that roff instructions embedded in line-scoped,
1297: next-line macros (e.g. "B") are not supported.
1298: * Leading punctuation for mdoc(7) macros, such as "Fl ( ( a",
1299: are now correctly handled.
1300:
1301: Changes in version 1.9.18, released on March 27, 2010
1302:
1303: * Many fixes (largely pertaining to scope)
1304: and improvements (e.g., handling of apostrophe-control macros,
1305: which fixes the strange "BR" seen in some macro output)
1306: to handling roff instructions in man(7) documents.
1307:
1308: Changes in version 1.9.17, released on March 25, 2010
1309:
1310: * Accept perlpod(1) standard preamble.
1311: * Also accept (and discard) "de", "dei", "am", "ami", and "ig"
1312: roff macro blocks.
1313:
1314: Changes in version 1.9.16, released on March 22, 2010
1315:
1316: * Inspired by patches and bug reports by Ingo Schwarze,
1317: allowed man(7) to accept non-printing elements to be nested
1318: within next-line scopes, such as "br" within "B" or "TH",
1319: which is valid roff.
1320: * Longsoon architecture also noted and Makefile cleaned up.
1321:
1322: Changes in version 1.9.15, released on February 18, 2010
1323:
1324: * Moved to our new BSD.lv home.
1325: * XHTML is now an acceptable output mode for mandoc(1);
1326: * "Xr" made more compatible with groff;
1327: * "Vt" fixed when invoked in SYNOPSIS;
1328: * "\\" escape removed;
1329: * end-of-line white-space detected for all lines;
1330: * subtle bug fixed in list display for some modes;
1331: * compatibility layer checked in for compilation in diverse
1332: UNIX systems;
1333: * and column lengths handled correctly.
1334:
1335: For older releases, see the ChangeLog files
1.22 schwarze 1336: in http://mandoc.bsd.lv/snapshots/ .
CVSweb