summaryrefslogtreecommitdiffstats
path: root/mdoc_validate.c
Commit message (Expand)AuthorAgeFilesLines
* Move `Mt', `Ar', and `Li' handling from mdoc_action.c into mdoc_validate.c.Kristaps Dzonsons2010-11-291-4/+46
* Migrate action for `Rs' into mdoc_validate.c.Kristaps Dzonsons2010-11-291-34/+103
* Use proper error for `An' multiple arguments.Kristaps Dzonsons2010-10-111-4/+5
* Initial commit of cleaned-up validation code for -mdoc. Remove thoseKristaps Dzonsons2010-10-111-81/+123
* Merge from OpenBSD right after 1.10.6; now back to full sync.Ingo Schwarze2010-09-271-1/+1
* Consider both `Lp' and `Pp' when stripping prior paragraph marks.Kristaps Dzonsons2010-09-271-1/+6
* Ignore double-`Pp' and `Pp' before `Bd' and `Bl' (unless -compact isKristaps Dzonsons2010-09-271-3/+23
* Made -mdoc `Pp', `Lp', and `br' not FATAL when having arguments.Kristaps Dzonsons2010-08-291-3/+3
* Implement a simple, consistent user interface for error handling.Ingo Schwarze2010-08-201-6/+2
* Note that `Dd' can be empty. This found following a thread on discuss@Kristaps Dzonsons2010-07-261-1/+1
* Finally make mdoc argv CPP-defines into a proper enum.Kristaps Dzonsons2010-07-211-1/+3
* Strip non-graphable input characters from input. The manualsKristaps Dzonsons2010-07-201-19/+19
* Remove some FIXMEs: `Ms' accepts arbitrary text, so it can't/shouldn'tKristaps Dzonsons2010-07-191-1/+0
* correct lots of copyright notices;Ingo Schwarze2010-07-131-1/+1
* Cache column sizes and char pointer into mdoc_bl. Finally get rid ofKristaps Dzonsons2010-07-041-14/+11
* Not only for -tag lists, but for -hang, -ohang, -inset, -diag,Ingo Schwarze2010-07-021-6/+3
* Cached `An' arguments in struct mdoc_an. Note that this isn't aKristaps Dzonsons2010-07-021-14/+19
* Fix: was checking HEAD for arguments.Kristaps Dzonsons2010-07-021-4/+6
* Stash `Bf' parameters into struct mdoc_bf.Kristaps Dzonsons2010-07-021-22/+56
* Make struct_bl and struct_bd into pointers. This removes the need to doKristaps Dzonsons2010-07-011-52/+65
* Prevent validator from puking on ENDBODY `Bl' nodes.Kristaps Dzonsons2010-07-011-0/+2
* Notes: this must be done later. \b in the input will cause havoc.Kristaps Dzonsons2010-06-281-0/+5
* minor .Bk fixes:Ingo Schwarze2010-06-271-3/+3
* Allow registers to be unset. Implement and document the `.nr nS val'.Kristaps Dzonsons2010-06-271-0/+2
* Allow -width for lists to be cached in mdoc_bl. This requires someKristaps Dzonsons2010-06-131-11/+13
* Cached `Bl -offset' into mdoc_bl. Removed erroneous "-offset defaultsKristaps Dzonsons2010-06-121-6/+15
* Moved `Bl -compact' into cached data. This allowed the removal ofKristaps Dzonsons2010-06-121-12/+13
* `Bl' is now using a struct instead of a single enum mdoc_list for itsKristaps Dzonsons2010-06-121-12/+13
* Removed stipulation that an empty `Bd -offset' will default to 6n. NotKristaps Dzonsons2010-06-121-17/+2
* Cache all of `Bd's resolved arguments into mdoc_bd, which is stashed inKristaps Dzonsons2010-06-121-12/+59
* Added enum mdoc_disp (similar to enum mdoc_list). Display types are nowKristaps Dzonsons2010-06-121-20/+42
* Squash bug noted by Ulrich Spoerlein where "-" were being converted toKristaps Dzonsons2010-06-091-10/+7
* Consolidated list processing to a single loop in mdoc_validate.c. ThisKristaps Dzonsons2010-06-031-63/+105
* Cleanup post_bl_head() to use enum mdoc_list (avoid traversing thatKristaps Dzonsons2010-05-311-10/+13
* Clean up the validation code for `It' macros: use enum mdoc_listKristaps Dzonsons2010-05-311-71/+39
* Remove enum mdocargerr from phrase() (unused).Kristaps Dzonsons2010-05-311-0/+1
* Migrate `Bl -column' phrases to be MDOC_BODY instead of MDOC_HEAD. ThisKristaps Dzonsons2010-05-301-7/+9
* Make check for case a little more intuitive (suggested by joerg@).Kristaps Dzonsons2010-05-301-3/+1
* Made `Dt' default to LOCAL and UNKNOWN instead of local and unknown (note case).Kristaps Dzonsons2010-05-301-3/+24
* Documented `Ud'.Kristaps Dzonsons2010-05-261-5/+16
* Fixed `Lb' to be in_line (reported by Ulrich Spoerlein).Kristaps Dzonsons2010-05-261-2/+1
* Smarten BADCHAR check to allow ASCII_HYPH.Kristaps Dzonsons2010-05-251-1/+1
* Lifted 64-byte max width for Sh (now BUFSIZ).Kristaps Dzonsons2010-05-241-3/+4
* Increase performance by stashing the list type in struct mdoc_node.Kristaps Dzonsons2010-05-171-18/+10
* Enable the unified error/warning enumeration in mandoc.h that'sKristaps Dzonsons2010-05-171-98/+148
* LIBRARY can also occur in section 9.Kristaps Dzonsons2010-05-151-9/+8
* Remove in-manual-section warnings for Fd and Lb (ok joerg@, schwarze@).Kristaps Dzonsons2010-05-141-47/+3
* Backed out check for `Ex' manual sec (ok schwarze@, joerg@), in turn backing ...Kristaps Dzonsons2010-05-141-35/+1
* "Warn on unknown argument for .At and print it like [new] groff." (patch by J...Kristaps Dzonsons2010-05-141-1/+1
* "Invalid standard argument should be a warning. Just leak it into theKristaps Dzonsons2010-05-141-1/+1