summaryrefslogtreecommitdiff
path: root/usr.bin/mandoc/mdoc_validate.c
AgeCommit message (Expand)Author
2017-02-06The .Nm macro does not only use the default name when it has noIngo Schwarze
2017-01-11Do text production for .Bt, .Ex, .Rv, .Ud at the validation stageIngo Schwarze
2017-01-10Use new NODE_NOSRC and NODE_NOPRT flags for .Bx and .At.Ingo Schwarze
2017-01-10For the .Ux/.Ox family of macros, do text production at the validationIngo Schwarze
2017-01-10unify names of AST node flags; no change of cpp outputIngo Schwarze
2017-01-10Introduce flags NODE_NOSRC and NODE_NOPRT for AST nodes.Ingo Schwarze
2017-01-08Tolerate bare tabs in SYNOPSIS .Cd for now.Ingo Schwarze
2017-01-08Stricter validation of the NAME section, in particular:Ingo Schwarze
2016-12-28Make the second, section number argument of .Xr mandatory.Ingo Schwarze
2016-10-09Delete complicated code dealing with .Bl -tag without -width,Ingo Schwarze
2016-08-20If a column list starts with implicit rows (that is, rows without .It)Ingo Schwarze
2016-08-11oops, fix stupid typo in previousIngo Schwarze
2016-08-11If a .Bd display is on the one hand doomed to be deleted becauseIngo Schwarze
2016-08-10Don't deref NULL if the only child of the first .Sh is an emptyIngo Schwarze
2016-08-10Don't printf("%s", NULL) if .It has a macro as an argumentIngo Schwarze
2016-08-10When validating a .Bl list that defaults to -item for want of a type,Ingo Schwarze
2016-08-09fix printf("%s", NULL);Ingo Schwarze
2016-01-08Delete the redundant "nchild" member of struct roff_node, replacingIngo Schwarze
2015-10-30If a .Bd block has no arguments at all, drop the block and only keepIngo Schwarze
2015-10-21Move all mdoc(7) node validation done before child parsingIngo Schwarze
2015-10-20In order to become able to generate syntax tree nodes on the roff(7)Ingo Schwarze
2015-10-19style cleanup, no functional changeIngo Schwarze
2015-10-12Delete an assignment that is unconditionally overwritten two lines later;Ingo Schwarze
2015-10-12To make the code more readable, delete 283 /* FALLTHROUGH */ commentsIngo Schwarze
2015-10-06modernize style: "return" is not a function; ok cmp(1)Ingo Schwarze
2015-09-26/* NOTREACHED */ after abort() is silly, delete itIngo Schwarze
2015-09-14Remove the warning about children of .Vt blocks because actually,Ingo Schwarze
2015-04-23Unify mdoc_deroff() and man_deroff() into a common function deroff().Ingo Schwarze
2015-04-20Avoid out-of-bounds read access before the beginning of theIngo Schwarze
2015-04-19Unify some node handling functions that use TOKEN_NONE.Ingo Schwarze
2015-04-19Decouple the token code for "no request or macro" from the individualIngo Schwarze
2015-04-19Unify node handling functions:Ingo Schwarze
2015-04-18Replace the structs mdoc and man by a unified struct roff_man.Ingo Schwarze
2015-04-02Second step towards parser unification:Ingo Schwarze
2015-04-02First step towards parser unification:Ingo Schwarze
2015-02-23oops, in NAME, don't nag about the comma after .NmIngo Schwarze
2015-02-23improve NAME section diagnostics;Ingo Schwarze
2015-02-17Render \(lq and \(rq as '"' in -Tascii mode but leave the renderingIngo Schwarze
2015-02-16clean up post_dt() validation function;Ingo Schwarze
2015-02-14shut up about tabs in SYNOPSIS .Fd lines, there is no good way to avoid themIngo Schwarze
2015-02-12Delete the mdoc_node.pending pointer and the function calculatingIngo Schwarze
2015-02-10trim trailing white space, no code change;Ingo Schwarze
2015-02-06replace the last legacy generic message type, "argument count wrong",Ingo Schwarze
2015-02-06Delete the legacy generic warning type MANDOCERR_ARGCWARN,Ingo Schwarze
2015-02-06better handle .Fo and .Fd without argumentIngo Schwarze
2015-02-06better handle empty .Bd .Bl .D1 .Dl blocksIngo Schwarze
2015-02-06better handle .In .Sh .Ss .St .Xr without argumentsIngo Schwarze
2015-02-05fix handling of empty .An macrosIngo Schwarze
2015-02-04Discard excess head arguments for .Bd .Bl .Bk and delete hwarn_eq0().Ingo Schwarze
2015-02-04improve diagnostics regarding arguments of .An .Pp .Lp .br .spIngo Schwarze