]> git.cameronkatri.com Git - mandoc.git/log
mandoc.git
14 years agoInitial step in fixing badness reported by Sascha Wildner (wip).
Kristaps Dzonsons [Mon, 29 Mar 2010 04:52:14 +0000 (04:52 +0000)]
Initial step in fixing badness reported by Sascha Wildner (wip).

14 years agoFix mandoc.1 ending (noted by Sascha Wildner). VERSION_1_9_19
Kristaps Dzonsons [Sat, 27 Mar 2010 14:44:19 +0000 (14:44 +0000)]
Fix mandoc.1 ending (noted by Sascha Wildner).

14 years agoLast fix for tabs/spaces between control character and macro. egcs gcc.1 is now... VERSION_1_9_18
Kristaps Dzonsons [Sat, 27 Mar 2010 10:26:39 +0000 (10:26 +0000)]
Last fix for tabs/spaces between control character and macro.  egcs gcc.1 is now handled.

14 years ago...finishing last commit message: accept both tabs and spaces between control charact...
Kristaps Dzonsons [Sat, 27 Mar 2010 10:22:28 +0000 (10:22 +0000)]
...finishing last commit message: accept both tabs and spaces between control character and macro text.

14 years ago*** empty log message ***
Kristaps Dzonsons [Sat, 27 Mar 2010 10:21:38 +0000 (10:21 +0000)]
*** empty log message ***

14 years agoLint fixes.
Kristaps Dzonsons [Sat, 27 Mar 2010 10:13:16 +0000 (10:13 +0000)]
Lint fixes.

14 years agoLint fixes.
Kristaps Dzonsons [Sat, 27 Mar 2010 10:13:16 +0000 (10:13 +0000)]
Lint fixes.

14 years agoDocumentation of apostrophe control character.
Kristaps Dzonsons [Sat, 27 Mar 2010 10:10:10 +0000 (10:10 +0000)]
Documentation of apostrophe control character.

14 years agoFixed re-adjustment of scope in exiting roff instructions (libman).
Kristaps Dzonsons [Sat, 27 Mar 2010 10:04:56 +0000 (10:04 +0000)]
Fixed re-adjustment of scope in exiting roff instructions (libman).
Added title-case check for (libman).
Fixed premature closure of roff instruction scope (libman).
Added documentation of ignored roff macros to man(3).

14 years agoFixed misspelt "Loongson" (noted by Ingo Schwarze).
Kristaps Dzonsons [Fri, 26 Mar 2010 07:07:58 +0000 (07:07 +0000)]
Fixed misspelt "Loongson" (noted by Ingo Schwarze).

14 years agoLint fixes. VERSION_1_9_17
Kristaps Dzonsons [Thu, 25 Mar 2010 07:39:25 +0000 (07:39 +0000)]
Lint fixes.

14 years agoCleaned up version info.
Kristaps Dzonsons [Thu, 25 Mar 2010 07:38:06 +0000 (07:38 +0000)]
Cleaned up version info.

14 years agoFixed up some documentation in man.7: only documenting man.7 macros, not related...
Kristaps Dzonsons [Thu, 25 Mar 2010 07:28:16 +0000 (07:28 +0000)]
Fixed up some documentation in man.7: only documenting man.7 macros, not related ones (de, Vb, etc.), which aren't technically man.  It's an open question as to where these /should/ be documented, however.

14 years agoUsing man_node_delete() instead of man_node_free()/man_node_freelist() and friends...
Kristaps Dzonsons [Wed, 24 Mar 2010 20:10:53 +0000 (20:10 +0000)]
Using man_node_delete() instead of man_node_free()/man_node_freelist() and friends (much simpler).
Split blk_imp() into blk_exp() (explicit macros), blk_dotted() (roff macros), and the original.
Added de, dei, am, ami, and ig roff macros (for now, these are discarded within the parse).

