summaryrefslogtreecommitdiffstats
path: root/mdoc.h
Commit message (Collapse)AuthorAgeFilesLines
* Remove -fno-ign-chars as well-argued by Ingo Schwarze. Patch by Ingo ↵Kristaps Dzonsons2010-05-091-1/+0
| | | | Schwarze, too.
* Macro types enum-ated (enum mdoct) (for easier debugging in gdb of "tok" ↵Kristaps Dzonsons2010-03-311-123/+128
| | | | | | | 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.
* libmdoc and libman now using non-recoverable allocations (simpler code).Kristaps Dzonsons2009-10-301-1/+1
|
* Full `%U' support.Kristaps Dzonsons2009-10-261-2/+0
| | | | | | | `Lk' display fixed. Renamed arg2xxxx as a2xxxx for consistency. Renamed print_foot to print_man_foot for consistency. Removed default printing of `~' when `Lk' not provided (not sure where I got that from).
* Added `%U' to -mdoc (doesn't render in a nice way yet).Kristaps Dzonsons2009-10-241-1/+2
|
* Added support for `Bd -centered', which appears in newer groffs (not yet ↵Kristaps Dzonsons2009-10-151-1/+2
| | | | implemented in centre-capable front-ends, i.e., -Thtml).
* Synchronised man.7, mdoc.7, mdoc.template manual structure.Kristaps Dzonsons2009-08-201-2/+2
|
* Updated manual structure in mdoc.7.Kristaps Dzonsons2009-08-201-1/+3
| | | | | | 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.).
* Removed superfluous FIXMEs.Kristaps Dzonsons2009-07-241-2/+1
|
* Added `br' and `sp' macros (requested by joerg@netbsd.org, jmc@openbsd.org).Kristaps Dzonsons2009-07-171-1/+3
|
* Replacement of `Lb' in mdoc_action.c.Kristaps Dzonsons2009-07-121-2/+0
| | | | | | Added warning against bogus `Lb' (like groff does). Added proper quotes around `Lb' in mdoc_term.c. Moved mdoc_a2lib -> libmdoc (where it belongs).
* Moved mdoc_a2st() out of mdoc.h -> libmdoc.h (replacement in mdoc_action.c).Kristaps Dzonsons2009-07-121-1/+0
| | | | Made bad standards into an error (were a warning).
* Moved mdoc_a2att() into libmdoc (replacement happens in mdoc_action.c).Kristaps Dzonsons2009-07-121-1/+0
|
* Initial removal of enum mdoc_warn from mdoc warnings (unnecessary complication).Kristaps Dzonsons2009-07-061-8/+1
|
* Added nchild decrement in libman (not used, but better in than forgotten).Kristaps Dzonsons2009-06-181-0/+1
| | | | Added nchild to libmdoc, deprecated count() functions in validator.
* Section orders are more elegantly handled (MDOC_PBODY is a flag).Kristaps Dzonsons2009-06-171-39/+25
| | | | Cleaned up string->enum conversion for section lookup.
* Removed MDOC___: moved MDOC_Ap to its index (comments not passed into mdoc ↵Kristaps Dzonsons2009-06-161-14/+13
| | | | parser).
* Deprecated mdoc_msg (not being used anywhere).Kristaps Dzonsons2009-06-151-1/+0
|
* Fixed license email address.Kristaps Dzonsons2009-06-101-1/+1
|
* Using proper license template (const).Kristaps Dzonsons2009-04-121-12/+10
|
* Manual .Dt fields CAPITALISED.Kristaps Dzonsons2009-04-121-0/+1
| | | | | | | | Indent set to 5 chars (nroff compat). Half-indent set to 3 chars (nroff compat). Default behaviour is loose-y (ignore macro/char/escape). Added -fstrict. Added unknown-character ignoring.
* General clean-ups.Kristaps Dzonsons2009-03-311-1/+1
|
* First addition of -man macro support.Kristaps Dzonsons2009-03-231-1/+1
| | | | Abstraction of mdoc.
* `Em' accepts empty tokens.Kristaps Dzonsons2009-03-211-2/+0
| | | | | Punctuation fully fixed (per-reserved-word). Sm enabled.
* Added %Q macro.Kristaps Dzonsons2009-03-211-1/+2
|
* Many more ASCII escapes added.Kristaps Dzonsons2009-03-191-2/+2
| | | | | | 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-1/+2
| | | | Cleaned up manual-page documentation.
* Fixed mdoc_phrase escape handling.Kristaps Dzonsons2009-03-161-3/+3
| | | | | | | | | | | 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-2/+4
| | | | | | Added .%C. .Cd is now callable. Added .Rv -std.
* Expanded perfect htab to use 27 * 26 * 3 space.Kristaps Dzonsons2009-03-111-1/+4
| | | | | | 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/+3
|
* Easier integration into FreeBSD (sys/types.h, time.h, etc.).VERSION.1.4.5Kristaps Dzonsons2009-03-091-0/+2
|
* Added "Input Encoding" section to mdoc*.1.VERSION.1.4.4Kristaps Dzonsons2009-03-091-0/+1
| | | | | 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/+2
|
* Updated manuals.Kristaps Dzonsons2009-03-081-2/+5
| | | | Added -fign-scope and -fign-escape.
* mdocterm now using new API.Kristaps Dzonsons2009-03-081-0/+2
|
* BROKEN CHECK-IN. Wide-ranging updates.Kristaps Dzonsons2009-03-081-32/+20
| | | | | 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-156/+36
| | | | | Added -V option. Deprecated README files.
* Support for maxrmargin-breaking with TERMP_NOBREAK.Kristaps Dzonsons2009-03-021-0/+1
| | | | Tabs auto-converted to spaces.
* Added several more mdocterm outputs.Kristaps Dzonsons2009-02-241-0/+3
|
* Added character-encoding checks.Kristaps Dzonsons2009-02-241-2/+0
|
* Considerable mdoc.3 documentation.Kristaps Dzonsons2009-02-231-3/+9
| | | | Added a few more escapes and macros.
* BROKEN BUILD: migrating to mmain stuff.Kristaps Dzonsons2009-02-221-2/+2
|
* Cleaned up validation source a bit.Kristaps Dzonsons2009-02-221-1/+1
| | | | | Fixed `Nm' and `Nd' detection. Added a few more terminal outputs.
* Split mdocml -> mdocterm, mdoctree (new manuals, etc.).Kristaps Dzonsons2009-02-211-0/+8
| | | | Escape-recognition term.c.
* Removed tree-writing capability (for now, only validates and exits).Kristaps Dzonsons2009-02-201-20/+15
|
* Re-merged old port-building routines.Kristaps Dzonsons2009-01-201-0/+1
|
* More correct validation.Kristaps Dzonsons2009-01-191-2/+5
| | | | Elision of prologue macros from main tree.
* Removed unnecessary test cases (most were for visual).Kristaps Dzonsons2009-01-191-0/+3
| | | | Finally fixed scope-rewinding (MDOC_VALID).