summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Renamed TERMP_NONOSPACE -> TERMP_DANGLE.Kristaps Dzonsons2009-07-141-10/+11
| | | | | Added TERMP_HANG. Reordered TERMP flags to be a little easier on my old eyes.
* Err/warn fix (schwarze@openbsd.org).Kristaps Dzonsons2009-07-133-129/+128
| | | | Lots of whitespace churn in getting functions aligned nicely.
* Replacement of `Lb' in mdoc_action.c.Kristaps Dzonsons2009-07-126-23/+49
| | | | | | Added warning against bogus `Lb' (like groff does). Added proper quotes around `Lb' in mdoc_term.c. Moved mdoc_a2lib -> libmdoc (where it belongs).
* Moved mdoc_a2st() out of mdoc.h -> libmdoc.h (replacement in mdoc_action.c).Kristaps Dzonsons2009-07-125-17/+21
| | | | Made bad standards into an error (were a warning).
* Moved mdoc_a2att() into libmdoc (replacement happens in mdoc_action.c).Kristaps Dzonsons2009-07-124-33/+40
|
* Removed superfluous FIXMEs in mdoc_term.c.Kristaps Dzonsons2009-07-121-12/+6
|
* Fixed `Fo' superfluous space before `('. Noted groff compatibility in mdoc.7.Kristaps Dzonsons2009-07-122-2/+6
|
* `Vt' macro behaves [more] properly when in the SYNOPSIS section.Kristaps Dzonsons2009-07-121-1/+5
|
* Replaced ugly macro function declarations in mdoc_term with real [sorted] ones.Kristaps Dzonsons2009-07-121-78/+86
|
* Removed rmargin from termpair (right in print_node()).Kristaps Dzonsons2009-07-121-8/+5
|
* Removed offset from termpair (much simpler & cleaner).Kristaps Dzonsons2009-07-121-21/+12
| | | | | Put new offset market in print_node(). Some fixes of forgotten ttypes[TTYPE_XXXX] (just TTYPE).
* Removed ambiguous TERMPAIR_SETFLAG from mdoc_term.c (pairs/flags must be ↵Kristaps Dzonsons2009-07-121-50/+38
| | | | manually set now, and are).
* GNU/Linux also uses \- for Nd (ew).Kristaps Dzonsons2009-07-121-2/+2
|
* Consolidated Bx/Ox/Nx/etc. into one function.Kristaps Dzonsons2009-07-121-64/+34
|
* Check for NAME sanity fixed (last named section -> last section).Kristaps Dzonsons2009-07-121-1/+1
|
* Added back in MDOC_TEXT stipulation in NAME check (post-Nm punctuation, duh).Kristaps Dzonsons2009-07-121-0/+2
|
* `Nd' is now a BFI (was an ELEM). Noted by joerg@netbsd.org, behaviour ok ↵Kristaps Dzonsons2009-07-124-8/+49
| | | | jmc@openbsd.org, etc.
* mdoc.7 using -offset indent instead of -offset XXXX or whatever it was.Kristaps Dzonsons2009-07-121-16/+16
|
* Fix for u_char, FreeBSD 7.2 (uqs@spoerlein.net).Kristaps Dzonsons2009-07-121-0/+2
|
* Version.VERSION.1.7.24Kristaps Dzonsons2009-07-121-2/+2
|
* Fixed mdoc_nwarn/mdoc_nerr considering themselves err/warn instead of ↵Kristaps Dzonsons2009-07-122-4/+6
| | | | warn/err (BIG mistake). From suggestion by <joerg@netbsd.org>.
* Noted dissent with \- for OpenBSD.Kristaps Dzonsons2009-07-121-1/+5
|
* Added \(hy symbol.Kristaps Dzonsons2009-07-123-1/+8
| | | | | | Properly categorised \- as an arithmetic minus sign. Nd produces \(em instead of old \-. OpenBSD ifdef'd to use old \- after Nd (ok: jmc@openbsd.org).
* Removed long-fixed FIXME note.Kristaps Dzonsons2009-07-111-1/+0
|
* Added `.St -p1003.1i-95' (joerg@netbsd.org).Kristaps Dzonsons2009-07-111-0/+1
|
* Made `In' handling work in new-groff style (see mdoc.samples).Kristaps Dzonsons2009-07-074-7/+17
|
* Small clean-ups in error message usage.VERSION.1.7.23Kristaps Dzonsons2009-07-073-7/+5
| | | | Version.
* Tabularised error strings in libman.Kristaps Dzonsons2009-07-072-37/+18
|
* Tabularised error-code lookup in mdoc.c.Kristaps Dzonsons2009-07-073-184/+70
|
* Cleaned out duplicate {mdoc,man}warn in main.c.Kristaps Dzonsons2009-07-061-25/+4
|
* Consolidated all err/warnings into mdoc.c via libmdoc.h.Kristaps Dzonsons2009-07-067-606/+402
|
* Consolidated pwarn->perr in mdoc_argv.Kristaps Dzonsons2009-07-061-40/+26
|
* Consolidated mdoc_action pwarn->perr.Kristaps Dzonsons2009-07-061-33/+19
|
* Fix in MDOC_IGN_CHARS ref.Kristaps Dzonsons2009-07-061-1/+1
|
* Consolidated mdoc_validate.c pwarn into perr (slowly phasing out per-file ↵Kristaps Dzonsons2009-07-061-109/+83
| | | | pre-formatted error strings).
* Backed -Wcompat,syntax out of front-end.Kristaps Dzonsons2009-07-062-23/+13
|
* Initial removal of enum mdoc_warn from mdoc warnings (unnecessary complication).Kristaps Dzonsons2009-07-069-72/+35
|
* Fixed man.3 mdoc.3 const-nesses.Kristaps Dzonsons2009-07-052-5/+5
|
* Version.VERSION.1.7.22Kristaps Dzonsons2009-07-051-2/+2
|
* Backed out "-width indent" and "-width indent-two", which aren'tKristaps Dzonsons2009-07-052-10/+0
| | | | | supported by any groff mdoc tmac (and erroneously used in many manuals, hence the confusion).
* Version up.VERSION.1.7.21Kristaps Dzonsons2009-07-041-2/+2
|
* suboptarg is not portable to Linux (fixed).Kristaps Dzonsons2009-07-041-6/+10
|
* Fixed -offset indent-two (schwarze@openbsd.org).Kristaps Dzonsons2009-07-041-1/+1
|
* Fixed -offset left (schwarze@openbsd.org).Kristaps Dzonsons2009-07-041-2/+2
| | | | Fixed bogus setting (instead of increment) of offsets.
* Noted secret -width indent/indent-two arguments to `Bl'.Kristaps Dzonsons2009-07-041-0/+6
|
* Removed WDEPCOL (schwarze@openbsd.org).Kristaps Dzonsons2009-07-041-5/+0
|
* Moved escape validation into libmandoc.h/mandoc.c (common between ↵Kristaps Dzonsons2009-07-0410-92/+167
| | | | | | | libman/libmdoc1). libman supports MAN_IGN_ESCAPE (like MDOC_IGN_ESCAPE). All popular escapes now handled consistently.
* man.7/mdoc.7 properly reflect escape-character handling.Kristaps Dzonsons2009-07-042-8/+36
| | | | | man.7 points to mdoc.7 for COMPATIBILITY. Whitespace stripping noted in mdoc.7.
* Minor www fixes.Kristaps Dzonsons2009-07-042-62/+43
|
* Removed escape-deprecation note (better solution in progress, ↵Kristaps Dzonsons2009-06-272-15/+7
| | | | | | | | schwarze@openbsd.org). Using EXIT_FAILURE for parse errors (nicm@openbsd.org). Fixed use of warn/warnx (nicm@openbsd.org). Fixed use of getsubopt (nicm@openbsd.org).