Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Enable the unified error/warning enumeration in mandoc.h that's | Kristaps Dzonsons | 2010-05-17 | 1 | -84/+29 |
| | | | | | | | | | | | 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 | -1/+1 |
| | |||||
* | Allow roff_parseln() to be re-run. | Kristaps Dzonsons | 2010-05-16 | 1 | -26/+30 |
| | | | | | | | | | Allow roff_parseln() to manipulate the line buffer offset. This is used in situations like `.ie n .TH FOO 1' or `.ie n .ie n', where the line buffer offset is recalculated then the roff parser re-run. Fix mdoc_parseln() and man_parseln() to accept the initial line offset. WARNING: backed-out ALL roff macros whilst accomodating for how roff handles multi-line conditionals (in short, re-running the parser). | ||||
* | Fix allowing silly '\'' control character. | Kristaps Dzonsons | 2010-05-16 | 1 | -1/+1 |
| | |||||
* | Remove `am', `ami', `de', `dei', and `.' from -man, as they're now in the ↵ | Kristaps Dzonsons | 2010-05-15 | 1 | -7/+1 |
| | | | | roff preprocessor. | ||||
* | Pull `ig' out of -man and leave it the roff preparser. | Kristaps Dzonsons | 2010-05-15 | 1 | -2/+1 |
| | |||||
* | Removed restriction on integer manual sections in -man. | Kristaps Dzonsons | 2010-05-15 | 1 | -1/+2 |
| | |||||
* | More EOS: append_delims() fitted with EOS detection, so ANY macro with ↵ | Kristaps Dzonsons | 2010-05-15 | 1 | -0/+2 |
| | | | | | | appended delimiters will properly EOS. Fixed mandoc_eos() to accept sentence punctuation followed by close-delim buffers. | ||||
* | Put the eos-checker into libmandoc.h. | Kristaps Dzonsons | 2010-05-12 | 1 | -13/+1 |
| | | | | Added bits in mdoc.7 and man.7 about EOS spacing. | ||||
* | End-of-sentence spacing for -man -Tascii. | Kristaps Dzonsons | 2010-05-12 | 1 | -0/+23 |
| | |||||
* | Fix asserts on stripping end-of-line whitespace. | Kristaps Dzonsons | 2010-05-08 | 1 | -3/+1 |
| | |||||
* | Strip trailing, unescaped whitespace from free-form, non-literal lines (like ↵ | Kristaps Dzonsons | 2010-05-08 | 1 | -3/+17 |
| | | | | groff). | ||||
* | Lint fixes (type-safety for enums via -cefuh). | Kristaps Dzonsons | 2010-05-08 | 1 | -3/+6 |
| | |||||
* | De-chunking of text removed from parsers. This is a significant change (and ↵ | Kristaps Dzonsons | 2010-05-07 | 1 | -55/+17 |
| | | | | | | I don't really like it), but it's what groff does. Distinction of ARGS_PHRASE and ARGS_PPHRASE in backend (not yet used). | ||||
* | Sync'd mdoc.c's function names with man.c. | Kristaps Dzonsons | 2010-04-08 | 1 | -0/+6 |
| | | | | 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 | -8/+13 |
| | | | | 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 |
| | |||||
* | Last fix for tabs/spaces between control character and macro. egcs gcc.1 is ↵VERSION.1.9.18 | Kristaps Dzonsons | 2010-03-27 | 1 | -1/+1 |
| | | | | now handled. | ||||
* | *** empty log message *** | Kristaps Dzonsons | 2010-03-27 | 1 | -1/+5 |
| | |||||
* | Fixed re-adjustment of scope in exiting roff instructions (libman). | Kristaps Dzonsons | 2010-03-27 | 1 | -4/+6 |
| | | | | | | 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 | -27/+53 |
| | | | | | | | 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 | -12/+13 |
| | | | | | Clean-ups, better documentation in man_hash.c. Added extra space for "." in man_hash.c (unused for the time being). | ||||
* | Support for pod2man standard header macros (Vb, Ve, Sp). Based largely on a ↵ | Kristaps Dzonsons | 2010-03-23 | 1 | -1/+2 |
| | | | | set of patches by Ingo Schwarze. | ||||
* | Clarify -man -T[x]html handling of `br' within `B'. | Kristaps Dzonsons | 2010-03-22 | 1 | -27/+49 |
| | | | | | 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/+34 |
| | | | | | | `sp', and `br'. Based on a patch by Ingo Schwarze. | ||||
* | Check for white-space at the end of free-form text. Lack of check spotted ↵ | Kristaps Dzonsons | 2010-01-07 | 1 | -3/+23 |
| | | | | by Jason McIntyre. | ||||
* | Check for white-space at end of stand-alone macro line. | Kristaps Dzonsons | 2010-01-07 | 1 | -2/+9 |
| | |||||
* | Big check-in of compatibility layer. This should work on most major ↵ | Kristaps Dzonsons | 2010-01-01 | 1 | -4/+4 |
| | | | | architectures. Thanks to Joerg Sonnenberger. | ||||
* | Fix in junking dot lines in -man (from PR by Alex Kozlov). | Kristaps Dzonsons | 2009-11-02 | 1 | -3/+3 |
| | |||||
* | libmdoc and libman now using non-recoverable allocations (simpler code). | Kristaps Dzonsons | 2009-10-30 | 1 | -38/+13 |
| | |||||
* | bzero() -> memset() (noted by Joerg Sonnenberger). | Kristaps Dzonsons | 2009-10-27 | 1 | -1/+1 |
| | |||||
* | -man also prints unknown macro (noted by Joerg Sonnenberger). | Kristaps Dzonsons | 2009-10-26 | 1 | -6/+14 |
| | |||||
* | Added `PD' to -man (doesn't do anything, yet). | Kristaps Dzonsons | 2009-10-24 | 1 | -1/+1 |
| | |||||
* | FreeBSD compile fixes (uqs@spoerlein.net). | Kristaps Dzonsons | 2009-09-23 | 1 | -0/+2 |
| | |||||
* | Lookup hashes are now static tables, ordered first-level by second ↵ | Kristaps Dzonsons | 2009-09-16 | 1 | -9/+3 |
| | | | | character, then randomly along a chain. Improves performance by a small fraction and considerably cleans up hash sources. | ||||
* | Added `UC' libman macro (has no effect). | Kristaps Dzonsons | 2009-08-22 | 1 | -1/+1 |
| | | | | | Corrected `UC' and `DT' not to print their arguments. Noted that `UC' and `DT' shouldn't be used. | ||||
* | Added check for graphable characters in initial-line parse for libman and ↵ | Kristaps Dzonsons | 2009-08-22 | 1 | -0/+6 |
| | | | | libmdoc (joerg@netbsd.org). | ||||
* | Fix of MAN_NEXT when removing next-line dupes.VERSION.1.9.1 | Kristaps Dzonsons | 2009-08-21 | 1 | -3/+7 |
| | |||||
* | Removed superfluous XXX. | Kristaps Dzonsons | 2009-08-21 | 1 | -2/+0 |
| | | | | Version: 1.9.1. | ||||
* | Fixed `nf' behaviour (had broken with de-chunking). | Kristaps Dzonsons | 2009-08-21 | 1 | -1/+11 |
| | | | | Added warnings if literal context already open/closed. | ||||
* | Open explicit scope on libman exit now only generates warning. | Kristaps Dzonsons | 2009-08-21 | 1 | -4/+26 |
| | | | | 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/+1 |
| | |||||
* | Linux compat fix. | Kristaps Dzonsons | 2009-08-19 | 1 | -0/+4 |
| | |||||
* | Moved MDOC_NEXT_SIBLING into mdoc_word (libmdoc). | Kristaps Dzonsons | 2009-08-19 | 1 | -11/+61 |
| | | | | De-chunking of word terms in libman. | ||||
* | Added RS/RE macro pair (had to adjust closing rules, sec/ssec/rs/par). | Kristaps Dzonsons | 2009-08-19 | 1 | -7/+16 |
| | |||||
* | Significant overhaul in libman. Macros are now block- and line-scoped (with | Kristaps Dzonsons | 2009-08-13 | 1 | -47/+114 |
| | | | | | | | | 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 | -1/+2 |
| | | | | Added `\c' to known escapes (only used in man, but still). | ||||
* | Tabularised error strings in libman. | Kristaps Dzonsons | 2009-07-07 | 1 | -35/+15 |
| | |||||
* | Moved escape validation into libmandoc.h/mandoc.c (common between ↵ | Kristaps Dzonsons | 2009-07-04 | 1 | -0/+3 |
| | | | | | | | 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 | -0/+6 |
| | | | | | libman requirements documented in man.7 STRUCTURE section. Added STRUCTURE section to mdoc.7, too. |