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