Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed a goddamn subtle error causing MDOC_LITERAL to remain set after a | 2010-12-01 | 1 | -2/+2 | |
| | | | | call to `Dl' or `Bd -literal' or unfilled. | ||||
* | Re-ordering of roff requests as per OpenBSD. | 2010-12-01 | 3 | -7/+17 | |
| | | | | Made `rm' be an error (again, OpenBSD...). | ||||
* | Low-hanging fruit: add OpenBSD's `ad', `hy', `ne', and `nh' handling. | 2010-12-01 | 1 | -5/+13 | |
| | | | | Rename roff_line() -> roff_line_ignore(). | ||||
* | Restore the Id tag that i clobbered in my previous commit, | 2010-11-30 | 1 | -1/+1 | |
| | | | | as pointed out by kristaps@. Sorry! | ||||
* | Merge OpenBSD mdoc.7 rev. 1.56 and 1.57: | 2010-11-30 | 1 | -16/+26 | |
| | | | | | | | | Define the terms "callable" and "parsed" with more precision. Be more specific about what .Xo can be used for. Be more specific about what "historic groff" refers to. Explicitely mention the nine argument limit below COMPATIBILITY. feedback and ok jmc@ | ||||
* | Kill man_action.c. | 2010-11-30 | 5 | -117/+6 | |
| | |||||
* | Move all man_action.c routines into man_validate.c | 2010-11-30 | 2 | -200/+200 | |
| | |||||
* | Simplify the many if ( ! mdoc_nmsg()) return(0) etc. calls with just the | 2010-11-30 | 1 | -169/+158 | |
| | | | | | | | | | | error printing, as this is superseded by exit_status in main.c. Make check_argv() and check_text() return void. Make MDOC_Std test in check_argv() to pre_std(). Re-write post_root() to check more conditions before returning. | ||||
* | mdoc_action.c is no more. Attic it and remove it from the Makefile. | 2010-11-30 | 5 | -239/+8 | |
| | | | | | Remove references to MDOC_ACTED (it was only assertions) and the pre- and post-action functions. | ||||
* | Moved all prologue actions from mdoc_action.c into mdoc_validate.c. The | 2010-11-30 | 2 | -339/+301 | |
| | | | | file is now ready for removal. | ||||
* | Move post_bl() and subfunctions from mdoc_action.c into mdoc_validate.c. | 2010-11-30 | 2 | -154/+159 | |
| | |||||
* | Move -column list validation and normal-formisation from mdoc_action.c | 2010-11-30 | 2 | -69/+58 | |
| | | | | into mdoc_validate.c. | ||||
* | Migrate `Nm' and `Pa' handling from mdoc_action.c into mdoc_validate.c. | 2010-11-29 | 3 | -53/+45 | |
| | | | | Document that `Pa' is replaced by a tilde, just like `Mt'. | ||||
* | Remove left-over rsord[] in mdoc_actions.c. | 2010-11-29 | 4 | -106/+82 | |
| | | | | | | | | | Remove MANDOCERR_BADLIB (not used). Moved `St' handling from mdoc_action.c into mdoc_validate.c. Moved relevant MDOC_LITERAL macros (`Dl', `Bd' subtypes) from mdoc_action.c into mdoc_validate.c. | ||||
* | Move `Lb' handling from mdoc_action.c into mdoc_validate.c. | 2010-11-29 | 2 | -41/+28 | |
| | |||||
* | Move `At' handling from mdoc_action.c into mdoc_validate.c. | 2010-11-29 | 2 | -50/+38 | |
| | |||||
* | Move `Sh' validation from mdoc_action.c. into mdoc_validate.c. | 2010-11-29 | 2 | -88/+48 | |
| | | | | | Surprisingly, both functions were doing pretty much the same thing. Make sure that the changes incorporate the union of both. | ||||
* | Clarifying role of pre_pp (now pre_par), which was confusing me due to | 2010-11-29 | 1 | -8/+10 | |
| | | | | | its name. Added some more documentation just for clarity's sake. No functional change. | ||||
* | Note that `Rv' and `Ex' have different values if a manual name has been | 2010-11-29 | 1 | -1/+5 | |
| | | | | specified or not. | ||||
* | Move `Mt', `Ar', and `Li' handling from mdoc_action.c into mdoc_validate.c. | 2010-11-29 | 6 | -63/+61 | |
| | | | | | | | | 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. | 2010-11-29 | 2 | -103/+106 | |
| | | | | | | 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 | 2010-11-03 | 1 | -1/+14 | |
| | |||||
* | a bunch of small issues collected during p2k10 | 2010-10-29 | 1 | -1/+21 | |
| | |||||
* | Referring to terms explained in other manuals, always use .Xr. | 2010-10-29 | 1 | -4/+4 | |
| | | | | | | 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@. | 2010-10-29 | 1 | -4/+3 | |
| | |||||
* | When mentioning a function documented elsewhere, .Xr is often better than .Fn. | 2010-10-24 | 1 | -2/+5 | |
| | | | | Prodded by guenther@, ok jmc@. | ||||
* | let .Bsx print just "BSD/OS" like in modern groff | 2010-10-23 | 2 | -4/+4 | |
| | | | | from Ulrich Spoerlein <uqs at spoerlein dot net> | ||||
* | new: escape sequence handling | 2010-10-23 | 1 | -4/+8 | |
| | | | | done: nested displays | ||||
* | two new TODOs based on submissions by Ulrich Spoerlein | 2010-10-19 | 1 | -1/+14 | |
| | |||||
* | dream about .de support, | 2010-10-17 | 1 | -6/+19 | |
| | | | | | and remove irrelevant stuff regarding tbl now that it's imported into OpenBSD | ||||
* | Use proper error for `An' multiple arguments. | 2010-10-11 | 3 | -9/+10 | |
| | | | | Making IGNARGV be an ERROR, not a WARNING, as information is lost. | ||||
* | Quiesce Linux header-inclusion warnings. | 2010-10-11 | 2 | -2/+4 | |
| | |||||
* | Initial commit of cleaned-up validation code for -mdoc. Remove those | 2010-10-11 | 1 | -82/+124 | |
| | | | | | 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'. | 2010-10-10 | 3 | -7/+17 | |
| | |||||
* | Cleaned up library manuals: removed old escapes, added EXAMPLES, stripped | 2010-10-10 | 3 | -91/+30 | |
| | | | | out some superfluous stuff. | ||||
* | Revert merging of {mdoc,man}.h -> mandoc.h. | 2010-10-04 | 3 | -418/+509 | |
| | | | | While I'm add it, properly document all structures in these files. | ||||
* | style cleanup, no functional change: | 2010-10-02 | 1 | -23/+15 | |
| | | | | | | | | * 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 | 2010-10-02 | 3 | -419/+403 | |
| | | | | | 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 | 2010-10-01 | 6 | -31/+19 | |
| | | | | | | | * 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. | 2010-10-01 | 1 | -1/+2 | |
| | |||||
* | Merge from OpenBSD right after 1.10.6; now back to full sync. | 2010-09-27 | 4 | -14/+10 | |
| | | | | | | | | | | * 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. | 2010-09-27 | 1 | -1/+5 | |
| | |||||
* | A minor issue with \& between .Pp found while merging 1.10.6. | 2010-09-27 | 1 | -1/+5 | |
| | |||||
* | Prepping for version.VERSION_1_10_6 | 2010-09-27 | 2 | -3/+18 | |
| | |||||
* | Consider both `Lp' and `Pp' when stripping prior paragraph marks. | 2010-09-27 | 1 | -2/+7 | |
| | |||||
* | Suppress whitespace following Pp, Lp, sp, and the other newline-emitting | 2010-09-27 | 4 | -8/+46 | |
| | | | | macros within an unfilled or literal `Bd'. | ||||
* | Remove finished TODO. | 2010-09-27 | 1 | -3/+1 | |
| | |||||
* | Ignore double-`Pp' and `Pp' before `Bd' and `Bl' (unless -compact is | 2010-09-27 | 4 | -11/+29 | |
| | | | | specified). | ||||
* | Added MIPS64. From a patch by Jason McIntyre. | 2010-09-27 | 2 | -3/+5 | |
| | |||||
* | sync to OpenBSD: | 2010-09-26 | 1 | -4/+4 | |
| | | | | | new sentence, new line; from jmc@ |