Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/mdocml/dist Changes in version 1.13.4, released...



details:   https://anonhg.NetBSD.org/src/rev/716b6a592658
branches:  trunk
changeset: 346499:716b6a592658
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Jul 15 14:25:55 2016 +0000

description:
Changes in version 1.13.4, released on July 14, 2016

    --- MAJOR NEW FEATURES ---
 * man.conf(5): Design and implement a simpler configuration file format.
 * man(1): Leverage less(1) -T and :t in a way resembling ctags(1)
   to jump to the definitions of various terms inside manual pages.
 * soelim(1): New implementation by Baptiste Daroussin.
 * privilege limitation: Use OpenBSD pledge(2) or OS X sandbox_init(3)
   when available.
 * man.cgi(8): Support short URIs like http://man.openbsd.org/mdoc .
 * mandoc.css: Use one unified stylesheet rather than three different ones.
    --- MAJOR FUNCTIONALLY RELEVANT BUGFIXES ---
 * mdoc(7): Fix multiple aspects of SYNOPSIS .Nm formatting.
 * man(1): Fix process group handling, avoiding unclean shutdowns.
    --- PORTABILITY IMPROVEMENTS ---
 * Correctly use the ohash(3) compatibility implementation
   even when building without SQLite support.
 * Add compat glue for building on Solaris 9 and 10.
 * Let ./configure select a supported RE syntax for word boundaries.
 * Support LDFLAGS, to be used for example for hardening options.
 * Avoid mixing putchar(3) and putwchar(3) on the same file descriptor,
   it resulted in output corruption on some platforms.
 * Avoid reusing va_lists, use va_copy(3) for better portability.
 * Do not hardcode the path to the more(1) program.
    --- MINOR NEW FEATURES ---
 * roff(7): Implement \n(.$ (number of macro arguments).
 * roff(7): Fully implement \z (do not advance cursor).
 * roff(7): Implement the `r'  conditional (register exists).
 * roff(7): Implement \\$* (interpolate all arguments).
 * roff(7): Parse and ignore \, and \/ (italic corrections).
 * When there is no -m, no -M, no MANPATH and no /etc/man.conf,
   fall back to /usr/share/man:/usr/X11R6/man:/usr/local/man.
 * man(1): Give manuals in purely numerical sections priority over
   manuals of the same name in sections with an alphabetical suffix.
 * man.cgi(8): Support "header.html" and "footer.html".
 * man.cgi(8): Set the "autofocus" attribute on the query text box.
 * man.cgi(8): Simplify the search form, drop two useless buttons.
 * man.cgi(8): Delete the pseudo-manpath "mandoc", assume that
   apropos(1) and man.cgi(8) are installed in the default manpath.
    --- RELIABILITY BUGFIXES ---
 * mdoc(7): Avoid a use after free and an assertion failure when nodes
   are deleted during validation.
 * mdoc(7): Avoid a NULL pointer access when .Bd has no arguments.
 * mdoc(7): Avoid a NULL pointer access triggered by mismatching end macros.
 * mdoc(7): Avoid an assertion when .Fo has no argument.
 * mdoc(7): Avoid an assertion when .Ta<tab> occurs in .Bl -column.
 * mdoc(7): Avoid an assertion when a body gets broken and has a tail.
 * roff(7): Avoid an assertion caused by blanks inside \o.
 * roff(7): Make .so links to gziped manuals work without mandoc.db(5).
 * tbl(7): Avoid a use after free when the last line of a layout is empty.
 * eqn(7): Avoid an infinite loop caused by recursive "define".
 * makewhatis(8): Avoid a segfault caused by unusual directory structures.
 * Fix handling of leading, trailing, and double colons in MANPATH and -m.
    --- MINOR BUGFIXES ---
 * mdoc(7): Put arguments to end macros of broken partial explicit blocks
   inside the breaking block.
 * mdoc(7): Let .Dv force normal font.
 * mdoc(7): Make trailing whitespace significant in .Bl -tag widths.
 * mdoc(7): Fix macro interpretation around tabs in .Bl -column.
 * man(7): Use the default width for .RS without arguments.
 * man(7): On a new RS nesting level, the saved width starts from
   the default width, not from the saved width of the previous level.
 * man(7): Allow .PD in next-line scope.
 * man(7): Improve handling of empty .HP.
 * man(7): Improve formatting of .br and .sp inside .HP.
 * man(7): Do not mistreat empty arguments to font alternating
   macros as vertical spacing requests.
 * man(7): Allow fill mode changes in tagged paragraph next-line scope.
 * man(7): Fix minor bugs in block rewinding and simplify the related code.
 * man(7): Add missing line breaks before subsection headers.
 * man(7): Give section and subsection headers hanging indentation.
 * man(7): Make trailing whitespace significant in .TP widths.
 * roff(7): Don't allow breaking the output line after hyphens
   that immediately follow escape sequences.
 * roff(7): Ignore blank characters at the beginning of conditional blocks.
 * roff(7): Escape breakable hyphens only after handling input line traps.
 * roff(7): Reject \[uD800] to \[uDFFF] (surrogates) in the parser.
 * tbl(7): Allow more than one data field after T} on the same input line.
 * terminal output: Apply bold and italic to non-ASCII Unicode codepoints.
 * terminal output: Improve rounding rules for horizontal scaling widths.
 * HTML output: Render ASCII_NBRSP as "&nbsp;", not "-".
 * man(1): Do not match the first part of a name if it continues with a dot.
 * man(1): Keep working even if the current directory is unusable.
 * man(1): Better error message when $PAGER is invalid.
 * makewhatis(8): Improve handling of .Va and .Vt macros.
 * apropos(1): Print "nothing appropriate" to stderr when appropriate.
 * apropos(1): Abort with a useful error message when elementary
   database operations like preparing queries or binding variables fail.
    --- STRUCTURAL CHANGES, no functional change ---
 * mdoc(7) and man(7): Unified data structures struct roff_node etc.
 * mdoc(7) and man(7): Unified node handling library in roff.c.
 * mdoc(7) and man(7): Seperate validation phase from parsing.
 * roff(7): Major character table cleanup.
 * Link with libz rather than forking gunzip(1).
    --- THANKS TO ---
 * Baptiste Daroussin (FreeBSD) for the new soelim(1)
   and for release testing.
 * Anthony Bentley (OpenBSD) for unifying mandoc.css, two nice
   patches for man.cgi(8), some documentation patches, some bug
   reports, and various useful discussions.
 * Todd Miller (OpenBSD) for lots of help with process group and
   signal handling, a few patches, some bug reports and some useful
   discussions.
 * Jonathan Gray (OpenBSD) for yet more testing with afl(1)
   again resulting in more than half a dozen important bug reports.
 * Svyatoslav Mishyn (Crux Linux) for some patches, several bug
   reports, and extensive release testing.
 * Christian Neukirchen (void Linux) for a number of compatibility
   patches and suggestions and several bug reports.
 * Christos Zoulas (NetBSD) for a bug fix patch and some useful
   suggestions for cleanup.
 * Florian Obser (OpenBSD) for a bugfix patch and some bug reports.
 * Sevan Janiyan for help with Solaris compatibility and release
   testing on many platforms.
 * Jan Holzhueter and OpenCSW in general for help with Solaris
   compatibility, and for providing me with a Solaris 9/10/11 testing
   environment.
 * Michael McConville (OpenBSD) for some simple cleanup patches.
 * Thomas Klausner (NetBSD) for some bug reports and release testing.
 * Christian Weisgerber, Dmitrij Czarkoff, Igor Sobrado,
   Ken Westerback, Marc Espie, Mike Belopuhov, Rafael Neves,
   Ted Unangst, Tim van der Molen, Theo Buehler, Theo de Raadt
   (OpenBSD), Kurt Jaeger, Dag Erling Smoergrav (FreeBSD),
   Joerg Sonnenberger (NetBSD), Carsten Kunze (Heirloom troff),
   Daniel Levai, Fabian Raetz, Jan Stary, Jean-Yves Migeon,
   Lorenzo Beretta, Markus Waldeck, Maxim Belooussov, Michael Reed,
   Peter Bray, and Serguey Parkhomovsky for bug reports and feature
   suggestions.
 * Alexander Hall, Andrew Fresh, Antoine Jacoutot, Doug Hogan,
   Jason McIntyre, Jasper Lievisse Adriaanse, Kent Spillner,
   Nicholas Marriott, Peter Hessler, Sebastien Marie, Stefan Sperling,
   and Theo de Raadt (OpenBSD) for helpful discussions and feedback.

diffstat:

 external/bsd/mdocml/dist/INSTALL                 |   22 +-
 external/bsd/mdocml/dist/LICENSE                 |   19 +-
 external/bsd/mdocml/dist/Makefile.depend         |   90 +-
 external/bsd/mdocml/dist/NEWS                    |  137 ++++-
 external/bsd/mdocml/dist/TODO                    |  120 +++-
 external/bsd/mdocml/dist/apropos.1               |   19 +-
 external/bsd/mdocml/dist/att.c                   |    5 +-
 external/bsd/mdocml/dist/cgi.c                   |  675 ++++++++++++----------
 external/bsd/mdocml/dist/cgi.h.example           |    5 +-
 external/bsd/mdocml/dist/chars.c                 |  487 +++++++++++++--
 external/bsd/mdocml/dist/compat_err.c            |  112 +++
 external/bsd/mdocml/dist/compat_fts.c            |  181 +-----
 external/bsd/mdocml/dist/compat_fts.h            |   11 +-
 external/bsd/mdocml/dist/compat_getline.c        |   68 ++
 external/bsd/mdocml/dist/compat_getsubopt.c      |    2 +-
 external/bsd/mdocml/dist/compat_isblank.c        |   33 +
 external/bsd/mdocml/dist/compat_mkdtemp.c        |   61 ++
 external/bsd/mdocml/dist/compat_ohash.h          |    3 +-
 external/bsd/mdocml/dist/compat_progname.c       |   42 +
 external/bsd/mdocml/dist/compat_reallocarray.c   |    2 +-
 external/bsd/mdocml/dist/compat_sqlite3_errstr.c |    2 +-
 external/bsd/mdocml/dist/compat_strcasestr.c     |    4 +-
 external/bsd/mdocml/dist/compat_stringlist.c     |  119 ++++
 external/bsd/mdocml/dist/compat_stringlist.h     |   45 +
 external/bsd/mdocml/dist/compat_strsep.c         |    2 +-
 external/bsd/mdocml/dist/compat_strtonum.c       |    2 +-
 external/bsd/mdocml/dist/compat_vasprintf.c      |   56 +
 external/bsd/mdocml/dist/configure.local.example |   84 ++-
 external/bsd/mdocml/dist/demandoc.1              |    4 +-
 external/bsd/mdocml/dist/demandoc.c              |   48 +-
 external/bsd/mdocml/dist/eqn.7                   |   10 +-
 external/bsd/mdocml/dist/eqn_html.c              |    2 +-
 external/bsd/mdocml/dist/eqn_term.c              |    2 +-
 external/bsd/mdocml/dist/gmdiff                  |    3 +-
 external/bsd/mdocml/dist/html.c                  |   77 +-
 external/bsd/mdocml/dist/html.h                  |    6 +-
 external/bsd/mdocml/dist/lib.c                   |    5 +-
 external/bsd/mdocml/dist/libman.h                |   63 +-
 external/bsd/mdocml/dist/libmdoc.h               |   89 +--
 external/bsd/mdocml/dist/libroff.h               |    5 +-
 external/bsd/mdocml/dist/main.h                  |   47 +-
 external/bsd/mdocml/dist/makewhatis.8            |    4 +-
 external/bsd/mdocml/dist/man.1                   |   66 +-
 external/bsd/mdocml/dist/man.7                   |    4 +-
 external/bsd/mdocml/dist/man.cgi.3               |  287 +++++++++
 external/bsd/mdocml/dist/man.cgi.8               |  168 +++--
 external/bsd/mdocml/dist/man.conf.5              |  131 ++++
 external/bsd/mdocml/dist/man.h                   |  144 +---
 external/bsd/mdocml/dist/man_hash.c              |   29 +-
 external/bsd/mdocml/dist/man_html.c              |  166 ++--
 external/bsd/mdocml/dist/man_validate.c          |  163 ++---
 external/bsd/mdocml/dist/manconf.h               |   48 +
 external/bsd/mdocml/dist/mandoc.1                |  177 +++--
 external/bsd/mdocml/dist/mandoc.3                |  259 +++-----
 external/bsd/mdocml/dist/mandoc.c                |  133 ++--
 external/bsd/mdocml/dist/mandoc.css              |  159 +++++
 external/bsd/mdocml/dist/mandoc.db.5             |    5 +-
 external/bsd/mdocml/dist/mandoc_aux.c            |   56 +-
 external/bsd/mdocml/dist/mandoc_char.7           |  114 ++-
 external/bsd/mdocml/dist/mandoc_escape.3         |    4 +-
 external/bsd/mdocml/dist/mandoc_headers.3        |  243 ++++---
 external/bsd/mdocml/dist/mandoc_html.3           |    4 +-
 external/bsd/mdocml/dist/mandoc_malloc.3         |   26 +-
 external/bsd/mdocml/dist/mandoc_ohash.c          |   63 ++
 external/bsd/mdocml/dist/mandoc_ohash.h          |   23 +
 external/bsd/mdocml/dist/mandocdb.c              |  579 +++++++++---------
 external/bsd/mdocml/dist/manpage.c               |   42 +-
 external/bsd/mdocml/dist/manpath.c               |  218 +++++--
 external/bsd/mdocml/dist/mansearch.3             |    8 +-
 external/bsd/mdocml/dist/mansearch.h             |    5 +-
 external/bsd/mdocml/dist/mansearch_const.c       |    2 +-
 external/bsd/mdocml/dist/mchars_alloc.3          |   34 +-
 external/bsd/mdocml/dist/mdoc.7                  |   27 +-
 external/bsd/mdocml/dist/mdoc.c                  |  594 +++-----------------
 external/bsd/mdocml/dist/mdoc.h                  |  371 ++++--------
 external/bsd/mdocml/dist/mdoc_hash.c             |   25 +-
 external/bsd/mdocml/dist/mdoc_html.c             |  466 ++++++---------
 external/bsd/mdocml/dist/mdoc_macro.c            |  489 ++++++++--------
 external/bsd/mdocml/dist/mdoc_man.c              |  310 ++++-----
 external/bsd/mdocml/dist/mdoc_state.c            |  292 +++++++++
 external/bsd/mdocml/dist/msec.c                  |    4 +-
 external/bsd/mdocml/dist/out.c                   |   13 +-
 external/bsd/mdocml/dist/out.h                   |    5 +-
 external/bsd/mdocml/dist/predefs.in              |    2 +-
 external/bsd/mdocml/dist/roff.7                  |   34 +-
 external/bsd/mdocml/dist/roff_int.h              |   41 +
 external/bsd/mdocml/dist/soelim.1                |   86 ++
 external/bsd/mdocml/dist/soelim.c                |  182 ++++++
 external/bsd/mdocml/dist/st.c                    |    5 +-
 external/bsd/mdocml/dist/tag.c                   |  204 ++++++
 external/bsd/mdocml/dist/tag.h                   |   31 +
 external/bsd/mdocml/dist/tbl.3                   |    4 +-
 external/bsd/mdocml/dist/tbl.7                   |    4 +-
 external/bsd/mdocml/dist/tbl_html.c              |    8 +-
 external/bsd/mdocml/dist/tbl_term.c              |   12 +-
 external/bsd/mdocml/dist/term.h                  |   50 +-
 external/bsd/mdocml/dist/term_ascii.c            |  154 ++---
 external/bsd/mdocml/dist/term_ps.c               |   72 +-
 external/bsd/mdocml/dist/test-dirent-namlen.c    |    2 +-
 external/bsd/mdocml/dist/test-err.c              |   28 +
 external/bsd/mdocml/dist/test-fts.c              |   10 +-
 external/bsd/mdocml/dist/test-getline.c          |   13 +
 external/bsd/mdocml/dist/test-getsubopt.c        |    6 +-
 external/bsd/mdocml/dist/test-isblank.c          |    7 +
 external/bsd/mdocml/dist/test-mkdtemp.c          |   12 +
 external/bsd/mdocml/dist/test-mmap.c             |    2 +-
 external/bsd/mdocml/dist/test-ohash.c            |    4 +-
 external/bsd/mdocml/dist/test-pledge.c           |    7 +
 external/bsd/mdocml/dist/test-progname.c         |   10 +
 external/bsd/mdocml/dist/test-reallocarray.c     |    2 +-
 external/bsd/mdocml/dist/test-rewb-bsd.c         |   27 +
 external/bsd/mdocml/dist/test-rewb-sysv.c        |   27 +
 external/bsd/mdocml/dist/test-sandbox_init.c     |   13 +
 external/bsd/mdocml/dist/test-sqlite3.c          |   10 +-
 external/bsd/mdocml/dist/test-sqlite3_errstr.c   |    2 +-
 external/bsd/mdocml/dist/test-strcasestr.c       |    2 +-
 external/bsd/mdocml/dist/test-stringlist.c       |   37 +
 external/bsd/mdocml/dist/test-strlcat.c          |    4 +-
 external/bsd/mdocml/dist/test-strlcpy.c          |    4 +-
 external/bsd/mdocml/dist/test-strptime.c         |    4 +-
 external/bsd/mdocml/dist/test-strsep.c           |    2 +-
 external/bsd/mdocml/dist/test-strtonum.c         |   20 +-
 external/bsd/mdocml/dist/test-vasprintf.c        |   49 +
 external/bsd/mdocml/dist/test-wchar.c            |   14 +-
 external/bsd/mdocml/dist/tree.c                  |  128 ++--
 125 files changed, 6023 insertions(+), 4041 deletions(-)

diffs (truncated from 18504 to 300 lines):

diff -r f069fe091aa4 -r 716b6a592658 external/bsd/mdocml/dist/INSTALL
--- a/external/bsd/mdocml/dist/INSTALL  Fri Jul 15 09:25:47 2016 +0000
+++ b/external/bsd/mdocml/dist/INSTALL  Fri Jul 15 14:25:55 2016 +0000
@@ -1,4 +1,4 @@
-$Id: INSTALL,v 1.1.1.1 2015/12/17 21:58:47 christos Exp $
+Id: INSTALL,v 1.15 2016/07/14 11:09:06 schwarze Exp 
 
 About mdocml, the portable mandoc distribution
 ----------------------------------------------
@@ -16,7 +16,7 @@
 
 Enjoy using the mandoc toolset!
 
-Ingo Schwarze, Karlsruhe, March 2015
+Ingo Schwarze, Karlsruhe, July 2016
 
 
 Installation
@@ -42,6 +42,8 @@
 wish, read the file "configure.local.example", create and edit
 a file "configure.local", and re-run "./configure" until the
 result seems right to you.
+On Solaris 10 and earlier, you may have to run "ksh ./configure"
+because the native /bin/sh lacks some POSIX features.
 
 3. Run "make".
 Any POSIX-compatible make, in particular both BSD make and GNU make,
@@ -50,7 +52,7 @@
 
 4. Run "make -n install" and check whether everything will be
 installed to the intended places.  Otherwise, put some *DIR or *NM*
-variables into "configure.local" and go back to step 2.
+variables into "configure.local" and go back to step 2.
 
 5. Run "sudo make install".  If you intend to build a binary
 package using some kind of fake root mechanism, you may need a
@@ -61,7 +63,7 @@
 manpath(1), make sure it is configured correctly, in particular,
 it returns all directory trees where manual pages are installed.
 Otherwise, if your system uses man.conf(5), make sure it contains
-a "_whatdb" line for each directory tree, and the order of these
+a "manpath" line for each directory tree, and the order of these
 lines meets your wishes.
 
 7. If you compiled with database support, run the command "sudo
@@ -82,9 +84,10 @@
 
 Understanding mandoc dependencies
 ---------------------------------
-The mandoc(1), man(1), and demandoc(1) utilities have no external
-dependencies, but makewhatis(8) and apropos(1) depend on the
-following software:
+The mandoc(1), man(1), and demandoc(1) utilities only depend
+on the zlib library for decompressing gzipped manual pages,
+but makewhatis(8) and apropos(1) depend on the following
+additional software:
 
 1. The SQLite database system, see <http://sqlite.org/>.
 The recommended version of SQLite is 3.8.4.3 or newer.  The mandoc
@@ -107,6 +110,11 @@
 If your system does not have it, the bundled compatibility version
 will be used, so you probably need not worry about it.
 
+One of the chief design goals of the mandoc toolbox is to make
+sure that nothing related to documentation requires C++.
+Consequently, linking mandoc against any kind of C++ program
+would defeat the purpose and is not supported.
+
 
 Checking autoconfiguration quality
 ----------------------------------
diff -r f069fe091aa4 -r 716b6a592658 external/bsd/mdocml/dist/LICENSE
--- a/external/bsd/mdocml/dist/LICENSE  Fri Jul 15 09:25:47 2016 +0000
+++ b/external/bsd/mdocml/dist/LICENSE  Fri Jul 15 14:25:55 2016 +0000
@@ -1,17 +1,19 @@
-$Id: LICENSE,v 1.1.1.1 2015/12/17 21:58:47 christos Exp $
+Id: LICENSE,v 1.12 2016/07/07 23:46:36 schwarze Exp 
 
 With the exceptions noted below, all code and documentation
 contained in the mdocml toolkit is protected by the Copyright
 of the following developers:
 
 Copyright (c) 2008-2012, 2014 Kristaps Dzonsons <kristaps%bsd.lv@localhost>
-Copyright (c) 2010-2015 Ingo Schwarze <schwarze%openbsd.org@localhost>
+Copyright (c) 2010-2016 Ingo Schwarze <schwarze%openbsd.org@localhost>
 Copyright (c) 2009, 2010, 2011, 2012 Joerg Sonnenberger <joerg%netbsd.org@localhost>
 Copyright (c) 2013 Franco Fichtner <franco%lastsummer.de@localhost>
+Copyright (c) 2014 Baptiste Daroussin <bapt%FreeBSD.org@localhost>
 Copyright (c) 1999, 2004 Marc Espie <espie%openbsd.org@localhost>
 Copyright (c) 1998, 2004, 2010 Todd C. Miller <Todd.Miller%courtesan.com@localhost>
 Copyright (c) 2008 Otto Moerbeek <otto%drijf.net@localhost>
 Copyright (c) 2004 Ted Unangst <tedu%openbsd.org@localhost>
+Copyright (c) 1994 Christos Zoulas <christos%netbsd.org@localhost>
 Copyright (c) 2003, 2007, 2008, 2014 Jason McIntyre <jmc%openbsd.org@localhost>
 
 See the individual source files for information about who contributed
@@ -35,13 +37,16 @@
 
 
 The following files included from outside sources are protected by
-other people's Copyright and are distributed under a 3-clause BSD
-license; see these individual files for details.
+other people's Copyright and are distributed under various 2-clause
+and 3-clause BSD licenses; see these individual files for details.
 
-compat_fts.c, compat_fts.h,
+soelim.c, soelim.1:
+Copyright (c) 2014 Baptiste Daroussin <bapt%FreeBSD.org@localhost>
+
+compat_err.c, compat_fts.c, compat_fts.h,
 compat_getsubopt.c, compat_strcasestr.c, compat_strsep.c,
 man.1:
 Copyright (c) 1989,1990,1993,1994 The Regents of the University of California
 
-compat_fgetln.c:
-Copyright (c) 1998 The NetBSD Foundation, Inc.
+compat_stringlist.c, compat_stringlist.h:
+Copyright (c) 1994 Christos Zoulas <christos%netbsd.org@localhost>
diff -r f069fe091aa4 -r 716b6a592658 external/bsd/mdocml/dist/Makefile.depend
--- a/external/bsd/mdocml/dist/Makefile.depend  Fri Jul 15 09:25:47 2016 +0000
+++ b/external/bsd/mdocml/dist/Makefile.depend  Fri Jul 15 14:25:55 2016 +0000
@@ -1,51 +1,61 @@
-att.o: att.c config.h mdoc.h libmdoc.h
-cgi.o: cgi.c config.h mandoc.h mandoc_aux.h main.h manpath.h mansearch.h cgi.h
-chars.o: chars.c config.h mandoc.h mandoc_aux.h libmandoc.h chars.in
-compat_fgetln.o: compat_fgetln.c config.h
+att.o: att.c config.h roff.h mdoc.h libmdoc.h
+cgi.o: cgi.c config.h mandoc_aux.h mandoc.h roff.h mdoc.h man.h main.h manconf.h mansearch.h cgi.h
+chars.o: chars.c config.h mandoc.h mandoc_aux.h mandoc_ohash.h compat_ohash.h libmandoc.h
+compat_err.o: compat_err.c config.h
 compat_fts.o: compat_fts.c config.h compat_fts.h
+compat_getline.o: compat_getline.c config.h
 compat_getsubopt.o: compat_getsubopt.c config.h
+compat_isblank.o: compat_isblank.c config.h
+compat_mkdtemp.o: compat_mkdtemp.c config.h
 compat_ohash.o: compat_ohash.c config.h compat_ohash.h
+compat_progname.o: compat_progname.c config.h
 compat_reallocarray.o: compat_reallocarray.c config.h
 compat_sqlite3_errstr.o: compat_sqlite3_errstr.c config.h
 compat_strcasestr.o: compat_strcasestr.c config.h
+compat_stringlist.o: compat_stringlist.c config.h compat_stringlist.h
 compat_strlcat.o: compat_strlcat.c config.h
 compat_strlcpy.o: compat_strlcpy.c config.h
 compat_strsep.o: compat_strsep.c config.h
 compat_strtonum.o: compat_strtonum.c config.h
-demandoc.o: demandoc.c config.h man.h mdoc.h mandoc.h
+compat_vasprintf.o: compat_vasprintf.c config.h
+demandoc.o: demandoc.c config.h roff.h man.h mdoc.h mandoc.h
 eqn.o: eqn.c config.h mandoc.h mandoc_aux.h libmandoc.h libroff.h
 eqn_html.o: eqn_html.c config.h mandoc.h out.h html.h
 eqn_term.o: eqn_term.c config.h mandoc.h out.h term.h
-html.o: html.c config.h mandoc.h mandoc_aux.h out.h html.h main.h
-lib.o: lib.c config.h mdoc.h libmdoc.h lib.in
-main.o: main.c config.h mandoc.h mandoc_aux.h main.h mdoc.h man.h manpath.h mansearch.h
-man.o: man.c config.h man.h mandoc.h mandoc_aux.h libman.h libmandoc.h
-man_hash.o: man_hash.c config.h man.h libman.h
-man_html.o: man_html.c config.h mandoc_aux.h man.h out.h html.h main.h
-man_macro.o: man_macro.c config.h man.h mandoc.h libmandoc.h libman.h
-man_term.o: man_term.c config.h mandoc.h mandoc_aux.h out.h man.h term.h main.h
-man_validate.o: man_validate.c config.h man.h mandoc.h mandoc_aux.h libman.h libmandoc.h
+html.o: html.c config.h mandoc.h mandoc_aux.h out.h html.h manconf.h main.h
+lib.o: lib.c config.h roff.h mdoc.h libmdoc.h lib.in
+main.o: main.c config.h mandoc_aux.h mandoc.h roff.h mdoc.h man.h tag.h main.h manconf.h mansearch.h
+man.o: man.c config.h mandoc_aux.h mandoc.h roff.h man.h libmandoc.h roff_int.h libman.h
+man_hash.o: man_hash.c config.h roff.h man.h libman.h
+man_html.o: man_html.c config.h mandoc_aux.h roff.h man.h out.h html.h main.h
+man_macro.o: man_macro.c config.h mandoc.h roff.h man.h libmandoc.h roff_int.h libman.h
+man_term.o: man_term.c config.h mandoc_aux.h mandoc.h roff.h man.h out.h term.h main.h
+man_validate.o: man_validate.c config.h mandoc_aux.h mandoc.h roff.h man.h libmandoc.h roff_int.h libman.h
 mandoc.o: mandoc.c config.h mandoc.h mandoc_aux.h libmandoc.h
 mandoc_aux.o: mandoc_aux.c config.h mandoc.h mandoc_aux.h
-mandocdb.o: mandocdb.c config.h compat_fts.h compat_ohash.h mdoc.h man.h mandoc.h mandoc_aux.h manpath.h mansearch.h
-manpage.o: manpage.c config.h manpath.h mansearch.h
-manpath.o: manpath.c config.h mandoc_aux.h manpath.h
-mansearch.o: mansearch.c config.h compat_ohash.h mandoc.h mandoc_aux.h manpath.h mansearch.h
+mandoc_ohash.o: mandoc_ohash.c mandoc_aux.h mandoc_ohash.h compat_ohash.h
+mandocdb.o: mandocdb.c config.h compat_fts.h mandoc_aux.h mandoc_ohash.h compat_ohash.h mandoc.h roff.h mdoc.h man.h manconf.h mansearch.h
+manpage.o: manpage.c config.h manconf.h mansearch.h
+manpath.o: manpath.c config.h mandoc_aux.h manconf.h
+mansearch.o: mansearch.c config.h mandoc.h mandoc_aux.h mandoc_ohash.h compat_ohash.h manconf.h mansearch.h
 mansearch_const.o: mansearch_const.c config.h mansearch.h
-mdoc.o: mdoc.c config.h mdoc.h mandoc.h mandoc_aux.h libmdoc.h libmandoc.h
-mdoc_argv.o: mdoc_argv.c config.h mdoc.h mandoc.h mandoc_aux.h libmdoc.h libmandoc.h
-mdoc_hash.o: mdoc_hash.c config.h mdoc.h libmdoc.h
-mdoc_html.o: mdoc_html.c config.h mandoc_aux.h mdoc.h out.h html.h main.h
-mdoc_macro.o: mdoc_macro.c config.h mdoc.h mandoc.h libmdoc.h libmandoc.h
-mdoc_man.o: mdoc_man.c config.h mandoc.h mandoc_aux.h out.h man.h mdoc.h main.h
-mdoc_term.o: mdoc_term.c config.h mandoc.h mandoc_aux.h out.h term.h mdoc.h main.h
-mdoc_validate.o: mdoc_validate.c config.h mdoc.h mandoc.h mandoc_aux.h libmdoc.h libmandoc.h
+mdoc.o: mdoc.c config.h mandoc_aux.h mandoc.h roff.h mdoc.h libmandoc.h roff_int.h libmdoc.h
+mdoc_argv.o: mdoc_argv.c config.h mandoc_aux.h mandoc.h roff.h mdoc.h libmandoc.h libmdoc.h
+mdoc_hash.o: mdoc_hash.c config.h roff.h mdoc.h libmdoc.h
+mdoc_html.o: mdoc_html.c config.h mandoc_aux.h roff.h mdoc.h out.h html.h main.h
+mdoc_macro.o: mdoc_macro.c config.h mandoc.h roff.h mdoc.h libmandoc.h roff_int.h libmdoc.h
+mdoc_man.o: mdoc_man.c config.h mandoc_aux.h mandoc.h roff.h mdoc.h man.h out.h main.h
+mdoc_state.o: mdoc_state.c mandoc.h roff.h mdoc.h libmandoc.h libmdoc.h
+mdoc_term.o: mdoc_term.c config.h mandoc_aux.h mandoc.h roff.h mdoc.h out.h term.h tag.h main.h
+mdoc_validate.o: mdoc_validate.c config.h mandoc_aux.h mandoc.h roff.h mdoc.h libmandoc.h roff_int.h libmdoc.h
 msec.o: msec.c config.h mandoc.h libmandoc.h msec.in
 out.o: out.c config.h mandoc_aux.h mandoc.h out.h
 preconv.o: preconv.c config.h mandoc.h libmandoc.h
-read.o: read.c config.h mandoc.h mandoc_aux.h libmandoc.h mdoc.h man.h
-roff.o: roff.c config.h mandoc.h mandoc_aux.h libmandoc.h libroff.h predefs.in
-st.o: st.c config.h mdoc.h libmdoc.h st.in
+read.o: read.c config.h mandoc_aux.h mandoc.h roff.h mdoc.h man.h libmandoc.h roff_int.h
+roff.o: roff.c config.h mandoc.h mandoc_aux.h roff.h libmandoc.h roff_int.h libroff.h predefs.in
+soelim.o: soelim.c config.h compat_stringlist.h
+st.o: st.c config.h roff.h mdoc.h libmdoc.h st.in
+tag.o: tag.c config.h mandoc_aux.h mandoc_ohash.h compat_ohash.h tag.h
 tbl.o: tbl.c config.h mandoc.h mandoc_aux.h libmandoc.h libroff.h
 tbl_data.o: tbl_data.c config.h mandoc.h mandoc_aux.h libmandoc.h libroff.h
 tbl_html.o: tbl_html.c config.h mandoc.h out.h html.h
@@ -53,22 +63,6 @@
 tbl_opts.o: tbl_opts.c config.h mandoc.h libmandoc.h libroff.h
 tbl_term.o: tbl_term.c config.h mandoc.h out.h term.h
 term.o: term.c config.h mandoc.h mandoc_aux.h out.h term.h main.h
-term_ascii.o: term_ascii.c config.h mandoc.h mandoc_aux.h out.h term.h main.h
-term_ps.o: term_ps.c config.h mandoc_aux.h out.h term.h main.h
-tree.o: tree.c config.h mandoc.h mdoc.h man.h main.h
-test-dirent-namlen.o: test-dirent-namlen.c
-test-fgetln.o: test-fgetln.c
-test-fts.o: test-fts.c
-test-getsubopt.o: test-getsubopt.c
-test-mmap.o: test-mmap.c
-test-ohash.o: test-ohash.c
-test-reallocarray.o: test-reallocarray.c
-test-sqlite3.o: test-sqlite3.c
-test-sqlite3_errstr.o: test-sqlite3_errstr.c
-test-strcasestr.o: test-strcasestr.c
-test-strlcat.o: test-strlcat.c
-test-strlcpy.o: test-strlcpy.c
-test-strptime.o: test-strptime.c
-test-strsep.o: test-strsep.c
-test-strtonum.o: test-strtonum.c
-test-wchar.o: test-wchar.c
+term_ascii.o: term_ascii.c config.h mandoc.h mandoc_aux.h out.h term.h manconf.h main.h
+term_ps.o: term_ps.c config.h mandoc_aux.h out.h term.h manconf.h main.h
+tree.o: tree.c config.h mandoc.h roff.h mdoc.h man.h main.h
diff -r f069fe091aa4 -r 716b6a592658 external/bsd/mdocml/dist/NEWS
--- a/external/bsd/mdocml/dist/NEWS     Fri Jul 15 09:25:47 2016 +0000
+++ b/external/bsd/mdocml/dist/NEWS     Fri Jul 15 14:25:55 2016 +0000
@@ -1,7 +1,140 @@
-$Id: NEWS,v 1.1.1.2 2015/12/17 21:58:48 christos Exp $
+Id: NEWS,v 1.12 2016/07/14 11:09:06 schwarze Exp 
 
 This file lists the most important changes in the mdocml.bsd.lv distribution.
 
+Changes in version 1.13.4, released on July 14, 2016
+
+    --- MAJOR NEW FEATURES ---
+ * man.conf(5): Design and implement a simpler configuration file format.
+ * man(1): Leverage less(1) -T and :t in a way resembling ctags(1)
+   to jump to the definitions of various terms inside manual pages.
+ * soelim(1): New implementation by Baptiste Daroussin.
+ * privilege limitation: Use OpenBSD pledge(2) or OS X sandbox_init(3)
+   when available.
+ * man.cgi(8): Support short URIs like http://man.openbsd.org/mdoc .
+ * mandoc.css: Use one unified stylesheet rather than three different ones.
+    --- MAJOR FUNCTIONALLY RELEVANT BUGFIXES ---
+ * mdoc(7): Fix multiple aspects of SYNOPSIS .Nm formatting.
+ * man(1): Fix process group handling, avoiding unclean shutdowns.
+    --- PORTABILITY IMPROVEMENTS ---
+ * Correctly use the ohash(3) compatibility implementation
+   even when building without SQLite support.
+ * Add compat glue for building on Solaris 9 and 10.
+ * Let ./configure select a supported RE syntax for word boundaries.
+ * Support LDFLAGS, to be used for example for hardening options.
+ * Avoid mixing putchar(3) and putwchar(3) on the same file descriptor,
+   it resulted in output corruption on some platforms.
+ * Avoid reusing va_lists, use va_copy(3) for better portability.
+ * Do not hardcode the path to the more(1) program.
+    --- MINOR NEW FEATURES ---
+ * roff(7): Implement \n(.$ (number of macro arguments).
+ * roff(7): Fully implement \z (do not advance cursor).
+ * roff(7): Implement the `r'  conditional (register exists).
+ * roff(7): Implement \\$* (interpolate all arguments).
+ * roff(7): Parse and ignore \, and \/ (italic corrections).
+ * When there is no -m, no -M, no MANPATH and no /etc/man.conf,
+   fall back to /usr/share/man:/usr/X11R6/man:/usr/local/man.
+ * man(1): Give manuals in purely numerical sections priority over
+   manuals of the same name in sections with an alphabetical suffix.
+ * man.cgi(8): Support "header.html" and "footer.html".
+ * man.cgi(8): Set the "autofocus" attribute on the query text box.
+ * man.cgi(8): Simplify the search form, drop two useless buttons.
+ * man.cgi(8): Delete the pseudo-manpath "mandoc", assume that
+   apropos(1) and man.cgi(8) are installed in the default manpath.
+    --- RELIABILITY BUGFIXES ---
+ * mdoc(7): Avoid a use after free and an assertion failure when nodes
+   are deleted during validation.
+ * mdoc(7): Avoid a NULL pointer access when .Bd has no arguments.
+ * mdoc(7): Avoid a NULL pointer access triggered by mismatching end macros.
+ * mdoc(7): Avoid an assertion when .Fo has no argument.
+ * mdoc(7): Avoid an assertion when .Ta<tab> occurs in .Bl -column.
+ * mdoc(7): Avoid an assertion when a body gets broken and has a tail.
+ * roff(7): Avoid an assertion caused by blanks inside \o.
+ * roff(7): Make .so links to gziped manuals work without mandoc.db(5).
+ * tbl(7): Avoid a use after free when the last line of a layout is empty.
+ * eqn(7): Avoid an infinite loop caused by recursive "define".
+ * makewhatis(8): Avoid a segfault caused by unusual directory structures.
+ * Fix handling of leading, trailing, and double colons in MANPATH and -m.



Home | Main Index | Thread Index | Old Index