summaryrefslogtreecommitdiffstats
path: root/mdoc.c
Commit message (Collapse)AuthorAgeFilesLines
* Removed EARGVPARM (superfluous, overly error-generating).Kristaps Dzonsons2009-07-171-1/+0
| | | | Added `sp' handler.
* Added `br' and `sp' macros (requested by joerg@netbsd.org, jmc@openbsd.org).Kristaps Dzonsons2009-07-171-1/+1
|
* Added Linux compat (strlcpy).Kristaps Dzonsons2009-07-161-0/+4
|
* libmdoc now breaks up free-form lines into tokens prior to be passed to the ↵Kristaps Dzonsons2009-07-151-33/+95
| | | | backend (simplifies LITERAL mode in front-end).
* Replacement of `Lb' in mdoc_action.c.Kristaps Dzonsons2009-07-121-0/+1
| | | | | | Added warning against bogus `Lb' (like groff does). Added proper quotes around `Lb' in mdoc_term.c. Moved mdoc_a2lib -> libmdoc (where it belongs).
* Tabularised error-code lookup in mdoc.c.Kristaps Dzonsons2009-07-071-174/+60
|
* Consolidated all err/warnings into mdoc.c via libmdoc.h.Kristaps Dzonsons2009-07-061-126/+187
|
* Initial removal of enum mdoc_warn from mdoc warnings (unnecessary complication).Kristaps Dzonsons2009-07-061-13/+8
|
* Added nchild decrement in libman (not used, but better in than forgotten).Kristaps Dzonsons2009-06-181-0/+5
| | | | Added nchild to libmdoc, deprecated count() functions in validator.
* Section orders are more elegantly handled (MDOC_PBODY is a flag).Kristaps Dzonsons2009-06-171-13/+21
| | | | Cleaned up string->enum conversion for section lookup.
* Fixed lint invocation in Makefile.Kristaps Dzonsons2009-06-171-12/+14
| | | | Minor cleanups in mdoc.c.
* Clean-up: in-source documentation.Kristaps Dzonsons2009-06-161-4/+0
|
* Removed MDOC___: moved MDOC_Ap to its index (comments not passed into mdoc ↵Kristaps Dzonsons2009-06-161-5/+5
| | | | parser).
* Modernised comment handling: text following \" is thrown away beforeKristaps Dzonsons2009-06-161-5/+1
| | | | | | either parser is invoked. Single-dot lines correctly handled. This confirms with both new- and old-groff. "Comment" subsection added to mdoc.7 and man.7.
* Deprecated mdoc_msg (not being used anywhere).Kristaps Dzonsons2009-06-151-49/+0
|
* Removed mdoc_nwarn (not being used anywhere).Kristaps Dzonsons2009-06-151-17/+0
|
* mdoc error/warn macros replaced with real functions for GCC2 support ↵Kristaps Dzonsons2009-06-151-0/+132
| | | | (miod@openbsd.org).
* Lint fixes (no effect).Kristaps Dzonsons2009-06-121-2/+4
| | | | Versioning up.
* Fixed license email address.Kristaps Dzonsons2009-06-101-1/+1
|
* Using proper license template (const).Kristaps Dzonsons2009-04-121-12/+10
|
* mdoc_tokhash -> hashKristaps Dzonsons2009-04-021-7/+9
| | | | Initial man hashtab (BROKEN).
* General clean-ups.Kristaps Dzonsons2009-03-311-120/+136
|
* -man linked to mandoc in documentation.Kristaps Dzonsons2009-03-231-10/+5
|
* -man printing linked to -Ttree.Kristaps Dzonsons2009-03-231-20/+26
|
* First addition of -man macro support.Kristaps Dzonsons2009-03-231-30/+18
| | | | Abstraction of mdoc.
* Added %Q macro.Kristaps Dzonsons2009-03-211-1/+2
|
* Support for `Bd' of all types (see mdoc.7 for newline/tab rules).VERSION.1.6.2Kristaps Dzonsons2009-03-201-8/+41
| | | | | Renamed term.c and terminal.c functions to be term_. Some bugfixes to lists.
* Many more ASCII escapes added.Kristaps Dzonsons2009-03-191-3/+30
| | | | | | Stripped nroff punt from mdocterm.c. Fixed multiple-file handling for mdocterm.c. Cleared up mdoc.h API.
* Changed e-mail address to @openbsd.Kristaps Dzonsons2009-03-161-2/+2
| | | | Cleaned up manual-page documentation.
* Fixed mdoc_phrase escape handling.Kristaps Dzonsons2009-03-161-5/+6
| | | | | | | | | | | 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.
* Added -nested (doesn't do anything).Kristaps Dzonsons2009-03-121-3/+5
| | | | | | Added .%C. .Cd is now callable. Added .Rv -std.
* NetBSD '.[[:whitespace:]]*' properly handled.Kristaps Dzonsons2009-03-121-1/+13
| | | | mdoc.3 indicates compatibilities and bugs.
* Brq/Bro/Brc fixed up and pretty.Kristaps Dzonsons2009-03-121-2/+0
| | | | | | Cleaned up Aq/Sq use of escapes in term.c. Added initial -column support. Fixed argv returning ARGV_WORD and tokenising anyway.
* Expanded perfect htab to use 27 * 26 * 3 space.Kristaps Dzonsons2009-03-111-1/+2
| | | | | | Added Brq, Bro and Brc macros. Added lbrace and rbrace to special characters. Fixed spacing in braces.
* Added `Mt' and `Lk' macros (NetBSD).Kristaps Dzonsons2009-03-091-1/+1
|
* Fixed valgrind issues.VERSION.1.4.6Kristaps Dzonsons2009-03-091-2/+2
|
* Added "Input Encoding" section to mdoc*.1.VERSION.1.4.4Kristaps Dzonsons2009-03-091-5/+20
| | | | | Newline-escaped lines are concatenated. Added -fign-macro option.
* Added `Lp' macro.Kristaps Dzonsons2009-03-081-1/+2
|
* Added .Ap.Kristaps Dzonsons2009-03-081-1/+1
|
* Updated manuals.Kristaps Dzonsons2009-03-081-2/+2
| | | | Added -fign-scope and -fign-escape.
* Memory fixes in new dynamic schema.Kristaps Dzonsons2009-03-081-0/+2
|
* BROKEN CHECK-IN. Wide-ranging updates.Kristaps Dzonsons2009-03-081-199/+105
| | | | | Removed libmdoc internal argv limit (all dynamic). Removed "data" union in mdoc_node (to be selectively re-added).
* Strings abstracted into dynamically-created C files.Kristaps Dzonsons2009-03-061-61/+7
| | | | | Added -V option. Deprecated README files.
* Cleaned up ctype functions (netbsd).Kristaps Dzonsons2009-03-051-2/+3
| | | | | Fixed .Ex/.Rv -std usage. Made Ar provide default value.
* Added new old escape sequence \*[nn].Kristaps Dzonsons2009-03-021-5/+16
| | | | | Initial correct .Bd support (still only text in literal displays). Symbols put into tables (character-encoding).
* Backed-out warning about Ds.Kristaps Dzonsons2009-03-011-1/+6
| | | | Backed-out assertion about Bd subtypes.
* More in-file documentation and Linux-isation.Kristaps Dzonsons2009-02-231-128/+13
| | | | Moved mdoc_macros table definition into macro.c, where it belongs.
* BROKEN BUILD: migrating to mmain stuff.Kristaps Dzonsons2009-02-221-2/+2
|
* Cleaned up validation source a bit.Kristaps Dzonsons2009-02-221-10/+14
| | | | | Fixed `Nm' and `Nd' detection. Added a few more terminal outputs.
* Removed tree-writing capability (for now, only validates and exits).Kristaps Dzonsons2009-02-201-7/+18
|