summaryrefslogtreecommitdiff
path: root/usr.bin/mandoc
AgeCommit message (Collapse)Author
2009-10-27sync to 1.9.11: adapt printing of dates to groff conventions,Ingo Schwarze
NetBSD portability fixes and some minor bugfixes and feature enhancements; also checked that my hyphenation code still works on top of this
2009-10-24simplify overstep handling, removing one local variable;Ingo Schwarze
no functional change; ok kristaps@ and merged as rev. 1.110
2009-10-21sync to 1.9.9, featuring:Ingo Schwarze
* -Thtml output mode * roff scaling units * and some minor fixes for full changelogs, see http://bsd.lv/cgi-bin/cvsweb.cgi/
2009-10-20sync to 1.9.7: use .In instead of .Fd #includeIngo Schwarze
2009-10-19sync to 1.9.7: consolidate some -man -Tascii functions,Ingo Schwarze
and use a static buffer for the footer
2009-10-19sync to 1.9.7: kristaps@ renamed part of the DECL_ARGS :-(Ingo Schwarze
intricately mixed with three minor .Bd fixes
2009-10-19sync to 1.9.7: the same function was declared in two different headers;Ingo Schwarze
spotted by Ulrich Spoerlein, uqs at spoerlein dot net
2009-10-19sync to 1.9.7: avoid using the same identifier for a static functionIngo Schwarze
and for a local variable in another function in the same compilation unit; suggested by Ulrich Spoerlein, uqs at spoerlein dot net
2009-10-19sync to 1.9.7: compatibility fix; from joerg at netbsd dot orgIngo Schwarze
2009-10-19sync to 1.9.7: typo; from Alan Bueno, alan dot bsd at gmail dot comIngo Schwarze
2009-10-19sync to 1.9.6: minor fixes:Ingo Schwarze
* avoid blank character before the closing ">" of .In * .Bt can not have children
2009-10-19sync to 1.9.6: multiple improvements to references (.Rs)Ingo Schwarze
* validate and order .Rs child nodes * underline book title (.%B) and issuer (.%I) * enclose title of article (.%T) in quotes * avoid calling mdoc_verr directly, use a proper error code instead
2009-10-19sync to 1.9.6: do not die from .Bd -literal -offset w/o arg (and similar)Ingo Schwarze
Actually, our ancient groff behaves slightly differently than this fix, but not to die is already an improvement. Needs a closer look later.
2009-10-19sync to 1.9.6: two newline fixes:Ingo Schwarze
* newline before .Rs only below SEE ALSO * newline after .Lb only below LIBRARY
2009-10-19sync to 1.9.6: u_char lives in <sys/types.h>Ingo Schwarze
noticed by uqs at spoerlein dot net on FreeBSD, where <stdlib.h> does not include <sys/types.h>
2009-10-19sync to 1.9.6: here is the sync of special characters to new groffIngo Schwarze
as mentioned in the preceding manual commit (oops)
2009-10-19sync to 1.9.6: rework the documentation for special characters andIngo Schwarze
predefined strings, including the recent sync to new groff
2009-10-19sync to 1.9.6: fix segfault in .Bl -columnIngo Schwarze
2009-10-19sync to 1.9.5: partial rewrite of special character and predefined stringIngo Schwarze
tables and the supporting infrastructure, mostly in preparation for HTML output support
2009-10-18sync to 1.9.5: integrate closedelim() and opendelim() into term_word(),Ingo Schwarze
removing unnecessary extra functions
2009-09-21sync to 1.9.5: lookup hashes are now static tablesIngo Schwarze
shortening the code, and, according to kristaps@, speeding it up
2009-09-21sync to 1.9.5: make terminal_*, tree_* and out_* functions return void,Ingo Schwarze
making the code simpler
2009-09-21sync to 1.9.5: remove TERMP_STYLE bit field in favour of recursion-friendlyIngo Schwarze
integer flags, simplifying and shortening the code
2009-09-18now in sync with version 1.9.2Ingo Schwarze
2009-09-18sync to 1.9.2: Add .UC libman macro for compatibility, has no effect.Ingo Schwarze
Correct .UC and .DT to not print their arguments. Document that .UC and .DT should not be used.
2009-09-18fix typo (overriden -> overridden); from jmc@; included in 1.9.2Ingo Schwarze
2009-09-18sync to 1.9.2: non-printable characters in macro names are errors;Ingo Schwarze
from joerg at netbsd dot org
2009-08-23cvs add is your friend; cluestick applied by sobrado@, thanks!Ingo Schwarze
2009-08-22another large chunk of -man updates,Ingo Schwarze
among others regarding .DT, .HP, .RS, .RE, .SH, .SS, and scoping, now in sync vith release 1.9.1
2009-08-22sync to 1.9.1: .Rv and .Ex accept multiple argumentsIngo Schwarze
2009-08-22sync to 1.9.1: correctly flag delimiter whitespaceIngo Schwarze
2009-08-22sync to 1.9.1: sync mdoc manual structure to man manual structureIngo Schwarze
2009-08-22sync to 1.9.1: set mdoc_next flags in mdoc_*_alloc routines, where they belongIngo Schwarze
2009-08-22Oops, kill an "#ifdef __linux__" that crept in with the previous commit.Ingo Schwarze
2009-08-22Kristaps@ significantly overhauled libman.Ingo Schwarze
I'm committing this in one large chunk because in contrast to -mdoc, -man is mostly untested in OpenBSD anyway, so any fallout can be fixed in-tree. Among others, improved support for .IP, .HP, and .TP. Now in sync with release 1.9.0.
2009-08-22sync to 1.9.0: improve documentation of parsed and callable macros;Ingo Schwarze
the diff is large because kristaps@ reindented macro calls
2009-08-22sync to 1.9.0: polishing the core code of mdoc macro handlingIngo Schwarze
1) If a macro is not parsed, do not parse it. Of course, without parsing it, we cannot produce "macro-like parameter" warnings, but these were useless anyway. 2) If a macro is not callable, do not print a useless warning when it occurs as a parameter, just display the raw characters. 3) Below .Bl -column, check whether macros are callable. 4) Like groff, allow whitespace after the initial dot on macro lines.
2009-08-22sync to 1.9.0: like in groff, do not assert vspace between two .Sh macrosIngo Schwarze
in case the first one has no body
2009-08-22sync to 1.9.0: move indentation size into *term.c files,Ingo Schwarze
improving -man indentation
2009-08-22now in sync with 1.8.5 (except for %T underline)Ingo Schwarze
2009-08-22sync to 1.8.5: Error string is now file:line:col: message.Ingo Schwarze
Fixed column reporting (off by one). Use fprintf instead of warnx for parse errors (like cc).
2009-08-22sync to 1.8.5: partial rewrite of the handling of escape sequences:Ingo Schwarze
distinguish special characters and predefined strings, and add and fix several escape sequences
2009-08-22sync to 1.8.5: better explanation of the format of special characters,Ingo Schwarze
and list additional character
2009-08-22sync to 1.8.5: clean up sections describing escape sequencesIngo Schwarze
2009-08-22sync to 1.8.5: add "vim -q" tip (from uqs at spoerlein dot net)Ingo Schwarze
2009-08-22sync to 1.8.5: note that \~ does not work;Ingo Schwarze
noticed by <uqs at spoerlein dot net>
2009-08-22now in sync with 1.8.4Ingo Schwarze
except for the %T underline diff which is still pending (me slacking)
2009-08-22sync to 1.8.4: The .St -p1003.1* macros produce "POSIX" instead of "POSIX.1";Ingo Schwarze
agreed with jmc@ to leave this for now (because it agrees with our in-tree groff) and adapt it to new groff conventions after the main switch
2009-08-22sync to 1.8.4: LLVM findings from <uqs at spoerlein dot net>Ingo Schwarze
2009-08-22sync to 1.8.4: do not error out in case of out-of-order prologue macrosIngo Schwarze