| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Made `rm' be an error (again, OpenBSD...).
|
|
|
|
| |
Rename roff_line() -> roff_line_ignore().
|
|
|
|
| |
as pointed out by kristaps@. Sorry!
|
|
|
|
|
|
|
|
| |
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@
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Remove references to MDOC_ACTED (it was only assertions) and the pre-
and post-action functions.
|
|
|
|
| |
file is now ready for removal.
|
| |
|
|
|
|
| |
into mdoc_validate.c.
|
|
|
|
| |
Document that `Pa' is replaced by a tilde, just like `Mt'.
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
| |
Surprisingly, both functions were doing pretty much the same thing.
Make sure that the changes incorporate the union of both.
|
|
|
|
|
| |
its name. Added some more documentation just for clarity's sake. No
functional change.
|
|
|
|
| |
specified or not.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
|
| |
Otherwise, hyperlinks can't be produced and people will likely
miss the additional information available.
Suggested by deraadt@.
|
| |
|
|
|
|
| |
Prodded by guenther@, ok jmc@.
|
|
|
|
| |
from Ulrich Spoerlein <uqs at spoerlein dot net>
|
|
|
|
| |
done: nested displays
|
| |
|
|
|
|
|
| |
and remove irrelevant stuff regarding tbl
now that it's imported into OpenBSD
|
|
|
|
| |
Making IGNARGV be an ERROR, not a WARNING, as information is lost.
|
| |
|
|
|
|
|
| |
ugly CPP macros in favour of real functions. Enumerate areas of short-
term future cleanup, too.
|
| |
|
|
|
|
| |
out some superfluous stuff.
|
|
|
|
| |
While I'm add it, properly document all structures in these files.
|
|
|
|
|
|
|
|
| |
* 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@
|
|
|
|
|
| |
slow process of logically splitting formatting frontend and parser backend
without pollution.
|
|
|
|
|
|
|
| |
* 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@
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* 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@
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
macros within an unfilled or literal `Bd'.
|
| |
|
|
|
|
| |
specified).
|
| |
|
|
|
|
|
| |
new sentence, new line;
from jmc@
|
|
|
|
|
|
|
|
|
|
| |
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@
|