]>
git.cameronkatri.com Git - mandoc.git/log
Kristaps Dzonsons [Mon, 13 Jul 2009 07:23:07 +0000 (07:23 +0000)]
Err/warn fix (schwarze@openbsd.org).
Lots of whitespace churn in getting functions aligned nicely.
Kristaps Dzonsons [Sun, 12 Jul 2009 20:50:08 +0000 (20:50 +0000)]
Replacement of `Lb' in mdoc_action.c.
Added warning against bogus `Lb' (like groff does).
Added proper quotes around `Lb' in mdoc_term.c.
Moved mdoc_a2lib -> libmdoc (where it belongs).
Kristaps Dzonsons [Sun, 12 Jul 2009 20:30:35 +0000 (20:30 +0000)]
Moved mdoc_a2st() out of mdoc.h -> libmdoc.h (replacement in mdoc_action.c).
Made bad standards into an error (were a warning).
Kristaps Dzonsons [Sun, 12 Jul 2009 20:24:24 +0000 (20:24 +0000)]
Moved mdoc_a2att() into libmdoc (replacement happens in mdoc_action.c).
Kristaps Dzonsons [Sun, 12 Jul 2009 20:07:04 +0000 (20:07 +0000)]
Removed superfluous FIXMEs in mdoc_term.c.
Kristaps Dzonsons [Sun, 12 Jul 2009 19:34:51 +0000 (19:34 +0000)]
Fixed `Fo' superfluous space before `('. Noted groff compatibility in mdoc.7.
Kristaps Dzonsons [Sun, 12 Jul 2009 19:28:46 +0000 (19:28 +0000)]
`Vt' macro behaves [more] properly when in the SYNOPSIS section.
Kristaps Dzonsons [Sun, 12 Jul 2009 19:13:12 +0000 (19:13 +0000)]
Replaced ugly macro function declarations in mdoc_term with real [sorted] ones.
Kristaps Dzonsons [Sun, 12 Jul 2009 17:49:32 +0000 (17:49 +0000)]
Removed rmargin from termpair (right in print_node()).
Kristaps Dzonsons [Sun, 12 Jul 2009 17:45:17 +0000 (17:45 +0000)]
Removed offset from termpair (much simpler & cleaner).
Put new offset market in print_node().
Some fixes of forgotten ttypes[TTYPE_XXXX] (just TTYPE).
Kristaps Dzonsons [Sun, 12 Jul 2009 17:25:07 +0000 (17:25 +0000)]
Removed ambiguous TERMPAIR_SETFLAG from mdoc_term.c (pairs/flags must be manually set now, and are).
Kristaps Dzonsons [Sun, 12 Jul 2009 16:55:11 +0000 (16:55 +0000)]
GNU/Linux also uses \- for Nd (ew).
Kristaps Dzonsons [Sun, 12 Jul 2009 16:52:41 +0000 (16:52 +0000)]
Consolidated Bx/Ox/Nx/etc. into one function.
Kristaps Dzonsons [Sun, 12 Jul 2009 16:41:33 +0000 (16:41 +0000)]
Check for NAME sanity fixed (last named section -> last section).
Kristaps Dzonsons [Sun, 12 Jul 2009 16:38:15 +0000 (16:38 +0000)]
Added back in MDOC_TEXT stipulation in NAME check (post-Nm punctuation, duh).
Kristaps Dzonsons [Sun, 12 Jul 2009 16:34:16 +0000 (16:34 +0000)]
`Nd' is now a BFI (was an ELEM). Noted by joerg@netbsd.org, behaviour ok jmc@openbsd.org, etc.
Kristaps Dzonsons [Sun, 12 Jul 2009 15:32:26 +0000 (15:32 +0000)]
mdoc.7 using -offset indent instead of -offset XXXX or whatever it was.
Kristaps Dzonsons [Sun, 12 Jul 2009 09:48:00 +0000 (09:48 +0000)]
Fix for u_char, FreeBSD 7.2 (uqs@spoerlein.net).
Kristaps Dzonsons [Sun, 12 Jul 2009 09:16:32 +0000 (09:16 +0000)]
Version.
Kristaps Dzonsons [Sun, 12 Jul 2009 09:13:21 +0000 (09:13 +0000)]
Fixed mdoc_nwarn/mdoc_nerr considering themselves err/warn instead of warn/err (BIG mistake). From suggestion by <joerg@netbsd.org>.
Kristaps Dzonsons [Sun, 12 Jul 2009 08:49:50 +0000 (08:49 +0000)]
Noted dissent with \- for OpenBSD.
Kristaps Dzonsons [Sun, 12 Jul 2009 08:45:56 +0000 (08:45 +0000)]
Added \(hy symbol.
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).
Kristaps Dzonsons [Sat, 11 Jul 2009 20:47:52 +0000 (20:47 +0000)]
Removed long-fixed FIXME note.
Kristaps Dzonsons [Sat, 11 Jul 2009 18:55:37 +0000 (18:55 +0000)]
Added `.St -p1003.1i-95' (joerg@netbsd.org).
Kristaps Dzonsons [Tue, 7 Jul 2009 11:47:17 +0000 (11:47 +0000)]
Made `In' handling work in new-groff style (see mdoc.samples).
Kristaps Dzonsons [Tue, 7 Jul 2009 09:52:08 +0000 (09:52 +0000)]
Small clean-ups in error message usage.
Version.
Kristaps Dzonsons [Tue, 7 Jul 2009 09:35:40 +0000 (09:35 +0000)]
Tabularised error strings in libman.
Kristaps Dzonsons [Tue, 7 Jul 2009 09:29:15 +0000 (09:29 +0000)]
Tabularised error-code lookup in mdoc.c.
Kristaps Dzonsons [Mon, 6 Jul 2009 13:08:12 +0000 (13:08 +0000)]
Cleaned out duplicate {mdoc,man}warn in main.c.
Kristaps Dzonsons [Mon, 6 Jul 2009 13:04:52 +0000 (13:04 +0000)]
Consolidated all err/warnings into mdoc.c via libmdoc.h.
Kristaps Dzonsons [Mon, 6 Jul 2009 11:21:34 +0000 (11:21 +0000)]
Consolidated pwarn->perr in mdoc_argv.
Kristaps Dzonsons [Mon, 6 Jul 2009 11:14:03 +0000 (11:14 +0000)]
Consolidated mdoc_action pwarn->perr.
Kristaps Dzonsons [Mon, 6 Jul 2009 11:05:29 +0000 (11:05 +0000)]
Fix in MDOC_IGN_CHARS ref.
Kristaps Dzonsons [Mon, 6 Jul 2009 11:00:05 +0000 (11:00 +0000)]
Consolidated mdoc_validate.c pwarn into perr (slowly phasing out per-file pre-formatted error strings).
Kristaps Dzonsons [Mon, 6 Jul 2009 09:34:29 +0000 (09:34 +0000)]
Backed -Wcompat,syntax out of front-end.
Kristaps Dzonsons [Mon, 6 Jul 2009 09:21:24 +0000 (09:21 +0000)]
Initial removal of enum mdoc_warn from mdoc warnings (unnecessary complication).
Kristaps Dzonsons [Sun, 5 Jul 2009 19:30:49 +0000 (19:30 +0000)]
Fixed man.3 mdoc.3 const-nesses.
Kristaps Dzonsons [Sun, 5 Jul 2009 19:25:45 +0000 (19:25 +0000)]
Version.
Kristaps Dzonsons [Sun, 5 Jul 2009 19:25:10 +0000 (19:25 +0000)]
Backed out "-width indent" and "-width indent-two", which aren't
supported by any groff mdoc tmac (and erroneously used in many manuals,
hence the confusion).
Kristaps Dzonsons [Sat, 4 Jul 2009 11:19:07 +0000 (11:19 +0000)]
Version up.
Kristaps Dzonsons [Sat, 4 Jul 2009 11:10:36 +0000 (11:10 +0000)]
suboptarg is not portable to Linux (fixed).
Kristaps Dzonsons [Sat, 4 Jul 2009 11:07:34 +0000 (11:07 +0000)]
Fixed -offset indent-two (schwarze@openbsd.org).
Kristaps Dzonsons [Sat, 4 Jul 2009 11:04:46 +0000 (11:04 +0000)]
Fixed -offset left (schwarze@openbsd.org).
Fixed bogus setting (instead of increment) of offsets.
Kristaps Dzonsons [Sat, 4 Jul 2009 11:04:07 +0000 (11:04 +0000)]
Noted secret -width indent/indent-two arguments to `Bl'.
Kristaps Dzonsons [Sat, 4 Jul 2009 10:41:29 +0000 (10:41 +0000)]
Removed WDEPCOL (schwarze@openbsd.org).
Kristaps Dzonsons [Sat, 4 Jul 2009 09:01:55 +0000 (09:01 +0000)]
Moved escape validation into libmandoc.h/mandoc.c (common between libman/libmdoc1).
libman supports MAN_IGN_ESCAPE (like MDOC_IGN_ESCAPE).
All popular escapes now handled consistently.
Kristaps Dzonsons [Sat, 4 Jul 2009 09:00:41 +0000 (09:00 +0000)]
man.7/mdoc.7 properly reflect escape-character handling.
man.7 points to mdoc.7 for COMPATIBILITY.
Whitespace stripping noted in mdoc.7.
Kristaps Dzonsons [Sat, 4 Jul 2009 08:06:42 +0000 (08:06 +0000)]
Minor www fixes.
Kristaps Dzonsons [Sat, 27 Jun 2009 09:03:03 +0000 (09:03 +0000)]
Removed escape-deprecation note (better solution in progress, 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).
Kristaps Dzonsons [Thu, 25 Jun 2009 11:35:28 +0000 (11:35 +0000)]
Added note about whitespace being stripped from mdoc/man input and re-added in mandoc(1).
Kristaps Dzonsons [Thu, 25 Jun 2009 10:55:40 +0000 (10:55 +0000)]
Spell-checks in manuals.
Kristaps Dzonsons [Thu, 25 Jun 2009 10:52:56 +0000 (10:52 +0000)]
Makefile properly generates MD5 sums.
More clean-ups of new, simplified webpage.
Kristaps Dzonsons [Thu, 25 Jun 2009 10:51:55 +0000 (10:51 +0000)]
Language clarification in mandoc.1 (schwarze@openbsd.org).
Kristaps Dzonsons [Thu, 25 Jun 2009 10:51:21 +0000 (10:51 +0000)]
Fixed STRUCTURE repeat (schwarze@openbsd.org).
Simplified some explanations (nobody cares about ontologies these days).
Kristaps Dzonsons [Thu, 25 Jun 2009 10:48:21 +0000 (10:48 +0000)]
Fixed STRUCTURE/SYNTAX section data.
Kristaps Dzonsons [Thu, 25 Jun 2009 08:42:06 +0000 (08:42 +0000)]
Updating web-page to be a bit more compact.
Kristaps Dzonsons [Mon, 22 Jun 2009 13:13:10 +0000 (13:13 +0000)]
Lint fixes.
Version up.
Kristaps Dzonsons [Mon, 22 Jun 2009 13:09:17 +0000 (13:09 +0000)]
libman documents require `TH' and at least one node.
libman requirements documented in man.7 STRUCTURE section.
Added STRUCTURE section to mdoc.7, too.
Kristaps Dzonsons [Mon, 22 Jun 2009 12:38:07 +0000 (12:38 +0000)]
Noted .Cd tabs-ok issue (will fix later).
Added single space to -diag lists.
Kristaps Dzonsons [Mon, 22 Jun 2009 12:22:35 +0000 (12:22 +0000)]
Added -split and -nosplit "I-Don't-Like" note to mdoc.7 (there really must be another way to do this).
Fixed .Er -width conversion.
Kristaps Dzonsons [Mon, 22 Jun 2009 12:04:05 +0000 (12:04 +0000)]
Added "Spacing" part of "Punctuation and Spacing" in mandoc.1 manual.
Fixed `Ds' meta-macro default width.
Fixed -width and -offset "indent", "indent-two", and "left" widths.
Fixed -width and -offset literal-word and numeric widths.
Fixed off-by-one errors in whitespace output (schwarze@openbsd.org).
Kristaps Dzonsons [Mon, 22 Jun 2009 10:40:04 +0000 (10:40 +0000)]
Reverted max column width 80 -> 78 (schwarze@openbsd.org).
Kristaps Dzonsons [Thu, 18 Jun 2009 20:46:19 +0000 (20:46 +0000)]
Added nchild decrement in libman (not used, but better in than forgotten).
Added nchild to libmdoc, deprecated count() functions in validator.
Kristaps Dzonsons [Thu, 18 Jun 2009 19:54:04 +0000 (19:54 +0000)]
Fixed libman .br to be a newline, not a .PP alias.
Kristaps Dzonsons [Thu, 18 Jun 2009 10:53:58 +0000 (10:53 +0000)]
Moved all formatted libman warn/error into man.c/libman.h.
Converted all formatted warn/errors into regular syntax.
Kristaps Dzonsons [Thu, 18 Jun 2009 10:32:00 +0000 (10:32 +0000)]
Added -fno-ign-chars support to libman.
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.
Kristaps Dzonsons [Thu, 18 Jun 2009 08:13:34 +0000 (08:13 +0000)]
mandoc.1 reflects actual use of -f option (schwarze@openbsd.org)
Kristaps Dzonsons [Wed, 17 Jun 2009 19:12:03 +0000 (19:12 +0000)]
Bumped version.
Removed CVS note from index (they'll contact me if they need it).
Properly ordered mandoc.1 CAVEATS/COMPATIBILITY.
Kristaps Dzonsons [Wed, 17 Jun 2009 19:02:26 +0000 (19:02 +0000)]
Removed superfluous FIXMEs (fixed already).
Kristaps Dzonsons [Wed, 17 Jun 2009 18:42:42 +0000 (18:42 +0000)]
Special characters, e.g. \(ae, are now correctly rendered in the current font decoration.
Kristaps Dzonsons [Wed, 17 Jun 2009 14:17:07 +0000 (14:17 +0000)]
Put $VFLAGS back into $LINTFLAGS (broke on NetBSD).
Kristaps Dzonsons [Wed, 17 Jun 2009 14:14:51 +0000 (14:14 +0000)]
Clean-up.
Kristaps Dzonsons [Wed, 17 Jun 2009 14:10:09 +0000 (14:10 +0000)]
Lint fixes.
Kristaps Dzonsons [Wed, 17 Jun 2009 14:08:47 +0000 (14:08 +0000)]
`Bl -column' now correctly handles tail entries (Bl -column -more... arg0...).
Kristaps Dzonsons [Wed, 17 Jun 2009 11:02:06 +0000 (11:02 +0000)]
Cleaned up .Bf validator.
Kristaps Dzonsons [Wed, 17 Jun 2009 10:53:32 +0000 (10:53 +0000)]
Section orders are more elegantly handled (MDOC_PBODY is a flag).
Cleaned up string->enum conversion for section lookup.
Kristaps Dzonsons [Wed, 17 Jun 2009 09:41:00 +0000 (09:41 +0000)]
Noted deprecation of \*( and \* special-character escapes.
Minor clean-ups.
Kristaps Dzonsons [Wed, 17 Jun 2009 07:59:47 +0000 (07:59 +0000)]
Fixed lint invocation in Makefile.
Minor cleanups in mdoc.c.
Kristaps Dzonsons [Tue, 16 Jun 2009 20:22:23 +0000 (20:22 +0000)]
Clean-up: in-source documentation.
Kristaps Dzonsons [Tue, 16 Jun 2009 19:55:28 +0000 (19:55 +0000)]
Removed MAN___: moved MAN_br to its index (comments not passed into parser).
Fix: hashtable not fully formed after removal of MDOC___.
Kristaps Dzonsons [Tue, 16 Jun 2009 19:45:51 +0000 (19:45 +0000)]
Removed MDOC___: moved MDOC_Ap to its index (comments not passed into mdoc parser).
Kristaps Dzonsons [Tue, 16 Jun 2009 19:13:28 +0000 (19:13 +0000)]
Modernised comment handling: text following \" is thrown away before
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.
Kristaps Dzonsons [Mon, 15 Jun 2009 20:26:47 +0000 (20:26 +0000)]
Removed superfluous ifdef around strftime (schwarze@openbsd.org).
Bumped version (this was supposed to be in 1.7.17).
Kristaps Dzonsons [Mon, 15 Jun 2009 11:26:17 +0000 (11:26 +0000)]
Tagging version 1.7.17.
Kristaps Dzonsons [Mon, 15 Jun 2009 11:24:16 +0000 (11:24 +0000)]
Updated www to note existence of pkgsrc/port/in-tree mdocml/mandoc.
Kristaps Dzonsons [Mon, 15 Jun 2009 10:36:01 +0000 (10:36 +0000)]
Deprecated mdoc_msg (not being used anywhere).
Kristaps Dzonsons [Mon, 15 Jun 2009 10:02:52 +0000 (10:02 +0000)]
Removed mdoc_nwarn (not being used anywhere).
Kristaps Dzonsons [Mon, 15 Jun 2009 09:55:43 +0000 (09:55 +0000)]
mdoc error/warn macros replaced with real functions for GCC2 support (miod@openbsd.org).
Kristaps Dzonsons [Mon, 15 Jun 2009 09:38:37 +0000 (09:38 +0000)]
Mdocdate fix (literals being replaced) ({cnst,schwarze}@openbsd.org).
Kristaps Dzonsons [Mon, 15 Jun 2009 09:35:16 +0000 (09:35 +0000)]
Manual-aesthetics fix (schwarze@openbsd.org).
Kristaps Dzonsons [Sat, 13 Jun 2009 18:48:21 +0000 (18:48 +0000)]
Fixed grammar error. Back-versioning to .16.
Kristaps Dzonsons [Sat, 13 Jun 2009 18:05:53 +0000 (18:05 +0000)]
Version.
Kristaps Dzonsons [Sat, 13 Jun 2009 13:02:53 +0000 (13:02 +0000)]
Updated index with "administrative" stuff (contacts, etc.).
Kristaps Dzonsons [Fri, 12 Jun 2009 12:54:04 +0000 (12:54 +0000)]
Don't run with -Werror when generating texts.
Kristaps Dzonsons [Fri, 12 Jun 2009 12:52:50 +0000 (12:52 +0000)]
Lint fixes (no effect).
Versioning up.
Kristaps Dzonsons [Fri, 12 Jun 2009 12:40:44 +0000 (12:40 +0000)]
Made per-macro "now callable" COMPATIBILITY claims into a single "most macros callable".
Added COMPATIBILITY note on escaped special-character sequences.
Vertical bar now correctly delimits (like in new groff).
Kristaps Dzonsons [Fri, 12 Jun 2009 09:18:00 +0000 (09:18 +0000)]
`Lk' is correctly handled as CALLABLE (note groff munges nested output).
`Mt' is now CALLABLE.
Fixed missing validate/action of zero-element, non-called inline elements.
Fixed missing validate/action of nested inline element re-calls.
Fixed bogus column argv index in validator.
Kristaps Dzonsons [Thu, 11 Jun 2009 20:02:37 +0000 (20:02 +0000)]
`Ft' and `Ms' are now callable and compat-noted in mdoc.7 (joerg@netbsd.org).
Kristaps Dzonsons [Thu, 11 Jun 2009 19:56:14 +0000 (19:56 +0000)]
`An' now callable, historic use noted in mdoc.7 (joerg@netbsd.org).
Kristaps Dzonsons [Thu, 11 Jun 2009 13:34:14 +0000 (13:34 +0000)]
Added automatic ChangeLog generation with each snapshot.
Added ChangeLog to main page.