Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Quiesce lint with some type handling. Does not change anything. | Kristaps Dzonsons | 2011-01-07 | 1 | -4/+2 | |
| | ||||||
* | Protect tbl nodes from getting a post call. | Kristaps Dzonsons | 2011-01-04 | 1 | -3/+10 | |
| | ||||||
* | Add skeleton for -T[x]html tbl stuff. Also start to put in some bits about | Kristaps Dzonsons | 2011-01-04 | 1 | -1/+2 | |
| | | | | the up-coming version, although we're not quite there yet. | |||||
* | Multiple man(7) .IP and .TP fixes started during p2k10: | Ingo Schwarze | 2011-01-04 | 1 | -21/+9 | |
| | | | | | | | | | | | | | | | | | | | | | Affecting both -Tascii and -Thtml: * The .IP HEAD uses the second argument as the width, not the last one. * Only print the first .IP HEAD argument, not all but the last. Affecting only -Tascii: * The .IP and .TP HEADs must be printed without literal mode, but literal mode must be restored afterwards. * After the .IP and .TP bodies, we only want term_newln(), not term_flushln(), or we would get two blank lines in literal mode. * The .TP HEAD does not use TWOSPACE, just like .IP doesn't either. * In literal mode, clear NOLPAD after each line, or subsequent lines would get no indentation whatsoever. Affecting only -Thtml: * Only print next-line .TP children, instead of all but the first. OK kristaps@ on the -Tascii part; and: "Can you work this into man_html.c, too?" | |||||
* | Add -man support for tables. Like -mdoc, this consists of an | Kristaps Dzonsons | 2011-01-01 | 1 | -12/+5 | |
| | | | | | | | external-facing function man_addspan() (this required shuffling around the descope routine) and hooks elsewhere. Also fixed mdoc.c's post-validation of tables. | |||||
* | Drastically fix -T[x]html's handling of font-escape mode changes (i.e., | Kristaps Dzonsons | 2010-12-24 | 1 | -28/+23 | |
| | | | | | | | | | | | | | | | using \fI or \fP). Now, using these modes will cause a font to be rendered for each word; furthermore, setting mode within a word will do the correct thing. Second, make -man use real font tags (B, I, SMALL) to set its font instead of using font modes and fix up the pre-macro unsetting of the current mode. This fixes how roff.7 wasn't validating (<P> closing out a font mode) and has been checked against gcc.1 (more will come). I considered failure to validate OUR manual to be a show-stopper for the up-coming release. | |||||
* | Throw out negative margin garbage in -man -T[x]html in favour of using | Kristaps Dzonsons | 2010-12-22 | 1 | -96/+78 | |
| | | | | TABLE and P and so on. Now renders in text-based browsers. | |||||
* | Banished -man -Thtml header and footer to example.style.css as well. | Kristaps Dzonsons | 2010-12-17 | 1 | -31/+18 | |
| | ||||||
* | Significantly clean up Sh, Ss, SH, and SS handling in -Thtml. Now a | Kristaps Dzonsons | 2010-12-17 | 1 | -56/+12 | |
| | | | | | | top-level DIV is used with only an H1 or H2 as the section header. This makes manuals much more readable in lynx, less complicated, and relegates left-margin widths to example.style.css. | |||||
* | Use a single P tag for paragraph breaks (which can be configured for | Kristaps Dzonsons | 2010-12-15 | 1 | -8/+1 | |
| | | | | | | | paragraph breaking in CSS). Use -man's handling of `sp' and `br', which accomodates for scaling widths (-mdoc wasn't). | |||||
* | Remove `i' and `r' macro handlers. These macros, originally part of the | Kristaps Dzonsons | 2010-12-08 | 1 | -2/+0 | |
| | | | | | | | | me package, aren't recognised by "groff -mandoc" so we don't need to do so either. Discussed on tech@ with schwarze@. While at it, remove references to `b' in man.7. As far as I know, this was never supported anyway. | |||||
* | Typo: man_in_pre -> man_ign_pre for `ft'. | Kristaps Dzonsons | 2010-12-06 | 1 | -1/+1 | |
| | ||||||
* | Add support for `ft' macro found in groff(7). Based on a patch by | Kristaps Dzonsons | 2010-12-06 | 1 | -0/+1 | |
| | | | | | schwarze@, but without the -T[x]html handling, which structurally does not work. Also add man.7 documentation (not in original patch). | |||||
* | Small merges from schwarze@'s man_html.c edits. | Kristaps Dzonsons | 2010-12-06 | 1 | -6/+2 | |
| | ||||||
* | Let some man_term.c cleanups bleed into man_html.c. | Kristaps Dzonsons | 2010-12-06 | 1 | -6/+2 | |
| | ||||||
* | Header for `PP', `P', and `LP' should never be printed. | Kristaps Dzonsons | 2010-12-06 | 1 | -1/+4 | |
| | ||||||
* | Remove `Sp', `Vb', and `Ve' (as per schwarze@'s changes in OpenBSD), | Kristaps Dzonsons | 2010-12-05 | 1 | -9/+1 | |
| | | | | which are now accomodated for the new libroff modifications. | |||||
* | Enable literal contexts (Vb/nf) in -T[x]html -man. This requires that a | Kristaps Dzonsons | 2010-07-23 | 1 | -18/+64 | |
| | | | | | | | | new struct pass down in the call-tree (as also in man_term.c). Also add a line-break for `in', which isn't otherwise supported (yet). Now -Thtml -man cvs.1 for GNU's cvs.1 isn't as ugly. | |||||
* | Fix broken compilation, hopefully before anybody notices. | Kristaps Dzonsons | 2010-07-22 | 1 | -1/+1 | |
| | ||||||
* | Added `in' macro support for -man -Tascii. This is not yet supported in | Kristaps Dzonsons | 2010-07-22 | 1 | -0/+1 | |
| | | | | -Thtml (I'm surprised to note that neither is LITERAL mode). | |||||
* | correct lots of copyright notices; | Ingo Schwarze | 2010-07-13 | 1 | -1/+1 | |
| | | | | ok kristaps@ | |||||
* | Re-constitution of `ds' symbol processing. First, push the | Kristaps Dzonsons | 2010-07-07 | 1 | -1/+0 | |
| | | | | | | | | | 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 | Kristaps Dzonsons | 2010-06-27 | 1 | -0/+1 | |
| | | | | | | | | | 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 | Kristaps Dzonsons | 2010-06-27 | 1 | -1/+0 | |
| | | | | | | | | | 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. | |||||
* | Churn-ish check-in getting mdoc_parseln() and man_parseln() to accept a | Kristaps Dzonsons | 2010-06-26 | 1 | -0/+1 | |
| | | | | const struct regset pointer. No functionality. | |||||
* | Churn as I finish email address migration kth.se -> bsd.lv. | Kristaps Dzonsons | 2010-06-19 | 1 | -1/+1 | |
| | ||||||
* | Allow bad -man dates to flow verbatim into the front-ends. Noted by | Kristaps Dzonsons | 2010-05-26 | 1 | -1/+4 | |
| | | | | Ulrich Spoerlein. | |||||
* | Enable the unified error/warning enumeration in mandoc.h that's | Kristaps Dzonsons | 2010-05-17 | 1 | -0/+1 | |
| | | | | | | | | | | | 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 | -5/+0 | |
| | | | | roff preprocessor. | |||||
* | Pull `ig' out of -man and leave it the roff preparser. | Kristaps Dzonsons | 2010-05-15 | 1 | -1/+0 | |
| | ||||||
* | Removed restriction on integer manual sections in -man. | Kristaps Dzonsons | 2010-05-15 | 1 | -2/+2 | |
| | ||||||
* | Using man_node_delete() instead of man_node_free()/man_node_freelist() and ↵ | Kristaps Dzonsons | 2010-03-24 | 1 | -1/+7 | |
| | | | | | | | 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 | -3/+14 | |
| | | | | set of patches by Ingo Schwarze. | |||||
* | Clarify -man -T[x]html handling of `br' within `B'. | Kristaps Dzonsons | 2010-03-22 | 1 | -4/+22 | |
| | | | | | 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 | -1/+7 | |
| | | | | | | `sp', and `br'. Based on a patch by Ingo Schwarze. | |||||
* | Fixed Makefile for `make lint' dep. on config.h | Kristaps Dzonsons | 2010-01-29 | 1 | -1/+1 | |
| | | | | 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. | |||||
* | Enabled -Thtml -mdoc to work with \f (see compat notes in mandoc.1). | Kristaps Dzonsons | 2009-11-16 | 1 | -2/+8 | |
| | ||||||
* | Abstraction of -Thtml -man font setting (still experimental). | Kristaps Dzonsons | 2009-11-16 | 1 | -19/+12 | |
| | ||||||
* | Fixed -Thtml -man PP left- and top-margin. | Kristaps Dzonsons | 2009-11-15 | 1 | -6/+6 | |
| | ||||||
* | \f escapes appear to work properly for -Thtml -man. Needs more testing. | Kristaps Dzonsons | 2009-11-15 | 1 | -11/+18 | |
| | ||||||
* | Initial check-in of -man -Thtml \f support (needs testing). | Kristaps Dzonsons | 2009-11-14 | 1 | -3/+5 | |
| | ||||||
* | Fixed \c handling in -Thtml. | Kristaps Dzonsons | 2009-11-14 | 1 | -4/+1 | |
| | ||||||
* | Noted that -man text decoration is re-set when exiting a macro invocation. | Kristaps Dzonsons | 2009-11-10 | 1 | -0/+3 | |
| | ||||||
* | More lint fixes. | Kristaps Dzonsons | 2009-10-30 | 1 | -1/+0 | |
| | | | | Removed err.h from inclusions (less main.c--still in progress). | |||||
* | Fixed `sp', `br', `Pp', etc. so as not to have an empty div (-Thtml, -man, ↵ | Kristaps Dzonsons | 2009-10-28 | 1 | -0/+3 | |
| | | | | | | | | -mdoc). Made html_idcat be completely correct (messy standard) (-Thtml). Fixed warnings about -ohang and -item lists (-Thtml, -mdoc). Fixed typo in index.sgml. | |||||
* | Added "summary" tag to tables in order to silence HTML-tidy's complaints. | Kristaps Dzonsons | 2009-10-27 | 1 | -4/+8 | |
| | ||||||
* | Portability: replaced queue macros in html.c (Joerg Sonnenberger). | Kristaps Dzonsons | 2009-10-26 | 1 | -2/+1 | |
| | | | | | Fixed "-o" residue. Added "-O" to usage() (-o didn't appear there either). | |||||
* | Added `PD' to -man (doesn't do anything, yet). | Kristaps Dzonsons | 2009-10-24 | 1 | -0/+2 | |
| |