summaryrefslogtreecommitdiff
path: root/usr.bin/mandoc/man_macro.c
AgeCommit message (Expand)Author
2016-01-08Delete the redundant "nchild" member of struct roff_node, replacingIngo Schwarze
2015-10-22move man(7) validation into the dedicated validation phase, tooIngo 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-04Fill mode changes don't break next-line scope in all cases,Ingo Schwarze
2015-04-23Get rid of two empty wrapper functions. No functional change.Ingo Schwarze
2015-04-19Unify trickier node handling functions.Ingo Schwarze
2015-04-19Unify some node handling functions that use TOKEN_NONE.Ingo 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-03Vastly simplify man(7) block unwinding, similar to mdoc_macro.c 1.171.Ingo Schwarze
2015-04-03It turns out the man(7) parser suffers from unintelligible handlingIngo Schwarze
2015-04-02Second step towards parser unification:Ingo Schwarze
2015-04-02First step towards parser unification:Ingo Schwarze
2015-03-20The .PD macro can occur in next-line scope. Fixes zshmisc(1).Ingo Schwarze
2015-03-20Simplify by almost halving the number of macro flags:Ingo Schwarze
2015-02-06better error reporting regarding .OP .RS .UR .TH argumentsIngo Schwarze
2015-02-06better diagnostics about excess arguments to .PD .ft .spIngo Schwarze
2015-02-06better error reporting for .br .fi .nf with argumentsIngo Schwarze
2015-01-24preserve .PP before .RE; effect found in audio/pms(1)Ingo Schwarze
2015-01-24Strangely, ignoring the roff(7) .na request was implemented in the man(7)Ingo Schwarze
2015-01-24Support .RE with an argument; needed for audio/pms(1).Ingo Schwarze
2014-12-16Explicit block closure macros clobber next-line block head scope,Ingo Schwarze
2014-11-28Simplify by making many functions in the man(7) parser void,Ingo Schwarze
2014-11-03Allow the five man(7) font macros to concatenate their line arguments,Ingo Schwarze
2014-08-18When the first child of the node being validated gets deleted duringIngo Schwarze
2014-08-08Improve handling of next-line scope broken by end of file.Ingo Schwarze
2014-08-08Simplify: replace one global flag by one local variableIngo Schwarze
2014-07-09delete forgotten, obsolete rew_warn() prototypeIngo Schwarze
2014-07-07Clean up ERROR messages related to document structure and macros:Ingo Schwarze
2014-07-07Simplify man_unscope(), removing 18 lines of code, that is,Ingo Schwarze
2014-04-20KNF: case (FOO): -> case FOO, remove /* LINTED */ and /* ARGSUSED */,Ingo Schwarze
2014-03-30Implement the roff(7) .ll (line length) request.Ingo Schwarze
2013-12-30Simplify: Remove an unused argument from the mandoc_eos() function.Ingo Schwarze
2013-12-25s/[Nn]ull/NUL/ in comments where appropriate;Ingo Schwarze
2013-12-22Implement end-of-sentence spacing at the end of man(7) macro lines.Ingo Schwarze
2013-11-11In the parser, when closing an explicit block that is not open,Ingo Schwarze
2013-10-17Implement the .UR/.UE block (uniform resource identifier) introduced in theIngo Schwarze
2012-11-17Cleanup naming of local variables to make the code easier on the eye:Ingo Schwarze
2012-07-07Fix an assert() raised by `RS' when following `TP' without a tag.Ingo Schwarze
2012-06-03Close a preceding implicit block before opening an explicit block.Ingo Schwarze
2012-06-02Minimal implementation of .EX and .EE for GNU compatibility.Ingo Schwarze
2012-02-26Support .OP, one of the extended man macros; from kristaps@.Ingo Schwarze
2011-12-04When a man document contains nothing at all except one or more invalidIngo Schwarze
2011-11-05When the HEAD scope of .TP is broken by another block macro,Ingo Schwarze
2011-07-07Set the default way to append the next node (sibling) before, not afterIngo Schwarze
2011-07-05Sync to bsd.lv (all coded by kristaps@):Ingo Schwarze
2011-04-24Merge version 1.11.1:Ingo Schwarze
2011-04-21Merge version 1.10.10:Ingo Schwarze
2011-01-16Some improvements to error handling from kristaps@:Ingo Schwarze