]>
git.cameronkatri.com Git - mandoc.git/log
Kristaps Dzonsons [Mon, 22 Mar 2010 14:03:03 +0000 (14:03 +0000)]
Clarify -man -T[x]html handling of `br' within `B'.
Consolidated node unlinking in -man.
Conclude nested next-line scope issues noted by Ingo Schwarze.
Kristaps Dzonsons [Mon, 22 Mar 2010 05:59:32 +0000 (05:59 +0000)]
Accomodate (libman) for next-line macros followed by non-text macros `na', `sp', and `br'.
Based on a patch by Ingo Schwarze.
Kristaps Dzonsons [Sun, 21 Mar 2010 18:16:41 +0000 (18:16 +0000)]
Added Longsoon architecture (thanks Jason McIntyre, Ingo Schwarze).
Kristaps Dzonsons [Wed, 17 Feb 2010 19:56:17 +0000 (19:56 +0000)]
Added news item for new version.
Version: 1.9.15.
Kristaps Dzonsons [Wed, 17 Feb 2010 19:48:33 +0000 (19:48 +0000)]
Fixed printing of XHTML DOCTYPE "html" vs. "HTML".
Kristaps Dzonsons [Wed, 17 Feb 2010 19:31:00 +0000 (19:31 +0000)]
Updated index with new address bits and such.
Kristaps Dzonsons [Wed, 17 Feb 2010 19:28:11 +0000 (19:28 +0000)]
Made `Xr' compatible with groff calling conventions where arguments following the
trailing section are implicitly `Ns'd. Based on a patch submitted by Ingo Schwarze.
Kristaps Dzonsons [Wed, 17 Feb 2010 19:22:50 +0000 (19:22 +0000)]
Macro documentation for `Xr'.
Re-added macros following `Vt' (lost somehow?).
Removed `Xr' <3 stipulations.
Kristaps Dzonsons [Wed, 17 Feb 2010 19:22:01 +0000 (19:22 +0000)]
Removed offsets from most parts (no reason for indentation).
Using POSIX2008 idioms for examples (thanks Joerg Sonnenberger).
Removed references to fgetln().
Kristaps Dzonsons [Sat, 30 Jan 2010 08:55:39 +0000 (08:55 +0000)]
Added `Vt' double-type documentation.
Kristaps Dzonsons [Sat, 30 Jan 2010 08:42:20 +0000 (08:42 +0000)]
Fix in handling Vt in SYNOPSIS with trailing punctuation. Spotted by Joerg Sonnenberger.
Kristaps Dzonsons [Sat, 30 Jan 2010 06:55:56 +0000 (06:55 +0000)]
Mandate html attributes for xhtml.
Kristaps Dzonsons [Fri, 29 Jan 2010 14:39:37 +0000 (14:39 +0000)]
Fixed Makefile for `make lint' dep. on config.h
Added -Txhtml for XHTML output (minimal increase to programme logic). Because groff has it and it bothers me that we don't.
Kristaps Dzonsons [Thu, 28 Jan 2010 06:04:59 +0000 (06:04 +0000)]
Removed superfluous lookahead block in chars.c.
Kristaps Dzonsons [Thu, 7 Jan 2010 19:10:09 +0000 (19:10 +0000)]
Fix white-space issues found by mandoc's better white-space finder.
Fixed bogus `\\' escapes in some manuals.
Kristaps Dzonsons [Thu, 7 Jan 2010 10:24:43 +0000 (10:24 +0000)]
Check for white-space at the end of free-form text. Lack of check spotted by Jason McIntyre.
Kristaps Dzonsons [Thu, 7 Jan 2010 10:05:24 +0000 (10:05 +0000)]
Check for white-space at end of stand-alone macro line.
Kristaps Dzonsons [Thu, 7 Jan 2010 09:16:19 +0000 (09:16 +0000)]
mandoc_char(7) sync with OpenBSD version.
Kristaps Dzonsons [Tue, 5 Jan 2010 19:51:10 +0000 (19:51 +0000)]
Removed references to `\\' escape (noted by Jason McIntyre, Ingo Schwarze).
Kristaps Dzonsons [Tue, 5 Jan 2010 19:47:29 +0000 (19:47 +0000)]
Fixed -column widths to be string literals (as per mdoc.samples: surprise!). (Jason McIntyre, Ingo Schwarze)
Remove trailing whitespace. (Jason McIntyre, Ingo Schwarze).
Remove reference to `\\', which is a groff strangeism. (Jason McIntyre, Ingo Schwarze).
Kristaps Dzonsons [Fri, 1 Jan 2010 19:22:56 +0000 (19:22 +0000)]
Version (pre): 1.9.15-pre2
Kristaps Dzonsons [Fri, 1 Jan 2010 18:33:51 +0000 (18:33 +0000)]
Fix of subtle, but significant, resetting of tags when in list mode. Pointed out by Ingo Schwarze.
Kristaps Dzonsons [Fri, 1 Jan 2010 18:01:40 +0000 (18:01 +0000)]
More in-code documentation and clarity re-arrangements.
Kristaps Dzonsons [Fri, 1 Jan 2010 17:25:07 +0000 (17:25 +0000)]
CFLAGS need -Werror to make the strlcpy/strlcat check work.
Kristaps Dzonsons [Fri, 1 Jan 2010 17:14:26 +0000 (17:14 +0000)]
Big check-in of compatibility layer. This should work on most major architectures. Thanks to Joerg Sonnenberger.
Kristaps Dzonsons [Fri, 1 Jan 2010 16:52:00 +0000 (16:52 +0000)]
Noted non-accepted comment syntax (thanks Joerg Sonnenberger).
Kristaps Dzonsons [Fri, 1 Jan 2010 16:27:32 +0000 (16:27 +0000)]
Issue of `Pa' put to rest by Jason McIntyre. Noted in COMPATIBILITY.
Kristaps Dzonsons [Fri, 1 Jan 2010 15:14:03 +0000 (15:14 +0000)]
`Bl' lets `Sm' slip by as a child. Noted by Ingo Schwarze.
Kristaps Dzonsons [Fri, 1 Jan 2010 14:32:52 +0000 (14:32 +0000)]
Correct handling of arbitrary column lengths, which groff handles differently depending on number of visible columns.
Kristaps Dzonsons [Fri, 1 Jan 2010 14:27:59 +0000 (14:27 +0000)]
Cleaned-up column handling to be char-compatible with groff (thanks Ingo Schwarze).
Fixed assertion in exceeded rmargin by ridiculous columns.
Kristaps Dzonsons [Fri, 1 Jan 2010 13:35:30 +0000 (13:35 +0000)]
Documented `Fl' in mdoc.7.
Backed out stipulation that `Fl ""' is ignored: this is not the case in !OpenBSD groffs.
Kristaps Dzonsons [Fri, 1 Jan 2010 13:17:58 +0000 (13:17 +0000)]
`Fl' has each argument be in a separate scope (thanks Ingo Schwarze).
Situation of `Fl [arg]* "" [arg]*' is fixed: empty arguments are ignored. Note that OpenBSD crashes when this happens.
Situation of `Fl' is fixed wrt trailing whitespace.
Kristaps Dzonsons [Wed, 2 Dec 2009 10:16:55 +0000 (10:16 +0000)]
Fixed handling of exampledir (pointed out by Ulrich Sporlein, forgotten, discovered again).
Kristaps Dzonsons [Mon, 16 Nov 2009 10:05:29 +0000 (10:05 +0000)]
Version: 1.9.14.
Kristaps Dzonsons [Mon, 16 Nov 2009 09:52:47 +0000 (09:52 +0000)]
More clarification in manuals. Added per-OUTPUT section in mandoc.1.
Kristaps Dzonsons [Mon, 16 Nov 2009 08:46:58 +0000 (08:46 +0000)]
Enabled -Thtml -mdoc to work with \f (see compat notes in mandoc.1).
Kristaps Dzonsons [Mon, 16 Nov 2009 06:07:49 +0000 (06:07 +0000)]
Abstraction of -Thtml -man font setting (still experimental).
Kristaps Dzonsons [Sun, 15 Nov 2009 06:53:59 +0000 (06:53 +0000)]
Fixed -Thtml -man PP left- and top-margin.
Kristaps Dzonsons [Sun, 15 Nov 2009 06:45:31 +0000 (06:45 +0000)]
\f escapes appear to work properly for -Thtml -man. Needs more testing.
Kristaps Dzonsons [Sat, 14 Nov 2009 19:23:58 +0000 (19:23 +0000)]
Initial check-in of -man -Thtml \f support (needs testing).
Kristaps Dzonsons [Sat, 14 Nov 2009 12:04:59 +0000 (12:04 +0000)]
Removed superfluous HTML_NEWLINE.
Kristaps Dzonsons [Sat, 14 Nov 2009 12:00:24 +0000 (12:00 +0000)]
Fix of fix of -Thtml nospace.
Kristaps Dzonsons [Sat, 14 Nov 2009 11:58:36 +0000 (11:58 +0000)]
Fixed \c handling in -Thtml.
Kristaps Dzonsons [Thu, 12 Nov 2009 08:21:05 +0000 (08:21 +0000)]
Fixed \c support for all input and output modes (documented in mandoc_char.7).
Kristaps Dzonsons [Thu, 12 Nov 2009 08:00:21 +0000 (08:00 +0000)]
Deprecated ".i <notext>" support (nobody uses it -- it can be re-added, but adds a bit of complexity that I'd rather avoid).
Kristaps Dzonsons [Thu, 12 Nov 2009 05:58:30 +0000 (05:58 +0000)]
FreeBSD sys/types inclusion fixed.
Kristaps Dzonsons [Thu, 12 Nov 2009 05:50:12 +0000 (05:50 +0000)]
Basically re-wrote -Tascii font handling: instead of incrementers for
bold and underline, we use a stack (no cascading, no double-font-mode).
Font modes with \f only affect the current stack point, as documented in
mdoc.7 and man.7. While -mdoc stacks fonts with embedded macros, -man
replaces them (the stack is always size 1). This works for all
invocations in supported systems' manual corpora to date. It doesn't
support groff's insanity with line-scoped \f as documented in mdoc.7.
Kristaps Dzonsons [Thu, 12 Nov 2009 05:02:56 +0000 (05:02 +0000)]
Removed superfluous monospace note in example.style.css (they're all monospace).
Kristaps Dzonsons [Wed, 11 Nov 2009 20:16:10 +0000 (20:16 +0000)]
Protected example.style.css from cascading styles.
Kristaps Dzonsons [Tue, 10 Nov 2009 16:32:00 +0000 (16:32 +0000)]
Lint fixes in function call.
Kristaps Dzonsons [Tue, 10 Nov 2009 16:20:22 +0000 (16:20 +0000)]
(Forgot to update html.h with metafonts. Build will puke on check-out.)
Kristaps Dzonsons [Tue, 10 Nov 2009 12:03:29 +0000 (12:03 +0000)]
Noted that -man text decoration is re-set when exiting a macro invocation.
Kristaps Dzonsons [Tue, 10 Nov 2009 11:45:57 +0000 (11:45 +0000)]
Disable metafonts when printing document footer.
Kristaps Dzonsons [Mon, 9 Nov 2009 05:11:46 +0000 (05:11 +0000)]
Documented \s and cleaned up \f documentation in mdoc.7, man.7.
-Thtml now using a2roffdeco().
Kristaps Dzonsons [Sun, 8 Nov 2009 09:23:35 +0000 (09:23 +0000)]
a2roffdeco() now supports \s escapes.
Kristaps Dzonsons [Sat, 7 Nov 2009 14:14:15 +0000 (14:14 +0000)]
Hooked up -Tascii to a2roffdeco backend.
Kristaps Dzonsons [Sat, 7 Nov 2009 08:26:45 +0000 (08:26 +0000)]
Initial abstraction of front-end decoration events (special characters, text decorations, etc.).
Kristaps Dzonsons [Fri, 6 Nov 2009 10:31:31 +0000 (10:31 +0000)]
-Tascii now correctly ignores \s clauses.
Kristaps Dzonsons [Thu, 5 Nov 2009 10:16:01 +0000 (10:16 +0000)]
Documented that `\s' and `\f' don't work in HTML mode (and why).
Added support for recognising the many forms of `\s' (doesn't yet render).
Kristaps Dzonsons [Thu, 5 Nov 2009 08:40:16 +0000 (08:40 +0000)]
Correct support for `\fX' font modes in -Tascii.
Kristaps Dzonsons [Thu, 5 Nov 2009 08:39:36 +0000 (08:39 +0000)]
Consolidated `RI' and `IR' handlers (-man -Tascii).
Kristaps Dzonsons [Thu, 5 Nov 2009 08:37:12 +0000 (08:37 +0000)]
Fixed `RI' (was reversed).
Kristaps Dzonsons [Thu, 5 Nov 2009 07:21:01 +0000 (07:21 +0000)]
Added functionality of -Tascii non-breaking `\~' space.
Kristaps Dzonsons [Wed, 4 Nov 2009 08:07:59 +0000 (08:07 +0000)]
(Fix again for default `Bf Li' font.)
Kristaps Dzonsons [Wed, 4 Nov 2009 08:07:31 +0000 (08:07 +0000)]
Fixed `Bf Li' default style (monospace).
Kristaps Dzonsons [Mon, 2 Nov 2009 17:37:19 +0000 (17:37 +0000)]
Version: 1.9.13.
Kristaps Dzonsons [Mon, 2 Nov 2009 17:07:30 +0000 (17:07 +0000)]
Examples not being link-referenced (consistency).
Kristaps Dzonsons [Mon, 2 Nov 2009 11:39:40 +0000 (11:39 +0000)]
Copied over and modified manual structure from man.7.
Kristaps Dzonsons [Mon, 2 Nov 2009 09:56:42 +0000 (09:56 +0000)]
Fixed `Sx' links in man.7 (todo: add a check for these).
Kristaps Dzonsons [Mon, 2 Nov 2009 09:53:15 +0000 (09:53 +0000)]
Significant improvements to man(7). More or less finished.
Kristaps Dzonsons [Mon, 2 Nov 2009 08:40:31 +0000 (08:40 +0000)]
Fix in junking dot lines in -man (from PR by Alex Kozlov).
Kristaps Dzonsons [Mon, 2 Nov 2009 08:29:25 +0000 (08:29 +0000)]
Added forgotten newline terminators in main.c.
Kristaps Dzonsons [Mon, 2 Nov 2009 08:13:48 +0000 (08:13 +0000)]
Added lint to __attribute__ defines.
Kristaps Dzonsons [Mon, 2 Nov 2009 08:08:23 +0000 (08:08 +0000)]
Using straight-up __attribute__ (inspired by portable openssh).
Kristaps Dzonsons [Mon, 2 Nov 2009 06:22:44 +0000 (06:22 +0000)]
Added mandoc_a2time() for proper date conversion.
Fitted TH and Dd handlers to use mandoc_a2time().
Documented date syntax for -man, fixed documentation for -mdoc.
Kristaps Dzonsons [Sun, 1 Nov 2009 15:34:44 +0000 (15:34 +0000)]
Lint fix.
Kristaps Dzonsons [Sun, 1 Nov 2009 15:34:15 +0000 (15:34 +0000)]
Using putchar for single-character prints (noted by Joerg Sonnenberger).
Kristaps Dzonsons [Sun, 1 Nov 2009 08:15:20 +0000 (08:15 +0000)]
print_encode() using strcspn instead of looping/putchar() (noted by Joerg Sonnenberger).
Kristaps Dzonsons [Sun, 1 Nov 2009 07:44:32 +0000 (07:44 +0000)]
Replaced putchar() loop with fwrite() (noted by Joerg Sonnenberger).
Kristaps Dzonsons [Sun, 1 Nov 2009 07:34:22 +0000 (07:34 +0000)]
More libraries entered into lib.in (thanks Joerg Sonnenberger).
Kristaps Dzonsons [Sat, 31 Oct 2009 08:37:26 +0000 (08:37 +0000)]
Finished section-by-section definitions in man.7 (will be used as baseline for mdoc.7).
Kristaps Dzonsons [Sat, 31 Oct 2009 08:34:12 +0000 (08:34 +0000)]
Fixed -Thtml printing of -ohang lists (-mdoc).
Fixed validation of -ohang lists as having no widths.
Kristaps Dzonsons [Sat, 31 Oct 2009 06:50:25 +0000 (06:50 +0000)]
Patch on DragonFly BSD syntax (thanks Sascha Wildner).
Noted inclusion into DragonFly BSD (thanks Sascha Wildner).
Kristaps Dzonsons [Sat, 31 Oct 2009 06:38:08 +0000 (06:38 +0000)]
Fixed in make dist (in version 1.9.12).
Kristaps Dzonsons [Sat, 31 Oct 2009 06:23:28 +0000 (06:23 +0000)]
Version: 1.9.12.
Kristaps Dzonsons [Sat, 31 Oct 2009 06:17:19 +0000 (06:17 +0000)]
Removed non-portable __progname (thanks Joerg Sonnenberger).
Kristaps Dzonsons [Sat, 31 Oct 2009 06:10:57 +0000 (06:10 +0000)]
Using perror() instead of fprintf for failure from library functions.
Kristaps Dzonsons [Fri, 30 Oct 2009 18:53:08 +0000 (18:53 +0000)]
More lint fixes.
Removed err.h from inclusions (less main.c--still in progress).
Kristaps Dzonsons [Fri, 30 Oct 2009 18:50:11 +0000 (18:50 +0000)]
Lint fixes.
Made realloc puke with fprintf.
Kristaps Dzonsons [Fri, 30 Oct 2009 18:43:24 +0000 (18:43 +0000)]
Continued safe handling of allocations.
Kristaps Dzonsons [Fri, 30 Oct 2009 05:58:36 +0000 (05:58 +0000)]
libmdoc and libman now using non-recoverable allocations (simpler code).
Kristaps Dzonsons [Fri, 30 Oct 2009 04:57:17 +0000 (04:57 +0000)]
Added newline after block-level closing tags (suggested by Joerg Sonnenberger).
Kristaps Dzonsons [Thu, 29 Oct 2009 04:34:38 +0000 (04:34 +0000)]
Clean-ups in mdoc_action (using libmandoc.h functions).
Kristaps Dzonsons [Wed, 28 Oct 2009 19:21:59 +0000 (19:21 +0000)]
Slow movement of internal allocations to fail completely.
Kristaps Dzonsons [Wed, 28 Oct 2009 08:08:53 +0000 (08:08 +0000)]
Using "--warn" for validate, plus some accessibility fixes.
Kristaps Dzonsons [Wed, 28 Oct 2009 08:00:17 +0000 (08:00 +0000)]
Fixed `sp', `br', `Pp', etc. so as not to have an empty div (-Thtml, -man, -mdoc).
Made html_idcat be completely correct (messy standard) (-Thtml).
Fixed warnings about -ohang and -item lists (-Thtml, -mdoc).
Fixed typo in index.sgml.
Kristaps Dzonsons [Wed, 28 Oct 2009 06:54:12 +0000 (06:54 +0000)]
Removed superfluous memset (thanks Joerg Sonnenberger).
Kristaps Dzonsons [Wed, 28 Oct 2009 05:08:17 +0000 (05:08 +0000)]
Fixed un-reset buffer in `.In', -Thtml, -mdoc.
Added html_id[cat,cpy] for transforming id's into well-formed attribute strings (no %s, etc.).
Kristaps Dzonsons [Tue, 27 Oct 2009 08:49:44 +0000 (08:49 +0000)]
Removed dynamic allocations of header/footer data.
Kristaps Dzonsons [Tue, 27 Oct 2009 08:26:11 +0000 (08:26 +0000)]
bzero() -> memset() (noted by Joerg Sonnenberger).