summaryrefslogtreecommitdiffstats
path: root/libmdoc.h
Commit message (Collapse)AuthorAgeFilesLines
* Lookup hashes are now static tables, ordered first-level by second ↵Kristaps Dzonsons2009-09-161-4/+2
| | | | character, then randomly along a chain. Improves performance by a small fraction and considerably cleans up hash sources.
* Documented ARGS_ handling in args().Kristaps Dzonsons2009-08-201-3/+3
|
* Delimiter whitespace is correctly flagged (required some special handling).Kristaps Dzonsons2009-08-201-2/+4
|
* In-line documentation of mdoc_macro file.Kristaps Dzonsons2009-08-191-1/+1
| | | | Moved _NEXT_ macros into _alloc_ routines (where they belong).
* libmdoc accepts whitespace following control character.VERSION.1.9.0Kristaps Dzonsons2009-08-181-1/+0
|
* Moved CALLABLE check to lookup_raw().Kristaps Dzonsons2009-07-291-2/+0
| | | | | | Made PARSABLE check occur prior to lookup(). Non-PARSEABLE macros no longer warn against having macro-like parameters. Non-CALLABLE macros no longer produce an error, just display their symbols (as in groff) (pointed out by joerg@netbsd.org).
* Replaced ugly TABSEP handling with simpler routine.Kristaps Dzonsons2009-07-201-1/+0
|
* Fixed and cleaned up "phrase" handling (`Bl -column' columns).Kristaps Dzonsons2009-07-191-0/+2
| | | | Found strange newline bug in -diag handling (and others?).
* Removed EARGVPARM (superfluous, overly error-generating).Kristaps Dzonsons2009-07-171-1/+0
| | | | Added `sp' handler.
* Replacement of `Lb' in mdoc_action.c.Kristaps Dzonsons2009-07-121-0/+2
| | | | | | Added warning against bogus `Lb' (like groff does). Added proper quotes around `Lb' in mdoc_term.c. Moved mdoc_a2lib -> libmdoc (where it belongs).
* Moved mdoc_a2st() out of mdoc.h -> libmdoc.h (replacement in mdoc_action.c).Kristaps Dzonsons2009-07-121-0/+1
| | | | Made bad standards into an error (were a warning).
* Moved mdoc_a2att() into libmdoc (replacement happens in mdoc_action.c).Kristaps Dzonsons2009-07-121-0/+1
|
* Fixed mdoc_nwarn/mdoc_nerr considering themselves err/warn instead of ↵Kristaps Dzonsons2009-07-121-2/+2
| | | | warn/err (BIG mistake). From suggestion by <joerg@netbsd.org>.
* Tabularised error-code lookup in mdoc.c.Kristaps Dzonsons2009-07-071-8/+8
|
* Consolidated all err/warnings into mdoc.c via libmdoc.h.Kristaps Dzonsons2009-07-061-11/+70
|
* Initial removal of enum mdoc_warn from mdoc warnings (unnecessary complication).Kristaps Dzonsons2009-07-061-7/+4
|
* Section orders are more elegantly handled (MDOC_PBODY is a flag).Kristaps Dzonsons2009-06-171-2/+3
| | | | Cleaned up string->enum conversion for section lookup.
* Deprecated mdoc_msg (not being used anywhere).Kristaps Dzonsons2009-06-151-5/+1
|
* Removed mdoc_nwarn (not being used anywhere).Kristaps Dzonsons2009-06-151-2/+0
|
* mdoc error/warn macros replaced with real functions for GCC2 support ↵Kristaps Dzonsons2009-06-151-32/+15
| | | | (miod@openbsd.org).
* Fixed license email address.Kristaps Dzonsons2009-06-101-1/+1
|
* Using proper license template (const).Kristaps Dzonsons2009-04-121-12/+10
|
* Made \(ss render as "ss", documented under COMPATIBILITY in mandoc_char.7.Kristaps Dzonsons2009-04-121-4/+0
|
* mdoc_tokhash -> hashKristaps Dzonsons2009-04-021-3/+3
| | | | Initial man hashtab (BROKEN).
* General clean-ups.Kristaps Dzonsons2009-03-311-3/+0
|
* -man linked to mandoc in documentation.Kristaps Dzonsons2009-03-231-1/+1
|
* First addition of -man macro support.Kristaps Dzonsons2009-03-231-0/+160
Abstraction of mdoc.