summaryrefslogtreecommitdiffstats
path: root/usr.bin/mandoc/main.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* - sort everythingjmc2010-04-131-3/+3
| | | | | | | | | | - prefer Cm to Ar for stuff like -Tascii - fix wonky ellipsis - standard $ prompt - update usage() kristaps has these diffs rolled in already ok schwarze kristaps
* merge 1.9.17, keeping local patchesschwarze2010-03-261-32/+38
| | | | | | | * much improved pod2man support and low-level roff robustness * have -Tlint imply -Wall and -fstrict * use fewer macros and more enum in libman * and various bug fixes
* sync to release 1.9.15:schwarze2010-02-181-1/+10
| | | | | | | | | * corrected .Vt handling (spotted by Joerg Sonnenberger) * corrected .Xr argument handling (based on my patch) * removed \\ escape sequence (because it is for low-level roff only) * warn about trailing whitespace (suggested by jmc@) * -Txhtml support * and some general cleanup and doc improvements
* sync to 1.9.13: minor fixes:schwarze2009-12-231-9/+9
| | | | | | | | | | | | | | | | | | correctness/functionality: - bugfix: properly ignore lines with only a dot in -man - bugfix: .Bl -ohang doesn't allow -width, warn about this - improve date string handling by new function mandoc_a2time - some HTML improvements - significant documentation additions in man.7 and mdoc.7 portability: - replace __dead by __attribute__((noreturn)) - bugfix: correct .Dx rendering - some more library names for NetBSD simplicity: - replace hand-rolled putchar(3)-loops by fwrite(3) - replace single-character printf(3) by putchar(3)
* sync to 1.9.12, mostly portability and refactoring:schwarze2009-12-221-38/+36
| | | | | | | | | | | | | | | | | | | correctness/functionality: - bugfix: do not die when overstep hits the right margin - new option: -fign-escape - and various HTML features portability: - replace bzero(3) by memset(3), which is ANSI C - replace err(3)/warn(3) by perror(3)/exit(3), which is ANSI C - iuse argv[0] instead of __progname - add time.h to various files for FreeBSD compilation simplicity: - do not allocate header/footer data dynamically in *_term.c - provide and use malloc frontends that error out on failure for full changelogs, see http://bsd.lv/cgi-bin/cvsweb.cgi/
* sync to 1.9.11: adapt printing of dates to groff conventions,schwarze2009-10-271-7/+8
| | | | | NetBSD portability fixes and some minor bugfixes and feature enhancements; also checked that my hyphenation code still works on top of this
* sync to 1.9.9, featuring:schwarze2009-10-211-13/+23
| | | | | | | * -Thtml output mode * roff scaling units * and some minor fixes for full changelogs, see http://bsd.lv/cgi-bin/cvsweb.cgi/
* sync to 1.9.5: make terminal_*, tree_* and out_* functions return void,schwarze2009-09-211-11/+9
| | | | making the code simpler
* sync to 1.8.5: Error string is now file:line:col: message.schwarze2009-08-221-7/+7
| | | | | Fixed column reporting (off by one). Use fprintf instead of warnx for parse errors (like cc).
* sync to 1.8.4: add option -fign-errors to check several manual pagesschwarze2009-08-221-15/+28
| | | | without stopping at errors
* sync to 1.7.23: Fewer knobs: provide -Wall -Werror but not -Wsyntax -Wcompat.schwarze2009-07-121-15/+6
| | | | | The simplification of the internal code has already been done before, this is just the user interface adjustment.
* sync to 1.7.23: first step to get rid of enum mdoc_warn:schwarze2009-07-121-44/+8
| | | | unify manwarn() and mdocwarn() into mwarn()
* sync to 1.7.21: provide WESCAPE and MAN_IGN_ESCAPE,schwarze2009-07-071-2/+4
| | | | to be used soon in man_validate.c
* sync to 1.7.21: suboptarg is not portable to Linux;schwarze2009-07-071-7/+11
| | | | no functional change on OpenBSD
* (1) exit with failure not success if options parsing fails;schwarze2009-07-061-8/+8
| | | | | | | | (2) use warn not warnx if fstat fails; (3) getsubopt modifies arg, so printing it on error will print the wrong thing: use suboptarg instead. from nicm@ ok kristaps@ and contained in 1.7.21
* sync to 1.7.20: root and text validation for -manschwarze2009-06-231-2/+4
|
* sync to 1.7.19: the static function fstdin was called from exactly one placeschwarze2009-06-211-15/+6
| | | | and did so little that it was better merged into main()
* sync to 1.7.19: comment cleanup; no functional changeschwarze2009-06-181-43/+7
|
* sync to 1.7.19: improved comment handlingschwarze2009-06-181-25/+40
|
* complete sync to 1.7.17: garbage collect unused functionsschwarze2009-06-181-2/+1
| | | | mdoc_msg, mdoc_pmsg, mdoc_vmsg, and mdoc_nwarn
* sync to 1.7.16: support -V command line optionschwarze2009-06-141-3/+16
|
* sync to 1.7.16: comments, whitespace and spelling fixes; no functional changeschwarze2009-06-141-16/+42
|
* Initial check-in of mandoc for formatting manuals. ok deraadt@kristaps2009-04-061-0/+671