14 years agoenum-ised rew_* return values (type-safety).
Kristaps Dzonsons [Wed, 24 Mar 2010 03:46:02 +0000 (03:46 +0000)]
enum-ised rew_* return values (type-safety).
Removed ignoring of MAN_Vb argument (symmetry).
Removed superfluous utsname inclusion.

14 years agolibman using enum mant instead of #defines for macros.
Kristaps Dzonsons [Tue, 23 Mar 2010 21:50:43 +0000 (21:50 +0000)]
libman using enum mant instead of #defines for macros.
Clean-ups, better documentation in man_hash.c.
Added extra space for "." in man_hash.c (unused for the time being).

14 years agoNoted recent updates.
Kristaps Dzonsons [Tue, 23 Mar 2010 13:53:51 +0000 (13:53 +0000)]
Noted recent updates.

14 years agoAdded stupid pod2man reserved strings.
Kristaps Dzonsons [Tue, 23 Mar 2010 13:25:01 +0000 (13:25 +0000)]
Added stupid pod2man reserved strings.

14 years agoFixed two very subtle bugs in retaining overstep and maxrmargin widths between parse...
Kristaps Dzonsons [Tue, 23 Mar 2010 12:42:22 +0000 (12:42 +0000)]
Fixed two very subtle bugs in retaining overstep and maxrmargin widths between parse sequences.

14 years agoSupport for pod2man standard header macros (Vb, Ve, Sp). Based largely on a set...
Kristaps Dzonsons [Tue, 23 Mar 2010 11:30:48 +0000 (11:30 +0000)]
Support for pod2man standard header macros (Vb, Ve, Sp).  Based largely on a set of patches by Ingo Schwarze.

14 years agoRemoved STANDARDS in mandoc_char(7), as they're no longer relevant (the manual deals...
Kristaps Dzonsons [Mon, 22 Mar 2010 21:05:36 +0000 (21:05 +0000)]
Removed STANDARDS in mandoc_char(7), as they're no longer relevant (the manual deals with input characters, not output formats).

14 years agoHave -Tlint imply -Wall and -fstrict. Based on a patch submitted by Ingo Schwarze.
Kristaps Dzonsons [Mon, 22 Mar 2010 20:43:00 +0000 (20:43 +0000)]
Have -Tlint imply -Wall and -fstrict.  Based on a patch submitted by Ingo Schwarze.

14 years agoUpdated web-site with new version. VERSION_1_9_16
Kristaps Dzonsons [Mon, 22 Mar 2010 18:30:23 +0000 (18:30 +0000)]
Updated web-site with new version.
Allowed double-rule entries in Makefile (clean-up).

14 years agoClarify -man -T[x]html handling of `br' within `B'.
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.

14 years agoAccomodate (libman) for next-line macros followed by non-text macros `na', `sp',...
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.

14 years agoAdded Longsoon architecture (thanks Jason McIntyre, Ingo Schwarze).
Kristaps Dzonsons [Sun, 21 Mar 2010 18:16:41 +0000 (18:16 +0000)]
Added Longsoon architecture (thanks Jason McIntyre, Ingo Schwarze).

14 years agoAdded news item for new version. VERSION_1_9_15
Kristaps Dzonsons [Wed, 17 Feb 2010 19:56:17 +0000 (19:56 +0000)]
Added news item for new version.
Version: 1.9.15.

14 years agoFixed printing of XHTML DOCTYPE "html" vs. "HTML".
Kristaps Dzonsons [Wed, 17 Feb 2010 19:48:33 +0000 (19:48 +0000)]
Fixed printing of XHTML DOCTYPE "html" vs. "HTML".

14 years agoUpdated index with new address bits and such.
Kristaps Dzonsons [Wed, 17 Feb 2010 19:31:00 +0000 (19:31 +0000)]
Updated index with new address bits and such.

14 years agoMade `Xr' compatible with groff calling conventions where arguments following the
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.

14 years agoMacro documentation for `Xr'.
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.

14 years agoRemoved offsets from most parts (no reason for indentation).
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().

