summaryrefslogtreecommitdiffstatshomepage
path: root/mdoc_validate.c
Commit message (Expand)AuthorAgeFilesLines
* Fixed mingw compatibility where the "z" printf() modifier isn'tKristaps Dzonsons2011-08-161-3/+3
* Allow `Sx' and `Ss' to have child nodes. Fixes manuals in NetBSD.Kristaps Dzonsons2011-08-101-35/+42
* Move checking of escapes into roff.c, where we're already steppingKristaps Dzonsons2011-07-261-32/+6
* Scary-looking but otherwise harmless changes allow me to build for Windows.Kristaps Dzonsons2011-07-241-2/+2
* Make `struct roff' be passed into libmdoc and libman upon creation.Kristaps Dzonsons2011-07-181-2/+2
* No code change: fixing spelling errors. From a patch by uqs@. Thanks!Kristaps Dzonsons2011-04-301-2/+2
* Remove the warning for empty bodies of `Sh', `Ss', `SH', and `SS'. ThisKristaps Dzonsons2011-04-131-3/+3
* Remove a2roffdeco() and mandoc_special() functions and replace them withKristaps Dzonsons2011-04-091-12/+20
* Make uname have its return value checked for -1 (POSIX style), notKristaps Dzonsons2011-04-031-2/+2
* libmdoc.h and libman.h were including mdoc.h and man.h, respectively.Kristaps Dzonsons2011-03-221-1/+2
* Consolidate messages. Have all parse-time messages (in libmdoc,Kristaps Dzonsons2011-03-201-11/+11
* Note that mdoc_valids[] is static.Kristaps Dzonsons2011-03-171-2/+2
* Clean-up in libmdoc: fix last checks for mdoc_*msg return value, thenKristaps Dzonsons2011-03-171-8/+7
* Move mdoc_macro2len() into mdoc_validate.c as macro2len(), as that's theKristaps Dzonsons2011-03-171-4/+97
* Move mdoc_str2sec() into mdoc_validate.c as a2sec(), as that's the onlyKristaps Dzonsons2011-03-171-2/+39
* Make lint shut up a little bit.Kristaps Dzonsons2011-03-151-2/+3
* Clean up date handling,Ingo Schwarze2011-03-071-15/+13
* Allow -man to process EQN as well. Also fix a segfault in missing caseKristaps Dzonsons2011-02-091-1/+3
* Add initial libmdoc and libman top-most machinery for accepting TBLKristaps Dzonsons2011-02-061-1/+3
* If `Ns' is specified on its own line, it should be ignored. This isKristaps Dzonsons2011-02-021-2/+13
* Push capitalisation of `Bx' second argument into validator, where it belongs.Kristaps Dzonsons2011-01-251-2/+22
* If %B is specified, quote %T. Noted by schwarze@ in the TODO.Kristaps Dzonsons2011-01-251-3/+3
* Check argument count validation for all in_line() macros.Ingo Schwarze2011-01-221-37/+21
* Partial cleanup of argument count validation in mdoc(7):Ingo Schwarze2011-01-031-66/+68
* Add table processing structures to -mdoc. This consists of anKristaps Dzonsons2011-01-011-4/+17
* Implement schwarze@'s much more elegant version of my %T/%J fix.Kristaps Dzonsons2010-12-251-17/+4
* Specifying both %T and %J in an `Rs' block causes the title to be quotedKristaps Dzonsons2010-12-251-2/+17
* As per schwarze@'s suggestions, roll back the refcount structure inKristaps Dzonsons2010-12-241-79/+59
* At the beginning of .Bl, .Sm is allowed,Ingo Schwarze2010-12-221-4/+6
* Implement reference-counted version of original union mdoc_data. ThisKristaps Dzonsons2010-12-221-75/+77
* Migrate `An' to use a pointer in its data, like everybody else. This isKristaps Dzonsons2010-12-161-5/+8
* Back out last: apparently `Bl', `It', and `Pp' need a little bit moreKristaps Dzonsons2010-12-161-18/+3
* Allow `It' to have a trailing paragraph if the surrounding list is inKristaps Dzonsons2010-12-161-3/+18
* First, make `Pp' (next to `Sm') be allowed as the first element of aKristaps Dzonsons2010-12-161-14/+16
* Add a "last child" member of struct mdoc_node.Kristaps Dzonsons2010-12-151-7/+27
* Allow quote macros (`Op', `Aq', `Bq', `Dq', `Pq', `Ql', `Qq', `Sq', andKristaps Dzonsons2010-12-091-10/+10
* Remove repeat notification of -width omission. From a patch by schwarze@.Kristaps Dzonsons2010-12-051-7/+2
* Remove long-standing FIXME regarding the consolidation of WIDTHARG andKristaps Dzonsons2010-12-051-4/+3
* Merge schwarze@'s patch to allow uname() to fail without causing an exit.Kristaps Dzonsons2010-12-051-4/+7
* Merge schwarze@'s changes allowing nested displays. Tweak the patch byKristaps Dzonsons2010-12-051-11/+7
* Fixed a goddamn subtle error causing MDOC_LITERAL to remain set after aKristaps Dzonsons2010-12-011-2/+2
* Simplify the many if ( ! mdoc_nmsg()) return(0) etc. calls with just theKristaps Dzonsons2010-11-301-169/+158
* Moved all prologue actions from mdoc_action.c into mdoc_validate.c. TheKristaps Dzonsons2010-11-301-75/+295
* Move post_bl() and subfunctions from mdoc_action.c into mdoc_validate.c.Kristaps Dzonsons2010-11-301-1/+156
* Move -column list validation and normal-formisation from mdoc_action.cKristaps Dzonsons2010-11-301-12/+57
* Migrate `Nm' and `Pa' handling from mdoc_action.c into mdoc_validate.c.Kristaps Dzonsons2010-11-291-7/+38
* Remove left-over rsord[] in mdoc_actions.c.Kristaps Dzonsons2010-11-291-11/+74
* Move `Lb' handling from mdoc_action.c into mdoc_validate.c.Kristaps Dzonsons2010-11-291-5/+26
* Move `At' handling from mdoc_action.c into mdoc_validate.c.Kristaps Dzonsons2010-11-291-6/+36
* Move `Sh' validation from mdoc_action.c. into mdoc_validate.c.Kristaps Dzonsons2010-11-291-28/+46