summaryrefslogtreecommitdiffstatshomepage
path: root/man.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix of MAN_NEXT when removing next-line dupes.VERSION_1_9_1Kristaps Dzonsons2009-08-211-4/+8
|
* Removed superfluous XXX.Kristaps Dzonsons2009-08-211-3/+1
| | | | Version: 1.9.1.
* Fixed `nf' behaviour (had broken with de-chunking).Kristaps Dzonsons2009-08-211-2/+12
| | | | Added warnings if literal context already open/closed.
* Open explicit scope on libman exit now only generates warning.Kristaps Dzonsons2009-08-211-5/+27
| | | | Consecutive ELINE scopes are now pruned (with a warning).
* Added `DT' macro (pointed out by joerg@netbsd.org).Kristaps Dzonsons2009-08-201-2/+2
|
* Linux compat fix.Kristaps Dzonsons2009-08-191-1/+5
|
* Moved MDOC_NEXT_SIBLING into mdoc_word (libmdoc).Kristaps Dzonsons2009-08-191-12/+62
| | | | De-chunking of word terms in libman.
* Added RS/RE macro pair (had to adjust closing rules, sec/ssec/rs/par).Kristaps Dzonsons2009-08-191-8/+17
|
* Significant overhaul in libman. Macros are now block- and line-scoped (withKristaps Dzonsons2009-08-131-48/+115
| | | | | | | | 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).
* Tabularised error strings in libman.Kristaps Dzonsons2009-07-071-36/+16
|
* Moved escape validation into libmandoc.h/mandoc.c (common between ↵Kristaps Dzonsons2009-07-041-1/+4
| | | | | | | libman/libmdoc1). libman supports MAN_IGN_ESCAPE (like MDOC_IGN_ESCAPE). All popular escapes now handled consistently.
* libman documents require `TH' and at least one node.Kristaps Dzonsons2009-06-221-1/+7
| | | | | libman requirements documented in man.7 STRUCTURE section. Added STRUCTURE section to mdoc.7, too.
* Added nchild decrement in libman (not used, but better in than forgotten).Kristaps Dzonsons2009-06-181-1/+4
| | | | Added nchild to libmdoc, deprecated count() functions in validator.
* Moved all formatted libman warn/error into man.c/libman.h.Kristaps Dzonsons2009-06-181-1/+38
| | | | Converted all formatted warn/errors into regular syntax.
* 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-3/+3
| | | | Fix: hashtable not fully formed after removal of MDOC___.
* Modernised comment handling: text following \" is thrown away beforeKristaps Dzonsons2009-06-161-5/+1
| | | | | | either parser is invoked. Single-dot lines correctly handled. This confirms with both new- and old-groff. "Comment" subsection added to mdoc.7 and man.7.
* Fixed license email address.Kristaps Dzonsons2009-06-101-2/+2
|
* Using proper license template (const).Kristaps Dzonsons2009-04-121-12/+10
|
* Spelling "preceed" -> "precede" (naddy).Kristaps Dzonsons2009-04-121-2/+2
|
* man(3) doesn't use err.h anymore.Kristaps Dzonsons2009-04-051-28/+33
| | | | | | | | 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/+4
| | | | Array boundary fixed (-W).
* mdoc_tokhash -> hashKristaps Dzonsons2009-04-021-2/+2
| | | | Initial man hashtab (BROKEN).
* Added some new manuals (mdoc.3 mandoc_char.7).Kristaps Dzonsons2009-03-271-2/+2
| | | | Support for .br in libman.
* Fixed after-NLINE-error assertion.Kristaps Dzonsons2009-03-261-3/+3
| | | | | Scanned over all manuals with valgrind. Version up.
* Initial front-end formatting for -man pages.Kristaps Dzonsons2009-03-261-8/+54
|
* Fixed inheritence of initial macro into man_macro.Kristaps Dzonsons2009-03-261-10/+14
| | | | Removed warnxs from man_macro (man_vwarn).
* Fixed reading whitespace for man.7 `. TH'.Kristaps Dzonsons2009-03-261-16/+17
| | | | Documented this.
* *** empty log message ***Kristaps Dzonsons2009-03-251-1/+2
|
* Added pflags to man_alloc.Kristaps Dzonsons2009-03-251-10/+22
| | | | Abstract fflags -> pflags in main.c.
* Actions in place for prologue parsing.Kristaps Dzonsons2009-03-251-3/+3
|
* Added man_action.c, renamed mdoc_action.c.Kristaps Dzonsons2009-03-251-8/+1
|
* Added man validator, renamed mdoc validator.Kristaps Dzonsons2009-03-251-5/+40
|
* -man linked to mandoc in documentation.Kristaps Dzonsons2009-03-231-3/+8
|
* -man printing linked to -Ttree.Kristaps Dzonsons2009-03-231-91/+59
|
* First addition of -man macro support.Kristaps Dzonsons2009-03-231-0/+368
Abstraction of mdoc.