Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge patch by Jason McIntyre cleaning on mandoc.1: `Ar' -> `Cm' and other ↵ | Kristaps Dzonsons | 2010-04-12 | 1 | -2/+8 |
| | | | | | | readability fixes. Merge modified patch by Joerg Sonnenberger that rewinds to whitespace when encountering trailing line-comments. | ||||
* | Have -Tlint imply -Wall and -fstrict. Based on a patch submitted by Ingo ↵ | Kristaps Dzonsons | 2010-03-22 | 1 | -31/+37 |
| | | | | Schwarze. | ||||
* | Fixed Makefile for `make lint' dep. on config.h | Kristaps Dzonsons | 2010-01-29 | 1 | -0/+9 |
| | | | | Added -Txhtml for XHTML output (minimal increase to programme logic). Because groff has it and it bothers me that we don't. | ||||
* | Big check-in of compatibility layer. This should work on most major ↵ | Kristaps Dzonsons | 2010-01-01 | 1 | -5/+4 |
| | | | | architectures. Thanks to Joerg Sonnenberger. | ||||
* | Added forgotten newline terminators in main.c. | Kristaps Dzonsons | 2009-11-02 | 1 | -4/+4 |
| | |||||
* | Added lint to __attribute__ defines. | Kristaps Dzonsons | 2009-11-02 | 1 | -1/+3 |
| | |||||
* | Using straight-up __attribute__ (inspired by portable openssh). | Kristaps Dzonsons | 2009-11-02 | 1 | -12/+9 |
| | |||||
* | Removed non-portable __progname (thanks Joerg Sonnenberger). | Kristaps Dzonsons | 2009-10-31 | 1 | -3/+9 |
| | |||||
* | Using perror() instead of fprintf for failure from library functions. | Kristaps Dzonsons | 2009-10-31 | 1 | -15/+13 |
| | |||||
* | libmdoc and libman now using non-recoverable allocations (simpler code). | Kristaps Dzonsons | 2009-10-30 | 1 | -14/+4 |
| | |||||
* | bzero() -> memset() (noted by Joerg Sonnenberger). | Kristaps Dzonsons | 2009-10-27 | 1 | -3/+3 |
| | |||||
* | Merged patch to allow -fign-escape (thanks Joerg Sonnenberger). | Kristaps Dzonsons | 2009-10-26 | 1 | -2/+6 |
| | |||||
* | Allowed -O to be invoked multiple times. | Kristaps Dzonsons | 2009-10-26 | 1 | -2/+4 |
| | |||||
* | Portability: replaced queue macros in html.c (Joerg Sonnenberger). | Kristaps Dzonsons | 2009-10-26 | 1 | -3/+3 |
| | | | | | Fixed "-o" residue. Added "-O" to usage() (-o didn't appear there either). | ||||
* | Changed `-o' to `-O' for clarity. THIS BREAKS UTILITIES DEPENDING ON -o! | Kristaps Dzonsons | 2009-10-26 | 1 | -1/+1 |
| | |||||
* | Moved output definitions into main.h. | Kristaps Dzonsons | 2009-10-13 | 1 | -11/+1 |
| | | | | Pushed terminal_{mdoc,man} into {mdoc,man}_term.c. | ||||
* | Clean up consts (noted by Joerg Sonnenberger and Ulrich Sporlein). | Kristaps Dzonsons | 2009-10-13 | 1 | -4/+7 |
| | |||||
* | Removed new-born out.{h,c} (not a good idea). | Kristaps Dzonsons | 2009-09-21 | 1 | -11/+7 |
| | | | | | Removed if 0 for HTML-mode output (why not). Added option -oxxxx for passing options to output devices. | ||||
* | More updates to html.c. | Kristaps Dzonsons | 2009-09-16 | 1 | -0/+21 |
| | | | | Secretly enabled -Thtml in main.c (obviously not yet documented). | ||||
* | Made tree/term/out() functions return void. | Kristaps Dzonsons | 2009-09-16 | 1 | -10/+8 |
| | | | | Put err() functions back into front-ends (no use making it needlessly complex). | ||||
* | Fix in newline. | Kristaps Dzonsons | 2009-07-28 | 1 | -1/+2 |
| | | | | Correct printing of N-char predefined/special strings. | ||||
* | main.c using fprintf instead of warnx for parse errors (like cc). | Kristaps Dzonsons | 2009-07-27 | 1 | -6/+5 |
| | | | | | | Error string is now file:line:col: message. Removed sed from vim -q example in manuals.7. Fixed column reporting (off by one). | ||||
* | Added -fign-errors for VERY fast checking of many manuals without stopping ↵ | Kristaps Dzonsons | 2009-07-24 | 1 | -14/+27 |
| | | | | at errors. | ||||
* | Small clean-ups in error message usage.VERSION.1.7.23 | Kristaps Dzonsons | 2009-07-07 | 1 | -1/+1 |
| | | | | Version. | ||||
* | Cleaned out duplicate {mdoc,man}warn in main.c. | Kristaps Dzonsons | 2009-07-06 | 1 | -25/+4 |
| | |||||
* | Backed -Wcompat,syntax out of front-end. | Kristaps Dzonsons | 2009-07-06 | 1 | -16/+10 |
| | |||||
* | Initial removal of enum mdoc_warn from mdoc warnings (unnecessary complication). | Kristaps Dzonsons | 2009-07-06 | 1 | -22/+4 |
| | |||||
* | suboptarg is not portable to Linux (fixed). | Kristaps Dzonsons | 2009-07-04 | 1 | -6/+10 |
| | |||||
* | Moved escape validation into libmandoc.h/mandoc.c (common between ↵ | Kristaps Dzonsons | 2009-07-04 | 1 | -1/+3 |
| | | | | | | | libman/libmdoc1). libman supports MAN_IGN_ESCAPE (like MDOC_IGN_ESCAPE). All popular escapes now handled consistently. | ||||
* | Removed escape-deprecation note (better solution in progress, ↵ | Kristaps Dzonsons | 2009-06-27 | 1 | -7/+7 |
| | | | | | | | | schwarze@openbsd.org). Using EXIT_FAILURE for parse errors (nicm@openbsd.org). Fixed use of warn/warnx (nicm@openbsd.org). Fixed use of getsubopt (nicm@openbsd.org). | ||||
* | Added -fno-ign-chars support to libman. | Kristaps Dzonsons | 2009-06-18 | 1 | -1/+3 |
| | | | | | | | man_validate.c checks for non-tab/isprint words. libman hashtable fixed (was ignoring .br). Added ncount field to man_node, deprecating count() functions. Documented use of tabs in man.7. | ||||
* | Clean-up: in-source documentation. | Kristaps Dzonsons | 2009-06-16 | 1 | -55/+12 |
| | |||||
* | Modernised comment handling: text following \" is thrown away before | Kristaps Dzonsons | 2009-06-16 | 1 | -25/+38 |
| | | | | | | either parser is invoked. Single-dot lines correctly handled. This confirms with both new- and old-groff. "Comment" subsection added to mdoc.7 and man.7. | ||||
* | Deprecated mdoc_msg (not being used anywhere). | Kristaps Dzonsons | 2009-06-15 | 1 | -1/+0 |
| | |||||
* | Documented some un-clear parts of main.c. | Kristaps Dzonsons | 2009-06-11 | 1 | -3/+31 |
| | | | | | Fixed footer to be new-groff style (OS DATE OS). Removed sanity check from mdoc_term (unnecessary). | ||||
* | Fixed license email address. | Kristaps Dzonsons | 2009-06-10 | 1 | -1/+1 |
| | |||||
* | Using proper license template (const). | Kristaps Dzonsons | 2009-04-12 | 1 | -12/+10 |
| | |||||
* | Manual .Dt fields CAPITALISED. | Kristaps Dzonsons | 2009-04-12 | 1 | -17/+24 |
| | | | | | | | | Indent set to 5 chars (nroff compat). Half-indent set to 3 chars (nroff compat). Default behaviour is loose-y (ignore macro/char/escape). Added -fstrict. Added unknown-character ignoring. | ||||
* | *** empty log message *** | Kristaps Dzonsons | 2009-04-03 | 1 | -6/+5 |
| | |||||
* | Proper resetting of memory. | Kristaps Dzonsons | 2009-04-03 | 1 | -90/+97 |
| | | | | Array boundary fixed (-W). | ||||
* | Documented -mandoc behaviour. | Kristaps Dzonsons | 2009-04-02 | 1 | -2/+0 |
| | |||||
* | Added -p1003.1-2008 specification. | Kristaps Dzonsons | 2009-04-02 | 1 | -3/+11 |
| | | | | | Fixed invalid memory accesses (concat()). Made -fign-macro be the default for libman. | ||||
* | Initial -mandoc auto-switch in place. | Kristaps Dzonsons | 2009-04-02 | 1 | -114/+211 |
| | |||||
* | General clean-ups. | Kristaps Dzonsons | 2009-03-31 | 1 | -6/+8 |
| | |||||
* | All macro-invocations, for consistency, begin with `.' in documentation. | Kristaps Dzonsons | 2009-03-26 | 1 | -2/+2 |
| | | | | | Fixed \\ -> \e in manual documentation. All preliminary -man macros in place. | ||||
* | *** empty log message *** | Kristaps Dzonsons | 2009-03-25 | 1 | -32/+19 |
| | |||||
* | Added pflags to man_alloc. | Kristaps Dzonsons | 2009-03-25 | 1 | -6/+21 |
| | | | | Abstract fflags -> pflags in main.c. | ||||
* | Added man validator, renamed mdoc validator. | Kristaps Dzonsons | 2009-03-25 | 1 | -8/+33 |
| | |||||
* | Fixed inclusion of MANSRCS (sorry, Ulrich). | Kristaps Dzonsons | 2009-03-23 | 1 | -1/+1 |
| | | | | Added DragonFlyBSD __dead2. | ||||
* | -man linked to mandoc in documentation. | Kristaps Dzonsons | 2009-03-23 | 1 | -1/+3 |
| |