summaryrefslogtreecommitdiffstatshomepage
path: root/man_action.c
Commit message (Collapse)AuthorAgeFilesLines
* Fixed re-adjustment of scope in exiting roff instructions (libman).Kristaps Dzonsons2010-03-271-2/+1
| | | | | | Added title-case check for (libman). Fixed premature closure of roff instruction scope (libman). Added documentation of ignored roff macros to man(3).
* Using man_node_delete() instead of man_node_free()/man_node_freelist() and ↵Kristaps Dzonsons2010-03-241-4/+28
| | | | | | | 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).
* enum-ised rew_* return values (type-safety).Kristaps Dzonsons2010-03-241-3/+1
| | | | | Removed ignoring of MAN_Vb argument (symmetry). Removed superfluous utsname inclusion.
* 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.
* Clarify -man -T[x]html handling of `br' within `B'.Kristaps Dzonsons2010-03-221-19/+3
| | | | | Consolidated node unlinking in -man. Conclude nested next-line scope issues noted by Ingo Schwarze.
* Big check-in of compatibility layer. This should work on most major ↵Kristaps Dzonsons2010-01-011-1/+5
| | | | architectures. Thanks to Joerg Sonnenberger.
* Added mandoc_a2time() for proper date conversion.Kristaps Dzonsons2009-11-021-33/+12
| | | | | Fitted TH and Dd handlers to use mandoc_a2time(). Documented date syntax for -man, fixed documentation for -mdoc.
* Using perror() instead of fprintf for failure from library functions.Kristaps Dzonsons2009-10-311-3/+1
|
* libmdoc and libman now using non-recoverable allocations (simpler code).Kristaps Dzonsons2009-10-301-8/+5
|
* bzero() -> memset() (noted by Joerg Sonnenberger).Kristaps Dzonsons2009-10-271-2/+2
|
* Added `PD' to -man (doesn't do anything, yet).Kristaps Dzonsons2009-10-241-1/+2
|
* 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.
* Fixed `nf' behaviour (had broken with de-chunking).Kristaps Dzonsons2009-08-211-14/+40
| | | | Added warnings if literal context already open/closed.
* 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-2/+4
|
* Significant overhaul in libman. Macros are now block- and line-scoped (withKristaps Dzonsons2009-08-131-3/+4
| | | | | | | | 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 all formatted libman warn/error into man.c/libman.h.Kristaps Dzonsons2009-06-181-10/+7
| | | | Converted all formatted warn/errors into regular syntax.
* Removed MAN___: moved MAN_br to its index (comments not passed into parser).Kristaps Dzonsons2009-06-161-3/+2
| | | | 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-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.
* mdoc_tokhash -> hashKristaps Dzonsons2009-04-021-1/+2
| | | | Initial man hashtab (BROKEN).
* General clean-ups.Kristaps Dzonsons2009-03-311-6/+7
|
* 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-9/+7
|
* Fixed reading whitespace for man.7 `. TH'.Kristaps Dzonsons2009-03-261-7/+15
| | | | Documented this.
* Linux fix (prototype).Kristaps Dzonsons2009-03-251-1/+4
|
* Actions in place for prologue parsing.Kristaps Dzonsons2009-03-251-88/+75
|
* Added man_action.c, renamed mdoc_action.c.Kristaps Dzonsons2009-03-251-0/+196