Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Squash bug noted by Ulrich Spoerlein where "-" were being converted to | Kristaps Dzonsons | 2010-06-09 | 1 | -3/+3 |
| | | | | | | | | | ASCII_HYPH, as per normal, but were screwing up mandoc_special(). Fixed by making mandoc_special() first check isspace() instead of ! isgraph(), then normalise its string as it passes out. This require de-constifying some validation routines not already de-constified (those in libman), but that's ok, because I'd like to be pushing actions into validation routines to save on space and redundant calculations. | ||||
* | Smarten BADCHAR check to allow ASCII_HYPH. | Kristaps Dzonsons | 2010-05-25 | 1 | -1/+1 |
| | | | | Fix index.sgml not to puke (the relevant section will be re-written for the release anyway, but I hate seeing errors). | ||||
* | Enable the unified error/warning enumeration in mandoc.h that's | Kristaps Dzonsons | 2010-05-17 | 1 | -29/+38 |
| | | | | | | | | | | | stringified in main.c. Allow `An' to handle an argument and child (with a warning). Allow `Rv' and `Ex' to work without a prior `Nm' as groff does (with a warning). Allow inconsistent column syntax to only raise a warning. | ||||
* | Add support for .AT. Properly implement .UC. Add regress tests. | Joerg Sonnenberger | 2010-05-17 | 1 | -0/+1 |
| | |||||
* | Remove `am', `ami', `de', `dei', and `.' from -man, as they're now in the ↵ | Kristaps Dzonsons | 2010-05-15 | 1 | -23/+0 |
| | | | | roff preprocessor. | ||||
* | Pull `ig' out of -man and leave it the roff preparser. | Kristaps Dzonsons | 2010-05-15 | 1 | -3/+1 |
| | |||||
* | Removed restriction on integer manual sections in -man. | Kristaps Dzonsons | 2010-05-15 | 1 | -1/+1 |
| | |||||
* | Pulled back in mysterious lost le1 <-> eq0 for Sp macro. | Kristaps Dzonsons | 2010-05-14 | 1 | -1/+1 |
| | |||||
* | Remove -fno-ign-chars as well-argued by Ingo Schwarze. Patch by Ingo ↵ | Kristaps Dzonsons | 2010-05-09 | 1 | -3/+1 |
| | | | | Schwarze, too. | ||||
* | Modified version of Ingo Schwarze's patch so that -man doesn't puke when a ↵ | Kristaps Dzonsons | 2010-04-03 | 1 | -2/+13 |
| | | | | TH isn't specified. | ||||
* | Final (?) fix to issue pointed out by Sascha Wildner: roff instructions ↵ | Kristaps Dzonsons | 2010-03-29 | 1 | -1/+1 |
| | | | | clobbering prior scope rules and line modes. | ||||
* | Fixed re-adjustment of scope in exiting roff instructions (libman). | Kristaps Dzonsons | 2010-03-27 | 1 | -2/+21 |
| | | | | | | Added title-case check for (libman). Fixed premature closure of roff instruction scope (libman). Added documentation of ignored roff macros to man(3). | ||||
* | Using man_node_delete() instead of man_node_free()/man_node_freelist() and ↵ | Kristaps Dzonsons | 2010-03-24 | 1 | -0/+26 |
| | | | | | | | friends (much simpler). Split blk_imp() into blk_exp() (explicit macros), blk_dotted() (roff macros), and the original. Added de, dei, am, ami, and ig roff macros (for now, these are discarded within the parse). | ||||
* | Support for pod2man standard header macros (Vb, Ve, Sp). Based largely on a ↵ | Kristaps Dzonsons | 2010-03-23 | 1 | -2/+5 |
| | | | | set of patches by Ingo Schwarze. | ||||
* | Accomodate (libman) for next-line macros followed by non-text macros `na', ↵ | Kristaps Dzonsons | 2010-03-22 | 1 | -3/+3 |
| | | | | | | `sp', and `br'. Based on a patch by Ingo Schwarze. | ||||
* | Big check-in of compatibility layer. This should work on most major ↵ | Kristaps Dzonsons | 2010-01-01 | 1 | -0/+4 |
| | | | | architectures. Thanks to Joerg Sonnenberger. | ||||
* | Added mandoc_a2time() for proper date conversion. | Kristaps Dzonsons | 2009-11-02 | 1 | -1/+1 |
| | | | | | Fitted TH and Dd handlers to use mandoc_a2time(). Documented date syntax for -man, fixed documentation for -mdoc. | ||||
* | Added `PD' to -man (doesn't do anything, yet). | Kristaps Dzonsons | 2009-10-24 | 1 | -0/+1 |
| | |||||
* | Removed number-check for `sp' in -Tman, as nroff accepts non-numerics as a ↵ | Kristaps Dzonsons | 2009-10-18 | 1 | -34/+3 |
| | | | | single vspace. | ||||
* | Added `UC' libman macro (has no effect). | Kristaps Dzonsons | 2009-08-22 | 1 | -0/+1 |
| | | | | | Corrected `UC' and `DT' not to print their arguments. Noted that `UC' and `DT' shouldn't be used. | ||||
* | `RS' warns if empty body. | Kristaps Dzonsons | 2009-08-21 | 1 | -1/+13 |
| | |||||
* | Open explicit scope on libman exit now only generates warning. | Kristaps Dzonsons | 2009-08-21 | 1 | -23/+11 |
| | | | | Consecutive ELINE scopes are now pruned (with a warning). | ||||
* | Added `DT' macro (pointed out by joerg@netbsd.org). | Kristaps Dzonsons | 2009-08-20 | 1 | -1/+2 |
| | |||||
* | libman checks for open explicit scopes on exit. | Kristaps Dzonsons | 2009-08-19 | 1 | -2/+0 |
| | |||||
* | Added RS/RE macro pair (had to adjust closing rules, sec/ssec/rs/par). | Kristaps Dzonsons | 2009-08-19 | 1 | -0/+4 |
| | |||||
* | Fixed missing check for open ELINE scope in BLINE macro. | Kristaps Dzonsons | 2009-08-18 | 1 | -6/+8 |
| | |||||
* | Significant overhaul in libman. Macros are now block- and line-scoped (with | Kristaps Dzonsons | 2009-08-13 | 1 | -58/+159 |
| | | | | | | | | next-line scope extensions possible). man.7 reflects block and line scoping, and also includes a REFERENCE section that will be used as a template for the big mdoc reference. Many fixes in next-line behaviour for both inline and block macros. Added some macros for compatibility (from me.7). Corrected quoted-literal handling for libman. | ||||
* | Added `sp' support to libman. | Kristaps Dzonsons | 2009-07-24 | 1 | -4/+39 |
| | | | | Added `\c' to known escapes (only used in man, but still). | ||||
* | Moved escape validation into libmandoc.h/mandoc.c (common between ↵ | Kristaps Dzonsons | 2009-07-04 | 1 | -2/+17 |
| | | | | | | | libman/libmdoc1). libman supports MAN_IGN_ESCAPE (like MDOC_IGN_ESCAPE). All popular escapes now handled consistently. | ||||
* | libman documents require `TH' and at least one node. | Kristaps Dzonsons | 2009-06-22 | 1 | -2/+15 |
| | | | | | libman requirements documented in man.7 STRUCTURE section. Added STRUCTURE section to mdoc.7, too. | ||||
* | Reverted max column width 80 -> 78 (schwarze@openbsd.org). | Kristaps Dzonsons | 2009-06-22 | 1 | -0/+1 |
| | |||||
* | Moved all formatted libman warn/error into man.c/libman.h. | Kristaps Dzonsons | 2009-06-18 | 1 | -28/+2 |
| | | | | Converted all formatted warn/errors into regular syntax. | ||||
* | Added -fno-ign-chars support to libman. | Kristaps Dzonsons | 2009-06-18 | 1 | -14/+47 |
| | | | | | | | 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. | ||||
* | Removed MAN___: moved MAN_br to its index (comments not passed into parser). | Kristaps Dzonsons | 2009-06-16 | 1 | -2/+1 |
| | | | | Fix: hashtable not fully formed after removal of MDOC___. | ||||
* | 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 |
| | |||||
* | man(3) doesn't use err.h anymore. | Kristaps Dzonsons | 2009-04-05 | 1 | -0/+1 |
| | | | | | | | | Added .i to man(3). Fixed up manuals. Fixed up webpage. Assertion fixes in man(3) (hashtable). Fixed assertion for .IP in mandoc -man. | ||||
* | mdoc_tokhash -> hash | Kristaps Dzonsons | 2009-04-02 | 1 | -0/+1 |
| | | | | Initial man hashtab (BROKEN). | ||||
* | Added some new manuals (mdoc.3 mandoc_char.7). | Kristaps Dzonsons | 2009-03-27 | 1 | -0/+1 |
| | | | | Support for .br in libman. | ||||
* | Initial front-end formatting for -man pages. | Kristaps Dzonsons | 2009-03-26 | 1 | -2/+3 |
| | |||||
* | Fixed reading whitespace for man.7 `. TH'. | Kristaps Dzonsons | 2009-03-26 | 1 | -3/+3 |
| | | | | Documented this. | ||||
* | *** empty log message *** | Kristaps Dzonsons | 2009-03-25 | 1 | -1/+0 |
| | |||||
* | Added man validator, renamed mdoc validator. | Kristaps Dzonsons | 2009-03-25 | 1 | -0/+134 |