summaryrefslogtreecommitdiffstats
path: root/man_validate.c
Commit message (Collapse)AuthorAgeFilesLines
* Added `DT' macro (pointed out by joerg@netbsd.org).Kristaps Dzonsons2009-08-201-1/+2
|
* libman checks for open explicit scopes on exit.Kristaps Dzonsons2009-08-191-2/+0
|
* Added RS/RE macro pair (had to adjust closing rules, sec/ssec/rs/par).Kristaps Dzonsons2009-08-191-0/+4
|
* Fixed missing check for open ELINE scope in BLINE macro.Kristaps Dzonsons2009-08-181-6/+8
|
* Significant overhaul in libman. Macros are now block- and line-scoped (withKristaps Dzonsons2009-08-131-58/+159
| | | | | | | | next-line scope extensions possible). man.7 reflects block and line scoping, and also includes a REFERENCE section that will be used as a template for the big mdoc reference. Many fixes in next-line behaviour for both inline and block macros. Added some macros for compatibility (from me.7). Corrected quoted-literal handling for libman.
* Added `sp' support to libman.Kristaps Dzonsons2009-07-241-4/+39
| | | | Added `\c' to known escapes (only used in man, but still).
* Moved escape validation into libmandoc.h/mandoc.c (common between ↵Kristaps Dzonsons2009-07-041-2/+17
| | | | | | | libman/libmdoc1). libman supports MAN_IGN_ESCAPE (like MDOC_IGN_ESCAPE). All popular escapes now handled consistently.
* libman documents require `TH' and at least one node.Kristaps Dzonsons2009-06-221-2/+15
| | | | | libman requirements documented in man.7 STRUCTURE section. Added STRUCTURE section to mdoc.7, too.
* Reverted max column width 80 -> 78 (schwarze@openbsd.org).Kristaps Dzonsons2009-06-221-0/+1
|
* Moved all formatted libman warn/error into man.c/libman.h.Kristaps Dzonsons2009-06-181-28/+2
| | | | Converted all formatted warn/errors into regular syntax.
* Added -fno-ign-chars support to libman.Kristaps Dzonsons2009-06-181-14/+47
| | | | | | | man_validate.c checks for non-tab/isprint words. libman hashtable fixed (was ignoring .br). Added ncount field to man_node, deprecating count() functions. Documented use of tabs in man.7.
* Removed MAN___: moved MAN_br to its index (comments not passed into parser).Kristaps Dzonsons2009-06-161-2/+1
| | | | Fix: hashtable not fully formed after removal of MDOC___.
* Fixed license email address.Kristaps Dzonsons2009-06-101-1/+1
|
* Using proper license template (const).Kristaps Dzonsons2009-04-121-12/+10
|
* man(3) doesn't use err.h anymore.Kristaps Dzonsons2009-04-051-0/+1
| | | | | | | | Added .i to man(3). Fixed up manuals. Fixed up webpage. Assertion fixes in man(3) (hashtable). Fixed assertion for .IP in mandoc -man.
* mdoc_tokhash -> hashKristaps Dzonsons2009-04-021-0/+1
| | | | Initial man hashtab (BROKEN).
* Added some new manuals (mdoc.3 mandoc_char.7).Kristaps Dzonsons2009-03-271-0/+1
| | | | Support for .br in libman.
* Initial front-end formatting for -man pages.Kristaps Dzonsons2009-03-261-2/+3
|
* Fixed reading whitespace for man.7 `. TH'.Kristaps Dzonsons2009-03-261-3/+3
| | | | Documented this.
* *** empty log message ***Kristaps Dzonsons2009-03-251-1/+0
|
* Added man validator, renamed mdoc validator.Kristaps Dzonsons2009-03-251-0/+134