Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Note that `Rv' and `Ex' have different values if a manual name has been | Kristaps Dzonsons | 2010-11-29 | 1 | -0/+4 |
| | | | | specified or not. | ||||
* | Move `Mt', `Ar', and `Li' handling from mdoc_action.c into mdoc_validate.c. | Kristaps Dzonsons | 2010-11-29 | 6 | -56/+54 |
| | | | | | | | | Clarify that `Mt' gets a default `~' (as per groff 1.20) and document it in mdoc.7. Made `Lk' be removed in mdoc_macro.c if it has no arguments. This fixes segfaults in mdoc_{term,html}.c that nobody's managed to raise yet. | ||||
* | Migrate action for `Rs' into mdoc_validate.c. | Kristaps Dzonsons | 2010-11-29 | 2 | -101/+104 |
| | | | | | | Remove superfluous in-line order_rs function. Merge `Rs' validations {BLOCK, BODY} -> {BODY}. Make invalid children of `Rs' raise an error but otherwise be allowed. | ||||
* | new: parametric .de, and header lines of excessive length | Ingo Schwarze | 2010-11-03 | 1 | -0/+13 |
| | |||||
* | a bunch of small issues collected during p2k10 | Ingo Schwarze | 2010-10-29 | 1 | -0/+20 |
| | |||||
* | Referring to terms explained in other manuals, always use .Xr. | Ingo Schwarze | 2010-10-29 | 1 | -2/+2 |
| | | | | | | Otherwise, hyperlinks can't be produced and people will likely miss the additional information available. Suggested by deraadt@. | ||||
* | Remove a left-over ".Xr groff 1"; patch from jmc@. | Ingo Schwarze | 2010-10-29 | 1 | -2/+1 |
| | |||||
* | When mentioning a function documented elsewhere, .Xr is often better than .Fn. | Ingo Schwarze | 2010-10-24 | 1 | -0/+3 |
| | | | | Prodded by guenther@, ok jmc@. | ||||
* | let .Bsx print just "BSD/OS" like in modern groff | Ingo Schwarze | 2010-10-23 | 2 | -2/+2 |
| | | | | from Ulrich Spoerlein <uqs at spoerlein dot net> | ||||
* | new: escape sequence handling | Ingo Schwarze | 2010-10-23 | 1 | -3/+7 |
| | | | | done: nested displays | ||||
* | two new TODOs based on submissions by Ulrich Spoerlein | Ingo Schwarze | 2010-10-19 | 1 | -0/+13 |
| | |||||
* | dream about .de support, | Ingo Schwarze | 2010-10-17 | 1 | -5/+18 |
| | | | | | and remove irrelevant stuff regarding tbl now that it's imported into OpenBSD | ||||
* | Use proper error for `An' multiple arguments. | Kristaps Dzonsons | 2010-10-11 | 3 | -6/+7 |
| | | | | Making IGNARGV be an ERROR, not a WARNING, as information is lost. | ||||
* | Quiesce Linux header-inclusion warnings. | Kristaps Dzonsons | 2010-10-11 | 2 | -0/+2 |
| | |||||
* | Initial commit of cleaned-up validation code for -mdoc. Remove those | Kristaps Dzonsons | 2010-10-11 | 1 | -81/+123 |
| | | | | | ugly CPP macros in favour of real functions. Enumerate areas of short- term future cleanup, too. | ||||
* | `Sm' no longer produces a linebreak when used in `Bd'. | Kristaps Dzonsons | 2010-10-10 | 3 | -4/+14 |
| | |||||
* | Cleaned up library manuals: removed old escapes, added EXAMPLES, stripped | Kristaps Dzonsons | 2010-10-10 | 3 | -87/+26 |
| | | | | out some superfluous stuff. | ||||
* | Revert merging of {mdoc,man}.h -> mandoc.h. | Kristaps Dzonsons | 2010-10-04 | 3 | -415/+506 |
| | | | | While I'm add it, properly document all structures in these files. | ||||
* | style cleanup, no functional change: | Ingo Schwarze | 2010-10-02 | 1 | -22/+14 |
| | | | | | | | | * make the initial maxvis/mmax calculation easier to understand * where real, non-indexing casts happen, make them explicit * avoid a few lint warnings that can easily be fixed * remove one needless LINTED comment "I like this" kristaps@ | ||||
* | Unify mdoc and man enums and structs into mandoc.h. This is part of the | Kristaps Dzonsons | 2010-10-02 | 3 | -416/+400 |
| | | | | | slow process of logically splitting formatting frontend and parser backend without pollution. | ||||
* | * need a space before .No even if it starts with a closing delimiter | Ingo Schwarze | 2010-10-01 | 6 | -25/+13 |
| | | | | | | | * slightly simplify .Pf *_IGNDELIM code, and share part of it with .No * do not let opening delimiters fall out of the front of .Ns (from kristaps@) This fixes a few spacing issues in csh(1) and ksh(1). OK kristaps@ | ||||
* | Fix small regression where `Op' had an extra space between the "[" and the SPAN. | Kristaps Dzonsons | 2010-10-01 | 1 | -0/+1 |
| | |||||
* | Merge from OpenBSD right after 1.10.6; now back to full sync. | Ingo Schwarze | 2010-09-27 | 4 | -10/+6 |
| | | | | | | | | | | * mdoc.c: blank lines outside literal mode are more similar to .sp than .Pp * backslashes do not terminate macros; partial revert of mdoc.c 1.164; the intention of that commit is fully achieved in roff.c * mdoc_term.c: no need to list the same prototype twice * mdoc_validate.c: drop .Pp before .sp just like .Pp before .Pp * fix off-by-one found by jsg@ with parfait, OpenBSD term_ps.c 1.12 ok kristaps@ | ||||
* | Added TODO for more `Pp' warnings. | Kristaps Dzonsons | 2010-09-27 | 1 | -0/+4 |
| | |||||
* | A minor issue with \& between .Pp found while merging 1.10.6. | Ingo Schwarze | 2010-09-27 | 1 | -0/+4 |
| | |||||
* | Prepping for version.VERSION.1.10.6 | Kristaps Dzonsons | 2010-09-27 | 2 | -2/+17 |
| | |||||
* | Consider both `Lp' and `Pp' when stripping prior paragraph marks. | Kristaps Dzonsons | 2010-09-27 | 1 | -1/+6 |
| | |||||
* | Suppress whitespace following Pp, Lp, sp, and the other newline-emitting | Kristaps Dzonsons | 2010-09-27 | 4 | -4/+42 |
| | | | | macros within an unfilled or literal `Bd'. | ||||
* | Remove finished TODO. | Kristaps Dzonsons | 2010-09-27 | 1 | -2/+0 |
| | |||||
* | Ignore double-`Pp' and `Pp' before `Bd' and `Bl' (unless -compact is | Kristaps Dzonsons | 2010-09-27 | 4 | -7/+25 |
| | | | | specified). | ||||
* | Added MIPS64. From a patch by Jason McIntyre. | Kristaps Dzonsons | 2010-09-27 | 2 | -0/+2 |
| | |||||
* | sync to OpenBSD: | Ingo Schwarze | 2010-09-26 | 1 | -2/+2 |
| | | | | | new sentence, new line; from jmc@ | ||||
* | If an explicit scope is still open at the end of an input file, | Ingo Schwarze | 2010-09-26 | 3 | -12/+6 |
| | | | | | | | | | | report an ERROR: We can still render the page by just closing the open scope, but it is likely that information will be missing or document structure mangled. Before, man(7) only reported a WARNING (which is dangerous because we cannot be sure rendering is correct) and mdoc(7) ran into FATAL (which is too drastic, there is no reason not to show what we have). "looks good" kristaps@ | ||||
* | sync to OpenBSD: | Ingo Schwarze | 2010-09-26 | 2 | -3/+8 |
| | | | | | | note that IMPLEMENTATION NOTES is not used in OpenBSD add missing comma in "sections 1, 6, & 8 only" below EXIT STATUS below SEE ALSO, add an .Xr to man(1), and from man(7) to mdoc(7) | ||||
* | Consolidated all -T[x]html punctuation macros into one function. | Kristaps Dzonsons | 2010-09-26 | 1 | -213/+142 |
| | |||||
* | Linted function arguments. | Kristaps Dzonsons | 2010-09-26 | 1 | -0/+2 |
| | |||||
* | Big clean-up consolidating all punctuation opening/closing functions into | Kristaps Dzonsons | 2010-09-26 | 1 | -225/+117 |
| | | | | | | | | | a single one. This makes code auditing easier and cuts down on bytesize. I also removed some NOSPACE clauses that were handled implicitly by the punctuation itself, e.g., a NOSPACE prior to printing ')', which in term.c has its leading whitespace automatically suppressed. | ||||
* | Remove fixed TODO and add a new one. | Kristaps Dzonsons | 2010-09-25 | 1 | -4/+1 |
| | |||||
* | A `%T' invoked outside of `Rs' should not produce trailing punctuation. | Kristaps Dzonsons | 2010-09-25 | 3 | -6/+6 |
| | | | | | This from a TODO entry. Also stripped the superfluous NOSPACE, which is handled in term_word() or print_text() anyway. | ||||
* | Add `Rs' vertical-space in -T[x]html "SEE ALSO" section. Remove | Kristaps Dzonsons | 2010-09-25 | 3 | -9/+8 |
| | | | | | | corresponding TODO entry. Also have the "." after an `Rs' block trigger inter-sentence spacing. | ||||
* | Removed TODO that was fixed by parsing escapes in offset strings. | Kristaps Dzonsons | 2010-09-25 | 1 | -4/+0 |
| | |||||
* | When the HEAD of an .Nm block in the SYNOPSIS might be wider | Ingo Schwarze | 2010-09-23 | 1 | -6/+12 |
| | | | | | | | | | | | than the column containing it, the TERMP_HANG flag is required, but avoid the flag when we know that the HEAD is shorter, because in that case, the flag might ruin the alignment. Problem originally reported by jmc@, who also spotted a regression in an earlier version of this patch. "feel free to commit" kristaps@ | ||||
* | Count trailing escaped blanks correctly; | Ingo Schwarze | 2010-09-23 | 1 | -2/+4 |
| | | | | | those ruined the alignment of columns. Tested by jmc@, and kristaps@ agrees with the direction. | ||||
* | enclosures sometimes cause bogus end-of-sentence | Ingo Schwarze | 2010-09-23 | 1 | -0/+3 |
| | |||||
* | Allow string lengths to account for escapes. Now all calls to calculate | Kristaps Dzonsons | 2010-09-15 | 3 | -11/+46 |
| | | | | | | | | | | | | | | | | | | | | | column width in -Tascii, -Tpdf, and -Tps will account for "more real" string lengths. Example: .Bl -tag -width \s[+123424]foo .It bar baz .El The size escape will be correctly tossed. .Bl -tag -width \(aqbar .It \(aqbar baz .El The \(aq will be correctly handled. | ||||
* | Remove last pod2man escapes. These render ok, although \*(-- renders as | Kristaps Dzonsons | 2010-09-15 | 3 | -21/+3 |
| | | | | | | O- because the underlying macro depends on \(*W, which a prior pod2man preamble `tr' macro rewrites as "-". This is an error in groff as this tramples on the real \(*W, or Greek omega. | ||||
* | Prevent .Lp from looping endlessly on punctuation. | Ingo Schwarze | 2010-09-13 | 1 | -1/+1 |
| | | | | Same fix as the previous one. | ||||
* | Prevent `Pp' from looping endlessly on punctuation. Bug reported by | Kristaps Dzonsons | 2010-09-13 | 1 | -1/+1 |
| | | | | Marc Espie. | ||||
* | Found nit in -T[x]html. | Kristaps Dzonsons | 2010-09-08 | 1 | -0/+2 |
| | |||||
* | Churny commit to quiet lint. No functional changes. | Kristaps Dzonsons | 2010-09-04 | 9 | -22/+23 |
| |