summaryrefslogtreecommitdiffstats
path: root/man_macro.c
Commit message (Collapse)AuthorAgeFilesLines
* Lint fixes.VERSION.1.9.17Kristaps Dzonsons2010-03-251-0/+2
|
* Fixed up some documentation in man.7: only documenting man.7 macros, not ↵Kristaps Dzonsons2010-03-251-5/+8
| | | | related ones (de, Vb, etc.), which aren't technically man. It's an open question as to where these /should/ be documented, however.
* Using man_node_delete() instead of man_node_free()/man_node_freelist() and ↵Kristaps Dzonsons2010-03-241-9/+103
| | | | | | | 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-14/+11
| | | | | Removed ignoring of MAN_Vb argument (symmetry). Removed superfluous utsname inclusion.
* libman using enum mant instead of #defines for macros.Kristaps Dzonsons2010-03-231-7/+8
| | | | | 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-0/+7
| | | | set of patches by Ingo Schwarze.
* Accomodate (libman) for next-line macros followed by non-text macros `na', ↵Kristaps Dzonsons2010-03-221-5/+20
| | | | | | `sp', and `br'. Based on a patch by Ingo Schwarze.
* Big check-in of compatibility layer. This should work on most major ↵Kristaps Dzonsons2010-01-011-0/+4
| | | | architectures. Thanks to Joerg Sonnenberger.
* Added `PD' to -man (doesn't do anything, yet).Kristaps Dzonsons2009-10-241-0/+1
|
* Added `UC' libman macro (has no effect).Kristaps Dzonsons2009-08-221-0/+1
| | | | | Corrected `UC' and `DT' not to print their arguments. Noted that `UC' and `DT' shouldn't be used.
* Fixed next-line scoping of `.HP nnn' (has both next-line and on-line in head).Kristaps Dzonsons2009-08-211-5/+13
|
* Open explicit scope on libman exit now only generates warning.Kristaps Dzonsons2009-08-211-1/+2
| | | | Consecutive ELINE scopes are now pruned (with a warning).
* Fixed next-line scope error in libman block macros.Kristaps Dzonsons2009-08-201-2/+5
|
* Fixed (not documented anywhere of course) that `SH' and `SS' in libman have ↵Kristaps Dzonsons2009-08-201-2/+2
| | | | next-line head scope.
* Added `DT' macro (pointed out by joerg@netbsd.org).Kristaps Dzonsons2009-08-201-0/+1
|
* libman checks for open explicit scopes on exit.Kristaps Dzonsons2009-08-191-3/+13
|
* Added RS/RE macro pair (had to adjust closing rules, sec/ssec/rs/par).Kristaps Dzonsons2009-08-191-30/+71
|
* Small updates to man.7 (next-line break-exclusions, numerical width example).Kristaps Dzonsons2009-08-181-6/+21
| | | | Fully tested and correct scope-rewinding of block macros.
* Significant overhaul in libman. Macros are now block- and line-scoped (withKristaps Dzonsons2009-08-131-146/+217
| | | | | | | | 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-0/+1
| | | | 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-7/+5
| | | | 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-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).
* General clean-ups.Kristaps Dzonsons2009-03-311-1/+0
|
* 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-0/+42
|
* Fixed inheritence of initial macro into man_macro.Kristaps Dzonsons2009-03-261-8/+11
| | | | Removed warnxs from man_macro (man_vwarn).
* Actions in place for prologue parsing.Kristaps Dzonsons2009-03-251-6/+19
|
* Added man_action.c, renamed mdoc_action.c.Kristaps Dzonsons2009-03-251-2/+21
|
* Added man validator, renamed mdoc validator.Kristaps Dzonsons2009-03-251-2/+7
|
* -man linked to mandoc in documentation.Kristaps Dzonsons2009-03-231-3/+11
|
* -man printing linked to -Ttree.Kristaps Dzonsons2009-03-231-52/+92
|
* Linux fixes.Kristaps Dzonsons2009-03-231-19/+19
|
* First addition of -man macro support.Kristaps Dzonsons2009-03-231-0/+96
Abstraction of mdoc.