Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update TODO to note that %A needs "and" before final author and that | Kristaps Dzonsons | 2010-07-27 | 1 | -0/+3 |
| | | | | joerg@ has some tbl(1) patches lying around that need merging. | ||||
* | Removed boot_config.8 breakage, which was fixed by the last commit of | Kristaps Dzonsons | 2010-07-27 | 1 | -11/+0 |
| | | | | `Bd -literal' and `Bd -unfilled' unbreakage. | ||||
* | Fix how `Bd -unfilled' and `Bd -literal' break lines. This unbreaks | Kristaps Dzonsons | 2010-07-27 | 2 | -14/+7 |
| | | | | | displays to work as old groff shows them; however, new groff still does some fancy shit. | ||||
* | `Ad' is supposed to underline. Found whilst trolling through manuals. | Kristaps Dzonsons | 2010-07-26 | 2 | -2/+2 |
| | |||||
* | Make `Sm' start no-spacing after the first output word. Fix in both | Kristaps Dzonsons | 2010-07-26 | 2 | -0/+4 |
| | | | | -T[x]html and -T{pdf,ps,ascii}. Reported by Jason McIntyre. | ||||
* | Clean up some tight spots in mandoc's default mode: pessimistically | Kristaps Dzonsons | 2010-07-26 | 1 | -19/+14 |
| | | | | | pre-allocate the output buffer for words and in-line the buffera() function, which was only called in one place anyway. | ||||
* | Remove asciisz from chars.in. It frees up a nice chunk of memory and at | Kristaps Dzonsons | 2010-07-26 | 2 | -380/+379 |
| | | | | | | the overhead of running strlen() for ASCII strings (yes, I benchmarked this running mandoc_char(7) as input again and again with hundredth-second penalties... on my slow-ass alpha). | ||||
* | Note that `Dd' can be empty. This found following a thread on discuss@ | Kristaps Dzonsons | 2010-07-26 | 3 | -4/+15 |
| | | | | started by Sascha Wildner, 07/25/2010 06:30 AM. | ||||
* | Merge schwarze@'s pass over mdoc.7. Fixed small new-sentence-new-line | Kristaps Dzonsons | 2010-07-26 | 1 | -222/+230 |
| | | | | | | nit noted by Jason McIntyre. "your diff looks ok" (Jason McIntyre) | ||||
* | Fix chars.in fall-through to ASCII mode. This bug only affected | Kristaps Dzonsons | 2010-07-26 | 1 | -6/+6 |
| | | | | -T[x]html. | ||||
* | Note -Tpdf in www. | Kristaps Dzonsons | 2010-07-26 | 1 | -0/+1 |
| | |||||
* | Merge Jason McIntyre's corrections to man.7. | Kristaps Dzonsons | 2010-07-26 | 1 | -24/+21 |
| | | | | "urgle": Jason McIntyre. "This is all ok" schwarze@. | ||||
* | Avoid running the "width" termp callback for each whitespace. | Kristaps Dzonsons | 2010-07-25 | 1 | -3/+3 |
| | |||||
* | Fully-working -Tpdf: xref table is now generated. This works for both | Kristaps Dzonsons | 2010-07-25 | 2 | -17/+48 |
| | | | | single and multiple-manual mode (e.g., mandoc -Tpdf foo.1 bar.1). | ||||
* | Make PDF sections contiguous. | Kristaps Dzonsons | 2010-07-25 | 1 | -63/+51 |
| | |||||
* | Ensure that isalnum is called with unsigned char argument. | Joerg Sonnenberger | 2010-07-25 | 1 | -1/+1 |
| | |||||
* | list two additional issues | Ingo Schwarze | 2010-07-25 | 1 | -0/+17 |
| | |||||
* | Initial PDF shim over PS. This produces working PDF output with -Tpdf. | Kristaps Dzonsons | 2010-07-25 | 5 | -50/+256 |
| | | | | | | | | | | It's currently missing the xref table, so you'll get a warning in most PDF viewers). It also produces lots of redundant output, which will go away once I get a better handle on the PDF spec. The code doesn't really touch any existing functionality; it's a bunch of conditionals atop the -Tps (term_ps.c) implementation. I'm checking it in now to have it exist and be auditable. It needs clean-up, polish, and general care (and xref!). | ||||
* | Collapse `nf', `fi', `Vb', and `Ve' into one function as in man_html.c.VERSION.1.10.5.PREPDF | Kristaps Dzonsons | 2010-07-23 | 1 | -18/+17 |
| | |||||
* | Enable literal contexts (Vb/nf) in -T[x]html -man. This requires that a | Kristaps Dzonsons | 2010-07-23 | 2 | -18/+65 |
| | | | | | | | | 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. | ||||
* | Add support for `Sm' in -T[x]html -mdoc. | Kristaps Dzonsons | 2010-07-23 | 3 | -2/+25 |
| | |||||
* | 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 | 9 | -4/+65 |
| | | | | -Thtml (I'm surprised to note that neither is LITERAL mode). | ||||
* | Start putting in release notes. A record is good because this release | Kristaps Dzonsons | 2010-07-22 | 1 | -0/+18 |
| | | | | will have lots of small, incremental improvements. | ||||
* | Accept "\s0" (i.e., properly ignore it). Found in the wild (e.g., gfdl.7). | Kristaps Dzonsons | 2010-07-22 | 2 | -0/+6 |
| | |||||
* | Bring `sp', `Sp', and `br' behaviour for -man in line with how -mdoc's | Kristaps Dzonsons | 2010-07-22 | 1 | -15/+10 |
| | | | | | is handled: correctly. This removes superfluous line breaks in many -man manuals. | ||||
* | Have `nf' and `fi' flush lines. This is necessary or the LITERAL will | Kristaps Dzonsons | 2010-07-22 | 1 | -0/+2 |
| | | | | | | be meaningless when invoked within a non-flushing context. This based on a formatting bug report submitted by Jonathon Gray (jsg@) via Christian Weisgerber (naddy@). | ||||
* | In the SYNOPSIS, .Nm at the beginning of an input line starts | Ingo Schwarze | 2010-07-21 | 1 | -1/+2 |
| | | | | | | | | | | an .Nm block, and gets special handling (new line, indentation). But .Nm in the middle of a line is just a normal in-line element, so make sure it does NOT get the special handling. Partly fixes the test(1) SYNOPSIS; indentation after "[" is still excessive, which is an unrelated and more difficult issue. Reminded of the problem by jmc@; OK kristaps@. | ||||
* | Accomodate for groff's crappy behaviour wherein an unrecognised | Kristaps Dzonsons | 2010-07-21 | 5 | -10/+22 |
| | | | | | | | | | | | | | single-character escape (and ONLY this type of escape) will map back into itself: "If a backslash is followed by a character that does not constitute a defined escape sequence the backslash is silently ignored and the character maps to itself." (From groff.7.) Found by Jason McIntyre. | ||||
* | Clarified mailing list purposes. | Kristaps Dzonsons | 2010-07-21 | 1 | -2/+2 |
| | |||||
* | Tidy up the www page. | Kristaps Dzonsons | 2010-07-21 | 2 | -92/+51 |
| | |||||
* | Nit-picking assign in decl. | Kristaps Dzonsons | 2010-07-21 | 1 | -1/+3 |
| | |||||
* | Lint-fixes (NetBSD). | Kristaps Dzonsons | 2010-07-21 | 1 | -5/+5 |
| | |||||
* | Finally make mdoc argv CPP-defines into a proper enum. | Kristaps Dzonsons | 2010-07-21 | 3 | -34/+37 |
| | |||||
* | The "wx" value is quite small, so use a u_short instead of a size_t. | Kristaps Dzonsons | 2010-07-21 | 1 | -7/+7 |
| | |||||
* | Strip non-graphable input characters from input. The manuals | Kristaps Dzonsons | 2010-07-20 | 4 | -38/+67 |
| | | | | | | | | | specifically say that this is not allowed, and were it allowed, output would be inconsistent across output media (-Tps will puke, non-your-charset terminals will puke, etc.). With this done, simplify check_text() to only check escapes and for tabs. Add in a new tab warning, too. | ||||
* | Use floating-point -Tps "moveto" arguments to smooth out column and row | Kristaps Dzonsons | 2010-07-20 | 1 | -4/+4 |
| | | | | misalignments. | ||||
* | sync to OpenBSD: | Ingo Schwarze | 2010-07-19 | 1 | -18/+30 |
| | | | | | | | | | * briefly mention the HISTORY of the man(7) language * update the copyright notice * improve the wording in a few places * fix a couple of typos including two suggestions from J.C. Roberts feedback and ok jmc@, ok sobrado@ and kristaps@ | ||||
* | All macros in mdoc.7 are now documented. | Kristaps Dzonsons | 2010-07-19 | 1 | -14/+52 |
| | |||||
* | Finished document -mdoc macros. Note `br' and `sp' remain. | Kristaps Dzonsons | 2010-07-19 | 3 | -6/+124 |
| | | | | | Noted in arch.in and st.in that mdoc.7 must be updated if entries are added. | ||||
* | Added documentation for several more macros. Only a few remaining! | Kristaps Dzonsons | 2010-07-19 | 1 | -109/+170 |
| | | | | | | | | | Applied "new-sentence, new-line" here and there. Refer to "whitespace", not "white-space". Remove long-commented-out CAVEATS, all of which have been addressed or at least discussed to some extent or another. | ||||
* | Remove some FIXMEs: `Ms' accepts arbitrary text, so it can't/shouldn't | Kristaps Dzonsons | 2010-07-19 | 3 | -3/+2 |
| | | | | | | be converted into a symbol. The `Pp' issue has also been fixed. | ||||
* | Fix spurrious newline emitted by `Pp' when specified before or after | Kristaps Dzonsons | 2010-07-19 | 3 | -3/+10 |
| | | | | `Sh'/`Ss'. Reported by Jason McIntyre. | ||||
* | Changed Unicode codepoint of left-arrow right-arrow to be the regular | Kristaps Dzonsons | 2010-07-19 | 1 | -2/+2 |
| | | | | ASCII symbols. | ||||
* | Note discarding of \m, \M, and \s in COMPATIBILITY sections. | Kristaps Dzonsons | 2010-07-19 | 2 | -1/+7 |
| | |||||
* | Remove \s TODO: these are intelligently ignored along with \m and \M. | Kristaps Dzonsons | 2010-07-19 | 1 | -9/+0 |
| | |||||
* | Removed \s documentation, as we (1) never supported it, and (2) never | Kristaps Dzonsons | 2010-07-19 | 2 | -51/+3 |
| | | | | | | will. Also whack the dot-separator from the embedded man.7 manual. | ||||
* | Double-up DECO_RESERVED switch branch for colours. | Kristaps Dzonsons | 2010-07-19 | 1 | -15/+5 |
| | |||||
* | Properly discard \m colour escapes. Noted by J.C. Roberts. | Kristaps Dzonsons | 2010-07-18 | 2 | -3/+16 |
| | |||||
* | Throw out a2roffdeco() in out.c for a readable version. The prior one | Kristaps Dzonsons | 2010-07-18 | 3 | -182/+151 |
| | | | | | | | | | | | | | was completely unmaintainable. The new one is both readable and quite similar to mandoc_special(), which in future versions will easily allow throwing-away of unsupported escapes (such as \m). It's also a fair bit smaller. DECO_SIZE has been removed: this crap, like colours, will not be supported. mandoc_special() also has #if 0'd switch branches for ALL groff.7 escapes and some lint fixes. |