aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/man_macro.c
Commit message (Collapse)AuthorAgeFilesLines
* Final (?) fix to issue pointed out by Sascha Wildner: roff instructions ↵Kristaps Dzonsons2010-03-291-20/+10
| | | | clobbering prior scope rules and line modes.
* Initial step in fixing badness reported by Sascha Wildner (wip).Kristaps Dzonsons2010-03-291-1/+16
|
* Lint fixes.Kristaps Dzonsons2010-03-271-2/+2
|
* Lint fixes.Kristaps Dzonsons2010-03-271-5/+1
|
* Fixed re-adjustment of scope in exiting roff instructions (libman).Kristaps Dzonsons2010-03-271-16/+86
| | | | | | Added title-case check for (libman). Fixed premature closure of roff instruction scope (libman). Added documentation of ignored roff macros to man(3).
* Lint fixes.VERSION_1_9_17Kristaps Dzonsons2010-03-251-1/+3
|
* Fixed up some documentation in man.7: only documenting man.7 macros, not ↵Kristaps Dzonsons2010-03-251-6/+9
| | | | 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-10/+104
| | | | | | | 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-15/+12
| | | | | Removed ignoring of MAN_Vb argument (symmetry). Removed superfluous utsname inclusion.
* libman using enum mant instead of #defines for macros.Kristaps Dzonsons2010-03-231-8/+9
| | | | | 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/+8
| | | | set of patches by Ingo Schwarze.
* Accomodate (libman) for next-line macros followed by non-text macros `na', ↵Kristaps Dzonsons2010-03-221-6/+21
| | | | | | `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-1/+5
| | | | architectures. Thanks to Joerg Sonnenberger.
* 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 next-line scoping of `.HP nnn' (has both next-line and on-line in head).Kristaps Dzonsons2009-08-211-6/+14
|
* Open explicit scope on libman exit now only generates warning.Kristaps Dzonsons2009-08-211-2/+3
| | | | Consecutive ELINE scopes are now pruned (with a warning).
* Fixed next-line scope error in libman block macros.Kristaps Dzonsons2009-08-201-3/+6
|
* Fixed (not documented anywhere of course) that `SH' and `SS' in libman have ↵Kristaps Dzonsons2009-08-201-3/+3
| | | | next-line head scope.
* Added `DT' macro (pointed out by joerg@netbsd.org).Kristaps Dzonsons2009-08-201-1/+2
|
* libman checks for open explicit scopes on exit.Kristaps Dzonsons2009-08-191-4/+14
|
* Added RS/RE macro pair (had to adjust closing rules, sec/ssec/rs/par).Kristaps Dzonsons2009-08-191-31/+72
|
* Small updates to man.7 (next-line break-exclusions, numerical width example).Kristaps Dzonsons2009-08-181-7/+22
| | | | Fully tested and correct scope-rewinding of block macros.
* Significant overhaul in libman. Macros are now block- and line-scoped (withKristaps Dzonsons2009-08-131-147/+218
| | | | | | | | 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-8/+6
| | | | 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-2/+1
|
* 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/+43
|
* Fixed inheritence of initial macro into man_macro.Kristaps Dzonsons2009-03-261-9/+12
| | | | Removed warnxs from man_macro (man_vwarn).
* Actions in place for prologue parsing.Kristaps Dzonsons2009-03-251-7/+20
|
* Added man_action.c, renamed mdoc_action.c.Kristaps Dzonsons2009-03-251-3/+22
|
* Added man validator, renamed mdoc validator.Kristaps Dzonsons2009-03-251-3/+8
|
* -man linked to mandoc in documentation.Kristaps Dzonsons2009-03-231-4/+12
|
* -man printing linked to -Ttree.Kristaps Dzonsons2009-03-231-53/+93
|
* Linux fixes.Kristaps Dzonsons2009-03-231-20/+20
|
* First addition of -man macro support.Kristaps Dzonsons2009-03-231-0/+96
Abstraction of mdoc.