]>
git.cameronkatri.com Git - mandoc.git/log
Kristaps Dzonsons [Wed, 7 Apr 2010 08:17:16 +0000 (08:17 +0000)]
Breaking mdoc.7's multiline examples into sets of D1. A few errors found here and there.
Kristaps Dzonsons [Wed, 7 Apr 2010 07:49:38 +0000 (07:49 +0000)]
Bug in printing of reserved words with form \*[xxx] fixed (found by Joerg Sonnenberger).
Kristaps Dzonsons [Tue, 6 Apr 2010 17:01:27 +0000 (17:01 +0000)]
Removed warning for `Er' when not used in certain sections (pointed out by Joerg Sonnenberger).
Kristaps Dzonsons [Tue, 6 Apr 2010 16:27:53 +0000 (16:27 +0000)]
Allow `Bd' to accept (warn about then ignore) in-line arguments.
Kristaps Dzonsons [Tue, 6 Apr 2010 11:52:25 +0000 (11:52 +0000)]
Cleaned up post_bl_head() and fixed erroneous reporting of child nodes.
Kristaps Dzonsons [Tue, 6 Apr 2010 11:52:04 +0000 (11:52 +0000)]
Shortlist of changes checked in for this version.
Kristaps Dzonsons [Tue, 6 Apr 2010 11:51:44 +0000 (11:51 +0000)]
Prettyfied the stylesheet for mdocml.bsd.lv's online manuals.
Kristaps Dzonsons [Tue, 6 Apr 2010 11:33:00 +0000 (11:33 +0000)]
Migrating mdoc_node_free() and mdoc_node_freelist() to use mdoc_node_delete(), which has a more intuitive interface and mirrors libman.
Kristaps Dzonsons [Tue, 6 Apr 2010 11:28:17 +0000 (11:28 +0000)]
Let `Bl' accept arguments on the head line with a warning (these are ignored in the front-end device) (noted by Theo de Raadt).
Kristaps Dzonsons [Tue, 6 Apr 2010 11:19:57 +0000 (11:19 +0000)]
Note on `Fl' documented in mdoc.7.
Kristaps Dzonsons [Tue, 6 Apr 2010 07:27:42 +0000 (07:27 +0000)]
`Fl' now correctly suppresses the trailing space if followed by macros on the same line.
Kristaps Dzonsons [Tue, 6 Apr 2010 07:17:51 +0000 (07:17 +0000)]
Fix mdoc bug found by Claus Assmann: `Pf' should be callable.
Kristaps Dzonsons [Mon, 5 Apr 2010 10:33:20 +0000 (10:33 +0000)]
Make mathematical symbols have a longer first-column width (pointed out by Joerg Sonnenberger).
Kristaps Dzonsons [Mon, 5 Apr 2010 09:19:28 +0000 (09:19 +0000)]
Added mandoc_char.7 to installed manuals (noted by Joerg Sonnenberger).
Kristaps Dzonsons [Mon, 5 Apr 2010 09:03:12 +0000 (09:03 +0000)]
Fix issue of non-NAME sections triggering "no sections" error, reported by Christian Weisgerber, patched by Ingo Schwarze.
Kristaps Dzonsons [Mon, 5 Apr 2010 08:59:46 +0000 (08:59 +0000)]
Commited relaxation of title-less document error-out noted by Christian Weisgerber and patched by Ingo Schwarze.
Kristaps Dzonsons [Mon, 5 Apr 2010 08:51:56 +0000 (08:51 +0000)]
Fix in `Mt' mailto from a patch by Tim van der Molen.
Fixed PAIR_xxx_INIT macros -- this are to be unified.
Have `Vt', `Fn', `Ft', and `Fo' print whitespace afterward, instead of before.
Kristaps Dzonsons [Mon, 5 Apr 2010 08:45:29 +0000 (08:45 +0000)]
Enum-ised REWIND return values.
Kristaps Dzonsons [Mon, 5 Apr 2010 08:38:37 +0000 (08:38 +0000)]
Tentative fix of quoted punctuation issue noted by Jason McIntyre, e.g., `Li "!"' rendering the "!" outside of scope.
Kristaps Dzonsons [Mon, 5 Apr 2010 07:25:23 +0000 (07:25 +0000)]
Removed lingering `Sp' reference (not -man).
Kristaps Dzonsons [Mon, 5 Apr 2010 07:24:55 +0000 (07:24 +0000)]
Added generation of mdoc.h.html and man.h.html as linked from generated mdoc.3.html and man.3.html, respectively.
Kristaps Dzonsons [Sat, 3 Apr 2010 14:25:12 +0000 (14:25 +0000)]
Merged patch by Ingo Schwarze allowing `Xr' to pass through with no arguments (emits warning of course).
Kristaps Dzonsons [Sat, 3 Apr 2010 14:12:48 +0000 (14:12 +0000)]
Modified version of Ingo Schwarze's patch so that -man doesn't puke when a TH isn't specified.
Kristaps Dzonsons [Sat, 3 Apr 2010 14:02:10 +0000 (14:02 +0000)]
Merged Ingo Schwarze's patch (plus documentation) for removing extraneous list types, which happens fairly often.
Kristaps Dzonsons [Sat, 3 Apr 2010 13:02:35 +0000 (13:02 +0000)]
Merging patch by Ingo Schwarze.
Kristaps Dzonsons [Sat, 3 Apr 2010 12:46:35 +0000 (12:46 +0000)]
Removed erroneous `{' and `}' as punctuation (see mdoc.samples "General Syntax" for why this mistake was made). Noted by Ingo Schwarze.
Lines of text now break at a hyphen, unless the hyphen is the first or second subsequent in a word. Inspired by a Ingo Schwarze's patch.
Kristaps Dzonsons [Wed, 31 Mar 2010 08:42:40 +0000 (08:42 +0000)]
Added new version information. Fixing up Makefile a bit.
Kristaps Dzonsons [Wed, 31 Mar 2010 08:04:57 +0000 (08:04 +0000)]
Fixed fatal bug in Xo/Xc patch that caused segfaults with last-child explicit-scope macros.
Kristaps Dzonsons [Wed, 31 Mar 2010 07:42:04 +0000 (07:42 +0000)]
Re-adjusting UGLY tags.
Fixed removed assignment of type.
Removed superfluous checks of mdoc_argflags (from days when comments were a macro tag).
Kristaps Dzonsons [Wed, 31 Mar 2010 07:13:53 +0000 (07:13 +0000)]
Macro types enum-ated (enum mdoct) (for easier debugging in gdb of "tok" values).
Initial check-in of Ingo Schwarze's patch for Xo/Xc handling (in blocks ifdef'd "UGLY").
Put Oc-close-Op parts into UGLY ifdef blocks.
Kristaps Dzonsons [Wed, 31 Mar 2010 06:37:57 +0000 (06:37 +0000)]
Whitespace fix.
Kristaps Dzonsons [Wed, 31 Mar 2010 06:29:42 +0000 (06:29 +0000)]
Version (bug-fix).
Kristaps Dzonsons [Tue, 30 Mar 2010 19:20:33 +0000 (19:20 +0000)]
Escape TH -> Th (noticed by Joerg Sonnenberger).
Moved pod2man escapes into man.3 (they're not part of -man or -mdoc, technically).
Kristaps Dzonsons [Tue, 30 Mar 2010 08:24:01 +0000 (08:24 +0000)]
Modified in_line_eoln() to handle leading punctuation.
Kristaps Dzonsons [Tue, 30 Mar 2010 06:52:08 +0000 (06:52 +0000)]
Last remaining bits for leading-punctuation in blk_exp().
Kristaps Dzonsons [Mon, 29 Mar 2010 19:45:42 +0000 (19:45 +0000)]
Fixed segfault with accidentally-munged tree.
Kristaps Dzonsons [Mon, 29 Mar 2010 19:28:04 +0000 (19:28 +0000)]
Integrate Ingo Schwarze's patch for mdoc_iscdelim() (tri-state for opening and closing macro punctuation).
Modify blk_part_exp() to correctly handle leading punctuation before HEAD.
Significantly clean up and document blk_part_exp().
Modify blk_part_imp() for to correctly handle leading punctuation before HEAD.
Significantly clean up and document blk_part_imp().
Integrate Ingo Schwarze's patch for args() (using new mdoc_iscdelim() format).
Documented bad `Ec' handling for later work in mdoc_term.c/mdoc_html.c.
Kristaps Dzonsons [Mon, 29 Mar 2010 10:10:35 +0000 (10:10 +0000)]
Final (?) fix to issue pointed out by Sascha Wildner: roff instructions clobbering prior scope rules and line modes.
Kristaps Dzonsons [Mon, 29 Mar 2010 04:52:14 +0000 (04:52 +0000)]
Initial step in fixing badness reported by Sascha Wildner (wip).
Kristaps Dzonsons [Sat, 27 Mar 2010 14:44:19 +0000 (14:44 +0000)]
Fix mandoc.1 ending (noted by Sascha Wildner).
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.
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.
Kristaps Dzonsons [Sat, 27 Mar 2010 10:21:38 +0000 (10:21 +0000)]
*** empty log message ***
Kristaps Dzonsons [Sat, 27 Mar 2010 10:13:16 +0000 (10:13 +0000)]
Lint fixes.
Kristaps Dzonsons [Sat, 27 Mar 2010 10:13:16 +0000 (10:13 +0000)]
Lint fixes.
Kristaps Dzonsons [Sat, 27 Mar 2010 10:10:10 +0000 (10:10 +0000)]
Documentation of apostrophe control character.
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).
Kristaps Dzonsons [Fri, 26 Mar 2010 07:07:58 +0000 (07:07 +0000)]
Fixed misspelt "Loongson" (noted by Ingo Schwarze).
Kristaps Dzonsons [Thu, 25 Mar 2010 07:39:25 +0000 (07:39 +0000)]
Lint fixes.
Kristaps Dzonsons [Thu, 25 Mar 2010 07:38:06 +0000 (07:38 +0000)]
Cleaned up version info.
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.
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).
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.
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).
Kristaps Dzonsons [Tue, 23 Mar 2010 13:53:51 +0000 (13:53 +0000)]
Noted recent updates.
Kristaps Dzonsons [Tue, 23 Mar 2010 13:25:01 +0000 (13:25 +0000)]
Added stupid pod2man reserved strings.
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.
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.
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).
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.
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).
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.