summaryrefslogtreecommitdiffstats
path: root/mdoc_validate.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Added back in MDOC_TEXT stipulation in NAME check (post-Nm punctuation, duh).Kristaps Dzonsons2009-07-121-0/+2
|
* `Nd' is now a BFI (was an ELEM). Noted by joerg@netbsd.org, behaviour ok ↵Kristaps Dzonsons2009-07-121-4/+5
| | | | jmc@openbsd.org, etc.
* Fixed mdoc_nwarn/mdoc_nerr considering themselves err/warn instead of ↵Kristaps Dzonsons2009-07-121-2/+4
| | | | warn/err (BIG mistake). From suggestion by <joerg@netbsd.org>.
* Made `In' handling work in new-groff style (see mdoc.samples).Kristaps Dzonsons2009-07-071-3/+1
|
* Small clean-ups in error message usage.VERSION.1.7.23Kristaps Dzonsons2009-07-071-4/+2
| | | | Version.
* Consolidated all err/warnings into mdoc.c via libmdoc.h.Kristaps Dzonsons2009-07-061-221/+73
|
* Fix in MDOC_IGN_CHARS ref.Kristaps Dzonsons2009-07-061-1/+1
|
* Consolidated mdoc_validate.c pwarn into perr (slowly phasing out per-file ↵Kristaps Dzonsons2009-07-061-109/+83
| | | | pre-formatted error strings).
* Initial removal of enum mdoc_warn from mdoc warnings (unnecessary complication).Kristaps Dzonsons2009-07-061-11/+5
|
* Removed WDEPCOL (schwarze@openbsd.org).Kristaps Dzonsons2009-07-041-5/+0
|
* Moved escape validation into libmandoc.h/mandoc.c (common between ↵Kristaps Dzonsons2009-07-041-4/+6
| | | | | | | libman/libmdoc1). libman supports MAN_IGN_ESCAPE (like MDOC_IGN_ESCAPE). All popular escapes now handled consistently.
* Removed escape-deprecation note (better solution in progress, ↵Kristaps Dzonsons2009-06-271-8/+0
| | | | | | | | schwarze@openbsd.org). Using EXIT_FAILURE for parse errors (nicm@openbsd.org). Fixed use of warn/warnx (nicm@openbsd.org). Fixed use of getsubopt (nicm@openbsd.org).
* Added nchild decrement in libman (not used, but better in than forgotten).Kristaps Dzonsons2009-06-181-17/+2
| | | | Added nchild to libmdoc, deprecated count() functions in validator.
* Lint fixes.Kristaps Dzonsons2009-06-171-3/+2
|
* `Bl -column' now correctly handles tail entries (Bl -column -more... arg0...).Kristaps Dzonsons2009-06-171-17/+31
|
* Cleaned up .Bf validator.Kristaps Dzonsons2009-06-171-18/+13
|
* Section orders are more elegantly handled (MDOC_PBODY is a flag).Kristaps Dzonsons2009-06-171-24/+25
| | | | Cleaned up string->enum conversion for section lookup.
* Noted deprecation of \*( and \* special-character escapes.Kristaps Dzonsons2009-06-171-2/+8
| | | | Minor clean-ups.
* Removed MDOC___: moved MDOC_Ap to its index (comments not passed into mdoc ↵Kristaps Dzonsons2009-06-161-2/+1
| | | | parser).
* `Lk' is correctly handled as CALLABLE (note groff munges nested output).Kristaps Dzonsons2009-06-121-4/+6
| | | | | | | `Mt' is now CALLABLE. Fixed missing validate/action of zero-element, non-called inline elements. Fixed missing validate/action of nested inline element re-calls. Fixed bogus column argv index in validator.
* Clean up validation of field widths.Kristaps Dzonsons2009-06-111-28/+55
| | | | | | Pushed field-width warn/error into warn/error routine. Removed superfluous space at output eoln. Fixed overzealous line break in lists.
* Fixed license email address.Kristaps Dzonsons2009-06-101-1/+1
|
* Version bumped.VERSION.1.7.13Kristaps Dzonsons2009-04-121-1/+1
| | | | `.Er' has more section restrictions (Joerg).
* Using proper license template (const).Kristaps Dzonsons2009-04-121-12/+10
|
* Manual .Dt fields CAPITALISED.Kristaps Dzonsons2009-04-121-2/+17
| | | | | | | | Indent set to 5 chars (nroff compat). Half-indent set to 3 chars (nroff compat). Default behaviour is loose-y (ignore macro/char/escape). Added -fstrict. Added unknown-character ignoring.
* Added -p1003.1-2008 specification.Kristaps Dzonsons2009-04-021-1/+1
| | | | | Fixed invalid memory accesses (concat()). Made -fign-macro be the default for libman.
* General clean-ups.Kristaps Dzonsons2009-03-311-51/+62
|
* Added man validator, renamed mdoc validator.Kristaps Dzonsons2009-03-251-0/+1396