Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Squash bug noted by Ulrich Spoerlein where "-" were being converted to | Kristaps Dzonsons | 2010-06-09 | 1 | -1/+1 |
| | | | | | | | | | 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. | ||||
* | Enable the unified error/warning enumeration in mandoc.h that's | Kristaps Dzonsons | 2010-05-17 | 1 | -38/+8 |
| | | | | | | | | | | | 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. | ||||
* | Remove `am', `ami', `de', `dei', and `.' from -man, as they're now in the ↵ | Kristaps Dzonsons | 2010-05-15 | 1 | -4/+0 |
| | | | | roff preprocessor. | ||||
* | Removed restriction on integer manual sections in -man. | Kristaps Dzonsons | 2010-05-15 | 1 | -1/+0 |
| | |||||
* | Sync'd mdoc.c's function names with man.c. | Kristaps Dzonsons | 2010-04-08 | 1 | -0/+1 |
| | | | | Prompted by Ingo and Claus Assman, added warn/ignore for text lines beginning with `\."'. | ||||
* | Final (?) fix to issue pointed out by Sascha Wildner: roff instructions ↵ | Kristaps Dzonsons | 2010-03-29 | 1 | -0/+1 |
| | | | | clobbering prior scope rules and line modes. | ||||
* | Initial step in fixing badness reported by Sascha Wildner (wip). | Kristaps Dzonsons | 2010-03-29 | 1 | -3/+5 |
| | |||||
* | Fixed re-adjustment of scope in exiting roff instructions (libman). | Kristaps Dzonsons | 2010-03-27 | 1 | -1/+4 |
| | | | | | | 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 | -3/+3 |
| | | | | | | | 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). | ||||
* | libman using enum mant instead of #defines for macros. | Kristaps Dzonsons | 2010-03-23 | 1 | -6/+6 |
| | | | | | Clean-ups, better documentation in man_hash.c. Added extra space for "." in man_hash.c (unused for the time being). | ||||
* | Clarify -man -T[x]html handling of `br' within `B'. | Kristaps Dzonsons | 2010-03-22 | 1 | -0/+2 |
| | | | | | Consolidated node unlinking in -man. Conclude nested next-line scope issues noted by Ingo Schwarze. | ||||
* | Accomodate (libman) for next-line macros followed by non-text macros `na', ↵ | Kristaps Dzonsons | 2010-03-22 | 1 | -3/+5 |
| | | | | | | `sp', and `br'. Based on a patch by Ingo Schwarze. | ||||
* | libmdoc and libman now using non-recoverable allocations (simpler code). | Kristaps Dzonsons | 2009-10-30 | 1 | -1/+0 |
| | |||||
* | -man also prints unknown macro (noted by Joerg Sonnenberger). | Kristaps Dzonsons | 2009-10-26 | 1 | -1/+0 |
| | |||||
* | Lookup hashes are now static tables, ordered first-level by second ↵ | Kristaps Dzonsons | 2009-09-16 | 1 | -4/+2 |
| | | | | character, then randomly along a chain. Improves performance by a small fraction and considerably cleans up hash sources. | ||||
* | Fixed next-line scoping of `.HP nnn' (has both next-line and on-line in head). | Kristaps Dzonsons | 2009-08-21 | 1 | -1/+2 |
| | |||||
* | Fixed `nf' behaviour (had broken with de-chunking). | Kristaps Dzonsons | 2009-08-21 | 1 | -0/+4 |
| | | | | Added warnings if literal context already open/closed. | ||||
* | libman checks for open explicit scopes on exit. | Kristaps Dzonsons | 2009-08-19 | 1 | -0/+1 |
| | |||||
* | Added RS/RE macro pair (had to adjust closing rules, sec/ssec/rs/par). | Kristaps Dzonsons | 2009-08-19 | 1 | -0/+1 |
| | |||||
* | Significant overhaul in libman. Macros are now block- and line-scoped (with | Kristaps Dzonsons | 2009-08-13 | 1 | -4/+30 |
| | | | | | | | | 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 | -0/+1 |
| | | | | Added `\c' to known escapes (only used in man, but still). | ||||
* | Tabularised error strings in libman. | Kristaps Dzonsons | 2009-07-07 | 1 | -2/+3 |
| | |||||
* | Consolidated all err/warnings into mdoc.c via libmdoc.h. | Kristaps Dzonsons | 2009-07-06 | 1 | -2/+2 |
| | |||||
* | Moved escape validation into libmandoc.h/mandoc.c (common between ↵ | Kristaps Dzonsons | 2009-07-04 | 1 | -1/+2 |
| | | | | | | | 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 | -1/+3 |
| | | | | | libman requirements documented in man.7 STRUCTURE section. Added STRUCTURE section to mdoc.7, too. | ||||
* | Moved all formatted libman warn/error into man.c/libman.h. | Kristaps Dzonsons | 2009-06-18 | 1 | -0/+20 |
| | | | | Converted all formatted warn/errors into regular syntax. | ||||
* | 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 |
| | |||||
* | Initial front-end formatting for -man pages. | Kristaps Dzonsons | 2009-03-26 | 1 | -0/+1 |
| | |||||
* | Added pflags to man_alloc. | Kristaps Dzonsons | 2009-03-25 | 1 | -0/+1 |
| | | | | Abstract fflags -> pflags in main.c. | ||||
* | Added man_action.c, renamed mdoc_action.c. | Kristaps Dzonsons | 2009-03-25 | 1 | -0/+2 |
| | |||||
* | Added man validator, renamed mdoc validator. | Kristaps Dzonsons | 2009-03-25 | 1 | -0/+4 |
| | |||||
* | -man linked to mandoc in documentation. | Kristaps Dzonsons | 2009-03-23 | 1 | -0/+1 |
| | |||||
* | -man printing linked to -Ttree. | Kristaps Dzonsons | 2009-03-23 | 1 | -16/+3 |
| | |||||
* | First addition of -man macro support. | Kristaps Dzonsons | 2009-03-23 | 1 | -0/+66 |
Abstraction of mdoc. |