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