14 years agoAdded `Vt' double-type documentation.
Kristaps Dzonsons [Sat, 30 Jan 2010 08:55:39 +0000 (08:55 +0000)]
Added `Vt' double-type documentation.

14 years agoFix in handling Vt in SYNOPSIS with trailing punctuation. Spotted by Joerg Sonnenberger.
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.

14 years agoMandate html attributes for xhtml.
Kristaps Dzonsons [Sat, 30 Jan 2010 06:55:56 +0000 (06:55 +0000)]
Mandate html attributes for xhtml.

14 years agoFixed Makefile for `make lint' dep. on config.h
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.

14 years agoRemoved superfluous lookahead block in chars.c.
Kristaps Dzonsons [Thu, 28 Jan 2010 06:04:59 +0000 (06:04 +0000)]
Removed superfluous lookahead block in chars.c.

15 years agoFix white-space issues found by mandoc's better white-space finder.
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.

15 years agoCheck for white-space at the end of free-form text. Lack of check spotted by Jason...
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.

15 years agoCheck for white-space at end of stand-alone macro line.
Kristaps Dzonsons [Thu, 7 Jan 2010 10:05:24 +0000 (10:05 +0000)]
Check for white-space at end of stand-alone macro line.

15 years agomandoc_char(7) sync with OpenBSD version.
Kristaps Dzonsons [Thu, 7 Jan 2010 09:16:19 +0000 (09:16 +0000)]
mandoc_char(7) sync with OpenBSD version.

15 years agoRemoved references to `\\' escape (noted by Jason McIntyre, Ingo Schwarze).
Kristaps Dzonsons [Tue, 5 Jan 2010 19:51:10 +0000 (19:51 +0000)]
Removed references to `\\' escape (noted by Jason McIntyre, Ingo Schwarze).

15 years agoFixed -column widths to be string literals (as per mdoc.samples: surprise!). (Jason...
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).

15 years agoVersion (pre): 1.9.15-pre2
Kristaps Dzonsons [Fri, 1 Jan 2010 19:22:56 +0000 (19:22 +0000)]
Version (pre): 1.9.15-pre2

15 years agoFix of subtle, but significant, resetting of tags when in list mode. Pointed out... VERSION_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.

15 years agoMore in-code documentation and clarity re-arrangements.
Kristaps Dzonsons [Fri, 1 Jan 2010 18:01:40 +0000 (18:01 +0000)]
More in-code documentation and clarity re-arrangements.

15 years agoCFLAGS need -Werror to make the strlcpy/strlcat check work.
Kristaps Dzonsons [Fri, 1 Jan 2010 17:25:07 +0000 (17:25 +0000)]
CFLAGS need -Werror to make the strlcpy/strlcat check work.

15 years agoBig check-in of compatibility layer. This should work on most major architectures...
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.

15 years agoNoted non-accepted comment syntax (thanks Joerg Sonnenberger). VERSION_1_9_15-pre1
Kristaps Dzonsons [Fri, 1 Jan 2010 16:52:00 +0000 (16:52 +0000)]
Noted non-accepted comment syntax (thanks Joerg Sonnenberger).

15 years agoIssue of `Pa' put to rest by Jason McIntyre. Noted in COMPATIBILITY.
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.

15 years ago`Bl' lets `Sm' slip by as a child. Noted by Ingo Schwarze.
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.

15 years agoCorrect handling of arbitrary column lengths, which groff handles differently dependi...
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.

15 years agoCleaned-up column handling to be char-compatible with groff (thanks Ingo Schwarze).
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.

15 years agoDocumented `Fl' in mdoc.7.
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.

15 years ago`Fl' has each argument be in a separate scope (thanks Ingo Schwarze).
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.

15 years agoFixed handling of exampledir (pointed out by Ulrich Sporlein, forgotten, discovered...
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).

15 years agoVersion: 1.9.14. VERSION_1_9_14
Kristaps Dzonsons [Mon, 16 Nov 2009 10:05:29 +0000 (10:05 +0000)]
Version: 1.9.14.

