aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/man.h
Commit message (Collapse)AuthorAgeFilesLines
...
* Lint fixes.Kristaps Dzonsons2010-03-271-2/+2
|
* Using man_node_delete() instead of man_node_free()/man_node_freelist() and ↵Kristaps Dzonsons2010-03-241-1/+7
| | | | | | | friends (much simpler). Split blk_imp() into blk_exp() (explicit macros), blk_dotted() (roff macros), and the original. Added de, dei, am, ami, and ig roff macros (for now, these are discarded within the parse).
* libman using enum mant instead of #defines for macros.Kristaps Dzonsons2010-03-231-38/+40
| | | | | Clean-ups, better documentation in man_hash.c. Added extra space for "." in man_hash.c (unused for the time being).
* Support for pod2man standard header macros (Vb, Ve, Sp). Based largely on a ↵Kristaps Dzonsons2010-03-231-2/+5
| | | | set of patches by Ingo Schwarze.
* libmdoc and libman now using non-recoverable allocations (simpler code).Kristaps Dzonsons2009-10-301-2/+2
|
* Added `PD' to -man (doesn't do anything, yet).Kristaps Dzonsons2009-10-241-2/+3
|
* Fixed superfluous function declaration (spotted by Ulrich Sporlein).Kristaps Dzonsons2009-10-071-2/+1
|
* Added `UC' libman macro (has no effect).Kristaps Dzonsons2009-08-221-2/+3
| | | | | Corrected `UC' and `DT' not to print their arguments. Noted that `UC' and `DT' shouldn't be used.
* Added `DT' macro (pointed out by joerg@netbsd.org).Kristaps Dzonsons2009-08-201-2/+3
|
* Added RS/RE macro pair (had to adjust closing rules, sec/ssec/rs/par).Kristaps Dzonsons2009-08-191-2/+4
|
* Significant overhaul in libman. Macros are now block- and line-scoped (withKristaps Dzonsons2009-08-131-3/+11
| | | | | | | | 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-2/+3
| | | | 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-1/+2
| | | | | | | libman/libmdoc1). libman supports MAN_IGN_ESCAPE (like MDOC_IGN_ESCAPE). All popular escapes now handled consistently.
* Added -fno-ign-chars support to libman.Kristaps Dzonsons2009-06-181-2/+4
| | | | | | | 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-6/+5
| | | | Fix: hashtable not fully formed after removal of MDOC___.
* Fixed license email address.Kristaps Dzonsons2009-06-101-2/+2
|
* Using proper license template (const).Kristaps Dzonsons2009-04-121-12/+10
|
* man(3) doesn't use err.h anymore.Kristaps Dzonsons2009-04-051-2/+3
| | | | | | | | Added .i to man(3). Fixed up manuals. Fixed up webpage. Assertion fixes in man(3) (hashtable). Fixed assertion for .IP in mandoc -man.
* Proper resetting of memory.Kristaps Dzonsons2009-04-031-2/+2
| | | | Array boundary fixed (-W).
* mdoc_tokhash -> hashKristaps Dzonsons2009-04-021-2/+3
| | | | Initial man hashtab (BROKEN).
* Added some new manuals (mdoc.3 mandoc_char.7).Kristaps Dzonsons2009-03-271-2/+3
| | | | Support for .br in libman.
* Initial front-end formatting for -man pages.Kristaps Dzonsons2009-03-261-2/+3
|
* Added pflags to man_alloc.Kristaps Dzonsons2009-03-251-2/+4
| | | | Abstract fflags -> pflags in main.c.
* Actions in place for prologue parsing.Kristaps Dzonsons2009-03-251-3/+3
|
* Added man validator, renamed mdoc validator.Kristaps Dzonsons2009-03-251-2/+8
|
* -man printing linked to -Ttree.Kristaps Dzonsons2009-03-231-8/+3
|
* First addition of -man macro support.Kristaps Dzonsons2009-03-231-0/+97
Abstraction of mdoc.