summaryrefslogtreecommitdiffstats
path: root/man_term.c
Commit message (Collapse)AuthorAgeFilesLines
* Removed dynamic allocations of header/footer data.Kristaps Dzonsons2009-10-271-17/+6
|
* Full `%U' support.Kristaps Dzonsons2009-10-261-29/+29
| | | | | | | `Lk' display fixed. Renamed arg2xxxx as a2xxxx for consistency. Renamed print_foot to print_man_foot for consistency. Removed default printing of `~' when `Lk' not provided (not sure where I got that from).
* Added `PD' to -man (doesn't do anything, yet).Kristaps Dzonsons2009-10-241-0/+3
|
* Fixed maddening mismatch between groff and strftime mismatch of day ("%e"). ↵Kristaps Dzonsons2009-10-221-6/+2
| | | | Noted by Ulrich Sporlein.
* Fixed strftime stray %d -> %e (pointed out by Ulrich Sporlein).Kristaps Dzonsons2009-10-211-1/+1
|
* Lint fixes.Kristaps Dzonsons2009-10-181-3/+3
|
* Made sure devices and formats recognise that -man and -mdoc have different ↵Kristaps Dzonsons2009-10-181-6/+10
| | | | syntax for scaling widths: -mdoc assumes no unit means that the value is a string literal while -man instead uses the default vertical/horizontal scale.
* Arbitrary horizontal and vertical scaling widths now handled by -mdoc -Tascii.Kristaps Dzonsons2009-10-181-116/+50
| | | | Terminal scaling backend pushed into term.c.
* Fitted -man -Tascii with scaling units (.5i, etc.).Kristaps Dzonsons2009-10-181-1/+44
|
* Added horizontal scaling units to -Tman -Tascii.Kristaps Dzonsons2009-10-181-26/+45
|
* Moved output definitions into main.h.Kristaps Dzonsons2009-10-131-7/+27
| | | | Pushed terminal_{mdoc,man} into {mdoc,man}_term.c.
* Consolidated some -man -Tascii functions.Kristaps Dzonsons2009-10-081-57/+28
| | | | Added many -man -Thtml functions (almost complete).
* Header buffers in -man -Tascii are static.Kristaps Dzonsons2009-10-071-7/+2
|
* Structural components of -man -Thtml in place (note that HP is the same as ↵Kristaps Dzonsons2009-10-041-1/+0
| | | | IP, as HTML doesn't "do" this construction without fixed page widths).
* Added initial -man framework for -Thtml.Kristaps Dzonsons2009-10-031-1/+2
|
* Made tree/term/out() functions return void.Kristaps Dzonsons2009-09-161-19/+12
| | | | Put err() functions back into front-ends (no use making it needlessly complex).
* Removed TERMP_BOLD, TERMP_UNDER, TERMP_STYLE in favour of recursive-friendly ↵Kristaps Dzonsons2009-09-151-34/+48
| | | | | | increments. Cleaned up confusing behaviour of p->flags.
* Added `UC' libman macro (has no effect).Kristaps Dzonsons2009-08-221-1/+12
| | | | | Corrected `UC' and `DT' not to print their arguments. Noted that `UC' and `DT' shouldn't be used.
* FreeBSD fix (uqs@spoerlein.net).Kristaps Dzonsons2009-08-211-0/+2
|
* Added `DT' macro (pointed out by joerg@netbsd.org).Kristaps Dzonsons2009-08-201-1/+2
|
* `RS' blocks correctly formatting in output device.Kristaps Dzonsons2009-08-191-19/+88
|
* Added RS/RE macro pair (had to adjust closing rules, sec/ssec/rs/par).Kristaps Dzonsons2009-08-191-0/+2
|
* Small updates to man.7 (next-line break-exclusions, numerical width example).Kristaps Dzonsons2009-08-181-34/+81
| | | | Fully tested and correct scope-rewinding of block macros.
* `IP' and `TP' correctly handle width arguments.Kristaps Dzonsons2009-08-171-14/+50
| | | | Documented numeric widths.
* Finished correct `IP' handling.Kristaps Dzonsons2009-08-131-42/+68
|
* Added proper `TP' support.Kristaps Dzonsons2009-08-131-25/+40
|
* Added full `HP' libman macro support.Kristaps Dzonsons2009-08-131-2/+35
|
* Significant overhaul in libman. Macros are now block- and line-scoped (withKristaps Dzonsons2009-08-131-45/+188
| | | | | | | | 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.
* Moved indentation size into *term.c files.Kristaps Dzonsons2009-08-101-19/+89
| | | | Improved handling of libman `IP' macro (still needs work).
* Added `sp' support to libman.Kristaps Dzonsons2009-07-241-0/+1
| | | | Added `\c' to known escapes (only used in man, but still).
* Added nchild decrement in libman (not used, but better in than forgotten).Kristaps Dzonsons2009-06-181-0/+1
| | | | Added nchild to libmdoc, deprecated count() functions in validator.
* Fixed libman .br to be a newline, not a .PP alias.Kristaps Dzonsons2009-06-181-1/+12
|
* Removed MAN___: moved MAN_br to its index (comments not passed into parser).Kristaps Dzonsons2009-06-161-3/+5
| | | | Fix: hashtable not fully formed after removal of MDOC___.
* Removed superfluous ifdef around strftime (schwarze@openbsd.org).Kristaps Dzonsons2009-06-151-4/+0
| | | | Bumped version (this was supposed to be in 1.7.17).
* Backed-out .IP changes for libman (needs work).Kristaps Dzonsons2009-06-111-0/+5
|
* Documented some un-clear parts of main.c.Kristaps Dzonsons2009-06-111-1/+3
| | | | | Fixed footer to be new-groff style (OS DATE OS). Removed sanity check from mdoc_term (unnecessary).
* Fixed email address in manual AUTHOR reference.Kristaps Dzonsons2009-06-111-1/+1
| | | | | | Set max right margin to 80 columns (schwarze@openbsd.org). Fixed centre-field heading position (schwarze@openbsd.org). Also fixed -Tman centre-field.
* 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-6/+7
| | | | | | | | 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).
* Added some new manuals (mdoc.3 mandoc_char.7).Kristaps Dzonsons2009-03-271-0/+1
| | | | Support for .br in libman.
* All macro-invocations, for consistency, begin with `.' in documentation.Kristaps Dzonsons2009-03-261-26/+57
| | | | | Fixed \\ -> \e in manual documentation. All preliminary -man macros in place.
* Added several macros to man_term.c.VERSION.1.7.5Kristaps Dzonsons2009-03-261-7/+127
|
* Fixed after-NLINE-error assertion.Kristaps Dzonsons2009-03-261-0/+5
| | | | | Scanned over all manuals with valgrind. Version up.
* Initial front-end formatting for -man pages.Kristaps Dzonsons2009-03-261-0/+369