15 years agoMore clarification in manuals. Added per-OUTPUT section in mandoc.1.
Kristaps Dzonsons [Mon, 16 Nov 2009 09:52:47 +0000 (09:52 +0000)]
More clarification in manuals.  Added per-OUTPUT section in mandoc.1.

15 years agoEnabled -Thtml -mdoc to work with \f (see compat notes 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).

15 years agoAbstraction of -Thtml -man font setting (still experimental).
Kristaps Dzonsons [Mon, 16 Nov 2009 06:07:49 +0000 (06:07 +0000)]
Abstraction of -Thtml -man font setting (still experimental).

15 years agoFixed -Thtml -man PP left- and top-margin.
Kristaps Dzonsons [Sun, 15 Nov 2009 06:53:59 +0000 (06:53 +0000)]
Fixed -Thtml -man PP left- and top-margin.

15 years ago\f escapes appear to work properly for -Thtml -man. Needs more testing.
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.

15 years agoInitial check-in of -man -Thtml \f support (needs testing).
Kristaps Dzonsons [Sat, 14 Nov 2009 19:23:58 +0000 (19:23 +0000)]
Initial check-in of -man -Thtml \f support (needs testing).

15 years agoRemoved superfluous HTML_NEWLINE.
Kristaps Dzonsons [Sat, 14 Nov 2009 12:04:59 +0000 (12:04 +0000)]
Removed superfluous HTML_NEWLINE.

15 years agoFix of fix of -Thtml nospace.
Kristaps Dzonsons [Sat, 14 Nov 2009 12:00:24 +0000 (12:00 +0000)]
Fix of fix of -Thtml nospace.

15 years agoFixed \c handling in -Thtml.
Kristaps Dzonsons [Sat, 14 Nov 2009 11:58:36 +0000 (11:58 +0000)]
Fixed \c handling in -Thtml.

15 years agoFixed \c support for all input and output modes (documented in mandoc_char.7).
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).

15 years agoDeprecated ".i <notext>" support (nobody uses it -- it can be re-added, but adds...
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).

15 years agoFreeBSD sys/types inclusion fixed.
Kristaps Dzonsons [Thu, 12 Nov 2009 05:58:30 +0000 (05:58 +0000)]
FreeBSD sys/types inclusion fixed.

15 years agoBasically re-wrote -Tascii font handling: instead of incrementers for
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.

15 years agoRemoved superfluous monospace note in example.style.css (they're all monospace).
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).

15 years agoProtected example.style.css from cascading styles.
Kristaps Dzonsons [Wed, 11 Nov 2009 20:16:10 +0000 (20:16 +0000)]
Protected example.style.css from cascading styles.

15 years agoLint fixes in function call.
Kristaps Dzonsons [Tue, 10 Nov 2009 16:32:00 +0000 (16:32 +0000)]
Lint fixes in function call.

15 years ago(Forgot to update html.h with metafonts. Build will puke on check-out.)
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.)

15 years agoNoted that -man text decoration is re-set when exiting a macro invocation.
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.

15 years agoDisable metafonts when printing document footer.
Kristaps Dzonsons [Tue, 10 Nov 2009 11:45:57 +0000 (11:45 +0000)]
Disable metafonts when printing document footer.

15 years agoDocumented \s and cleaned up \f documentation in mdoc.7, man.7.
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().

15 years agoa2roffdeco() now supports \s escapes.
Kristaps Dzonsons [Sun, 8 Nov 2009 09:23:35 +0000 (09:23 +0000)]
a2roffdeco() now supports \s escapes.

15 years agoHooked up -Tascii to a2roffdeco backend.
Kristaps Dzonsons [Sat, 7 Nov 2009 14:14:15 +0000 (14:14 +0000)]
Hooked up -Tascii to a2roffdeco backend.

15 years agoInitial abstraction of front-end decoration events (special characters, text decorati...
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.).

