Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix of subtle, but significant, resetting of tags when in list mode. ↵VERSION.1.9.15-pre2 | Kristaps Dzonsons | 2010-01-01 | 1 | -16/+19 |
| | | | | Pointed out by Ingo Schwarze. | ||||
* | More in-code documentation and clarity re-arrangements. | Kristaps Dzonsons | 2010-01-01 | 1 | -36/+65 |
| | |||||
* | 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. | ||||
* | Correct handling of arbitrary column lengths, which groff handles ↵ | Kristaps Dzonsons | 2010-01-01 | 1 | -13/+14 |
| | | | | differently depending on number of visible columns. | ||||
* | Cleaned-up column handling to be char-compatible with groff (thanks Ingo ↵ | Kristaps Dzonsons | 2010-01-01 | 1 | -25/+37 |
| | | | | | | Schwarze). Fixed assertion in exceeded rmargin by ridiculous columns. | ||||
* | Documented `Fl' in mdoc.7. | Kristaps Dzonsons | 2010-01-01 | 1 | -10/+0 |
| | | | | Backed out stipulation that `Fl ""' is ignored: this is not the case in !OpenBSD groffs. | ||||
* | `Fl' has each argument be in a separate scope (thanks Ingo Schwarze). | Kristaps Dzonsons | 2010-01-01 | 1 | -1/+16 |
| | | | | | Situation of `Fl [arg]* "" [arg]*' is fixed: empty arguments are ignored. Note that OpenBSD crashes when this happens. Situation of `Fl' is fixed wrt trailing whitespace. | ||||
* | Basically re-wrote -Tascii font handling: instead of incrementers for | Kristaps Dzonsons | 2009-11-12 | 1 | -66/+78 |
| | | | | | | | | | bold and underline, we use a stack (no cascading, no double-font-mode). Font modes with \f only affect the current stack point, as documented in mdoc.7 and man.7. While -mdoc stacks fonts with embedded macros, -man replaces them (the stack is always size 1). This works for all invocations in supported systems' manual corpora to date. It doesn't support groff's insanity with line-scoped \f as documented in mdoc.7. | ||||
* | Disable metafonts when printing document footer. | Kristaps Dzonsons | 2009-11-10 | 1 | -0/+3 |
| | |||||
* | Patch on DragonFly BSD syntax (thanks Sascha Wildner). | Kristaps Dzonsons | 2009-10-31 | 1 | -1/+1 |
| | | | | Noted inclusion into DragonFly BSD (thanks Sascha Wildner). | ||||
* | More lint fixes. | Kristaps Dzonsons | 2009-10-30 | 1 | -1/+0 |
| | | | | Removed err.h from inclusions (less main.c--still in progress). | ||||
* | Removed dynamic allocations of header/footer data. | Kristaps Dzonsons | 2009-10-27 | 1 | -23/+8 |
| | |||||
* | bzero() -> memset() (noted by Joerg Sonnenberger). | Kristaps Dzonsons | 2009-10-27 | 1 | -1/+1 |
| | |||||
* | Full `%U' support. | Kristaps Dzonsons | 2009-10-26 | 1 | -38/+39 |
| | | | | | | | `Lk' display fixed. Renamed arg2xxxx as a2xxxx for consistency. Renamed print_foot to print_man_foot for consistency. Removed default printing of `~' when `Lk' not provided (not sure where I got that from). | ||||
* | Added `%U' to -mdoc (doesn't render in a nice way yet). | Kristaps Dzonsons | 2009-10-24 | 1 | -0/+3 |
| | |||||
* | Fixed maddening mismatch between groff and strftime mismatch of day ("%e"). ↵ | Kristaps Dzonsons | 2009-10-22 | 1 | -9/+3 |
| | | | | Noted by Ulrich Sporlein. | ||||
* | More fixes to scaling-width multipliers (which, just to make my life ↵ | Kristaps Dzonsons | 2009-10-19 | 1 | -3/+3 |
| | | | | difficult, differ not only between -mdoc and -man, but between various invocation, e.g., -offset and -width). | ||||
* | Made sure devices and formats recognise that -man and -mdoc have different ↵ | Kristaps Dzonsons | 2009-10-18 | 1 | -16/+13 |
| | | | | syntax for scaling widths: -mdoc assumes no unit means that the value is a string literal while -man instead uses the default vertical/horizontal scale. | ||||
* | Arbitrary horizontal and vertical scaling widths now handled by -mdoc -Tascii. | Kristaps Dzonsons | 2009-10-18 | 1 | -53/+46 |
| | | | | Terminal scaling backend pushed into term.c. | ||||
* | Added support for `Bd -centered', which appears in newer groffs (not yet ↵ | Kristaps Dzonsons | 2009-10-15 | 1 | -0/+2 |
| | | | | implemented in centre-capable front-ends, i.e., -Thtml). | ||||
* | Moved output definitions into main.h. | Kristaps Dzonsons | 2009-10-13 | 1 | -1/+16 |
| | | | | Pushed terminal_{mdoc,man} into {mdoc,man}_term.c. | ||||
* | Fix hang lists in -Tascii -Tmdoc, which seem to have been broken since ~1.8.x. | Kristaps Dzonsons | 2009-10-10 | 1 | -35/+0 |
| | | | | Noted similarity of HP/TP and -hang/-tag in mandoc.1. | ||||
* | `Bd' literals in -Tascii -mdoc were losing the first line's newline. Fixed. | Kristaps Dzonsons | 2009-10-07 | 1 | -0/+3 |
| | |||||
* | `Fn' does not print empty ftype span. | Kristaps Dzonsons | 2009-10-03 | 1 | -188/+179 |
| | | | | -Tascii `node' and `meta' args in DECL_ARGS renamed to `n' and `m' to be more coherent with -Thtml. | ||||
* | Fixed `Bd' prior vertical space (was ignoring -compact). | Kristaps Dzonsons | 2009-09-26 | 1 | -59/+37 |
| | | | | Fixed effect of embedding macros in `Bd' (was printing all on each line instead of grouping). | ||||
* | -Tascii correctly prints `%T' in `Rs' with quotes. | Kristaps Dzonsons | 2009-09-24 | 1 | -3/+22 |
| | | | | | -Thtml behaves like -Tascii for printing. Printing of `Rs' elements cross-checked with new groff. | ||||
* | Added EBADCHILD error (bad child of parent context). | Kristaps Dzonsons | 2009-09-24 | 1 | -2/+3 |
| | | | | | `Rs' post-checks that all children are proper bibliographic elements. `Rs' correctly re-orders its children as per groff's output (including %C). | ||||
* | Fix in -Tascii where `Lb' causes line-break in any section (should only ↵ | Kristaps Dzonsons | 2009-09-24 | 1 | -4/+0 |
| | | | | | | | happen in LIBRARY). `Fn' first parameter is broken apart into ftype and fname in -Thtml (for correct style application). Fixed \0 special character. | ||||
* | Sync'd example style-sheet to be more like OpenBSD's default (KISS). | Kristaps Dzonsons | 2009-09-24 | 1 | -4/+5 |
| | | | | -Thtml and -Tascii now have equivalent functionality. | ||||
* | Added Bf, Pf, etc. to -Thtml. | Kristaps Dzonsons | 2009-09-24 | 1 | -1/+3 |
| | | | | Fixed Rs in -Tascii to behave properly when not in "SEE ALSO" section. | ||||
* | Many more macros added to -Thtml. | Kristaps Dzonsons | 2009-09-24 | 1 | -0/+1 |
| | | | | Minor space issues fixed in -Tascii. | ||||
* | Fix segfault in -Thtml column lists. | Kristaps Dzonsons | 2009-09-22 | 1 | -2/+2 |
| | | | | | | Added some more UTF-8 chars. mandoc_char.7 now has all special characters rendered. Fixed column layout in -Thtml. | ||||
* | Fix height of hard-breaks in -Thtml. | Kristaps Dzonsons | 2009-09-21 | 1 | -1/+1 |
| | |||||
* | Consolidation of Pp/sp/br/Lp stuff. | Kristaps Dzonsons | 2009-09-21 | 1 | -29/+13 |
| | |||||
* | Headers and footers in -Thtml. Various minor additions. | Kristaps Dzonsons | 2009-09-20 | 1 | -0/+1 |
| | |||||
* | Bl -column in place for -Thtml. | Kristaps Dzonsons | 2009-09-20 | 1 | -1/+1 |
| | |||||
* | Some extra html tags and near-complete Bl: -tag is hopeless (synonym for ↵ | Kristaps Dzonsons | 2009-09-20 | 1 | -0/+1 |
| | | | | -hang, now) and -column is still pending. | ||||
* | Considerable, wide-ranging improvements to the -Thtml output mode (most ↵ | Kristaps Dzonsons | 2009-09-20 | 1 | -1/+2 |
| | | | | especially proper tagging and using `em' instead of `px'). | ||||
* | Hang lists in html (the hard one first). | Kristaps Dzonsons | 2009-09-17 | 1 | -0/+36 |
| | |||||
* | Made tree/term/out() functions return void. | Kristaps Dzonsons | 2009-09-16 | 1 | -51/+44 |
| | | | | Put err() functions back into front-ends (no use making it needlessly complex). | ||||
* | Removed TERMP_BOLD, TERMP_UNDER, TERMP_STYLE in favour of recursive-friendly ↵ | Kristaps Dzonsons | 2009-09-15 | 1 | -262/+63 |
| | | | | | | increments. Cleaned up confusing behaviour of p->flags. | ||||
* | Updated manual structure in mdoc.7. | Kristaps Dzonsons | 2009-08-20 | 1 | -23/+47 |
| | | | | | | Synchronised mdoc.template and mdoc.7 manual structure. `Rv' and `Ex' now accept multiple arguments (-std made standalone, terms as children). `Rv' and `Ex' format correctly in -Tascii (plurals, commas, etc.). | ||||
* | More already-fixed FIXMEs. | Kristaps Dzonsons | 2009-08-19 | 1 | -3/+1 |
| | |||||
* | Moved indentation size into *term.c files. | Kristaps Dzonsons | 2009-08-10 | 1 | -0/+3 |
| | | | | Improved handling of libman `IP' macro (still needs work). | ||||
* | Fixed groff-compat where two `Sh' calls, with the first not having a body, ↵ | Kristaps Dzonsons | 2009-07-29 | 1 | -3/+8 |
| | | | | don't assert vspace between calls. | ||||
* | Moved CALLABLE check to lookup_raw(). | Kristaps Dzonsons | 2009-07-29 | 1 | -1/+4 |
| | | | | | | Made PARSABLE check occur prior to lookup(). Non-PARSEABLE macros no longer warn against having macro-like parameters. Non-CALLABLE macros no longer produce an error, just display their symbols (as in groff) (pointed out by joerg@netbsd.org). | ||||
* | Patches and results of LLVM static analysis (thanks uqs@sporlein.net). | Kristaps Dzonsons | 2009-07-25 | 1 | -0/+1 |
| | |||||
* | Fixed DIAGNOSTIC display (leading double-space only before BODY). | Kristaps Dzonsons | 2009-07-24 | 1 | -1/+2 |
| | |||||
* | Full support for `An -split/-nosplit'. Compat documented. | Kristaps Dzonsons | 2009-07-24 | 1 | -1/+62 |
| | |||||
* | `Bd' printing simplified (now that literal text is preserved). | Kristaps Dzonsons | 2009-07-24 | 1 | -27/+10 |
| |