]>
git.cameronkatri.com Git - mandoc.git/log
Kristaps Dzonsons [Wed, 7 Oct 2009 15:03:21 +0000 (15:03 +0000)]
Fixed superfluous function declaration (spotted by Ulrich Sporlein).
Kristaps Dzonsons [Wed, 7 Oct 2009 14:52:35 +0000 (14:52 +0000)]
Fix operator overloading (submitted by Ulrich Sporlein, uqs@spoerlein.net).
Kristaps Dzonsons [Wed, 7 Oct 2009 14:50:28 +0000 (14:50 +0000)]
Lint-ified.
Kristaps Dzonsons [Wed, 7 Oct 2009 14:39:00 +0000 (14:39 +0000)]
Made default string units (-Thtml -mdoc) to use `m' and not `n' scaling (better more than less).
Fixed -column widths for -Thtml -mdoc.
Fixed left-hand margin padding for -Thtml -mdoc.
Kristaps Dzonsons [Wed, 7 Oct 2009 14:37:13 +0000 (14:37 +0000)]
Set field widths n -> m.
Kristaps Dzonsons [Wed, 7 Oct 2009 12:35:23 +0000 (12:35 +0000)]
Additions to -Tman -Thtml: all structural components tested & in place.
Fitted both -Thtml with handling of arbitrary vertical and horizontal scaling units (see groff(7)). Undocumented until fitted into -Tascii (next release).
Kristaps Dzonsons [Wed, 7 Oct 2009 12:20:20 +0000 (12:20 +0000)]
`Bd' literals in -Tascii -mdoc were losing the first line's newline. Fixed.
Kristaps Dzonsons [Wed, 7 Oct 2009 12:19:39 +0000 (12:19 +0000)]
Header buffers in -man -Tascii are static.
Kristaps Dzonsons [Sun, 4 Oct 2009 15:24:54 +0000 (15:24 +0000)]
Structural components of -man -Thtml in place (note that HP is the same as IP, as HTML doesn't "do" this construction without fixed page widths).
Kristaps Dzonsons [Sun, 4 Oct 2009 10:24:31 +0000 (10:24 +0000)]
Initial IP implementation in -Thtml -man.
Kristaps Dzonsons [Sun, 4 Oct 2009 09:35:26 +0000 (09:35 +0000)]
SS, SH, PP, P, LP, br, sp tags in -man -Thtml.
Kristaps Dzonsons [Sun, 4 Oct 2009 09:02:40 +0000 (09:02 +0000)]
Example style-sheet reflecting modified section/subsection style tags.
Added ATTR_ID and so forth to attrs.
Kristaps Dzonsons [Sun, 4 Oct 2009 09:00:40 +0000 (09:00 +0000)]
Section/subsection anchor names (<a name=xxx>) replaced with (div id=xxx) (noted by joerg@netbsd.org)
Removed superfluous span tags within section/subsection divs (noted by joerg@netbsd.org).
Kristaps Dzonsons [Sat, 3 Oct 2009 19:57:53 +0000 (19:57 +0000)]
Added initial -man framework for -Thtml.
Kristaps Dzonsons [Sat, 3 Oct 2009 19:02:45 +0000 (19:02 +0000)]
`Fn' does not print empty ftype span.
-Tascii `node' and `meta' args in DECL_ARGS renamed to `n' and `m' to be more coherent with -Thtml.
Kristaps Dzonsons [Sat, 3 Oct 2009 16:37:23 +0000 (16:37 +0000)]
Lintified (noops).
Kristaps Dzonsons [Sat, 3 Oct 2009 16:36:06 +0000 (16:36 +0000)]
Fixed mandoc.1 examples (new -Thtml options).
Fixed manuals to use `In', not `Fd'.
Moved buf* functions into html.c.
Kristaps Dzonsons [Sat, 3 Oct 2009 15:26:26 +0000 (15:26 +0000)]
Added the -oincludes=FMT option.
The `In' handler now decorates with a hyperlink.
If no -oman= or -oincludes= is stipulated, no link is printed (but the text is still style-decorated).
Kristaps Dzonsons [Sat, 3 Oct 2009 15:08:09 +0000 (15:08 +0000)]
Element tag buffer is now part of struct html.
buffmt() can be called in sequence.
Noted BUFSIZ-sized buffer in CAVEATS (attribute length for link formats).
Added -oman=FMT -Thtml option for `Xr' manual links.
Removed -obase=URI -Thtml option (obsolete).
Kristaps Dzonsons [Mon, 28 Sep 2009 22:09:08 +0000 (22:09 +0000)]
Compat fix in mdoc.7 (joerg@netbsd.org).
Kristaps Dzonsons [Sun, 27 Sep 2009 17:11:48 +0000 (17:11 +0000)]
Fix typo in st.in (Alan Bueno, alan.bsd@gmail.com)
Kristaps Dzonsons [Sat, 26 Sep 2009 18:31:36 +0000 (18:31 +0000)]
SYNOPSIS functions in -Thtml text-indent and group paramters (as nroff does).
Kristaps Dzonsons [Sat, 26 Sep 2009 18:02:51 +0000 (18:02 +0000)]
Fixed -Thtml handling of -compact lists.
Fixed -Thtml handling of `Bd' prior vspace and embedded macros.
Kristaps Dzonsons [Sat, 26 Sep 2009 17:35:49 +0000 (17:35 +0000)]
Fixed `Bd' prior vertical space (was ignoring -compact).
Fixed effect of embedding macros in `Bd' (was printing all on each line instead of grouping).
Kristaps Dzonsons [Fri, 25 Sep 2009 14:13:16 +0000 (14:13 +0000)]
Changed stylesheet used for local documents.
Kristaps Dzonsons [Fri, 25 Sep 2009 14:07:51 +0000 (14:07 +0000)]
Temporarily disabled ChangeLog.html (server's hosed and doesn't have xsltproc).
Kristaps Dzonsons [Fri, 25 Sep 2009 13:33:47 +0000 (13:33 +0000)]
Version: 1.9.6.
Kristaps Dzonsons [Fri, 25 Sep 2009 13:00:13 +0000 (13:00 +0000)]
Lint check (noop).
Kristaps Dzonsons [Fri, 25 Sep 2009 12:43:05 +0000 (12:43 +0000)]
Changed -Thtml document header to be 10/80/10 with no wrapping of the middle.
Kristaps Dzonsons [Thu, 24 Sep 2009 23:54:43 +0000 (23:54 +0000)]
-Tascii correctly prints `%T' in `Rs' with quotes.
-Thtml behaves like -Tascii for printing.
Printing of `Rs' elements cross-checked with new groff.
Kristaps Dzonsons [Thu, 24 Sep 2009 15:08:41 +0000 (15:08 +0000)]
Fixed segfault in `Rs' empty block.
Kristaps Dzonsons [Thu, 24 Sep 2009 15:05:56 +0000 (15:05 +0000)]
Lint-fixes (noop).
Kristaps Dzonsons [Thu, 24 Sep 2009 15:01:06 +0000 (15:01 +0000)]
Added EBADCHILD error (bad child of parent context).
`Rs' post-checks that all children are proper bibliographic elements.
`Rs' correctly re-orders its children as per groff's output (including %C).
Kristaps Dzonsons [Thu, 24 Sep 2009 13:18:37 +0000 (13:18 +0000)]
Proper handling of `Rs' blocks in -Thtml.
Kristaps Dzonsons [Thu, 24 Sep 2009 13:03:32 +0000 (13:03 +0000)]
-offset string can now be blank (supplied with 6n as stipulated by mdoc.samples).
Kristaps Dzonsons [Thu, 24 Sep 2009 11:55:28 +0000 (11:55 +0000)]
Fix in -Tascii where `Lb' causes line-break in any section (should only happen in LIBRARY).
`Fn' first parameter is broken apart into ftype and fname in -Thtml (for correct style application).
Fixed \0 special character.
Kristaps Dzonsons [Thu, 24 Sep 2009 11:05:45 +0000 (11:05 +0000)]
Sync'd example style-sheet to be more like OpenBSD's default (KISS).
-Thtml and -Tascii now have equivalent functionality.
Kristaps Dzonsons [Thu, 24 Sep 2009 09:50:31 +0000 (09:50 +0000)]
Added Bf, Pf, etc. to -Thtml.
Fixed Rs in -Tascii to behave properly when not in "SEE ALSO" section.
Kristaps Dzonsons [Thu, 24 Sep 2009 09:20:02 +0000 (09:20 +0000)]
Many more macros added to -Thtml.
Minor space issues fixed in -Tascii.
Kristaps Dzonsons [Wed, 23 Sep 2009 11:53:45 +0000 (11:53 +0000)]
FreeBSD compile fixes (uqs@spoerlein.net).
Kristaps Dzonsons [Wed, 23 Sep 2009 11:02:21 +0000 (11:02 +0000)]
All special characters sync'd with groff, both -Thtml and -Tascii.
Re-added text links to index.sgml (just for show).
Kristaps Dzonsons [Wed, 23 Sep 2009 09:10:52 +0000 (09:10 +0000)]
Sync'd currency symbols with newest groff.
Kristaps Dzonsons [Wed, 23 Sep 2009 09:06:44 +0000 (09:06 +0000)]
Sync'd special letters and ligatures with newest groff.
Kristaps Dzonsons [Wed, 23 Sep 2009 01:04:11 +0000 (01:04 +0000)]
Arrows & brackets sync'd with newest groff.
Kristaps Dzonsons [Wed, 23 Sep 2009 00:03:45 +0000 (00:03 +0000)]
Quotes sync'd with newest groff.
Kristaps Dzonsons [Tue, 22 Sep 2009 23:34:14 +0000 (23:34 +0000)]
Accent marks sync'd with current groff.
Kristaps Dzonsons [Tue, 22 Sep 2009 23:15:58 +0000 (23:15 +0000)]
Many more UTF-8 symbols in place.
Started partitioning chars.in into sections corresponding to mandoc_char.7.
Correctly ordered Greek letters.
Sync'd all mathematical and logical symbols with current groff.
Kristaps Dzonsons [Tue, 22 Sep 2009 16:10:52 +0000 (16:10 +0000)]
Fix segfault in -Thtml column lists.
Added some more UTF-8 chars.
mandoc_char.7 now has all special characters rendered.
Fixed column layout in -Thtml.
Kristaps Dzonsons [Tue, 22 Sep 2009 10:11:57 +0000 (10:11 +0000)]
Fixed some characters.
Initial push of mandoc_char showing the current character rendering (useful for testing, too).
Kristaps Dzonsons [Tue, 22 Sep 2009 10:07:01 +0000 (10:07 +0000)]
Many more characters for HMTL (mostly Greek).
Kristaps Dzonsons [Mon, 21 Sep 2009 23:12:08 +0000 (23:12 +0000)]
A few more macros in -Thtml.
Kristaps Dzonsons [Mon, 21 Sep 2009 16:05:05 +0000 (16:05 +0000)]
Added chars.h to HEADS.
Kristaps Dzonsons [Mon, 21 Sep 2009 16:03:07 +0000 (16:03 +0000)]
Added html.h to headers that should be distributed.
Kristaps Dzonsons [Mon, 21 Sep 2009 15:12:03 +0000 (15:12 +0000)]
Wrong stylesheet in xsl.
Kristaps Dzonsons [Mon, 21 Sep 2009 15:01:33 +0000 (15:01 +0000)]
Version: 1.9.5.
Kristaps Dzonsons [Mon, 21 Sep 2009 14:56:56 +0000 (14:56 +0000)]
Split html.c into html.h, mdoc_html.c, man_html.c.
Kristaps Dzonsons [Mon, 21 Sep 2009 14:40:31 +0000 (14:40 +0000)]
Removed man handling in -Thtml (for now).
Added some UTF chars to chars.in.
Kristaps Dzonsons [Mon, 21 Sep 2009 14:08:13 +0000 (14:08 +0000)]
Fix height of hard-breaks in -Thtml.
Kristaps Dzonsons [Mon, 21 Sep 2009 14:07:07 +0000 (14:07 +0000)]
Consolidation of Pp/sp/br/Lp stuff.
Kristaps Dzonsons [Mon, 21 Sep 2009 13:47:40 +0000 (13:47 +0000)]
Fix in outopts processing.
Kristaps Dzonsons [Mon, 21 Sep 2009 13:44:56 +0000 (13:44 +0000)]
Fixed body/divbody structure of html pages.
Added example style.css (example.style.css).
Enabled using -Thtml to generate manuals in Makefile.
Stopped making text manuals for webpage.
Kristaps Dzonsons [Mon, 21 Sep 2009 13:43:21 +0000 (13:43 +0000)]
getsubopt() is in unistd.h, not stdlib.h (error in xBSD manuals).
Kristaps Dzonsons [Mon, 21 Sep 2009 13:42:01 +0000 (13:42 +0000)]
Lint pass (OpenBSD-alpha). Noops.
Kristaps Dzonsons [Mon, 21 Sep 2009 13:06:13 +0000 (13:06 +0000)]
Removed new-born out.{h,c} (not a good idea).
Removed if 0 for HTML-mode output (why not).
Added option -oxxxx for passing options to output devices.
Kristaps Dzonsons [Mon, 21 Sep 2009 09:32:30 +0000 (09:32 +0000)]
Added example stylesheet.
Kristaps Dzonsons [Mon, 21 Sep 2009 00:39:02 +0000 (00:39 +0000)]
Tentative addition of front-end utility functions (out.h) (not sure if it's necessary).
More -Thtml installments.
Kristaps Dzonsons [Sun, 20 Sep 2009 19:44:16 +0000 (19:44 +0000)]
Using inline-blocks for header and footer (works much better).
Kristaps Dzonsons [Sun, 20 Sep 2009 19:25:06 +0000 (19:25 +0000)]
Headers and footers in -Thtml. Various minor additions.
Kristaps Dzonsons [Sun, 20 Sep 2009 17:48:13 +0000 (17:48 +0000)]
Bl -column in place for -Thtml.
Kristaps Dzonsons [Sun, 20 Sep 2009 17:24:57 +0000 (17:24 +0000)]
Some extra html tags and near-complete Bl: -tag is hopeless (synonym for -hang, now) and -column is still pending.
Kristaps Dzonsons [Sun, 20 Sep 2009 13:43:31 +0000 (13:43 +0000)]
Fixed memory leak on close.
Kristaps Dzonsons [Sun, 20 Sep 2009 11:05:22 +0000 (11:05 +0000)]
Considerable, wide-ranging improvements to the -Thtml output mode (most especially proper tagging and using `em' instead of `px').
Kristaps Dzonsons [Thu, 17 Sep 2009 23:35:41 +0000 (23:35 +0000)]
Consider html fixes, most importantly -tag and -hang (breaks in IE6, apparently).
Kristaps Dzonsons [Thu, 17 Sep 2009 13:17:30 +0000 (13:17 +0000)]
Hang lists in html (the hard one first).
Kristaps Dzonsons [Thu, 17 Sep 2009 08:21:42 +0000 (08:21 +0000)]
More html.
Initial html encodings in chars.in.
Kristaps Dzonsons [Thu, 17 Sep 2009 07:41:28 +0000 (07:41 +0000)]
ascii_xxx -> chars_xxx (intended to hold more than just ascii encoding).
More html work.
Kristaps Dzonsons [Wed, 16 Sep 2009 22:17:27 +0000 (22:17 +0000)]
More updates to html.c.
Secretly enabled -Thtml in main.c (obviously not yet documented).
Kristaps Dzonsons [Wed, 16 Sep 2009 20:49:06 +0000 (20:49 +0000)]
Lintifications.
Kristaps Dzonsons [Wed, 16 Sep 2009 15:08:31 +0000 (15:08 +0000)]
Put closedelim and opendelim right in term_word() (unnecessary extra function).
Kristaps Dzonsons [Wed, 16 Sep 2009 14:40:56 +0000 (14:40 +0000)]
Lookup hashes are now static tables, ordered first-level by second character, then randomly along a chain. Improves performance by a small fraction and considerably cleans up hash sources.
Kristaps Dzonsons [Wed, 16 Sep 2009 09:41:24 +0000 (09:41 +0000)]
Made tree/term/out() functions return void.
Put err() functions back into front-ends (no use making it needlessly complex).
Kristaps Dzonsons [Tue, 15 Sep 2009 08:16:20 +0000 (08:16 +0000)]
Removed TERMP_BOLD, TERMP_UNDER, TERMP_STYLE in favour of recursive-friendly increments.
Cleaned up confusing behaviour of p->flags.
Kristaps Dzonsons [Sat, 5 Sep 2009 10:37:09 +0000 (10:37 +0000)]
Version: 1.9.2.
Fixed man.7 syntax error (oops).
Kristaps Dzonsons [Sat, 5 Sep 2009 10:30:51 +0000 (10:30 +0000)]
Typo fix (jmc@openbsd.org).
Kristaps Dzonsons [Sat, 22 Aug 2009 09:10:37 +0000 (09:10 +0000)]
Added `UC' libman macro (has no effect).
Corrected `UC' and `DT' not to print their arguments.
Noted that `UC' and `DT' shouldn't be used.
Kristaps Dzonsons [Sat, 22 Aug 2009 08:56:16 +0000 (08:56 +0000)]
Added check for graphable characters in initial-line parse for libman and libmdoc (joerg@netbsd.org).
Kristaps Dzonsons [Fri, 21 Aug 2009 13:45:33 +0000 (13:45 +0000)]
Fix of MAN_NEXT when removing next-line dupes.
Kristaps Dzonsons [Fri, 21 Aug 2009 13:18:32 +0000 (13:18 +0000)]
Removed superfluous XXX.
Version: 1.9.1.
Kristaps Dzonsons [Fri, 21 Aug 2009 13:16:16 +0000 (13:16 +0000)]
`RS' warns if empty body.
Kristaps Dzonsons [Fri, 21 Aug 2009 13:14:07 +0000 (13:14 +0000)]
Fixed next-line scoping of `.HP nnn' (has both next-line and on-line in head).
Kristaps Dzonsons [Fri, 21 Aug 2009 12:32:38 +0000 (12:32 +0000)]
Fixed `nf' behaviour (had broken with de-chunking).
Added warnings if literal context already open/closed.
Kristaps Dzonsons [Fri, 21 Aug 2009 12:12:12 +0000 (12:12 +0000)]
Open explicit scope on libman exit now only generates warning.
Consecutive ELINE scopes are now pruned (with a warning).
Kristaps Dzonsons [Fri, 21 Aug 2009 08:41:05 +0000 (08:41 +0000)]
FreeBSD fix (uqs@spoerlein.net).
Kristaps Dzonsons [Thu, 20 Aug 2009 13:55:19 +0000 (13:55 +0000)]
Fixed next-line scope error in libman block macros.
Kristaps Dzonsons [Thu, 20 Aug 2009 13:51:55 +0000 (13:51 +0000)]
Fixed (not documented anywhere of course) that `SH' and `SS' in libman have next-line head scope.
Kristaps Dzonsons [Thu, 20 Aug 2009 13:32:09 +0000 (13:32 +0000)]
Synchronised man.7, mdoc.7, mdoc.template manual structure.
Kristaps Dzonsons [Thu, 20 Aug 2009 13:22:48 +0000 (13:22 +0000)]
Updated manual structure in mdoc.7.
Synchronised mdoc.template and mdoc.7 manual structure.
`Rv' and `Ex' now accept multiple arguments (-std made standalone, terms as children).
`Rv' and `Ex' format correctly in -Tascii (plurals, commas, etc.).
Kristaps Dzonsons [Thu, 20 Aug 2009 12:26:15 +0000 (12:26 +0000)]
Small cleanup in mandoc.1.
Kristaps Dzonsons [Thu, 20 Aug 2009 12:08:40 +0000 (12:08 +0000)]
Documented omission of `na' and `Dt'.
Clarified COMPATIBILITY section (which modes/inputs).
Kristaps Dzonsons [Thu, 20 Aug 2009 11:51:07 +0000 (11:51 +0000)]
Added `DT' macro (pointed out by joerg@netbsd.org).