15 years ago-Tascii now correctly ignores \s clauses.
Kristaps Dzonsons [Fri, 6 Nov 2009 10:31:31 +0000 (10:31 +0000)]
-Tascii now correctly ignores \s clauses.

15 years agoDocumented that `\s' and `\f' don't work in HTML mode (and why).
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).

15 years agoCorrect support for `\fX' font modes in -Tascii.
Kristaps Dzonsons [Thu, 5 Nov 2009 08:40:16 +0000 (08:40 +0000)]
Correct support for `\fX' font modes in -Tascii.

15 years agoConsolidated `RI' and `IR' handlers (-man -Tascii).
Kristaps Dzonsons [Thu, 5 Nov 2009 08:39:36 +0000 (08:39 +0000)]
Consolidated `RI' and `IR' handlers (-man -Tascii).

15 years agoFixed `RI' (was reversed).
Kristaps Dzonsons [Thu, 5 Nov 2009 08:37:12 +0000 (08:37 +0000)]
Fixed `RI' (was reversed).

15 years agoAdded functionality of -Tascii non-breaking `\~' space.
Kristaps Dzonsons [Thu, 5 Nov 2009 07:21:01 +0000 (07:21 +0000)]
Added functionality of -Tascii non-breaking `\~' space.

15 years ago(Fix again for default `Bf Li' font.)
Kristaps Dzonsons [Wed, 4 Nov 2009 08:07:59 +0000 (08:07 +0000)]
(Fix again for default `Bf Li' font.)

15 years agoFixed `Bf Li' default style (monospace).
Kristaps Dzonsons [Wed, 4 Nov 2009 08:07:31 +0000 (08:07 +0000)]
Fixed `Bf Li' default style (monospace).

15 years agoVersion: 1.9.13. VERSION_1_9_13
Kristaps Dzonsons [Mon, 2 Nov 2009 17:37:19 +0000 (17:37 +0000)]
Version: 1.9.13.

15 years agoExamples not being link-referenced (consistency).
Kristaps Dzonsons [Mon, 2 Nov 2009 17:07:30 +0000 (17:07 +0000)]
Examples not being link-referenced (consistency).

15 years agoCopied over and modified manual structure from man.7.
Kristaps Dzonsons [Mon, 2 Nov 2009 11:39:40 +0000 (11:39 +0000)]
Copied over and modified manual structure from man.7.

15 years agoFixed `Sx' links in man.7 (todo: add a check for these).
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).

15 years agoSignificant improvements to man(7). More or less finished.
Kristaps Dzonsons [Mon, 2 Nov 2009 09:53:15 +0000 (09:53 +0000)]
Significant improvements to man(7).  More or less finished.

15 years agoFix in junking dot lines in -man (from PR by Alex Kozlov).
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).

15 years agoAdded forgotten newline terminators in main.c.
Kristaps Dzonsons [Mon, 2 Nov 2009 08:29:25 +0000 (08:29 +0000)]
Added forgotten newline terminators in main.c.

15 years agoAdded lint to __attribute__ defines.
Kristaps Dzonsons [Mon, 2 Nov 2009 08:13:48 +0000 (08:13 +0000)]
Added lint to __attribute__ defines.

15 years agoUsing straight-up __attribute__ (inspired by portable openssh).
Kristaps Dzonsons [Mon, 2 Nov 2009 08:08:23 +0000 (08:08 +0000)]
Using straight-up __attribute__ (inspired by portable openssh).

15 years agoAdded mandoc_a2time() for proper date conversion.
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.

15 years agoLint fix.
Kristaps Dzonsons [Sun, 1 Nov 2009 15:34:44 +0000 (15:34 +0000)]
Lint fix.

15 years agoUsing putchar for single-character prints (noted by Joerg Sonnenberger).
Kristaps Dzonsons [Sun, 1 Nov 2009 15:34:15 +0000 (15:34 +0000)]
Using putchar for single-character prints (noted by Joerg Sonnenberger).