summaryrefslogtreecommitdiffstats
path: root/man.h
Commit message (Collapse)AuthorAgeFilesLines
* Allow roff_parseln() to be re-run.Kristaps Dzonsons2010-05-161-1/+1
| | | | | | | | | Allow roff_parseln() to manipulate the line buffer offset. This is used in situations like `.ie n .TH FOO 1' or `.ie n .ie n', where the line buffer offset is recalculated then the roff parser re-run. Fix mdoc_parseln() and man_parseln() to accept the initial line offset. WARNING: backed-out ALL roff macros whilst accomodating for how roff handles multi-line conditionals (in short, re-running the parser).
* Remove `am', `ami', `de', `dei', and `.' from -man, as they're now in the ↵Kristaps Dzonsons2010-05-151-5/+0
| | | | roff preprocessor.
* Pull `ig' out of -man and leave it the roff preparser.Kristaps Dzonsons2010-05-151-1/+0
|
* Removed restriction on integer manual sections in -man.Kristaps Dzonsons2010-05-151-1/+1
|
* End-of-sentence spacing for -man -Tascii.Kristaps Dzonsons2010-05-121-0/+1
|
* Remove -fno-ign-chars as well-argued by Ingo Schwarze. Patch by Ingo ↵Kristaps Dzonsons2010-05-091-1/+0
| | | | Schwarze, too.
* Lint fixes.Kristaps Dzonsons2010-03-271-1/+1
|
* Using man_node_delete() instead of man_node_free()/man_node_freelist() and ↵Kristaps Dzonsons2010-03-241-0/+6
| | | | | | | 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-37/+39
| | | | | 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-1/+4
| | | | set of patches by Ingo Schwarze.
* libmdoc and libman now using non-recoverable allocations (simpler code).Kristaps Dzonsons2009-10-301-1/+1
|
* Added `PD' to -man (doesn't do anything, yet).Kristaps Dzonsons2009-10-241-1/+2
|
* Fixed superfluous function declaration (spotted by Ulrich Sporlein).Kristaps Dzonsons2009-10-071-1/+0
|
* Added `UC' libman macro (has no effect).Kristaps Dzonsons2009-08-221-1/+2
| | | | | 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-1/+2
|
* Added RS/RE macro pair (had to adjust closing rules, sec/ssec/rs/par).Kristaps Dzonsons2009-08-191-1/+3
|
* Significant overhaul in libman. Macros are now block- and line-scoped (withKristaps Dzonsons2009-08-131-2/+10
| | | | | | | | 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-1/+2
| | | | 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-0/+1
| | | | | | | 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-1/+3
| | | | | | | 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-5/+4
| | | | 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-1/+2
| | | | | | | | 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-1/+1
| | | | Array boundary fixed (-W).
* mdoc_tokhash -> hashKristaps Dzonsons2009-04-021-1/+2
| | | | Initial man hashtab (BROKEN).
* Added some new manuals (mdoc.3 mandoc_char.7).Kristaps Dzonsons2009-03-271-1/+2
| | | | Support for .br in libman.
* Initial front-end formatting for -man pages.Kristaps Dzonsons2009-03-261-1/+2
|
* Added pflags to man_alloc.Kristaps Dzonsons2009-03-251-1/+3
| | | | Abstract fflags -> pflags in main.c.
* Actions in place for prologue parsing.Kristaps Dzonsons2009-03-251-2/+2
|
* Added man validator, renamed mdoc validator.Kristaps Dzonsons2009-03-251-1/+7
|
* -man printing linked to -Ttree.Kristaps Dzonsons2009-03-231-7/+2
|
* First addition of -man macro support.Kristaps Dzonsons2009-03-231-0/+97
Abstraction of mdoc.