]>
git.cameronkatri.com Git - mandoc.git/log
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).
Kristaps Dzonsons [Thu, 20 Aug 2009 11:44:47 +0000 (11:44 +0000)]
Fix to libmdoc passing over delimiters.
`RS' and `RE' documented in man.7.
Kristaps Dzonsons [Thu, 20 Aug 2009 09:07:24 +0000 (09:07 +0000)]
Documented ARGS_ handling in args().
Kristaps Dzonsons [Thu, 20 Aug 2009 08:59:12 +0000 (08:59 +0000)]
Delimiter whitespace is correctly flagged (required some special handling).
Kristaps Dzonsons [Wed, 19 Aug 2009 14:45:56 +0000 (14:45 +0000)]
More already-fixed FIXMEs.
Kristaps Dzonsons [Wed, 19 Aug 2009 14:44:35 +0000 (14:44 +0000)]
Removed already-fixed FIXME.
Kristaps Dzonsons [Wed, 19 Aug 2009 14:09:33 +0000 (14:09 +0000)]
In-line documentation of mdoc_macro file.
Moved _NEXT_ macros into _alloc_ routines (where they belong).
Kristaps Dzonsons [Wed, 19 Aug 2009 12:15:58 +0000 (12:15 +0000)]
libman checks for open explicit scopes on exit.
Kristaps Dzonsons [Wed, 19 Aug 2009 12:00:46 +0000 (12:00 +0000)]
Linux compat fix.
Kristaps Dzonsons [Wed, 19 Aug 2009 11:58:32 +0000 (11:58 +0000)]
Moved MDOC_NEXT_SIBLING into mdoc_word (libmdoc).
De-chunking of word terms in libman.
Kristaps Dzonsons [Wed, 19 Aug 2009 11:30:40 +0000 (11:30 +0000)]
`RS' blocks correctly formatting in output device.
Kristaps Dzonsons [Wed, 19 Aug 2009 09:14:50 +0000 (09:14 +0000)]
Added RS/RE macro pair (had to adjust closing rules, sec/ssec/rs/par).
Kristaps Dzonsons [Tue, 18 Aug 2009 14:27:16 +0000 (14:27 +0000)]
libmdoc accepts whitespace following control character.
Kristaps Dzonsons [Tue, 18 Aug 2009 11:46:44 +0000 (11:46 +0000)]
Fixed missing check for open ELINE scope in BLINE macro.
Kristaps Dzonsons [Tue, 18 Aug 2009 08:48:30 +0000 (08:48 +0000)]
Small updates to man.7 (next-line break-exclusions, numerical width example).
Fully tested and correct scope-rewinding of block macros.
Kristaps Dzonsons [Mon, 17 Aug 2009 11:10:02 +0000 (11:10 +0000)]
Updated libman AST documentation.
Version (not yet finalised, but tagging in Makefile): 1.9.0.
Kristaps Dzonsons [Mon, 17 Aug 2009 11:03:07 +0000 (11:03 +0000)]
`IP' and `TP' correctly handle width arguments.
Documented numeric widths.
Kristaps Dzonsons [Thu, 13 Aug 2009 12:54:52 +0000 (12:54 +0000)]
Finished correct `IP' handling.
Kristaps Dzonsons [Thu, 13 Aug 2009 12:31:50 +0000 (12:31 +0000)]
Added proper `TP' support.
Kristaps Dzonsons [Thu, 13 Aug 2009 12:15:58 +0000 (12:15 +0000)]
Added full `HP' libman macro support.
Kristaps Dzonsons [Thu, 13 Aug 2009 11:45:29 +0000 (11:45 +0000)]
Significant overhaul in libman. Macros are now block- and line-scoped (with
next-line scope extensions possible). man.7 reflects block and line scoping,
and also includes a REFERENCE section that will be used as a template for the
big mdoc reference. Many fixes in next-line behaviour for both inline and
block macros. Added some macros for compatibility (from me.7). Corrected
quoted-literal handling for libman.
Kristaps Dzonsons [Thu, 13 Aug 2009 11:43:24 +0000 (11:43 +0000)]
Noted areas that need work in libmdoc.
Kristaps Dzonsons [Mon, 10 Aug 2009 10:09:51 +0000 (10:09 +0000)]
Moved indentation size into *term.c files.
Improved handling of libman `IP' macro (still needs work).
Kristaps Dzonsons [Wed, 29 Jul 2009 09:02:41 +0000 (09:02 +0000)]
Fixed groff-compat where two `Sh' calls, with the first not having a body, don't assert vspace between calls.
Kristaps Dzonsons [Wed, 29 Jul 2009 08:58:11 +0000 (08:58 +0000)]
Documented behaviour of interpreting parsable/callable macros.
Kristaps Dzonsons [Wed, 29 Jul 2009 08:52:24 +0000 (08:52 +0000)]
Columns with `Bl -column' correctly check for CALLABLE status.
Kristaps Dzonsons [Wed, 29 Jul 2009 08:46:06 +0000 (08:46 +0000)]
Moved CALLABLE check to lookup_raw().
Made PARSABLE check occur prior to lookup().
Non-PARSEABLE macros no longer warn against having macro-like parameters.
Non-CALLABLE macros no longer produce an error, just display their symbols (as in groff) (pointed out by joerg@netbsd.org).
Kristaps Dzonsons [Tue, 28 Jul 2009 12:15:11 +0000 (12:15 +0000)]
Documented trademark and restricted mark (oops).
Kristaps Dzonsons [Tue, 28 Jul 2009 12:07:11 +0000 (12:07 +0000)]
Quick-fix in mandoc_char.7 trailing whitespace.
Kristaps Dzonsons [Tue, 28 Jul 2009 11:59:18 +0000 (11:59 +0000)]
Version: 1.8.5.
Added \*R, \*(Tm (obscure -man predefined strings).
Kristaps Dzonsons [Tue, 28 Jul 2009 11:53:26 +0000 (11:53 +0000)]
Added Greek characters to ascii.in (from groff_char.7).
Added Euro symbols (from groff_char.7).
Kristaps Dzonsons [Tue, 28 Jul 2009 10:15:12 +0000 (10:15 +0000)]
Fix in newline.
Correct printing of N-char predefined/special strings.
Kristaps Dzonsons [Tue, 28 Jul 2009 10:09:29 +0000 (10:09 +0000)]
Fixed \(bq.
Kristaps Dzonsons [Mon, 27 Jul 2009 19:43:02 +0000 (19:43 +0000)]
main.c using fprintf instead of warnx for parse errors (like cc).
Error string is now file:line:col: message.
Removed sed from vim -q example in manuals.7.
Fixed column reporting (off by one).
Kristaps Dzonsons [Mon, 27 Jul 2009 13:10:08 +0000 (13:10 +0000)]
Re-ordered ascii.in looking for dupes.
Added `vim -q' tip to manuals.7 (thanks uqs@sporlein.net).
ifdef'd production of missing specials/predefines.
Kristaps Dzonsons [Mon, 27 Jul 2009 12:35:53 +0000 (12:35 +0000)]
Clarified special chars/predefined chars in mandoc_char.7.
Cleaned up escape section in man.7, mdoc.7.
Cleaned up function names in term.c.
Kristaps Dzonsons [Mon, 27 Jul 2009 12:02:49 +0000 (12:02 +0000)]
Correct handling of \*(xx, \*[xxx], \*x versus \x, \(xx, \([xxx]: predefined strings and escape characters, respectively.
Kristaps Dzonsons [Sun, 26 Jul 2009 19:53:40 +0000 (19:53 +0000)]
Fixed \% special char (via groff.7).
Added some typographic special chars to mandoc_char.7.
Kristaps Dzonsons [Sun, 26 Jul 2009 19:30:50 +0000 (19:30 +0000)]
Removed POSIX.1 COMPATIBILITY note in mdoc.7.
Noted that \~ doesn't work in mandoc.1 (thanks uqs@sporlein.net).
Kristaps Dzonsons [Sun, 26 Jul 2009 18:59:31 +0000 (18:59 +0000)]
POSIX -> POSIX.1 change (submitted by uqs@sporlein.net, ok jmc@openbsd.org, ingo@openbsd.org).
Kristaps Dzonsons [Sun, 26 Jul 2009 10:35:55 +0000 (10:35 +0000)]
Version.
Kristaps Dzonsons [Sun, 26 Jul 2009 10:29:39 +0000 (10:29 +0000)]
Made out-of-order prologue macros not cause an error.
Kristaps Dzonsons [Sun, 26 Jul 2009 10:14:22 +0000 (10:14 +0000)]
Noted POSIX/POSIX.1 disparity (found by uqs@sporlein.net, discussed with jmc@openbsd.org et al.).
Kristaps Dzonsons [Sat, 25 Jul 2009 16:03:03 +0000 (16:03 +0000)]
Patches and results of LLVM static analysis (thanks uqs@sporlein.net).
Kristaps Dzonsons [Fri, 24 Jul 2009 20:22:24 +0000 (20:22 +0000)]
Added `sp' support to libman.
Added `\c' to known escapes (only used in man, but still).
Kristaps Dzonsons [Fri, 24 Jul 2009 14:00:59 +0000 (14:00 +0000)]
Added -fign-errors for VERY fast checking of many manuals without stopping at errors.
Kristaps Dzonsons [Fri, 24 Jul 2009 13:18:15 +0000 (13:18 +0000)]
Added `St -ieee1275-94'.
Documented a future `Bd' fixme.
Kristaps Dzonsons [Fri, 24 Jul 2009 13:09:45 +0000 (13:09 +0000)]
Added `St -isoC'.
Kristaps Dzonsons [Fri, 24 Jul 2009 13:06:11 +0000 (13:06 +0000)]
Added `St -xns5.2'.