]> git.cameronkatri.com Git - mandoc.git/log
mandoc.git
15 years agoAdded %Q macro.
Kristaps Dzonsons [Sat, 21 Mar 2009 09:42:07 +0000 (09:42 +0000)]
Added %Q macro.

15 years agoFixed new partial-imp closure (wasn't action-ing closed scopes).
Kristaps Dzonsons [Sat, 21 Mar 2009 09:30:52 +0000 (09:30 +0000)]
Fixed new partial-imp closure (wasn't action-ing closed scopes).

15 years agoExplicit-scope can break some implicit partial-block (Oc -> Op).
Kristaps Dzonsons [Sat, 21 Mar 2009 09:20:15 +0000 (09:20 +0000)]
Explicit-scope can break some implicit partial-block (Oc -> Op).

15 years agoRemoved margin-break comment.
Kristaps Dzonsons [Fri, 20 Mar 2009 22:01:07 +0000 (22:01 +0000)]
Removed margin-break comment.

15 years agoLintification.
Kristaps Dzonsons [Fri, 20 Mar 2009 21:58:38 +0000 (21:58 +0000)]
Lintification.

15 years agoCasting fix.
Kristaps Dzonsons [Fri, 20 Mar 2009 21:29:29 +0000 (21:29 +0000)]
Casting fix.

15 years agoProper .Dl literalism.
Kristaps Dzonsons [Fri, 20 Mar 2009 19:56:25 +0000 (19:56 +0000)]
Proper .Dl literalism.

15 years agoFixed literal-formatting error with `Dl'.
Kristaps Dzonsons [Fri, 20 Mar 2009 16:43:28 +0000 (16:43 +0000)]
Fixed literal-formatting error with `Dl'.

15 years agoSupport for `Bd' of all types (see mdoc.7 for newline/tab rules). VERSION_1_6_2
Kristaps Dzonsons [Fri, 20 Mar 2009 15:14:01 +0000 (15:14 +0000)]
Support for `Bd' of all types (see mdoc.7 for newline/tab rules).
Renamed term.c and terminal.c functions to be term_.
Some bugfixes to lists.

15 years agoFinished all symbols.
Kristaps Dzonsons [Thu, 19 Mar 2009 20:43:13 +0000 (20:43 +0000)]
Finished all symbols.

15 years agoFixed mandoc read from stdin.
Kristaps Dzonsons [Thu, 19 Mar 2009 18:30:26 +0000 (18:30 +0000)]
Fixed mandoc read from stdin.
Added some more groff_chars.

15 years agoSome Linux-isms.
Kristaps Dzonsons [Thu, 19 Mar 2009 16:40:49 +0000 (16:40 +0000)]
Some Linux-isms.

15 years agoPruned mmain.
Kristaps Dzonsons [Thu, 19 Mar 2009 16:23:22 +0000 (16:23 +0000)]
Pruned mmain.

15 years agoNetBSD lintified.
Kristaps Dzonsons [Thu, 19 Mar 2009 16:20:37 +0000 (16:20 +0000)]
NetBSD lintified.

15 years agoLintified & versioned.
Kristaps Dzonsons [Thu, 19 Mar 2009 16:18:36 +0000 (16:18 +0000)]
Lintified & versioned.

15 years agoSplit mdocterm.c -> main.c terminal.c.
Kristaps Dzonsons [Thu, 19 Mar 2009 16:17:27 +0000 (16:17 +0000)]
Split mdocterm.c -> main.c terminal.c.
Abstracted output with -T selector (default ascii).
Name change: mdocterm -> mandoc.
Re-imported tree with -Ttree.

15 years agoMany more ASCII escapes added.
Kristaps Dzonsons [Thu, 19 Mar 2009 11:49:00 +0000 (11:49 +0000)]
Many more ASCII escapes added.
Stripped nroff punt from mdocterm.c.
Fixed multiple-file handling for mdocterm.c.
Cleared up mdoc.h API.

15 years agoClean up ASCII table's memory.
Kristaps Dzonsons [Tue, 17 Mar 2009 13:35:46 +0000 (13:35 +0000)]
Clean up ASCII table's memory.

15 years ago*** empty log message *** VERSION_1_5_3
Kristaps Dzonsons [Tue, 17 Mar 2009 09:33:02 +0000 (09:33 +0000)]
*** empty log message ***

15 years agoAdded previous GEN files to SRCS.
Kristaps Dzonsons [Tue, 17 Mar 2009 08:57:03 +0000 (08:57 +0000)]
Added previous GEN files to SRCS.

15 years agoMandoc fix.
Kristaps Dzonsons [Tue, 17 Mar 2009 00:40:17 +0000 (00:40 +0000)]
Mandoc fix.

15 years agoChanged e-mail address to @openbsd.
Kristaps Dzonsons [Mon, 16 Mar 2009 23:37:28 +0000 (23:37 +0000)]
Changed e-mail address to @openbsd.
Cleaned up manual-page documentation.

15 years agoFixed mdoc_phrase escape handling.
Kristaps Dzonsons [Mon, 16 Mar 2009 22:19:19 +0000 (22:19 +0000)]
Fixed mdoc_phrase escape handling.
Added MDOC_IGNDELIM (Pf, soon Li, etc.).
macro_constant_delimited ignargs -> argv.c parsing.
Renamed macro functions to correspond to ontologies.
`Fo' and `St' made callable (compat documented).
strings.sh deprecated (directly using CPP).
Abstracted ASCII translation into ascii.{c,in}.
ASCII table uses a self-reordering chained hashtable.
Removed old regressions.

15 years agoDeprecated old regression tests.
Kristaps Dzonsons [Mon, 16 Mar 2009 22:04:10 +0000 (22:04 +0000)]
Deprecated old regression tests.

15 years agoBacked out all ANSI code. VERSION_1_5_1
Kristaps Dzonsons [Sun, 15 Mar 2009 10:34:11 +0000 (10:34 +0000)]
Backed out all ANSI code.

15 years agoFixed version string (no leading zero).
Kristaps Dzonsons [Sun, 15 Mar 2009 07:30:51 +0000 (07:30 +0000)]
Fixed version string (no leading zero).

15 years agogetsubopt index fix.
Kristaps Dzonsons [Sun, 15 Mar 2009 07:18:10 +0000 (07:18 +0000)]
getsubopt index fix.

15 years agomdoclint accepts multiple files
Kristaps Dzonsons [Sun, 15 Mar 2009 07:08:52 +0000 (07:08 +0000)]
mdoclint accepts multiple files
mdocterm punts to nroff if it fails parsing

15 years agoAdded colour styles (not being used) to struct termp.
Kristaps Dzonsons [Sat, 14 Mar 2009 12:35:02 +0000 (12:35 +0000)]
Added colour styles (not being used) to struct termp.
Added nroff style-escape encoding.
Removed ANSI schema string tables (there's only ANSI and nroff/backspace).
Pushed styling directly into pword (simpler).

15 years agoBumped version.
Kristaps Dzonsons [Sat, 14 Mar 2009 05:36:07 +0000 (05:36 +0000)]
Bumped version.
Added \| (non-breaking space, like \&).
Fixed termsym (TERMSYM_ALL).

15 years agomdoc.3 refers to local mdoc.7.
Kristaps Dzonsons [Sat, 14 Mar 2009 05:21:58 +0000 (05:21 +0000)]
mdoc.3 refers to local mdoc.7.
mdoc.7 includes its compatibility with system-dependent roff installations.

15 years agoRemoved "regression" for OpenBSD (broken).
Kristaps Dzonsons [Fri, 13 Mar 2009 14:17:41 +0000 (14:17 +0000)]
Removed "regression" for OpenBSD (broken).
Added mdoc.7 to include-in-dist hook.

15 years agoFinished initial mdoc.7.
Kristaps Dzonsons [Fri, 13 Mar 2009 13:56:13 +0000 (13:56 +0000)]
Finished initial mdoc.7.

15 years agoUpdating mdoc.7.
Kristaps Dzonsons [Fri, 13 Mar 2009 09:08:59 +0000 (09:08 +0000)]
Updating mdoc.7.

15 years agoAdded canonical mdoc.7.
Kristaps Dzonsons [Fri, 13 Mar 2009 07:46:10 +0000 (07:46 +0000)]
Added canonical mdoc.7.
Added \q macro.

15 years agoMade syste-name macros callable (At, Bsx, etc.).
Kristaps Dzonsons [Thu, 12 Mar 2009 23:05:21 +0000 (23:05 +0000)]
Made syste-name macros callable (At, Bsx, etc.).

15 years agoAdded -nested (doesn't do anything).
Kristaps Dzonsons [Thu, 12 Mar 2009 16:30:50 +0000 (16:30 +0000)]
Added -nested (doesn't do anything).
Added .%C.
.Cd is now callable.
Added .Rv -std.

15 years agoNetBSD '.[[:whitespace:]]*' properly handled.
Kristaps Dzonsons [Thu, 12 Mar 2009 15:55:11 +0000 (15:55 +0000)]
NetBSD '.[[:whitespace:]]*' properly handled.
mdoc.3 indicates compatibilities and bugs.

15 years agoDelimiters added to columns.
Kristaps Dzonsons [Thu, 12 Mar 2009 06:38:22 +0000 (06:38 +0000)]
Delimiters added to columns.

15 years agoVersion up.
Kristaps Dzonsons [Thu, 12 Mar 2009 06:33:51 +0000 (06:33 +0000)]
Version up.

15 years agoRemoved segfault with empty word.
Kristaps Dzonsons [Thu, 12 Mar 2009 06:32:17 +0000 (06:32 +0000)]
Removed segfault with empty word.
Initial "full" -column support.

15 years agoBrq/Bro/Brc fixed up and pretty.
Kristaps Dzonsons [Thu, 12 Mar 2009 02:57:35 +0000 (02:57 +0000)]
Brq/Bro/Brc fixed up and pretty.
Cleaned up Aq/Sq use of escapes in term.c.
Added initial -column support.
Fixed argv returning ARGV_WORD and tokenising anyway.

15 years agoVersioning up.
Kristaps Dzonsons [Wed, 11 Mar 2009 00:41:35 +0000 (00:41 +0000)]
Versioning up.

15 years agoExpanded perfect htab to use 27 * 26 * 3 space.
Kristaps Dzonsons [Wed, 11 Mar 2009 00:39:58 +0000 (00:39 +0000)]
Expanded perfect htab to use 27 * 26 * 3 space.
Added Brq, Bro and Brc macros.
Added lbrace and rbrace to special characters.
Fixed spacing in braces.

15 years agoMade sure saved value is initialised.
Kristaps Dzonsons [Tue, 10 Mar 2009 21:27:39 +0000 (21:27 +0000)]
Made sure saved value is initialised.

15 years agoBug-fix in mdoc_argv.
Kristaps Dzonsons [Tue, 10 Mar 2009 15:01:54 +0000 (15:01 +0000)]
Bug-fix in mdoc_argv.
Added some documentation to macro.c.
Version-up.

15 years agoAdded regular-form sanity check in mdocterm.
Kristaps Dzonsons [Tue, 10 Mar 2009 11:16:43 +0000 (11:16 +0000)]
Added regular-form sanity check in mdocterm.

15 years agoFixed hash lookup regression.
Kristaps Dzonsons [Tue, 10 Mar 2009 10:20:03 +0000 (10:20 +0000)]
Fixed hash lookup regression.

15 years agoVersioning up.
Kristaps Dzonsons [Mon, 9 Mar 2009 14:20:59 +0000 (14:20 +0000)]
Versioning up.

15 years agoAdded `Mt' and `Lk' macros (NetBSD).
Kristaps Dzonsons [Mon, 9 Mar 2009 14:19:59 +0000 (14:19 +0000)]
Added `Mt' and `Lk' macros (NetBSD).

15 years agoFixed valgrind issues. VERSION_1_4_6
Kristaps Dzonsons [Mon, 9 Mar 2009 13:35:09 +0000 (13:35 +0000)]
Fixed valgrind issues.

15 years agoEasier integration into FreeBSD (sys/types.h, time.h, etc.). VERSION_1_4_5
Kristaps Dzonsons [Mon, 9 Mar 2009 13:17:49 +0000 (13:17 +0000)]
Easier integration into FreeBSD (sys/types.h, time.h, etc.).

15 years agoAdded "Input Encoding" section to mdoc*.1. VERSION_1_4_4
Kristaps Dzonsons [Mon, 9 Mar 2009 13:04:01 +0000 (13:04 +0000)]
Added "Input Encoding" section to mdoc*.1.
Newline-escaped lines are concatenated.
Added -fign-macro option.

15 years agoAdded `Lp' macro.
Kristaps Dzonsons [Sun, 8 Mar 2009 20:57:35 +0000 (20:57 +0000)]
Added `Lp' macro.

15 years agoAdded .Ap.
Kristaps Dzonsons [Sun, 8 Mar 2009 20:50:12 +0000 (20:50 +0000)]
Added .Ap.

15 years agoSmall speed-ups in hash lookup.
Kristaps Dzonsons [Sun, 8 Mar 2009 20:29:45 +0000 (20:29 +0000)]
Small speed-ups in hash lookup.

15 years agoBumping version... VERSION_1_4_2
Kristaps Dzonsons [Sun, 8 Mar 2009 19:48:37 +0000 (19:48 +0000)]
Bumping version...

15 years agoRemoved some unnecesary functions.
Kristaps Dzonsons [Sun, 8 Mar 2009 19:47:40 +0000 (19:47 +0000)]
Removed some unnecesary functions.

15 years agoFront-end handling of `Lb'.
Kristaps Dzonsons [Sun, 8 Mar 2009 19:38:08 +0000 (19:38 +0000)]
Front-end handling of `Lb'.

15 years agoFixed strings.sh to work with NetBSD.
Kristaps Dzonsons [Sun, 8 Mar 2009 19:32:03 +0000 (19:32 +0000)]
Fixed strings.sh to work with NetBSD.
Fixed various lint warnings.

15 years agoFix left-over prototype.
Kristaps Dzonsons [Sun, 8 Mar 2009 19:28:09 +0000 (19:28 +0000)]
Fix left-over prototype.

15 years agoRemoved static limitation of buffer size.
Kristaps Dzonsons [Sun, 8 Mar 2009 18:50:40 +0000 (18:50 +0000)]
Removed static limitation of buffer size.

15 years agoUpdated manuals.
Kristaps Dzonsons [Sun, 8 Mar 2009 18:02:36 +0000 (18:02 +0000)]
Updated manuals.
Added -fign-scope and -fign-escape.

15 years agoBumped minor-number.
Kristaps Dzonsons [Sun, 8 Mar 2009 14:01:46 +0000 (14:01 +0000)]
Bumped minor-number.
All sources converted to new schema.

15 years agoSegmentation-fault fix in mdocterm.
Kristaps Dzonsons [Sun, 8 Mar 2009 13:57:07 +0000 (13:57 +0000)]
Segmentation-fault fix in mdocterm.

15 years agomdocterm now using new API.
Kristaps Dzonsons [Sun, 8 Mar 2009 13:52:29 +0000 (13:52 +0000)]
mdocterm now using new API.

15 years agoMemory-corruption fix.
Kristaps Dzonsons [Sun, 8 Mar 2009 13:01:35 +0000 (13:01 +0000)]
Memory-corruption fix.

15 years agoFixed null-pointer dereference.
Kristaps Dzonsons [Sun, 8 Mar 2009 12:46:38 +0000 (12:46 +0000)]
Fixed null-pointer dereference.

15 years agoMemory fixes in new dynamic schema.
Kristaps Dzonsons [Sun, 8 Mar 2009 12:40:27 +0000 (12:40 +0000)]
Memory fixes in new dynamic schema.

15 years agoPrinting invalid escape sequences.
Kristaps Dzonsons [Sun, 8 Mar 2009 11:48:44 +0000 (11:48 +0000)]
Printing invalid escape sequences.

15 years agoBROKEN CHECK-IN. Wide-ranging updates.
Kristaps Dzonsons [Sun, 8 Mar 2009 11:41:22 +0000 (11:41 +0000)]
BROKEN CHECK-IN.  Wide-ranging updates.
Removed libmdoc internal argv limit (all dynamic).
Removed "data" union in mdoc_node (to be selectively re-added).

15 years agoDocumented the strings script.
Kristaps Dzonsons [Fri, 6 Mar 2009 14:24:49 +0000 (14:24 +0000)]
Documented the strings script.

15 years agoStrings abstracted into dynamically-created C files.
Kristaps Dzonsons [Fri, 6 Mar 2009 14:13:47 +0000 (14:13 +0000)]
Strings abstracted into dynamically-created C files.
Added -V option.
Deprecated README files.

15 years agoAdded another regression test.
Kristaps Dzonsons [Thu, 5 Mar 2009 13:15:40 +0000 (13:15 +0000)]
Added another regression test.

15 years agoCleaned up ctype functions (netbsd).
Kristaps Dzonsons [Thu, 5 Mar 2009 13:12:12 +0000 (13:12 +0000)]
Cleaned up ctype functions (netbsd).
Fixed .Ex/.Rv -std usage.
Made Ar provide default value.

15 years agoAdded argv regression tests.
Kristaps Dzonsons [Thu, 5 Mar 2009 12:08:52 +0000 (12:08 +0000)]
Added argv regression tests.
Table-ised argument flags in argv.c.

15 years ago-tag, if followed by empty body, doesn't newline.
Kristaps Dzonsons [Wed, 4 Mar 2009 14:41:40 +0000 (14:41 +0000)]
-tag, if followed by empty body, doesn't newline.
Versioning up.

15 years agoFixed some character-escapes.
Kristaps Dzonsons [Wed, 4 Mar 2009 14:13:05 +0000 (14:13 +0000)]
Fixed some character-escapes.

15 years agoProper fix to NOBREAK margins (oops).
Kristaps Dzonsons [Wed, 4 Mar 2009 14:04:02 +0000 (14:04 +0000)]
Proper fix to NOBREAK margins (oops).

15 years agoConsiderably cleaned up list handling.
Kristaps Dzonsons [Wed, 4 Mar 2009 13:57:35 +0000 (13:57 +0000)]
Considerably cleaned up list handling.

15 years ago-diag fixed (allows quoted parameters)
Kristaps Dzonsons [Tue, 3 Mar 2009 22:28:21 +0000 (22:28 +0000)]
-diag fixed (allows quoted parameters)
Versioned up.

15 years ago-inset and -diag lists now supported.
Kristaps Dzonsons [Tue, 3 Mar 2009 22:17:19 +0000 (22:17 +0000)]
-inset and -diag lists now supported.

15 years agoCharacter-escape addition simplified (see README.addescape, also added).
Kristaps Dzonsons [Tue, 3 Mar 2009 21:07:01 +0000 (21:07 +0000)]
Character-escape addition simplified (see README.addescape, also added).

15 years agoNoted lacking areas in mdocterm.1.
Kristaps Dzonsons [Mon, 2 Mar 2009 17:29:16 +0000 (17:29 +0000)]
Noted lacking areas in mdocterm.1.
Put styles into symtab (for real this time).

15 years agoAdded new old escape sequence \*[nn].
Kristaps Dzonsons [Mon, 2 Mar 2009 17:14:46 +0000 (17:14 +0000)]
Added new old escape sequence \*[nn].
Initial correct .Bd support (still only text in literal displays).
Symbols put into tables (character-encoding).

15 years agoSupport for maxrmargin-breaking with TERMP_NOBREAK.
Kristaps Dzonsons [Mon, 2 Mar 2009 12:09:32 +0000 (12:09 +0000)]
Support for maxrmargin-breaking with TERMP_NOBREAK.
Tabs auto-converted to spaces.

15 years agoCd breaks line properly. VERSION_1_3_15
Kristaps Dzonsons [Sun, 1 Mar 2009 23:27:14 +0000 (23:27 +0000)]
Cd breaks line properly.

15 years agoVersioning up.
Kristaps Dzonsons [Sun, 1 Mar 2009 23:25:07 +0000 (23:25 +0000)]
Versioning up.

15 years agoRemoved isspace assertion (is handled by pad).
Kristaps Dzonsons [Sun, 1 Mar 2009 23:23:55 +0000 (23:23 +0000)]
Removed isspace assertion (is handled by pad).

15 years agoBacked-out warning about Ds.
Kristaps Dzonsons [Sun, 1 Mar 2009 23:14:15 +0000 (23:14 +0000)]
Backed-out warning about Ds.
Backed-out assertion about Bd subtypes.

15 years agoBacking-out DESTDIR.
Kristaps Dzonsons [Sun, 1 Mar 2009 20:17:03 +0000 (20:17 +0000)]
Backing-out DESTDIR.

15 years agoVersioning up.
Kristaps Dzonsons [Sun, 1 Mar 2009 20:07:20 +0000 (20:07 +0000)]
Versioning up.

15 years agoApplying Joerg Sonnenberger's patch.
Kristaps Dzonsons [Sun, 1 Mar 2009 20:05:32 +0000 (20:05 +0000)]
Applying Joerg Sonnenberger's patch.

15 years agoVersioning up. VERSION_1_3_13
Kristaps Dzonsons [Sun, 1 Mar 2009 13:09:03 +0000 (13:09 +0000)]
Versioning up.

15 years agoFixed TERMP_NOBREAK and line overruns.
Kristaps Dzonsons [Sun, 1 Mar 2009 13:06:49 +0000 (13:06 +0000)]
Fixed TERMP_NOBREAK and line overruns.
Fixed TERMP_SETFLAGS and current-flag omission.

15 years ago*** empty log message ***
Kristaps Dzonsons [Sat, 28 Feb 2009 22:27:17 +0000 (22:27 +0000)]
*** empty log message ***

15 years agoWhite-space churn.
Kristaps Dzonsons [Sat, 28 Feb 2009 21:50:01 +0000 (21:50 +0000)]
White-space churn.

15 years agoMany more changes and fixes (`In', `Fd', etc.).
Kristaps Dzonsons [Sat, 28 Feb 2009 21:31:13 +0000 (21:31 +0000)]
Many more changes and fixes (`In', `Fd', etc.).

15 years agoMore fixes (hard-escapes, etc.).
Kristaps Dzonsons [Sat, 28 Feb 2009 20:13:06 +0000 (20:13 +0000)]
More fixes (hard-escapes, etc.).

15 years agoInitial Rs/Re support.
Kristaps Dzonsons [Sat, 28 Feb 2009 19:15:28 +0000 (19:15 +0000)]
Initial Rs/Re support.
Fixed default Ds width.