Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Re-constitution of `ds' symbol processing. First, push the | 2010-07-07 | 1 | -2/+1 | ||
| | | | | | | | | | roff_getstr() family of functions into roff.c with the "first_string" directly in struct roff. Second, pre-process each line for reserved words in libroff, splicing and re-running a line if it has one (this allows defined symbols to be macros). Remove term.c's invocation of the roff_getstrn() function. Removed function documentation in roff.3 and added roff.7 `ds' documentation. | |||||
* | Following clue-stick applied by schwarze@, back out const-ness of regset | 2010-06-27 | 1 | -3/+3 | ||
| | | | | | | | | | passed in to libmdoc and libman. Fix mdoc.3 and man.3 EXAMPLE sections to include regset. Add MDOC_SYNPRETTY flag cueing front-end to nicely format certain values as if SEC_SYNOPSIS were the current section. | |||||
* | Downstream maintainers: this removes UGLY! I don't want diverging | 2010-06-27 | 1 | -11/+9 | ||
| | | | | | | | | | functionality and UGLY works quite well thanks to schwarze@'s careful attention. This also backs out function-prototype changes for struct regset, instead stuffing a pointer to the regset directly into struct mdoc/man/roff. | |||||
* | Mechanical diff allowing the const struct regset to propogate through | 2010-06-26 | 1 | -5/+8 | ||
| | | | | libman and libmdoc. | |||||
* | Churn-ish check-in getting mdoc_parseln() and man_parseln() to accept a | 2010-06-26 | 1 | -2/+4 | ||
| | | | | const struct regset pointer. No functionality. | |||||
* | Churn as I finish email address migration kth.se -> bsd.lv. | 2010-06-19 | 1 | -2/+2 | ||
| | ||||||
* | Allow bad -man dates to flow verbatim into the front-ends. Noted by | 2010-05-26 | 1 | -1/+3 | ||
| | | | | Ulrich Spoerlein. | |||||
* | Enable the unified error/warning enumeration in mandoc.h that's | 2010-05-17 | 1 | -85/+30 | ||
| | | | | | | | | | | | 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. | 2010-05-17 | 1 | -2/+2 | ||
| | ||||||
* | Allow roff_parseln() to be re-run. | 2010-05-16 | 1 | -27/+31 | ||
| | | | | | | | | | 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. | 2010-05-16 | 1 | -2/+2 | ||
| | ||||||
* | Remove `am', `ami', `de', `dei', and `.' from -man, as they're now in the ↵ | 2010-05-15 | 1 | -8/+2 | ||
| | | | | roff preprocessor. | |||||
* | Pull `ig' out of -man and leave it the roff preparser. | 2010-05-15 | 1 | -3/+2 | ||
| | ||||||
* | Removed restriction on integer manual sections in -man. | 2010-05-15 | 1 | -2/+3 | ||
| | ||||||
* | More EOS: append_delims() fitted with EOS detection, so ANY macro with ↵ | 2010-05-15 | 1 | -1/+3 | ||
| | | | | | | appended delimiters will properly EOS. Fixed mandoc_eos() to accept sentence punctuation followed by close-delim buffers. | |||||
* | Put the eos-checker into libmandoc.h. | 2010-05-12 | 1 | -14/+2 | ||
| | | | | Added bits in mdoc.7 and man.7 about EOS spacing. | |||||
* | End-of-sentence spacing for -man -Tascii. | 2010-05-12 | 1 | -1/+24 | ||
| | ||||||
* | Fix asserts on stripping end-of-line whitespace. | 2010-05-08 | 1 | -4/+2 | ||
| | ||||||
* | Strip trailing, unescaped whitespace from free-form, non-literal lines (like ↵ | 2010-05-08 | 1 | -4/+18 | ||
| | | | | groff). | |||||
* | Lint fixes (type-safety for enums via -cefuh). | 2010-05-08 | 1 | -4/+7 | ||
| | ||||||
* | De-chunking of text removed from parsers. This is a significant change (and ↵ | 2010-05-07 | 1 | -56/+18 | ||
| | | | | | | 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. | 2010-04-08 | 1 | -1/+7 | ||
| | | | | 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 ↵ | 2010-03-29 | 1 | -9/+14 | ||
| | | | | clobbering prior scope rules and line modes. | |||||
* | Initial step in fixing badness reported by Sascha Wildner (wip). | 2010-03-29 | 1 | -4/+6 | ||
| | ||||||
* | Last fix for tabs/spaces between control character and macro. egcs gcc.1 is ↵VERSION_1_9_18 | 2010-03-27 | 1 | -2/+2 | ||
| | | | | now handled. | |||||
* | *** empty log message *** | 2010-03-27 | 1 | -2/+6 | ||
| | ||||||
* | Fixed re-adjustment of scope in exiting roff instructions (libman). | 2010-03-27 | 1 | -5/+7 | ||
| | | | | | | 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 ↵ | 2010-03-24 | 1 | -28/+54 | ||
| | | | | | | | 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. | 2010-03-23 | 1 | -13/+14 | ||
| | | | | | 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 ↵ | 2010-03-23 | 1 | -2/+3 | ||
| | | | | set of patches by Ingo Schwarze. | |||||
* | Clarify -man -T[x]html handling of `br' within `B'. | 2010-03-22 | 1 | -28/+50 | ||
| | | | | | 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', ↵ | 2010-03-22 | 1 | -4/+35 | ||
| | | | | | | `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 ↵ | 2010-01-07 | 1 | -4/+24 | ||
| | | | | by Jason McIntyre. | |||||
* | Check for white-space at end of stand-alone macro line. | 2010-01-07 | 1 | -3/+10 | ||
| | ||||||
* | Big check-in of compatibility layer. This should work on most major ↵ | 2010-01-01 | 1 | -5/+5 | ||
| | | | | architectures. Thanks to Joerg Sonnenberger. | |||||
* | Fix in junking dot lines in -man (from PR by Alex Kozlov). | 2009-11-02 | 1 | -4/+4 | ||
| | ||||||
* | libmdoc and libman now using non-recoverable allocations (simpler code). | 2009-10-30 | 1 | -39/+14 | ||
| | ||||||
* | bzero() -> memset() (noted by Joerg Sonnenberger). | 2009-10-27 | 1 | -2/+2 | ||
| | ||||||
* | -man also prints unknown macro (noted by Joerg Sonnenberger). | 2009-10-26 | 1 | -7/+15 | ||
| | ||||||
* | Added `PD' to -man (doesn't do anything, yet). | 2009-10-24 | 1 | -2/+2 | ||
| | ||||||
* | FreeBSD compile fixes (uqs@spoerlein.net). | 2009-09-23 | 1 | -1/+3 | ||
| | ||||||
* | Lookup hashes are now static tables, ordered first-level by second ↵ | 2009-09-16 | 1 | -10/+4 | ||
| | | | | 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). | 2009-08-22 | 1 | -2/+2 | ||
| | | | | | 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 ↵ | 2009-08-22 | 1 | -1/+7 | ||
| | | | | libmdoc (joerg@netbsd.org). | |||||
* | Fix of MAN_NEXT when removing next-line dupes.VERSION_1_9_1 | 2009-08-21 | 1 | -4/+8 | ||
| | ||||||
* | Removed superfluous XXX. | 2009-08-21 | 1 | -3/+1 | ||
| | | | | Version: 1.9.1. | |||||
* | Fixed `nf' behaviour (had broken with de-chunking). | 2009-08-21 | 1 | -2/+12 | ||
| | | | | Added warnings if literal context already open/closed. | |||||
* | Open explicit scope on libman exit now only generates warning. | 2009-08-21 | 1 | -5/+27 | ||
| | | | | Consecutive ELINE scopes are now pruned (with a warning). | |||||
* | Added `DT' macro (pointed out by joerg@netbsd.org). | 2009-08-20 | 1 | -2/+2 | ||
| | ||||||
* | Linux compat fix. | 2009-08-19 | 1 | -1/+5 | ||
| |